1. 17 Sep, 2019 1 commit
    • Eli Zaretskii's avatar
      Improve font lookup on MS-Windows · 8054935c
      Eli Zaretskii authored
      * src/w32font.c (struct font_callback_data): New member
      (w32font_list_internal, w32font_match_internal): Set up
      match_data.known_fonts if the font spec includes :script that
      names one of the non-USB scripts.
      (add_font_entity_to_list): If font_matches_spec returns zero
      for a font, and we have some fonts in match_data->known_fonts,
      consider the font to be a match if it is named in known_fonts.
      (font_supported_scripts): Update the Unicode Subranges.  In
      particular, map bit 74 to 'burmese', as this is the name Emacs
      uses, not 'myanmar'.  Add a list of scripts that have no USBs
      defined for them.
      (syms_of_w32font) <Qburmese, Qcuneiform_numbers_and_punctuation>
      <Qaegean_number, Qw32_non_USB_fonts>: New symbols.
      * lisp/term/w32-win.el (w32-no-usb-subranges): New defconst.
      (w32--filter-USB-scripts, w32-find-non-USB-fonts): New functions.
      (w32-non-USB-fonts): New defvar.
      * lisp/international/fontset.el (setup-default-fontset): Add
      more scripts to automatic setup by representative characters.
      * doc/emacs/msdos.texi (Windows Fonts): Document
      'w32-find-non-USB-fonts' and 'w32-non-USB-fonts'.
      * etc/NEWS: Mention 'w32-find-non-USB-fonts' and
  2. 11 Jul, 2019 1 commit
    • Eli Zaretskii's avatar
      Resurrect SVG support on MS-Windows · 60fc771a
      Eli Zaretskii authored
      * src/image.c (syms_of_image) <Qgio> [HAVE_NTGUI]: New DEFSYM.
      (init_svg_functions) [LIBRSVG_CHECK_VERSION >= 2.32.0]: Load
      g_file_new_for_path and g_memory_input_stream_new_from_data
      from libgio, not from libglib.  (Bug#35548)
      * lisp/term/w32-win.el (dynamic-library-alist): Add the libgio
  3. 06 Jun, 2019 1 commit
  4. 01 Jan, 2019 1 commit
  5. 26 Feb, 2018 1 commit
  6. 01 Jan, 2018 1 commit
  7. 12 Dec, 2017 1 commit
    • Glenn Morris's avatar
      Make functions invocation-directory and invocation-name obsolete · 8c5be9cb
      Glenn Morris authored
      * lisp/subr.el (invocation-directory, invocation-name):
      Mark the function versions as obsolete.  (Bug#10476)
      * lisp/startup.el (tty-handle-args):
      * lisp/term/common-win.el (x-handle-xrm-switch, x-handle-name-switch):
      * lisp/term/ns-win.el (top-level):
      * lisp/term/pc-win.el (top-level):
      * lisp/term/w32-win.el (window-system-initialization):
      * lisp/term/x-win.el (top-level, x-handle-parent-id)
      (x-handle-smid, window-system-initialization):
      * test/lisp/htmlfontify-tests.el (htmlfontify-bug25468):
      Use invocation-directory and invocation-name as variables.
  8. 10 Dec, 2017 1 commit
    • Eli Zaretskii's avatar
      Support dynamic loading of libjansson on MS-Windows · 2b8a1b76
      Eli Zaretskii authored
      * src/json.c [WINDOWSNT]: Define fn_* function pointers to jansson
      (json_delete) [WINDOWSNT]: A wrapper around fn_json_delete, needed
      by json_decref.
      (init_json_functions) [WINDOWSNT]: New function.
      (Fjson_serialize, Fjson_insert, Fjson_parse_string)
      (Fjson_parse_buffer) [WINDOWSNT]: Call init_json_functions if
      needed, and record JSON in Vlibrary_cache.
      * src/emacs.c (main): Don't call init_json on WINDOWSNT.
      * src/w32fns.c (syms_of_w32fns): DEFSYM "json".
      * lisp/term/w32-win.el (dynamic-library-alist): Add JSON DLL to
      the list.
      * configure.ac (HAVE_JSON): Empty JSON_LIBS for MinGW.
      * nt/INSTALL.W64:
      * nt/INSTALL: Add information about libjansson.
  9. 14 Sep, 2017 1 commit
    • Eli Zaretskii's avatar
      Support lcms2 in MS-Windows builds · 56ab0c4a
      Eli Zaretskii authored
      * lisp/term/w32-win.el (dynamic-library-alist): Include
      association for the lcms2 library.
      * src/lcms.c [WINDOWSNT]: Include windows.h and w32.h.  Use
      DEF_DLL_FN to define pointers to dynamically loaded lcms2
      (cmsCIE2000DeltaE, cmsCIECAM02Init, cmsCIECAM02Forward)
      (cmsCIECAM02Done): New macros.
      (init_lcms_functions, Flcms2_available_p): New functions.
      (Flcms_cie_de2000, Flcms_cam02_ucs) [WINDOWSNT]: Call
      (syms_of_lcms2): Defsubr lcms2-available-p.
      * src/w32fns.c (syms_of_w32fns): DEFSYM Qlcms2.
      * configure.ac: Include lcms2 in the final report and in
      * nt/INSTALL:
      * nt/INSTALL.W64: Update with the information about lcms2 library.
  10. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
  11. 29 Jun, 2017 1 commit
    • Noam Postavsky's avatar
      Escape NUL bytes in X selections (Bug#6991) · c87c87fc
      Noam Postavsky authored
      * lisp/term/w32-win.el (w32--set-selection):
      * lisp/select.el (xselect--encode-string): Replace NUL bytes with
      * doc/emacs/killing.texi: Document new behavior.
      * etc/NEWS (times): Announce it.
  12. 01 Jan, 2017 1 commit
  13. 01 Nov, 2016 1 commit
  14. 06 Oct, 2016 1 commit
    • Eli Zaretskii's avatar
      Improve documentation of 'menu-bar-open' · c4a5e7e1
      Eli Zaretskii authored
      * lisp/term/w32-win.el (w32-menu-bar-open): Clarify that sometimes
      two ESC keypresses are needed to exit the menu.
      * doc/emacs/screen.texi (Menu Bar): Qualify the description of how
      to exit menus.  (Bug#24596)
  15. 16 Feb, 2016 1 commit
    • Glenn Morris's avatar
      Provide 'term/name in lisp/term files. · d5e82792
      Glenn Morris authored
      * lisp/term/AT386.el, lisp/term/bobcat.el, lisp/term/cygwin.el:
      * lisp/term/internal.el, lisp/term/iris-ansi.el, lisp/term/linux.el:
      * lisp/term/lk201.el, lisp/term/news.el, lisp/term/ns-win.el:
      * lisp/term/pc-win.el, lisp/term/rxvt.el, lisp/term/screen.el:
      * lisp/term/sun.el, lisp/term/tty-colors.el, lisp/term/tvi970.el:
      * lisp/term/vt100.el, lisp/term/vt200.el, lisp/term/w32-win.el:
      * lisp/term/w32console.el, lisp/term/wyse50.el, lisp/term/x-win.el:
      For consistency, provide 'term/name in all files that don't already.
  16. 01 Jan, 2016 1 commit
  17. 29 Oct, 2015 1 commit
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/cl-generic.el: Add (major-mode MODE) context · 84dcdbeb
      Stefan Monnier authored
      (cl--generic-derived-specializers): New function.
      (cl--generic-derived-generalizer): New generalizer.
      (cl-generic-generalizers): New specializer (derived-mode MODE).
      (cl--generic-split-args): Apply the rewriter, if any.
      (cl-generic-define-context-rewriter): New macro.
      (major-mode): Use it to define a new context-rewriter, so we can write
      `(major-mode MODE)' instead of `(major-mode (derived-mode MODE))'.
      * lisp/frame.el (window-system): New context-rewriter so we can write
      `(window-system VAL)' instead of (window-system (eql VAL)).
      (cl--generic-split-args): Apply the rewriter, if any.
      (frame-creation-function): Use the new syntax.
      * lisp/term/x-win.el (window-system-initialization)
      (handle-args-function, frame-creation-function)
      (gui-backend-set-selection, gui-backend-selection-owner-p)
      (gui-backend-selection-exists-p, gui-backend-get-selection):
      * lisp/term/w32-win.el (window-system-initialization)
      (handle-args-function, frame-creation-function)
      (gui-backend-set-selection, gui-backend-get-selection)
      (gui-backend-selection-owner-p, gui-backend-selection-exists-p):
      * lisp/term/pc-win.el (gui-backend-get-selection)
      (gui-backend-selection-exists-p, gui-backend-selection-owner-p)
      (gui-backend-set-selection, window-system-initialization)
      (frame-creation-function, handle-args-function):
      * lisp/term/ns-win.el (window-system-initialization)
      (handle-args-function, frame-creation-function)
      (gui-backend-set-selection, gui-backend-selection-exists-p)
      * lisp/startup.el (handle-args-function):
      * lisp/term/xterm.el (gui-backend-get-selection)
      (gui-backend-set-selection): Use the new syntax.
  18. 23 May, 2015 1 commit
    • Stefan Monnier's avatar
      Replace gui-method macros with cl-generic with &context · 919281dd
      Stefan Monnier authored
      * lisp/frame.el (gui-method--name, gui-method, gui-method-define)
      (gui-method-declare, gui-call): Remove.
      (frame-creation-function): Use cl-defgeneric.
      (make-frame): Adjust callers.
      * lisp/menu-bar.el (menu-bar-edit-menu):
      Use gui-backend-selection-exists-p.
      * lisp/select.el (x-get-clipboard): Use gui-backend-get-selection.
      (gui-backend-get-selection): New cl-generic to replace
      gui-get-selection method.
      (gui-backend-set-selection): New cl-generic to replace
      gui-set-selection method.
      (gui-selection-owner-p): New cl-generic to replace
      gui-selection-owner-p method.
      (gui-backend-selection-exists-p): New cl-generic to replace
      gui-selection-exists-p method.  Adjust all callers.
      * lisp/server.el (server-create-window-system-frame): Don't ignore
      window-system spec even when unsupported.
      * lisp/simple.el (deactivate-mark): Use new gui-backend-* functions.
      * lisp/startup.el (handle-args-function, window-system-initialization):
      Use cl-defgeneric.
      (command-line): Adjust calls accordingly.
      * lisp/term/ns-win.el (ns-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/pc-win.el (w16-get-selection-value): Turn into
      a gui-backend-get-selection method.
      (gui-selection-exists-p, gui-selection-owner-p, gui-set-selection):
      Use cl-defmethod on the new functions instead.
      (msdos-window-system-initialization): Turn into
      a window-system-initialization method.
      (frame-creation-function, handle-args-function): Use cl-defmethod.
      * lisp/term/w32-win.el (w32-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/x-win.el (x-window-system-initialization): Turn into
      a window-system-initialization method.
      (handle-args-function, frame-creation-function): Use cl-defmethod.
      (gui-set-selection, gui-selection-owner-p, gui-selection-exists-p)
      (gui-get-selection): Use cl-defmethod on the new functions instead.
      * lisp/term/xterm.el (xterm--set-selection): Turn into
      a gui-backend-set-selection method.
      * src/nsselect.m (Fns_selection_exists_p): Remove unused arg `terminal'.
      (Fns_selection_owner_p): Remove unused arg `terminal'.
      (Fns_get_selection): Remove unused args `time_stamp' and `terminal'.
  19. 11 Apr, 2015 1 commit
    • Chris Zheng's avatar
      Support GnuTLS v3.4 and later on MS-Windows · dc79845a
      Chris Zheng authored
      * src/gnutls.c (syms_of_gnutls) <libgnutls-version>: New DEFSYM.
      * lisp/term/w32-win.el (dynamic-library-alist): Determine which
      GnuTLS DLL to load according to value of libgnutls-version.
      Fixes: bug#20294
      Copyright-paperwork-exempt: yes
  20. 01 Jan, 2015 2 commits
  21. 23 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/select.el: Use lexical-binding. · d361bcfb
      Stefan Monnier authored
      (gui-set-selection): Provide an implementation for non-GUI frames.
      * lisp/term/x-win.el: Use lexical-binding.
      (x-clipboard-yank): Fix up missed renamings.
      * lisp/term/w32-win.el (libgif-version, libjpeg-version): Silence compiler.
      (w32--set-selection): Fix up var names.
      * lisp/term/pc-win.el: Use lexical-binding.
      (w16-selection-exists-p): Silence compiler warning.
      (w16-selection-owner-p): Fix up missed renamings.
      * lisp/emacs-lisp/bytecomp.el (byte-compile-form): Remove left-over debug.
      * lisp/frame.el (frame-notice-user-settings): Fix excessive quoting.
      Fixes: debbugs:18791
  22. 21 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Get rid of backend-dependent selection-handling functions for kill/yank · a046b8dd
      Stefan Monnier authored
      and make it generic instead by relying on the lower-level selection
      management functions.
      * select.el (select-enable-clipboard): Rename from
      (select-enable-primary): Move from x-win.el and rename from
      (gui-last-selected-text): Remove.
      (gui--last-selected-text-clipboard, gui--last-selected-text-primary):
      New vars.
      (gui-select-text): Rewrite, based on x-win.el's old x-select-text.
      (gui-select-text-alist, gui-selection-value-alist): Remove.
      (x-select-request-type): Move from x-win.el.
      (gui--selection-value-internal): New function, taken from x-win's
      (gui-selection-value): Rewrite, based on x-win.el's old x-selection-value.
      (gui-set-selection-alist): Rename from gui-own-selection-alist and
      extend it to handle a nil value as a "disown" request.
      (gui-disown-selection-alist): Remove.
      (xselect-convert-to-delete): Adjust accordingly.
      (gui-set-selection): Simplify accordingly as well.  Use dotimes.
      * lisp/frame.el (gui-method): Use window-system rather than framep.
      (gui-method-declare): The tty case is now nil rather than t.
      (make-frame): Adjust accordingly.
      * lisp/term/x-win.el (x-last-selected-text-primary)
      (x-select-enable-primary): Remove (moved to select.el).
      (x-select-request-type): Move to select.el.
      (x-selection-value-internal, x--selection-value): Remove functions.
      (gui-selection-value, gui-select-text): Remove moethods.
      (gui-set-selection): Merge own and disown methods.
      * lisp/startup.el (command-line): Adjust now that `gui-method' expects nil
      for ttys.
      * lisp/term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard)
      (ns-selection-value): Remove functions.
      (gui-select-text, gui-selection-value): Don't define method any more.
      (gui-set-selection): Merge the old own and disown methods.
      (gui-selection-exists-p, gui-get-selection): Adjust to new name of
      underlying C primitive.
      * lisp/term/pc-win.el (w16-get-selection-value): Add dummy argument and drop
      test of gui-select-enable-clipboard, to make it usable as
      a gui-get-selection method.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      (gui-set-selection): Merge own and disown methods.
      (gui-select-text, gui-selection-value): Delete methods.
      (w16--select-text): Delete function.
      * lisp/term/w32-win.el (w32--select-text, w32--get-selection-value):
      Delete function (move functionality into w32--set-selection and
      (gui-select-text, gui-selection-value): Don't define methods.
      (w32--set-selection, w32--get-selection, w32--selection-owner-p):
      New functions.
      (gui-get-selection, gui-selection-owner-p, gui-selection-exists-p):
      Use them.
      (gui-selection-exists-p): Adjust to new name of C primitive.
      * src/nsselect.m (ns_get_local_selection): Signal error rather than `quit'.
      (Fns_own_selection_internal): Tighten scoping.
      (Fns_selection_exists_p): Rename from Fx_selection_exists_p.
      (Fns_get_selection): Rename from Fx_get_selection_internal.
      (Fns_get_selection_internal, Fns_store_selection_internal):
      Remove functions.
      (syms_of_nsselect): Adjust accordingly.
      * src/w16select.c (Fw16_selection_exists_p): Rename from
      (syms_of_win16select): Adjust accordingly.
      * src/w32select.c (Fw32_selection_exists_p): Rename from
      (syms_of_w32select): Adjust accordingly.
  23. 10 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/select.el (gui-selection-exists-p-alist): New method. · a27cd28f
      Stefan Monnier authored
      * lisp/menu-bar.el (menu-bar-edit-menu, clipboard-yank):
      * lisp/simple.el (deactivate-mark): Use it.
      * lisp/term/x-win.el (gui-selection-exists-p):
      * lisp/term/w32-win.el (gui-selection-exists-p):
      * lisp/term/pc-win.el (gui-selection-exists-p):
      * lisp/term/ns-win.el (gui-selection-exists-p): Provide a backend instance.
  24. 06 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      * lisp/term/w32-win.el: Move all code from 32-common-fns.el here. · 3ef041ae
      Stefan Monnier authored
      (gui-select-text, gui-selection-value): Use w32 handlers in the w32
      console as well.
      * lisp/w32-common-fns.el: Remove.
      * lisp/loadup.el: Don't load w32-common-fns.el.
      * w32-fns.elc: Don't require w32-common-fns.
      * src/lisp.mk (lisp): Remove w32-common-fns.elc.
      Fixes: debbugs:18629
  25. 02 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Consolidate management/ownership of selections. · 31300bee
      Stefan Monnier authored
      * lisp/select.el (gui-get-selection-alist): New method.
      (gui-get-selection): Use it.  Rename from x-get-selection.
      (x-get-selection): Define as obsolete alias.
      (x-get-clipboard): Mark obsolete.
      (gui-get-primary-selection): New function.
      (x-get-selection-value): Mark obsolete.
      (gui-own-selection-alist, gui-disown-selection-alist)
      (gui-selection-owner-p-alist): New methods.
      (gui-set-selection): Use them.  Rename from x-set-selection.
      (x-set-selection): Define as obsolete alias.
      (gui--valid-simple-selection-p): Rename from
      * lisp/w32-common-fns.el (gui-own-selection, gui-disown-selection)
      (gui-selection-owner-p, gui-get-selection): Define for w32.
      (w32-get-selection-value): Rename from x-get-selection-value.
      Use the new gui-last-selected-text.
      * lisp/term/x-win.el (x-get-selection-value): Remove.
      (x-clipboard-yank): Declare obsolete.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for x.
      * lisp/term/w32-win.el (w32-win-suspend-error): Rename from
      * lisp/term/pc-win.el (w16-get-selection-value): Rename from
      (w16-selection-owner-p): Rename from x-selection-owner-p.
      (gui-own-selection, gui-disown-selection, gui-get-selection)
      (gui-selection-owner-p): Define for pc.
      (w16--select-text): New function.
      * lisp/term/ns-win.el (gui-own-selection, gui-disown-selection)
      (gui-get-selection, gui-selection-owner-p): Define for ns.
      * lisp/term.el (term-mouse-paste):
      * lisp/mouse.el (mouse-yank-primary): Use gui-get-primary-selection.
      * src/nsselect.m (ns-own-selection-internal, ns-disown-selection-internal):
      Rename from the "x-" prefix.
  26. 01 Oct, 2014 1 commit
    • Stefan Monnier's avatar
      Consolidate x-select-text. · a8b36b95
      Stefan Monnier authored
      * lisp/frame.el (gui-method, gui-method-define, gui-method-declare)
      (gui-call): New macros.
      (gui-method--name): New function.
      (frame-creation-function-alist): Use gui-method-declare.
      (make-frame): Use gui-method.
      * lisp/select.el (gui-select-enable-clipboard): Rename from
      x-select-enable-clipboard and move here.
      (x-select-enable-clipboard): Define as obsolete alias.
      (gui-last-selected-text): New var, to replace x-last-selected-text.
      (gui-select-text): New GUI method.
      (gui-select-text): New function.
      (x-select-text): Define as obsolete alias.
      * lisp/term/common-win.el (x-select-enable-clipboard, x-select-text):
      Move to select.el.
      * lisp/simple.el (interprogram-cut-function): Change default to
      (interprogram-paste-function): Change default to `ignore'.
      * lisp/w32-common-fns.el (interprogram-cut-function): Don't modify.
      * lisp/term/x-win.el (interprogram-cut-function): Don't modify.
      (gui-select-text): Add method for x.
      * lisp/term/w32-win.el (gui-select-text): Add method for w32.
      * lisp/term/pc-win.el (x-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (msdos-initialize-window-system): Don't set interprogram-cut-function.
      (gui-select-text): Add method for pc.
      * lisp/term/ns-win.el (ns-last-selected-text): Remove, use
      gui-last-selected-text instead.
      (gui-select-text): Add method for ns.
      (x-setup-function-keys): Don't change interprogram-cut-function.
      * lisp/loadup.el ("startup"): Load after "frame".
      * lisp/subr.el (package--builtin-versions, package--description-file):
      Move from startup.el.
      * lisp/startup.el (package--builtin-versions, package--description-file):
      Move to subr.el.
      (handle-args-function-alist, window-system-initialization-alist):
      Use gui-method-declare.
      (command-line): Use gui-method.
      * src/xselect.c (selection-converter-alist): Fix docstring.
  27. 18 Jun, 2014 1 commit
    • Eli Zaretskii's avatar
      Fix bug #17790 with compilation against giflib 5.1.0 and later. · b86b15b2
      Eli Zaretskii authored
       src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
       prototype of DGifCloseFile as appropriate for older and newer
       versions of giflib.
       (gif_close): New function, encapsulates the differences in the
       calling sequence of DGifCloseFile before v5.1.0 and after it.
       (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
       error string where appropriate.
       lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
       and later.
  28. 11 Apr, 2014 1 commit
  29. 01 Jan, 2014 1 commit
  30. 03 Dec, 2013 1 commit
  31. 01 Nov, 2013 3 commits
  32. 10 Oct, 2013 1 commit
    • Eli Zaretskii's avatar
      MS-Windows follow-up to 2013-10-10T01:03:11Z!rgm@gnu.org: support giflib 5.x. · a5dab159
      Eli Zaretskii authored
       src/image.c (GIFLIB_MAJOR): Define to 4 if undefined.
       (GIFLIB_MINOR, GIFLIB_RELEASE): Define to zero if undefined.
       (GifErrorString) [GIFLIB_MAJOR >= 5]: Define a function pointer.
       (gif_load): For giflib v5.x and later, display the error message
       produced by giflib when its functions fail.
       (syms_of_image) <Qlibgif_version> [HAVE_NTGUI]: New DEFSYM.
       lisp/term/w32-win.el (dynamic-library-alist): Define separate lists
       of GIF DLLs for versions before and after 5.0.0 of giflib.
      Fixes: debbugs:15531
  33. 18 Sep, 2013 1 commit
  34. 12 Aug, 2013 1 commit
    • Eli Zaretskii's avatar
      Fix build with zlib on MS-Windows. · 594a4307
      Eli Zaretskii authored
       configure.ac (LIBZ): Comment on w32 peculiarities regarding LIBZ.
       src/decompress.c [WINDOWSNT]: Include windows.h and w32.h.
       (DEF_ZLIB_FN, LOAD_ZLIB_FN) [WINDOWSNT]: New macros.  Use them to
       define static variables that are pointers to zlib functions to be
       dynamically loaded.
       (init_zlib_functions) [WINDOWSNT]: New function.
       (fn_inflateInit2_, fn_inflate, fn_inflateEnd, fn_inflateInit2):
       New macros.
       (Fdecompress_gzipped_region, unwind_decompress): Use the fn_*
       macros instead of invoking the zlib functions directly.
       (syms_of_decompress): DEFSYM Qzlib_dll.  Staticpro
       lisp/term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
  35. 16 Apr, 2013 1 commit
    • Juanma Barranquero's avatar
      Silence byte-compiler warnings. · 51646b62
      Juanma Barranquero authored
      lisp/minibuffer.el (completion--twq-all):
      lisp/term/ns-win.el (ns-initialize-window-system):
      lisp/term/w32-win.el (w32-initialize-window-system): Mark unused argument.
  36. 06 Apr, 2013 1 commit
  37. 01 Jan, 2013 1 commit