Commit Graph

29 Commits (2a2a0828c8be75c51ad12f2f070704d9902fc879)

Author SHA1 Message Date
Dobrica Pavlinusic c688e6e20c few more places in which repeat key is useful 12 years ago
Qingping Hou c350f5af87 add: hint message for inputbox
use hint message to indicate current page
in goto page feature.
12 years ago
Qingping Hou 3306346dba use debug to print debug info 12 years ago
traycold 02dd9b023f Merge remote branch 'hwhw/master'
* 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
12 years ago
traycold 0350822ade remove some trailing white spaces 12 years ago
Qingping Hou db1b2cd01a fix: add back KEY_FW{LEFT,RIGHT} commands to NumInputBox 12 years ago
Dobrica Pavlinusic ffa663d37d added few more keys to inputbox 12 years ago
HW 57d769e0ae added wrapper function for input.waitForEvent that retries on EINTR 12 years ago
Qingping Hou 485dda2a0f fix: bugs in inputbox.lua
* one typo
* clear ret_code on exit
* add init() method
12 years ago
Qingping Hou 95998a7397 add: NumInputBox class for goto page feature 12 years ago
HW ec2eda0c05 switched font handling to only work with external fonts
now you can use a environment variable, FONTDIR, to point
to a font dir. Otherwise, "./fonts" is used by default.
Subdirectories are indexed.
12 years ago
Qingping Hou ff60a41604 mod: rewrite inputbox with commands 12 years ago
Qingping Hou 7c81f60a58 rewrite highlight again :( finished the cursor part 12 years ago
Qingping Hou 44d7d6cd29 fix: handle -1 index when deleting characters in inputbox 12 years ago
Qingping Hou 46de106e8a fix: clear input_text before input result return 12 years ago
Qingping Hou 9eff3e3224 mod: delete debug lines in inputbox.lua 12 years ago
Qingping Hou 709a9003d2 fix: handle default text in inputbox 12 years ago
Qingping Hou 7b0f2ad815 mod: cursor finished, add to inputbox 12 years ago
Qingping Hou a231b944c1 add: first demo of cursor support 12 years ago
Qingping Hou b7c04ada1a mod: clean up in inputbox.lua 12 years ago
Qingping Hou 6614bbe33d mod: handle shift and alt key events in adjustKeyEvents() 12 years ago
Qingping Hou 53d4016c64 fix: move shiftmode and altmode to global
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.
12 years ago
Qingping Hou b33720a567 mod: change shortcut for jumpstack & fix: inputbox 12 years ago
Qingping Hou 91dd1a13c8 mod: add number keys in inputbox 12 years ago
Qingping Hou 417ef640a7 Merge branch 'rotate'
Conflicts:
	filechooser.lua

* merge rotate branch with search branch
* fix font display bug in font menu

not fully tested the new rotation implemention yet.
12 years ago
Qingping Hou 060ad5cb01 finished search feature! 12 years ago
Qingping Hou 32d1bede8c start working on filesearcher 12 years ago
Qingping Hou 29a9996fb2 mod: inputbox finished 12 years ago
Qingping Hou 8fdb0a4c3e add: demo for inputbox 12 years ago