1. 13 May, 2014 1 commit
    • Dmitry Antipov's avatar
      If available, use Xfixes extension to do pointer blanking. · d3e5c0ea
      Dmitry Antipov authored
      * configure.ac (HAVE_XFIXES): Define if available.
      (XFIXES_CFLAGS, XFIXES_LIBS): New AC_SUBSTs.
      * src/Makefile.in (XFIXES_CFLAGS, XFIXES_LIBS): New var.
      * src/xfns.c (x_set_mouse_color): Do not call make_invisible_cursor here.
      (make_invisible_cursor): Move to...
      * src/xterm.c (make_invisible_cursor): ...here.
      (x_probe_xfixes_extension, xfixes_toggle_visible_pointer)
      (x_toggle_visible_pointer, x_setup_pointer_blanking): New functions.
      (x_term_init): Call to x_setup_pointer_blanking.
      (XTtoggle_invisible_pointer): Use blanking specific to this display.
      * src/xterm.h (struct x_display_info): New member toggle_visible_pointer.
      d3e5c0ea
  2. 12 May, 2014 1 commit
  3. 11 May, 2014 1 commit
  4. 10 May, 2014 1 commit
  5. 07 May, 2014 3 commits
  6. 06 May, 2014 3 commits
  7. 05 May, 2014 1 commit
  8. 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
  9. 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
  10. 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
  11. 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
  12. 30 Apr, 2014 1 commit
  13. 29 Apr, 2014 3 commits
  14. 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
  15. 24 Apr, 2014 1 commit
  16. 23 Apr, 2014 2 commits
  17. 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
  18. 21 Apr, 2014 1 commit
  19. 19 Apr, 2014 1 commit
  20. 18 Apr, 2014 3 commits
  21. 17 Apr, 2014 3 commits