aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2015-08-02 06:23:54 -0400
committerGlenn Morris2015-08-02 06:23:54 -0400
commit6d69b0690da24bb44f6c54932923da2286bc6e13 (patch)
tree29f73a26a451a4efc241fe6de343f55e17bbde0e
parentbd3b426ebb7a60045839e97c9da9bfd249fab1f1 (diff)
downloademacs-6d69b0690da24bb44f6c54932923da2286bc6e13.tar.gz
emacs-6d69b0690da24bb44f6c54932923da2286bc6e13.zip
; Auto-commit of ChangeLog files.
-rw-r--r--ChangeLog.2406
1 files changed, 405 insertions, 1 deletions
diff --git a/ChangeLog.2 b/ChangeLog.2
index c4bb6594362..fcaff3925ae 100644
--- a/ChangeLog.2
+++ b/ChangeLog.2
@@ -1,3 +1,407 @@
12015-08-02 Paul Eggert <eggert@cs.ucla.edu>
2
3 Substitute some customization etc. doc strings
4 These changes apply substitute-command-keys to some
5 doc strings that were going through untranslated
6 when creating customization or other widgets.
7 * lisp/cus-edit.el (custom-group-value-create):
8 * lisp/wid-edit.el (widget-default-create):
9 (widget-push-button-value-create):
10 Treat the widget tag as a doc string.
11 * lisp/emacs-lisp/cl-extra.el (cl--describe-class-slot):
12 Treat the :documentation value as a doc string.
13 * lisp/wid-edit.el (widget-choose):
14 Treat the choice names as doc strings.
15 (widget-default-create): Treat the :doc value as a doc string.
16 (widget-toggle-value-create): Treat the :on and :off values
17 as doc strings.
18 (widget-documentation-string-value-create):
19 Substitute the doc string.
20
212015-08-01 Dmitry Gutov <dgutov@yandex.ru>
22
23 Add a second argument to project-ignores
24 * lisp/progmodes/project.el (project-ignores): Add a second
25 argument DIR.
26 * lisp/progmodes/project.el (project-ignores): Only include the VC
27 ignores if DIR is the VC root.
28 * lisp/progmodes/xref.el (xref-find-regexp): Update accordingly.
29
302015-08-01 Eli Zaretskii <eliz@gnu.org>
31
32 Prevent incorrect display when 'line-spacing' variable is set
33 * src/xdisp.c (try_window_id): Give up this optimization if the
34 buffer has its 'line-spacing' variable set non-nil.
35
362015-08-01 Dmitry Gutov <dgutov@yandex.ru>
37
38 Don't pass NOVISIT to find-file
39 * lisp/progmodes/etags.el (next-file):
40 Don't pass NOVISIT to find-file (bug#21175).
41
42 Ignore buffer restriction for tags-loop-eval
43 * lisp/progmodes/etags.el (tags-loop-continue): Ignore buffer
44 restriction (bug#21167).
45
462015-08-01 Eli Zaretskii <eliz@gnu.org>
47
48 Fix a thinko in 'ffap-gopher-at-point'
49 * lisp/ffap.el (ffap-gopher-at-point): Fix last change. (Bug#21168)
50
51 Honor 'line-spacing' for empty lines
52 * src/xdisp.c (append_space_for_newline): Honor 'line-height'
53 property and 'line-spacing' frame parameter or variable or
54 property for empty lines, by doing the same processing as in
55 x_produce_glyph for newline characters. (Bug#21165)
56
572015-08-01 Paul Eggert <eggert@cs.ucla.edu>
58
59 Simplify by assuming C99 integer division
60 * src/floatfns.c (ceiling2, floor2, truncate2):
61 Assume C99 (i.e., Fortran) semantics for integer division.
62 This simplifies the code.
63
642015-07-31 Paul Eggert <eggert@cs.ucla.edu>
65
66 Don't overflow if computing approximate percentage
67 * lisp/align.el (align-region):
68 * lisp/cedet/semantic.el (semantic-repeat-parse-whole-stream):
69 * lisp/cedet/semantic/wisent.el (wisent-parse-region):
70 * lisp/cus-edit.el (custom-buffer-create-internal):
71 * lisp/emacs-lisp/checkdoc.el (checkdoc-interactive-ispell-loop)
72 (checkdoc-message-interactive-ispell-loop, checkdoc-next-error)
73 (checkdoc-next-message-error):
74 * lisp/emacs-lisp/eieio-opt.el (eieio-display-method-list):
75 * lisp/epa.el (epa-progress-callback-function):
76 * lisp/erc/erc-dcc.el (erc-dcc-do-LIST-command):
77 * lisp/ffap.el (ffap-menu-rescan):
78 * lisp/gnus/nnbabyl.el (nnbabyl-retrieve-headers):
79 * lisp/gnus/nndiary.el (nndiary-retrieve-headers):
80 * lisp/gnus/nneething.el (nneething-retrieve-headers):
81 * lisp/gnus/nnmbox.el (nnmbox-retrieve-headers):
82 * lisp/gnus/nnmh.el (nnmh-retrieve-headers):
83 * lisp/gnus/nnml.el (nnml-retrieve-headers):
84 * lisp/gnus/nnspool.el (nnspool-retrieve-headers):
85 * lisp/gnus/nntp.el (nntp-retrieve-headers)
86 (nntp-retrieve-articles):
87 * lisp/imenu.el (imenu--relative-position):
88 * lisp/international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
89 (skkdic-convert-okuri-nasi):
90 * lisp/net/ange-ftp.el (ange-ftp-process-handle-hash):
91 * lisp/nxml/rng-valid.el (rng-compute-mode-line-string):
92 * lisp/org/org-list.el (org-update-checkbox-count):
93 * lisp/org/org.el (org-table-map-tables)
94 (org-update-parent-todo-statistics):
95 * lisp/play/decipher.el (decipher-insert-frequency-counts)
96 (decipher-analyze-buffer):
97 * lisp/profiler.el (profiler-format-percent):
98 * lisp/progmodes/cc-cmds.el (c-progress-update):
99 * lisp/progmodes/cpp.el (cpp-highlight-buffer):
100 * lisp/progmodes/idlwave.el (idlwave-convert-xml-system-routine-info)
101 (idlwave-list-load-path-shadows):
102 * lisp/progmodes/opascal.el (opascal-step-progress):
103 * lisp/progmodes/vhdl-mode.el (vhdl-update-progress-info)
104 (vhdl-scan-directory-contents):
105 * lisp/textmodes/bibtex.el (bibtex-progress-message):
106 * lisp/textmodes/flyspell.el (flyspell-small-region)
107 (flyspell-external-point-words):
108 * lisp/textmodes/table.el (table-recognize):
109 Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
110 progress-report percentages and the like. This avoids problems
111 if (* 100 NUMERATOR) would overflow.
112 * lisp/gnus/gnus-registry.el (gnus-registry-import-eld):
113 * lisp/gnus/registry.el (registry-reindex):
114 Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.
115 * lisp/descr-text.el (describe-char):
116 * lisp/org/org-colview.el (org-nofm-to-completion):
117 * lisp/ps-print.el (ps-plot):
118 * lisp/simple.el (what-cursor-position):
119 Prefer (round (* 100.0 NUMERATOR) DENOMINATOR) to a
120 more-complicated and less-accurate approximation.
121
122 Fix some int overflows in profiler.c
123 * src/profiler.c (make_log): Make args EMACS_INT, not int,
124 to avoid unwanted behavior on 'int' overflow.
125 (make_log, evict_lower_half, record_backtrace):
126 Use ptrdiff_t, not int, for object indexes.
127
128 Port to pedantic memcpy
129 * src/keyboard.c (menu_bar_items, tool_bar_items):
130 * src/xrdb.c (magic_db):
131 Port to pedantic memcpy implementations that reject memcpy (0, 0, 0).
132
133 Merge from gnulib
134 This incorporates:
135 2015-07-29 time_rz: port to pedantic memcpy
136 * lib/time_rz.c: Copy from gnulib.
137
1382015-07-31 Artur Malabarba <bruce.connor.am@gmail.com>
139
140 * lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Fix bug
141 When updating the very last entry, tabulated-list-print would
142 erase it and then try to look at the next one (which obviously
143 isn't there).
144
1452015-07-31 Eli Zaretskii <eliz@gnu.org>
146
147 ;* src/w32fns.c (syms_of_w32fns): Fix last commit.
148
149 Allow to use the old key processing code on MS-Windows
150 * src/w32fns.c (syms_of_w32fns) <w32-use-fallback-wm-chars-method>:
151 New variable.
152 (w32_wnd_proc): Use it to invoke the old code that processed
153 character keys, as fallback, when this variable is non-nil. Fix
154 typos in comments. (Bug#19994)
155
1562015-07-31 Ilya Zakharevich <ilya@math.berkeley.edu>
157
158 Improve handling of Unicode keyboard input on MS-Windows
159 * src/w32fns.c (get_wm_chars, deliver_wm_chars): New functions.
160 (FPRINTF_WM_CHARS) [DEBUG_WM_CHARS]: New macro for debugging.
161 (w32_wnd_proc): Call deliver_wm_chars to process non-special keys
162 upon receiving WM_KEYDOWN or WM_SYSKEYDOWN messages. If that is
163 successful, don't call TranslateMessage. (Bug#19994)
164
1652015-07-30 Dmitry Gutov <dgutov@yandex.ru>
166
167 Fix default-directory in changeset diffs after vc-print-log
168 * lisp/vc/log-view.el (log-view-diff-common): Move the
169 revision-granularity check back into log-view-diff-changeset.
170 (log-view-diff-changeset): Bind default-directory to the current
171 VC root.
172
173 Rename project-directories to project-roots
174 * lisp/progmodes/project.el (project-search-path-function)
175 (project-search-path): Update the docstring.
176 (project-directories): Rename to `project-roots', update all
177 callers and implementations accordingly.
178 (project-root): Remove.
179 * lisp/progmodes/xref.el (xref-find-regexp): Use * instead of *.*
180 as the default file mask.
181
1822015-07-30 Eli Zaretskii <eliz@gnu.org>
183
184 Support long URLs in w32-shell-execute
185 * src/w32fns.c (Fw32_shell_execute): Don't use filename_to_utf16
186 and filename_to_ansi to convert the DOCUMENT argument, as it could
187 be a URL that is not limited to MAX_PATH characters. Instead, use
188 MultiByteToWideChar directly, and allocate heap storage as
189 required to accommodate the converted string. Likewise with
190 non-Unicode operation. Ensure OPERATION is null-terminated, even
191 if it is longer than 32K bytes. (Bug#21158)
192
1932015-07-30 Stephen Leake <stephen_leake@stephe-leake.org>
194
195 vc-mtn-find-revision handle null rev.
196 * lisp/vc/vc-mtn.el (vc-mtn-find-revision): handle null rev
197
1982015-07-29 Stephen Leake <stephen_leake@stephe-leake.org>
199
200 Add docs for display-buffer action display-buffer-use-some-frame
201 * lisp/window.el (display-buffer-use-some-frame): improve doc string
202 * doc/lispref/windows.texi (Display Action Functions): add
203 display-buffer-use-some-frame
204 * etc/NEWS: mention display-buffer-use-some-frame
205
206 Add display-buffer action display-buffer-use-some-frame
207 * lisp/window.el (display-buffer-use-some-frame): new
208
209 Handle vc-mtn error more gently
210 * lisp/vc/vc-mtn.el (vc-mtn-mode-line-string): return "" when branch is nil
211
2122015-07-29 Michael Albinus <michael.albinus@gmx.de>
213
214 Fix Tramp problems with multihops, and nc.
215 * lisp/net/tramp-cache.el (tramp-get-file-property)
216 (tramp-set-file-property, tramp-flush-file-property)
217 (tramp-get-connection-property, tramp-set-connection-property)
218 (tramp-flush-connection-property): Remove hop from vector.
219 * lisp/net/tramp-gw.el (tramp-gw-process-filter): Ignore errors.
220 * lisp/net/tramp-sh.el (tramp-methods) <nc>: Separate STDERR.
221 (tramp-do-copy-or-rename-file-out-of-band): Increase timeout of
222 netstat to 60".
223 (tramp-sh-handle-start-file-process): Do not show hops in prompt.
224 * lisp/net/tramp.el (tramp-handle-file-name-as-directory)
225 (tramp-handle-file-name-directory, tramp-handle-file-remote-p):
226 Keep hop in result.
227 * test/automated/tramp-tests.el (tramp-test02-file-name-dissect):
228 Add hop tests.
229
2302015-07-29 Eli Zaretskii <eliz@gnu.org>
231
232 Resurrect highlighting of repeated words by Flyspell Mode
233 * lisp/textmodes/flyspell.el (flyspell-word): Leave some non-word
234 characters between point and the doublon candidate, so that
235 flyspell-word-search-backward finds it. (Bug#21157)
236
237 Fix redisplay of large images on expose events
238 * src/xdisp.c (expose_window, expose_area): Avoid comparisons
239 between signed negative values and unsigned values. This
240 prevented redisplay on expose events when the window showed a very
241 large image.
242
2432015-07-29 Paul Eggert <eggert@cs.ucla.edu>
244
245 Remove unnecessary stack overflow dependency
246 * configure.ac (HAVE_STACK_OVERFLOW_HANDLING):
247 Don't worry about $ac_cv_header_sys_resource_h and
248 $ac_cv_func_getrlimit, as they're no longer needed for this.
249 Problem reported by Eli Zaretskii in:
250 http://lists.gnu.org/archive/html/emacs-devel/2015-07/msg00443.html
251
2522015-07-28 Andy Moreton <andrewjmoreton@gmail.com> (tiny change)
253
254 Pacify compilation -Wincompatible-pointer-types warnings
255 * src/w32proc.c (Fw32_get_codepage_charset): Avoid compilation
256 warning.
257 (CompareStringW_Proc): New typedef.
258 (w32_compare_strings): Use it, to pacify compiler warnings under
259 "-Wincompatible-pointer-types".
260 * src/w32fns.c (GetDiskFreeSpaceExW_Proc)
261 (GetDiskFreeSpaceExA_Proc): New typedefs.
262 (Ffile_system_info): Use them, to pacify compiler warnings under
263 "-Wincompatible-pointer-types".
264
2652015-07-28 Paul Eggert <eggert@cs.ucla.edu>
266
267 Fix subscript error in calculate_direct_scrolling
268 Use slightly-longer cost vectors. Without this change,
269 calculate_direct_scrolling can have a subscript violation when
270 FRAME_LINES (frame) <= delta.
271 * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
272 (line_ins_del, do_line_insertion_deletion_costs):
273 Allocate and use slightly-larger cost vectors, ones based on
274 FRAME_TOTAL_LINES instead of FRAME_LINES.
275
276 Fix uninitalized value in encode_coding_object
277 * src/coding.c (encode_coding_object): Also initialize
278 coding->src_pos and coding->src_pos_byte when NILP (src_object).
279 This avoids later use of uninitialized storage.
280
2812015-07-27 Xue Fuqiao <xfq.free@gmail.com>
282
283 * doc/lispref/variables.texi (Variable Aliases): Typo fix. (Bug#21141)
284
2852015-07-27 Paul Eggert <eggert@cs.ucla.edu>
286
287 Merge from gnulib
288 This incorporates:
289 2015-07-27 time_rz: port better to MinGW
290 2015-07-27 time: port __need_time_t to MinGW
291 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
292 * lib/strftime.c, lib/time.in.h, lib/time_rz.c: Copy from gnulib.
293 * lib/time-internal.h: New file, from gnulib.
294
2952015-07-27 Eli Zaretskii <eliz@gnu.org>
296
297 Handle NULL pointers in w32heap.c allocation routines
298 * src/w32heap.c (FREEABLE_P): Consider a NULL pointer "not
299 freeable".
300 (realloc_after_dump, realloc_before_dump, free_before_dump):
301 Handle NULL pointers gracefully, as Emacs now seems to expect
302 that.
303
304 Fix Cairo build without PNG
305 * src/image.c: Define PNG function when USE_CAIRO is defined, even
306 if HAVE_PNG is not. (Bug#21133)
307
308 MS-Windows follow-up for recent TZ-related changes
309 * nt/mingw-cfg.site (ac_cv_header_pthread_h)
310 (gl_cv_sys_struct_timespec_in_pthread_h): Force to "no", to avoid
311 picking up 'struct timespec' from pthread.h, if it is installed on
312 the user's system. We want either the definitions from MinGW
313 system headers, if available, or the Gnulib replacements if not.
314 * nt/inc/ms-w32.h <struct timespec>: Don't define, as we now use
315 lib/time.h.
316 * lib/time.in.h: Don't let __need_* symbols affect what happens on
317 MinGW. These symbols are defined by MinGW system headers, but we
318 don't want that to affect whether Gnulib portions of the header
319 are or aren't used.
320
3212015-07-26 Paul Eggert <eggert@cs.ucla.edu>
322
323 * src/ftfont.c (ftfont_close): Add comment re Bug#20890.
324
325 New optional ZONE arg for format-time-string etc.
326 This simplifies time conversions in other time zones.
327 It also prevents display-time-world tampering with TZ (Bug#21020).
328 * admin/admin.el (add-release-logs):
329 Use improved add-log-time-format API.
330 * admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
331 (GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
332 * configure.ac (tzalloc): Remove test for this, since
333 Emacs no longer uses HAVE_TZALLOC directly.
334 * doc/lispref/os.texi (Time of Day, Time Conversion)
335 (Time Parsing):
336 * etc/NEWS: Document the new behavior.
337 Merge from gnulib, incorporating:
338 2015-07-25 strftime: fix newly-introduced bug on Solaris
339 2015-07-23 fprintftime, strftime: use timezone_t args
340 * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
341 * lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
342 * m4/time_h.m4:
343 Update from gnulib.
344 * lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
345 New files from gnulib.
346 * lisp/time-stamp.el (time-stamp-string):
347 * lisp/time.el (display-time-world-list)
348 (display-time-world-display):
349 Use new API, with time zone arg.
350 * lisp/time.el (display-time-world-display):
351 Fix race when current-time advances while we're running.
352 * lisp/vc/add-log.el (add-log-iso8601-time-zone)
353 (add-log-iso8601-time-string): Accept optional time zone arg.
354 * lisp/vc/add-log.el (add-change-log-entry):
355 * lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
356 * nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
357 Add rules for the time module, since they're now needed
358 for tzalloc etc.
359 * src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
360 (emacs_getenv_TZ, emacs_setenv_TZ): New decls.
361 * src/editfns.c: Include errno.h.
362 (set_time_zone_rule): Omit unnecessary forward decl.
363 (initial_tz): Remove, replacing with ...
364 (local_tz, wall_clock_tz, utc_tz): New static vars and constants.
365 (tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
366 (emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
367 (tzlookup): New static functions.
368 (init_editfns): New arg DUMPING. All uses changed.
369 (init_editfns): Omit most initialization if dumping, not if
370 !initialized. Initialize wall_clock_tz and local_tz.
371 (emacs_nmemftime, format_time_string): Time zone argument can now
372 be any time zone, not just a boolean for UTC or local time. All
373 callers changed.
374 (Fformat_time_string, Fencode_time, Fcurrent_time_string)
375 (Fcurrent_time_zone): New optional arg ZONE.
376 (Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
377 the same form as with the other new additions.
378 (decode_time_zone): Remove; no longer needed.
379 (tzvalbuf): Now file-scope.
380 (emacs_getenv_TZ, emacs_setenv_TZ): New functions.
381 (syms_of_editfns): Define Qwall.
382 * src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
383 * src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
384 [!HAVE_TZALLOC]:
385 Remove; now supplied by gnulib.
386 * src/emacs.c (main):
387 * src/lisp.h (init_editfns): Adjust to init_editfns API change.
388
3892015-07-26 Shigeru Fukaya <shigeru.fukaya@gmail.com>
390
391 Fix infinite loop in delete-consecutive-dups
392 * lisp/subr.el (delete-consecutive-dups): Work even if the last
393 element is nil (Bug#20588). Avoid rescan of a circular list in
394 deletion of last element.
395
3962015-07-26 Martin Rudalics <rudalics@gmx.at>
397
398 Have `x-frame-geometry' return nil for terminal and initial frames (Bug#21132)
399 * src/nsfns.m (Fx_frame_geometry):
400 * src/xfns.c (Fx_frame_geometry): Return nil for initial and
401 terminal frames.
402 * src/w32fns.c (Fw32_frame_menu_bar_size, Fw32_frame_rect)
403 (Fx_frame_geometry): Return nil for terminal frames
404
12015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change) 4052015-07-26 HOSOYA Kei <hosoyakei.free@gmail.com> (tiny change)
2 406
3 * etc/tutorials/TUTORIAL.ja: Improve translation. 407 * etc/tutorials/TUTORIAL.ja: Improve translation.
@@ -8170,7 +8574,7 @@
8170 8574
8171This file records repository revisions from 8575This file records repository revisions from
8172commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to 8576commit 9d56a21e6a696ad19ac65c4b405aeca44785884a (exclusive) to
8173commit 2cf501ce1b77e6e409871eef7b9d31a08e73cfc0 (inclusive). 8577commit bd3b426ebb7a60045839e97c9da9bfd249fab1f1 (inclusive).
8174See ChangeLog.1 for earlier changes. 8578See ChangeLog.1 for earlier changes.
8175 8579
8176;; Local Variables: 8580;; Local Variables: