summaryrefslogtreecommitdiff
path: root/platform
AgeCommit message (Collapse)Author
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-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-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-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-09-29Android JNI code: Whitespace fixesRobin Watts
2015-09-29Support for proofingfredrossperry
- use core.fileFormat to decide whether a proof file is being viewed, - don't show the proofing button except for PDF files. - in a proofing activity, show the page that was being viewed when the proof was requested. - Add extra two arguments to fz_write_gproof_file in the Android build.
2015-09-29Android: Changes to improve handling out-of-memory errors.fredrossperry
Probably related to bug 695507.
2015-09-29Added build.gradle file for use with Android Studiofredrossperry
2015-09-28Bug 696169: Fix MINGW build of MuPDF.Robin Watts
Include pdfapp.h after the UNICODE defines to ensure that the correct version of the Windows string functions are used. Thanks to Tamir Evan for this workaround.
2015-09-28Workaround for VS2005 linker bug.Robin Watts
Disable the use of link time code creation. I don't believe this costs us much (if anything) and it avoids VS2005 dying on release builds due to a bug triggered by the use of 64bit fz_off_t.
2015-09-15epub: Add -U option to usage message for x11/win32 viewer.Tor Andersson
2015-09-14Add utility functions to help reduce device creation boilerplate.Tor Andersson
2015-08-24Revert revert of WinMain utf-8 handling and fix the bugs.Tor Andersson
Also fix a few ifdefs in time.c so that it builds on MinGW.
2015-08-21GProof: Return Android style RGB color values from the JNI.Robin Watts
Android wants colors to be BGRA, not RGBA, so accomodate this.
2015-08-21GProof: Fix Android JNI functions for multipage files.Robin Watts
Explicitly pass the page number into separation related functions.
2015-08-20Remove duplicate inclusions of headers.Sebastian Rasmussen
These headers are already included by mupdf/fitz/system.h.
2015-08-17Revert "win32: Convert argv to utf-8 and use regular getopt."Robin Watts
Neatness doesn't override actually working. This reverts commit efb5a38ca0bac3537ceaf3383681a518df133143.
2015-08-17Add JNI interface to MuPDFCore to read/write separations on a page.Robin Watts
Get separation information out to the Java level.
2015-07-31win32: Convert argv to utf-8 and use regular getopt.Tor Andersson
Easier than duplicating getopt for wchar_t, since we already have windows specific functions to convert wchar_t strings.