diff options
| author | Glenn Morris | 2015-11-15 06:26:33 -0500 |
|---|---|---|
| committer | Glenn Morris | 2015-11-15 06:26:33 -0500 |
| commit | 70f1fda4ae6abb5e11dcf281738c25f6f5b06061 (patch) | |
| tree | 160bfa815470e65390a4d590254c5ea29049de30 | |
| parent | ae0653b5ab9ee223751ec389b87011963e1cbbef (diff) | |
| download | emacs-70f1fda4ae6abb5e11dcf281738c25f6f5b06061.tar.gz emacs-70f1fda4ae6abb5e11dcf281738c25f6f5b06061.zip | |
; Auto-commit of ChangeLog files.
| -rw-r--r-- | ChangeLog.2 | 1048 |
1 files changed, 1047 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2 index 3636e382eb2..754e08731d0 100644 --- a/ChangeLog.2 +++ b/ChangeLog.2 | |||
| @@ -1,3 +1,1049 @@ | |||
| 1 | 2015-11-14 Xue Fuqiao <xfq.free@gmail.com> | ||
| 2 | |||
| 3 | * CONTRIBUTE: Remove information about feature freeze. | ||
| 4 | |||
| 5 | Merge branch 'release-process-lowercase' | ||
| 6 | |||
| 7 | 2015-11-14 Xue Fuqiao <xfq.free@gmail.com> | ||
| 8 | |||
| 9 | Document the release process | ||
| 10 | |||
| 11 | * admin/notes/versioning: Add information about RC releases. | ||
| 12 | * admin/release-process: Document the release process. | ||
| 13 | * admin/authors.el (authors-ignored-files): | ||
| 14 | * admin/README: Change FOR-RELEASE to release-process. | ||
| 15 | * CONTRIBUTE: | ||
| 16 | * admin/notes/bugtracker: Don't mention FOR-RELEASE. | ||
| 17 | |||
| 18 | 2015-11-14 Xue Fuqiao <xfq.free@gmail.com> | ||
| 19 | |||
| 20 | * admin/release-process: Rename from admin/FOR-RELEASE. | ||
| 21 | |||
| 22 | 2015-11-14 David Engster <deng@randomsample.de> | ||
| 23 | |||
| 24 | gitmerge: Fix git log command | ||
| 25 | |||
| 26 | * admin/gitmerge.el (gitmerge-missing): Use '--left-only' since we | ||
| 27 | only want commits from the branch that is to be merged. | ||
| 28 | (gitmerge-setup-log-buffer): Use the same symmetric range as in | ||
| 29 | `gitmerge-missing'. | ||
| 30 | |||
| 31 | 2015-11-14 David Engster <deng@randomsample.de> | ||
| 32 | |||
| 33 | gitmerge: Try to detect cherry-picks | ||
| 34 | |||
| 35 | * admin/gitmerge.el (gitmerge-default-branch): Change to | ||
| 36 | origin/emacs-25. | ||
| 37 | (gitmerge-missing): Use symmetric difference ('...') between | ||
| 38 | branch and master so that cherry-picks can be detected. | ||
| 39 | |||
| 40 | 2015-11-14 Eli Zaretskii <eliz@gnu.org> | ||
| 41 | |||
| 42 | Increment Emacs version on master branch | ||
| 43 | |||
| 44 | * lisp/cus-edit.el (customize-changed-options-previous-release): | ||
| 45 | Increase previous version to 24.5. | ||
| 46 | |||
| 47 | * configure.ac: | ||
| 48 | * msdos/sed2v2.inp: Bump version to 25.1.50. | ||
| 49 | |||
| 50 | 2015-11-14 Xue Fuqiao <xfq.free@gmail.com> | ||
| 51 | |||
| 52 | Mention CONTRIBUTE in README | ||
| 53 | |||
| 54 | Mention CONTRIBUTE in README, since it was moved from etc/ to root. | ||
| 55 | * etc/TODO: Remove the reference to `etc/CONTRIBUTE'. | ||
| 56 | * README: Mention CONTRIBUTE. | ||
| 57 | |||
| 58 | 2015-11-13 Wilson Snyder <wsnyder@wsnyder.org> | ||
| 59 | |||
| 60 | Update verilog-mode.el to 2015-11-09-b121d60-vpo. | ||
| 61 | |||
| 62 | * verilog-mode.el (verilog-auto, verilog-delete-auto) | ||
| 63 | (verilog-modi-cache-results, verilog-save-buffer-state) | ||
| 64 | (verilog-save-font-no-change-functions): When internally suppressing change | ||
| 65 | functions, use `inhibit-modification-hooks' and call | ||
| 66 | `after-change-funtions' to more nicely work with user hooks. Reported by | ||
| 67 | Stefan Monnier. | ||
| 68 | |||
| 69 | (verilog-auto, verilog-delete-auto, verilog-delete-auto-buffer): | ||
| 70 | Create `verilog-delete-auto-buffer' to avoid double-calling | ||
| 71 | fontification hooks. | ||
| 72 | |||
| 73 | (verilog-restore-buffer-modified-p, verilog-auto) | ||
| 74 | (verilog-save-buffer-state): Prefer restore-buffer-modified-p over | ||
| 75 | set-buffer-modified-p. Reported by Stefan Monnier. | ||
| 76 | |||
| 77 | (verilog-diff-auto, verilog-diff-buffers-p) | ||
| 78 | (verilog-diff-ignore-regexp): Add `verilog-diff-ignore-regexp'. | ||
| 79 | |||
| 80 | (verilog-auto-inst-port, verilog-read-sub-decls-expr): Fix | ||
| 81 | AUTOINST with unpacked dimensional parameters, bug981. Reported by | ||
| 82 | by Amol Nagapurkar. | ||
| 83 | |||
| 84 | (verilog-read-decls, verilog-read-sub-decls-line): Avoid unneeded | ||
| 85 | properties inside internal structures. No functional change | ||
| 86 | intended. | ||
| 87 | |||
| 88 | 2015-11-13 Dmitry Gutov <dgutov@yandex.ru> | ||
| 89 | |||
| 90 | Use generic dispatch for xref backends | ||
| 91 | |||
| 92 | * lisp/progmodes/xref.el (xref-backend-functions): | ||
| 93 | New variable. | ||
| 94 | (xref-find-function): Remove. | ||
| 95 | (xref-find-backend) | ||
| 96 | (xref--etags-backend): New functions. | ||
| 97 | (xref-identifier-at-point-function) | ||
| 98 | (xref-identifier-completion-table-function): Remove. | ||
| 99 | (xref-backend-definitions, xref-backend-references) | ||
| 100 | (xref-backend-apropos, xref-backend-identifier-at-point) | ||
| 101 | (xref-backend-identifier-completion-table): | ||
| 102 | New generic functions. | ||
| 103 | |||
| 104 | * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add | ||
| 105 | `elisp--xref-backend' to the beginning of | ||
| 106 | `xref-backend-functions', locally. Delete references to | ||
| 107 | removed functions and vars. | ||
| 108 | (elisp-xref-find): Remove. | ||
| 109 | (elisp--xref-backend): New function. | ||
| 110 | (elisp--xref-find-references, elisp--xref-find-apropos) | ||
| 111 | (elisp--xref-identifier-completion-table): | ||
| 112 | Turn into appropriately named generic methods. | ||
| 113 | |||
| 114 | * lisp/progmodes/etags.el (etags-xref-find): Remove. | ||
| 115 | (xref-backend-identifier-completion-table) | ||
| 116 | (xref-backend-references, xref-backend-definitions) | ||
| 117 | (xref-backend-apropos): New generic methods. | ||
| 118 | |||
| 119 | 2015-11-13 Juri Linkov <juri@linkov.net> | ||
| 120 | |||
| 121 | Support rectangular regions for more commands | ||
| 122 | |||
| 123 | * lisp/simple.el (region-extract-function): Handle the arg value ‘bounds’. | ||
| 124 | (region-insert-function): New function. | ||
| 125 | (shell-command-on-region): Add arg ‘region-noncontiguous-p’. | ||
| 126 | If non-nil, operate on multiple chunks. | ||
| 127 | (region-noncontiguous-p): New function. | ||
| 128 | |||
| 129 | * lisp/rect.el: Add function rectangle--insert-region | ||
| 130 | around region-insert-function. | ||
| 131 | (extract-rectangle-bounds): New function. | ||
| 132 | (rectangle--extract-region): Handle the arg value ‘bounds’. | ||
| 133 | (rectangle--insert-region): New function. | ||
| 134 | |||
| 135 | * lisp/emulation/cua-rect.el: Add function cua--insert-rectangle | ||
| 136 | around region-insert-function. | ||
| 137 | (cua--extract-rectangle-bounds): New function. | ||
| 138 | (cua--rectangle-region-extract): Handle the arg value ‘bounds’. | ||
| 139 | |||
| 140 | * lisp/replace.el (query-replace, query-replace-regexp): Add arg | ||
| 141 | ‘region-noncontiguous-p’. Use ‘use-region-p’. | ||
| 142 | (query-replace-regexp-eval, map-query-replace-regexp) | ||
| 143 | (replace-string, replace-regexp): Use ‘use-region-p’. | ||
| 144 | (keep-lines, flush-lines, how-many): Use ‘use-region-p’. | ||
| 145 | (perform-replace): Add arg ‘region-noncontiguous-p’. | ||
| 146 | If non-nil, operate on multiple chunks. | ||
| 147 | |||
| 148 | * src/casefiddle.c (Fdowncase_region): Add arg ‘region-noncontiguous-p’. | ||
| 149 | If non-nil, operate on multiple chunks. (Bug#19829) | ||
| 150 | |||
| 151 | 2015-11-13 Dmitry Gutov <dgutov@yandex.ru> | ||
| 152 | |||
| 153 | Handle multiple matches on the same line; add highlighting | ||
| 154 | |||
| 155 | * lisp/progmodes/xref.el (xref-location-marker): Interpret the | ||
| 156 | column value in characters. | ||
| 157 | (xref--collect-matches): Rename from `xref--collect-match'. | ||
| 158 | Search for all matches in the hit line. Add `highlight' face to | ||
| 159 | the matched region in the summary. Update both callers. | ||
| 160 | |||
| 161 | 2015-11-13 Dmitry Gutov <dgutov@yandex.ru> | ||
| 162 | |||
| 163 | Replace xref-match-bounds with xref-match-length | ||
| 164 | |||
| 165 | Relying on xref-location-marker to point to the beginning of the match | ||
| 166 | |||
| 167 | * lisp/progmodes/xref.el (xref-match-bounds): Remove. | ||
| 168 | (xref-match-length): Add. | ||
| 169 | (xref-make-match): Change the arguments. | ||
| 170 | (xref--match-buffer-bounds): Remove. | ||
| 171 | (xref-match-item): Store length, instead of end-column. | ||
| 172 | (xref-pulse-momentarily) | ||
| 173 | (xref--collect-match) | ||
| 174 | (xref--query-replace-1): Update accordingly. | ||
| 175 | (xref-query-replace): Ditto. And check that the search results | ||
| 176 | are up-to-date. | ||
| 177 | |||
| 178 | 2015-11-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 179 | |||
| 180 | Merge from gnulib | ||
| 181 | |||
| 182 | This incorporates: | ||
| 183 | 2015-11-13 xalloc-oversized: improve performance with GCC 5 | ||
| 184 | * lib/xalloc-oversized.h: Copy from gnulib. | ||
| 185 | |||
| 186 | 2015-11-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 187 | |||
| 188 | Spruce up ftfont.c memory allocation | ||
| 189 | |||
| 190 | * src/ftfont.c (setup_otf_gstring): | ||
| 191 | Avoid O(N**2) behavior when reallocating. | ||
| 192 | (ftfont_shape_by_flt): Prefer xpalloc to xrealloc when | ||
| 193 | reallocating buffers; this simplifies the code. Do not trust | ||
| 194 | mflt_run to leave the output areas unchanged on failure, as | ||
| 195 | this isn’t part of its interface spec. | ||
| 196 | |||
| 197 | 2015-11-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 198 | |||
| 199 | Port recent XCB changes to 64-bit ‘long int’ | ||
| 200 | |||
| 201 | For historical reasons, libX11 represents 32-bit values like Atoms as | ||
| 202 | ‘long int’ even on platforms where ‘long int’ is 64 bits. XCB doesn’t | ||
| 203 | do that, so adapt the recent XCB code to behave properly on 64-bit | ||
| 204 | platforms. Also, fix what appears to be a bug in the interpretation | ||
| 205 | of xcb_get_property_value_length, at least on my Fedora platform | ||
| 206 | which is running libxcb-1.11-5.fc21. | ||
| 207 | * src/xfns.c (x_real_pos_and_offsets): | ||
| 208 | * src/xterm.c (get_current_wm_state): | ||
| 209 | xcb_get_property_value_length returns a byte count, not a word count. | ||
| 210 | For 32-bit quantities, xcb_get_property_value returns a vector | ||
| 211 | of 32-bit words, not of (possibly 64-bit) long int. | ||
| 212 | |||
| 213 | 2015-11-13 Paul Eggert <eggert@cs.ucla.edu> | ||
| 214 | |||
| 215 | * src/undo.c (run_undoable_change): Now static. | ||
| 216 | |||
| 217 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 218 | |||
| 219 | Remove support for ':timeout' from w32 tray notifications | ||
| 220 | |||
| 221 | * src/w32fns.c (Fw32_notification_notify): Delete the code that | ||
| 222 | supports ':timeout'. | ||
| 223 | (syms_of_w32fns): Don't DEFSYM ':timeout'. This avoids clashes | ||
| 224 | with dbusbind.c when D-Bus is compiled in. | ||
| 225 | |||
| 226 | * doc/lispref/os.texi (Desktop Notifications): Don't mention | ||
| 227 | ':timeout'. | ||
| 228 | |||
| 229 | 2015-11-13 Juanma Barranquero <lekktu@gmail.com> | ||
| 230 | |||
| 231 | * test/automated/simple-test.el: Add test for bug#20698 (bug#21885) | ||
| 232 | |||
| 233 | (simple-test--transpositions): New macro. | ||
| 234 | (simple-transpose-subr): New test. | ||
| 235 | |||
| 236 | 2015-11-13 Juanma Barranquero <lekktu@gmail.com> | ||
| 237 | |||
| 238 | * lisp/progmodes/elisp-mode.el: Declare function `project-roots' | ||
| 239 | |||
| 240 | 2015-11-13 Juanma Barranquero <lekktu@gmail.com> | ||
| 241 | |||
| 242 | * src/undo.c: Small fixes for previous change | ||
| 243 | |||
| 244 | (run_undoable_change): Mark void argument list. | ||
| 245 | (record_property_change): Remove unused variable `boundary'. | ||
| 246 | |||
| 247 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 248 | |||
| 249 | Add a few more variables to redisplay--variables | ||
| 250 | |||
| 251 | * lisp/frame.el (redisplay--variables): Add bidi-paragraph-direction | ||
| 252 | and bidi-display-reordering to the list. | ||
| 253 | |||
| 254 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 255 | |||
| 256 | * lisp/loadup.el: Enlarge the size of the hash table to 80000. | ||
| 257 | |||
| 258 | 2015-11-13 Eli Barzilay <eli@barzilay.org> | ||
| 259 | |||
| 260 | Fix point positioning after transposing with negative arg | ||
| 261 | |||
| 262 | * lisp/simple.el (transpose-subr): When invoked with a negative | ||
| 263 | argument, move point to after the transposed text, like we do | ||
| 264 | when invoked with a positive argument. (Bug#21885) | ||
| 265 | |||
| 266 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 267 | |||
| 268 | Fix last change in shr.el | ||
| 269 | |||
| 270 | * lisp/net/shr.el (shr--have-one-fringe-p): Rename from | ||
| 271 | have-fringes-p. All callers changed. Doc fix. (Bug#21895) | ||
| 272 | |||
| 273 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 274 | |||
| 275 | Fix last change | ||
| 276 | |||
| 277 | * src/w32fns.c (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: | ||
| 278 | Don't DEFSYM tray notification symbols if D-Bus is being used. | ||
| 279 | |||
| 280 | 2015-11-13 Eli Zaretskii <eliz@gnu.org> | ||
| 281 | |||
| 282 | Another fix for MinGW64 and Cygwin builds due to notifications | ||
| 283 | |||
| 284 | * src/w32fns.c: Ifdef away tray notification code if D-Bus is | ||
| 285 | being compiled into Emacs. | ||
| 286 | (syms_of_w32fns) [WINDOWSNT && !HAVE_DBUS]: Don't defsubr | ||
| 287 | Sw32_notification_notify and Sw32_notification_close if the code | ||
| 288 | is not compiled. Reported by Andy Moreton <andrewjmoreton@gmail.com>. | ||
| 289 | |||
| 290 | 2015-11-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | ||
| 291 | |||
| 292 | Remove intern calls and XXX comments from Fx_export_frames | ||
| 293 | |||
| 294 | * src/xfns.c (Fx_export_frames): Use Qpdf, Qpng, Qpostscript, and | ||
| 295 | Qsvg instead of intern calls. Use "postscript" instead of "ps" | ||
| 296 | for consistency with image types. Remove XXX comments. | ||
| 297 | (syms_of_xfns) <Qpdf>: DEFSYM it. | ||
| 298 | |||
| 299 | 2015-11-12 Eric Hanchrow <eric.hanchrow@gmail.com> | ||
| 300 | |||
| 301 | shr: don't invoke unbound function (Bug#21895) | ||
| 302 | |||
| 303 | * lisp/net/shr.el (have-fringes-p): New function. | ||
| 304 | (shr-insert-document, shr-fill-text): Use it. | ||
| 305 | |||
| 306 | 2015-11-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 307 | |||
| 308 | * test/automated/keymaps-test.el: Fix test to make it repeatable | ||
| 309 | |||
| 310 | (keymap-store_in_keymap-FASTINT-on-nonchars): Reset Buffer-menu-mode-map | ||
| 311 | entry to its initial value to make the test repeatable in interactive | ||
| 312 | sessions (assuming it doesn't fail and crashes Emacs, of course). | ||
| 313 | |||
| 314 | 2015-11-12 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 315 | |||
| 316 | * test/automated/cl-lib-tests.el (cl-lib-struct-constructors): Small fix | ||
| 317 | |||
| 318 | 2015-11-12 Phillip Lord <phillip.lord@russet.org.uk> | ||
| 319 | |||
| 320 | : Tests for undo-auto functionality. | ||
| 321 | |||
| 322 | 2015-11-12 Phillip Lord <phillip.lord@newcastle.ac.uk> | ||
| 323 | |||
| 324 | The heuristic that Emacs uses to add an `undo-boundary' has been | ||
| 325 | reworked, as it interacts poorly with functions on `post-command-hook' | ||
| 326 | or `after-change-functions'. | ||
| 327 | |||
| 328 | * lisp/simple.el: New section added. | ||
| 329 | * src/cmds.c (remove_excessive_undo_boundaries): Now in lisp. | ||
| 330 | (self_insert_command): Calls simple.el to amalgamate. | ||
| 331 | (delete_char): Calls simple.el to amalgamate. | ||
| 332 | * src/keyboard.c (last_undo_boundary): Removed. | ||
| 333 | * src/undo.c (run_undoable_change): New function. | ||
| 334 | |||
| 335 | 2015-11-12 Juri Linkov <juri@linkov.net> | ||
| 336 | |||
| 337 | Bind [?\S-\ ] to previous line command in Dired-like modes. | ||
| 338 | |||
| 339 | * lisp/arc-mode.el (archive-mode-map): | ||
| 340 | * lisp/dired.el (dired-mode-map): | ||
| 341 | * lisp/proced.el (proced-mode-map): | ||
| 342 | * lisp/vc/vc-dir.el (vc-dir-mode-map): | ||
| 343 | Bind [?\S-\ ] to previous line command. | ||
| 344 | (Bug#20790) | ||
| 345 | |||
| 346 | 2015-11-12 Eli Zaretskii <eliz@gnu.org> | ||
| 347 | |||
| 348 | Fix the MinGW64 and Cygwin-w32 builds | ||
| 349 | |||
| 350 | * src/w32fns.c (MYNOTIFYICONDATAW_V1_SIZE) | ||
| 351 | (MYNOTIFYICONDATAW_V2_SIZE, MYNOTIFYICONDATAW_V3_SIZE): Define and | ||
| 352 | use instead of the corresponding NOTIFYICONDATAW_Vn_SIZE macros, | ||
| 353 | which cause trouble with MinGW42 headers. Ifdef away tray | ||
| 354 | notifications code for Cygwin. Reported by Andy Moreton | ||
| 355 | <andrewjmoreton@gmail.com>. | ||
| 356 | |||
| 357 | 2015-11-12 Simen Heggestøyl <simenheg@gmail.com> | ||
| 358 | |||
| 359 | Enable sorting of JSON object keys when encoding | ||
| 360 | |||
| 361 | * lisp/json.el (json-encoding-object-sort-predicate): New variable for | ||
| 362 | specifying a sorting predicate for JSON objects during encoding. | ||
| 363 | (json--plist-to-alist): New utility function. | ||
| 364 | (json-encode-hash-table): Re-use `json-encode-alist' when object keys | ||
| 365 | are to be sorted. | ||
| 366 | (json-encode-alist): Sort output by | ||
| 367 | `json-encoding-object-sort-predicate, when set. | ||
| 368 | (json-encode-plist): Re-use `json-encode-alist' when object keys are | ||
| 369 | to be sorted. | ||
| 370 | (json-pretty-print-buffer-ordered): New command to pretty print the | ||
| 371 | buffer with object keys sorted alphabetically. | ||
| 372 | (json-pretty-print-ordered): New command to pretty print the region with | ||
| 373 | object keys sorted alphabetically. | ||
| 374 | |||
| 375 | * test/automated/json-tests.el (test-json-plist-to-alist) | ||
| 376 | (test-json-encode-plist, test-json-encode-hash-table) | ||
| 377 | (test-json-encode-alist-with-sort-predicate) | ||
| 378 | (test-json-encode-plist-with-sort-predicate): New tests. | ||
| 379 | |||
| 380 | * etc/NEWS: Add an entry for the new commands. | ||
| 381 | |||
| 382 | 2015-11-12 Juanma Barranquero <lekktu@gmail.com> | ||
| 383 | |||
| 384 | * test/automated/keymap-tests.el: New test file | ||
| 385 | |||
| 386 | 2015-11-12 Ken Raeburn <raeburn@raeburn.org> | ||
| 387 | |||
| 388 | Speed up x_real_pos_and_offsets using XCB | ||
| 389 | |||
| 390 | * src/xfns.c (x_real_pos_and_offsets) [USE_XCB]: Add XCB flavors of | ||
| 391 | all X calls, and pipeline requests when possible, collecting results | ||
| 392 | later. Eliminate use of x_catch_errors (and thus XSync) in XCB case. | ||
| 393 | |||
| 394 | 2015-11-12 Ken Raeburn <raeburn@raeburn.org> | ||
| 395 | |||
| 396 | Enable use of XCB for checking window manager state | ||
| 397 | |||
| 398 | * src/xterm.c (get_current_wm_state) [USE_XCB]: Use XCB calls instead | ||
| 399 | of XGetWindowProperty plus error-catching, since we can explicitly | ||
| 400 | check for errors in the XCB version. This eliminates 3 XSync calls on | ||
| 401 | top of the round-trip actually fetching the information. | ||
| 402 | |||
| 403 | 2015-11-12 Ken Raeburn <raeburn@raeburn.org> | ||
| 404 | |||
| 405 | Detect XCB and save a connection handle | ||
| 406 | |||
| 407 | * configure.ac: If using X11, check for XCB libraries and header. | ||
| 408 | * src/Makefile.in (XCB_LIBS): Define. | ||
| 409 | (LIBX_EXTRA): Include it. | ||
| 410 | |||
| 411 | * src/xterm.h [USE_XCB]: Include X11/Xlib-xcb.h. | ||
| 412 | (struct x_display_info) [USE_XCB]: Add an XCB connection handle field. | ||
| 413 | * src/xterm.c (x_term_init) [USE_XCB]: Initialize the new field. | ||
| 414 | |||
| 415 | 2015-11-12 Ken Raeburn <raeburn@raeburn.org> | ||
| 416 | |||
| 417 | Reduce some data dependencies between X calls | ||
| 418 | |||
| 419 | Gains nothing in the traditional-Xlib code, but more closely aligns | ||
| 420 | with how the XCB version will work. | ||
| 421 | |||
| 422 | * src/xfns.c (x_real_pos_and_offsets): When translating coordinates, | ||
| 423 | send coordinates (0,0) to the X server and add in the real coordinates | ||
| 424 | after getting the response. Move XGetGeometry for outer window inside | ||
| 425 | error-trapping block. Use DPY variable more, since it's available. | ||
| 426 | |||
| 427 | 2015-11-12 Ken Raeburn <raeburn@raeburn.org> | ||
| 428 | |||
| 429 | Use color cache for creating bitmap | ||
| 430 | |||
| 431 | * src/image.c (x_create_bitmap_from_xpm_data) [ALLOC_XPM_COLORS]: Set | ||
| 432 | attributes to use the caching color allocator. Initialize and free | ||
| 433 | the cache. | ||
| 434 | |||
| 435 | 2015-11-12 Eli Barzilay <eli@barzilay.org> | ||
| 436 | |||
| 437 | Add "^" to the interactive specs of `dired-next/previous-line' | ||
| 438 | |||
| 439 | * lisp/dired.el (dired-next-line, dired-previous-line): It makes sense | ||
| 440 | to bind these commands to the arrow keys, and that means that they work | ||
| 441 | better with a "^" in the `interactive' declaration so selection works | ||
| 442 | as expected. | ||
| 443 | |||
| 444 | 2015-11-11 Thomas Fitzsimmons <fitzsim@fitzsim.org> | ||
| 445 | |||
| 446 | Sync with soap-client repository, version 3.0.2 | ||
| 447 | |||
| 448 | * soap-client.el: Bump version to 3.0.2. | ||
| 449 | |||
| 450 | * soap-client.el (soap-warning): Use format, not format-message. | ||
| 451 | |||
| 452 | * soap-client.el: Add cl-lib to Package-Requires. Require cl-lib. | ||
| 453 | (soap-validate-xs-simple-type): Use cl-labels instead of cl-flet. | ||
| 454 | |||
| 455 | * soap-client.el: Support Emacs versions that do not have | ||
| 456 | define-error. | ||
| 457 | |||
| 458 | * soap-inspect.el: Remove version header. | ||
| 459 | |||
| 460 | * soap-client.el, soap-inspect.el, jira2.el: Fix first line header | ||
| 461 | format. | ||
| 462 | |||
| 463 | 2015-11-11 Alan Mackenzie <acm@muc.de> | ||
| 464 | |||
| 465 | CC Mode: Respect users' settings of open-paren-in-column-0-is-defun-start. | ||
| 466 | |||
| 467 | lisp/progmodes/cc-engine.el (c-backward-single-comment, c-backward-comments) | ||
| 468 | (c-invalidate-state-cache-1, c-parse-state-1, c-guess-basic-syntax): | ||
| 469 | remove bindings of open-paren-in-column-0-is-defun-start to nil. | ||
| 470 | (c-get-fallback-scan-pos): "New" function (existed several years ago). | ||
| 471 | (c-parse-state-get-strategy): Reintroduce the 'BOD strategy, using | ||
| 472 | c-get-fallback-scan-pos. | ||
| 473 | (c-parse-state-1): Handle 'BOD strategy. | ||
| 474 | |||
| 475 | lisp/progmodes/cc-mode.el (c-before-change, c-after-change) | ||
| 476 | c-font-lock-fontify-region): remove bindings of | ||
| 477 | open-paren-in-column-0-is-defun-start to nil. | ||
| 478 | |||
| 479 | cc-mode.texi (Performance Issues, Limitations and Known Bugs): Fix mix up | ||
| 480 | between @chapter and @appendix. | ||
| 481 | |||
| 482 | 2015-11-11 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 483 | |||
| 484 | * lisp/obarray.el: Fix shadowed variables | ||
| 485 | |||
| 486 | (obarray-map, obarray-remove, obarray-put, obarray-get): | ||
| 487 | Change OBARRAY arg to OB to avoid shadowing ‘obarray’. | ||
| 488 | |||
| 489 | 2015-11-11 Eli Zaretskii <eliz@gnu.org> | ||
| 490 | |||
| 491 | Avoid error in submitting a form with EWW | ||
| 492 | |||
| 493 | * lisp/gnus/mm-url.el (mm-url-form-encode-xwfu): Allow argument | ||
| 494 | CHUNK to be nil. (Bug#21881) | ||
| 495 | |||
| 496 | 2015-11-11 Nicolas Petton <nicolas@petton.fr> | ||
| 497 | |||
| 498 | Rename seq-p and map-p to seqp and mapp | ||
| 499 | |||
| 500 | * lisp/emacs-lisp/seq.el (seqp): New name. | ||
| 501 | * lisp/emacs-lisp/map.el (mapp): New name. | ||
| 502 | * doc/lispref/sequences.texi: Update the documentation for seqp. | ||
| 503 | * test/automated/map-tests.el: Update the tests for mapp. | ||
| 504 | |||
| 505 | 2015-11-11 Nicolas Petton <nicolas@petton.fr> | ||
| 506 | |||
| 507 | Rename obarray-p to obarrayp | ||
| 508 | |||
| 509 | * lisp/obarray.el (obarrayp): New name. | ||
| 510 | * test/automated/obarray-tests.el: Update the tests. | ||
| 511 | |||
| 512 | 2015-11-11 Nicolas Petton <nicolas@petton.fr> | ||
| 513 | |||
| 514 | Rename obarray-foreach to obarray-map | ||
| 515 | |||
| 516 | * lisp/obarray.el (obarray-map): New name. | ||
| 517 | * test/automated/obarray-tests.el: Update the corresponding tests. | ||
| 518 | |||
| 519 | 2015-11-11 Przemysław Wojnowski <esperanto@cumego.com> | ||
| 520 | |||
| 521 | New file with obarray functions. | ||
| 522 | |||
| 523 | * lisp/obarray.el: basic obarray functions extracted from abbrev.el | ||
| 524 | * test/automated/obarray-tests.el: new file | ||
| 525 | |||
| 526 | 2015-11-11 Eli Zaretskii <eliz@gnu.org> | ||
| 527 | |||
| 528 | Implement tray notifications for MS-Windows | ||
| 529 | |||
| 530 | * src/w32fns.c (MY_NOTIFYICONDATAW): New typedef. | ||
| 531 | (NOTIFYICONDATAW_V1_SIZE, NOTIFYICONDATAW_V2_SIZE) | ||
| 532 | (NOTIFYICONDATAW_V3_SIZE, NIF_INFO, NIIF_NONE, NIIF_INFO) | ||
| 533 | (NIIF_WARNING, NIIF_ERROR, EMACS_TRAY_NOTIFICATION_ID) | ||
| 534 | (EMACS_NOTIFICATION_MSG): New macros. | ||
| 535 | (NI_Severity): New enumeration. | ||
| 536 | (get_dll_version, utf8_mbslen_lim, add_tray_notification) | ||
| 537 | (delete_tray_notification, Fw32_notification_notify) | ||
| 538 | (Fw32_notification_close): New functions. | ||
| 539 | (syms_of_w32fns): Defsubr functions exposed to Lisp. DEFSYM | ||
| 540 | keywords used by w32-notification-notify. | ||
| 541 | |||
| 542 | * doc/lispref/os.texi (Desktop Notifications): Describe the native | ||
| 543 | w32 tray notifications. | ||
| 544 | |||
| 545 | 2015-11-11 Michael Albinus <michael.albinus@gmx.de> | ||
| 546 | |||
| 547 | Optimize `file-equal-p' and `file-in-directory-p' in Tramp | ||
| 548 | |||
| 549 | * lisp/net/tramp.el (tramp-handle-file-equal-p) | ||
| 550 | (tramp-handle-file-in-directory-p): New defuns. Suggested by | ||
| 551 | Harvey Chapman <hchapman@3gfp.com> | ||
| 552 | |||
| 553 | * lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist): | ||
| 554 | * lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): | ||
| 555 | * lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist): | ||
| 556 | * lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use them. | ||
| 557 | |||
| 558 | 2015-11-10 Karl Fogel <kfogel@red-bean.com> | ||
| 559 | |||
| 560 | * CONTRIBUTE: Encourage adding tests. | ||
| 561 | |||
| 562 | Based on this post from John Wiegley: | ||
| 563 | |||
| 564 | From: "John Wiegley" <johnw@newartisans.com> | ||
| 565 | Subject: Re: [Emacs-diffs] master 1f02cbe: Fix bug#21766 and add test | ||
| 566 | To: Juanma Barranquero <lekktu@gmail.com> | ||
| 567 | Cc: emacs-diffs@gnu.org, bruce.connor.am@gmail.com, | ||
| 568 | emacs-devel <emacs-devel@gnu.org> | ||
| 569 | Date: Wed, 28 Oct 2015 18:45:29 -0700 | ||
| 570 | Message-ID: <m2y4emqwg6.fsf@newartisans.com> | ||
| 571 | |||
| 572 | https://lists.gnu.org/archive/html/emacs-devel/2015-10/msg02372.html | ||
| 573 | |||
| 574 | 2015-11-10 David Reitter <david.reitter@gmail.com> | ||
| 575 | |||
| 576 | Avoid creating notification objects when possible | ||
| 577 | |||
| 578 | * src/nsterm.m (windowWillEnterFullScreen, windowWillExitFullScreen:, | ||
| 579 | windowDidEnterFullScreen, windowDidExitFullScreen): provide | ||
| 580 | convenience functions that do not require a notification object. When | ||
| 581 | needed, define NSWindowDidEnterFullScreenNotification to allow for | ||
| 582 | compilation on OS X 10.6.8. | ||
| 583 | |||
| 584 | 2015-11-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 585 | |||
| 586 | Move INTEGER_TO_CONS body out of .h file | ||
| 587 | |||
| 588 | * src/data.c (INTBIG_TO_LISP): New macro, with most | ||
| 589 | of the contents of the old INTEGER_TO_CONS. | ||
| 590 | (intbig_to_lisp, uintbig_to_lisp): New functions. | ||
| 591 | * src/lisp.h (INTEGER_TO_CONS): | ||
| 592 | Simplify by using EXPR_SIGNED and the new functions. | ||
| 593 | This shrinks code size a bit, and makes it easier to | ||
| 594 | put a breakpoint on handling of large integers. | ||
| 595 | |||
| 596 | 2015-11-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 597 | |||
| 598 | Merge from gnulib | ||
| 599 | |||
| 600 | This incorporates: | ||
| 601 | 2015-11-10 intprops: new public macro EXPR_SIGNED | ||
| 602 | 2015-11-10 intprops: fix typo in clang port | ||
| 603 | * lib/intprops.h: Copy from gnulib. | ||
| 604 | |||
| 605 | 2015-11-10 Paul Eggert <eggert@cs.ucla.edu> | ||
| 606 | |||
| 607 | Spelling fixes | ||
| 608 | |||
| 609 | * lisp/net/soap-inspect.el (soap-inspect-xs-simple-type): | ||
| 610 | Fix misspelling in output. | ||
| 611 | |||
| 612 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 613 | |||
| 614 | * doc/lispref/variables.texi (Directory Local Variables): | ||
| 615 | |||
| 616 | Document dir-locals wildcards | ||
| 617 | |||
| 618 | * lisp/files.el (dir-locals-file): Point to Info node. | ||
| 619 | |||
| 620 | * doc/emacs/custom.texi (Directory Variables): | ||
| 621 | Document dir-locals wildcards. | ||
| 622 | |||
| 623 | * etc/NEWS: Document new functionality. | ||
| 624 | |||
| 625 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 626 | |||
| 627 | * lisp/files.el: Don't allow customization of dir-locals sorting | ||
| 628 | |||
| 629 | In retrospect, this is not a good idea for the same reason that | ||
| 630 | `dir-locals-file' is a defconst, because it is important that this | ||
| 631 | behaviour be "uniform across different environments and users". | ||
| 632 | Sure, the user can still change the sorting with a hack, but we | ||
| 633 | shouldn't encourage them to change it. | ||
| 634 | |||
| 635 | (dir-locals--all-files): Return list in the order returned by | ||
| 636 | `file-expand-wildcards'. | ||
| 637 | (file-expand-wildcards): Document the sorting predicate used. | ||
| 638 | (dir-locals-sort-predicate): Delete variable. | ||
| 639 | |||
| 640 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 641 | |||
| 642 | * lisp/files.el (dir-locals-read-from-file): Better handle errors | ||
| 643 | |||
| 644 | * lisp/isearch.el (search-default-regexp-mode): change default value | ||
| 645 | |||
| 646 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 647 | |||
| 648 | * lisp/files.el (dir-locals-find-file): Don't stop at unreadable files | ||
| 649 | |||
| 650 | `locate-dominating-file' will now keep looking if the files it finds in | ||
| 651 | a given directory are unreadable (or not files). | ||
| 652 | |||
| 653 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 654 | |||
| 655 | * lisp/files.el (dir-locals-file): Allow wildcards | ||
| 656 | |||
| 657 | (dir-locals-find-file, dir-locals-collect-variables) | ||
| 658 | (dir-locals-read-from-file): Update accordingly. | ||
| 659 | (hack-dir-local-variables): Rename a local variable. | ||
| 660 | |||
| 661 | * lisp/files-x.el (modify-dir-local-variable): Update accordingly | ||
| 662 | |||
| 663 | * lisp/help-fns.el (describe-variable): Update accordingly | ||
| 664 | |||
| 665 | * .gitignore: Add .dir-locals?.el | ||
| 666 | |||
| 667 | 2015-11-10 Artur Malabarba <bruce.connor.am@gmail.com> | ||
| 668 | |||
| 669 | * lisp/emacs-lisp/map.el (map-merge-with): New function | ||
| 670 | |||
| 671 | * test/automated/map-tests.el (test-map-merge-with): New test | ||
| 672 | |||
| 673 | 2015-11-09 Karl Fogel <kfogel@red-bean.com> | ||
| 674 | |||
| 675 | Fix some recently-perturbed bookmark autoloads | ||
| 676 | |||
| 677 | * lisp/bookmark.el (bookmark-set-internal): Remove unnecessary autoload. | ||
| 678 | (bookmark-set): Restore autoload. | ||
| 679 | (bookmark-set-no-overwrite): Add autoload. | ||
| 680 | |||
| 681 | Thanks to Juanma Barranquero for noticing the autoload problems | ||
| 682 | introduced by my recent commit adding/changing the above functions | ||
| 683 | (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978). | ||
| 684 | |||
| 685 | 2015-11-09 Noah Friedman <friedman@splode.com> | ||
| 686 | |||
| 687 | (ydump-buffer): Handle case where gap is at the start of buffer. | ||
| 688 | I don't recall if older versions of gdb were less strict but you | ||
| 689 | cannot dump a 0-length range in gdb 7.9.1. | ||
| 690 | |||
| 691 | 2015-11-09 Dmitry Gutov <dgutov@yandex.ru> | ||
| 692 | |||
| 693 | * lisp/progmodes/project.el: Update Commentary. | ||
| 694 | |||
| 695 | Merge branch 'project-next' | ||
| 696 | |||
| 697 | 2015-11-09 Dmitry Gutov <dgutov@yandex.ru> | ||
| 698 | |||
| 699 | Fold `project-ask-user' into `project-current' | ||
| 700 | |||
| 701 | * lisp/progmodes/project.el (project-find-functions): Remove | ||
| 702 | `project-ask-user'. | ||
| 703 | (project-ask-user): Remove function and the corresponding | ||
| 704 | `project-roots' implementation. | ||
| 705 | (project-current): Add a new argument, MAYBE-PROMPT. Prompt the | ||
| 706 | user in case there's no project in the current directory. Update | ||
| 707 | all callers. | ||
| 708 | |||
| 709 | 2015-11-09 Karl Fogel <kfogel@red-bean.com> | ||
| 710 | |||
| 711 | When VC detects a conflict, specify which file | ||
| 712 | |||
| 713 | * lisp/vc/vc.el (vc-message-unresolved-conflicts): New function. | ||
| 714 | * lisp/vc/vc-svn.el (vc-svn-find-file-hook): | ||
| 715 | * lisp/vc/vc-hg.el (vc-hg-find-file-hook): | ||
| 716 | * lisp/vc/vc-bzr.el (vc-bzr-find-file-hook): | ||
| 717 | * lisp/vc/vc-git.el (vc-git-find-file-hook): Use above new function | ||
| 718 | to display a standard message that specifies the conflicted file. | ||
| 719 | |||
| 720 | Before this change, the message VC used for indicating a conflicted | ||
| 721 | file was just "There are unresolved conflicts in this file" without | ||
| 722 | naming the file (and this language was duplicated in several places). | ||
| 723 | After this change, it's "There are unresolved conflicts in file FOO" | ||
| 724 | (and this language is now centralized in one function in vc.el). | ||
| 725 | |||
| 726 | Justification: It's important for the message to name the conflicted | ||
| 727 | file because the moment when VC realizes a file is conflicted does not | ||
| 728 | always come interactively. For example, some people automatically | ||
| 729 | find a set of Org Mode files on startup, and may keep those .org files | ||
| 730 | under version control. If any of the files are conflicted, the user | ||
| 731 | just sees some messages fly by, and might later check the "*Messages*" | ||
| 732 | buffer to find out what files were conflicted. I'm not saying this | ||
| 733 | happened to me or anything; it's a purely hypothetical example. | ||
| 734 | |||
| 735 | 2015-11-09 Eli Zaretskii <eliz@gnu.org> | ||
| 736 | |||
| 737 | Fix assertion violation in define-key | ||
| 738 | |||
| 739 | * src/keymap.c (store_in_keymap): Don't use XFASTINT on non-character | ||
| 740 | objects. Reported by Drew Adams <drew.adams@oracle.com> | ||
| 741 | and Juanma Barranquero <lekktu@gmail.com>. | ||
| 742 | |||
| 743 | 2015-11-09 Dima Kogan <dima@secretsauce.net> | ||
| 744 | |||
| 745 | Fix a memory leak in GC of font cache | ||
| 746 | |||
| 747 | * src/alloc.c (compact_font_cache_entry): Don't GC unmarked font | ||
| 748 | entities if some of the fonts it references are marked. This | ||
| 749 | plugs a memory leak. (Bug#21556) | ||
| 750 | |||
| 751 | 2015-11-09 Paul Eggert <eggert@cs.ucla.edu> | ||
| 752 | |||
| 753 | Use INT_ADD_WRAPV etc. to check integer overflow | ||
| 754 | |||
| 755 | * src/alloc.c (xnmalloc, xnrealloc, xpalloc, Fmake_string): | ||
| 756 | * src/buffer.c (record_overlay_string, overlay_strings): | ||
| 757 | * src/casefiddle.c (casify_object): | ||
| 758 | * src/ccl.c (Fccl_execute_on_string): | ||
| 759 | * src/character.c (char_width, c_string_width, lisp_string_width) | ||
| 760 | (count_size_as_multibyte, string_escape_byte8): | ||
| 761 | * src/coding.c (coding_alloc_by_realloc, produce_chars): | ||
| 762 | * src/data.c (arith_driver): | ||
| 763 | * src/dispnew.c (realloc_glyph_pool, init_display): | ||
| 764 | * src/editfns.c (styled_format): | ||
| 765 | * src/fns.c (Ffillarray): | ||
| 766 | * src/ftfont.c (ftfont_shape_by_flt): | ||
| 767 | * src/gnutls.c (gnutls_hex_string): | ||
| 768 | * src/gtkutil.c (get_utf8_string): | ||
| 769 | * src/image.c (x_to_xcolors, x_detect_edges, png_load_body): | ||
| 770 | * src/keymap.c (Fkey_description): | ||
| 771 | * src/lisp.h (SAFE_ALLOCA_LISP): | ||
| 772 | * src/term.c (encode_terminal_code): | ||
| 773 | * src/tparam.c (tparam1): | ||
| 774 | * src/xselect.c (x_property_data_to_lisp): | ||
| 775 | * src/xsmfns.c (smc_save_yourself_CB): | ||
| 776 | * src/xterm.c (x_term_init): | ||
| 777 | When checking for integer overflow, prefer INT_MULTIPLY_WRAPV to | ||
| 778 | more-complicated code involving division and/or | ||
| 779 | INT_MULTIPLY_OVERFLOW, and similarly for INT_ADD_WRAPV and | ||
| 780 | subtraction and/or INT_ADD_OVERFLOW. | ||
| 781 | * src/casefiddle.c (casify_object): Simplify multibyte size check. | ||
| 782 | * src/character.c: Remove some obsolete ‘#ifdef emacs’s. | ||
| 783 | * src/data.c (arith_driver): Also check for division overflow, | ||
| 784 | as that’s now possible given that the accumulator can now contain | ||
| 785 | any Emacs integer. | ||
| 786 | * src/lisp.h (lisp_word_count): Remove; no longer used. | ||
| 787 | |||
| 788 | 2015-11-08 Dmitry Gutov <dgutov@yandex.ru> | ||
| 789 | |||
| 790 | Make sure that the ignore file exists | ||
| 791 | |||
| 792 | * lisp/vc/vc.el (vc-default-ignore-completion-table): | ||
| 793 | Make sure that the ignore file exists. | ||
| 794 | |||
| 795 | 2015-11-08 Michael Sperber <mike@xemacs.org> | ||
| 796 | |||
| 797 | * gnus-sum.el (gnus-summary-backend-map): Bind B-backspace to | ||
| 798 | `gnus-summary-delete-article` in a way that also works on XEmacs. | ||
| 799 | |||
| 800 | 2015-11-08 Simen Heggestøyl <simenheg@gmail.com> | ||
| 801 | |||
| 802 | Add support for retrieving paths to JSON elements | ||
| 803 | |||
| 804 | Add support for retrieving the path to a JSON element. This can for | ||
| 805 | instance be useful to retrieve paths in deeply nested JSON | ||
| 806 | structures. | ||
| 807 | |||
| 808 | * lisp/json.el (json-pre-element-read-function) | ||
| 809 | (json-post-element-read-function): New variables to hold pre- and post | ||
| 810 | read callback functions for `json-read-array' and `json-read-object'. | ||
| 811 | (json--path): New variable used internally by `json-path-to-position'. | ||
| 812 | (json--record-path, json--check-position): New functions used | ||
| 813 | internally by `json-path-to-position'. | ||
| 814 | (json-path-to-position): New function for retrieving the path to a | ||
| 815 | JSON element at a given position. | ||
| 816 | (json-read-object, json-read-array): Call | ||
| 817 | `json-pre-element-read-function' and `json-post-element-read-function' | ||
| 818 | when set. | ||
| 819 | |||
| 820 | * test/automated/json-tests.el (test-json-path-to-position-with-objects) | ||
| 821 | (test-json-path-to-position-with-arrays) | ||
| 822 | (test-json-path-to-position-no-match): New tests for | ||
| 823 | `json-path-to-position'. | ||
| 824 | |||
| 825 | 2015-11-08 Karl Fogel <kfogel@red-bean.com> | ||
| 826 | |||
| 827 | * etc/NEWS: Mention new `bookmark-set-no-overwrite'. | ||
| 828 | |||
| 829 | This really should been part of my previous commit | ||
| 830 | (Sun Nov 8 14:16:43 2015 -0500, git commit 3812e17978). | ||
| 831 | |||
| 832 | 2015-11-08 Karl Fogel <kfogel@red-bean.com> | ||
| 833 | |||
| 834 | Offer non-overwrite bookmark setter (Bug#15746) | ||
| 835 | |||
| 836 | * lisp/bookmark.el (bookmark-set-internal): New helper function to do | ||
| 837 | what `bookmark-set' used to do, but with more choices for overwrite | ||
| 838 | vs push, and with minor changes to the interactive prompt format. | ||
| 839 | (bookmark-set): Rewrite as wrapper around above. | ||
| 840 | If overwriting, inform the user of that in the prompt. | ||
| 841 | (bookmark-set-no-overwrite): New function, also done as wrapper. | ||
| 842 | Bind to "M" in `ctl-x-r-map' autoloads. | ||
| 843 | (bookmark-map): Similarly bind "M" here. | ||
| 844 | |||
| 845 | 2015-11-08 Paul Eggert <eggert@cs.ucla.edu> | ||
| 846 | |||
| 847 | * src/unexelf.c (NEW_PROGRAM_H): Remove unused macro (Bug#20614). | ||
| 848 | |||
| 849 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 850 | |||
| 851 | ELF unexec: Don't insert a new section | ||
| 852 | |||
| 853 | Reuse the .bss section instead, making it SHT_PROGBITS. This way we | ||
| 854 | don't need to mess with symbol st_shndx, or section sh_link and | ||
| 855 | sh_info. | ||
| 856 | |||
| 857 | This does lead to eu-elflint complaints about symbols defined in .bss | ||
| 858 | with a needed version, because normally it is undefined symbols that | ||
| 859 | have needed versions; Defined symbols have version definitions. | ||
| 860 | The exception is symbols defined by the linker in .dynbss for | ||
| 861 | variables copied from a shared library in order to avoid text | ||
| 862 | relocations, with copy relocs to copy their initial values from the | ||
| 863 | shared library. These symbols are both defined and have needed | ||
| 864 | versions, and eu-elflink only expects to see them in SHT_NOBITS | ||
| 865 | sections. Of course there is no real problem with having such symbols | ||
| 866 | in SHT_PROGBITS sections. glibc ld.so handles them fine. | ||
| 867 | |||
| 868 | * unexelf.c: Delete outdated comments. | ||
| 869 | (PATCH_INDEX): Delete. | ||
| 870 | (find_section): Delete. | ||
| 871 | (unexec): Don't add a new section. Instead reuse the last bss | ||
| 872 | section, extending it to cover dumped data. Make bss sections | ||
| 873 | SHT_PROGBITS. Remove all patching of sh_link, sh_info and | ||
| 874 | st_shndx. Rename bss sections. | ||
| 875 | |||
| 876 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 877 | |||
| 878 | ELF unexec: Drive from PT_LOAD header rather than sections | ||
| 879 | |||
| 880 | This rewrites bss handling in the ELF unexec code. Finding bss | ||
| 881 | sections by name results in complicated code that | ||
| 882 | - does not account for all names of possible bss sections, | ||
| 883 | - assumes specific ordering of bss sections, | ||
| 884 | - can wrongly choose a SHT_NOBITS section not in the bss segment, | ||
| 885 | - incorrectly calculates bss size (no accounting for alignment gaps), | ||
| 886 | - assumes .data and .bss are in the same segment. | ||
| 887 | |||
| 888 | All of these problems and more are solved by finding the bss segment | ||
| 889 | in PT_LOAD headers, ie. the address range included in p_memsz but not | ||
| 890 | p_filesz of the last PT_LOAD header, then matching SHT_NOBITS sections | ||
| 891 | in that address range. | ||
| 892 | |||
| 893 | * unexelf.c: Delete old ppc comment. | ||
| 894 | (OLD_PROGRAM_H): Define. | ||
| 895 | (round_up): Delete. | ||
| 896 | (unexec): Don't search for bss style sections by name. Instead, | ||
| 897 | use the last PT_LOAD header address range covered by p_memsz | ||
| 898 | but not p_filesz and match any SHT_NOBITS section in that | ||
| 899 | address range. Simplify initialisation of section header vars. | ||
| 900 | Don't assume that section headers are above bss segment. Move | ||
| 901 | copying of bss area out of section loop. Align .data2 section | ||
| 902 | to 1, since it now covers the entire bss area. For SHT_NOBITS | ||
| 903 | sections in the bss segment, leave sh_addr and sh_addralign | ||
| 904 | unchanged, but correct sh_offset. Clear memory corresponding | ||
| 905 | to SHT_NOBITS .plt section. Delete comment and hacks for | ||
| 906 | sections partly overlapping bss range now that the full range | ||
| 907 | is properly calculated. Delete now dead .sbss code. | ||
| 908 | (Bug#20614) | ||
| 909 | |||
| 910 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 911 | |||
| 912 | ELF unexec: R_*_NONE relocs | ||
| 913 | |||
| 914 | These should be ignored on all targets. | ||
| 915 | |||
| 916 | * unexelf.c (unexec): Ignore R_*_NONE relocs for any target, | ||
| 917 | not just Alpha. Comment on reloc size assumption. | ||
| 918 | |||
| 919 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 920 | |||
| 921 | ELF unexec: _OBJC_ symbols in bss sections | ||
| 922 | |||
| 923 | This code assumed that there was only one bss section. Rather than | ||
| 924 | checking for a particular index, check the section type. Also, handle | ||
| 925 | the possibility that the section was SHT_NOBITS originally and is | ||
| 926 | unchanged, in which case no clearing is needed (and sh_offset isn't | ||
| 927 | necessarily valid, which can lead to a wild memset). | ||
| 928 | |||
| 929 | * unexelf.c (unexec): Properly handle _OBJC_ symbols in bss sections. | ||
| 930 | |||
| 931 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 932 | |||
| 933 | ELF unexec: Symbol table patching | ||
| 934 | |||
| 935 | No st_shndx value larger than SHN_LORESERVE should be changed. | ||
| 936 | * unexelf.c (unexec): Don't adjust any st_shndx larger than | ||
| 937 | SHN_LORESERVE. Error on SHN_XINDEX. | ||
| 938 | |||
| 939 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 940 | |||
| 941 | ELF unexec: Merge Alpha and MIPS COFF debug handling | ||
| 942 | |||
| 943 | * unexelf.c (unexec): Merge Alpha and MIPS COFF debug handling. | ||
| 944 | Don't find .mdebug section index, find the section in the loop. | ||
| 945 | Allow for unlikely possibility that .mdebug is located at sh_offset | ||
| 946 | before bss segment, by calculating move from difference in | ||
| 947 | sh_offset rather than just assuming new_data2_size. Simplify | ||
| 948 | cbLineOffset handling. | ||
| 949 | |||
| 950 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 951 | |||
| 952 | ELF unexec: Tidy code | ||
| 953 | |||
| 954 | Separate out some of the more mechanical changes so following patches | ||
| 955 | are smaller. | ||
| 956 | |||
| 957 | * unexelf.c (unexec): Rearrange initialisation of program | ||
| 958 | header vars. Use pointer vars in loops rather than indexing | ||
| 959 | section header array via macros. Simplify _OBJC_ sym code | ||
| 960 | and reloc handling code. | ||
| 961 | |||
| 962 | 2015-11-08 Alan Modra <amodra@gmail.com> | ||
| 963 | |||
| 964 | ELF unexec: Correct section header index | ||
| 965 | |||
| 966 | First a small fix. The code incorrectly uses "NEW_SECTION_H (n)" when | ||
| 967 | it should have been using "NEW_SECTION_H (nn)" to find the name of the | ||
| 968 | section currently being processed. Of course, before the bss | ||
| 969 | sections, n and nn have the same value, so this doesn't matter except | ||
| 970 | in the case of .sbss. For .sbss this probably meant .bss (most likely | ||
| 971 | the next section) was copied from memory. A later patch removes the | ||
| 972 | bogus .sbss handling anyway. | ||
| 973 | |||
| 974 | * unexelf.c (unexec): Use correct index to look up names. | ||
| 975 | |||
| 976 | 2015-11-08 Michael Albinus <michael.albinus@gmx.de> | ||
| 977 | |||
| 978 | Fix Bug#21841 | ||
| 979 | |||
| 980 | * lisp/filenotify.el (file-notify--rm-descriptor): | ||
| 981 | Use `descriptor' instead of computing its value. | ||
| 982 | (file-notify--descriptor): Additional argument FILE. Adapt all callees. | ||
| 983 | (file-notify-rm-watch): Use `descriptor' when calling file name handler. | ||
| 984 | (Bug#21841) | ||
| 985 | |||
| 986 | 2015-11-08 Dmitry Gutov <dgutov@yandex.ru> | ||
| 987 | |||
| 988 | Remove dirs in vc project roots from the the vc project library roots | ||
| 989 | |||
| 990 | * lisp/progmodes/project.el (project-library-roots): Remove | ||
| 991 | directories inside the project roots from the result. | ||
| 992 | (http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00536.html) | ||
| 993 | |||
| 994 | 2015-11-07 Dmitry Gutov <dgutov@yandex.ru> | ||
| 995 | |||
| 996 | Move and rename xref-find-regexp to the project package | ||
| 997 | |||
| 998 | * lisp/progmodes/project.el (project-find-regexp) | ||
| 999 | (project--read-regexp) | ||
| 1000 | (project--find-regexp-in): New functions. | ||
| 1001 | |||
| 1002 | * lisp/progmodes/xref.el (xref--find-xrefs): Extract from | ||
| 1003 | xref--show-xrefs. Use in existing callers in place of that | ||
| 1004 | function. | ||
| 1005 | (xref--show-xrefs): Only do the "show" part. | ||
| 1006 | (xref-find-regexp): Rename, more or less, to | ||
| 1007 | project-or-libraries-find-regexp. | ||
| 1008 | |||
| 1009 | 2015-11-06 Dmitry Gutov <dgutov@yandex.ru> | ||
| 1010 | |||
| 1011 | Abolish temporary buffer management for xref | ||
| 1012 | |||
| 1013 | * lisp/progmodes/xref.el (xref--temporary-buffers) | ||
| 1014 | (xref--current) | ||
| 1015 | (xref--inhibit-mark-current) | ||
| 1016 | (xref--mark-selected): Remove. Remove all references. | ||
| 1017 | (xref--show-xrefs): Do not construct the | ||
| 1018 | list of the temporary buffers, nor pass it along. | ||
| 1019 | |||
| 1020 | 2015-11-06 Dmitry Gutov <dgutov@yandex.ru> | ||
| 1021 | |||
| 1022 | Rename "search path" to "library roots" | ||
| 1023 | |||
| 1024 | * lisp/emacs-lisp/cl-seq.el (cl-set-difference): Retain the order | ||
| 1025 | of the elements from CL-LIST1. | ||
| 1026 | |||
| 1027 | * test/automated/cl-lib-tests.el (cl-lib-test-set-functions): | ||
| 1028 | Update WRT to the above change. | ||
| 1029 | |||
| 1030 | * lisp/progmodes/project.el (project-search-path-function): Rename | ||
| 1031 | to project-library-roots-function, update the documentation and | ||
| 1032 | references. | ||
| 1033 | (project-search-path): Likewise, to project-library-roots. | ||
| 1034 | (project-roots): Clarify documentation. | ||
| 1035 | (project-vc-search-path): Likewise, to project-vc-library-roots. | ||
| 1036 | (project-library-roots): In addition to the renames, thread the | ||
| 1037 | results through file-name-as-directory. | ||
| 1038 | (project-prune-directories): Accept a variable number of | ||
| 1039 | arguments. Rename to project-combine-directories. | ||
| 1040 | (project-subtract-directories): New function. | ||
| 1041 | |||
| 1042 | * lisp/progmodes/elisp-mode.el (elisp--xref-find-references): | ||
| 1043 | Append project-roots and project-library-roots together. | ||
| 1044 | |||
| 1045 | * lisp/progmodes/etags.el (etags--xref-find-references): Ditto. | ||
| 1046 | |||
| 1 | 2015-11-08 Paul Eggert <eggert@cs.ucla.edu> | 1047 | 2015-11-08 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 1048 | ||
| 3 | Prefer xpalloc to doubling buffers by hand | 1049 | Prefer xpalloc to doubling buffers by hand |
| @@ -17967,7 +19013,7 @@ | |||
| 17967 | 19013 | ||
| 17968 | This file records repository revisions from | 19014 | This file records repository revisions from |
| 17969 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to | 19015 | commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to |
| 17970 | commit 8a8613bcf4227dfe46a694b761e9575bdf6ca2ce (inclusive). | 19016 | commit ae0653b5ab9ee223751ec389b87011963e1cbbef (inclusive). |
| 17971 | See ChangeLog.1 for earlier changes. | 19017 | See ChangeLog.1 for earlier changes. |
| 17972 | 19018 | ||
| 17973 | ;; Local Variables: | 19019 | ;; Local Variables: |