summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-06gl: Use upper control characters for special keys.Tor Andersson
2015-10-06gl: Split text field handling into separate file and add keyboard focus.Tor Andersson
2015-10-06gl: Handle keyboard events in main loop.Tor Andersson
Also fix event loop and refreshing the display at the correct times.
2015-10-06gl: Don't require ARB_texture_non_power_of_two extension.Tor Andersson
2015-10-06gl: Add an internal header file for GL application.Tor Andersson
2015-10-06gl: Remove unneeded fz_malloc return value test.Tor Andersson
2015-10-06gl: Remove unneeded printf message.Tor Andersson
2015-10-06gl: Rename some variables for clarity.Tor Andersson
2015-10-06gl: Fix MSVC warnings.Tor Andersson
2015-10-06gl: Fix event/display loop.Tor Andersson
Now should behave more like the old glutPostRedisplay code did.
2015-10-06gl: Don't zero 'number' on all keypresses.Tor Andersson
Bug casued by difference between GLUT and GLFW event interfaces.
2015-10-06gl: Use GLFW instead of GLUT.Tor Andersson
Add OpenGL text rendering using textured quads, instead of using glut bitmap fonts.
2015-10-06gl: Add GLFW thirdparty submodule.Tor Andersson
2015-10-06glut: Select rectangle with right mouse and extract text.Tor Andersson
2015-10-06glut: Fix potential buffer overflow in text field.Tor Andersson
2015-10-06glut: Mouse select text in text fields.Tor Andersson
2015-10-06glut: Tweak search input field layout.Tor Andersson
2015-10-06glut: Search in 200ms increments and let 'esc' abort search.Tor Andersson
2015-10-06glut: Add text field for search.Tor Andersson
2015-10-06glut: Change background to neutral gray. Add shrinkwrap function.Tor Andersson
2015-10-06glut: Show page number and file name in window title bar.Tor Andersson
2015-10-06glut: Implement proper scrollbar behavior with paging and thumb scrubbing.Tor Andersson
2015-10-06glut: Use middle button to scroll outline view.Tor Andersson
Conflicts: platform/glut/glut-main.c
2015-10-06glut: Add forward history navigation key, and improve history behavior.Tor Andersson
Jumping to a page will put the destination page in the history, so that after reading a few pages, 't' will return to the point where the original jump landed. The forward key ('T', or shift-T) key will return to the page before 't' was pressed. Conflicts: platform/glut/glut-main.c
2015-10-06glut: Fit W, H, and Z to canvas size instead of window size.Tor Andersson
2015-10-06glut: Add navigation history and numbered bookmarks.Tor Andersson
<N>m to save a bookmark. <N>t to return to a bookmark. 'm' to save the current page in the navigation stack. 't' to return to the previous navigation point. Hyperlinks, <N>g, and <N>t will automatically save the current page in the navigation stack before jumping to the new page. Conflicts: platform/glut/glut-main.c
2015-10-06glut: Implement "smart move" scrolling with space and b keys.Tor Andersson
2015-10-06glut: Middle-mouse pan zoomed in page view.Tor Andersson
2015-10-06glut: Scroll zoomed in page view with arrow keys.Tor Andersson
2015-10-06glut: Links with mouseover highlighting.Tor Andersson
Conflicts: platform/glut/glut-main.c
2015-10-06glut: Center page on canvas.Tor Andersson
Conflicts: platform/glut/glut-main.c
2015-10-06glut: Simple scrollbar and outline tree view.Tor Andersson
2015-10-06glut: Add fullscreen toggle (f).Tor Andersson
2015-10-06glut: Add autozoom (W,H,Z) and reset zoom (z) with optional argument.Tor Andersson
2015-10-06glut: Use explicit list of zoom levels.Tor Andersson
2015-10-06glut: Simple viewer using GLUT and fixed function OpenGL.Tor Andersson
2015-10-06Update MuJS submodule with setjmp changes.Tor Andersson
2015-10-06xps: Add separate link parsing step.Tor Andersson
Don't rely on having to run the page once with an identity transform before being able to load the links.
2015-10-06xps: Make guts of path and text parsing publically visible.Tor Andersson
For use in a later link parsing refactoring commit.
2015-10-06xps: Simplify transform attribute/tag parsing.Tor Andersson
2015-10-06Never squish a substitute font to zero width, in case of broken font metrics.Tor Andersson
2015-10-05Use FT_Get_Advance in glyph width scaling calculations.Tor Andersson
2015-10-02Don't stretch CJK substitute fonts.Tor Andersson
2015-10-02Fix 696148: Always create a glyph width table.Tor Andersson
Respect default widths when creating the glyph width table.
2015-10-02Bug 696131: Detect some overflow conditionsRobin Watts
When lexing a number, do NOT check for overflow. This causes loss of data in some files. The current implementation matches Acrobat. When lexing a startxref offset, check for overflow. If found, throw an error.
2015-10-02Bug 696058: Up maximum zoom resolution to 1152.Robin Watts
It is conceivable that this might run into problems on 32bit builds with suitably large bitmaps, but, hey, don't zoom that far.
2015-10-02Bug 696078: Improve box handling in poster tool.Robin Watts
The poster tool worked by rewriting the mediabox, but left the other boxes (crop, bleed, trim, art) unchanged. This could cause problems with viewers that didn't intersect such boxes. This update makes the poster tool write intersected boxes for all boxes.
2015-10-02Bug 696129: Be more forgiving of broken files.Robin Watts
The PDF spec says that old format xrefs should start with: xref\n<start> <len> The example file in question has: xref <start> <len> which confuses our parsing code. Update the parse code to avoid using fz_read_line, and to instead work on a char level. Also, downgrade the error given when the first object is not free to be a warning. Now we do 'just in time' repair, we are probably better able to cope.
2015-10-02Bug 696117: Add NaCl cross compile rules.Robin Watts
Add NaCl cross compile rules to Makerules (together with a tiny header tweak). Thanks to Robert Bamler for the rules to include.
2015-10-02epub: Parse NCX table of contents.Tor Andersson