aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-06-07 06:25:33 -0400
committerGlenn Morris2015-06-07 06:25:33 -0400
commit4b7c816e044b52e586d54482ac29ab41e91f56f1 (patch)
treee8e4d1eb70f8009f272beea0788403a073ab06a2
parent325bf192ae281046834884b12705d6c522871b24 (diff)
downloademacs-4b7c816e044b52e586d54482ac29ab41e91f56f1.tar.gz
emacs-4b7c816e044b52e586d54482ac29ab41e91f56f1.zip
; Auto-commit of ChangeLog files.
-rw-r--r--ChangeLog.2692
-rwxr-xr-xbuild-aux/gitlog-to-emacslog2
2 files changed, 693 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index 115ccda07b2..d27fdbbbc8d 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,695 @@
12015-06-06 Paul Eggert <eggert@cs.ucla.edu>
2
3 Merge from gnulib
4 This incorporates:
5 2015-06-06 acl-permissions: pacify -Wsuggest-attribute=const
6 2015-06-05 stdio: Don't redefine gets when using C++
7 2015-06-05 acl-permissions: port to AIX, C89 HP-UX
8 2015-06-02 file-has-acl: fix build on Mac OS X 10
9 2015-06-01 gnulib-tool: concatenate lib_SOURCES to a single line
10 2015-06-01 pthread_sigmask: discount system version if a simple macro
11 2015-05-31 readlinkat: avoid OS X 10.10 trailing slash bug
12 * doc/misc/texinfo.tex, lib/acl-internal.h, lib/get-permissions.c:
13 * lib/readlinkat.c, lib/set-permissions.c, lib/stdio.in.h:
14 * m4/acl.m4, m4/pthread_sigmask.m4, m4/readlinkat.m4: Copy from gnulib.
15 * lib/gnulib.mk: Regenerate.
16
172015-06-06 Juri Linkov <juri@linkov.net>
18
19 * lisp/progmodes/grep.el (zrgrep): Let-bind grep-highlight-matches
20 before calling grep-compute-defaults because now it affects the
21 command lines computed in grep-compute-defaults. (Bug#20728)
22
232015-06-06 Glenn Morris <rgm@gnu.org>
24
25 Address some compilation warnings.
26 * lisp/international/mule-cmds.el (w32-get-console-codepage)
27 (w32-get-console-output-codepage):
28 * lisp/progmodes/elisp-mode.el (xref-collect-references):
29 * lisp/version.el (cairo-version-string): Declare.
30 * lisp/erc/erc.el (erc-nickname-in-use): Fix typo.
31
322015-06-06 Eli Zaretskii <eliz@gnu.org>
33
34 Fix display when a font claims large values of ascent and descent
35 This fixes bug#20628.
36 * src/xdisp.c (get_phys_cursor_geometry): Correct the Y
37 coordinate of a hollow cursor glyph when the original glyph's
38 ascent is too small.
39 (get_font_ascent_descent, normal_char_ascent_descent)
40 (normal_char_height): New functions.
41 (handle_single_display_spec, append_space_for_newline)
42 (calc_pixel_width_or_height, produce_stretch_glyph)
43 (calc_line_height_property): Use normal_char_ascent_descent and
44 normal_char_height.
45 (x_produce_glyphs): When font-global values of ascent and descent
46 are too large, use per-character glyph metrics instead, if
47 possible. But don't allow the glyph row's ascent and descent
48 values become smaller than the values from the metrics of the
49 font's "normal" character.
50 * src/xftfont.c (xftfont_draw):
51 * src/w32font.c (w32font_draw): Correct the values of ascent and
52 descent used to draw glyphless characters' hex code in a box.
53 * src/xterm.c (x_draw_glyph_string_background):
54 * src/xdisp.c (x_produce_glyphs):
55 * src/w32term.c (x_draw_glyph_string_background):
56 * src/nsterm.m (ns_maybe_dumpglyphs_background): Use FONT_TOO_HIGH
57 to detect fonts whose global ascent and descent values are too
58 large to be used in layout decision, and redraw the background
59 when that happens.
60 * src/dispextern.h (FONT_TOO_HIGH): New macro.
61 (get_font_ascent_descent): Add prototype.
62 * src/xterm.c (x_new_font):
63 * src/w32term.c (x_new_font):
64 * src/nsterm.m (x_new_font):
65 * src/font.c (font_open_entity):
66 * src/composite.c (composition_gstring_width): Use
67 get_font_ascent_descent to obtain reasonable values for ascent and
68 descent of a font.
69
702015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
71
72 Add assertion in adjust_point_for_property
73 * src/keyboard.c (adjust_point_for_property): Add eassert for
74 current buffer being shown in selected window.
75
762015-06-06 Dmitry Gutov <dgutov@yandex.ru>
77
78 Replace uses of in-string-p; make it obsolete
79 * lisp/thingatpt.el (in-string-p): Declare obsolete (bug#20732).
80 (end-of-sexp, beginning-of-sexp): Use syntax-ppss instead.
81
822015-06-06 Eli Zaretskii <eliz@gnu.org>
83
84 Fix Dired display of an explicit list of files by ls-lisp.el
85 * lisp/ls-lisp.el (ls-lisp-uid-d-fmt, ls-lisp-uid-s-fmt)
86 (ls-lisp-gid-d-fmt, ls-lisp-gid-s-fmt): Make the initial values be
87 correct for when displaying individual files separately, not as
88 part of listing a directory, in which case these values are not
89 recomputed by 'ls-lisp-insert-directory', but used verbatim.
90
91 * lisp/dired.el (dired): Doc fix. (Bug#20739)
92
932015-06-06 Nicolas Richard <youngfrog@members.fsf.org>
94
95 Do not adjust point in a non-selected window
96 * src/keyboard.c (command_loop_1): Do not adjust point when
97 current buffer is not shown in selected window (Bug#20590).
98
99 * etc/DEBUG: Mention 'maybe_call_debugger'
100
1012015-06-05 Nicolas Petton <nicolas@petton.fr>
102
103 Fix a unit test for map.el
104 * test/automated/map-tests.el (test-map-let): Fix the test to work
105 with the new syntax of `map-let'.
106
107 * lisp/emacs-lisp/map.el (map-let): Better docstring.
108
109 Better syntax for the map pcase pattern
110 * lisp/emacs-lisp/map.el: Improves the map pcase pattern to take
111 bindings of the form (KEY PAT) or SYMBOL. KEY is not quoted.
112
113 * lisp/emacs-lisp/map.el (map--dispatch): Better docstring.
114
115 Fix a byte-compiler error in map-put and map-delete
116 * lisp/emacs-lisp/map.el (map-put, map-delete): Ensure that `setq' is
117 called with a symbol.
118
1192015-06-05 Glenn Morris <rgm@gnu.org>
120
121 * admin/gitmerge.el (gitmerge-commit-message):
122 Revert to including "skipped" messages in ChangeLog once again.
123
1242015-06-05 Tassilo Horn <tsdh@gnu.org>
125
126 Use string> instead of equiv lambda with string<
127 * lisp/help.el (view-emacs-news): Use string> instead of equivalent
128 lambda with string<.
129
1302015-06-05 Glenn Morris <rgm@gnu.org>
131
132 * lisp/emacs-lisp/map.el (map--dispatch): Move before use.
133 (map--delete-array): Fix typo.
134
135 * test/automated/map-tests.el: Replace "assert" with "should".
136
137 * lisp/Makefile.in (SUBDIRS): Rename from SUBDIRS_ABS.
138 (SUBDIRS_REL): Derive from SUBDIRS.
139
140 Tweak some build messages.
141 * lisp/Makefile.in ($(lisp)/loaddefs.el):
142 * lisp/cus-dep.el (custom-make-dependencies):
143 * lisp/finder.el (finder-compile-keywords): Say what we are doing.
144 * lisp/international/titdic-cnv.el (batch-titdic-convert):
145 Don't say how to compile.
146
1472015-06-05 Paul Eggert <eggert@cs.ucla.edu>
148
149 Omit U+0332 COMBINING LOW LINE in previous change
150 It turns out that it does not work on Ubuntu 15.04.
151
152 Fix transliteration of Bahá'í months
153 * lisp/calendar/cal-bahai.el (calendar-bahai-month-name-array):
154 Improve quality of Latin transliteration of Bahá'í month names.
155
156 Fix curved quotes in a few places
157 * lisp/calc/calc-misc.el (calc-help): Fix quoting.
158 The strings in question are not doc strings, so this partially
159 undoes the recent change that assumed they were doc strings.
160 * lisp/cedet/srecode/srt-mode.el (srecode-macro-help):
161 * lisp/info.el (Info-finder-find-node):
162 Use curved quotes.
163 * lisp/emacs-lisp/derived.el (derived-mode-make-docstring):
164 Also allow curved quotes in doc strings.
165
1662015-06-04 Glenn Morris <rgm@gnu.org>
167
168 * lisp/Makefile.in (AM_V_at): Add missing definition.
169
170 * lisp/Makefile.in: Quieten output a bit.
171 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el):
172 Don't echo directories, since the commands we invoke print them.
173
174 * lisp/Makefile.in: Replace shell fragments in variables with $(shell).
175 (SUBDIRS_REL, SUBDIRS_ABS, SUBDIRS_ALMOST, SUBDIRS_FINDER)
176 (SUBDIRS_SUBDIRS): New variables.
177 (setwins, setwins_almost, setwins_finder, setwins_for_subdirs):
178 Remove.
179 ($(lisp)/cus-load.el, $(lisp)/finder-inf.el, $(lisp)/loaddefs.el)
180 (update-subdirs, compile-main, compile-clean):
181 Replace "setwins" usage with new "SUBDIRS" variables.
182
183 * lisp/vc/compare-w.el (compare-windows-get-window-function):
184 Fix :version tag.
185
1862015-06-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
187
188 * src/ftfont.c (ftfont_open2): Round divisions by upEM.
189
190 Undo removal of x_clear_area call on expose for GTK3 or cairo.
191 * src/xterm.c (handle_one_xevent) [HAVE_GTK3 || USE_CAIRO]: Clear
192 exposed area. (Bug#20677)
193
1942015-06-04 Glenn Morris <rgm@gnu.org>
195
196 * doc/lispref/hash.texi (Creating Hash): Remove obsolete makehash.
197
198 * lisp/Makefile.in (check-defun-dups): Also skip ldefs-boot.
199
200 * lisp/leim/quail/lrt.el (quail-lrt-update-translation):
201 Rename from quail-lao-update-translation, since lao.el defines that.
202
2032015-06-04 Dmitry Gutov <dgutov@yandex.ru>
204
205 Handle new-style advice in find-funct
206 * lisp/emacs-lisp/find-func.el (find-function-advised-original):
207 Handle new-style advice. Return the symbol's function definition.
208 (Bug#20718)
209 (find-function-library): Update accordingly.
210
2112015-06-04 Nicolas Petton <nicolas@petton.fr>
212
213 Merge branch 'map'
214
215 * lisp/emacs-lisp/map.el: Better docstring for the map pcase macro.
216
217 Add new function string-greaterp
218 * lisp/subr.el (string-greaterp): New function. Also aliased to
219 `string>'.
220 * test/automated/subr-tests.el (string-comparison-test): Add unit
221 tests for `string>'and `string<'.
222 * src/fns.c (string-lessp): Better docstring.
223
2242015-06-04 Eli Zaretskii <eliz@gnu.org>
225
226 Fix timezone-related functions on MS-Windows
227 * src/editfns.c (set_time_zone_rule) [WINDOWSNT]: Always call
228 'xputenv', even if no reallocation of tzvalbuf was necessary.
229 This fixes a bug in timezone-related functions on MS-Windows.
230 Reported by Fabrice Popineau <fabrice.popineau@gmail.com>.
231
2322015-06-03 Paul Eggert <eggert@cs.ucla.edu>
233
234 Don't pass raw directory name to 'error'
235 * lisp/files.el (basic-save-buffer-2): Avoid format error if
236 a directory name contains a string like "%s".
237
2382015-06-03 Dmitry Gutov <dgutov@yandex.ru>
239
240 Override 'grep --color=always'
241 * lisp/progmodes/xref.el (xref-collect-matches):
242 Override --color=always in grep-find-template.
243
2442015-06-03 Michael Albinus <michael.albinus@gmx.de>
245
246 Fix error introduced recently in file-notify-tests.el
247 * test/automated/file-notify-tests.el
248 (file-notify--test-remote-enabled): Do not use `file-notify--test-desc'.
249 (file-notify--deftest-remote): Revert previous patch, not
250 necessary anymore.
251
2522015-06-03 Wolfgang Jenkner <wjenkner@inode.at>
253
254 * src/indent.c (Fvertical_motion): Amend motion by 0 lines.
255 Starting from a display string after a newline, point went to the
256 previous line. Also, fix an inadvertent use of a buffer position
257 with FETCH_BYTE. (Bug#20701)
258
2592015-06-03 Michael Albinus <michael.albinus@gmx.de>
260
261 Instrument file-notify-test.el in order to catch hydra error.
262 * test/automated/file-notify-tests.el (file-notify--deftest-remote):
263 Wrap body by `ignore-case', in order to trap non-local errors.
264
2652015-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
266
267 Undo previous changes in non-toolkit scroll bar drawing.
268 * src/xterm.c (x_scroll_bar_set_handle, x_scroll_bar_expose)
269 [!USE_TOOLKIT_SCROLL_BARS]: Draw into scroll bar window. (Bug#20668)
270
2712015-06-03 Paul Eggert <eggert@cs.ucla.edu>
272
273 * .gitignore: Also ignore doc/*/*/*.html and .ps.
274
275 Support quotes 'like this' in info files
276 This is possible when 'makeinfo --disable-encoding' is used
277 in Texinfo 5.
278 * lisp/calc/calc-help.el (calc-describe-thing):
279 * lisp/gnus/gnus-art.el (gnus-button-alist):
280 * lisp/info.el (Info-find-index-name):
281 * lisp/vc/ediff-help.el (ediff-help-for-quick-help):
282 Also support quotes 'like this'.
283 * lisp/calc/calc-help.el (calc-describe-thing): Simplify.
284 * lisp/finder.el (finder-font-lock-keywords): Remove var that
285 hasn't been used in years, instead of bothering to fix its quoting.
286
2872015-06-02 Paul Eggert <eggert@cs.ucla.edu>
288
289 * .gitignore: Remove !test/etags/html-src/*.html.
290 It's no longer needed, since *.html was removed. Sort.
291
2922015-06-02 Dmitry Gutov <dgutov@yandex.ru>
293
294 Restore <D> instead of '.' in grep-find-template
295 * lisp/cedet/semantic/symref/grep.el
296 (semantic-symref-grep-use-template): Update a comment.
297 * lisp/progmodes/grep.el (grep-compute-defaults): Restore <D>
298 instead of '.' in grep-find-template (bug#20719).
299 (rgrep): Pass nil as the directory to rgrep-default-command.
300 * lisp/progmodes/grep.el (grep-expand-keywords): Use '.' as the
301 default value for DIR.
302 * lisp/progmodes/xref.el (xref-collect-matches): Drop the
303 workaround.
304
3052015-06-02 Glenn Morris <rgm@gnu.org>
306
307 * configure.ac (emacs_config_features): Add X toolkit and scroll-bars.
308
309 * configure.ac (emacs_config_features): Add Cairo.
310
311 * configure.ac [HAVE_GTK3]: Remove USE_CAIRO that gets reset later.
312
3132015-06-02 Michael Albinus <michael.albinus@gmx.de>
314
315 Ensure, that autorevert works for remote files in file-notify-tests.el
316 * test/automated/file-notify-tests.el (file-notify--test-desc):
317 New defvar.
318 (file-notify--test-remote-enabled)
319 (file-notify-test00-availability, file-notify-test01-add-watch)
320 (file-notify-test02-events): Use it.
321 (file-notify--test-event-test): Check proper descriptor.
322 (file-notify-test03-autorevert): Ensure, that
323 `visited-file-modtime' has changed.
324 (Bug#20392)
325
3262015-06-02 Nicolas Petton <nicolas@petton.fr>
327
328 Add a pcase pattern for maps and `map-let' based on it
329 * lisp/emacs-lisp/map.el (map-let): New macro.
330 (map--make-pcase-bindings, map--make-pcase-patterns): New functions.
331 * test/automated/map-tests.el: New test for `map-let'.
332
3332015-06-02 Dmitry Gutov <dgutov@yandex.ru>
334
335 Reuse rgrep mechanics in xref-find-regexp
336 * lisp/progmodes/grep.el (rgrep-default-command):
337 Extract from `rgrep'.
338 * lisp/progmodes/xref.el (xref-collect-references): Split from
339 `xref-collect-matches'. Only handle the case of symbol search.
340 (xref-collect-matches): Instead of Semantic Symref, use
341 `rgrep-default-command', to take advantage of its directory and
342 file ignore settings.
343 (xref--collect-match): Remove the last argument, leaving the
344 regexp construction up to the caller.
345 * lisp/progmodes/elisp-mode.el (elisp--xref-find-matches):
346 Change to take the xref-collect- function to use as an argument.
347 (elisp-xref-find): Update accordingly.
348 * lisp/progmodes/etags.el (etags--xref-find-matches)
349 (etags-xref-find): Same.
350
351 Move xref-elisp-location to elisp-mode.el
352 * lisp/progmodes/xref.el (xref-elisp-location)
353 (xref-make-elisp-location, xref-location-marker): Remove here.
354 (xref--xref): Don't limit the type of the location slot.
355 * lisp/progmodes/elisp-mode.el (xref-elisp-location):
356 Define as a cl-struct here.
357 (xref-location-marker): Move here.
358
3592015-06-02 Eli Zaretskii <eliz@gnu.org>
360
361 Minor tweaks for .gitignore
362 * .gitignore: Don't ignore versioned *.html and *.ps files. Don't
363 ignore admin/notes/tags that might be ignored as TAGS on
364 case-insensitive filesystems. (Bug#20710)
365
3662015-06-02 Paul Eggert <eggert@cs.ucla.edu>
367
368 Generate curved quotes in ert doc
369 * lisp/emacs-lisp/ert.el (ert--print-test-for-ewoc)
370 (ert-results-mode-menu)
371 (ert-results-pop-to-backtrace-for-test-at-point)
372 (ert-results-pop-to-messages-for-test-at-point)
373 (ert-results-pop-to-should-forms-for-test-at-point)
374 (ert-describe-test):
375 Quote ‘like this’, not `like this', when generating doc strings
376 and the like.
377 * test/automated/ert-x-tests.el (ert-test-describe-test):
378 Allow quoting ‘like this’.
379
3802015-06-02 Nicolas Richard <youngfrog@members.fsf.org>
381
382 Add test for previous commit
383 * test/automated/replace-tests.el: New file.
384 (query-replace--split-string-tests): Add test for previous commit.
385
386 Avoid confusion in query-replace history when replacing NUL chars
387 * lisp/replace.el (query-replace--split-string): New function.
388 (query-replace-read-from): Rely on the 'separator' property
389 instead of searching for the NUL character (Bug#20690).
390
3912015-06-02 Glenn Morris <rgm@gnu.org>
392
393 Merge from origin/emacs-24
394 8b5f2f4 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
395
396 * admin/gitmerge.el (gitmerge-commit-message):
397 Exclude "skipped" messages from ChangeLog.
398
3992015-06-01 Michael Albinus <michael.albinus@gmx.de>
400
401 Sync with Tramp repository
402 * lisp/net/tramp.el (tramp-message): Dump connection buffer error
403 messages.
404 (tramp-handle-make-auto-save-file-name): When calling
405 `make-auto-save-file-name' internally, make sure it uses Unix-like
406 behavior, not Windows-like behavior.
407 * lisp/net/tramp-sh.el (tramp-set-file-uid-gid): Add a timeout for
408 the local case, because "chown" might fail on w32.
409 * lisp/net/trampver.el (tramp-repository-get-version): Don't run
410 for XEmacs.
411
4122015-06-01 Eli Zaretskii <eliz@gnu.org>
413
414 MS-Windows followup for batch stdout/stderr output changes
415 * lisp/international/mule-cmds.el (set-locale-environment): In
416 batch mode, use console codepages for keyboard and terminal
417 encoding. (Bug#20545)
418
419 Update .gitattributes for DOS EOL files
420 * .gitattributes: Use "whitespace=cr-at-eol" for files with DOS
421 CRLF end-of-line format.
422
423 NS equivalents of xterm.c and w32term.c changes
424 * src/nsterm.m (ns_maybe_dumpglyphs_background): Force redraw of
425 glyph string background also when the font in use claims
426 preposterously large global height value. Helps to remove
427 artifacts left from previous displays when glyphless characters
428 are displayed as hex code in a box.
429 (x_new_font): Call get_font_ascent_descent to obtain a reasonable
430 value for FRAME_LINE_HEIGHT, even when a font claims very large
431 value for its height.
432
4332015-06-01 Paul Eggert <eggert@cs.ucla.edu>
434
435 Avoid grave accent quoting in stderr diagnostics
436 A few Emacs diagnostics go directly to stderr, and so can't easily
437 contain curved quotes (as non-UTF-8 locales might mishandle them).
438 Instead of bothering to add support for this rarity, reword the
439 diagnostics so that they don't use grave accent to quote.
440 * src/alloc.c (mark_memory): Fix comment.
441 * src/buffer.c (init_buffer):
442 * src/dispnew.c (init_display):
443 * src/emacs.c (main, sort_args):
444 * src/lread.c (dir_warning):
445 * src/term.c (init_tty):
446 * src/unexmacosx.c (unexec):
447 * src/xfns.c (select_visual):
448 * src/xterm.c (cvt_string_to_pixel, x_io_error_quitter):
449 Reword stderr diagnostics to avoid quoting `like this'.
450 * src/unexmacosx.c: Include errno.h.
451 * src/xfns.c (select_visual): Encode value for locale.
452
4532015-05-31 Paul Eggert <eggert@cs.ucla.edu>
454
455 Treat batch stdout/stderr like standard display
456 Calls like (print FOO) could generate improperly encoded or
457 hard-to-read output if FOO contains characters outside the system
458 locale. Fix this by treating batch stdout and stderr like
459 interactive standard display, when it comes to transliterating and
460 encoding characters (Bug#20545).
461 * doc/emacs/mule.texi (Communication Coding):
462 * doc/lispref/display.texi (Active Display Table):
463 * doc/lispref/nonascii.texi (Locales):
464 * etc/NEWS:
465 * src/coding.c (syms_of_coding):
466 * src/dispnew.c (syms_of_display):
467 Document this.
468 * src/print.c: Include disptab.h.
469 (printchar_to_stream): New function, with much of the guts of the
470 old Fexternal_debugging_output, except this one also uses the
471 standard display table.
472 (printchar, strout, Fexternal_debugging_output): Use it.
473
4742015-05-31 Glenn Morris <rgm@gnu.org>
475
476 * src/emacs.c (syms_of_emacs) <system-configuration-features>: Doc fix.
477
4782015-05-31 Paul Eggert <eggert@cs.ucla.edu>
479
480 Remove unused DEFSYMs
481 Remove DEFSYMs that aren't used at the C level. Also:
482 * src/decompress.c (Qzlib_dll):
483 * src/font.c (Qunicode_sip):
484 * src/frame.c (Qtip_frame):
485 * src/ftfont.c (Qserif):
486 * src/gnutls.c (Qgnutls_dll):
487 * src/xml.c (Qlibxml2_dll):
488 Move from here ...
489 * src/w32fns.c (syms_of_w32fns): ... to here,
490 as these are used only on MS-Windows.
491
4922015-05-31 Eli Zaretskii <eliz@gnu.org>
493
494 Attempt to fix crashes due to accesses beyond glyph matrix end
495 * src/xdisp.c (x_produce_glyphs): When it->ascent and it->descent
496 are determined from per-character metrics, don't let the
497 max_ascent and max_descent become smaller than values returned by
498 normal_char_ascent_descent, to avoid unpleasant dynamic resizing
499 of screen line heights when text changes.
500 * src/xterm.c (x_new_font)
501 * src/w32term.c (x_new_font): Call get_font_ascent_descent to
502 obtain a reasonable value for FRAME_LINE_HEIGHT, even when a font
503 claims very large value for its height.
504 * src/font.c (font_open_entity): Call get_font_ascent_descent to
505 obtain a reasonable value for FRAME_SMALLEST_FONT_HEIGHT, even
506 when a font claims very large value for its height.
507
5082015-05-31 Michael Albinus <michael.albinus@gmx.de>
509
510 Use another default value for tramp-histfile-override
511 * lisp/net/tramp-sh.el (tramp-histfile-override):
512 Use ".tramp_history" as default.
513 Fixes: debbugs:#20446
514
5152015-05-30 Eli Zaretskii <eliz@gnu.org>
516
517 Fix display of composite characters with large fonts
518 * src/xdisp.c (x_produce_glyphs): Call normal_char_ascent_descent
519 for reasonable values of font ascent and descent.
520 (get_font_ascent_descent): New function.
521 * src/composite.c (composition_gstring_width): Call
522 get_font_ascent_descent for reasonable values of font ascent and
523 descent.
524 * dispextern.h: Add prototype for get_font_ascent_descent.
525
526 Fix display of cursor at end of empty lines
527 * src/xdisp.c (normal_char_ascent_descent): Accept additional
528 argument: the character to use for metrics in case the font
529 declares too large ascent and descent values. Add 1 pixel to
530 ascent and descent values.
531 (normal_char_height): Accept additional argument: the character to
532 use for metrics in case the font declares too large height value.
533 Call normal_char_ascent_descent instead of doing calculations for
534 a different default character.
535 (estimate_mode_line_height, handle_single_display_spec)
536 (calc_pixel_width_or_height, produce_stretch_glyph)
537 (calc_line_height_property, produce_glyphless_glyph): All callers
538 changed.
539 (append_space_for_newline): Make sure the space glyph produced at
540 end of line has correct ascent and descent values, and the glyph
541 row has correct height, even when it's empty.
542
5432015-05-29 Eli Zaretskii <eliz@gnu.org>
544
545 Fix 2 more calculations of line height
546 * src/xdisp.c (estimate_mode_line_height, handle_single_display_spec):
547 Use normal_char_height.
548
549 Fix line dimensions from line-height property
550 * src/xdisp.c (normal_char_ascent_descent): New function,
551 extracted from produce_glyphless_glyph.
552 (calc_line_height_property, produce_glyphless_glyph): Use it to
553 compute reasonable estimates of ascent and descent for large
554 fonts.
555
556 Fix display of stretch glyphs with large fonts
557 * src/xdisp.c (normal_char_height): New function.
558 (calc_pixel_width_or_height, produce_stretch_glyph): Use it to
559 compute more reasonable estimation of a "normal character height"
560 when the font claims preposterously large height values.
561
5622015-05-29 Nicolas Petton <nicolas@petton.fr>
563
564 * doc/emacs/emacs.texi: Update the ISBN of the Emacs manual.
565
5662015-05-28 Eli Zaretskii <eliz@gnu.org>
567
568 Fix display of glyphless characters with problematic fonts
569 * src/w32term.c (x_draw_glyph_string_background): Force redraw of
570 glyph string background also when the font in use claims
571 preposterously large global height value. Helps to remove
572 artifacts left from previous displays when glyphless characters
573 are displayed as hex code in a box.
574 * src/xterm.c (x_draw_glyph_string_background): Force redraw of
575 glyph string background also when the font in use claims
576 preposterously large global height value. Helps to remove
577 artifacts left from previous displays when glyphless characters
578 are displayed as hex code in a box.
579 * src/w32font.c (w32font_draw): Fix background drawing for
580 glyphless characters that display as acronyms or hex codes in a
581 box.
582 * src/xftfont.c (xftfont_draw): Fix background drawing for
583 glyphless characters that display as acronyms or hex codes in a
584 box.
585 * src/xdisp.c (produce_glyphless_glyph): Compute reasonable values
586 for it->ascent and it->descent when the font claims preposterously
587 large global values.
588 (FONT_TOO_HIGH): Move from here...
589 * src/dispextern.h (FONT_TOO_HIGH): ...to here.
590
5912015-05-27 Eli Zaretskii <eliz@gnu.org>
592
593 Avoid very high screen lines with some fonts
594 * src/xdisp.c (get_phys_cursor_geometry): Adjust the height of the
595 cursor to avoid weird-looking hollow cursor with fonts that have
596 large ascent values for some glyphs. This avoids having the
597 hollow cursor start too low.
598 (append_space_for_newline): Adjust the ascent value of the newline
599 glyph, so that the hollow cursor at end of line displays
600 correctly.
601 (FONT_TOO_HIGH): New macro.
602 (x_produce_glyphs): Use it to detect fonts that claim a
603 preposterously large height, in which case we use per-glyph ascent
604 and descent values. (Bug#20628)
605
6062015-05-16 Nicolas Petton <nicolas@petton.fr>
607
608 * etc/NEWS: Add an entry about map.el
609
610 Improve the docstring of functions in map.el
611 Since a map is not a data structure but a concept, adding information
612 about the possible types of maps can be useful information.
613 * lisp/emacs-lisp/map.el: Add documentation about the type of MAP to
614 each public function.
615
6162015-04-29 Nicolas Petton <nicolas@petton.fr>
617
618 Faster implementation of map-empty-p
619 * lisp/emacs-lisp/map.el (map-empty-p): Faster implementation using
620 specific tests depending on the type of the map.
621
622 * lisp/emacs-lisp/map.el: Better docstrings.
623
6242015-04-25 Artur Malabarba <bruce.connor.am@gmail.com>
625
626 * lisp/emacs-lisp/map.el (map-pairs): Dump redundant lambda
627
6282015-04-25 Nicolas Petton <nicolas@petton.fr>
629
630 * lisp/emacs-lisp/map.el (map--elt-list): Better docstring.
631
632 * lisp/emacs-lisp/map.el (map--elt-list): Minor refactoring.
633
634 Fix a false negative in `map-elt' with alists and values being nil
635 * lisp/emacs-lisp/map.el (map-elt): If map is an alist and key is
636 found but its associated value is nil, do not return the default
637 value.
638 * test/automated/map-tests.el: Add a regression test.
639
6402015-04-24 Nicolas Petton <nicolas@petton.fr>
641
642 * lisp/emacs-lisp/map.el (map--dispatch): Improve the docstring.
643
644 Do not signal an error when trying to delete a key from an array
645 * lisp/emacs-lisp/map.el (map-delete): When map is an array, check if
646 the key is present to avoid signaling an error.
647 * test/automated/map-tests.el: Add a test for deleting non-existing
648 keys from maps.
649
650 * lisp/emacs-lisp/map.el: Better docstring.
651
652 Minor improvement in map-elt.
653 * lisp/emacs-lisp/map.el (map-elt): Do not use `ignore-errors' when
654 doing a lookup in arrays, but check the boundaries of the array
655 instead.
656 * test/automated/map-tests.el: Adds a test for `map-elt' with arrays
657 and a negative integer as key.
658
6592015-04-21 Nicolas Petton <nicolas@petton.fr>
660
661 * test/automated/map-tests.el: Refactoring of test methods.
662
663 * test/automated/map-tests.el: Renamed from map-test.el.
664
6652015-04-18 Nicolas Petton <nicolas@petton.fr>
666
667 * lisp/emacs-lisp/map.el (map-into): Better error message.
668
669 * lisp/emacs-lisp/map.el: Removes byte-compilation warnings.
670
671 Throw an error when converting a map into an unknown map type
672 * lisp/emacs-lisp/map.el (map-into): Throw an error if type is not valid.
673 * test/automated/map-test.el: Add a regression test.
674
675 New library map.el similar to seq.el but for mapping data structures.
676 * test/automated/map-test.el: New file.
677 * lisp/emacs-lisp/map.el: New file.
678
6792015-04-11 Ulrich Müller <ulm@gentoo.org>
680
681 Bump Emacs version to 24.5.50.
682
6832015-04-06 Nicolas Petton <nicolas@petton.fr>
684
685 * lisp/ChangeLog: Remove a duplicate
686
6872015-04-05 Nicolas Petton <nicolas@petton.fr>
688
689 lisp/ldefs-boot.el: Update for the 24.5 release
690
691 Update the 24.5 release date in all ChangeLog files
692
12015-05-30 Dmitry Gutov <dgutov@yandex.ru> 6932015-05-30 Dmitry Gutov <dgutov@yandex.ru>
2 694
3 Make sure there's no explicit tag name 695 Make sure there's no explicit tag name
diff --git a/build-aux/gitlog-to-emacslog b/build-aux/gitlog-to-emacslog
index e6877086081..b980dcae278 100755
--- a/build-aux/gitlog-to-emacslog
+++ b/build-aux/gitlog-to-emacslog
@@ -23,7 +23,7 @@ LC_ALL=C
23export LC_ALL 23export LC_ALL
24 24
25# The newest revision that should not appear in the generated ChangeLog. 25# The newest revision that should not appear in the generated ChangeLog.
26gen_origin=0700eb152da4c57419a391161107b48d81abdeb2 26gen_origin=325bf192ae281046834884b12705d6c522871b24
27force= 27force=
28output=ChangeLog 28output=ChangeLog
29nmax=2 29nmax=2