I decided to move this release to 2.0 (instead of 1.11, which is what it was originally going to be), due to it breaking backwards compatibility. Before this, versions 0.3 to 1.10 could be updated by simply using the new program files; any changes to the data files were made automatically as needed. However, I decided to stop doing that for this release due to a change of formats and a restructuring of where the data and configuration files were stored. All releases from now on (or at least until 3.0, if I ever get that far) will be backwards compatible with this one.
WeatherLog now follows the XDG Base Directory Specification, so instead of having all data files stored in ~/.weatherlog they have been moved to ~/.config/weatherlog (for configuration files) and ~/.local/share/weatherlog (for data files).
The data storage format has been changed from JSON to pickling, mostly for speed. Python’s JSON parser is rather slow compared to pickling (especially the internal C implementation).
More code cleanup.
Removed executable permissions from the files.
Removed all backwards compatibility code.
Moved some menu items around. Import and Export features are now in a new File menu.
Condensed the Info and Chart dialogs down into one each, with tabs for each category. This first makes its implementation simpler, and also makes it easier to use.
When importing data it is now possible to choose to import all data or only selected dates.
Streamlined copying and moving data between profiles. Instead of having the menus, there is now just two items. Whether to move or copy the data is choosen later on.
Implemented a new “metadata” file for each profile to store creation date and last modified date (and more in the future). This is shown in the profile selection dialogs.
When adding or renaming a profile the user can now choose to overwrite an existing one.
Changed some labels to make more sense.
Removed fullscreen support.
Changed keybindings to make more sense.
Implemented an Import All option.
Added validation for importing data.
Deferred creation of the profile in Import as New Profile to after the data file has been selected.
Deferred creation of the profile for Copy/Move to New Profile until after the data has been selected.
Fixed automatic sorting by date.
Import as New Profile now has the correct dialog title.
As this application has now reached feature parity with the pastebin.com website, I’ve decided to bump the version up to 1.0 instead of 0.4.
After getting a paste the cursor will now be set to the beginning of the text, instead of at the end.
Changed the textbox into a SourceView, which allows for syntax highlighting, line numbers, and other more advanced editing features. Currently the line numbers are enabled and working, but the syntax highlighting isn’t (I hate not having proper documentation to work from). The code for the highlighting is all in the application still, but it’s commented out.
Added more options to configure some of the new stuff. Also added an option for the developer key, with a request for the user to change it to their own so I don’t run into problems with people uploading too many things.
Added a feature to get the user’s account details and settings.
This release has both the data subset update and help update, though I had originally intended to do them separately. See a previous post for more information about the data subsets. The new help files are included as both an offline copy, as well as hosted on Github Pages.
Updated the help.
Added data subsets.
Changed Remove to use the date selection dialog, instead of requiring one of the rows in the main window to be selected.
Changed program icon.
Fixed a few comments.
Downloads can be found on the SourceForge page, and the code is available on Github. Also, both sites say that it’s at version 1.10.1 instead of 1.10; there aren’t many differences, I was just an idiot and forgot to commit a couple changes.