Permalink
Switch branches/tags
Nothing to show
Commits on Apr 16, 2012
  1. fix modifier for zoom in

    dpavlin committed Apr 16, 2012
Commits on Apr 15, 2012
  1. Merge remote branch 'hwhw/master'

    traycold
    traycold committed Apr 15, 2012
    * 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
  2. refactoring for display help page

    traycold
    traycold committed Apr 15, 2012
  3. remove some trailing white spaces

    traycold
    traycold committed Apr 15, 2012
  4. Merge branch 'txt'

    traycold
    traycold committed Apr 15, 2012
    * txt:
      use font metric to better display help page (to exted to other pages in future)
      draft commit, test implementation
  5. Merge pull request #116 from houqp/master

    dpavlin committed Apr 15, 2012
    Use InfoMessage for better user experience
  6. add resource: info icon

    hwhw committed Apr 15, 2012
Commits on Apr 14, 2012
  1. Added widget abstraction framework

    hwhw committed Apr 14, 2012
    An example for using it:
    
    --snip
    require "widget"
    require "font"
    
    fb = einkfb.open("/dev/fb0")
    G_width, G_height = fb:getSize()
    
    dialog = CenterContainer:new({
            dimen = { w = G_width, h = G_height },
            VerticalGroup:new({
                    align = "center",
                    FrameContainer:new({
                            CenterContainer:new({
                                    dimen = { w = 400, h = 200 },
                                    TextWidget:new({
                                            text = "Hi there! jgVJV",
                                            face = Font:getFace("cfont", 30)
                                    })
                            })
                    }),
                    ImageWidget:new({
                            file = "test.png"
                    }),
                    FrameContainer:new({
                            CenterContainer:new({
                                    dimen = { w = 300, h = 200 },
                                    TextWidget:new({
                                            text = "another box",
                                            face = Font:getFace("cfont", 30)
                                    })
                            })
                    })
            })
    })
    
    dialog:paintTo(fb.bb, 0, 0)
    
    fb:refresh(0)
    
    input.waitForEvent()
    --snip
  2. added interface to get blitbuffers from JPEG/PNG files

    hwhw committed Apr 14, 2012
    this is supposed to help us in the UI code.
  3. fix typo

    hwhw committed Apr 14, 2012
  4. Merge pull request #111 from dpavlin/master

    houqp committed Apr 14, 2012
    added reading of pan_margin settings
  5. add: sleep and usleep in util module

    houqp committed Apr 14, 2012
    Now using it in commands.lua
Commits on Apr 13, 2012
  1. kill our own child process. not quite finished.

    hwhw committed Apr 13, 2012
    we can now kill and wait for the slider watcher subprocess that we spawned.
    However, it will have a subprocess itself, the lipc-wait-event process.
    That one currently stays alive until it finally sends something.
  2. Merge pull request #110 from dpavlin/master

    hwhw committed Apr 13, 2012
    few more cleanups before release
  3. added line spacing setting for crereader

    hwhw committed Apr 13, 2012
    this patch also introduces an interface for setFontSize and setStyleSheet.
    Hopefully, we can use the latter to send customized CSS to CREngine
    as Lua strings. This functionality is however untested for now.
  4. remove page:getPageText debug dump to improve performance on device

    dpavlin committed Apr 13, 2012
    And leave it in unireader if we can't find text on page
  5. display crash.log on error

    dpavlin committed Apr 13, 2012