aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * More flicker fixes for OSX, related to bug 18757.Jan Djärv2014-12-021-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | Reduce memory footprint of struct bidi_it by a factor of 5.Eli Zaretskii2014-12-051-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | * src/eval.c (backtrace_eval_unrewind): Rewind also the excursions.Stefan Monnier2014-12-041-0/+5
| | | | | | | | (Fapply): Try and simplify the control flow.
* | Fix gnutls.c build on MinGWChris Zheng2014-12-031-0/+7
| | | | | | | | | | | | | | | | | | 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.
* | Allow to search for characters whose bidi directionality was overridden.Eli Zaretskii2014-12-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | 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'.
* | Fixes: debbugs:9133Jan Djärv2014-12-021-0/+5
| | | | | | | | | | * nsimage.m (initFromSkipXBM:width:height:flip:length:): Set bmRep to nil after release.
* | Port better to AddressSanitizer.Paul Eggert2014-11-291-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fix up merged ChangeLog entries (dates, duplication, etc)Glenn Morris2014-11-291-15/+3
| |
* | Improve clarity of USE_LSB_TAG definition.Paul Eggert2014-11-281-0/+9
| | | | | | | | | | | | | | | | 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.
* | Merge branch 'emacs-24'.Paul Eggert2014-11-281-0/+23
|\ \ | |/
| * Fix bug #19201 with after-strings not being displayed.Eli Zaretskii2014-11-271-0/+7
| | | | | | | | | | | | | | 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.
| * Fix bug #19141 with UNCs in w32-shell-execute.Eli Zaretskii2014-11-251-0/+5
| | | | | | | | | | src/w32fns.c (Fw32_shell_execute): Convert forward slashes in DOCUMENT to backslashes, if DOCUMENT is a file.
| * Use consistent paxctl and setfattr flags for temacs.Ulrich Müller2014-11-251-0/+6
| | | | | | | | | | | | * Makefile.in (temacs$(EXEEXT)): Use consistent flag settings for paxctl and setfattr. Fixes temacs startup failure with grsecurity/PaX enabled Linux kernel (bug#19067).
| * Fix white-space problems in ChangeLogs.Paul Eggert2014-11-241-2/+2
| |
* | Replace uses of _W64 with MINGW_W64Oscar Fuentes2014-11-271-0/+6
| | | | | | | | | | | | | | | | | | This is the `master' branch follow-up to the change made previously on the emacs-24 branch (81e0cca7bbc99dbfda898a8aaab740ae121cf045). * src/w32.c: Use MINGW_W64 instead of _W64. * src/w32heap.c: Likewise.
* | Merge branch 'emacs-24'Ted Zlatanov2014-11-261-0/+10
|\ \ | |/ | | | | | | | | | | Conflicts: nt/addsection.c nt/inc/ms-w32.h src/w32.c
| * Define MINGW_W64 and use it instead of _W64Oscar Fuentes2014-11-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... for detecting MinGW-w64. _W64 is not specific of MinGW-w64, it is defined for compatibility with MS VC++. * nt/inc/ms-w32.h: Define MINGW_W64. * admin/CPP-DEFINES: Mention MINGW_W64. * nt/addpm.c: Use it. * nt/addsection.c: Use it. * nt/preprep.c: Use it. * src/w32.c: Use MINGW_W64 instead of _W64 * src/w32term.c: Likewise.
| * * src/frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003).Stefan Monnier2014-11-161-0/+4
| | | | | | | | * lisp/window.el (handle-select-window): Deactivate shift-region.
* | Only send SNI if the host name is not an IP addressLars Magne Ingebrigtsen2014-11-261-0/+5
| | | | | | | | | | * gnutls.c (gnutls_ip_address_p): New function. (Fgnutls_boot): Only send SNI if the host name is not an IP address.
* | * gnutls.c (Fgnutls_boot): Send the server name overToke Høiland-Jørgensen2014-11-261-0/+4
| | | | | | | | | | | | Fixes: debbugs:18208 * gnutls.c (Fgnutls_boot): Send the server name over (bug#18208).
* | Fix gnutls problems caught by static checking.Paul Eggert2014-11-251-0/+6
| | | | | | | | | | * gnutls.c (Fgnutls_boot): Remove unused local. (Fgnutls_boot): Fix pointer signedness.
* | (gnutls_certificate_details): Reversed check in last checkin.Lars Magne Ingebrigtsen2014-11-251-0/+1
| |
* | Make gnutls.c compile on older gnutls installationsLars Magne Ingebrigtsen2014-11-251-0/+6
| | | | | | | | | | | | * gnutls.c (gnutls_certificate_details): Don't include certain certificate details on older gnutls versions (bug#19168). (syms_of_gnutls): Export gnutls_peer_status_warning_describe.
* | * gnutls.c (Fgnutls_boot): Minor logging fixes.Ted Zlatanov2014-11-251-1/+1
| |
* | Use a simple list of symbols in GnuTLS peer verification.Ted Zlatanov2014-11-251-0/+4
| | | | | | | | | | | | | | * gnutls.c (Fgnutls_peer_status_warning_describe): Add function to describe a peer verification warning symbol. (Fgnutls_peer_status): Use it. (Fgnutls_boot): Use it.
* | * gnutls.c (Fgnutls_peer_status): Check GNUTLS_INITSTAGE, not gnutls_p.Ted Zlatanov2014-11-251-0/+4
| |
* | * gnutls.c: Fix compilation warnings given fix --enable-gcc-warnings.Lars Magne Ingebrigtsen2014-11-241-0/+4
| |
* | * src/emacs.c (main) <--version>: Make use of PACKAGE_NAME.Glenn Morris2014-11-231-0/+2
| |
* | Reduce nt and src Makefile duplication wrt emacs.resGlenn Morris2014-11-231-0/+5
| | | | | | | | | | | | | | * nt/Makefile.in (../src/emacs.res): New target. * src/Makefile.in (emacs.res): Use ../nt rule, rather than duplicating it. (ntsource, WINDRES, EMACS_MANIFEST): Remove, now unused.
* | * gnutls.c: Fix Windows function definition of gnutls_x509_crt_get_fingerprint.Lars Magne Ingebrigtsen2014-11-231-1/+3
| |
* | gnutls.c windows compilation fixLars Magne Ingebrigtsen2014-11-231-0/+3
| | | | | | | | | | * gnutls.c: Fixed Windows function definition of gnutls_x509_crt_get_fingerprint.
* | Add functions to gnutls.c for exporting certificate detailsLars Magne Ingebrigtsen2014-11-231-0/+11
| | | | | | | | | | | | | | | | | | | | | | * gnutls.c (gnutls_hex_string, gnutls_certificate_details) (Fgnutls_peer_status): New functions to export TLS certificate details to Emacs Lisp. * process.h: Added more fields to Lisp_Process to track certificate details. * gnutls.c (Fgnutls_boot): Save certificate for later inspection.
* | Fixes: debbugs:19149Jan D2014-11-231-0/+1
| | | | | | | | * gtkutil.c (gtk_adjustment_configure): Don't use 2.14 functions (Bug#19149).
* | Fixes: debbugs:19149Jan D2014-11-231-0/+6
| | | | | | | | | | | | * gtkutil.c (gtk_adjustment_configure): Define for Gtk+ < 2.14. (xg_set_toolkit_horizontal_scroll_bar_thumb): Remove wrong version check for gtk_adjustment_configure (Bug#19149).
* | * src/Makefile.in (emacs.res): Add dependency on icons/hand.cur. Use $<.Glenn Morris2014-11-221-0/+4
| |
* | Don't shrink frame when using desktop-save-mode (Bug#19048).“Martin2014-11-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | * w32fns.c (x_set_tool_bar_lines): Always call x_change_tool_bar_height (Bug#19048). (x_change_tool_bar_height): Mark frame as garbaged since adjust_frame_size might not have done that. * xfns.c (x_set_tool_bar_lines): Always call x_change_tool_bar_height (Bug#19048). (x_change_tool_bar_height): Mark frame as garbaged since adjust_frame_size might not have done that.
* | 'libxml-parse(html|xml)-region': new optional param 'discard-comments'.Ulf Jasper2014-11-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Parsing HTML/XML): Document new optional parameter 'discard-comments' of 'libxml-parse(html|xml)-region'. * src/xml.c (parse_region): Take care of new optional parameter 'discard-comments' of 'libxml-parse(html|xml)-region'. (Flibxml_parse_html_region, Flibxml_parse_xml_region): New optional parameter 'discard-comments'. * test/automated/libxml-tests.el (libxml-tests--data-comments-preserved): Renamed from 'libxml-tests--data'. (libxml-tests--data-comments-discarded): New. (libxml-tests): Check whether 'libxml-parse-xml-region' is discarding comments correctly.
* | Improve time stamp handling, and be more consistent about it.Paul Eggert2014-11-161-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements a suggestion made in: http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00587.html Among other things, this means timer.el no longer needs to autoload the time-date module. * doc/lispref/os.texi (Time of Day, Time Conversion, Time Parsing) (Processor Run Time, Time Calculations): Document the new behavior, plus be clearer about the old behavior. (Idle Timers): Take advantage of new functionality. * etc/NEWS: Document the changes. * lisp/allout-widgets.el (allout-elapsed-time-seconds): Doc fix. * lisp/arc-mode.el (archive-ar-summarize): * lisp/calendar/time-date.el (seconds-to-time, days-to-time, time-since): * lisp/emacs-lisp/timer.el (timer-relative-time, timer-event-handler) (run-at-time, with-timeout-suspend, with-timeout-unsuspend): * lisp/net/tramp.el (tramp-time-less-p, tramp-time-subtract): * lisp/proced.el (proced-time-lessp): * lisp/timezone.el (timezone-time-from-absolute): * lisp/type-break.el (type-break-schedule, type-break-time-sum): Simplify by using new functionality. * lisp/calendar/cal-dst.el (calendar-next-time-zone-transition): Do not return time values in obsolete and undocumented (HI . LO) format; use (HI LO) instead. * lisp/calendar/time-date.el (with-decoded-time-value): Treat 'nil' as current time. This is mostly for XEmacs. (encode-time-value, with-decoded-time-value): Obsolete. (time-add, time-subtract, time-less-p): Use no-op autoloads, for XEmacs. Define only if XEmacs, as they're now C builtins in Emacs. * lisp/ldefs-boot.el: Update to match new time-date.el * lisp/proced.el: Do not require time-date. * src/editfns.c (invalid_time): New function. Use it instead of 'error ("Invalid time specification")'. (time_add, time_subtract, time_arith, Ftime_add, Ftime_less_p) (decode_float_time, lisp_to_timespec, lisp_time_struct): New functions. (make_time_tail, make_time): Remove. All uses changed to use new functions or plain list4i. (disassemble_lisp_time): Return effective length if successful. Check that LOW is an integer, if it's combined with other components. (decode_time_components): Decode into struct lisp_time, not struct timespec, so that we can support a wide set of times regardless of whether time_t is signed. Decode plain numbers as seconds since the Epoch, and nil as the current time. (lisp_time_argument, lisp_seconds_argument, Ffloat_time): Reimplement in terms of new functions. (Fencode_time): Just use list2i. (syms_of_editfns): Add time-add, time-subtract, time-less-p. * src/keyboard.c (decode_timer): Don't allow the new formats (floating point or nil) in timers. * src/systime.h (LO_TIME_BITS): New constant. Use it everywhere in place of the magic number '16'. (struct lisp_time): New type. (decode_time_components): Use it. (lisp_to_timespec): New decl.
* | Implement an `inhibit-read-only' text propertyLars Magne Ingebrigtsen2014-11-161-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Special Properties): Mention `inhibit-read-only'. * src/buffer.c (Fbarf_if_buffer_read_only): Don't raise an error if the text at POSITION (new optional argument) has the `inhibit-read-only' text property set. * src/callint.c (Fcall_interactively): Pass in nil as argument to Fbarf_if_buffer_read_only. * src/fileio.c (Finsert_file_contents): Ditto. * src/insdel.c (prepare_to_modify_buffer_1): Pass start region in. * src/intervals.h (INTERVAL_WRITABLE_P): Check the `inhibit-read-only' text property. * src/textprop.c (verify_interval_modification): Check buffer readedness after the last interval.
* | Merge from emacs-24Stefan Monnier2014-11-161-3/+21
|\ \ | |/
| * Backport: Fix for 18993.Jan D2014-11-151-0/+5
| | | | | | | | | | * nsterm.m (ns_send_appdefined): Check for application defined event on Cocoa (Bug#18993). Backport from trunk.
| * Fix bug #19060 with inaccurate pixel-based scrolling.Eli Zaretskii2014-11-151-0/+6
| | | | | | | | | | | | src/window.c (window_scroll_pixel_based): Avoid truncation/rounding errors in computing the number of pixels to scroll. Suggested by Kelly Dean <kelly@prtime.org>.
| * Fix getting frame size wrong when restoring desktop.Jan D2014-11-151-0/+3
| | | | | | | | | | * nsmenu.m (update_frame_tool_bar): If tool bar changes height, call updateFrameSize.
| * Fixes: 18757Jan D2014-11-151-0/+4
| | | | | | | | * nsterm.m (setFrame:): Remove call to display (Bug#18757).
| * Fixes: 19036Jan Djärv2014-11-141-0/+6
| | | | | | | | | | | | * nsfns.m (x_set_foreground_color, x_set_background_color) (x_set_cursor_color, Fxw_color_values): Block/unblock input, use SET_FRAME_GARBAGED instead of redraw_frame (Bug#19036).
* | Redo the fix, the old takes too much CPU.Jan D2014-11-151-0/+6
| | | | | | | | | | | | | | | | Fixes: 18993 * nsterm.m (ns_send_appdefined): Check for application defined event on Cocoa (Bug#18993). (run): Restore code before the previous 18993 fix.
* | Time-out NS event loopDavid Reitter2014-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | OS X 10.10 will, at times, not send us the application-defined event that is used to terminate the event loop. As a workaround, we define a timeout and react accordingly. Leaving it in place for other OSX and NS versions as a safety net. Partial revert of 2014-11-08T16:32:37Z!jan.h.d@swipnet.se. Fixes debbugs:18993
* | * .gitignore: Add emacs-[1-9]*, to ignore files like emacs-25.0.50.1.Paul Eggert2014-11-141-0/+4
| |
* | Attempt to allocate less font entity objects in xfont_list_patternDmitry Antipov2014-11-141-1/+7
| | | | | | | | | | | | * xfont.c (xfont_list_pattern): Do not allocate font entity object for each candidate font but attempt to reuse it from previous improper candidate, if any.
* | Avoid undefined behavior in color table hashing.Paul Eggert2014-11-121-0/+7
| | | | | | | | | | | | * image.c (CT_HASH_RGB) [COLOR_TABLE_SUPPORT]: Remove, replacing with ... (ct_hash_rgb) [COLOR_TABLE_SUPPORT]: New function. All uses changed. This function avoids undefined behavior with signed shift overflow.