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
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
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
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
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
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
00ae3e2193
Fix unicode problem in getting list of books
2006-11-30 02:07:52 +00:00
Kovid Goyal
d419f3f23b
Remove uneccessary reset that was causing problems on OSX
2006-11-30 02:04:11 +00:00
Kovid Goyal
c8d21c5930
GUI now supports displaying lists of books from both the library and the device
2006-11-24 05:17:38 +00:00
Kovid Goyal
f31caad22a
Raised default timeout from 100 to 1000ms as operations on storage card were occassionally timing out
2006-11-21 23:57:20 +00:00
Kovid Goyal
50df03806f
Fix card prefix bug in books()
2006-11-21 23:09:44 +00:00
Kovid Goyal
78d4478d5e
Fixed put_file to coorectly handle an infile whose position is not at the start of the file. It now correctly copies from the
...
current position of infile. Also added progree reporting to put_file
2006-11-21 22:43:28 +00:00
Kovid Goyal
edbdd7e496
Added support for progress reporting in libprs500. Only implemented in get_file
...
Created a rudimentary GUI that parses the media list on the device abd displays the books
Switched to setuptools
2006-11-21 04:52:47 +00:00
Kovid Goyal
87c82ab7d7
GUI skeleton
...
Added plumbing for PyPI
2006-11-18 00:32:26 +00:00
Kovid Goyal
a44a2e578b
listing of books
2006-11-16 06:15:12 +00:00
Kovid Goyal
e456f6e828
Made cp command more usable and isolated problem in OSX to bulk reads
2006-11-14 22:59:31 +00:00
Kovid Goyal
6f1767a717
Refactored code using decorators and descriptors
...
time for ls -lR / reduced from 45s to 12s
Added write support (touch, rm, mkdir, cp host->device)
2006-11-09 01:33:51 +00:00
Kovid Goyal
7e1ca9880b
e-implemented prstypes using descriptors, making the types even more struct like and reducing the code size by half. It is now very easy to define new types.
2006-11-07 22:54:11 +00:00
Kovid Goyal
df077ebfbe
Improved packet tracing output (added byte count and packet count)
...
Added support for the df command
2006-11-07 08:10:02 +00:00
Kovid Goyal
1c8319a5a4
Added working support for the following commands to libprs500:
...
- ls -lhR --color
- cp from device to host
- info (get device information)
- cat files on device
Added a command line interface in prs500.py
Added documentation in epytext
Added support for distutils
2006-11-07 04:10:11 +00:00