1. 12 May, 2014 1 commit
  2. 11 May, 2014 1 commit
  3. 10 May, 2014 1 commit
  4. 07 May, 2014 3 commits
  5. 06 May, 2014 3 commits
  6. 05 May, 2014 1 commit
  7. 04 May, 2014 2 commits
    • Paul Eggert's avatar
      Consult libpng-config more consistently. · f8c2cef5
      Paul Eggert authored
      This is mainly for simplicity, but it should also avoid
      some future problems like the ones we recently had with NetBSD.
      * configure.ac (LIBPNG): Configure after LIBZ.  Use libpng-config
      for cflags, too.  Append -lz if we're not already doing that with
      LIBZ.  Do not bother appending -lm, since we always append that.
      Coalesce some duplicate code.
      * src/Makefile.in (PNG_CFLAGS): New var.
      (ALL_CFLAGS): Use it.
      * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
      CFLAGS now handles this.
      
      Fixes: debbugs:17339
      f8c2cef5
    • Paul Eggert's avatar
      Revert recent libpng changes. · 61febcb6
      Paul Eggert authored
      They fix only bugs that aren't being reported, so it may be better
      to do them on the trunk.
      * configure.ac (PNG_CFLAGS): Remove.  All uses removed.
      (LIBPNG): Don't be consistent about -lpng16 versus -lpng.
      Ignore libpng-config's exit status.  Always append -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): Remove; all uses removed.
      * src/image.c [HAVE_LIBPNG_PNG_H]: Include <libpng/png.h>, not <png.h>.
      
      Fixes: debbugs:17339
      61febcb6
  8. 03 May, 2014 2 commits
    • Paul Eggert's avatar
      Handle systems without WCONTINUED consistently. · d355cad6
      Paul Eggert authored
      * lib-src/emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
      * src/process.c (handle_child_signal): Remove WCONTINUED ifdef,
      because WCONTINUED is always defined now.
      * src/syswait.h (WCONTINUED): Move here from ../lib-src/emacsclient.c.
      
      Fixes: debbugs:15110 debbugs:17339
      d355cad6
    • Eli Zaretskii's avatar
      Minor fixes for comments. · 74a9022a
      Eli Zaretskii authored
       src/buffer.c (overlay_strings): Fix the wording of the commentary.
      
       lisp/mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
      74a9022a
  9. 02 May, 2014 1 commit
    • Paul Eggert's avatar
      Consult libpng-config more consistently. · 6f074205
      Paul Eggert authored
      * configure.ac (edit_cflags): Move this up and to the top level,
      so that PNG_CFLAGS can use it too.
      (PNG_CFLAGS): New var.
      (png_longjmp): Use PNG_CFLAGS when checking.
      (LIBPNG): Be consistent about -lpng16 etc; e.g., don't use -lpng16
      in some places and -lpng in others.  Test libpng-config's exit
      status.  If it succeeds, use its output rather than appending -lz -lm.
      * src/Makefile.in (PNG_CFLAGS): New var.
      (ALL_CFLAGS): Use it.
      * src/image.c [HAVE_PNG]: Don't worry about <libpng/png.h>, as
      CFLAGS now handles this.
      
      Fixes: debbugs:17339
      6f074205
  10. 01 May, 2014 3 commits
    • Glenn Morris's avatar
      Doc fixes · d136f184
      Glenn Morris authored
      * doc/misc/autotype.texi (Skeleton Language):
      * doc/misc/message.texi (Header Commands):
      * lisp/allout-widgets.el (allout-widgets-tally)
      (allout-decorate-item-guides):
      * lisp/menu-bar.el (menu-bar-positive-p):
      * lisp/minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
      * lisp/cedet/ede.el (ede-project-directories, ede-check-project-directory):
      * lisp/cedet/semantic/ia-sb.el (semantic-ia-sb-show-doc):
      * lisp/cedet/semantic/tag.el (semantic-tag-in-buffer-p):
      * lisp/cedet/semantic/bovine/c.el (semantic-tag-abstract-p):
      * lisp/gnus/gnus-registry.el (gnus-registry-install-p): Doc fix.
      * lisp/progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
      * lisp/progmodes/js.el (js--inside-param-list-p)
      (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
      * lisp/progmodes/prolog.el (region-exists-p):
      * lisp/progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
      * lisp/textmodes/reftex-parse.el (reftex-using-biblatex-p):
      * lisp/url/url-parse.el (url-generic-parse-url):
      * src/floatfns.c (Fisnan):
      * src/profiler.c (Fprofiler_cpu_running_p):
      Doc fixes (replace `iff').
      
      Fixes: debbugs:17309
      d136f184
    • Eli Zaretskii's avatar
    • Stefan Monnier's avatar
      * src/intervals.c: Tighten assertions. · 23c931aa
      Stefan Monnier authored
      (create_root_interval): Make sure the interval is not empty.
      (intervals_equal): Use booleans.
      (rotate_right, rotate_left): Check LENGTHs rather than TOTAL_LENGTH.
      (balance_an_interval): Sanity check LENGTHs and TOTAL_LENGTHs.
      (balance_possible_root_interval): Simplify and use booleans.
      (split_interval_right, split_interval_left): Check LENGTH, and remove
      now redundant assertion.
      (adjust_intervals_for_insertion): Remove now redundant assertions.
      (delete_node, interval_deletion_adjustment)
      (adjust_intervals_for_deletion, merge_interval_right)
      (merge_interval_left): Check LENGTH rather than TOTAL_LENGTH.
      (reproduce_interval): Make sure the interval is not empty.
      23c931aa
  11. 30 Apr, 2014 1 commit
  12. 29 Apr, 2014 3 commits
  13. 28 Apr, 2014 2 commits
    • Paul Eggert's avatar
      Use bits_word for gcmarkbits. · 9c23779a
      Paul Eggert authored
      * alloc.c (struct cons_block, struct float_block): On 64-bit hosts,
      bits_word is typically a tad more efficient for mark bits than
      unsigned is, so use bits_word.  All uses changed.
      * lisp.h (BITS_PER_INT): Remove; no longer used.
      9c23779a
    • Paul Eggert's avatar
      Avoid undefined behavior in signed left shift. · 6ab1b16c
      Paul Eggert authored
      This ports to GCC 4.9.0 with -fsanitize=undefined.
      * alloc.c (bool_vector_fill, SETMARKBIT, UNSETMARKBIT):
      * data.c (Fash):
      * regex.c (extract_number):
      * lisp.h (make_number, XINT):
      Do not shift a 1 bit left into a sign bit.
      * alloc.c (struct cons_block, struct float_block): Use unsigned,
      not int, for gcmarkbits.  All uses changed.
      6ab1b16c
  14. 24 Apr, 2014 1 commit
  15. 23 Apr, 2014 2 commits
  16. 22 Apr, 2014 4 commits
    • Paul Eggert's avatar
      Port to GCC 4.9.0 with --enable-gcc-warnings. · 34e856d5
      Paul Eggert authored
      * image.c (struct my_jpeg_error_mgr) [lint]: Remove member fp.
      All uses removed.
      (jpeg_load_body) [lint]: Add a 'volatile' to pacify a buggy GCC in
      a way that also works with GCC 4.9.0.
      34e856d5
    • Paul Eggert's avatar
      0fae5004
    • Eli Zaretskii's avatar
      Add debugging facility for the newline cache. · 2f999d52
      Eli Zaretskii authored
      See the discussion in
      http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00295.html
      for more detail.
      
       src/search.c (find_newline1): New subroutine.
       (Fnewline_cache_check): New function.
       (syms_of_search): Defsubr it.
      2f999d52
    • Daniel Colascione's avatar
      Correctly macroexpand top-level forms during eager macroexpand · 12b1389c
      Daniel Colascione authored
      * lisp/emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
      Improve docstrings.
      
      * lisp/emacs-lisp/macroexp.el (internal-macroexpand-for-load): Add
      `full-p' parameter; when nil, call `macroexpand' instead of
      `macroexpand-all'.
      
      * src/lread.c (readevalloop_eager_expand_eval): New function
      that can recurse into toplevel forms.
      (readevalloop): Call it.
      * src/lisp.h: Declare Qprogn.
      * src/callint.c (Qprogn): No longer static.
      
      * test/automated/bytecomp-tests.el (test-byte-comp-compile-and-load):
      Add compile flag.
      (test-byte-comp-macro-expansion)
      (test-byte-comp-macro-expansion-eval-and-compile)
      (test-byte-comp-macro-expansion-eval-when-compile)
      (test-byte-comp-macro-expand-lexical-override): Use it.
      (test-eager-load-macro-expansion)
      (test-eager-load-macro-expansion-eval-and-compile)
      (test-eager-load-macro-expansion-eval-when-compile)
      (test-eager-load-macro-expand-lexical-override): New tests.
      12b1389c
  17. 21 Apr, 2014 1 commit
  18. 19 Apr, 2014 1 commit
  19. 18 Apr, 2014 3 commits
  20. 17 Apr, 2014 4 commits
    • Paul Eggert's avatar
      * term.c (tty_send_additional_strings): No need to fflush here, · f0496348
      Paul Eggert authored
      as callers fflush.
      (tty_set_terminal_modes): fflush after sending additional strings,
      not before.
      f0496348
    • Jan Djärv's avatar
      Prevent endless loop in x_make_frame_visible. · 53e46f3a
      Jan Djärv authored
      * xterm.c (x_make_frame_visible): Prevent endless loop when frame
      never becomes visible, i.e. using XMonad .
      
      Fixes: debbugs:17237
      53e46f3a
    • Eli Zaretskii's avatar
      Fix bug #17281 with infloop in line-pixel-height. · 8915b842
      Eli Zaretskii authored
       src/xdisp.c (Fline_pixel_height): Don't assume that the current
       buffer and the selected window's buffer are one and the same.
      8915b842
    • Daniel Colascione's avatar
      2014-04-17 Daniel Colascione <dancol@dancol.org> · bfc30790
      Daniel Colascione authored
      	Add support for bracketed paste mode; add infrastructure for
      	managing terminal mode enabling and disabling automatically.
      
      	* xt-mouse.el:
      	(xterm-mouse-mode): Simplify.
      	(xterm-mouse-tracking-enable-sequence)
      	(xterm-mouse-tracking-disable-sequence): New constants.
      	(turn-on-xterm-mouse-tracking-on-terminal)
      	(turn-off-xterm-mouse-tracking-on-terminal): Use
      	tty-mode-set-strings and tty-mode-reset-strings terminal
      	parameters instead of random hooks.
      	(turn-on-xterm-mouse-tracking)
      	(turn-off-xterm-mouse-tracking): Delete.
      
      	* term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
      	(xterm-paste-ending-sequence): New constant.
      	(xterm-paste): New command used for bracketed paste support.
      
      	(xterm-modify-other-keys-terminal-list): Delete obsolete variable.
      	(terminal-init-xterm-bracketed-paste-mode): New function.
      	(terminal-init-xterm): Call it.
      	(terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
      	and tty-mode-reset-strings instead of random hooks.
      	(xterm-turn-on-modify-other-keys)
      	(xterm-turn-off-modify-other-keys)
      	(xterm-remove-modify-other-keys): Delete obsolete functions.
      
      	* term/screen.el: Rewrite to just use the xterm code.  Add
      	copyright notice.  Mention tmux.
      bfc30790