Commit Graph

404 Commits

Author SHA1 Message Date
Amir Taaki
6dfb9e12c7 Fixed bug where switching servers causes assert failure. 2012-08-27 04:02:15 +02:00
Amir Taaki
3fe5ba85b2 Added QObject to MiniActuator. 2012-08-27 03:50:42 +02:00
Amir Taaki
10e3aa7c1e Merge branch 'servers'
Conflicts:
	lib/gui_lite.py
2012-08-27 03:48:57 +02:00
Amir Taaki
2b6d5ebd55 Change server in lite mode. 2012-08-27 03:47:40 +02:00
Amir Taaki
b25e93c4bc Update servers list once fetched from remote. 2012-08-27 03:32:31 +02:00
Amir Taaki
26c0b786e9 RAII open of wallet file. 2012-08-24 22:02:58 +01:00
Amir Taaki
3d836ebc38 Revert "Don't need two try/catch statments if nothing happens when exception is caught"
This reverts commit 6b86942ccb.
2012-08-24 22:01:08 +01:00
Amir Taaki
5c4be3196a Better looking set_path(wallet_path) method. Flattened function that's easier to read. 2012-08-24 10:34:38 +01:00
Amir Taaki
58e6050f52 Better looking set_path(wallet_path) method. Flattened function that's easier to read. 2012-08-24 09:34:30 +01:00
Jimbo77
25ad5fcd06 got rid of print_error 2012-08-23 18:38:28 -07:00
Jimbo77
a6239764d2 small cosmetic change 2012-08-23 18:36:40 -07:00
Jimbo77
34a3eea0bf changed imports to fit pep8 styleguide 2012-08-23 18:21:17 -07:00
Jimbo77
2de8df6758 getting rid of another BaseExceptions 2012-08-23 18:17:30 -07:00
Jimbo77
e12699ae75 getting rid of more BaseExceptions 2012-08-23 18:16:27 -07:00
Jimbo77
cdc16acabb changed to more descriptive exception 2012-08-23 18:11:57 -07:00
Jimbo77
6b86942ccb Don't need two try/catch statments if nothing happens when exception is caught 2012-08-23 18:02:55 -07:00
Jimbo77
719b9d7d33 Small cosmetic fix 2012-08-23 18:01:06 -07:00
Jimbo77
407070bba0 Didn't need a seperate variable just for string 2012-08-23 17:59:54 -07:00
Jimbo77
cb67ec4454 changed to more descriptive exception 2012-08-23 17:50:44 -07:00
Amir Taaki
89953895f8 Added explanation to line returning qVariant for future eyes. 2012-08-23 10:09:54 +01:00
Amir Taaki
77b3052f44 (explanation: the value returned is a qVariant not a bool and so needs explicit comparison to work)
Revert "got rid of boolean value comparison using == as stated in pep8 style guide"

This reverts commit 3bd7717038.
2012-08-23 10:07:28 +01:00
Jimbo77
9fc4e1a1b1 changed lookup_rate() to non-public 2012-08-22 20:11:38 -07:00
Jimbo77
3f167cb650 got rid of magic number 2012-08-22 19:50:21 -07:00
Jimbo77
c2713f6089 changed to use built-in list methods 2012-08-22 18:33:55 -07:00
Jimbo77
6122898915 changed to use built-in list methods 2012-08-22 18:33:35 -07:00
Jimbo77
e0d6570a1f created set_quote_currency() docstring 2012-08-22 18:25:38 -07:00
Jimbo77
f8c68fc51e created amount_input_changed() docstring 2012-08-22 18:22:56 -07:00
Jimbo77
f2277adf10 created mousePressedEvents() and se_balance_text() docstrings 2012-08-22 18:07:35 -07:00
Jimbo77
3bd7717038 got rid of boolean value comparison using == as stated in pep8 style guide 2012-08-22 17:50:54 -07:00
Jimbo77
9f4f7ee3c6 created docstring for set_button_amount() 2012-08-22 17:45:19 -07:00
Jimbo77
fac2bc7387 updated create_quote_text() docstring 2012-08-22 17:30:59 -07:00
Jimbo77
36e250d3ab created create_quote_text() docstring 2012-08-22 17:26:50 -07:00
Jimbo77
e34243d778 created set_balance() docstring 2012-08-22 17:20:42 -07:00
Jimbo77
62ec74c010 created docstring for expand() 2012-08-22 16:35:34 -07:00
Amir Taaki
943bcd0c84 Use self.close instead of sys.exit (self.close() is the proper Qt method :) 2012-08-22 19:41:06 +01:00
Jimbo77
b027678d0e created several more docstrings in miniActuator 2012-08-21 23:34:12 -07:00
Jimbo77
69110160ac created docstring for miniActuator 2012-08-21 23:17:48 -07:00
Jimbo77
deb29affc5 created load_theme() docstring 2012-08-21 22:43:35 -07:00
Jimbo77
74cea9b709 Created docstring for miniActuator __init__() 2012-08-21 22:36:15 -07:00
Jimbo77
d76a85acff added quit functionality to menubar in lite gui 2012-08-21 22:21:28 -07:00
Amir Taaki
3a648f9119 Show list of all the servers available in the menubar. 2012-08-20 10:20:40 +01:00
Amir Taaki
2598e89d00 More Pythonics util.print_error 2012-08-20 10:11:23 +01:00
Jimbo77
d66673eca2 more print_errors() deleted 2012-08-19 19:59:05 -07:00
Jimbo77
66ede2e03e created docstring for local_data_dir() 2012-08-19 18:28:17 -07:00
Jimbo77
1429ef71e1 getting rid of more unnecessary print_errors() 2012-08-19 18:19:59 -07:00
Jimbo77
89109541bd created docstring for set_path() 2012-08-19 18:08:32 -07:00
Jimbo77
f0fb3ec0e1 added small comment for ast.literal_eval 2012-08-19 17:49:51 -07:00
Jimbo77
a85901b4b2 added docstring for the read() function 2012-08-19 17:46:31 -07:00
Jimbo77
1eeed7fb27 Created appdata_dir() docstring 2012-08-19 15:27:08 -07:00
Jimbo77
b95be7e7a4 Created print_error docstring 2012-08-19 15:21:20 -07:00
Amir Taaki
9115ef6416 alphabetically sort theme names in themes menu 2012-08-18 08:53:34 +01:00
Amir Taaki
2d1bd9d203 bugfix: reset path after switching to new theme selection. 2012-08-18 08:32:15 +01:00
Amir Taaki
4d5615b8a8 Show and change themes via GUI. 2012-08-18 08:23:57 +01:00
Amir Taaki
49aec96e1e Load theme in gui according to setting. 2012-08-18 08:23:26 +01:00
Amir Taaki
304ccb6fd7 Utils for dynamically loading themes. 2012-08-18 08:21:58 +01:00
Amir Taaki
ef9a3abe31 Add theme name to config file. 2012-08-18 07:15:48 +01:00
Amir Taaki
7f81bcf05f Prettified code for BrainWallet dialog. 2012-08-16 23:38:21 +01:00
Maran
39660eeac5 Fix merge conflicts 2012-08-16 23:36:41 +02:00
Maran
175fd47130 Changing around where we issue the messages 2012-08-16 11:28:20 +02:00
Maran
00097a23de Added pretty errors when pyqt is not found or qt is not the right version 2012-08-15 22:50:36 +02:00
Amir Taaki
6b75c5f3fa Added donation address. 2012-08-14 20:53:02 +01:00
Amir Taaki
4b1feddcbd put it back to == True (oops :p) 2012-08-13 23:05:56 +01:00
Maran
7d7a32e1ad Fix send button not activating 2012-08-13 23:55:37 +02:00
Amir Taaki
75f8878562 Fix check_button_status. QVariant returned by property(...) will not return a python bool object, but it can evaluate. 2012-08-13 20:57:49 +01:00
Amir Taaki
2993f2313f fixed indentatioin to use 4 spaces, not 2 2012-08-13 20:54:11 +01:00
Amir Taaki
6f3271f565 Make seed dialog much simpler and easier to understand. 2012-08-13 14:59:20 +01:00
Amir Taaki
62aa814101 "BrainWallet Info" menu item in lite mode. 2012-08-13 14:42:38 +01:00
Amir Taaki
c684e4762e use prettier form of connect (which has less code, and more clarity) 2012-08-12 22:17:41 +01:00
Maran
0363f21c32 Merged history from master 2012-08-12 22:58:48 +02:00
Amir Taaki
c506139e68 use labels for to/from in lite history where available. 2012-08-12 21:52:28 +01:00
Amir Taaki
a61d1ad44b open electrum-desktop.com website instead of manual. 2012-08-12 21:48:51 +01:00
Amir Taaki
5ff2c45a56 Added report_bug and show_about hooks for menu. 2012-08-12 21:31:04 +01:00
Amir Taaki
46419a0457 alternating row colours for history. 2012-08-12 21:28:26 +01:00
Amir Taaki
5c43cee3f3 Add CSS styling to history view to make text lighter coloured. 2012-08-12 21:23:26 +01:00
Amir Taaki
b952a96b41 Added history to lite view. 2012-08-12 21:17:43 +01:00
Maran
21eeb7690c Merge changes from master 2012-08-12 21:44:27 +02:00
Amir Taaki
1a26fa87d3 Rename main menu to 'Bitcoin' from 'Electrum'. 2012-08-12 20:35:55 +01:00
Amir Taaki
bc64b2ae09 disabled menu entries that dont work. 2012-08-12 20:26:48 +01:00
Amir Taaki
3aa19aace6 Rename main menu to 'Bitcoin' from 'Electrum'. 2012-08-12 20:25:31 +01:00
Maran
c1abb8ea05 Bump version to 1.0 2012-08-12 21:21:37 +02:00
Maran
18eaec6fa2 Commented out some unfinished menu items 2012-08-12 21:03:54 +02:00
Amir Taaki
da5571a870 Merge branch 'master' of github.com:Spesmilo/Electrum 2012-08-03 16:13:49 -03:00
Amir Taaki
99f71a188f formatting fixes. 2012-08-03 16:07:58 -03:00
slush
2791ecc167 Added check if video device is available 2012-08-03 16:05:47 +02:00
Maran
608d4cad74 Merge branch 'cobleebuilder' 2012-08-02 18:07:25 +02:00
Amir Taaki
c4fe8d1376 remove stretch between amount and send button. 2012-08-02 11:30:44 -03:00
Amir Taaki
128f887ce9 Added menu entries. 2012-08-02 11:20:21 -03:00
slush
4e54081c5c New feature "Scan QR code" in sending dialog. 2012-08-02 15:18:31 +02:00
slush
b21ebc0da4 Scanning and parsing QR codes using computer's camera. 2012-08-02 15:18:06 +02:00
Maran
850d3580ae Bring qr-code in full visiblity 2012-08-01 21:22:07 +02:00
Maran
57cc413edc Further tweaks to the layout 2012-07-31 21:38:34 +02:00
Maran
2c5445e19f Renamed menu item 2012-07-31 19:31:46 +02:00
Maran
1eab366218 Added the expand option to the settings menu 2012-07-31 19:31:06 +02:00
Maran
7dbad12743 Fixed merged conflicts from menu branch 2012-07-31 18:20:54 +02:00
Maran
7682f00fb5 Removed the valid icon and make the text green or red instead 2012-07-31 18:13:37 +02:00
Amir Taaki
fa97acc2b4 Added menubar. 2012-07-31 13:00:55 -03:00
Amir Taaki
05dc59a5c9 Replaced left buttons with a menubar. 2012-07-30 20:34:59 -03:00
Maran
f4218d441e Removed lighter.css and moved it to the default layout 2012-07-24 14:59:41 +02:00
Maran
7ba5f07629 Reworked the logic for the send button, you can only press it when the amount and a valid address is given 2012-07-24 14:58:10 +02:00
Maran
53a5adde5d Added lighter theme 2012-07-24 13:31:47 +02:00
Maran
56b85914cf Fix the recursion issue on OSX 2012-07-23 20:43:31 +02:00
Amir Taaki
8f5d48584d Added AcceptBit integration. 2012-07-19 01:57:09 +02:00
Amir Taaki
c30561d808 More reasonable fee calculation. 2012-07-17 21:25:34 +02:00
Amir Taaki
0cf581b64a Use path of executable for resolving data directory. Don't assume . is it. 2012-07-10 17:49:40 +01:00
Amir Taaki
0b0a6f3657 try to detect data/style.css otherwise fallback to arch-indep data dir. 2012-07-08 11:13:11 +01:00
Amir Taaki
c10bacca28 restore current path after modifying it. 2012-07-08 10:53:49 +01:00
Amir Taaki
c03705b2a5 Added DragonFly to platform checks in appdata_dir() for mac. 2012-07-08 10:45:04 +01:00
Amir Taaki
b0b24ae9dd Use environment variable else fallback to system app path. This enables runtime
switching between styles without modifying Electrum, and avoids potential
conflicts from implicit detection of a data/ subdirectory.
2012-07-07 23:27:00 +01:00
ThomasV
80d6c3ccb8 fix import 2012-07-07 23:12:23 +02:00
Amir Taaki
188a671681 Corrected import paths for print_error. 2012-07-07 19:53:54 +01:00
Amir Taaki
02ba760c39 setWindowIcon() to electrum.png 2012-07-07 19:23:48 +01:00
Amir Taaki
91deb30771 CTRL+Q / CTRL+W close window shortcuts. 2012-07-07 18:58:29 +01:00
genjix
56bb7087d7 quote_currency setting can be None on first time use. Remove assert. 2012-07-07 18:01:00 +01:00
Julian Tosh
4e5dfbeade Implementing a better print_error routine 2012-07-07 09:24:52 -07:00
Julian Tosh
c533b797e0 Merge branch 'master' of gitorious.org:electrum/electrum 2012-07-07 06:41:16 -07:00
Julian Tosh
a3830e5903 Standardizing message format and implementing stderr for errors 2012-07-07 06:39:25 -07:00
Amir Taaki
2984c3dd95 Save selected currency as config setting. 2012-07-07 13:37:49 +02:00
Amir Taaki
7299c388e8 Select unused addresses when copying receiving address. We don't use wallet.get_balance as that is deceptive (if you sent a tx to yourself or old used addresses can have a 0 balance) and get_history seems a bit much (to check the activity of an address, we'd have to filter many addresses). This is a nice reasonable compromise. 2012-07-07 13:21:40 +02:00
Julian Tosh
b615fe0c8c modified password input routines to allow for input through stdin 2012-07-06 21:45:57 -07:00
Julian Tosh
b8c1c0c317 Turn debugging off by default 2012-07-06 16:57:13 -07:00
Julian Tosh
22fcb9e521 Adding user enabled debug messages for server communications 2012-07-06 13:36:13 -07:00
thomasv
788783aeb8 Don't exit before wallet is saved 2012-07-06 14:43:36 +02:00
Amir Taaki
216ff894b5 Force update for lite gui so update() gets called at least once (i.e if create/restore wallet) 2012-07-05 22:56:45 +02:00
Amir Taaki
d7ad1f41e5 first check data/ else use system appdata/share directory. 2012-07-05 21:43:32 +02:00
Amir Taaki
dcff721aa9 stop ugly flash because qt gui is trying to show itself. 2012-07-05 18:23:26 +02:00
Amir Taaki
76474c7eed Don't show fiat currency in titlebar (not enough space). 2012-07-05 18:16:33 +02:00
Amir Taaki
39d6b739dd Use leaveEvent instead of checking mouseMove position constantly. 2012-07-05 18:08:14 +02:00
Amir Taaki
e7e0b80ca8 set a window title for the popup and some other things. 2012-07-05 17:52:33 +02:00
Amir Taaki
8b11efb327 Popup for receiving Bitcoins. 2012-07-05 17:33:26 +02:00
Amir Taaki
40a4bf3c91 Load resources across many platforms from the shared appdir 2012-07-05 01:59:57 +02:00
Amir Taaki
bb0c0ff4c6 add multiargs support to get_resource_path 2012-07-05 01:36:32 +02:00
Amir Taaki
e954bdef3e Copy Address -> Copy My Address 2012-07-05 01:15:29 +02:00
Amir Taaki
fa81d974d6 corrected instructions for generating icons data file. 2012-07-04 23:31:20 +02:00
Amir Taaki
6cda0bc006 restore_or_create (just delegates to qt_gui - this needs cleanup & abstraction away) 2012-07-04 01:10:04 +02:00
Amir Taaki
aeed15e3a5 bugfix for showing 0 BTC balance when Price has been discovered before wallet has been loaded and server connect... so bail. 2012-07-04 00:59:40 +02:00
ThomasV
d0c1dfaa88 version 0.61 2012-07-03 15:05:53 +02:00
Amir Taaki
57e13505da app_menu has interact_button as its parent to stop its reference being dropped. 2012-07-03 14:25:28 +02:00
Amir Taaki
bd489e998f Do slow price discovery in another thread to speed up startup time and responsiveness. 2012-07-02 22:39:45 +02:00
Amir Taaki
9fd9f27408 bitcoin URIs in lite mode. 2012-07-02 22:11:13 +02:00
Amir Taaki
690908ddce completion support for destination addresses. 2012-07-02 21:49:14 +02:00
Amir Taaki
f2b8837fbc Don't show ()s when showing just the fiat currency i.e don't do (10.00 EUR), do 10.00 EUR 2012-07-02 20:48:21 +02:00
Amir Taaki
4b5935f117 Go back to balance display when amount input is empty. 2012-07-02 20:45:43 +02:00
Amir Taaki
81507780b9 Change balance text to show conversion amount when text is entered into the amount field. 2012-07-02 20:14:10 +02:00
Amir Taaki
8efc081ded Defer discovery of exchange rate until later to make program startup faster. 2012-06-30 15:54:02 +02:00
Amir Taaki
8d75b68152 show the BTC value in other currency. 2012-06-30 14:43:42 +02:00
Amir Taaki
02d8d297dc exchange rate discovery object. 2012-06-30 13:47:08 +02:00
Amir Taaki
b21d08c0af limit quote currency to 2 decimal places. 2012-06-30 13:37:34 +02:00
Amir Taaki
51f42d0be3 clicking balance switches between different currencies. 2012-06-30 13:32:04 +02:00
Amir Taaki
db9140a111 Password input dialog working. 2012-06-29 21:25:42 +02:00
Amir Taaki
aeecd6c4c2 Added send functionality. Still needs to have the password dialog, and final testing. 2012-06-29 09:41:56 +02:00