1. ATM, the footers in selectmenu.lua & helppage.lua are left-adjusted,
these also contain the prompt for users how to call help
(selectmenu.lua) and how to go back (helppage.lua). By minor correction
to function DrawFooter() in filechooser.lua, one may readily make the
rest footers to look in a similar way.
2. When writing the code of inputbox.lua, I (NuPogodi) left the wrong
command to delete the 1st entry in the math function list
(called in calculator mode by pressing Alt-M).
the application by entering invalid input into calculator, for example
things like these: ")(", "inf/0", "f()", etc.
By using Lua pcall() function to execute not only the construction of
the expression, but also the calculation of the final result, the calculator
is made more robust and safe-guarded from such crashes.
closes#194, closes#218
1. Lowercase layout is default
2. Uppercase chars by pressing Shift+Key; it will probably require us to
remap some old MOD_SHIFT-commands to MOD_ALT (not the upper raw that is
responsible for digits: Alt-Q = 1, etc.)
3. New 'documentation' functions
- usual helppage with active hotkeys (Alt+H)
- list of available math functions (Alt+M, active in the calculator
mode)
4. Added two small functions to move cursor to the first/last position
in inputbox (Shift+FW-left/FW-right)
5. Some minor rearrangement for layouts (mostly for convenient work with
calculator)
6. Keeping initial "d_text" in InputBox:input(... d_text, is_hint) when
is_hint is not true (say, for minor changing of long filenames #219, etc.)
or incremental search.
Added: calculator with a proper documentation of available math
functions
- zip files don't require double extensions any more
- filechooser has 'H' shortcut to display keys
- new function for files and folders (^ == shift)
^N - new folder
Del - delete document/folder
^C - copy file into clipboard
^X - cut (move) file to clipboard
^V - paste files from clipboard
^R - rename file
- configurable keyboard for input box
* hwhw/master: (183 commits)
show infomessage on document open
use InfoMessage for empty TOC, jump history and highlights
copy resources dir on customupdate
add resource: info icon
display document open error message
added infomessage dialog implementation
bugfix, removed old test constant
Added widget abstraction framework
added interface to get blitbuffers from JPEG/PNG files
fix typo
added reading of pan_margin settings
fix full screen refresh command, close#99
add: sleep and usleep in util module
fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox
reverted removal of last-doc shortcut, introduced framework restart
kill our own child process. not quite finished.
added line spacing setting for crereader
remove page:getPageText debug dump to improve performance on device
remove page:getPageText debug dump to improve performance on device
display crash.log on error
...
Conflicts:
ft.c
helppage.lua
inputbox.lua
rendertext.lua
rendertext_example.lua
unireader.lua
now shiftmode and altmode is recoreded in Keys module. So all the UIs
are sharing these two mode instead of remembering their own. These fix
the bug in UI switchings.
For instance, you use combo 'Alt'+'b' to fire up some menu in pdfreader,
the altmode is set, but the alt key was released after the menu show
up. Then the key release event will only be captured by the menu. So
after you exit from the menu, the altmode is still set in pdfreader,
which is not what we want.
Conflicts:
filechooser.lua
* merge rotate branch with search branch
* fix font display bug in font menu
not fully tested the new rotation implemention yet.