1. 29 Feb, 2016 12 commits
  2. 28 Feb, 2016 10 commits
  3. 27 Feb, 2016 2 commits
    • Alexander Kuleshov's avatar
      Support switching to hexl-mode from image-mode · c483d053
      Alexander Kuleshov authored
      * lisp/image-mode.el (image-toggle-hex-display)
      (image-mode-to-text): New functions.
      (image-mode-map, image-minor-mode-map): Bind "C-c C-x" to
      (image-mode-map): New menu item "Show as Hex".
      (image-mode): Update doc string and echo-area message.
      (image-toggle-display): Support toggle to hex.  (Bug#22453)
      * doc/emacs/files.texi (File Conveniences): Document
    • Eli Zaretskii's avatar
      Remove unused code in coding.c · 2fa05dcd
      Eli Zaretskii authored
      * src/coding.c (decode_eol): Remove unused code that handled the
      case of coding->dst_object being nil.  Replace it with an
  4. 26 Feb, 2016 9 commits
    • Aurelien Aptel's avatar
      * src/syntax.c: Fix result of syntax_multibyte() · 10a364d6
      Aurelien Aptel authored
      The ?: operator has a lower precedence than ||.
      Bug introduced by commit 45b683a1.
    • Paul Eggert's avatar
      --enable-gcc-warnings now uses -Wjump-misses-init · e35f99f2
      Paul Eggert authored
      When configuring with --enable-gcc-warnings, also enable
      -Wjump-misses-init, as it’s confusing to use a goto to skip over
      an initialization.  Fix the few places in the code that run afoul
      of this warning.
      * configure.ac (WERROR_CFLAGS): Add -Wjump-misses-init.
      * src/doc.c (Fsubstitute_command_keys):
      * src/image.c (svg_load_image):
      * src/regex.c (re_match_2_internal):
      * src/xdisp.c (redisplay_internal, redisplay_window):
      Don’t jump over initialization.
    • Phillip Lord's avatar
      ; Improve documentation in test Makefile · 9583b9e8
      Phillip Lord authored
      * test/Makefile.in: Improve documentation.
    • Jussi Lahdenniemi's avatar
      Improve the register-hotkey functionality on MS-Windows · 97d7a0b8
      Jussi Lahdenniemi authored
      * src/w32fns.c (_WIN32_WINNT): Define to 0x0600, needed for
      keyboard hook functionality.
      Include w32inevt.h, basetyps.h and unknwn.h.
      (kbdhook): A new struct definition.
      (funhook, setup_w32_kbdhook, remove_w32_kbdhook, hook_w32_key)
      (check_w32_winkey_state, reset_w32_kbdhook_state): New functions.
      (modifier_set): Call check_w32_winkey_state if a Win key was
      pressed and the keyboard hook is active.
      (w32_wnd_proc): Don't handle Win key combinations if the keyboard
      hook is active.  Only register/unregister the hotkeys if the
      keyboard hook is not active.  When WM_CREATE is received, call
      setup_w32_kbdhook.  When WM_DESTROY is received, call
      (lookup_vk_code): When the keyboard hook is active, map
      alphanumeric characters to themselves.
      (w32_parse_and_hook_hot_key): Renamed from w32_parse_hot_key.  Map
      modified keys to VK_ANY if the keyboard hook is active.  Register
      Alt-x and Win-x combinations.
      (Fw32_shell_execute): Update doc string to reflect new
      functionality.  Bypass the code that posts the
      WM_EMACS_REGISTER_HOT_KEY message if the keyboard hook is active.
      (Fw32_unregister_hot_key): Bypass the code that posts the
      WM_EMACS_UNREGISTER_HOT_KEY message if the keyboard hook is active.
      (syms_of_w32fns) <w32-pass-lwindow-to-system>
      <w32-pass-rwindow-to-system, w32-phantom-key-code>
      <w32-lwindow-modifier, w32-rwindow-modifier>: Update doc strings
      to reflect the new functionality.
      * src/w32console.c (initialize_w32_display): Install the low-level
      keyboard hook.
      * src/w32inevt.c (key_event): Handle Win-x combinations only if
      the keyboard hook is not active.  If the hook is active, use
      check_w32_winkey_state instead.
      * src/w32term.h (setup_w32_kbdhook, remove_w32_kbdhook)
      (check_w32_winkey_state): Add prototypes.
      (w32_kbdhook_active): New macro.
      * doc/emacs/msdos.texi (Windows Keyboard): Update to reflect the
      new functionality.
    • Aaron S. Hawley's avatar
      Add forward-sexp (and related) tests · 22994735
      Aaron S. Hawley authored
      * test/lisp/emacs-lisp/lisp-tests.el: New file for testing
      forward-sexp and related functions (bug#22800).
    • Jan Tatarik's avatar
      Don't use (localised) week days in dates · 10b04081
      Jan Tatarik authored
      * lisp/gnus/gnus-icalendar.el
      (gnus-icalendar-event:org-timestamp): Don't use (localised)
      week days in the dates, because that messes up things later.
    • Thierry Volpiatto's avatar
      Update pcomplete/find · eea55f4f
      Thierry Volpiatto authored
      * lisp/pcmpl-gnu.el (pcomplete/find): Update to newest version
    • Lars Ingebrigtsen's avatar
      Make parse-time-string-chars more efficient · 4861b50e
      Lars Ingebrigtsen authored
      * lisp/calendar/parse-time.el (parse-time-string-chars): The
      string has already been downcase, so don't care about case
    • Lars Ingebrigtsen's avatar
      Remove killed buffers from the list of Gnus buffers · a1e7304f
      Lars Ingebrigtsen authored
      * lisp/gnus/gnus.el (gnus-prune-buffers): Remove killed
      buffers from the list of Gnus buffers (bug#18522).
  5. 25 Feb, 2016 6 commits
    • Paul Eggert's avatar
      Integer overflow cleanups for ports and socklen · c1415cc9
      Paul Eggert authored
      * src/process.c (struct sockaddr_and_len, conv_sockaddr_to_lisp)
      (get_lisp_to_sockaddr_size, Fset_process_datagram_address)
      Use ptrdiff_t, not int, for signed object sizes.
      This addresses only a theoretical problem, as in practice these
      object sizes are less than 2**31, but we might as well use the
      same style here as elsewhere in Emacs.
      (string_integer_p): Remove; all uses removed.
      (Fmake_network_process): Check that port number is in range.
      When converting an integer-string service, rely on strtol
      rather than rechecking the string by hand.
      * src/process.h, src/w32.c (conv_sockaddr_to_lisp):
      Adjust prototypes to match.
    • Thierry Volpiatto's avatar
      Add pcomplete support for find · e65d4d3a
      Thierry Volpiatto authored
      * lisp/pcmpl-gnu.el (pcomplete/find): Add pcomplete support
      for find (bug#10487).
    • Per Starbäck's avatar
      Replace XXX acronyms with draft standard ones · fecd5e58
      Per Starbäck authored
      * lisp/international/characters.el (c1-acronyms): Replace XXX
      entries with the acronyms PAD, HOP, SGCI from draft DIS 10646
    • Kevin Ryde's avatar
      Make checkdoc warn about variables described as "True" · 80c4cfa9
      Kevin Ryde authored
      * checkdoc.el (checkdoc-this-string-valid-engine): Docstrings for
      variables "True...", and functions "Return true...", should usually be
      "non-nil" (bug#15506).
    • Lars Ingebrigtsen's avatar
    • Lars Ingebrigtsen's avatar
      Allow using "number strings" as services on non-GNU systems · e7650ba6
      Lars Ingebrigtsen authored
      * src/process.c (string_integer_p): New function.
      (Fmake_network_process): Use it to allow connecting to
      services specified as "993" even when getaddrbyname isn't
  6. 24 Feb, 2016 1 commit
    • Michael Albinus's avatar
      Fix problem in tramp.texi · ce6a03cb
      Michael Albinus authored
      * doc/misc/tramp.texi (File name completion): Do not use
      @trampfn{} for IPv6 addresses.  Somehow, it results in errors
      during PDF creation.