Commit Graph

9 Commits

Author SHA1 Message Date
Tigran Aivazian
0987c2826e Don't crash on pressing Del in History
After deleting all the entries from History we should guard against
pressing Del to try to delete a non-existent entry.
2012-09-26 15:58:51 +01:00
Tigran Aivazian
d338eff00d Don't write to temporary file on the flash device.
Instead of writing to (and reading from) the temporary file
"history/.history.txt" create a pipe to the appropriate process
and read from it.
2012-09-24 09:04:57 +01:00
Tigran Aivazian
eb002540a2 Don't crash on user pressing ENTER in empty history --- just display an appropriate message. 2012-09-19 17:49:20 +01:00
Tigran Aivazian
4b9cf4eaf5 Use os.remove() instead of os.execute("rm...") because it is less expensive
as it uses remove(3) C library function rather than fork/exec-ing a new process.
2012-09-18 23:52:11 +01:00
NuPogodi
8a792d2f31 Replaced: font selection menu (new version), etc
1. New menu Font:chooseFonts() to change font faces
2. Removed duplicate of 'make screenshot'
3. Hotkeys (Back & Home) to exit are moved down, to the end of hotkey list
4. Removed outdated comments & not informative comments
2012-09-06 21:04:20 +03:00
Tigran Aivazian
c4833b7557 Make sure the function that deletes history entry does NOT delete the physical file.
This is normal/expected behaviour, as in CoolReader and all other viewers I looked at.
2012-08-27 15:14:15 +01:00
HW
0d12ff70cd rename debug() to Debug() to stop clashing with the debug submodule from Lua 2012-06-04 00:49:23 +02:00
Dobrica Pavlinusic
a08c35a52c added Screen:screenshot() 2012-05-19 23:04:40 +02:00
NuPogodi
3a76ec91fd integrate rest of @NuPogodi changes #166
- long lines (filenames in 'Document Info') are now splitted in more
  human-readable way (by spaces, dots, slashes or some other characters
- see screenshot)
- the selection of fonts in filemanager (key 'F' or 'Aa') looks now more
  user-friendly
- fixed too long strings in most menues (TOC, Bookmarks, Fonts...) and
  in the popup with the reading progress (called by key 'Menu')
- the position inside the cr-documents (epub, mobi...) now remain nearly
  the same after rescaling the document (i.e. changing the font face,
  size, boldface and interline distance)
- when you open TOC-menu or Fonts Menu, it highlights the current item
  (i.e. current chapter and current fontface).
- i've a bit changed the way to read the battery level values, it might
  now work even without Amazon Kindle framework.
2012-05-19 13:04:49 +02:00