aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * A better fix for bug#19346Eli Zaretskii2014-12-121-0/+6
| | | | | | | | | | | | src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move gnutls-available-p out of the HAVE_GNUTLS conditional, and define them only once.
| * Always define `gnutls-available-p' even if GnuTLS is not available.Ted Zlatanov2014-12-111-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19346 * gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for clarity. Let the availability check return Qnil when the GnuTLS integration is not available, instead of erroring out. * gnutls.h: Always declare syms_of_gnutls. * emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
| * Support overflow-newline-into-fringe together with word-wrap (bug#19300)Eli Zaretskii2014-12-101-0/+6
| | | | | | | | | | | | src/xdisp.c (move_it_in_display_line_to, display_line): Don't disallow overflow-newline-into-fringe when word-wrap is in effect.
* | Use bool for boolean in xselect.c, xsettings.cPaul Eggert2014-12-261-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xselect.c (x_get_local_selection, struct selection_data) (x_selection_request_lisp_error, struct prop_location) (x_handle_selection_request, x_convert_selection) (waiting_for_other_props_on_window, expect_property_change) (wait_for_property_change, x_handle_property_notify) (x_get_foreign_selection, x_get_window_property) (receive_incremental_selection) (x_get_window_property_as_lisp_data) (lisp_data_to_selection_data, Fx_get_selection_internal) (x_send_client_event): * xselect.c, xterm.h (x_handle_dnd_message): * xsettings.c (dpyinfo_valid, parse_settings, read_settings) (apply_xft_settings, read_and_apply_settings) (xft_settings_event, init_gsettings, init_xsettings) (syms_of_xsettings): Use bool for boolean. * xselect.c (x_get_window_property): Omit last arg, which was an unused boolean. * xsettings.c (apply_xft_settings): Remove 2nd arg, which was always true. All callers changed.
* | MS-Windows followup to stpcpy changes.Eli Zaretskii2014-12-261-0/+10
| | | | | | | | | | | | | | | | | | | | | | src/w32proc.c (sys_spawnve, get_lcid_callback): Use strcpy instead of strcat. src/w32menu.c (add_menu_item): Use stpcpy instead of strcat. src/w32.c (sys_readdir, stat_worker, symlink): Use strcpy instead of strcat. nt/gnulib.mk (stpcpy, string): Sync with the latest change in lib/gnulib.mk.
* | Use bool for boolean in xsmfns.cPaul Eggert2014-12-251-0/+9
| | | | | | | | | | | | | | | | * xsmfns.c, xterm.h (x_session_have_connection): * xsmfns.c (doing_interact, smc_interact_CB, Fhandle_save_session): Use bool for boolean. (x_session_initialize, Fhandle_save_session): Prefer NILP (x) to EQ (x, Qnil).
* | ChangeLog fixesGlenn Morris2014-12-241-0/+4
| |
* | Fixes: debbugs:19396Didier Verna2014-12-231-0/+5
| | | | | | | | | | * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a C one.
* | Fix setting icon for Gtk+ on non-initial frame.Jan D2014-12-221-0/+5
| | | | | | | | | | | | | | Fixes: debbugs:19403 * xterm.c (x_bitmap_icon): Partly revert change from 2014-03-21 which breaks icon setting for Gtk+ except for initial frame.
* | Use bool for boolean in xterm.cPaul Eggert2014-12-211-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.h, nsterm.m, w32term.c, w32term.h, xterm.c: (x_set_window_size, x_bitmap_icon): * nsterm.m (ns_frame_raise_lower, x_new_font): * termhooks.h (struct terminal.toggle_invisible_pointer_hook) (struct terminal.frame_raise_lower_hook): * w32term.c (w32_frame_raise_lower): * xterm.c, xterm.h (x_text_icon): * xterm.c (x_update_window_begin, x_update_window_end) (x_update_end, x_after_update_window_line) (x_set_glyph_string_gc, x_draw_glyph_string_background) (x_draw_glyph_string_foreground) (x_draw_composite_glyph_string_foreground) (x_alloc_lighter_color, x_draw_relief_rect) (x_draw_glyph_string_box, x_draw_image_relief) (x_draw_image_glyph_string, x_draw_stretch_glyph_string) (x_draw_underwave, x_draw_glyph_string, x_show_hourglass) (x_hide_hourglass): (XFillRectangle) [HAVE_GTK3]: (XTtoggle_invisible_pointer, frame_highlight, frame_unhighlight) (x_focus_changed, x_find_modifier_meanings, note_mouse_movement) (XTmouse_position, xt_action_hook, xt_horizontal_action_hook) (x_send_scroll_bar_event, xm_scroll_callback) (xg_scroll_callback, xaw_jump_callback, xaw_scroll_callback) (x_create_toolkit_scroll_bar) (x_create_horizontal_toolkit_scroll_bar) (x_set_toolkit_horizontal_scroll_bar_thumb, x_scroll_bar_create) (x_scroll_bar_set_handle, XTset_vertical_scroll_bar) (XTset_horizontal_scroll_bar, x_scroll_bar_expose) (x_scroll_bar_handle_click, x_scroll_bar_note_movement) (x_scroll_bar_report_motion) (x_horizontal_scroll_bar_report_motion, x_net_wm_state) (handle_one_xevent, XTread_socket, x_draw_bar_cursor) (x_draw_window_cursor, x_clear_errors) (x_trace_wire, x_new_font, x_set_offset, wm_supports) (set_wm_state, x_set_sticky, get_current_wm_state) (do_ewmh_fullscreen, x_handle_net_wm_state) (x_check_expected_move, x_sync_with_move, x_wait_for_event) (x_set_window_size_1, XTframe_raise_lower) (x_make_frame_visible, x_iconify_frame) (x_timeout_atimer_activated_flag, same_x_server, x_display_ok) (x_term_init, x_process_timeouts, x_activate_timeout_atimer) (x_delete_terminal, x_initialize, syms_of_xterm): Use bool for boolean.
* | * composite.h (struct composition.width): Now intPaul Eggert2014-12-201-0/+3
| | | | | | | | instead of unsigned short, as we prefer signed integers.
* | Let charset tick grow past USHRT_MAXPaul Eggert2014-12-201-0/+6
| | | | | | | | | | | | | | * charset.c, charset.h (charset_ordered_list_tick): Now EMACS_UINT, not unsigned short. * fontset.c (reorder_font_vector): Allow the tick to grow to the maximum representable Emacs integer value before wrapping it around.
* | Simplify unexec file mode settingPaul Eggert2014-12-201-0/+11
| | | | | | | | | | | | | | | | | | | | * unexaix.c, unexcoff.c, unexelf.c, unexmacosx.c: Don't include <sys/stat.h> when no longer needed. (unexec): Create file with correct mode in the first place, rather than overwriting the mode later and fiddling with the global umask in the mean time. Avoid bogus usage like 'umask (777)', which should have been 'umask (0777)'. (mark_x): Remove. All callers removed.
* | * buffer.c (syms_of_buffer): Omit unneeded staticpros.Paul Eggert2014-12-191-0/+1
| |
* | Minor cleanups for Lisp objects and symbolsPaul Eggert2014-12-181-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * alloc.c (next_vector, set_next_vector): * lisp.h (lisp_h_INTEGERP, make_number, XFASTINT, make_natnum): (lisp_h_make_number) [USE_LSB_TAG]: Use Lisp_Int0 instead of the mystery constant 0. * alloc.c (mark_object): Always set and use po; that's simpler. (CHECK_LIVE, CHECK_ALLOCATED_AND_LIVE): Properly parenthesize definientia. * bidi.c (bidi_initialize): * buffer.c (init_buffer_once): * nsfns.m (syms_of_nsfns): * nsmenu.m (syms_of_nsmenu): * nsselect.m (syms_of_nsselect): Prefer DEFSYM to defining by hand. * data.c: Fix too-long line. * lisp.h (DECLARE_GDB_SYM): New macro. (DEFINE_GDB_SYMBOL_BEGIN): Use it. (DEFINE_GDB_SYMBOL_BEGIN, DEFINE_GDB_SYMBOL_END) [!MAIN_PROGRAM]: Declare the symbol, so it's visible to everywhere lisp.h is included. Move forward decls as far forward as they can go, to allow future changes to use them.
* | * gnutls.c: Include gnutls.h.Paul Eggert2014-12-181-0/+2
| | | | | | | | This to check syms_of_gnutls's API even when !HAVE_GNUTLS.
* | * image.c (svg_load): Fix pointer signedness.Paul Eggert2014-12-181-0/+4
| |
* | Add code for "preserving" window sizes.Martin Rudalics2014-12-181-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.c (frame_windows_min_size): New argument IGNORE. (adjust_frame_size): When called from change_frame_size call frame_windows_min_size with IGNORE Qt so we can ignore size restrictions. * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with `preserve-size' t. (dired-mark-pop-up): Preserve size of window showing marked files. * electric.el (Electric-pop-up-window): * help.el (resize-temp-buffer-window): Call fit-window-to-buffer with `preserve-size' t. * minibuffer.el (minibuffer-completion-help): Use `resize-temp-buffer-window' instead of `fit-window-to-buffer' (Bug#19355). Preserve size of completions window. * register.el (register-preview): Preserve size of register preview window. * tmm.el (tmm-add-prompt): Call fit-window-to-buffer with `preserve-size' t (Bug#1291). * window.el (with-displayed-buffer-window): Add calls to `window-preserve-size'. (window-min-pixel-size, window--preservable-size) (window-preserve-size, window-preserved-size) (window--preserve-size, window--min-size-ignore-p): New functions. (window-min-size, window-min-delta, window--resizable) (window--resize-this-window, split-window-below) (split-window-right): Amend doc-string. (adjust-window-trailing-edge): Handle preserving window sizes. Signal user-error instead of an error when there's no window above or below. (window--min-size-1, window-sizable, window--size-fixed-1) (window-size-fixed-p, window--min-delta-1) (frame-windows-min-size, window--max-delta-1, window-resize) (window--resize-child-windows, window--resize-siblings) (enlarge-window, shrink-window, split-window): Handle preserving window sizes. (window--state-put-2): Handle horizontal scroll bars. (window--display-buffer): Call `preserve-size' if asked for. (display-buffer): Mention `preserve-size' alist member in doc-string. (fit-window-to-buffer): New argument PRESERVE-SIZE.
* | Allow querying font by name for its height and other info. (Bug#19395)Eli Zaretskii2014-12-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/font.c (Ffont_info): Add more font information to the vector returned by the function, inspired by query-font. Doc fix. doc/lispref/display.texi (Low-Level Font): Document font-info and query-font. lisp/international/mule-diag.el (describe-font-internal): Display additional info returned by font-info. lisp/linum.el (linum--face-width): Rename from linum--face-height, and use the new functionality of font-info. (linum-update-window): Use linum--face-width and frame-char-width, instead of approximating with height. etc/NEWS: Mention the enhancement in font-info.
* | * src/keyboard.c (input_was_pending): New var.Stefan Monnier2014-12-171-0/+6
| | | | | | | | | | (read_char): Use it to make sure we only skip redisplay when we can't keep up with the repeat rate.
* | * src/keyboard.c (swallow_events): Don't redisplay if there's input pending.Stefan Monnier2014-12-171-0/+4
| |
* | Fixed problems with svg_load_image -- no more crashes (hopefully)Ulf Jasper2014-12-171-0/+5
| | | | | | | | | | * src/image.c (svg_load): Watch out for nil value of current buffer's filename. Re-enable filename thing for not-a-file case.
* | Partially disabled previous change.Ulf Jasper2014-12-171-0/+7
| | | | | | | | | | * src/image.c (svg_load): Temporarily disabled filename thing for not-a-file case as it can cause crashs.
* | Fix problem with images referenced within svg files. (bug#19373)Ulf Jasper2014-12-171-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19373 * src/image.c: Additional parameter 'filename' for svg_load_image. Include "buffer.h". Define library function rsvg_handle_set_base_uri for WINDOWSNT. (init_svg_functions): Initialize rsvg_handle_set_base_uri. (fn_rsvg_handle_set_base_uri): Define fn_rsvg_handle_set_base_uri. (svg_load): Pass a filename to svg_load_image: either name of actual file or of current buffer's file. (svg_load_image): New parameter 'filename', used for setting base_uri, necessary for loading referenced images.
* | * lread.c (init_obarray): Declare Qt as special.Paul Eggert2014-12-161-0/+6
| | | | | | | | | | This fixes a typo in the 2012-05-15 patch that tried to declare Qt as special.
* | * src/: Various fixes to use bool type and constants.Stefan Monnier2014-12-151-13/+18
| | | | | | | | | | | | * src/dispnew.c (update_single_window): Remove arg `force_p' since it's always true. * src/xfaces.c (clear_face_cache): Use bool for the argument type.
* | Correct same_at_end when restoring window pointsPaul Eggert2014-12-151-0/+8
| | | | | | | | | | | | | | * fileio.c (Finsert_file_contents): Compute same_at_end character position using the old buffer size, not the new one, since restore_window_points wants the old size. Fixes: debbugs:19161
* | New feature optionally to accelerate auto-repeated scrolling.Alan Mackenzie2014-12-141-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/xdisp.c: Remove "static" from declaration of Qfontification_functions. src/window.c (window_scroll): bind fontification-functions to nil when scrolling by whole screens and fast-but-imprecise-scrolling is non-nil. (syms_of_window): New DEFVAR_BOOL fast-but-imprecise-scrolling. src/lisp.h (bool): Declare Qfontification_functions extern. lisp/cus-start.el (all): Add fast-but-imprecise-scrolling. doc/emacs/display.texi (Scrolling): fast-but-imprecise-scrolling. Describe new variable. etc/NEWS: Add entry for fast-but-imprecise-scrolling.
* | Load system's default trusted Certificate Authorities if available.Eli Zaretskii2014-12-141-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | src/gnutls.c (gnutls_certificate_set_x509_system_trust) [GNUTLS >= 3.0.20]: Declare for WINDOWSNT. (init_gnutls_functions)(gnutls_certificate_set_x509_system_trust) [GNUTLS >= 3.0.20]: Load from shared library for WINDOWSNT. (fn_gnutls_certificate_set_x509_system_trust) [!WINDOWSNT]: Define new macro. (Fgnutls_boot) [GNUTLS >= 3.0.20]: Call gnutls_certificate_set_x509_system_trust. Log an error message if it fails.
* | Place ChangeLog entries in the correct filesGlenn Morris2014-12-131-0/+5
| |
* | Fix dates in ChangeLog entries merged from emacs-24.Eli Zaretskii2014-12-131-3/+3
| |
* | Merge from origin/emacs-24Ted Zlatanov2014-12-121-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bd6c441 * simple.el (password-word-equivalents): Add "passcode", used for numeric secrets like PINs or RSA tokens. 16d4c1c A better fix for bug#19346 82ec808 * .gitignore: Add !lib/std*.in.h, so as to not ignore the .in.h files. 3cf7629 Git ignore lib/std*.h 301a401 Always define `gnutls-available-p' even if GnuTLS is not available. d76b9b2 Don't break example string between 2 lines (bug#19257) 75b4857 Port commit-msg to mawk 9ac0332 Improve commit-msg messages and autosquash 0c2f254 Support overflow-newline-into-fringe together with word-wrap (bug#19300) 935ee05 * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in order to determine `tramp-own-remote-path'. c2db939 python.el: Support interpreter paths with spaces d83f329 ChangeLog fix 0f9fbb9 Port commit-message checking to FreeBSD 9. 3db1ada admin/MAINTAINERS: Update my interests and responsibilities. 6382f24 * .gitignore: Ignore autosave files. Conflicts: ChangeLog lisp/progmodes/python.el src/gnutls.c
* | Fixes: debbugs:19161Stefan Monnier2014-12-111-14/+20
| | | | | | | | | | | | | | | | * src/fileio.c: Better preserve window-points during revert. (Qget_buffer_window_list): New var. (get_window_points_and_markers, restore_window_points): New functions. (Finsert_file_contents): Use them to save and restore window-points.
* | Never pass an invalid X connection descriptor to an input reading loopDmitry Antipov2014-12-111-0/+6
| | | | | | | | | | | | | | | | Fixes: debbugs:19147 * xterm.c (x_delete_terminal): Call emacs_close for X connection descriptor if called from x_connection_closed and always delete this descriptor from keyboard waiting set (Bug#19147).
* | Fix out-of-memory condition in display of long bracketed lines (bug#19322)Eli Zaretskii2014-12-101-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/bidi.c (BIDI_CACHE_MAX_ELTS_PER_SLOT): New macro. (bidi_cache_max_elts): New global variable. (bidi_shelve_header_size): Add the sizeof bidi_cache_max_elts. (bidi_cache_shrink, bidi_initialize): Reset bidi_cache_max_elts to its initial value. (bidi_cache_search): Handle overflown cache. Improve commentary. (bidi_cache_ensure_space): Limit allocations to the current value of bidi_cache_max_elts. Force xpalloc not to over-allocate. If less than a full BIDI_CACHE_CHUNK is left to the limit, decrease the increment to not exceed the limit. (bidi_cache_iterator_state): Now returns non-zero if succeeded to cache, zero otherwise (meaning the cache overflowed). In the latter case, set bidi_cache_last_idx to -1. (bidi_peek_at_next_level): Handle overflown cache. (bidi_push_it): Increase the cache limit for iterating the new object. (bidi_pop_it): Decrease the cache limit back to previous value. (bidi_shelve_cache): Shelve the current value of the cache limit. (bidi_unshelve_cache): Restore the value of cache limit. (bidi_find_bracket_pairs): If the cache overflows while looking for the paired bracket, give up and let bidi_resolve_neutrals process the bracket as a simple neutral. (bidi_find_other_level_edge): If the cache overflows, fall back on Plan B, which effectively stops the reordering and restarts it on the next character (after resetting the cache). (bidi_move_to_visually_next): When the cache overflows, reset it after processing the last cached character.
* | Fix glitches in gnutls.c, mostly memory-relatedPaul Eggert2014-12-091-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | * gnutls.c: Sort macro definitions by name. (fn_gnutls_transport_set_errno): Omit unreachable definition. (fn_gnutls_x509_crt_get_signature): Omit unused symbol. (gnutls_hex_string): Arg is now unsigned char *, to avoid a cast. Prefer ptrdiff_t for sizes. Check for arithmetic overflow when calculating string length. Use make_uninit_string, to avoid copying the string. Cast the char, not the pointer. (gnutls_certificate_details): Use xmalloc and xfree, not malloc and free. Work even for dates past the year 9999. Use void * for buffers, to avoid casts.
* | gnutls.c (gnutls_protocol_get_name): Fix a copy/paste typo.Andy Moreton2014-12-091-0/+4
| |
* | Make gnutls-peer-status return even more dataLars Magne Ingebrigtsen2014-12-081-0/+5
| | | | | | | | | | * src/gnutls.c (Fgnutls_peer_status): Return the key exchange, cipher and MAC algorithms.
* | (Fgnutls_error_fatalp): Doc fix (bug#18210)Lars Magne Ingebrigtsen2014-12-081-0/+1
| | | | | | | | Fixes: debbugs:18210
* | Various minor details accumulated over timeStefan Monnier2014-12-081-0/+4
| | | | | | | | | | | | | | | | | | * lisp/info.el (Info-mode-map): Remove left-over binding. * lisp/net/tramp.el (tramp-handle-make-symbolic-link): Mark unused arg. * lisp/obsolete/gulp.el (gulp-create-m-p-alist): Remove unused var `mnt-tm'. * lisp/progmodes/gud.el (gud-gdb-completions): Remove unused var `start'. * lisp/url/url-http.el (url-http-activate-callback): Make debug more verbose. * src/process.c: Whitespace and line-break nitpicks.
* | Fatal GnuTLS errors are now silent by defaultLars Magne Ingebrigtsen2014-12-081-0/+2
| | | | | | | | | | | | | | Fixes: debbugs:16253 (emacs_gnutls_handle_error): Fatal errors should be on level 1, so that they are not messaged by default.
* | * src/gnutls.c: Add Windows specs for gnutls_dh_get_prime_bits.Lars Magne Ingebrigtsen2014-12-081-0/+2
| |
* | Put back :signature-algorithm into gnutls.cLars Magne Ingebrigtsen2014-12-081-0/+2
| | | | | | | | | | (gnutls_certificate_details): Put :signature-algorithm back again, which was removed by mistake.
* | (Fgnutls_peer_status): Return the DH prime bits for the connectionLars Magne Ingebrigtsen2014-12-081-0/+2
| |
* | (gnutls_certificate_details): Clean up whitespace slightly.Lars Magne Ingebrigtsen2014-12-081-0/+1
| |
* | Remove unused data from gnutls_certificate_detailsLars Magne Ingebrigtsen2014-12-081-0/+5
| | | | | | | | | | * src/gnutls.c (gnutls_certificate_details): The :signature isn't that useful, so remove it.
* | Fix merge glitches in 2 ChangeLog files.Eli Zaretskii2014-12-081-1/+0
| |
* | Fixes: debbugs:19133Jan D2014-12-071-0/+5
| | | | | | | | | | * nsimage.m (setPixmapData): Make bmRep local so class member is not set.
* | Merge from emacs-24Stefan Monnier2014-12-051-0/+18
|\ \ | |/
| * * src/eval.c (Fsignal): Remove duplicate test.Lee Duhem2014-12-041-0/+5
| | | | | | | | (Fautoload_do_load): Fix up docstring.