summaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Collapse)Author
2015-04-12Streamline PPM writing.Andreas Politz
* server/epdfinfo.c (image_write): Use a buffer for writing.
2015-04-07Remove unnecessary path check.Andreas Politz
* server/epdfinfo.c (cmd_open): g_filename_to_uri already checks for absolutity.
2015-04-01Removed sneaked in commands from other branch.Andreas Politz
* server/epdfinfo.c: Remove get- and setoptions
2015-04-01CosmeticsAndreas Politz
2015-04-01Use a macro for declaring commands.Andreas Politz
* server/epdfinfo.h (DEC_CMD, DEC_CMD2): New macros. * server/epdfinfo.c (commands): Use macros.
2015-04-01Summary: Removed unused argument type.Andreas Politz
* server/epdfinfo.c (command_arg_parse_arg): Remove ARG_QUADRILATERAL. * server/epdfinfo.h (command_arg_type_t): Dito.
2015-04-01Improved command handling, cont'dAndreas Politz
* server/epdfinfo.h (DEC_CMD, DEC_CMD2, DEC_DOPT): Macros for declaring commands and options. * server/epdfinfo.c (command_arg_parse_arg): Removed unused ARG_QUADRILATERAL. (command_arg_print, command_arg_type_size): New function. (document_options): New array holding document options. (cmd_getoptions, cmd_setoptions): Use above array. (commands): Use Macros. * lisp/pdf-info.el (pdf-info-query--transform-response): setoptions: Return new options.
2015-04-01Improved command handling.Andreas Politz
* server/epdfinfo.h (DEC_CMD, DEC_CMD2, DEC_DOPT): Macros for declaring commands and options. * server/epdfinfo.c (command_arg_parse_arg): Removed unused ARG_QUADRILATERAL. (command_arg_print, command_arg_type_size): New function. (document_options): New array holding document options. (cmd_getoptions, cmd_setoptions): Use above array. (commands): Use Macros.
2015-03-31Started options branch.Andreas Politz
* server/epdfinfo.h : Add option structs. * server/epdfinfo.c (image_render_page): Use struct as argument. (cmd_getoptions, cmd_setoptions): New commands. * lisp/pdf-info.el (pdf-info-query--transform-response, pdf-info-getoptions, pdf-info-setoptions): Handle new commands.
2015-03-30Added PCRE support.Andreas Politz
* lisp/pdf-info.el (pdf-info-query--transform-response): Put match face properties on the matched text of the line. (pdf-info-search-string): The returned line now contains face properties on the matched part. (pdf-info-search-regexp): This function now searches for PCRE, and as such the calling convention has changed to support the various flags of the underlying engine. (pdf-info-regexp-compile-flags, pdf-info-regexp-match-flags): List of regexp flags. * server/epdfinfo.c: (cmd_search_regexp): Use complex numeric flags of the new engine instead of the old boolean ones. Now returns both the matched text and it's corresponding line. (cmd_search_string): Return both as well. (cmd_regexp_flags): New command returning regexp flags and their values. * lisp/pdf-util.el (pdf-util-highlight-regexp-in-string): New function for propertizing a string. (pdf-util-edges-union): Added minor optimization.
2015-03-23Added compile check for CYGWIN, part 2Andreas Politz
* server/epdfinfo.c: Don't include poppler Error.h when compiling for * cygwin. (There may be a better fix, i.e change the include path priorities?) server/epdfinfo.h: Dito
2015-03-23Added compile check for CYGWINAndreas Politz
* server/epdfinfo.c: Don't include poppler Error.h when compiling for * cygwin. (There may be a better fix, i.e change the include path priorities?) server/epdfinfo.h: Dito
2015-03-09Handle empty annotation regions.Andreas Politz
* server/epdfinfo.c (region_print): Print a zero sized region at 0,0.
2015-03-03Add .clang_complete .v0.50Andreas Politz
2015-02-18Open error log in append mode.Andreas Politz
* server/epdfinfo.c (main): Use `a'.
2015-02-13Treat compiler warnings.Andreas Politz
* server/poppler-hack.cc (poppler_annot_markup_get_type): Remove unused variable. * server/epdfinfo.c (cmd_charlayout): Use proper type. (main): Initialize variable.
2015-02-13Enable all warnings.Andreas Politz
* server/Makefile.am (epdfinfo_CFLAGS): Add -Wall flag.
2015-02-12Added charlayout command.Andreas Politz
* server/epdfinfo.c (cmd_charlayout): Provides edges of character. * lisp/pdf-info.el (pdf-info-query--transform-response): Added transform. (pdf-info-charlayout): Added interface for the command.
2015-02-12Some cleanup.Andreas Politz
* server/epdfinfo.c:
2015-02-12Fixed a NULL pointer bug.Andreas Politz
* server/epdfinfo.c (): Initialize rectangles.
2015-02-12Improved highlighting.Andreas Politz
* server/epdfinfo.c (cmd_renderpage_highlight): Properly handle the arguments. * lisp/pdf-info.el (pdf-info-renderpage-highlight): Likewise. * lisp/pdf-annot.el (pdf-annot-show-annotation): Use slightly better looking colors.
2015-02-08Merge pull request #44 from gvol/masterpolitza
Fix compilation on OS X
2015-02-07Move error to headerIvan Andrus
2015-02-07Make error actually work correctly instead of compileAndreas Politz
2015-02-06Ignore build files.Andreas Politz
2015-02-06Fix compilation on OS XIvan Andrus
2015-02-05Added potentially required automake macro.Andreas Politz
* server/configure.ac: Use AM_PROG_CC_C_O, which is required for automake < 1.14, when using per-target flags.
2015-02-05Fixed a bug.Andreas Politz
* server/epdfinfo.c (cmd_gettext): Use correct args index.
2015-02-04Fix bugs.Andreas Politz
* server/epdfinfo.c (command_arg_split): Alloc space for the 0. (cmd_getselection): Use correct index.
2015-02-04Fixed a bug regarding pagelinks.Andreas Politz
* server/epdfinfo.c (cmd_pagelinks): Don't print the edges, if the action is not handled, which would result in a invalid response.
2015-02-02Use silent make rules.Andreas Politz
* server/configure.ac: Added silent-rules option. * lisp/pdf-tools.el (pdf-tools--melpa-build-server): Use V=0 flag.
2015-01-23Add melpa install code.Andreas Politz
* lisp/pdf-tools.el: (pdf-tools--melpa-build-server): Function for building the server. (pdf-tools-install): Offer to build the server. * Makefile (PACKAGE_VERSION): Hard-code duplicate version here (mh). * server/configure.ac: Dito (grh).
2015-01-21Updated .gitignore.Andreas Politz
* server/.gitignore: Add ar-lib.
2015-01-21Check for ar and don't check for EMACS.Andreas Politz
* server/configure.ac:
2015-01-21Shut up make.Andreas Politz
* server/configure.ac: Add -s flag.
2015-01-21Changed built system.Andreas Politz
* test/run-tests.el (file-name-directory): Run tests on the installed package. * server/configure.ac: Get the version from the toplevel Makefile. * README.org: Adjust installation instructions. * Makefile: Don't require cask anymore. * Cask: Adjust dependencies. * .gitignore: Add package files.
2015-01-15Bumped version.Andreas Politz
* server/configure.ac:
2015-01-15Deleted --install-deps option.Andreas Politz
2015-01-14Added .gitignore.Andreas Politz
2015-01-14Made epdfinfo build-system stand alone.Andreas Politz
* server/configure.ac: Change packagename and adopt config-files * server/Makefile.am: Make distclean git-clean.
2015-01-14Moved files.Andreas Politz
2015-01-14Moved src -> server.Andreas Politz