1. 06 May, 2017 13 commits
  2. 05 May, 2017 5 commits
  3. 04 May, 2017 11 commits
  4. 03 May, 2017 2 commits
    • Tom Tromey's avatar
      Add color highlighting to css-mode · f0708fc5
      Tom Tromey authored
      Bug#25525
      * lisp/textmodes/css-mode.el (css--color-map): New constant.
      (css-value-class-alist): Use css--color-map.
      (css--number-regexp, css--percent-regexp)
      (css--number-or-percent-regexp, css--angle-regexp): New constants.
      (css--color-skip-blanks, css--rgb-color, css--hsl-color): New
      functions.
      (css--colors-regexp): New constant.
      (css--hex-color, css--named-color, css--compute-color)
      (css--contrasty-color, css--fontify-colors)
      (css--fontify-region): New functions.
      (css-mode): Set font-lock-fontify-region-function.
      (css-mode-syntax-table): Set syntax on more characters.
      (css-fontify-colors): New defcustom.
      (scss-mode-syntax-table): Define syntax for ?$ and ?%.
      * test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
      Update.
      (css-test-rgb-parser, css-test-hsl-parser)
      (css-test-named-color): New tests.
      * etc/NEWS: Add entry.
      f0708fc5
    • Michael Albinus's avatar
      Fix Bug#26763 · a26e33a1
      Michael Albinus authored
      * lisp/files.el (delete-directory): Call file name handler
      with `trash' argument.
      
      * lisp/net/ange-ftp.el (ange-ftp-delete-directory):
      * lisp/net/tramp-sh.el (tramp-sh-handle-delete-directory):
      Add TRASH arg.  Implement it.  (Bug#26763)
      (tramp-get-remote-trash): Check for `delete-by-moving-to-trash'.
      
      * lisp/net/tramp-adb.el (tramp-adb-handle-delete-directory):
      * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory):
      Add _TRASH arg.
      a26e33a1
  5. 02 May, 2017 9 commits
    • Paul Eggert's avatar
      Use ptrdiff_t, not int, for stack sizes · b867eb8e
      Paul Eggert authored
      * src/thread.c (invoke_thread_function):
      * src/xterm.c (x_cr_export_frames):
      Don’t assume SPECPDL_INDEX fits in ‘int’.
      b867eb8e
    • Paul Eggert's avatar
      Check list object type if --enable-gcc-warnings · bc4d6185
      Paul Eggert authored
      * configure.ac (--enable-check-lisp-object-type):
      Default to "yes" if --enable-gcc-warnings is not "no".
      * etc/NEWS: Mention this.
      * src/eval.c (internal_lisp_condition_case): Fix some glitches
      with 'volatile' uncovered by the above: in particular, 'clauses'
      should be a pointer to volatile storage on the stack, and need not
      be volatile itself.  Use an int, not ptrdiff_t, to count clauses.
      Don’t bother gathering binding count if VAR is nil.  Use
      more-specific local names to try to clarify what’s going on.
      bc4d6185
    • Glenn Morris's avatar
      Tweak auth-source-pass.el to avoid run-time subr-x · 47081bf2
      Glenn Morris authored
      * lisp/auth-source-pass.el (auth-source-pass--parse-data):
      Avoid needing subr-x at run-time.
      47081bf2
    • Charles A. Roelli's avatar
      Constrain non-child frames to screen area in OS X · 6e0cac48
      Charles A. Roelli authored
      * src/nsterm.m (constrainFrameRect:toScreen:): Constrain non-child
      frames in OS X, if they would otherwise go offscreen.
      
      Fixes: debbugs:25818
      6e0cac48
    • Michael Albinus's avatar
      Fix error in completion for separate Tramp syntax · b50dda3f
      Michael Albinus authored
      * lisp/net/tramp.el (tramp-completion-file-name-regexp-separate):
      Tweak regexp.
      
      * test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
      Run method and host name completion for all syntaxes.
      b50dda3f
    • Eli Zaretskii's avatar
      Avoid compilation warnings · 5f75304f
      Eli Zaretskii authored
      * src/w32fns.c (Fx_file_dialog, w32_parse_and_hook_hot_key):
      * src/w32term.c (x_draw_glyph_string):
      * src/w32fns.c (compute_tip_xy):
      * src/w32font.c (w32font_text_extents):
      * src/w32menu.c (set_frame_menubar):
      * src/search.c (Freplace_match): Avoid compiler warnings in
      optimized builds.
      5f75304f
    • Paul Eggert's avatar
      Merge from gnulib · 9c2b03fe
      Paul Eggert authored
      This incorporates:
      2017-05-02 utimens: port to Emacs + MS-Windows
      * lib/utimens.c: Copy from gnulib.
      9c2b03fe
    • Gemini Lasswell's avatar
      Fix Edebug specs for 'cl-defmethod' and 'defmethod' · d895f6c1
      Gemini Lasswell authored
      * lisp/emacs-lisp/cl-generic.el (cl-defmethod): Change Edebug spec
      to make Edebug generate a new symbol for each method (Bug#24753) and
      to support a string following :extra (Bug#23995).
      * lisp/emacs-lisp/eieio-compat.el (defmethod): Change Edebug spec to
      make Edebug generate a new symbol for each method (Bug#24753).
      d895f6c1
    • Eli Zaretskii's avatar
      Temporary fix for the MS_Windows build · b7c5af2b
      Eli Zaretskii authored
      * nt/inc/ms-w32.h (WIN32_LEAN_AND_MEAN): Define to an empty value,
      to be consistent with Gnulib's utimens.c.  This is because utimens.c
      unconditionally defines WIN32_LEAN_AND_MEAN to an empty value, so the
      previous definition here conflicted with that.
      b7c5af2b