diff options
| author | Joakim Verona | 2013-02-02 00:03:52 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-02-02 00:03:52 +0100 |
| commit | 9aa1f4ecdb156a4135c3f7f6125a2b5a40258038 (patch) | |
| tree | 4026361436b73220b9ae03f2251d2248eeaac700 /src/ChangeLog | |
| parent | ae8a4617f3829786fc675b0dd8d818697da6a214 (diff) | |
| parent | 35e854998e2ab2155875683411beb0518236da18 (diff) | |
| download | emacs-9aa1f4ecdb156a4135c3f7f6125a2b5a40258038.tar.gz emacs-9aa1f4ecdb156a4135c3f7f6125a2b5a40258038.zip | |
auto upstream
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 5c13e35306d..b4c3195973c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,62 @@ | |||
| 1 | 2013-02-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix timestamp bug when write-region appends nothing (Bug#13149). | ||
| 4 | * fileio.c (Fwrite_region): When neither O_EXCL nor O_TRUNC is used, | ||
| 5 | the file's time stamp doesn't change if Emacs happens to write nothing | ||
| 6 | to the file, and on a buggy file system this could cause Emacs to | ||
| 7 | incorrectly infer that the file system doesn't have the bug. | ||
| 8 | Avoid this problem by inhibiting the inference in this case. | ||
| 9 | |||
| 10 | 2013-02-01 Dmitry Antipov <dmantipov@yandex.ru> | ||
| 11 | |||
| 12 | * window.h (struct window): Convert base_line_number, base_line_pos | ||
| 13 | and column_number_displayed members from Lisp_Object to ptrdiff_t. | ||
| 14 | Convert region_showing member from Lisp_Object to bitfield. | ||
| 15 | Remove sequence_number member. Adjust comments. | ||
| 16 | * window.c (sequence_number): Remove. | ||
| 17 | (make_window): Initialize column_number_displayed. | ||
| 18 | * print.c (print_object): Follow the printed representation of | ||
| 19 | frames and print window pointer to distinguish between windows. | ||
| 20 | (adjust_window_count): Invalidate base_line_pos. Adjust comment. | ||
| 21 | * xdisp.c (wset_base_line_number, wset_base_line_pos) | ||
| 22 | (wset_column_number_displayed, wset_region_showing): Remove. | ||
| 23 | (window_buffer_changed, mode_line_update_needed, redisplay_internal) | ||
| 24 | (try_scrolling, try_cursor_movement, redisplay_window) | ||
| 25 | (try_window_reusing_current_matrix, try_window_id, display_line) | ||
| 26 | (display_mode_lines, decode_mode_spec): Adjust users. | ||
| 27 | * .gdbinit (pwinx): Do not print sequence_number. | ||
| 28 | |||
| 29 | 2013-02-01 Paul Eggert <eggert@cs.ucla.edu> | ||
| 30 | |||
| 31 | Use fdopendir, fstatat and readlinkat, for efficiency (Bug#13539). | ||
| 32 | * conf_post.h (GNULIB_SUPPORT_ONLY_AT_FDCWD): Remove. | ||
| 33 | * dired.c: Include <fcntl.h>. | ||
| 34 | (open_directory): New function, which uses open and fdopendir | ||
| 35 | rather than opendir. DOS_NT platforms still use opendir, though. | ||
| 36 | (directory_files_internal, file_name_completion): Use it. | ||
| 37 | (file_attributes): New function, with most of the old Ffile_attributes. | ||
| 38 | (directory_files_internal, Ffile_attributes): Use it. | ||
| 39 | (file_attributes, file_name_completion_stat): First arg is now fd, | ||
| 40 | not dir name. All uses changed. Use fstatat rather than lstat + | ||
| 41 | stat. | ||
| 42 | (file_attributes): Use emacs_readlinkat rather than Ffile_symlink_p. | ||
| 43 | * fileio.c: Include <allocator.h>, <careadlinkat.h>. | ||
| 44 | (emacs_readlinkat): New function, with much of the old | ||
| 45 | Ffile_symlink_p, but with an fd argument for speed. | ||
| 46 | It uses readlinkat rather than careadlinkatcwd, so that it | ||
| 47 | need not assume the working directory. | ||
| 48 | (Ffile_symlink_p): Use it. | ||
| 49 | * filelock.c (current_lock_owner): Use emacs_readlinkat | ||
| 50 | rather than emacs_readlink. | ||
| 51 | * lisp.h (emacs_readlinkat): New decl. | ||
| 52 | (READLINK_BUFSIZE, emacs_readlink): Remove. | ||
| 53 | * sysdep.c: Do not include <allocator.h>, <careadlinkat.h>. | ||
| 54 | (emacs_norealloc_allocator, emacs_readlink): Remove. | ||
| 55 | This stuff is moved to fileio.c. | ||
| 56 | * w32.c (fstatat, readlinkat): New functions. | ||
| 57 | (careadlinkat): Don't check that fd == AT_FDCWD. | ||
| 58 | (careadlinkatcwd): Remove; no longer needed. | ||
| 59 | |||
| 1 | 2013-01-31 Glenn Morris <rgm@gnu.org> | 60 | 2013-01-31 Glenn Morris <rgm@gnu.org> |
| 2 | 61 | ||
| 3 | * fileio.c (choose_write_coding_system): Make it callable from Lisp. | 62 | * fileio.c (choose_write_coding_system): Make it callable from Lisp. |