- 15 Dec, 2014 1 commit
-
-
Paul Eggert authored
* 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
-
- 14 Dec, 2014 3 commits
-
-
Alan Mackenzie authored
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.
-
Eli Zaretskii authored
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.
-
Glenn Morris authored
-
- 13 Dec, 2014 2 commits
-
-
Eli Zaretskii authored
-
Ted Zlatanov authored
bd6c4418 * simple.el (password-word-equivalents): Add "passcode", used for numeric secrets like PINs or RSA tokens. 16d4c1cd A better fix for bug#19346 82ec808f * .gitignore: Add !lib/std*.in.h, so as to not ignore the .in.h files. 3cf7629f Git ignore lib/std*.h 301a4014 Always define `gnutls-available-p' even if GnuTLS is not available. d76b9b2a Don't break example string between 2 lines (bug#19257) 75b4857e Port commit-msg to mawk 9ac03320 Improve commit-msg messages and autosquash 0c2f254b Support overflow-newline-into-fringe together with word-wrap (bug#19300) 935ee05f * net/tramp-sh.el (tramp-get-remote-path): Use a login shell in order to determine `tramp-own-remote-path'. c2db9393 python.el: Support interpreter paths with spaces d83f3299 ChangeLog fix 0f9fbb92 Port commit-message checking to FreeBSD 9. 3db1adac admin/MAINTAINERS: Update my interests and responsibilities. 6382f241 * .gitignore: Ignore autosave files. Conflicts: ChangeLog lisp/progmodes/python.el src/gnutls.c
-
- 12 Dec, 2014 1 commit
-
-
Eli Zaretskii authored
src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move gnutls-available-p out of the HAVE_GNUTLS conditional, and define them only once.
-
- 11 Dec, 2014 3 commits
-
-
Ted Zlatanov authored
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.
-
Stefan Monnier authored
* 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.
-
Dmitry Antipov authored
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).
-
- 10 Dec, 2014 3 commits
-
-
Eli Zaretskii authored
src/xdisp.c (move_it_in_display_line_to, display_line): Don't disallow overflow-newline-into-fringe when word-wrap is in effect.
-
Eli Zaretskii authored
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.
-
Paul Eggert authored
* 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.
-
- 09 Dec, 2014 1 commit
-
-
Andy Moreton authored
-
- 08 Dec, 2014 10 commits
-
-
Lars Magne Ingebrigtsen authored
* src/gnutls.c (Fgnutls_peer_status): Return the key exchange, cipher and MAC algorithms.
-
Lars Magne Ingebrigtsen authored
Fixes: debbugs:18210
-
Stefan Monnier authored
* 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.
-
Lars Magne Ingebrigtsen authored
Fixes: debbugs:16253 (emacs_gnutls_handle_error): Fatal errors should be on level 1, so that they are not messaged by default.
-
Lars Magne Ingebrigtsen authored
-
Lars Magne Ingebrigtsen authored
(gnutls_certificate_details): Put :signature-algorithm back again, which was removed by mistake.
-
Lars Magne Ingebrigtsen authored
-
Lars Magne Ingebrigtsen authored
-
Lars Magne Ingebrigtsen authored
* src/gnutls.c (gnutls_certificate_details): The :signature isn't that useful, so remove it.
-
Eli Zaretskii authored
-
- 07 Dec, 2014 1 commit
-
-
Jan D authored
* nsimage.m (setPixmapData): Make bmRep local so class member is not set.
-
- 05 Dec, 2014 1 commit
-
-
Eli Zaretskii authored
src/dispextern.h (enum bidi_dir_t): Force NEUTRAL_DIR to be zero. (struct bidi_stack): Reduce size by using bit fields and by packing sos, override, and isolate_status into a single 8-bit byte called 'flags'. src/bidi.c (ISOLATE_STATUS, OVERRIDE): New macros. (bidi_push_embedding_level): Construct flags from individual bits. Adapt to changes in prev_for_neutral and next_for_neutral members. (bidi_pop_embedding_level): Use ISOLATE_STATUS. Extract 'sos' from flags. Adapt to changes in prev_for_neutral, next_for_neutral, and last_strong members. (bidi_line_init): Initialize flags to zero. (bidi_resolve_explicit, bidi_resolve_weak, bidi_resolve_brackets) (bidi_resolve_neutral): Use ISOLATE_STATUS and OVERRIDE.
-
- 04 Dec, 2014 2 commits
-
-
Stefan Monnier authored
(Fapply): Try and simplify the control flow.
-
Lee Duhem authored
(Fautoload_do_load): Fix up docstring.
-
- 03 Dec, 2014 1 commit
-
-
Chris Zheng authored
Fixes: debbugs:19231 * gnutls.c (init_gnutls_functions, gnutls_certificate_details): Use gnutls_sign_get_name directly because gnutls_sign_algorithm_get_name is a macro on MinGW. (init_gnutls_functions): Load missing gnutls_server_name_set.
-
- 02 Dec, 2014 3 commits
-
-
Eli Zaretskii authored
src/bidi.c (bidi_find_first_overridden): New function. src/xdisp.c (Fbidi_find_overridden_directionality): New function. (syms_of_xdisp): Defsubr it. src/dispextern.h (bidi_find_first_overridden): Add prototype. doc/lispref/display.texi (Bidirectional Display): Document 'bidi-find-overridden-directionality'. etc/NEWS: Mention 'bidi-find-overridden-directionality'.
-
Jan Djärv authored
* nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep to nil after release.
-
Jan Djärv authored
* nsfns.m (ns_set_name_as_filename): Don't set represented filename at once, call ns_set_represented_filename instead. * nsterm.h: Declare ns_set_represented_filename. * nsterm.m (represented_filename, represented_frame): New variables. (ns_set_represented_filename): New function. (sendEvent:): Set represented filename here to avoid flicker, related to Bug#18757.
-
- 30 Nov, 2014 1 commit
-
-
Paul Eggert authored
These changes suffice for temacs on x86-64 with GCC 4.9.2 and -fsanitize=address. * alloc.c (valid_pointer_p) [ADDRESS_SANITIZER]: Return -1 or 0, as the pipe trick doesn't work. * alloc.c (relocatable_string_data_p, mark_object, sweep_symbols): * data.c (Ffset): * print.c (print_object): When a pointer-check primitive returns -1, do not assume this means the pointer is valid or that the underlying system has failed. It could just be that addresses are being sanitized so Emacs can't test for pointer validity. * lisp.h (defined_GC_CHECK_STRING_BYTES): New constant. (USE_STACK_STRING) [GC_CHECK_STRING_BYTES]: Now false, since the string validity checker doesn't work on stack-based strings.
-
- 29 Nov, 2014 2 commits
-
-
Glenn Morris authored
-
Paul Eggert authored
Problem reported by Lee Duhem. Suggestion by Andreas Schwab in: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) VAL_MAX / 2 rather than in terms of the (more complicated) EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match.
-
- 27 Nov, 2014 2 commits
-
-
Eli Zaretskii authored
src/xdisp.c (handle_single_display_spec): When ignoring a fringe bitmap display, reset the ignore_overlay_strings_at_pos_p flag. (next_element_from_buffer): When done with overlays, reset the ignore_overlay_strings_at_pos_p flag.
-
Oscar Fuentes authored
This is the `master' branch follow-up to the change made previously on the emacs-24 branch (81e0cca7). * src/w32.c: Use MINGW_W64 instead of _W64. * src/w32heap.c: Likewise.
-
- 26 Nov, 2014 2 commits
-
-
Lars Magne Ingebrigtsen authored
* gnutls.c (gnutls_ip_address_p): New function. (Fgnutls_boot): Only send SNI if the host name is not an IP address.
-
Toke Høiland-Jørgensen authored
Fixes: debbugs:18208 * gnutls.c (Fgnutls_boot): Send the server name over (bug#18208).
-
- 25 Nov, 2014 1 commit
-
-
Paul Eggert authored
* gnutls.c (Fgnutls_boot): Remove unused local. (Fgnutls_boot): Fix pointer signedness.
-