Kovid Goyal
ee2c0ca1b0
minor bug fix and version bump to 0.3.0b2
2007-01-03 19:22:59 +00:00
Kovid Goyal
07ad6648de
Fix #14 . Additional minor GUI bug fixes
2007-01-03 18:44:02 +00:00
Kovid Goyal
0af98226c1
DATABASE FORMAT CHANGED:
...
Users must delete library.db
Cover data moved into its own table for efficiency. Uncompressed size columns added.
Fix #15
2007-01-03 04:23:48 +00:00
Kovid Goyal
cead54c959
Greatly improved decoding of metadata block in LRF files. We now handle the incorrectly encoded metadata blocks produced by makelrf 0.3 by assuming a latin1 encoding. Also added additional fields and support for creating a field that does not exist. Metadata blocks are now always written correctly encoded in utf-16 independent of the encoding of the original metadata block.
2007-01-03 02:22:43 +00:00
Kovid Goyal
c25865e76b
Oops. Forgot to add module ptempfile.py to svn
2007-01-02 18:30:11 +00:00
Kovid Goyal
3d35a4bd49
Prettification
2007-01-02 04:49:56 +00:00
Kovid Goyal
59ed06686a
Remove obsolete todos. Fix in code to read metadata from LRF files. The old code would fail on some LRF files in which the metadata block was zero-terminated
2007-01-02 04:41:46 +00:00
Kovid Goyal
73e021ef08
Error handling improved. Version bump
2006-12-24 22:36:22 +00:00
Kovid Goyal
57e216f0c7
More minor bug fixes
2006-12-24 22:23:07 +00:00
Kovid Goyal
599543800c
Various minor bug fixes. Fixed dragging from library to device that had been broken by a previous commit. Improved device detection code. Improved rendering of titles/authors. Version bump as there were a lot og bug fixes
2006-12-24 19:01:17 +00:00
Kovid Goyal
695c27d229
Fix #12 and reset selection model on delete so that next item automatically becomes current
2006-12-23 19:21:51 +00:00
Kovid Goyal
f9e3b0a422
Fix #9
2006-12-22 20:27:02 +00:00
Kovid Goyal
4b2afac719
Re-indent libprs500.cli to 4 spaces as per PEP8
2006-12-22 19:57:01 +00:00
Kovid Goyal
567017f238
Added tooltips to the library list and used a scaled down version of the cover for drag and drop
2006-12-22 02:08:43 +00:00
Kovid Goyal
ca54c6f3b1
Fix #4 . Also fix bug in dragging cover image that was introduced by r154
2006-12-22 01:42:06 +00:00
Kovid Goyal
77eeb1fe7a
Fix overflow errors in LRFMetaFile when setting thumbnails
...
Fix #1
2006-12-22 01:08:30 +00:00
Kovid Goyal
9f4a2c9d72
Converted overflow warnings into errors in LRFMetaFile
...
Fixed bug where setting a smaller thumbnail would not reduce lrf file size
Raised pylint score for lrf/*.py
2006-12-22 00:32:28 +00:00
Kovid Goyal
8bd8bfb39c
Added preliminary support for unicode (utf8) to the library
2006-12-21 07:26:48 +00:00
Kovid Goyal
65bdf9c0b7
Add ui includes to setup.py to address #7
2006-12-20 06:31:37 +00:00
Kovid Goyal
18111d2d50
Raising the pylint score of libprs500/gui/*.py
2006-12-20 02:08:57 +00:00
Kovid Goyal
97fe142281
Added pylint config file and PyQt version detection
2006-12-19 23:16:52 +00:00
Kovid Goyal
0e20e54be3
2006-12-19 18:21:59 +00:00
Kovid Goyal
64fd079f88
2006-12-19 04:05:49 +00:00
Kovid Goyal
6010e9b2ca
Raising pylint scores for libprs500/*.py
2006-12-19 01:50:00 +00:00
Kovid Goyal
3d7d6a862a
Version bump for pyusb dependency processing
2006-12-17 18:29:21 +00:00
Kovid Goyal
8a88357094
Replaced sourceforge download link for pyusb with a direct download link.
2006-12-17 18:28:13 +00:00
Kovid Goyal
5248fbbbeb
Added check in setup.py to ensure that python version is >=2.5. Added direct download to dependency links for pyusb as otherwise easy_install picks the windows version on linux. This will break if a newer version of pyusb is released. Version bump to a2. See #5
2006-12-17 02:26:21 +00:00
Kovid Goyal
9e51abad95
Moved device detection into a separate class. This will allow HAL based detection to be implemented easily and transparently to the rest of the application. See #3
2006-12-16 18:50:55 +00:00
Kovid Goyal
3c2d4561fc
trivialities
2006-12-14 20:35:53 +00:00
Kovid Goyal
08ac78c8cd
2006-12-14 05:14:03 +00:00
Kovid Goyal
20b7378b19
Updated package meta-data
2006-12-14 03:10:09 +00:00
Kovid Goyal
2f0de66c96
The basic workflow using drag and drop is in place. You can now drop files from your file manager into the library and drop files from the library into either the main memory or the card.
...
I've lowered the version number from 0.3.0 to 0.3.0a1 as the GUI still has many bugs, so you need to do a python setup.py develop --uninstall and then re-issue the develop command.
2006-12-14 03:07:40 +00:00
Kovid Goyal
8e9194a575
Changed the code for determining free/available space on device as the earlier code did not work. Now there are two functions, total_space and free_space instead of the earlier available_space.
...
Fixed book_upload to set the correct timestamp in the cache.xml file
2006-12-14 01:48:44 +00:00
Kovid Goyal
61c0e0614d
Fixed bug in replace file code: If the file to be replaced is larger than the new file, the old file would be only partially replaced.
2006-12-13 20:41:02 +00:00
Kovid Goyal
d0c113b2c8
Add support for timezones to the SetTime command. Thanks to igorsk for this.
2006-12-13 18:22:54 +00:00
Kovid Goyal
3bade20d57
Made the CLI usage messages more verbose so that the CLI is self documenting.
2006-12-12 05:09:23 +00:00
Kovid Goyal
c693c6f900
documentation fix
2006-12-12 05:08:14 +00:00
Kovid Goyal
fc5b8a22e6
Added time sync functionality. Now libprs500 automatically syncs the time on the device to local time everytime a connection is opened to the device
...
Added option to replace existing files to put_file for convenience
2006-12-12 01:31:51 +00:00
Kovid Goyal
3b21f2c4dd
***
2006-12-09 19:08:03 +00:00
Kovid Goyal
9962f95b31
Added detection of device busy condition
...
Added a lock file to ensure that only one instance of the GUI runs
2006-12-09 07:30:15 +00:00
Kovid Goyal
876f994a4a
Changed GUI to only show devices. No subsets.
...
Added a warning about PyQt4 too setup script
Added initial code for Dropping on reader (not tested)
2006-12-09 05:55:36 +00:00
Kovid Goyal
8e4010e0f3
Added Drag'nDrop support to library book list
2006-12-07 08:19:35 +00:00
Kovid Goyal
1fba894a89
Reorganized GUI code. Split widget specific code into widgets.py.
...
Added infrastructure for Drag'nDrop support. Implemented DnD for the cover.
Added initial support for updating metadata in LRF files when it is updated for a logical file. This needs testing. Especially worrying are the deprecation warnings about integer overflow in struct.pack when updating the thumbnail
2006-12-07 00:38:43 +00:00
Kovid Goyal
844f4e1e08
Finished implementing add/delete functions for library. Fixed a bug in the cover display code
2006-12-04 06:59:33 +00:00
Kovid Goyal
ddc2e5bbdd
Fixed connection errors due to timeouts in the GUI (Basically, increased the timeout in PRS500Device.open to 10s to allow device to initialize USB handler.
...
Refactored device display code to work with changed implementation of book list parsing in libprs500
2006-12-04 05:25:56 +00:00
Kovid Goyal
a591a6d788
Forgot the books module in the last commit
2006-12-04 01:06:00 +00:00
Kovid Goyal
16b0cadcfd
Moved book list logic into its own module and re-implemented using xml.dom. This will make it easier to edit the book list
2006-12-04 01:05:27 +00:00
Kovid Goyal
9f3e4f63d9
Improved error reporting, to use qInstallMsgHandler
2006-12-03 20:59:28 +00:00
Kovid Goyal
df9c8be1ef
Made the library view editable
...
Added a rating column
2006-12-03 20:08:35 +00:00
Kovid Goyal
95ab3d492d
Modifying loading mechanism for ui files so that it works in an egg
2006-12-02 02:03:20 +00:00