Christian T. Jacobs
|
bdd828ddb4
|
Full stop in a comment line.
|
2017-07-07 12:21:22 +01:00 |
Christian T. Jacobs
|
6d0b02b83e
|
Better error handling.
|
2017-07-03 22:35:28 +01:00 |
Christian T. Jacobs
|
b405590fe8
|
Better error handling.
|
2017-07-03 21:33:03 +01:00 |
Christian T. Jacobs
|
e34253adb2
|
Better error handling.
|
2017-07-03 13:27:12 +01:00 |
Christian T. Jacobs
|
2ddfc2d061
|
Removed unnecessary debugging statements.
|
2017-06-30 12:30:35 +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
|
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
|
a6aa5813f5
|
Rename get_all_records to records and decorate it.
|
2017-04-20 22:57:17 +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
|
331d80a060
|
Create a new method called "rename" in the Log class.
|
2017-04-15 00:55:52 +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
|
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
|
1eea1d5917
|
Renaming calendar.py to calendar_dialog.py to avoid naming conflicts. Also moved LogName to its own file log_name_dialog.py once again.
|
2017-02-24 00:20:43 +00:00 |
Christian T. Jacobs
|
b89acae882
|
Removed the old log_name_dialog.py file. Moved the LogName class to log.py.
|
2017-02-23 23:38:29 +00:00 |
Christian T. Jacobs
|
5cc525c5c7
|
Updated copyright year.
|
2017-02-10 18:54:21 +00:00 |
Christian T. Jacobs
|
426c2dac29
|
Updated copyright notices.
|
2016-05-28 20:32:00 +01:00 |
Christian T. Jacobs
|
c993704e84
|
Make the code pep8 compliant, using the autopep8 tool. Note that we are ignoring the following: E501,F403,E226,E402,W503.
|
2016-01-27 16:23:09 +00:00 |
njohnsn
|
fc94c8d511
|
Convert to Python 3 using 2to3.
Also update Travis CI settings for Python 3, add new package dependencies and update the documentation.
|
2015-11-05 00:23:19 +00:00 |
Christian Jacobs
|
45abb28e38
|
Improved docstrings.
|
2015-10-04 00:16:55 +01:00 |
Christian Jacobs
|
bf26af984d
|
Merge pull request #32 from dnet/cleanup2015930
Cleanup
|
2015-10-01 18:37:38 +01:00 |
Christian Jacobs
|
794d999587
|
lastrowid only gets set *after* issuing an INSERT statement, but PyQSO needs the index of the last row beforehand. Therefore, determine the index of the last row using a SELECT statement instead.
|
2015-10-01 18:27:11 +01:00 |
András Veres-Szentkirályi
|
500ca5977a
|
removed unused imports
|
2015-09-30 10:56:56 +02:00 |
Christian Jacobs
|
37685c9a4c
|
When calling add_record with multiple records in a list, insert all the records in one go using executemany.
This seems to bring a significant performance benefit, and addresses issue #29.
|
2015-08-12 00:58:00 +01:00 |
Christian Jacobs
|
f9b97a6b26
|
Remove the unnecessary "File:" lines at the top of each .py file.
|
2015-03-06 23:35:14 +00:00 |
Christian Jacobs
|
3cc4f83a22
|
Added my middle initial.
|
2015-03-06 23:31:46 +00:00 |
Christian Jacobs
|
7b3c2634aa
|
Move the code which locates duplicate records into a new method called 'get_duplicates'.
Also added a unit test for this new method.
|
2015-03-01 21:55:24 +00:00 |
Christian Jacobs
|
2d0e33ceb7
|
Perform extra passes to ensure that all duplicate records are removed. There might be a better way to do this.
|
2015-02-08 20:05:15 +00:00 |
Christian Jacobs
|
5c99387b40
|
More error handling.
|
2013-10-01 21:23:37 +01:00 |
Christian Jacobs
|
ebc6d767aa
|
More error handling.
|
2013-10-01 21:20:15 +01:00 |
Christian Jacobs
|
5eca6d4e68
|
More error handling and manual improvements.
|
2013-10-01 21:14:01 +01:00 |
Christian Jacobs
|
99ab2c3924
|
Added IndexError to the except line.
|
2013-09-30 17:52:01 +01:00 |
Christian Jacobs
|
18de3ce518
|
Removed an old print statement.
|
2013-09-30 17:03:08 +01:00 |
Christian Jacobs
|
a3c3552f14
|
Using 'with' statements to deal with database commits and rollbacks.
|
2013-09-30 16:56:11 +01:00 |
Christian Jacobs
|
23b6557c54
|
Remove the "close" button in the log's tab.
|
2013-09-16 03:24:53 +01:00 |
Christian Jacobs
|
e3f81fbfda
|
Fixed a bug which occurred when searching for duplicate records in an empty log.
|
2013-09-16 03:17:37 +01:00 |
Christian Jacobs
|
9c09a728fc
|
Unit tests for the ADIF and Log classes.
|
2013-09-16 02:39:32 +01:00 |
Christian Jacobs
|
f260462072
|
Added commit and rollback statements.
|
2013-09-15 02:49:12 +01:00 |
Christian Jacobs
|
3b12614cc3
|
More exception handling.
|
2013-09-15 01:10:13 +01:00 |
Christian Jacobs
|
fb884803e7
|
A few bug fixes.
|
2013-09-15 01:02:21 +01:00 |
Christian Jacobs
|
74fa770a05
|
Added a 'make unittest' command to the Makefile.
|
2013-09-15 00:21:58 +01:00 |
Christian Jacobs
|
fa7788f49d
|
Changed ''' to """.
|
2013-09-04 21:12:04 +01:00 |
Christian Jacobs
|
bc4ae0e41a
|
Added more docstrings.
|
2013-09-04 21:03:48 +01:00 |
Christian Jacobs
|
1e294c7e3a
|
Some more improvements to backwards compatibility.
|
2013-07-05 00:26:34 +01:00 |
Christian Jacobs
|
5314c59b17
|
add_missing_db_columns is probably a better name for this method.
|
2013-07-04 23:58:02 +01:00 |
Christian Jacobs
|
c6c0431617
|
Some more improvements to backwards compatibility.
|
2013-07-04 23:53:31 +01:00 |
Christian Jacobs
|
5cada62d02
|
- Improvements to backwards compatibility. PyQSO now adds a column with the field name to the database if it doesn't already exist. All entries are initially set to NULL. This prevents problems when the ListStore expects the column names to all be in AVAILABLE_FIELD_NAMES.
- Added a TODO file.
|
2013-07-04 23:04:31 +01:00 |
Christian Jacobs
|
e79baec0bd
|
Forget the idea about selected field names for now. Just use all available ADIF fields instead.
|
2013-06-23 17:31:27 +01:00 |
Christian Jacobs
|
6b2aefacf2
|
- Renamed the DATE and TIME fields to QSO_DATE and TIME_ON, respectively.
- Added icons to the menu items.
|
2013-05-19 21:11:23 +01:00 |