aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | * image.c: Include <png.h> before <setjmp.h>.Paul Eggert2014-05-071-0/+4
| | | | | | | | Fixes: debbugs:17429
* | * image.c: Do not use libpng if HAVE_NS, as NS does its own thing.Paul Eggert2014-05-061-0/+8
| | | | | | | | | | | | | | [HAVE_NS]: Do not include png.h. (x_query_frame_background_color): New function. (png_load_body, imagemagick_load_image, svg_load_image): Use it. (png_load_body): Coalesce duplicate code.
* | Consult libpng-config more consistently.Paul Eggert2014-05-041-11/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge from emacs-24; up to 2014-05-04T21:18:30Z!eggert@cs.ucla.eduPaul Eggert2014-05-041-0/+51
|\ \ | |/
| * Revert recent libpng changes.Paul Eggert2014-05-041-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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
| * Handle systems without WCONTINUED consistently.Paul Eggert2014-05-031-0/+7
| | | | | | | | | | | | | | | | | | * 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
| * Minor fixes for comments.Eli Zaretskii2014-05-031-0/+4
| | | | | | | | | | | | 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.
| * Consult libpng-config more consistently.Paul Eggert2014-05-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * Doc fixesGlenn Morris2014-05-011-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * src/term.c (tty_menu_activate): A better initialization for cursor coordinates.Eli Zaretskii2014-05-011-0/+5
| |
| * * src/intervals.c: Tighten assertions.Stefan Monnier2014-05-011-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* | Merge from emacs-24; up to 2014-05-01T10:21:17Z!rgm@gnu.orgJuanma Barranquero2014-04-301-0/+20
|\ \ | |/
| * * term.c (tty_menu_activate): Don't assume row and col are initialized.Paul Eggert2014-04-301-0/+6
| | | | | | | | | | GCC 4.9.0 warned about this, and I couldn't easily prove to my own satisfaction that they would always be initialized.
| * Place hardware TTY cursor at the active menu item when displaying a menu.Eli Zaretskii2014-04-291-0/+10
| | | | | | | | | | | | | | | | | | | | src/term.c (tty_menu_display): Move the cursor to the active menu item. (tty_menu_activate): Return the cursor to the active menu item after displaying the menu and after displaying help-echo. See http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html for the details of why this is needed by screen readers and Braille displays.
| * * src/process.c (handle_child_signal): Handle systems without WCONTINUEDGlenn Morris2014-04-291-2/+6
| | | | | | | | Fixes: debbugs:15110
* | * src/window.c (struct saved_window): Remove mark.Stefan Monnier2014-04-291-2/+7
| | | | | | | | | | | | | | (Fset_window_configuration, save_window_save) (compare_window_configurations): Don't touch marks any more. * doc/lispref/windows.texi (Window Configurations, Window Configurations): Window configs don't store marks any more.
* | Use bits_word for gcmarkbits.Paul Eggert2014-04-281-0/+6
| | | | | | | | | | | | | | * 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.
* | Avoid undefined behavior in signed left shift.Paul Eggert2014-04-271-0/+12
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge from emacs-24; up to 2014-04-25T10:35:01Z!michael.albinus@gmx.deJuanma Barranquero2014-04-251-0/+6
|\ \ | |/
| * Fix debugging code for checking the newline cache.Eli Zaretskii2014-04-231-0/+6
| | | | | | | | | | | | src/search.c (Fnewline_cache_check): Don't try to count newlines outside the buffer's restriction, as find_newline doesn't support that.
* | * src/window.c (Fset_window_configuration): Deactivate the mark beforeStefan Monnier2014-04-231-0/+10
| | | | | | | | | | | | | | | | | | unsetting the mark. (set_window_buffer): Ignore window_initialized. (window_initialized): Remove. * src/keyboard.c (Qdeactivate_mark): Not static any more. * src/buffer.c (buffer_local_value): Rename from buffer_local_value_1. Update all callers.
* | * conf_post.h (ADDRESS_SANITIZER_WORKAROUND): Port to GCC 4.9.0Paul Eggert2014-04-231-0/+7
| | | | | | | | | | | | and to clang 3.4, which have fixed the bug. This should let us run a bit faster on these platforms when address sanitization is in effect.
* | Merge from emacs-24; up to 2014-04-22T20:19:17Z!eggert@cs.ucla.eduPaul Eggert2014-04-221-0/+22
|\ \ | |/
| * Port to GCC 4.9.0 with --enable-gcc-warnings.Paul Eggert2014-04-221-0/+6
| | | | | | | | | | | | | | * 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.
| * * search.c (Fnewline_cache_check): Remove unused locals.Paul Eggert2014-04-221-0/+4
| |
| * Add debugging facility for the newline cache.Eli Zaretskii2014-04-221-0/+6
| | | | | | | | | | | | | | | | | | | | 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.
| * Fix freezing with scroll bars of GTK3 Toolkit.Jarek Czekalski2014-04-211-0/+6
| | | | | | | | | | | | | | * src/keyboard.c (unblock_input): Add comment. * src/xgselect.c (xg_select): Prevent Glib main loop recursion. Fixes: debbugs:15801
* | Correctly macroexpand top-level forms during eager macroexpandDaniel Colascione2014-04-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Merge from emacs-24; up to 2014-04-17T02:05:48Z!eggert@cs.ucla.eduDaniel Colascione2014-04-191-0/+6
|\ \ | |/
| * * src/intervals.c (rotate_right, rotate_left): Fix up length computation.Stefan Monnier2014-04-191-0/+6
| | | | | | | | | | | | Also change identifiers to match the comments, and add more assertions. Fixes: debbugs:16234
* | Merge from emacs-24; up to 2014-04-16T15:28:06Z!eggert@cs.ucla.eduJuanma Barranquero2014-04-191-0/+20
|\ \ | |/
| * Fix bug #17288 with inserting left truncation glyph under linum-mode.Eli Zaretskii2014-04-181-0/+6
| | | | | | | | | | src/xdisp.c (insert_left_trunc_glyphs): Ensure the left truncation glyph is written to TEXT_AREA of the temporary glyph_row.
| * src/ChangeLog: Add header line to recent MSDOS-related entries.Eli Zaretskii2014-04-181-0/+1
| |
| * * emacs.c (close_output_streams): Don't clear and restore errno.Paul Eggert2014-04-171-0/+4
| |
| * Prevent endless loop in x_make_frame_visible.Jan Djärv2014-04-171-0/+5
| | | | | | | | | | | | | | * xterm.c (x_make_frame_visible): Prevent endless loop when frame never becomes visible, i.e. using XMonad . Fixes: debbugs:17237
| * Fix bug #17281 with infloop in line-pixel-height.Eli Zaretskii2014-04-171-0/+4
| | | | | | | | | | src/xdisp.c (Fline_pixel_height): Don't assume that the current buffer and the selected window's buffer are one and the same.
| * Fix bug #17269 with corruption of the newline cache.Eli Zaretskii2014-04-171-0/+5
| | | | | | | | | | src/insdel.c (invalidate_buffer_caches): Invalidate the bidi paragraph-start cache before the newline cache.
* | * term.c (tty_send_additional_strings): No need to fflush here,Paul Eggert2014-04-171-0/+7
| | | | | | | | | | | | as callers fflush. (tty_set_terminal_modes): fflush after sending additional strings, not before.
* | 2014-04-17 Daniel Colascione <dancol@dancol.org>Daniel Colascione2014-04-171-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge from emacs-24; up to 2014-04-16T15:28:26Z!monnier@iro.umontreal.caPaul Eggert2014-04-161-1/+98
|\ \ | |/
| * * src/window.c (save_window_save): Lookup window_point_insertion_type inStefan Monnier2014-04-161-3/+10
| | | | | | | | | | | | | | | | the right buffer. (Qwindow_point_insertion_type): New var. (syms_of_window): Initialize it. Fixes: debbugs:15457
| * Fix the MSDOS build.Eli Zaretskii2014-04-161-0/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/unexcoff.c [MSDOS]: Include libc/atexit.h. (copy_text_and_data): Zero out the atexit chain pointer before dumping Emacs. src/termhooks.h (encode_terminal_code): Update prototype. src/term.c (encode_terminal_code) [DOS_NT]: Make it externally visible for all DOS_NT ports, not just WINDOWSNT. (syms_of_term) [!MSDOS]: Don't define 'tty-menu-*' symbols on MSDOS. src/sysdep.c (emacs_sigaction_init, init_signals): Don't use SIGCHLD unless it is defined. (emacs_pipe) [MSDOS]: Redirect to 'pipe'. src/process.c (close_on_exec, accept4, process_socket): Move into the "ifdef subprocesses" part. (catch_child_signal): Condition by "ifdef subprocesses". (syms_of_process) <Qinternal_default_process_sentinel> <Qinternal_default_process_filter>: Condition by "ifdef subprocesses". src/msdos.h: Add prototypes for new functions. (EINPROGRESS): Define. (O_CLOEXEC): Define to zero. src/msdos.c (check_window_system): Remove unnecessary an incompatible duplicate function. (sys_opendir, readlinkat, faccessat, fstatat, unsetenv): New functions in support of new functionality. src/menu.c (single_menu_item): Add visual indication of submenu also for menus on MSDOS frames. (Fx_popup_menu) [!MSDOS]: Do not call tty_menu_show on MSDOS. src/lisp.h (CHECK_PROCESS) [!subprocesses]: Do not define when async subprocesses aren't supported. src/font.h (FONT_WIDTH) [MSDOS]: MSDOS-specific definition. src/emacs.c (close_output_streams): Zero out errno before calling close_stream. src/dired.c [MSDOS]: Include msdos.h. src/conf_post.h (opendir) [MSDOS]: Redirect to sys_opendir. (DATA_START) [MSDOS]: Define. (SYSTEM_PURESIZE_EXTRA) [MSDOS]: Enlarge by 25K. src/callproc.c (block_child_signal, unblock_child_signal) [MSDOS]: Ifdef away for MSDOS. (record_kill_process) [MSDOS]: Ifdef away the entire body for MSDOS. (call_process_cleanup) [MSDOS]: Ifdef away portions not relevant for MSDOS. (call_process) [MSDOS]: Fix call sequence of dostounix_filename. Use temporary file template that is compatible with mkostemp. Move vfork-related portions under #ifndef MSDOS. (syms_of_callproc): Unify templates of MSDOS and WINDOWSNT. lisp/term/pc-win.el (x-list-fonts, x-get-selection-value): Provide doc strings, as required by snarf-documentation. msdos/sedlisp.inp: msdos/sedlibmk.inp: msdos/sedleim.inp: msdos/sed3v2.inp: msdos/sed2v2.inp: msdos/sed1v2.inp: Update Sed scripts for Emacs 24.4. msdos/inttypes.h: Add PRIdMAX. msdos/INSTALL: Update for Emacs 24.4. msdos/sedadmin.inp: New file.
| * Revert previous change.Paul Eggert2014-04-151-9/+0
| |
| * Resurrect 2 entries in src/ChangeLog nuked by the previous commit.Eli Zaretskii2014-04-151-0/+10
| |
| * Fix some xgselect-vs-pselect bugs.Paul Eggert2014-04-151-9/+8
| | | | | | | | | | | | | | | | This may not fix Bug#17172, but it fixes some bugs discovering while auditing xgselect.c for that bug. when one of glib's file descriptors is greater than FDS_LIM. Treat rfds, wfds, efds consistently, and test G_IO_PRI too. Clear input masks when pselect returns zero.
| * * src/buffer.c (Foverlays_at): Add argument `sorted'.Stefan Monnier2014-04-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'. (Finding Overlays): Document new arg of `overlays-at'. * lisp/obsolete/lucid.el (extent-at): * lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of overlays-at. (hfy-fontify-buffer): Remove unused var `orig-ovls'. * lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted' arg of overlays-at. Use `invisible-p'.
| * Fix bidirectional redisplay when deletion creates a paragraph start.Eli Zaretskii2014-04-141-0/+6
| | | | | | | | | | | | src/insdel.c (invalidate_buffer_caches): When deleting or replacing text, invalidate the bidi_paragraph_cache upto and including the preceding newline.
| * Port to IRIX 6.5.Paul Eggert2014-04-131-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This port requires IRIX cc, as I did not have time to get undump working with the old GCC on the system I had access to, but that's better than nothing. * configure.ac (gl_GCC_VERSION_IFELSE): Remove unused macro that wouldn't have worked anyway, with IRIX cc. (emacs_cv_clang, emacs_cv_sanitize_address) (ns_osx_have_104, ns_osx_have_105): Don't assume '#error' makes the compiler fail, as this doesn't work with IRIX cc. (CFLAGS, LIBS): Don't let the GnuTLS results infect later 'configure' checks. This runs afoul of an IRIX configuration where GnuTLS is in an optional library that also contains getdelim, and causes a later 'configure' to incorrectly think getdelim is supported. * src/alloc.c (TAGGABLE_NULL): New constant, for porting to hosts with nontrivial DATA_SEG_BITS settings. (next_vector, set_next_vector): Use it. * src/conf_post.h (INET6) [IRIX6_5]: Define. (HAVE_GETADDRINFO) [IRIX6_5]: Undef. * src/data.c (BITS_PER_ULL): Don't assume ULLONG_MAX is defined. * src/lisp.h (lisp_h_XPNTR): Don't OR in bits that aren't masked out, for consistency with how TAGGABLE_NULL is computed. Fixes: debbugs:9684
| * Fix open-dribble-file's treatment of non-ASCII file names.Eli Zaretskii2014-04-131-0/+3
| | | | | | | | | | src/keyboard.c (Fopen_dribble_file): Encode the dribble file-name before passing it to system APIs.
| * Fix bug #17255 with insufficient pure space on 32-bit Posix builds.Eli Zaretskii2014-04-131-0/+4
| | | | | | | | src/puresize.h (BASE_PURESIZE): Bump by 1K.