summaryrefslogtreecommitdiff
path: root/server
AgeCommit message (Collapse)Author
2017-09-10Add docker tests for the autobuild scriptAndreas Politz
2017-09-10Fix incorrect autobuild return valueAndreas Politz
2017-09-10autobuild in the correct directoryAndreas Politz
2017-09-10Comments and formatting onlyAndreas Politz
2017-09-10Remove local distclean targetAndreas Politz
Use git clean instead.
2017-09-10Adds autobuild scriptAndreas Politz
This script is able to install the server dependencies on a variety of systems.
2017-09-10New release (v0.80)v0.800.80Andreas Politz
2017-09-09Ignore the server/TAGS fileAndreas Politz
2017-09-06Use ansi-stdio when compiling on msys2Andreas Politz
2017-09-05Compile with --std=c++11 if available.Andreas Politz
Recent poppler versions seem to require it, on the other hand llvm c++ defaults to some ancient standard.
2017-08-25Improves error messages for synctex failuresAndreas Politz
2017-08-11Fix trailing whitespaceAndreas Politz
2017-03-17Ignore some more filesAndreas Politz
2017-03-03Reformat c-source macro to not mess up Emacs sexp handlingAndreas Politz
2017-03-01Delete trailing whitespaceAndreas Politz
2016-11-13Compile synctex with libz flagsAndreas Politz
2016-11-11Fix a synctex-backward-search bug not properly escaping filenamesAndreas Politz
2016-02-26Enable building under WindowsLars Ljung
Added some functions missing in Windows. Switch to binary mode on stdin and stdout to avoid line ending issues.
2015-11-12Adds translattion of highlight annotationsv0.70Andreas Politz
2015-07-16Avoid gcc warningAndreas Politz
*server/epdfinfo.c(annotation_print): Make error label conditional.
2015-06-13Drop default error logfile.Andreas Politz
* server/epdfinfo.c (main): Withou args redirect to /dev/null.
2015-06-12Added a noop command to the server.Andreas Politz
* server/epdfinfo.c (cmd_ping): Pong. * lisp/pdf-info.el (pdf-info-ping): Handle it.
2015-06-12Fix :crop-to handling.Andreas Politz
* server/epdfinfo.c (cmd_renderpage): Use the correct transformations.
2015-06-07Unified rendering commands in the server.Andreas Politz
* server/epdfinfo.c (cmd_renderpage): Incorporated cmd_renderpage_x commands into cmd_renderpage. * lisp/pdf-view.el (pdf-view-extract-region-image): Use new rendering capabilities. * lisp/pdf-info.el (pdf-info-renderpage): Adhere to and provide new command protocol. (pdf-info-renderpage-text-regions): Use pdf-info-renderpage. (pdf-info-renderpage-highlight): Use pdf-info-renderpage.
2015-06-06Modified visual highlighting styleAndreas Politz
* server/epdfinfo.c (cmd_renderpage_highlight): Drop the x/y-offsets, otherwise the visuals do not accurately represent the selected region.
2015-06-02Bumped versionAndreas Politz
2015-06-02Make filter function independent of optionsAndreas Politz
* server/epdfinfo.c (image_recolor): Use PopplerColor as argument. Some renaming. (image_render_page): Apply signature difference.
2015-05-31Added recolor feature based on pdf-info-setoptionsoscar
2015-05-14Merge branch 'master' into optionsoscar
Conflicts: lisp/pdf-info.el server/epdfinfo.c server/epdfinfo.h
2015-05-05Added navigation by and display of pagelabels.Andreas Politz
* server/epdfinfo.c: New command pagelabels. * lisp/pdf-view.el (pdf-view-goto-label): New command for going to the page corresponding to it's label. (pdf-view-mode-map): Bind it to `M-g l' . * lisp/pdf-outline.el (pdf-outline-display-labels): New option for displaying labels instead of page numbers. (pdf-outline-insert-outline, pdf-outline-insert-outline, pdf-outline-imenu-create-item, pdf-outline-imenu-create-index-flat, pdf-outline-imenu-create-index-tree, pdf-outline-imenu-create-index-tree-1): Handle it. * lisp/pdf-info.el (pdf-info-pagelabels): New command returning a list of pagelabels. (pdf-info-query--transform-response): Handle it. * NEWS: Add news items.
2015-05-03Corrected configure checkAndreas Politz
* server/configure.ac: Use proper CFLAGS when checking for error.h .
2015-04-22Fix typo.Andreas Politz
2015-04-20Build CompatibilityAndreas Politz
* server/configure.ac: Check for error.h * server/epdfinfo.h: * server/epdfinfo.c: Use result of above check. * server/autogen.sh: Use /bin/sh instead of bash.
2015-04-12Ignore callgrind output.Andreas Politz
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.