aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Make text-quoting-style customizable. Introduce t and new meaning for nil.Alan Mackenzie2017-10-011-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A value of nil for text-quoting-style now means "no translation". t means "Use curved quotes if displayable". * src/doc.c (text-quoting-style (function)): modify for new semantics. (text-quoting-style (variable)): Amend the doc string, set the default value to t. * lisp/cus-start.el: (top level): Create a customize entry for text-quoting-style in group display. * etc/NEWS: Amend the entry for text-quoting-style. * doc/emacs/display.texi (Text Display): Describe the translation of ASCII quotes to curved quotes, and how to influence or inhibit it. * doc/lispref/control.texi (Signalling Errors) * doc/lispref/display.texi (Displaying Messages) * doc/lispref/strings.texi (Formatting Strings): Describe binding text-quoting-style to nil to inhibit unwanted quote translation. * doc/lispref/help.texi (Keys in Documentation): Change text-quoting-style from a variable to a user option. Describe its changed set of values. State that it can be customized freely.
| * Improve handling of iconification of child frames (Bug#28611)Martin Rudalics2017-10-011-1/+41
| | | | | | | | | | | | | | | | | | | | * src/frame.c (Ficonify_frame): Handle `iconify-child-frame' option. (syms_of_frame): New symbols Qiconify_top_level and Qmake_invisible. (iconify_child_frame): New option. * lisp/cus-start.el (iconify-child-frame): Add customization properties. * doc/lispref/frames.texi (Child Frames): Describe new option `iconify-child-frame'. Don't index "top-level frame" twice.
| * Improve documentation of 'copy-sequence'Eli Zaretskii2017-09-301-1/+3
| | | | | | | | | | | | * src/fns.c (Fcopy_sequence): * doc/lispref/sequences.texi (Sequence Functions): Mention the exception when copying an empty sequence. (Bug#28627)
| * Add CAM02 JCh and CAM02-UCS J'a'b' conversionsMark Oteiza2017-09-301-34/+269
| | | | | | | | | | | | | | | | | | | | | | | | * src/lcms.c (rad2deg, parse_jch_list, parse_jab_list, xyz_to_jch): (jch_to_xyz, jch_to_jab, jab_to_jch): New functions. (lcms-jch->xyz, lcms-jch->xyz, lcms-jch->jab, lcms-jab->jch): New Lisp functions. (lcms-cam02-ucs): Refactor. (syms_of_lcms2): Declare new functions. * test/src/lcms-tests.el (lcms-roundtrip, lcms-ciecam02-gold): (lcms-jmh->cam02-ucs-silver): New tests. * etc/NEWS: Mention new functions.
* | * src/editfns.c (Fchar_after): Small optimization.Philipp Stephani2017-10-011-3/+3
| |
* | Make logcount act like CL on negative argPaul Eggert2017-09-301-2/+4
| | | | | | | | | | | | | | | | | | | | | | Behaving like Common Lisp is less likely to lead to surprises, as it yields the same answers on 32- vs 64-bit machines. * doc/lispref/numbers.texi (Bitwise Operations): Document behavior on negative integers. * src/data.c (Flogcount): Behave like Common Lisp for negative arguments. * test/src/data-tests.el (data-tests-popcnt) (data-tests-logcount): Test negative args too.
* | Simplify logcount implementationPaul Eggert2017-09-301-53/+7
| | | | | | | | | | | | * src/data.c (HAVE_BUILTIN_POPCOUNTLL, logcount32, logcount64): Remove. (Flogcount): Simplify by using count_one_bits.
* | Add logcount (Bug#22689)Mark Oteiza2017-09-301-0/+61
| | | | | | | | | | | | | | | | | | | | * doc/lispref/numbers.texi (Bitwise Operations): Add documentation. * etc/NEWS: Mention. * src/data.c (logcount32, logcount64): New functions. (logcount): New Lisp function. (syms_of_data): Declare it. * test/src/data-tests.el (data-tests-popcnt, data-tests-logcount): New test.
* | Merge from origin/emacs-26Paul Eggert2017-09-2944-61/+104
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3ab2f9bbb9 Merge from gnulib cbc8324488 Prefer HTTPS to HTTP for gnu.org bbda601d1d ; Spelling fixes 695cf5300b Wait for frame visibility with timeout in w32term too e1f6e3127a Bring back the busy wait after x_make_frame_visible (Bug#2... bccf635217 ; * src/gtkutil.c (xg_check_special_colors): Add another G... 26d58f0c58 ; Standardize license notices 61225964ed Revert "bug#28609: simple.el" a75ab3b3fb bug#28609: simple.el c7a21430c1 ; * etc/NEWS: Fix last change. 33401b26b1 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e... d4b2bbdc73 Merge branch 'emacs-26' into scratch/org-mode-merge c1ac8c170f Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e... af130f900f Fix ert backtrace saving for non-`signal'ed errors (Bug#28... 7476eeaa23 Revert "Fix build on macOS (bug#28571)" fec63089d5 Fix build on macOS (bug#28571) 0f9a78e770 Add tests for `css-current-defun-name' 88a0dd71f1 In w32fullscreen_hook don't add decorations to undecorated... 18073beb14 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e... 1eef11b7be Fix doc string of 'dired-listing-switches' eaefbc26d5 ; Add files missing in ab351d442d7 ab351d442d Update Org to v9.1.1
| * Prefer HTTPS to HTTP for gnu.orgPaul Eggert2017-09-2942-42/+42
| | | | | | | | | | This catches some URLs I missed in my previous scan, or perhaps were added after the scan.
| * Wait for frame visibility with timeout in w32term tooNoam Postavsky2017-09-291-11/+20
| | | | | | | | | | | | | | | | * src/w32term.c (syms_of_w32term) [x-wait-for-event-timeout]: New variable. (x_make_frame_visible): Wait for frame to become visible according to its value. (input_signal_count): Remove.
| * Bring back the busy wait after x_make_frame_visible (Bug#25521)Noam Postavsky2017-09-291-6/+34
| | | | | | | | | | | | | | | | | | | | But wait specfically for a MapNotify event, and only for a configurable amount of time. * src/xterm.c (syms_of_xterm) [x-wait-for-event-timeout]: New variable. (x_wait_for_event): Use it instead of hardcoding the wait to 0.1s. (x_make_frame_visible): Call x_wait_for_event at the end. * etc/NEWS: Announce x_wait_for_event.
| * ; * src/gtkutil.c (xg_check_special_colors): Add another GTK+ FIXME.Philipp Stephani2017-09-291-0/+4
| |
| * Revert "Fix build on macOS (bug#28571)"Alan Third2017-09-281-9/+0
| | | | | | | | | | | | This reverts commit fec63089d53d2196b0348086aeed70277fbc02c0. Prematurely pushed.
| * Fix build on macOS (bug#28571)Alan Third2017-09-281-0/+9
| | | | | | | | | | * src/conf_post.h (HAVE_FUTIMENS, HAVE_FUTIMESAT, HAVE_UTIMENSAT) [DARWIN_OS]: Undefine.
| * In w32fullscreen_hook don't add decorations to undecorated framesMartin Rudalics2017-09-281-2/+4
| | | | | | | | | | * src/w32term.c (w32fullscreen_hook): Do not add (or try to remove) decorations for undecorated frames.
* | Merge from origin/emacs-26Paul Eggert2017-09-295-18/+43
|\ \ | |/ | | | | | | a3f647c5c8 * src/editfns.c (styled_format): Fix typo in previous change. 0e82fa3416 Avoid some unnecessary copying in Fformat etc.
| * * src/editfns.c (styled_format): Fix typo in previous change.Paul Eggert2017-09-261-1/+0
| |
| * Avoid some unnecessary copying in Fformat etc.Paul Eggert2017-09-265-18/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is just for performance; it should not affect behavior. On my platform, it made the microbenchmark (format "%S" load-path) run about 45% faster. It should also speed up calls like (message "%s" STRING). * src/callint.c (Fcall_interactively): * src/dbusbind.c (XD_OBJECT_TO_STRING): * src/editfns.c (Fmessage, Fmessage_box): * src/xdisp.c (vadd_to_log, Ftrace_to_stderr): Use styled_format instead of Fformat or Fformat_message, to avoid unnecessary copying. * src/editfns.c (styled_format): New arg NEW_RESULT. All uses changed. Reuse an input string if it has the right value and if !NEW_RESULT. * src/lisp.h (style_format): New decl.
* | Merge from origin/emacs-26Paul Eggert2017-09-291-1/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1e5949642a ; * src/gtkutil.c (xg_create_frame_widgets): Add FIXME re.... e7c8da4d05 bug#28609: simple.el 827db6b559 Use a separate syntax-ppss cache for narrowed buffers a2244f417a Improve python3-compatibility of fallback completion (Bug#... 79162cb0db Fix subr-x-tests when running from elc 66d35ae49d * lisp/eshell/esh-util.el (eshell-condition-case): Add deb... f5e72b04d9 Make sh-indentation into an alias for sh-basic-offset (Bug... a58d0c590a Fix loading of smie-config rules (Bug#24848) 3a68dec327 ; Update NEWS for the change in eldoc-message 5a41dd0a1f Reset default-directory inside *xref-grep* buffer 49cd561dc6 * test/lisp/tramp-tests.el (tramp-test21-file-links): Spec... b719f6b20b Loosen strict parsing requirement for desktop files c7a0c13777 * lisp/xdg.el (xdg-thumb-uri): Fix doc string. dc6b3560e5 Fix documentation of `make-frame' and related variables an... 3d3778d82a Accept new `always' value for option `buffer-offer-save' 638f64c40a Improve new NS scrolling variable names d93301242f Document 'replace-buffer-contents' in the manual. 00e4e3e9d2 Fix undecorated frame resizing issues on NS (bug#28512) 820739bbb5 ; * doc/emacs/display.texi (Display Custom): Fix wording. f2b2201594 ; Spelling and URL fixes 0e143b1fc5 Documentation improvements for 'display-line-numbers' f656ccdb43 ; Fix typo d64da52d57 Fix last change in bat-mode.el 908af46abd Fix restoring in GUI sessions desktop saved in TTY sessions 51cbd85454 Improve syntax highlighting in bat-mode 0273916618 Document the 'list-FOO' convention d24ec58540 Expose viewing conditions in CAM02-UCS metric a81d5a3d3f Revert "Set frame size to actual requested size (bug#18215)" 0bf066d4b2 Add tests for Edebug 68baca3ee1 Catch more messages in ert-with-message-capture 28e0c410c9 ; * lisp/mouse.el (secondary-selection-exist-p): Doc fix. 31e1d9ef2f Support setting region from secondary selection and vice v... 047f02f00f Fix new copy-directory bug with empty dirs fbd15836af * doc/lispref/strings.texi (Formatting Strings): Improve i... f16a8d5dbd Fix 2 testsuite tests for MS-Windows 965cffd89c Rename timer-list to list-timers a5fec62b51 Provide native touchpad scrolling on macOS 7b3d1c6beb Fix MinGW64 build broken by recent MinGW64 import libraries c83d0c5fdf Fix crashes in 'move-point-visually' in minibuffer windows 7f3d5f929d * src/emacs.c (usage_message): Don't mention 'find-file'. 6845282200 Fix a minor inaccuracy in the Emacs manual 74d7bb9498 Fix errors in flyspell-post-command-hook 40fdbb01d0 Work on Tramp's file-truename 1a01423b3c Fix bug with make-directory on MS-Windows root 066efb8666 Fix log-view-diff-common when point is after last entry 3f006b56cd Adapt fileio-tests--symlink-failure to Cygwin ee512e9a82 Ignore buffers whose name begins with a space in save-some... 9e1b5bd92c Improve tramp-interrupt-process robustness 8d4223e61b Minor Tramp doc update 331d0e520f Fix gensym 466df76f7d Cleanup in files-tests.el 6359fe630a Remove old cl-assert calls in 'newline' 059184e645 Avoid crash with C-g C-g in GC 541006c536 Fix format-time-string %Z bug with negative tz 679e05eeb9 message-citation-line-format %Z is now tz name 4e8888d438 Use doc-view or pdf-tools on any window-system 5f28f0db73 Fix bug with min and max and NaNs 37b5e661d2 Fix recently-introduced copy-directory bug 6bbbc38b34 Merge from Gnulib 57249fb297 Fix compatibility problem in Tramp 411bec82c4 Avoid GCC 7 compilation warning in eval.c 34a6774daa ; Partially revert c3445aed5194 3003ac0469 Adapt Tramp version. Do not merge 48d39c39e8 Search for Syntax section when viewing MDN 9d101376b4 Allow smerge-keep-current to work for empty hunks 13aba24add Call vc-setup-buffer in vc-git-log-{in,out}going 1d599df5e0 Fix last change to textmodes/page-ext.el a726e09a9a * test/src/lcms-tests.el (lcms-cri-cam02-ucs): Skip if lcm... 546413e1ac * test/src/lcms-tests.el (lcms-whitepoint): Skip if lcms2 ... 96aaeaaffa ; * src/lcms.c: Minor stylistic changes in comments. c3df816585 Fix compilation warning in etags.c
| * ; * src/gtkutil.c (xg_create_frame_widgets): Add FIXME re. X drawingPhilipp Stephani2017-09-261-1/+4
| |
* | Revert "GTK+: Stop querying for background colors."Philipp Stephani2017-09-291-13/+0
| | | | | | | | This reverts commit f6818e761eaafe095e07249180dc8f9a329f1473.
* | Revert "Don't attempt to disable double buffering in newer GTK+ versions"Philipp Stephani2017-09-261-2/+0
| | | | | | | | This reverts commit c0af83b6ccf2dab9a515dd7f52eb9d4500275ae3.
* | Merge from origin/emacs-26Paul Eggert2017-09-2511-63/+269
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 49cd561dc6 * test/lisp/tramp-tests.el (tramp-test21-file-links): Spec... b719f6b20b Loosen strict parsing requirement for desktop files c7a0c13777 * lisp/xdg.el (xdg-thumb-uri): Fix doc string. dc6b3560e5 Fix documentation of `make-frame' and related variables an... 3d3778d82a Accept new `always' value for option `buffer-offer-save' 638f64c40a Improve new NS scrolling variable names d93301242f Document 'replace-buffer-contents' in the manual. 00e4e3e9d2 Fix undecorated frame resizing issues on NS (bug#28512) 820739bbb5 ; * doc/emacs/display.texi (Display Custom): Fix wording. f2b2201594 ; Spelling and URL fixes 0e143b1fc5 Documentation improvements for 'display-line-numbers' f656ccdb43 ; Fix typo d64da52d57 Fix last change in bat-mode.el 908af46abd Fix restoring in GUI sessions desktop saved in TTY sessions 51cbd85454 Improve syntax highlighting in bat-mode 0273916618 Document the 'list-FOO' convention d24ec58540 Expose viewing conditions in CAM02-UCS metric a81d5a3d3f Revert "Set frame size to actual requested size (bug#18215)" 0bf066d4b2 Add tests for Edebug 68baca3ee1 Catch more messages in ert-with-message-capture 28e0c410c9 ; * lisp/mouse.el (secondary-selection-exist-p): Doc fix. 31e1d9ef2f Support setting region from secondary selection and vice v... 047f02f00f Fix new copy-directory bug with empty dirs fbd15836af * doc/lispref/strings.texi (Formatting Strings): Improve i... f16a8d5dbd Fix 2 testsuite tests for MS-Windows 965cffd89c Rename timer-list to list-timers a5fec62b51 Provide native touchpad scrolling on macOS 7b3d1c6beb Fix MinGW64 build broken by recent MinGW64 import libraries c83d0c5fdf Fix crashes in 'move-point-visually' in minibuffer windows 7f3d5f929d * src/emacs.c (usage_message): Don't mention 'find-file'. 6845282200 Fix a minor inaccuracy in the Emacs manual 74d7bb9498 Fix errors in flyspell-post-command-hook 40fdbb01d0 Work on Tramp's file-truename 1a01423b3c Fix bug with make-directory on MS-Windows root 066efb8666 Fix log-view-diff-common when point is after last entry 3f006b56cd Adapt fileio-tests--symlink-failure to Cygwin ee512e9a82 Ignore buffers whose name begins with a space in save-some... 9e1b5bd92c Improve tramp-interrupt-process robustness 8d4223e61b Minor Tramp doc update 331d0e520f Fix gensym 466df76f7d Cleanup in files-tests.el 6359fe630a Remove old cl-assert calls in 'newline' 059184e645 Avoid crash with C-g C-g in GC 541006c536 Fix format-time-string %Z bug with negative tz 679e05eeb9 message-citation-line-format %Z is now tz name 4e8888d438 Use doc-view or pdf-tools on any window-system 5f28f0db73 Fix bug with min and max and NaNs 37b5e661d2 Fix recently-introduced copy-directory bug 6bbbc38b34 Merge from Gnulib 57249fb297 Fix compatibility problem in Tramp 411bec82c4 Avoid GCC 7 compilation warning in eval.c 34a6774daa ; Partially revert c3445aed5194
| * Improve new NS scrolling variable namesAlan Third2017-09-241-14/+14
| | | | | | | | | | | | | | | | | | * src/nsterm.m (ns-use-system-mwheel-acceleration): Replace with 'ns-use-mwheel-acceleration'. (ns-touchpad-scroll-line-height): Replace with 'ns-mwheel-line-height'. (ns-touchpad-use-momentum): Replace with 'ns-use-mwheel-momentum'. * etc/NEWS: Change variable names.
| * Fix undecorated frame resizing issues on NS (bug#28512)Alan Third2017-09-231-5/+6
| | | | | | | | | | | | * src/nsterm.m (EmacsView::updateFrameSize): Don't wait for the toolbar on undecorated frames. (EmacsView::initFrameFromEmacs): Group window flags correctly.
| * Expose viewing conditions in CAM02-UCS metricMark Oteiza2017-09-211-23/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add tests from the colorspacious library. Finally, catch an errant calculation, where degrees were not being converted to radians. * src/lcms.c (deg2rad, default_viewing_conditions): (parse_viewing_conditions): New functions. (lcms-cam02-ucs): Add comments pointing to references used. Expand the docstring and explain viewing conditions. JCh hue is given in degrees and needs to be converted to radians. (lcms-d65-xyz): Remove. No need to duplicate this in Lisp or make the API needlessly impure. * test/src/lcms-tests.el: Reword commentary. (lcms-rgb255->xyz): New function. (lcms-cri-cam02-ucs): Fix let-binding. (lcms-dE-cam02-ucs-silver): New test, assimilated from colorspacious.
| * Revert "Set frame size to actual requested size (bug#18215)"Alan Third2017-09-211-2/+2
| | | | | | | | | | | | This reverts commit d31cd79b40dbd5459b16505a4ee4340210499277. See bug#28536. I misunderstood bug#18215. It wasn't a bug.
| * Provide native touchpad scrolling on macOSAlan Third2017-09-193-14/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Describe changes. * lisp/term/ns-win.el (mouse-wheel-scroll-amount, mouse-wheel-progressive-speed): Set to smarter values for macOS touchpads. * src/nsterm.m (emacsView::mouseDown): Use precise scrolling deltas to calculate scrolling for touchpads and mouse wheels. (syms_of_nsterm): Add variables 'ns-use-system-mwheel-acceleration', 'ns-touchpad-scroll-line-height' and 'ns-touchpad-use-momentum'. * src/keyboard.c (make_lispy_event): Pass on .arg when relevant. * src/termhooks.h (event_kind): Update comments re. WHEEL_EVENT. * lisp/mwheel.el (mwheel-scroll): Use line count. * lisp/subr.el (event-line-count): New function.
| * Fix MinGW64 build broken by recent MinGW64 import librariesEli Zaretskii2017-09-191-1/+1
| | | | | | | | | | | | | | | | * configure.ac (W32_LIBS): Put -lusp10 before -lgdi32, as latest MinGW64 import libraries require that. (Bug#28493) * src/Makefile.in: Adjust commentary to the new order of w32 libraries.
| * Fix crashes in 'move-point-visually' in minibuffer windowsEli Zaretskii2017-09-191-2/+2
| | | | | | | | | | | | * src/xdisp.c (Fmove_point_visually): Fix off-by-one error in comparing against the last valid glyph_row of a window glyph matrix. (Bug#28505)
| * * src/emacs.c (usage_message): Don't mention 'find-file'.Eli Zaretskii2017-09-191-4/+4
| |
| * Avoid crash with C-g C-g in GCPaul Eggert2017-09-171-4/+8
| | | | | | | | | | | | | | Problem reported by Richard Stallman (Bug#17406). Based on fix suggested by Eli Zaretskii (Bug#28279#16). * src/term.c (tty_send_additional_strings): Use only safe accessors, to avoid crash when C-g C-g in GC.
| * Fix format-time-string %Z bug with negative tzPaul Eggert2017-09-171-1/+2
| | | | | | | | | | | | | | * src/editfns.c (tzlookup): Fix sign error in %Z when a purely numeric zone is negative (Bug#28746). * test/src/editfns-tests.el (format-time-string-with-zone): Add test for this bug.
| * Fix bug with min and max and NaNsPaul Eggert2017-09-171-6/+6
| | | | | | | | | | | | * src/data.c (minmax_driver): Fix bug with (min 0 NaN), which mistakenly yielded 0. Also, pacify GCC in a better way. * test/src/data-tests.el (data-tests-min): Test for the bug.
| * Avoid GCC 7 compilation warning in eval.cEli Zaretskii2017-09-171-1/+1
| | | | | | | | | | | | * src/eval.c (push_handler_nosignal): Use CACHEABLE to work around GCC compilation warning. Suggested by Paul Eggert <eggert@cs.ucla.edu> in http://lists.gnu.org/archive/html/emacs-devel/2017-09/msg00492.html.
* | Merge from origin/emacs-26Paul Eggert2017-09-252-12/+14
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 96aaeaaffa ; * src/lcms.c: Minor stylistic changes in comments. c3df816585 Fix compilation warning in etags.c 5490ccc5eb Add lisp variable lcms-d65-xyz dee96f4a17 * lisp/emacs-lisp/cl-macs.el (cl-letf): Fix Edebug spec (b... 12e864eb30 Avoid MinGW64 compiler warnings in unexw32.c 625cee5316 Start emacs-26 release branch # Conflicts: # README # configure.ac # msdos/sed2v2.inp # nt/README.W32
| * ; * src/lcms.c: Minor stylistic changes in comments.Eli Zaretskii2017-09-161-4/+4
| |
| * Add lisp variable lcms-d65-xyzMark Oteiza2017-09-161-8/+10
| | | | | | | | | | | | | | | | | | | | This serves as the default optional argument for functions in this library. * src/lcms.c (lcms-d65-xyz): New variable. (lcms-cam02-ucs): Use it. Use better word in docstring. Fix bug color1 -> color2. * test/src/lcms-tests.el: Add some tests for lcms-cri-cam02-ucs. (lcms-colorspacious-d65): New variable.
| * Avoid MinGW64 compiler warnings in unexw32.cAndy Moreton2017-09-161-1/+1
| | | | | | | | | | * src/unexw32.c (pDWP) [MINGW_W64]: Define to "16llx" only for the 64-bit build.
* | Don't attempt to disable double buffering in newer GTK+ versionsPhilipp Stephani2017-09-231-0/+2
| | | | | | | | | | * src/gtkutil.c (xg_create_frame_widgets): Stop calling deprecated function gtk_widget_set_double_buffered.
* | GTK+: Stop querying for background colors.Philipp Stephani2017-09-231-0/+13
| | | | | | | | | | | | * src/gtkutil.c (xg_check_special_colors): Don't call deprecated function gtk_style_context_get_background_color in newer versions of GTK+.
* | GTK+: stop calling 'gtk_window_set_wmclass' in new versionsPhilipp Stephani2017-09-231-0/+2
| | | | | | | | | | * src/gtkutil.c (xg_create_frame_widgets): Stop calling deprecated function 'gtk_window_set_wmclass' in GTK+ 3.22.
* | GTK+: Use a style provider instead of deprecated functionPhilipp Stephani2017-09-231-6/+13
| | | | | | | | | | * src/gtkutil.c (xg_set_widget_bg): Use a CSS style provider instead of the deprecated gtk_widget_override_background_color.
* | Don't call deprecated GTK function gtk_adjustment_changedPhilipp Stephani2017-09-191-0/+4
| | | | | | | | | | | | | | * src/gtkutil.c (xg_set_toolkit_scroll_bar_thumb) (xg_set_toolkit_horizontal_scroll_bar_thumb): Remove calls to deprecated function gtk_adjustment_changed. This function has been deprecated since GTK+ 3.18.
* | Revert "Implement native JSON support using Jansson"Philipp Stephani2017-09-184-486/+3
| | | | | | | | This reverts commit cb99cf5a99680af7dc2c49fdf5b840d1ff4dd928.
* | Implement native JSON support using JanssonPhilipp Stephani2017-09-184-3/+486
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: New option --with-json. * src/json.c (Fjson_serialize, Fjson_insert, Fjson_parse_string) (Fjson_parse_buffer): New defuns. (json_out_of_memory, json_parse_error, json_release_object) (check_string_without_embedded_nulls, json_check, lisp_to_json) (json_insert, json_insert_callback, json_to_lisp) (json_read_buffer_callback, Fjson_parse_buffer, define_error): New helper function. (syms_of_json): New file. * src/lisp.h: Declaration for syms_of_json. * src/emacs.c (main): Enable JSON functions. * src/Makefile.in (JSON_LIBS, JSON_CFLAGS, JSON_OBJ, EMACS_CFLAGS) (base_obj, LIBES): Compile json.c if --with-json is enabled. * test/src/json-tests.el (json-serialize/roundtrip) (json-serialize/object, json-parse-string/object): New unit tests.
* | Increment Emacs version to 27.0.50Eli Zaretskii2017-09-161-1/+1
|/ | | | | | | | | | | * README: * configure.ac: * nt/README.W32: * src/msdos.c (internal_terminal_init): * msdos/sed2v2.inp: * etc/refcards/ru-refcard.tex: Increment Emacs version to 27.0.50. * etc/NEWS: New file with sections for Emacs 27.1. * etc/NEWS.26: Renamed from etc/NEWS.
* Fix order of sorted overlays returned by 'overlays-at'Eli Zaretskii2017-09-161-0/+6
| | | | | | | | * src/buffer.c (Foverlays_at): If SORTED is non-nil, reverse the list of results, to have their order as per the documentation. (Bug#28390) * etc/NEWS: Mention the change in the behavior of overlays-at.
* Disable execution of unsafe Lisp by Enriched Text modeEli Zaretskii2017-09-161-9/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (handle_display_spec): If the display property is wrapped in 'disable-eval' form, disable Lisp evaluation while processing this property. (handle_single_display_spec): Accept new argument ENABLE_EVAL_P. If that argument is false, don't evaluate Lisp while processing display properties. * lisp/textmodes/enriched.el (enriched-allow-eval-in-display-props): New defcustom. (enriched-decode-display-prop): If enriched-allow-eval-in-display-props is nil, wrap the display property with 'disable-eval' to disable Lisp evaluation when the display property is processed for display. (Bug#28350) * lisp/gnus/mm-view.el (mm-inline-text): Re-enable processing of enriched text. * doc/lispref/display.texi (Display Property): Document the 'disable-eval' wrapping of 'display' properties. * doc/emacs/text.texi (Enriched Properties): Document 'enriched-allow-eval-in-display-props'. * etc/NEWS: Describe the security issues with Enriched Text mode and their solution.