aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog160
1 files changed, 160 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e7fc8179e07..9d9002ed77b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,163 @@
12012-12-11 Dmitry Antipov <dmantipov@yandex.ru>
2
3 * buffer.c (Fset_buffer_multibyte): Do not force redisplay
4 if changed buffer is not shown in a window.
5 * insdel.c (prepare_to_modify_buffer): Likewise.
6 * window.c (replace_buffer_in_windows_safely): Do nothing
7 if buffer is not shown in a window.
8 (Fforce_window_update): Likewise if string or buffer argument
9 is passed.
10
112012-12-11 Eli Zaretskii <eliz@gnu.org>
12
13 * inotify.c (Finotify_add_watch): Rename decoded_file_name to
14 encoded_file_name, which is what it is.
15
162012-12-11 Dmitry Antipov <dmantipov@yandex.ru>
17
18 Consistently use marker_position and marker_byte_position.
19 * fringe.c (Ffringe_bitmaps_at_pos):
20 * indent.c (Fvertical_motion):
21 * insdel.c (prepare_to_modify_buffer):
22 * keyboard.c (make_lispy_position):
23 * window.c (Fwindow_end, Fpos_visible_in_window_p, unshow_buffer)
24 (window_scroll_pixel_based, displayed_window_lines)
25 (Fset_window_configuration):
26 * xdisp.c (message_dolog, with_echo_area_buffer_unwind_data)
27 (mark_window_display_accurate_1, redisplay_window, decode_mode_spec):
28 Replace direct access to marker fields with calls
29 to marker_position and/or marker_byte_position.
30
312012-12-11 Juanma Barranquero <lekktu@gmail.com>
32
33 * makefile.w32-in (SIG2STR_H): New macro.
34 (SYSWAIT_H, $(BLD)/emacs.$(O), $(BLD)/process.$(O))
35 ($(BLD)/w32notify.$(O)): Update dependencies.
36
372012-12-10 Daniel Colascione <dancol@dancol.org>
38
39 * w32term.c, keyboard.c: Fix build break in cygw32 by omitting
40 Windows file notification functionality unless WINDOWSNT.
41
42 * w32gui.h (hprevinst, lpCmdLine, nCmdShow): Remove unused
43 declarations.
44
45 * w32fns.c (cache_system_info): Initialize the global hinst
46 variable here so various initialization calls DTRT.
47
48 * unexw32.c (hprevinst, lpCmdLine, nCmdShow): Remove unused
49 variables.
50 (hinst): Remove unneeded extern declaration.
51 (_start): Remove initialization of above variables; remove
52 initialization of hinst, as cache_system_info now does that.
53
54 * emacs.c (main): Call cache_system_info early in startup; we
55 previously weren't calling it in Cygwin builds.
56
57 * Makefile.in (ntsource, WINDRES, W32_RES, W#@_RES_LINK): Teach
58 the autoconf build system how to compile a Windows resource file
59 and link it to Emacs.
60
612012-12-10 Dmitry Antipov <dmantipov@yandex.ru>
62
63 Per-buffer window counters.
64 * buffer.h (struct buffer): New member window_count.
65 (buffer_window_count): New function.
66 * buffer.c (Fget_buffer_create, Fmake_indirect_buffer):
67 Initialize window_count.
68 (Fkill_buffer): Verify window_count for the buffer being killed.
69 (modify_overlay): Do not force redisplay if buffer is not shown
70 in any window.
71 (init_buffer_once): Initialize window_count for buffer_defaults
72 and buffer_local_symbols.
73 * window.h (buffer_shared): Remove declaration.
74 (wset_buffer): Convert from inline ...
75 * window.c (wset_buffer): ... to an ordinary function.
76 (adjust_window_count): New function.
77 (make_parent_window): Use it.
78 * xdisp.c (buffer_shared): Remove.
79 (redisplay_internal, redisplay_window): Adjust users.
80 (buffer_shared_and_changed): Use per-buffer window counter.
81
822012-12-10 Eli Zaretskii <eliz@gnu.org>
83
84 Support for filesystem notifications on MS-Windows.
85 * w32proc.c (sys_select): If drain_message_queue returns non-zero,
86 and this is a TTY frame, signal the caller that keyboard input is
87 available.
88
89 * w32xfns.c (drain_message_queue): Now returns an int: an
90 indication whether any WM_EMACS_FILENOTIFY messages were found in
91 the queue.
92
93 * w32inevt.c (handle_file_notifications): New function.
94 (w32_console_read_socket): Call it to process file notifications.
95
96 * w32console.c (initialize_w32_display): Record the main thread ID
97 in dwMainThreadId.
98
99 * deps.mk (inotify.o): New dependency list.
100
101 * Makefile.in (SOME_MACHINE_OBJECTS): Add w32notify.o.
102
103 * w32term.h (WM_EMACS_FILENOTIFY): New custom message.
104 (WM_EMACS_END): Bump value by 1.
105 (notification_buffer_in_use, file_notifications)
106 (notifications_size, notifications_desc): Declare.
107 (w32_get_watch_object, lispy_file_action, globals_of_w32notify):
108 Add prototypes.
109
110 * w32term.c (lispy_file_action, queue_notifications): New functions.
111 (syms_of_w32term) <Qadded, Qremoved, Qmodified, Qrenamed_from>
112 <Qrenamed_to>: New symbols.
113 (w32_read_socket): Handle the WM_EMACS_FILENOTIFY message.
114
115 * w32notify.c: New file, implements file event notifications for
116 MS-Windows.
117
118 * w32fns.c (w32_wnd_proc): Handle the WM_EMACS_FILENOTIFY message
119 by posting it to the w32_read_socket queue.
120
121 * termhooks.h (enum event_kind) [HAVE_NTGUI]: Support
122 FILE_NOTIFY_EVENT.
123
124 * makefile.w32-in (OBJ2): Add $(BLD)/w32notify.$(O).
125 (GLOBAL_SOURCES): Add w32notify.c
126 ($(BLD)/w32notify.$(O)): New set of dependencies.
127
128 * lisp.h (syms_of_w32notify) [WINDOWSNT]: Add prototype.
129
130 * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: Handle
131 FILE_NOTIFY_EVENT.
132 (syms_of_keyboard) [HAVE_NTGUI] <Qfile_notify>: New symbol.
133 (keys_of_keyboard) [WINDOWSNT]: Bind file-notify to
134 w32notify-handle-event by default.
135
136 * emacs.c (main) [WINDOWSNT]: Call globals_of_w32notify and
137 syms_of_w32notify.
138
1392012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
140
141 Support for filesystem notifications on GNU/Linux via inotify.
142 * termhooks.h (enum event_kind) [HAVE_INOTIFY]: Add
143 FILE_NOTIFY_EVENT.
144
145 * lisp.h (syms_of_inotify) [HAVE_INOTIFY]: Add prototype.
146
147 * keyboard.c (Qfile_inotify) [HAVE_INOTIFY]: New variable.
148 (syms_of_keyboard): DEFSYM it.
149 (kbd_buffer_get_event) [HAVE_INOTIFY]: Generate FILE_NOTIFY_EVENT.
150 (make_lispy_event): Support FILE_NOTIFY_EVENT by generating
151 Qfile_inotify events.
152 (keys_of_keyboard) [HAVE_INOTIFY]: Bind file-inotify events in
153 special-event-map to inotify-handle-event.
154
155 * emacs.c (main) [HAVE_INOTIFY]: Call syms_of_inotify.
156
157 * Makefile.in (base_obj): Add inotify.o.
158
159 * inotify.c: New file.
160
12012-12-10 Jan Djärv <jan.h.d@swipnet.se> 1612012-12-10 Jan Djärv <jan.h.d@swipnet.se>
2 162
3 * nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103). 163 * nsterm.m (fd_handler:): FD_ZERO fds (Bug#13103).