Wykres commitów

447 Commity (master)

Autor SHA1 Wiadomość Data
Christian T. Jacobs e34253adb2 Better error handling. 2017-07-03 13:27:12 +01:00
Christian T. Jacobs 3e32142e8a Place the ADIF object outside the 'if' statement. 2017-07-03 01:10:11 +01:00
Christian T. Jacobs 77047d5670 Only create a new log once the records in the ADIF file have been read in. 2017-07-03 00:58:44 +01:00
Christian T. Jacobs cf72d94035 Better error handling for importing/exporting logs. 2017-07-03 00:43:38 +01:00
Christian T. Jacobs 7214b783b2 Handle empty frequency field separately. 2017-07-02 14:56:39 +01:00
Christian T. Jacobs f3bf4ffc8c Also handle ValueErrors when converting the frequency. This also handles the case of an empty frequency field. 2017-07-02 14:54:42 +01:00
Christian T. Jacobs 70cf060d66 Remove unused logging module import. 2017-06-30 12:32:07 +01:00
Christian T. Jacobs 2ddfc2d061 Removed unnecessary debugging statements. 2017-06-30 12:30:35 +01:00
Christian T. Jacobs b099111218 Print logs on a landscape page. Also improved the page layout. 2017-06-28 20:23:31 +01:00
Christian T. Jacobs c00e0a7ecb Fixed direction of sorting. 2017-06-28 16:22:53 +01:00
Christian T. Jacobs 67d2050156 Improved comments. 2017-06-27 23:13:09 +01:00
Christian T. Jacobs 4becec41ed Better error handling for the case where a log is not selected. 2017-06-27 22:41:00 +01:00
Christian T. Jacobs b91c77f07b Consider key-press-event not key-release-event. 2017-06-27 22:04:32 +01:00
Christian T. Jacobs 7055f4f67d Added 'record count' feature. 2017-06-27 21:13:59 +01:00
Christian T. Jacobs 2d42acde9c Fixed the QSO index used in the Gtk.ListStore. Just before a QSO is added with add_record it was assumed that it's index would be max(rowid)+1, which is not always the case. This led to inconsistencies between the Gtk.ListStore and the database. Indices used in the Gtk.ListStore are now obtained directly from the database after insertion. Addresses issue #56. 2017-06-27 20:10:20 +01:00
Christian T. Jacobs f3bacf9dc7 Don't pass None, None to edit_dialog - leave that up to the defaults in the keyword arguments. 2017-06-27 20:05:28 +01:00
Christian T. Jacobs 7f6c94982a More docstrings. 2017-06-27 20:04:45 +01:00
Christian T. Jacobs 879e49b496 Call logging.info rather than logging.debug in the 'info' auxiliary dialog function. 2017-06-27 20:03:44 +01:00
Christian T. Jacobs 4f61570828 Add logging statements for importing/exporting in ADIF format. 2017-06-27 20:03:06 +01:00
Christian T. Jacobs 6b7d42e6dd Show an error dialog if the printing operation is not successful. 2017-06-27 20:02:05 +01:00
Christian T. Jacobs 75a8f0ce50 Duplicates are now defined by the CALL, QSO_DATE and TIME_ON fields. Didn't seem necessary to also consider FREQ and MODE. 2017-06-25 15:52:05 +01:00
Christian T. Jacobs 181312b2bc Re-order menu setup. 2017-06-24 22:27:51 +01:00
Christian T. Jacobs a09d5ab1ce More unit testing. 2017-06-24 20:56:04 +01:00
Christian T. Jacobs 4478e117fa Added a Hamlib-based unit test. 2017-06-24 18:56:46 +01:00
Christian T. Jacobs b59d543dd2 The 'mode' is actually an int, so use Hamlib.rig_strrmode(mode) to convert it to its string representation. 2017-06-24 18:12:27 +01:00
Christian T. Jacobs 60a26bb2fa Comment update. 2017-06-24 18:04:21 +01:00
Christian T. Jacobs 69abd30027 Added a test for the Printer class. Note that this only checks that a PDF has actually been created. It does not check the contents of the PDF file. 2017-06-24 16:37:51 +01:00
Christian T. Jacobs 6b1caa1a3c More unittests. 2017-06-24 15:08:20 +01:00
Christian T. Jacobs db1c050b78 Fix new logbook functionality by changing "if(not self.logs)" to "if(self.logs is None)", since the case of an empty log list should be handled in the 'else' branch. 2017-06-13 21:17:54 +01:00
Christian T. Jacobs 803a5d4430 Don't pad the statistics frame. 2017-05-30 13:20:47 +01:00
Christian T. Jacobs b698900fe5 Improved the QTH labelling on the grey line map. 2017-05-17 18:12:53 +01:00
Christian T. Jacobs 15f38b4c43 Remove some unnecessary calls to logging.error. 2017-05-17 17:36:33 +01:00
Christian T. Jacobs d5ff95edb1 Use a file chooser dialog to let the user find and set the default logbook file. 2017-05-17 17:18:05 +01:00
Christian T. Jacobs 49b544b463 Indent. 2017-05-09 17:31:32 +01:00
Christian T. Jacobs bce1f98776 Move the Telnet connection code to its own class. 2017-05-09 17:26:25 +01:00
Christian T. Jacobs 500e3f6266 Remove an old TODO. 2017-05-09 17:26:12 +01:00
Christian T. Jacobs 904d02ce23 Updated TODO. 2017-05-09 17:25:58 +01:00
Christian T. Jacobs b9fb712f16 Docstrings in the PreferencesDialog class. 2017-05-09 17:25:45 +01:00
Christian T. Jacobs bba65693ca Better error handling. 2017-05-07 16:38:36 +01:00
Christian T. Jacobs bb4fa2a09c Add the option of a default frequency unit in the Preferences. Addresses issue #12. 2017-05-07 14:01:28 +01:00
Christian T. Jacobs 34dcc61b6f Added functionality for converting the frequency from one unit to another (e.g. from MHz to kHz). Partially addresses issue #12. 2017-05-07 01:44:58 +01:00
Christian T. Jacobs a11f7d275a Define "E" in adif.py. 2017-04-24 17:45:55 +01:00
Christian T. Jacobs aebab3eca7 Specify "model=". 2017-04-24 17:01:47 +01:00
Christian T. Jacobs 4276b544bc If the MODE is changed, then set the submode to an empty string. 2017-04-24 17:01:18 +01:00
Christian T. Jacobs 6b069e280e Added a unit test for the get_log_index method. 2017-04-23 20:04:38 +01:00
Christian T. Jacobs 110e5fe700 This should be "parent" not "application". 2017-04-20 23:55:56 +01:00
Christian T. Jacobs 868d7b2c9c Updated docstring. 2017-04-20 23:35:03 +01:00
Christian T. Jacobs 3809b4b852 Added a test for the Awards class. 2017-04-20 23:24:50 +01:00
Christian T. Jacobs 9194a71a99 homogeneous, spacing. 2017-04-20 23:10:06 +01:00
Christian T. Jacobs a6aa5813f5 Rename get_all_records to records and decorate it. 2017-04-20 22:57:17 +01:00
Christian T. Jacobs 8d8276ff33 Added tests for the Summary class. 2017-04-20 22:50:08 +01:00
Christian T. Jacobs 41acc8be30 Use new_log_name for consistency. 2017-04-15 01:37:52 +01:00
Christian T. Jacobs 39aa303959 Importing the modules required for the unit tests. 2017-04-15 01:19:44 +01:00
Christian T. Jacobs 3a5a1525a5 Moved all the unittests to a new directory called 'tests'. The command 'make test' now looks in the 'tests' directory. 2017-04-15 01:14:17 +01:00
Christian T. Jacobs 0953a2e431 Added log renaming test. 2017-04-15 01:08:40 +01:00
Christian T. Jacobs 64cb2b2c15 Comment updates. 2017-04-15 00:59:21 +01:00
Christian T. Jacobs 331d80a060 Create a new method called "rename" in the Log class. 2017-04-15 00:55:52 +01:00
Christian T. Jacobs 9a6a1a24ae Use a Gtk.Paned widget to allow the Toolbox to be resized. 2017-04-15 00:02:13 +01:00
Christian T. Jacobs c53c7ab9a3 Moved the blank/dummy page to blank.py 2017-04-14 23:14:27 +01:00
Christian T. Jacobs 68dfa0f9d6 Remove 'self' argument. 2017-04-14 22:22:52 +01:00
Christian T. Jacobs 7df20bd28b "find" -> "get". 2017-04-14 22:03:28 +01:00
Christian T. Jacobs 2a33f97505 Corrected rtypes. 2017-04-14 22:02:16 +01:00
Christian T. Jacobs 78033f9a01 Remove _ in front of methods for consistency reasons. 2017-04-14 21:45:59 +01:00
Christian T. Jacobs f122e3cfde More docstrings. 2017-04-14 21:38:42 +01:00
Christian T. Jacobs ae304e7fa9 Moving Summary page over to Glade. 2017-04-14 21:33:16 +01:00
Christian T. Jacobs 12ae7195f4 Moving code out of logbook.py into compare.py and summary.py. The functionality includes the Summary page and functions for comparing log records. 2017-04-14 19:48:09 +01:00
Christian T. Jacobs 522e461dee More tests. 2017-04-11 23:40:06 +01:00
Christian T. Jacobs c3bce781f1 Rename to record_count and log_count, and use decorators. 2017-04-11 23:06:44 +01:00
Christian T. Jacobs fa96db7219 Rename to print_records. 2017-04-11 22:53:51 +01:00
Christian T. Jacobs a3b3568d48 Move the log printing functionality to a new Printer class, defined in printer.py. 2017-04-11 22:47:16 +01:00
Christian T. Jacobs 93e76b9b84 Move test.db to the 'res' directory. 2017-04-05 23:18:23 +01:00
Christian T. Jacobs 0cdd59f3ef Always show callsigns in upper case. 2017-04-05 22:58:02 +01:00
Christian T. Jacobs 35922cd493 Moved the CabrilloExportDialog class to a separate file. 2017-04-05 22:54:26 +01:00
Christian T. Jacobs 6407c4a9cc More work on the Cabrillo exporting functionality.
Added a dialog that allows the user to specify the callsign used during a contest, and the contest's name.
2017-04-05 22:42:43 +01:00
Christian T. Jacobs 76b673475e Moved Glade file and icon files to a new directory called 'res'. 2017-04-02 14:02:40 +01:00
Christian T. Jacobs 9e73b2abfa Set CABRILLO_VERSION instead. 2017-04-01 23:19:49 +01:00
Christian T. Jacobs 5454c8e296 Flake8. 2017-04-01 23:18:05 +01:00
Christian T. Jacobs 2d30163e7d Created a Cabrillo class for writing out QSO records to a file in Cabrillo format. This is a work-in-progress. 2017-04-01 23:07:52 +01:00
Christian T. Jacobs 74b393e0e1 Fixed comment. 2017-04-01 23:07:47 +01:00
Christian T. Jacobs 315997c1e5 Use " not ' in setup.py 2017-04-01 21:36:59 +01:00
Christian T. Jacobs 8a07c26fec Update unit test. 2017-04-01 18:17:08 +01:00
Christian T. Jacobs 531749270c Perform an initial count for the awards table. 2017-04-01 18:10:24 +01:00
Christian T. Jacobs c10abde42a Updated comment. 2017-04-01 17:55:03 +01:00
Christian T. Jacobs 6c782094e7 Fix instantiation of RecordDialog when editing a record. 2017-04-01 15:43:55 +01:00
Christian T. Jacobs 7a2aa12e47 Use a comma rather than placing my callsign in brackets after my name. 2017-04-01 15:20:33 +01:00
Christian T. Jacobs 3caf3f9274 flake8 2017-04-01 14:58:06 +01:00
Christian T. Jacobs 1f4f95bcba Connecting up the Preferences dialog. 2017-04-01 14:57:17 +01:00
Christian T. Jacobs 10d0b9d462 Rename "parent" -> "application". 2017-03-31 10:31:30 +01:00
Christian T. Jacobs 2565a7512d Renaming "parent" to "application". 2017-03-31 10:28:26 +01:00
Christian T. Jacobs 75a65891a9 "builder" -> "application". 2017-03-31 10:21:43 +01:00
Christian T. Jacobs 183d1c9d8d Rename "parent" to "application". 2017-03-31 10:06:11 +01:00
Christian T. Jacobs 2ef087c202 Added the View tab of the Preferences dialog in Glade. 2017-03-30 16:45:09 +01:00
Christian T. Jacobs e10a25bccf Added Hamlib tab in the Preferences dialog in Glade. 2017-03-30 08:16:23 +01:00
Christian T. Jacobs 66d3f45be8 Added the Records tab of the Preferences dialog in Glade. 2017-03-30 08:08:23 +01:00
Christian T. Jacobs d78f0f74d7 Added ADIF preferences in Glade. 2017-03-22 23:07:40 +00:00
Christian T. Jacobs b9c15c0e92 Include my middle name in the copyright lines and authors list. Also use my new callsign. 2017-03-20 13:06:01 +00:00
Christian T. Jacobs 9c954373b0 Added General tab of the Preferences dialog in Glade. 2017-03-16 18:34:06 +00:00
Christian T. Jacobs 95bad0fe72 Added the start of the Preferences dialog in Glade. 2017-03-11 23:26:52 +00:00
Christian T. Jacobs 36de2328c4 If the Return key is pressed in the RecordDialog, record the QSO details. Addresses issue #53. 2017-03-02 10:45:49 +00:00
Christian T. Jacobs a6d5839527 Fixed auxiliary dialog calls. 2017-03-02 10:14:21 +00:00