Commit | Line | Data |
---|---|---|
034a7130 PJ |
1 | 2002-04-12 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2 | ||
3 | * lisp.h (Fpropertize): Add prototype. | |
4 | ||
5 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
6 | ||
e82defd1 CW |
7 | 2002-04-10 Colin Walters <walters@verbum.org> |
8 | ||
b9b966e0 CW |
9 | * config.in: Add HAVE_SHARED_GAME_DIR. |
10 | ||
e82defd1 CW |
11 | * callproc.c: (Vgame_score_directory): New variable. |
12 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. | |
13 | ||
05ea8efd RS |
14 | 2002-04-10 Richard M. Stallman <rms@gnu.org> |
15 | ||
16 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
17 | ||
f9cf4c2c SM |
18 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> |
19 | ||
20 | * minibuf.c (read_minibuf): Use empty_string. | |
21 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
22 | Short-circuit the search as soon as it "failed". | |
23 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
24 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
25 | when require_match is nil. | |
26 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
27 | Call the predicate also when alist is a list. | |
28 | Obey Vcompletion_regexp_list. | |
29 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
30 | (Fassoc_string): Rename from `assoc_for_completion'. | |
31 | Allow list of strings as well and export to elisp. | |
32 | ||
dba57d89 SM |
33 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> |
34 | ||
35 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
36 | ||
a0ad1860 JB |
37 | 2002-04-08 Juanma Barranquero <lektu@terra.es> |
38 | ||
39 | * w32.c (sys_accept): Don't hide variable `s'. | |
40 | ||
b9f0b172 GM |
41 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> |
42 | ||
0d1bf3f7 | 43 | * callint.c (Fcall_interactively): Use INTEGERP instead of |
b9f0b172 GM |
44 | NUMBERP for checking Vhistory_length. |
45 | ||
368ab68f PJ |
46 | 2002-04-05 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
47 | ||
48 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
49 | Doc fix to reflect it. | |
50 | ||
d3012189 RS |
51 | 2002-04-04 Richard M. Stallman <rms@gnu.org> |
52 | ||
53 | * xdisp.c (display_mode_element): New arg RISKY. | |
54 | Disregard text props found or specified within a variable | |
55 | that isn't marked risky-local-variable. | |
56 | (Qrisky_local_variable): New variable. | |
57 | (syms_of_xdisp): Init and staticpro it. | |
58 | ||
0d1bf3f7 SM |
59 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> |
60 | ||
61 | * undo.c (record_point): New fun. | |
62 | (record_delete, record_insert): Use it. | |
63 | ||
8caa93d2 JB |
64 | 2002-04-03 Juanma Barranquero <lektu@terra.es> |
65 | ||
66 | * doc.c (Fdocumentation): Add missing parentheses. | |
67 | (Fdocumentation_property): Likewise. | |
68 | ||
b3bbfb96 SM |
69 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> |
70 | ||
71 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
72 | data is 0, just return nil. | |
73 | ||
db4a142a EZ |
74 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> |
75 | ||
76 | * msdos.c (syms_of_msdos): Fix last change with | |
77 | mouse_autoselect_window. | |
78 | ||
dc8cd652 PJ |
79 | 2002-04-03 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
80 | ||
81 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
82 | mouse_autoselect_window. | |
83 | ||
e5aa79fa SM |
84 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> |
85 | ||
4c8bc894 SM |
86 | * keyboard.c (make_lispy_event): Handle unknown keysyms together |
87 | with system-specific keysyms. Use it also for unknown function keys. | |
88 | ||
e5aa79fa SM |
89 | * doc.c (reread_doc_file): Return whether reload was attempted. |
90 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
91 | if the doc is 0 and only ask once. | |
92 | ||
93 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
94 | ||
5d12f14d EZ |
95 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> |
96 | ||
97 | * keyboard.c (read_char): If the event was Qselect_window, | |
98 | restore timer_idleness_start_time to its previous value. | |
99 | ||
e5aa79fa | 100 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. |
5d12f14d | 101 | |
bed9664a SM |
102 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> |
103 | ||
c5e5e1f8 SM |
104 | * region-cache.c (new_region_cache): Use BEG. |
105 | ||
106 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
107 | Use BEG and BEG_BYTE. | |
108 | ||
e5aa79fa | 109 | * doc.c (get_doc_string): Return nil if the location is wrong. |
c5e5e1f8 SM |
110 | (reread_doc_file): New fun. |
111 | (Fdocumentation, Fdocumentation_property): | |
112 | Call it if get_doc_string fails. | |
113 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
114 | ||
115 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
116 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
117 | ||
118 | * charset.c (Fstring): Allow 0 arguments. | |
119 | ||
bed9664a SM |
120 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. |
121 | ||
122 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
123 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
124 | (Fset_network_process_options, server_accept_connection): | |
125 | Fix some int/Lisp_Object confusions (thank you union types). | |
126 | ||
83512b21 PJ |
127 | 2002-04-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
128 | ||
129 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
130 | ||
131 | * w32term.c: Likewise. | |
bed9664a | 132 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. |
83512b21 PJ |
133 | |
134 | * keyboard.c (Qselect_window): New symbol. | |
135 | (head_table): Use it. | |
bed9664a SM |
136 | (keys_of_keyboard): Bound select-window event to handle-select-window. |
137 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
83512b21 PJ |
138 | |
139 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
140 | (last_window): New variable. | |
141 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
142 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
093484c7 PJ |
143 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for |
144 | Emacs windows. | |
83512b21 | 145 | |
bed9664a | 146 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. |
83512b21 | 147 | |
abfb6b46 GM |
148 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> |
149 | ||
150 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
151 | Callers changed. | |
152 | ||
9b2bba76 RS |
153 | 2002-03-30 Richard M. Stallman <rms@gnu.org> |
154 | ||
155 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
156 | loop whenever it stops making progress. | |
157 | ||
158 | * widget.c (set_frame_size): Don't call change_frame_size. | |
159 | ||
fd524c21 GM |
160 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> |
161 | ||
bed9664a SM |
162 | * dispnew.c (direct_output_for_insert): |
163 | Call mark_window_display_accurate. | |
fd524c21 | 164 | |
df3bd29d JR |
165 | 2002-03-29 Jason Rumney <jasonr@gnu.org> |
166 | ||
167 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
168 | ||
eb191db2 EZ |
169 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> |
170 | ||
8bff61e5 EZ |
171 | * Makefile.in (lread.o): Depend on coding.h. |
172 | ||
544bf8ad | 173 | * lread.c (openp, Fload): Encode the file name before passing it |
eb191db2 EZ |
174 | to `stat', `access', and `emacs_open'. |
175 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
176 | strings unnecessarily. | |
177 | ||
f9b33abb KS |
178 | 2002-03-29 Kim F. Storm <storm@cua.dk> |
179 | ||
180 | * fns.c (Flax_plist_put): Doc fix. | |
181 | ||
d4648402 MB |
182 | 2002-03-28 Miles Bader <miles@gnu.org> |
183 | ||
184 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
185 | ||
320aebc9 PJ |
186 | 2002-03-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
187 | ||
188 | * process.c (set-network-process-options): Add usage. | |
189 | (make-network-process): Doc fix. | |
190 | ||
4aaa3607 EZ |
191 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> |
192 | ||
193 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
194 | ||
a5f08374 RS |
195 | 2002-03-26 Richard M. Stallman <rms@gnu.org> |
196 | ||
9356fe5a RS |
197 | * fns.c (Fsubstring_no_properties): New function. |
198 | (Flax_plist_get, Flax_plist_put): New functions. | |
199 | (syms_of_fns): defsubr them. | |
200 | ||
a5f08374 RS |
201 | * xdisp.c (update_menu_bar): Test only update_mode_lines; |
202 | don't test or alter w->update_mode_line. | |
203 | ||
204 | * window.c (Fdisplay_buffer): Doc fix. | |
205 | ||
206 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
207 | ||
208 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
209 | ||
0af6533d GM |
210 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> |
211 | ||
212 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
213 | (Fdefmacro): Handle `(declare ...)'. | |
214 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
215 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
216 | ||
217e5be0 JR |
217 | 2002-03-24 Jason Rumney <jasonr@gnu.org> |
218 | ||
219 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
220 | (xbm_file_p): Add prototypes. | |
221 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
222 | (reflect_byte): New function. | |
223 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
224 | (xbm_load_image): Create bitmaps with a depth of 1. | |
225 | (init_xfns): Enable XBM images. | |
226 | ||
919f1e88 JR |
227 | 2002-03-23 Jason Rumney <jasonr@gnu.org> |
228 | ||
229 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
230 | correctly. Do not pass up_modifier to keyboard buffer. | |
231 | ||
232 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
233 | ||
44d38e8d SM |
234 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> |
235 | ||
236 | * Makefile.in (bootstrapclean): New target. | |
237 | (bootstrap-temacs, bootstrap-doc): Remove. | |
238 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
239 | Don't bother to build a DOC file. | |
240 | ||
241 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
242 | ||
243 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
244 | in temacs even if !CANNOT_DUMP. | |
245 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
246 | ||
247 | * alloc.c (check_pure_size): Only output a warning. | |
248 | ||
b8b47c19 JR |
249 | 2002-03-22 Jason Rumney <jasonr@gnu.org> |
250 | ||
d3109773 JR |
251 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are |
252 | supported. | |
253 | ||
ef07a497 | 254 | * w32term.c (zv_bits): Declare as short, for word alignment. |
b8b47c19 JR |
255 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. |
256 | (syms_of_w32term): Define x-use-underline-position-properties. | |
257 | ||
258 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
259 | (clear_image_cache): Block input, fix logic, clear matrices in | |
260 | all frames that share this cache. | |
261 | ||
b9b1a853 EZ |
262 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> |
263 | ||
483812ae EZ |
264 | * emacs.c (main): Update the Copyright year in the blurb printed |
265 | by "emacs --version". | |
266 | ||
78e17433 EZ |
267 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. |
268 | ||
b9b1a853 EZ |
269 | * xterm.c (XTread_socket): If XK_ISO_Lock and |
270 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
271 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
272 | ||
fd646341 KS |
273 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
274 | ||
275 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
276 | menu-bar bindings in keymap and local-map properties _are_ used. | |
277 | But try keymap property first in accordance with 2002-01-03 patch. | |
278 | Added comment describing why this is not always reliable. | |
279 | (tool_bar_items): Ditto for tool-bar. | |
280 | ||
bf76fe9c JR |
281 | 2002-03-21 Jason Rumney <jasonr@gnu.org> |
282 | ||
283 | * w32fns.c (x_clear_image_1): Disable color table code. | |
284 | ||
41ad6233 KS |
285 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
286 | ||
287 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
288 | removed the wrong version of the DEFUN macro; fixed it. | |
289 | ||
290 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
291 | Fmember rather than Fmemq). | |
292 | (Fprovide): Check that subfeatures is a list. | |
293 | ||
294 | * process.c (QCfeature, QCdatagram): Removed variables. | |
295 | (QCtype, Qdatagram): New variables. | |
296 | (network_process_featurep): Removed function. | |
297 | (Fmake_network_process): Removed :feature check. | |
298 | Use :type 'datagram instead of :datagram t to create a datagram | |
299 | socket. This allows us to add other connection types (e.g. raw | |
300 | sockets) later in a consistent manner. | |
3ae1b884 KS |
301 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of |
302 | supported subfeatures for feature make-network-process. | |
41ad6233 KS |
303 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. |
304 | Intern and staticpro QCtype and Qdatagram. | |
305 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
306 | ||
307 | * xfns.c: (QCtype): Remove duplicate declaration and | |
308 | initialization (is now declared in process.c). | |
309 | ||
310 | * w32fns.c: (QCtype): Remove duplicate declaration and | |
311 | initialization (is now declared in process.c). | |
312 | ||
27950b47 RS |
313 | 2002-03-21 Richard M. Stallman <rms@gnu.org> |
314 | ||
f6df485f RS |
315 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. |
316 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
317 | when jumping to `fail' to avoid undoing reg changes in the | |
318 | last iteration of the loop. | |
319 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
320 | ||
27950b47 RS |
321 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): |
322 | Depend on process.h. | |
323 | ||
3be38152 JR |
324 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
325 | ||
326 | Most of the following changes are still conditional on HAVE_IMAGES | |
327 | which is not set by default on Windows. | |
328 | ||
47bcdab2 JR |
329 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. |
330 | ||
3be38152 JR |
331 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. |
332 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
333 | (four_corners_best, x_clear_image_1, x_clear_image) | |
334 | (x_alloc_image_color, postprocess_image) | |
335 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
336 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
337 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
338 | ||
339 | * w32gui.h (struct XImage): Define. | |
340 | ||
341 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
342 | extract mouse co-ordinates. | |
343 | ||
f37577f9 JR |
344 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
345 | ||
346 | * w32.c (init_winsock): Dynamically load new server and UDP | |
347 | socket functions. | |
348 | (socket_to_fd): New function. | |
349 | (sys_socket): Use it. | |
350 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
351 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
352 | ||
353 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
354 | and initialization. | |
355 | ||
356 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
357 | ||
ab8a75de EZ |
358 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> |
359 | ||
360 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): Don't | |
361 | use "sun" as a variable, it's a predefined constant on Sun | |
362 | machines. | |
363 | ||
9ab7ff8b PJ |
364 | 2002-03-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
365 | ||
366 | * bytecode.c (Fbyte_code): Revert last change. | |
367 | ||
d1ef18f2 KS |
368 | 2002-03-19 Kim F. Storm <storm@cua.dk> |
369 | ||
370 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
371 | From David Ponce <dponce@voila.fr>. | |
372 | ||
99982883 PJ |
373 | 2002-03-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
374 | ||
44c887be PJ |
375 | * process.c (wait_reading_process_input): Move variables `pname' |
376 | and `pnamelen' down where they are used. | |
377 | ||
18f85cdd PJ |
378 | * bytecode.c (Fbyte_code): Discard unused computed value to |
379 | prevent gcc warning. | |
380 | ||
99982883 PJ |
381 | * lisp.h (Fplist_member): Add prototype. |
382 | ||
10ce34dc KS |
383 | 2002-03-18 Kim F. Storm <storm@cua.dk> |
384 | ||
385 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
386 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and | |
387 | HAVE_SYS_UN_H. | |
388 | ||
744d746b | 389 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. |
10ce34dc KS |
390 | Remove explicit GNU_LINUX settings for datagram support. |
391 | ||
fa9d4315 PJ |
392 | 2002-03-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
393 | ||
394 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
395 | Doc fix. Add usage:. | |
396 | (set_socket_options): Remove unused variables `optnum' and | |
397 | `opttype'. | |
398 | ||
6147334f RS |
399 | 2002-03-17 Richard M. Stallman <rms@gnu.org> |
400 | ||
401 | * xdisp.c (cursor_type_changed): New variable. | |
402 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
403 | Clear it when clearing windows_or_buffers_changed. | |
404 | (try_cursor_movement, redisplay_window, try_window_id) | |
405 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
406 | along with windows_or_buffers_changed. | |
407 | ||
623fa9e7 | 408 | * window.h (cursor_type_changed): New variable. |
6147334f RS |
409 | |
410 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
411 | not update_mode_lines, and always set it to 1. | |
412 | ||
413 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
414 | if no frames needed redrawing. | |
415 | ||
5439f987 KS |
416 | 2002-03-17 Kim F. Storm <storm@cua.dk> |
417 | ||
623fa9e7 | 418 | The following changes add support for network server processes, |
5439f987 KS |
419 | datagram connections, and local (unix) sockets. |
420 | ||
421 | * process.h (struct Lisp_Process): New member log. | |
422 | Doc fix: Member command used to indicate stopped network process. | |
423 | Doc fix: Member childp contains plist for network process. | |
424 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
425 | ||
426 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
427 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
428 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
429 | New variables. | |
430 | (NETCONN1_P): New macro. | |
431 | (DATAGRAM_SOCKETS): New conditional symbol. | |
432 | (datagram_address): New array. | |
433 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
434 | (status_message): Use concat3. | |
435 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
436 | for a stopped network process. | |
437 | (Fset_process_buffer): Update contact plist for network process. | |
438 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
439 | network processes. Server must listen, even if filter is t. | |
440 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
441 | New functions. | |
442 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
443 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
444 | (list_processes_1): Optionally show only processes with the query | |
445 | on exit flag set. Dynamically adjust column widths. Omit tty | |
446 | column if not needed. Report stopped network processes. | |
447 | Identify server and datagram network processes. | |
448 | (Flist_processes): New optional arg `query-only'. | |
449 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
450 | (conv_lisp_to_sockaddr, set_socket_options) | |
451 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
452 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
453 | (Fset_network_process_options): New lisp functions. | |
454 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
455 | (Fmake_network_process): New lisp function. Code is based on previous | |
456 | Fopen_network_stream, but heavily reworked with new property list based | |
457 | argument list, support for datagrams, server processes, and local | |
458 | sockets in addition to old client-only functionality. | |
459 | (server_accept_connection): New function. | |
460 | (wait_reading_process_input): Use it to handle incoming connects. | |
461 | Do not enable input on a new connection if process is stopped. | |
462 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | |
463 | (send_process): Handle datagram sockets. | |
464 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
465 | network process is indicated by setting command field to t . | |
466 | (Fprocess_send_eof): No-op if datagram connection. | |
467 | (Fstatus_notify): Don't read input for a stream server socket or a | |
468 | stopped network process. | |
469 | (init_process): Initialize datagram_address array. | |
470 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
471 | functions. | |
472 | ||
f779bd4c JR |
473 | 2002-03-16 Jason Rumney <jasonr@gnu.org> |
474 | ||
475 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
476 | startup case. | |
477 | ||
a9c1a157 RS |
478 | 2002-03-16 Richard M. Stallman <rms@gnu.org> |
479 | ||
480 | * xdisp.c (redisplay_internal, redisplay_windows): | |
481 | Use list_of_error to call internal_condition_case_1. | |
482 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
483 | so as to catch all errors with no possibility of debugger redisplay. | |
484 | (list_of_error): New variable. | |
485 | (syms_of_xdisp): Init and staticpro it. | |
486 | ||
487 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
488 | ||
7264f28d EZ |
489 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> |
490 | ||
491 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
492 | until its implementation is fixed. | |
493 | ||
6ee8e167 PJ |
494 | 2002-03-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
495 | ||
496 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
497 | ||
7c3f9166 RS |
498 | 2002-03-14 Richard M. Stallman <rms@gnu.org> |
499 | ||
500 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
501 | ||
5b905677 MB |
502 | 2002-03-14 Miles Bader <miles@gnu.org> |
503 | ||
504 | * intervals.c (adjust_for_invis_intang): New function. | |
505 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
506 | work for dealing with invisible+intangible regions. Do so before | |
507 | and after both forward and backward movements, to handle both | |
508 | front-sticky and rear-sticky cases. | |
509 | * textprop.c (text_property_stickiness): Function moved here from | |
510 | `editfns.c'. | |
511 | * intervals.h (text_property_stickiness): New declaration. | |
512 | * editfns.c (char_property_eq): Function removed. | |
513 | (text_property_stickiness): Function moved to `textprop.c'. | |
514 | ||
73792b51 JR |
515 | 2002-03-13 Jason Rumney <jasonr@gnu.org> |
516 | ||
517 | * config.in: Add STRFTIME_NO_POSIX2. | |
518 | ||
519 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
520 | and %OX when underlying strftime does not. | |
521 | ||
dc3b2c8b SM |
522 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> |
523 | ||
6f2a7a68 SM |
524 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: |
525 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
526 | line) to avoid annoying flicker. | |
527 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
528 | (XTread_socket): Mark it static. | |
529 | ||
dc3b2c8b SM |
530 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. |
531 | ||
98243275 KS |
532 | 2002-03-13 Kim F. Storm <storm@cua.dk> |
533 | ||
534 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
535 | ||
7dcece14 JB |
536 | 2002-03-12 Juanma Barranquero <lektu@terra.es> |
537 | ||
538 | * editfns.c (syms_of_editfns): Fix typo. | |
539 | ||
656132eb GM |
540 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> |
541 | ||
542 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
543 | Include termopt.h for interrupt_input. | |
544 | ||
ff955d90 AS |
545 | 2002-03-11 Andreas Schwab <schwab@suse.de> |
546 | ||
547 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
548 | ||
714d8c39 GM |
549 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> |
550 | ||
073448c5 GM |
551 | * xterm.c (note_mouse_movement): Put code for |
552 | x_autoselect_window_p in #if 0. | |
553 | ||
4006b74e | 554 | * lread.c (Fload): Don't assume that message_with_string uses the |
714d8c39 GM |
555 | string it is given like a C string. |
556 | ||
089fba41 JD |
557 | 2002-03-10 Jan D. <Jan.Djarv@mbox200.swipnet.se> |
558 | ||
7c3f9166 | 559 | * xterm.h (x_session_check_input, x_session_initialize): Declared. |
089fba41 | 560 | |
363a4df6 JD |
561 | * xterm.c: (XTread_socket): Add call to x_session_check_input and |
562 | x_session_have_connection. | |
563 | (x_initialize): Add call to x_session_initialize. | |
089fba41 | 564 | |
4006b74e | 565 | * termhooks.h (enum event_kind): Add save_session_event. |
089fba41 | 566 | |
4006b74e | 567 | * keyboard.c: Add Emacs event save_session_event. |
089fba41 | 568 | |
4006b74e | 569 | * emacs.c (main): Add call to syms_of_xsmfns. |
089fba41 | 570 | |
4006b74e | 571 | * lisp.h: Declare syms_of_xsmfns as extern. |
089fba41 | 572 | |
4006b74e | 573 | * config.in: Add HAVE_X_SM. |
089fba41 | 574 | |
7c3f9166 RS |
575 | * Makefile.in (LIBXT): Add -lSM -lICE |
576 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
577 | (XOBJ): New file xsmfns.c added. | |
089fba41 JD |
578 | |
579 | * xsmfns.c: New file for X session management. | |
580 | ||
ad497129 JR |
581 | 2002-03-09 Jason Rumney <jasonr@gnu.org> |
582 | ||
583 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
584 | read-only when setting modified time. | |
585 | ||
f2c7b04f GM |
586 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> |
587 | ||
c7ad4937 GM |
588 | * xdisp.c (move_it_vertically_backward): At the end of the |
589 | function, when moving forward by lines, treat terminal frames | |
590 | specially. | |
591 | ||
0d121f7c GM |
592 | * keyboard.c (echo_char): Make sure to add a separator between |
593 | keys even if echo_dash hasn't been called. | |
594 | ||
2051c264 GM |
595 | * xdisp.c: Use new string macros. |
596 | (update_echo_area): Pass number of bytes to message3 instead of | |
597 | number of chars. | |
598 | (set_message_1): Don't access a string's size_byte directly. | |
599 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
600 | instead number of chars. | |
601 | ||
f2c7b04f GM |
602 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. |
603 | ||
007776bc JB |
604 | 2002-03-08 Juanma Barranquero <lektu@terra.es> |
605 | ||
606 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
607 | 24-bit. | |
608 | ||
893a741e JR |
609 | 2002-03-06 Jason Rumney <jasonr@gnu.org> |
610 | ||
611 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
612 | ||
8b5eabe0 GM |
613 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> |
614 | ||
d88c5449 | 615 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) |
e60b0c44 GM |
616 | (cancel_echoing, echo_length, echo_truncate): Changed to |
617 | work with new kboard definition. | |
618 | (echo_now): Use message3_nolog instead of message2_nolog. | |
619 | ||
620 | * alloc.c (mark_kboards): Mark echo_string. | |
621 | ||
622 | * keyboard.h (ECHOBUFSIZE): Removed. | |
623 | (struct kboard): Member echoptr removed, member echobuf renamed | |
624 | to echo_string. | |
625 | ||
8b5eabe0 GM |
626 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and |
627 | message3 instead of message2 to display the message using STRING's | |
628 | text properties. | |
629 | ||
5d335845 AS |
630 | 2002-03-05 Andreas Schwab <schwab@suse.de> |
631 | ||
632 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
633 | ||
67334131 PA |
634 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> |
635 | ||
636 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
637 | affect existing frames. | |
638 | ||
d88c5449 SM |
639 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> |
640 | ||
641 | * indent.c (skip_invisible): Fix my brain fart. | |
642 | ||
643 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
644 | ||
31ade731 SM |
645 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> |
646 | ||
647 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
648 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
649 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
650 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
651 | and variables to use EMACS_INT instead of just int. | |
652 | ||
d88c5449 SM |
653 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. |
654 | ||
c0917202 EZ |
655 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> |
656 | ||
657 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
658 | environment, pass it down with corrected value. | |
659 | ||
c6dc7fdd PJ |
660 | 2002-03-04 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
661 | ||
662 | * lread.c (read_filtered_event): Do not call start_hourglass | |
663 | before returning. | |
664 | ||
9652402e JB |
665 | 2002-03-04 Juanma Barranquero <lektu@terra.es> |
666 | ||
667 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
668 | ||
73344256 RS |
669 | 2002-03-03 Richard M. Stallman <rms@gnu.org> |
670 | ||
671 | * fileio.c (Fmake_temp_name): Doc fix. | |
672 | ||
71091322 RS |
673 | 2002-03-03 Gary Wong <gtw@gnu.org> |
674 | ||
675 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
676 | libtermcap, for binary compatibility. | |
677 | ||
678 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
679 | ||
aa7e4660 RS |
680 | 2002-03-03 Richard M. Stallman <rms@gnu.org> |
681 | ||
682 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
683 | ||
684 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
685 | only if it is an integer. | |
686 | ||
687 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
688 | If png_get_sRGB gives an answer, call png_set_gamma | |
689 | using the default image gamma value. | |
690 | ||
691 | * lread.c (read1): When reading from a file, default string to | |
692 | multibyte only if it has some multibyte characters. | |
693 | ||
694 | * print.c (print_object): Output multibyte chars 128...255 | |
695 | using \x even if ! print_escape_multibyte. | |
696 | ||
697 | * xdisp.c (display_mode_element): Move the places where | |
698 | bytepos, charpos, this, and lisp_string are set. | |
699 | Use lisp_string to set bytepos. | |
700 | ||
701 | * xdisp.c (redisplay_internal): | |
702 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
703 | ||
704 | * xdisp.c (display_mode_element): Merge properties specified with | |
705 | :propertize onto those that come with the string. | |
706 | ||
63d5d1ee EZ |
707 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> |
708 | ||
709 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
710 | automatic-hscrolling. Users changed. | |
31ade731 SM |
711 | <hscroll-margin>: Renamed from automatic-hscroll-margin. |
712 | Users changed. | |
713 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
63d5d1ee | 714 | |
31a6cb06 EZ |
715 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
716 | ||
717 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
718 | ||
ee57fd91 KS |
719 | 2002-03-02 Kim F. Storm <storm@cua.dk> |
720 | ||
721 | * window.c (Fminibuffer_selected_window): New function. | |
722 | (syms_of_window): Defsubr it. | |
723 | ||
922eae56 KS |
724 | 2002-03-01 Kim F. Storm <storm@cua.dk> |
725 | ||
eacb44ad KS |
726 | * window.h (struct window): New member phys_cursor_width. |
727 | ||
728 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
31ade731 | 729 | |
eacb44ad KS |
730 | * xterm.c (x_display_and_set_cursor): Blink box cursor using |
731 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
732 | ||
733 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
734 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
735 | ||
922eae56 KS |
736 | * lisp.h (GCPRO6): New macro. |
737 | ||
738 | * process.c (Fopen_network_stream): Use GCPRO6. | |
739 | ||
81d5af8b KS |
740 | 2002-03-01 Kim F. Storm <storm@cua.dk> |
741 | ||
742 | * process.c (Qconnect, Qfailed): New variables. | |
743 | (syms_of_process): Intern and staticpro them. | |
e4984112 | 744 | (Fprocess_status): Document connect and failed return values. |
81d5af8b KS |
745 | [NON_BLOCKING_CONNECT]: New conditional. |
746 | (connect_wait_mask, num_pending_connects): New variables. | |
747 | (status_message): Convert Qfailed status. | |
748 | (Fopen_network_stream): Added support for non-blocking connect. | |
749 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
750 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
751 | (deactivate_process): Handle pending non-blocking connect. | |
752 | (wait_reading_process_input): Poll for status of non-blocking | |
753 | connects. Exec sentinel directly when connect succeeds. | |
754 | (status_notify): Don't read process output if not yet connected. | |
31ade731 | 755 | |
5705966b KS |
756 | 2002-02-28 Kim F. Storm <storm@cua.dk> |
757 | ||
758 | * window.c: (minibuf_selected_window): Renamed from | |
759 | Vminibuf_selected_window. Users changed. | |
760 | (syms_of_window): Staticpro it. | |
761 | ||
beb0acdf KS |
762 | 2002-02-26 Kim F. Storm <storm@cua.dk> |
763 | ||
764 | The following changes add a new Vminibuf_selected_window variable | |
765 | which is similar to Vminibuf_scroll_window, but which is only set | |
766 | on entry to the minibuffer (from a non-minibuffer window): | |
31ade731 | 767 | |
beb0acdf KS |
768 | * window.c: (Vminibuf_selected_window): New variable. |
769 | (struct save_window_data): New member minibuf_selected_window. | |
770 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
771 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
772 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
773 | (compare_window_configurations): Compare minibuf_selected_window. | |
774 | ||
775 | * window.h: (Vminibuf_selected_window): Declare extern. | |
776 | ||
777 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
778 | entry to minibuffer or on entry from a non-minibuffer window. | |
779 | ||
780 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
781 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
782 | ||
783 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
784 | instead of Vminibuf_scroll_window when deciding in which window | |
785 | the region should be highlighted. Consequently, the region remains | |
786 | highlighteded even when a completion buffer is also displayed. | |
787 | ||
3dfdc066 EZ |
788 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> |
789 | ||
b135bd4c EZ |
790 | * fileio.c (Fsubstitute_in_file_name): Fix the change from |
791 | 2002-02-08. | |
792 | ||
3dfdc066 EZ |
793 | * xselect.c (Qcompound_text_with_extensions): Renamed from |
794 | Qcompound_text_no_extensions. | |
795 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
796 | ||
804d894a JB |
797 | 2002-02-26 Juanma Barranquero <lektu@terra.es> |
798 | ||
799 | * w32proc.c (syms_of_ntproc): Doc fix. | |
800 | ||
0277b535 PJ |
801 | 2002-02-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
802 | ||
803 | * intervals.h: Include "dispextern.h" unconditionally. | |
804 | ||
1f1bce0e JR |
805 | 2002-02-24 Jason Rumney <jasonr@gnu.org> |
806 | ||
807 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
808 | and disp-table.elc. | |
82a399d2 | 809 | (lisp): Add emacs-lisp/backquote.elc. |
1f1bce0e | 810 | |
5f245371 KS |
811 | 2002-02-24 Kim F. Storm <storm@cua.dk> |
812 | ||
813 | * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch: | |
814 | The validation of the event type was too strict as it didn't | |
815 | allow string events; buffer names are used in bindings for | |
816 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
817 | ||
b66bc4a4 | 818 | 2002-02-23 Kim F. Storm <storm@cua.dk> |
a34cb674 | 819 | |
31ade731 | 820 | The following changes rework my patch of 2002-02-06 which |
a34cb674 KS |
821 | added command remapping by entering the commands directly into |
822 | the keymaps. Now, command remapping uses an explicit `remap' | |
823 | prefix in the keymaps, i.e. [remap COMMAND]. | |
31ade731 | 824 | |
a34cb674 KS |
825 | * keymap.c (Qremap, remap_command_vector): New variables. |
826 | (is_command_symbol): Removed function. | |
31ade731 SM |
827 | (Fdefine_key): No longer accept a symbol for KEY. |
828 | Added validation of [remap COMMAND] argument for KEY. | |
829 | The DEF is no longer required to be a symbol when remapping a command. | |
a34cb674 KS |
830 | (Fremap_command): New function to remap command through keymaps. |
831 | (Flookup_key): Perform command remapping initiated by | |
832 | Fremap_command directly for speed. | |
833 | (Fkey_binding): Use Fremap_command for command remapping. | |
834 | (where_is_internal): Handle new command remapping representation. | |
835 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
836 | staticpro them. Defsubr Fremap_command. | |
837 | ||
838 | * keymap.h (Fremap_command): Declare extern. | |
839 | (is_command_symbol): Remove extern. | |
31ade731 | 840 | |
a34cb674 KS |
841 | * keyboard.c (command_loop_1): Use Fremap_command for command |
842 | remapping; now try command remapping for all symbols. | |
843 | ||
f227fded EZ |
844 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> |
845 | ||
846 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
847 | ||
54a0c8a6 JR |
848 | 2002-02-23 Jason Rumney <jasonr@gnu.org> |
849 | ||
850 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
851 | on the string before encoding it. | |
852 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
853 | after decoding it. | |
854 | ||
855 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
856 | ||
042c33d3 PJ |
857 | 2002-02-23 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
858 | ||
859 | * w32term.c (enter_timestamp): Remove unused static variable to | |
860 | prevent warning. | |
861 | ||
862 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
863 | ||
b72d9870 EZ |
864 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> |
865 | ||
866 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
867 | ||
868 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
869 | ||
48094ace JR |
870 | 2002-02-22 Jason Rumney <jasonr@gnu.org> |
871 | ||
872 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
873 | ||
874 | * w32menu.c (menubar_selection_callback): Free the menu and | |
875 | clear the menu_command_in_progress flag. | |
876 | ||
877 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
878 | (menu_free_timer): New variable. | |
879 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
880 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
881 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
882 | menu command is in progress. | |
31ade731 SM |
883 | <WM_COMMAND>: Set the menu_command_in_progress flag. |
884 | Kill any menu_free_timer that is running. | |
48094ace JR |
885 | |
886 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
887 | Call ExtTextOutA rather than ExtTextOut. | |
888 | ||
9feba281 EZ |
889 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> |
890 | ||
891 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
892 | ||
3276b4fe EZ |
893 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
894 | ||
895 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
896 | on the string before encoding it. | |
897 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
898 | after decoding it. | |
899 | ||
fbbe0ace EZ |
900 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
901 | ||
902 | Support for ICCCM Extended Segments in X selections: | |
903 | ||
23e16093 | 904 | * xselect.c <Qcompound_text_no_extensions>: New variable. |
fbbe0ace EZ |
905 | (syms_of_xselect): Intern and staticpro it. |
906 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
907 | selection text. | |
908 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
23e16093 | 909 | compound-text-no-extensions, set the type of selection to be |
fbbe0ace EZ |
910 | compound-text. |
911 | ||
912 | * xterm.h (x_encode_text): Update prototype. | |
913 | ||
914 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
915 | callers changed. If SELECTIONP is non-zero, run the | |
916 | pre-write-conversion function before encoding the selection text. | |
917 | ||
2a28d471 KS |
918 | 2002-02-21 Kim F. Storm <storm@cua.dk> |
919 | ||
920 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
15fdc2e3 | 921 | |
31ade731 SM |
922 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: |
923 | Correct composing of language-change event. | |
15fdc2e3 | 924 | |
9de46181 KS |
925 | 2002-02-20 Kim F. Storm <storm@cua.dk> |
926 | ||
927 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
928 | bindings at PT when building menu (the menu is not updated often | |
929 | enough for this to work reliable). | |
930 | (tool_bar_items): Likewise. | |
931 | (current_active_maps): Removed unused (and buggy) function. | |
932 | ||
c7f07c4c PJ |
933 | 2002-02-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
934 | ||
935 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
936 | ||
f8565280 EZ |
937 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> |
938 | ||
939 | * floatfns.c (Fatan): Accept an optional second arg and call | |
940 | atan2 if passed 2 args. | |
941 | ||
5be86f54 JR |
942 | 2002-02-18 Jason Rumney <jasonr@gnu.org> |
943 | ||
944 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
945 | ||
f7b9d4d1 JR |
946 | 2002-02-17 Jason Rumney <jasonr@gnu.org> |
947 | ||
948 | * w32term.c (x_autoselect_window_p): New variable. | |
949 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
950 | (note_mouse_movement): Use it. | |
951 | ||
952 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
953 | ||
954 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
955 | ||
956 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
957 | New variables. | |
958 | (syms_of_w32fns): Intern and staticpro them. | |
959 | (x_frame_parms) <"fullscreen">: New parameter. | |
960 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
961 | (x_set_frame_parameters): Support Qfullscreen. | |
31ade731 | 962 | (x_real_positions): Save x/y_pixels_diff frame params. |
f7b9d4d1 JR |
963 | (x_figure_window_size): Support full-screen frames. |
964 | (Fx_create_frame): Default the fullscreen parameter. | |
965 | ||
31ade731 | 966 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) |
f7b9d4d1 JR |
967 | (x_fullscreen_adjust): New functions. |
968 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | |
969 | fullscreen. Call x_check_fullscreen_move, and set the | |
31ade731 | 970 | want_fullscreen member of output_data.w32 |
f7b9d4d1 JR |
971 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. |
972 | ||
973 | * w32term.h: New enum for FULLSCREEN_* constants. | |
974 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
975 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
976 | (x-fullscreen-adjust): New prototype. | |
977 | ||
ce16e8d9 KS |
978 | 2002-02-17 Kim F. Storm <storm@cua.dk> |
979 | ||
980 | * frame.c: (Vmouse_highlight): New variable. | |
981 | (syms_of_frame): DEFVAR_LISP it. | |
982 | ||
983 | * frame.h: (Vmouse_highlight): Declare extern. | |
984 | ||
985 | * xterm.h (struct x_display_info): Add mouse_face_hidden. | |
986 | ||
987 | * xterm.c (disable_mouse_highlight): Removed variable. | |
988 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
989 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
990 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
991 | and on after keyboard input. | |
992 | (x_term_init): Initialize mouse_face_hidden. | |
993 | ||
994 | * msdos.h (struct display_info): Add mouse_face_hidden. | |
995 | ||
996 | * msdos.c (disable_mouse_highlight): Removed variable. | |
997 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
998 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
999 | (internal_terminal_init): Initialize mouse_face_hidden. | |
1000 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
1001 | and on after keyboard input. | |
1002 | ||
1003 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. | |
1004 | ||
1005 | * w32term.c (disable_mouse_highlight): Removed variable. | |
1006 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
1007 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
1008 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
1009 | and on after keyboard input. | |
1010 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
1011 | ||
386c4076 EZ |
1012 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
1013 | ||
9005a471 EZ |
1014 | * msdos.c (last_mouse_window): New variable. |
1015 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
1016 | as recorded in last_mouse_window, don't select this window. | |
1017 | ||
31ade731 | 1018 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
760627fa | 1019 | |
4a137db1 EZ |
1020 | * msdos.c (x_autoselect_window_p): New variable. |
1021 | (syms_of_msdos): Defvar it. | |
1022 | (dos_rawgetc): If x_autoselect_window_p is set, select the window | |
1023 | in which the last mouse movement occured, unless it is already | |
1024 | selected. | |
1025 | ||
31ade731 SM |
1026 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
1027 | New variables. | |
386c4076 EZ |
1028 | (syms_of_xdisp): DEVFAR them. |
1029 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
1030 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
1031 | ||
5d2200aa PJ |
1032 | 2002-02-16 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
1033 | ||
3996d07a PJ |
1034 | * xterm.c (x-autoselect-window): New variable. |
1035 | (note_mouse_movement): Use it. | |
1036 | ||
5d2200aa PJ |
1037 | * keyboard.c: Do not include "systime.h" twice. |
1038 | ||
bdf67c59 AS |
1039 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
1040 | ||
5407e8a7 AS |
1041 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
1042 | ||
bdf67c59 AS |
1043 | * alloc.c (NSTATICS): Increase to 1280. |
1044 | ||
98659da6 KG |
1045 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
1046 | ||
f9904178 KG |
1047 | * alloc.c (NSTATICS): Bump to 1026. |
1048 | ||
98659da6 KG |
1049 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
1050 | (Vx_super_keysym): New variables. | |
1051 | (syms_of_xterm): DEFVAR_LISP them. | |
1052 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
31ade731 | 1053 | variables to determine which keys to use for the various modifiers. |
98659da6 | 1054 | |
a48b709b | 1055 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
1c9f5f23 KS |
1056 | |
1057 | * window.c: (Vmode_line_in_non_selected_windows): Removed. | |
1058 | (mode_line_in_non_selected_windows): New variable. | |
1059 | (syms_of_window): DEFVAR_BOOL it. | |
1060 | ||
31ade731 SM |
1061 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
1062 | Use mode_line_in_non_selected_windows. | |
1c9f5f23 KS |
1063 | (mode_line_in_non_selected_windows): Declare extern. |
1064 | (Vmode_line_in_non_selected_windows): Removed extern. | |
1065 | ||
db54c53a RS |
1066 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
1067 | ||
31ade731 SM |
1068 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
1069 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
db54c53a RS |
1070 | (Fclear_this_command_keys): Doc fixes. |
1071 | ||
31ade731 | 1072 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
db54c53a RS |
1073 | (update_face_from_frame_parameter): Increment face_change_count |
1074 | and windows_or_buffers_changed to force redisplay using changed faces. | |
1075 | ||
1076 | * xdisp.c (QCpropertize): New variable. | |
1077 | (mode_line_proptrans_alist): New variable. | |
1078 | (display_mode_element): New arg PROPS; all calls changed. | |
1079 | Implement this, for strings. | |
1080 | Handle literal output of strings by sharing the | |
1081 | main-line code for strings, using local var `literal'. | |
1082 | Handle :propertize feature. | |
31ade731 | 1083 | (syms_of_xdisp): Initialze and staticpro QCpropertize and |
db54c53a | 1084 | mode_line_proptrans_alist. |
31ade731 | 1085 | |
a48b709b | 1086 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
3c9bdb7e KS |
1087 | |
1088 | * window.c: (Vmode_line_in_non_selected_windows): New variable. | |
1089 | (syms_of_window): DEFVAR_LISP it. | |
1090 | ||
1091 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. | |
1092 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
1093 | (Vmode_line_in_non_selected_windows): Declare extern. | |
1094 | ||
1095 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 | |
1096 | to get mode line face. | |
1097 | ||
573a237a EZ |
1098 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
1099 | ||
1100 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these | |
1101 | variables; cus-start.el doesn't need them anymore. | |
1102 | ||
73df3b72 KS |
1103 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
1104 | ||
1105 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap | |
1106 | reduction. This fixes a display problem where stray newlines were | |
1107 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
1108 | ||
18b0be7c EZ |
1109 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
1110 | ||
1111 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. | |
1112 | ||
1113 | * xdisp.c (display_mode_lines): Fix last change. | |
1114 | ||
442ca9ba JR |
1115 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
1116 | ||
1117 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows | |
1118 | match each other. | |
3acfb461 JR |
1119 | (w32_load_system_font): Prevent Cleartype fonts from loading. |
1120 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
442ca9ba | 1121 | |
cdefda26 KS |
1122 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
1123 | ||
1124 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. | |
1125 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
1126 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
1127 | ||
1128 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. | |
1129 | (pos_visible_p, handle_face_prop): Likewise. | |
1130 | (display_mode_lines): Likewise, but for the real selected window. | |
1131 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
1132 | ||
1133 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line | |
1134 | in non-selected windows. | |
1135 | (realize_basic_faces): Realize it. | |
1136 | (syms_of_term): Intern and staticpro it. | |
1137 | ||
9f69e812 KS |
1138 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
1139 | ||
31ade731 | 1140 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
9f69e812 KS |
1141 | Changed mail addresses to emacs-devel@gnu.org. |
1142 | ||
6ded2c89 EZ |
1143 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
1144 | ||
b5d40ceb | 1145 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
31ade731 | 1146 | ~user, and there's no such user, don't discard everything before ~user. |
b5d40ceb | 1147 | |
6ded2c89 EZ |
1148 | * floatfns.c (Fround): Doc fix. |
1149 | ||
7b403e01 | 1150 | 2002-02-08 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
7c15926f PJ |
1151 | |
1152 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. | |
1153 | ||
6a229a63 SM |
1154 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1155 | ||
db54c53a | 1156 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
6a229a63 | 1157 | |
33b93ee5 KS |
1158 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
1159 | ||
1160 | * keymap.c (where_is_internal): Only check whether definition is | |
1161 | remapped if it fulfills is_command_symbol. | |
1162 | ||
72bba9f2 AS |
1163 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
1164 | ||
1165 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. | |
1166 | ||
1167 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. | |
1168 | ||
93607efd KS |
1169 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
1170 | ||
1171 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for | |
1172 | defining command remapping. Doc updated. | |
1173 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
1174 | (is_command_symbol): New function. | |
6a229a63 SM |
1175 | (Fkey_binding): Use it. New optional argument NO-REMAP. |
1176 | Doc updated. Callers changed. Perform command remapping via | |
93607efd KS |
1177 | recursive call unless that arg is non-nil. |
1178 | (where_is_internal): New argument no_remap. Callers changed. | |
1179 | Call recursively to find original key bindings for a remapped | |
1180 | comand unless that arg is non-nil. | |
6a229a63 SM |
1181 | (Fwhere_is_internal): New optional argument NO-REMAP. |
1182 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
93607efd KS |
1183 | |
1184 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. | |
1185 | (is_command_symbol): Added prototype. | |
1186 | ||
1187 | * keyboard.c (Vthis_original_command): New variable. | |
1188 | (syms_of_keyboard): DEFVAR_LISP it. | |
1189 | (command_loop_1): Set it, and perform command remapping. | |
1190 | ||
7b403e01 | 1191 | 2002-02-06 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2642a29e | 1192 | |
31ade731 | 1193 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2642a29e | 1194 | |
f4ed304f JR |
1195 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
1196 | ||
1197 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. | |
1198 | ||
b5309828 EZ |
1199 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
1200 | ||
1201 | * charset.c (get_charset_id): Use if-else instead of ?:. | |
1202 | ||
108eaabb RS |
1203 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
1204 | ||
1205 | * filelock.c (S_ISLNK): Define if not defined. | |
1206 | ||
bd3567fa RS |
1207 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
1208 | ||
1209 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. | |
1210 | ||
1211 | * lread.c (read1): Redesign strategy for force_multibyte and | |
1212 | force_singlebyte. Now is_multibyte records whether read_buffer | |
1213 | is multibyte. Encountering any multibyte character makes it so. | |
6a229a63 | 1214 | |
95c11956 SM |
1215 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
1216 | ||
1217 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and | |
1218 | with the same sequence, map that sequence to f10 rather than f0. | |
1219 | ||
ee466d0b AS |
1220 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1221 | ||
1222 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the | |
1223 | latter never being defined on GNU/Linux. | |
1224 | ||
f77157da EZ |
1225 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
1226 | ||
1227 | * xfaces.c (realize_default_face): Don't set the weight and slant | |
1228 | of the default face to Qnormal, unless these attributes are | |
1229 | unspecified. | |
1230 | ||
7b403e01 | 1231 | 2002-02-02 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
4fbcc9b1 | 1232 | |
95c11956 SM |
1233 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
1234 | Call cancel_hourglass unconditionally. | |
4fbcc9b1 PJ |
1235 | |
1236 | * eval.c (Fsignal): Remove duplicated declaration of | |
1237 | the variable `display_hourglass_p'. | |
1238 | ||
5e101746 RS |
1239 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
1240 | ||
1241 | * editfns.c (region_limit): Nicer error message. | |
1242 | ||
1243 | * coding.c (decode_composition_emacs_mule): | |
1244 | Give up if NCOMPONENT gets too large to index `component'. | |
1245 | ||
1246 | * callint.c (check_mark): New arg to specify clearer error message. | |
1247 | Callers changed. | |
1248 | ||
1249 | 2002-01-27 Richard M. Stallman <rms@gnu.org> | |
1250 | ||
1251 | * minibuf.c (Fcompleting_read): Doc fix. | |
1252 | ||
7b403e01 | 1253 | 2002-01-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
7a4b11ca PJ |
1254 | |
1255 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) | |
95c11956 SM |
1256 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): |
1257 | Fix doc-strings. | |
7a4b11ca | 1258 | |
f5798fbd RS |
1259 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
1260 | ||
1261 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. | |
1262 | ||
1263 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively | |
1264 | and scroll_up_aggressively. | |
1265 | ||
7b403e01 | 1266 | 2002-01-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
8fc77801 PJ |
1267 | |
1268 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. | |
1269 | ||
3a232704 SM |
1270 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
1271 | ||
1272 | * textprop.c (Fnext_property_change, Fnext_single_property_change) | |
1273 | (Fprevious_property_change, Fprevious_single_property_change): | |
1274 | Stay within the narrowed-buffer boundaries. | |
1275 | ||
dd939ea1 EZ |
1276 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
1277 | ||
1278 | * term.c (Ftty_display_color_cells): New function. | |
1279 | (syms_of_term): Defsubr it. | |
0011f346 EZ |
1280 | (Ftty_display_color_cells, Ftty_display_color_p): Change the |
1281 | argument name to DISPLAY. Doc fix. | |
dd939ea1 EZ |
1282 | |
1283 | * dispextern.h: Add prototype for set_tty_color_mode and | |
1284 | tty_setup_colors. | |
1285 | ||
aa35b6ad JR |
1286 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
1287 | ||
1288 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. | |
1289 | If region left to draw is not what was expected, mark the frame as | |
1290 | garbaged. | |
1291 | ||
1292 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. | |
1293 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
1294 | ||
ab76d376 JR |
1295 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
1296 | ||
1297 | * w32term.c (x_update_window_begin): Only hide caret if | |
1298 | w32_use_visible_system_caret is set. | |
1299 | (x_update_window_end): Only show caret if | |
1300 | w32_use_visible_system_caret is set. | |
1301 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
1302 | ||
1303 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. | |
1304 | ||
d89b617d RS |
1305 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
1306 | ||
1307 | * unexelf.c (unexec): Define n so as to cause compilation error | |
1308 | for the code where people have often written n instead of nn. | |
1309 | ||
1310 | * .gdbinit (hookpost-run): Defined. | |
1311 | ||
f0b9a067 JD |
1312 | 2002-01-22 Jan D. <Jan.Djarv@mbox200.swipnet.se> |
1313 | ||
1314 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. | |
1315 | ||
5f9338d5 JD |
1316 | 2002-01-21 Jan D. <Jan.Djarv@mbox200.swipnet.se> |
1317 | ||
1318 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust | |
1319 | if fullscreen is being set. | |
1320 | ||
7b403e01 | 1321 | 2002-01-21 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
029a305c PJ |
1322 | |
1323 | * minibuf.c (Fminibuffer_contents) | |
1324 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
1325 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
1326 | ||
8cc0e0cf RS |
1327 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
1328 | ||
1329 | * window.c (check_frame_size): Fix minimum height calculation. | |
1330 | ||
d7b8ee68 KR |
1331 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
1332 | ||
1333 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window | |
1334 | height before comparison. | |
1335 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
1336 | ||
c3c14723 JR |
1337 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
1338 | ||
1339 | * w32term.c (w32_system_caret_width): Remove. | |
1340 | (w32_use_visible_system_caret): New user flag. | |
1341 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
1342 | Windows reports a screen reader running. | |
1343 | (x_update_window_begin): Hide the system caret. | |
1344 | (x_update_window_end): Show the system caret. | |
1345 | (x_display_and_set_cursor): Don't draw a cursor when | |
1346 | w32_use_visible_system_caret is set. Do not adjust width. | |
1347 | ||
1348 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. | |
1349 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
1350 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
1351 | the user requests it. Use system default width when creating. | |
1352 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
1353 | ||
95c11956 SM |
1354 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
1355 | New window messages. | |
c3c14723 | 1356 | |
75e20bec RS |
1357 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
1358 | ||
1359 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. | |
1360 | ||
7b403e01 | 1361 | 2002-01-20 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
3c17e062 PJ |
1362 | |
1363 | * doprnt.c (doprnt1): Fix typos in error call. | |
1364 | ||
3b927d14 EZ |
1365 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
1366 | ||
1367 | * unexelf.c (unexec) [__sgi]: Support the .got sections. | |
1368 | ||
aa06cb9c JR |
1369 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
1370 | ||
1371 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics | |
1372 | that Windows returns. If a double check fails, try to guess how | |
1373 | ExtTextOut is going to act. | |
1374 | ||
1375 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp | |
1376 | in place of stricmp. | |
1377 | (w32_list_synthesized_fonts): Removed. | |
1378 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
1379 | (struct enumfont_t): New element; list. | |
1380 | (enum_font_cb2): List all style and charset variations of a font. | |
1381 | (Fw32_select_font): New optional argument; include_proportional. | |
1382 | Exclude vertical fonts. Exclude proportional fonts unless | |
1383 | include_proportional is non-nil. | |
1384 | (w32_enable_synthesized_fonts): Change to a boolean. | |
1385 | (Fw32_send_sys_command): Doc fix. | |
1386 | ||
7b403e01 | 1387 | 2002-01-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
37082f8d PJ |
1388 | |
1389 | * dispnew.c (update_frame): Move the variable `tem' to the block | |
1390 | where it is used. | |
1391 | ||
815d969e JR |
1392 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
1393 | ||
1394 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around | |
1395 | call to face-set-after-frame-default. | |
1396 | ||
a1e3dda0 RS |
1397 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
1398 | ||
95c11956 | 1399 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
a1e3dda0 RS |
1400 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. |
1401 | ||
daf516d3 RS |
1402 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
1403 | ||
1404 | * window.c (enlarge_window): When exceeding size of parent, | |
1405 | directly delete all the siblings instead of trying to resize it. | |
1406 | ||
7b403e01 | 1407 | 2002-01-17 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
dfc7a077 PJ |
1408 | |
1409 | * term.c (set_tty_color_mode): Remove unused variable `tem'. | |
1410 | ||
3ddff138 RS |
1411 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
1412 | ||
7adfc0d7 | 1413 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
3ddff138 | 1414 | |
465c9390 KS |
1415 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
1416 | ||
1417 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row | |
1418 | is invisible. This can happen if cursor is on top line of a | |
1419 | window, and we switch to a buffer with a header line. | |
1420 | ||
95c11956 | 1421 | * w32term.c (x_erase_phys_cursor): Ditto. |
a2c6de8e | 1422 | |
7b403e01 | 1423 | 2002-01-16 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
7a4bce14 PJ |
1424 | |
1425 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of | |
1426 | `dont_resize' only when used. | |
1427 | ||
1428 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. | |
1429 | ||
26f622b3 EZ |
1430 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
1431 | ||
1432 | * xdisp.c (display_mode_element): When computing charpos, depend | |
f165c448 | 1433 | on multibyteness of elt, not the text in field. |
26f622b3 | 1434 | |
7b403e01 | 1435 | 2002-01-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
1a6db83a | 1436 | |
31ade731 SM |
1437 | * buffer.c (Fkill_all_local_variables): |
1438 | Increment `update_mode_lines' only once. | |
1a6db83a | 1439 | |
7b403e01 | 1440 | 2002-01-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
a4ff5d67 | 1441 | |
aa1977d7 PJ |
1442 | * lisp.h (adjust_after_replace_noundo) |
1443 | (Fupdate_coding_systems_internal): Add prototypes. | |
1444 | ||
95c11956 | 1445 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
a4ff5d67 | 1446 | |
3947677c EZ |
1447 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
1448 | ||
1449 | Support for the --color command-line argument and tty-color-mode | |
1450 | frame parameter: | |
1451 | ||
1452 | * term.c (tty_default_color_capabilities, tty_setup_colors) | |
1453 | (set_tty_color_mode): New functions. | |
1454 | (term_init): Call tty_default_color_capabilities. | |
1455 | (Qtty_color_mode_alist): New variable. | |
1456 | (syms_of_term): Intern and staticpro it. | |
1457 | ||
1458 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap | |
1459 | frames. | |
1460 | (do_switch_frame): For termcap frames, switch the tty | |
1461 | color mode as specified by the frame's parameters. | |
1462 | (Qtty_color_mode): New variable. | |
1463 | (syms_of_frame): Intern and staticpro it. | |
1464 | ||
1465 | * emacs.c (USAGE2): Add the --color option. | |
1466 | (standard_args): Ditto. | |
1467 | ||
8a8e19a3 EZ |
1468 | 2002-01-13 Jan Djarv <Jan.Djarv@mbox200.swipnet.se> |
1469 | ||
1470 | * xterm.h (struct x_output): New members want_fullscreen, | |
1471 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
1472 | y_pixels_outer_diff. | |
1473 | New enum for FULLSCREEN_* constants. | |
1474 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
1475 | is NULL. | |
1476 | (x_fullscreen_adjust): Add prototype. | |
1477 | ||
1478 | * emacs.c (USAGE2): Add the new full-screen arguments. | |
1479 | (standard_args): Ditto. | |
1480 | ||
95c11956 SM |
1481 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
1482 | New variables. | |
8a8e19a3 EZ |
1483 | (syms_of_xfns): Intern and staticpro them. |
1484 | (x_frame_parms) <"fullscreen">: New parameter. | |
1485 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
1486 | (x_set_frame_parameters): Support for Qfullscreen. | |
1487 | (x_real_positions): More accurate computation of the frame position. | |
1488 | (x_figure_window_size): Support full-screen frames. | |
1489 | (Fx_create_frame): Default the fullscreen parameter. | |
1490 | ||
1491 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. | |
1492 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
95c11956 SM |
1493 | <ConfigureNotify>: Don't resize to fullscreen. |
1494 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
8a8e19a3 EZ |
1495 | output_data.x. |
1496 | ||
4f1b1854 JR |
1497 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
1498 | ||
1499 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages | |
1500 | for mice with more than 3 buttons. | |
1501 | ||
1502 | * w32term.c (parse_button): New parameter xbutton. Callers changed. | |
1503 | (w32_read_socket): Handle new "XBUTTON" messages. | |
1504 | ||
1505 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. | |
1506 | (syms_of_w32fns): DEFVAR_BOOL it. | |
1507 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
1508 | ||
7b403e01 | 1509 | 2002-01-13 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
5cb6905d | 1510 | |
95c11956 | 1511 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
5cb6905d | 1512 | |
437dfb9f AS |
1513 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
1514 | ||
1515 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. | |
1516 | ||
9f696a00 AS |
1517 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
1518 | ||
1519 | * .gdbinit (xbuffer): Remove address operator since data is now a | |
1520 | pointer. | |
1521 | ||
d57966d7 RS |
1522 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
1523 | ||
1524 | * insdel.c (adjust_after_replace_noundo): New function. | |
1525 | ||
1526 | * coding.c (code_convert_region): Don't copy old text if undo disabled. | |
1527 | ||
74779f52 JR |
1528 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
1529 | ||
1530 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame | |
1531 | when checking for multiple frames. | |
1532 | ||
a474d59c RS |
1533 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
1534 | ||
1535 | * window.c (delete_window): Rewrite the code for changing the | |
1536 | selected window to handle the case where WINDOW is not a leaf. | |
1537 | ||
fbb70ad9 EZ |
1538 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
1539 | ||
1540 | * process.c (send_process): Set src_multibyte to 1 after the call | |
1541 | top setup_coding_system, not before the call. | |
1542 | ||
2d10309f JR |
1543 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
1544 | ||
1545 | * xmenu.c (set_frame_menubar, xmenu_show): | |
3a232704 | 1546 | (xdialog_show): Initialize wv->help to Qnil. |
2d10309f JR |
1547 | |
1548 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): | |
1549 | (w32_dialog_show): Initialize wv->help to Qnil. | |
1550 | ||
7f2cddf3 JR |
1551 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
1552 | ||
0b1e6b54 JR |
1553 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
1554 | ||
7f2cddf3 JR |
1555 | * w32menu.c (w32_menu_display_help): Revert last change. |
1556 | ||
1557 | * xmenu.c (menu_highlight_callback): Revert last change. | |
1558 | ||
e17144de AS |
1559 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
1560 | ||
1561 | * insdel.c (make_gap_larger): Make sure buffer size does not | |
1562 | overflow range of int. | |
1563 | ||
6637c996 JR |
1564 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
1565 | ||
44368f8f JR |
1566 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
1567 | OVERLAPS_P. | |
1568 | ||
f884b6f4 JR |
1569 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
1570 | ||
6637c996 JR |
1571 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
1572 | to the left or to the right of the pointer, put it against | |
1573 | the left screen edge. | |
1574 | (x_frame_parms): Add missing braces around initializer. | |
1575 | ||
1576 | * w32term.c (x_setup_relief_colors): Don't compute an image's | |
1577 | background color if it doesn't have a Pixmap. | |
1578 | (notice_overwritten_cursor): Don't depend on | |
1579 | output_cursor and updated_area. Compare pixel coordinates with | |
1580 | window's cursor pixel coordinates. | |
3a232704 SM |
1581 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): |
1582 | Call notice_overwritten_cursor with new arg list. | |
6637c996 JR |
1583 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag |
1584 | unconditionally. | |
1585 | (x_draw_image_relief): Use predefined macro instead of | |
1586 | constant when the value of `tool_bar_button_relief' is negative. | |
1587 | ||
1588 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. | |
1589 | ||
453c5510 RS |
1590 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
1591 | ||
1592 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. | |
1593 | ||
d1d070e3 RS |
1594 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
1595 | ||
1596 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. | |
1597 | (Fkey_binding): Try the `keymap' property map first. | |
1598 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
1599 | minor mode bindings. | |
1600 | ||
9ec1bdb6 KS |
1601 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
1602 | ||
1603 | * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy. | |
1604 | ||
308dd672 RS |
1605 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
1606 | ||
edde72f6 RS |
1607 | * keyboard.c (read_key_sequence): Handle the keymap property |
1608 | before minor mode maps. | |
1609 | ||
308dd672 RS |
1610 | * editfns.c (Fformat): Update thissize from field_width |
1611 | based on the actual width, in the string case. | |
1612 | ||
7b403e01 | 1613 | 2002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
3c1e6b46 | 1614 | |
03950b5b PJ |
1615 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
1616 | when used as truth value to prevent gcc warnings. | |
1617 | ||
3c1e6b46 PJ |
1618 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
1619 | * w32proc.c: Include <config.h>. | |
1620 | ||
c1e11810 AS |
1621 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
1622 | ||
1623 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, | |
1624 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
1625 | * lisp.h (max_specpdl_size): Adjust declaration. | |
1626 | ||
1996baee RS |
1627 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
1628 | ||
1629 | * print.c (print_object): Test print_escape_nonascii only for | |
1630 | unibyte strings. | |
1631 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
1632 | when outputting to a multibyte buffer. | |
1633 | ||
0065bb74 RS |
1634 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
1635 | ||
1636 | * print.c (print_object): In multibyte string, use hex escapes. | |
1637 | Use octal only for unibyte strings. | |
1638 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
1639 | ||
1640 | * lread.c (read_escape): New arg BYTEREP for reporting whether | |
1641 | escape forces unibyte or multibyte. | |
1642 | (read1): When reading a string, take note of that info. | |
1643 | ||
b5cb6072 KR |
1644 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
1645 | ||
1646 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero | |
1647 | comparison to test lisp value returned by Fget. | |
1648 | ||
15fff01d RS |
1649 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
1650 | ||
0065bb74 RS |
1651 | * lisp.h (max_specpdl_size): Add declaration. |
1652 | ||
0d8466cc RS |
1653 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
1654 | ||
15fff01d RS |
1655 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
1656 | Handle modifier bits. Correct typo in error message. | |
1657 | ||
2fae9111 RS |
1658 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
1659 | ||
2d6c1fc0 RS |
1660 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
1661 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
1662 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
1663 | Update calls to Fdefine_abbrev. | |
1664 | (write_abbrev): Update for changed data format. | |
1665 | Don't list "system" abbrevs. | |
1666 | (Fexpand_abbrev): Update use count with new data format. | |
1667 | (describe_abbrev): Update for changed data format. | |
1668 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
1669 | ||
07025a55 RS |
1670 | * config.in (HAVE_MBSINIT): Add #undef. |
1671 | ||
1672 | * strftime.c (mbsinit): Define as no-op if not available. | |
1673 | ||
1674 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. | |
1675 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
1676 | ||
ce6eef6e RS |
1677 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
1678 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
ade19cac | 1679 | (exclude_key): New variable. |
3a232704 | 1680 | |
539e92ad GM |
1681 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
1682 | ||
0cb8bb48 GM |
1683 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
1684 | background color if it doesn't have a Pixmap. | |
3a232704 | 1685 | |
60626bab GM |
1686 | * xterm.c (notice_overwritten_cursor): Don't depend on |
1687 | output_cursor and updated_area. Compare pixel coordinates with | |
1688 | window's cursor pixel coordinates. | |
3a232704 SM |
1689 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): |
1690 | Call notice_overwritten_cursor with new arg list. | |
60626bab GM |
1691 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag |
1692 | unconditionally. | |
0cb8bb48 | 1693 | |
539e92ad GM |
1694 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
1695 | height of the cursor line to the amount to scroll. | |
1696 | ||
4e02881b RS |
1697 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
1698 | ||
1699 | * intervals.c (set_point_both): The position after an invisible, | |
1700 | intangible character is not an acceptable stopping point. | |
1701 | ||
1ab964d7 KR |
1702 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
1703 | ||
1704 | * window.c (enlarge_window): In new preserve_before code, convert | |
1705 | CURBEG from lisp object to integer before doing arithmetic. | |
1706 | ||
749f499f RS |
1707 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
1708 | ||
1709 | * bytecode.c (Fbyte_code): Undo previous change. | |
1710 | ||
b5d9aaba KS |
1711 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
1712 | ||
1713 | * keyboard.c (record_char): Ignore duplicate help-echo events only | |
1714 | separated by mouse-movement. When tracking mouse, only record | |
1715 | first and last mouse-movement event in same window. | |
1716 | Don't record mouse-movement events in keyboard macros. | |
3a232704 | 1717 | |
d0fd26dd RS |
1718 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
1719 | ||
b4c45162 RS |
1720 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
1721 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
1722 | ||
d0fd26dd RS |
1723 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
1724 | instead of Fstring_as_unibyte. | |
1725 | ||
7b403e01 | 1726 | 2001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 1727 | |
3a232704 | 1728 | The following changes remove mocklisp support: |
c95eaa61 PJ |
1729 | |
1730 | * mocklisp.h, mocklisp.c: Files removed. | |
1731 | ||
1732 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', | |
1733 | `Qmocklisp' and `Qmocklisp_arguments'. | |
1734 | Remove prototype of syms_of_mocklisp. | |
1735 | ||
3a232704 | 1736 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
c95eaa61 PJ |
1737 | |
1738 | * callint.c: Do not include mocklisp.h. | |
1739 | (Fcall_interactively): Do not test for mocklisp case. | |
1740 | ||
1741 | * eval.c: Remove variables `Qmocklisp_arguments', | |
3a232704 SM |
1742 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. |
1743 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
1744 | Do not test for mocklisp case. | |
c95eaa61 PJ |
1745 | (Fwhile): Remove unused variable `tem'. |
1746 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
1747 | ||
1748 | * data.c (wrong_type_argument): Remove mocklisp case. | |
1749 | ||
1750 | * doc.c (Fdocumentation): Remove mocklisp case. | |
1751 | ||
1752 | * emacs.c (main): Do not call syms_of_mocklisp. | |
1753 | ||
31877e0a RS |
1754 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
1755 | ||
1756 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen | |
1757 | to the left or to the right of the pointer, put it against | |
1758 | the left screen edge. | |
1759 | ||
e2c3786a EZ |
1760 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
1761 | ||
1762 | * Makefile.in (distclean): Remove .gdbinit if we are building | |
1763 | outside the source tree. | |
1764 | ||
c513fc03 EZ |
1765 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
1766 | ||
bf794306 EZ |
1767 | * w32.c (emacs_root_dir): New function. |
1768 | ||
1769 | * msdos.c (emacs_root_dir): New function. | |
1770 | ||
1771 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory | |
1772 | of the current drive as the fallback for default_directory. | |
1773 | ||
62582985 EZ |
1774 | * dired.c (file_name_completion): Run the elements of |
1775 | completion-ignored-extensions through ENCODE_FILE. | |
1776 | ||
c513fc03 EZ |
1777 | * lisp.h (scmp): Remove prototype, since it's now a static |
1778 | function private to dired.c. | |
1779 | ||
3509a04c RS |
1780 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
1781 | ||
1782 | * dired.c (scmp): Function moved from minibuf.c. | |
1783 | Delete multibyte handling--used only on encoded strings. | |
1784 | ||
1785 | * minibuf.c (scmp): Function moved to dired.c. | |
1786 | ||
1787 | * fns.c (merge): Add QUIT call. | |
1788 | ||
1e9a6186 DL |
1789 | 2001-12-18 Dave Love <fx@gnu.org> |
1790 | ||
1791 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, | |
1792 | language/georgian.el. | |
1793 | ||
e4e34e31 EZ |
1794 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
1795 | ||
1796 | * Makefile.in (lisp, shortlisp): Synchronize with changes to | |
1797 | lisp/Makefile.in:DONTCOMPILE. | |
1798 | ||
7b403e01 | 1799 | 2001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
4521d1fc | 1800 | |
7c75be36 PJ |
1801 | * xdisp.c (window_box_height): Do not return negative values. |
1802 | From Gerd Moellmann <gerd@gnu.org>. | |
1803 | ||
4521d1fc PJ |
1804 | * keyboard.c (head_table): Add missing braces around initializer. |
1805 | ||
1806 | * term.c (keys): Likewise. | |
1807 | ||
1808 | * xfns.c (x_frame_parms, visual_classes): Likewise. | |
1809 | ||
93dec019 SS |
1810 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1811 | ||
1812 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last | |
1813 | patch (COMPOSING_P, not COMPOSING). | |
1814 | ||
905cc05a RS |
1815 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
1816 | ||
2ed06289 RS |
1817 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
1818 | ||
0e79d667 RS |
1819 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
1820 | before calling decode_coding. | |
1821 | ||
1822 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. | |
1823 | ||
1824 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) | |
905cc05a RS |
1825 | instead of only for COMPOSITION_DISABLED. |
1826 | ||
82a7ab23 RS |
1827 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
1828 | ||
d75bec6a RS |
1829 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
1830 | ||
52dcb476 RS |
1831 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
1832 | ||
82a7ab23 RS |
1833 | * buffer.h (struct buffer): New field `display_error_modiff'. |
1834 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
1835 | ||
1836 | * window.c (Frecenter): Clear display_error_modiff field. | |
1837 | ||
1838 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. | |
1839 | Call redisplay_window, but not if display_error_modiff field says no. | |
1840 | (redisplay_window_error): New function. | |
1841 | (displayed_buffer): New variable. | |
1842 | (redisplay_internal, redisplay_windows): Call the new functions | |
1843 | instead of redisplay_window directly. | |
1844 | ||
4d0fa4f3 RS |
1845 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
1846 | ||
1847 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. | |
1848 | ||
493faf20 AI |
1849 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
1850 | ||
325111e9 AI |
1851 | * makefile.w32-in (EMACSLOADPATH): Define. |
1852 | ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. | |
1853 | (bootstrap-temacs): Remove dependency on bootstrap-clean. | |
493faf20 | 1854 | |
4971e491 EZ |
1855 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
1856 | ||
397b3b50 | 1857 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
4971e491 EZ |
1858 | parameter have a numeric value all the time. |
1859 | ||
1860 | * w32fns.c (x_report_frame_params): Likewise. | |
1861 | ||
d911a0fa RS |
1862 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
1863 | ||
1864 | * fileio.c (Fwrite_region): Doc fix. | |
1865 | ||
1866 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. | |
1867 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
1868 | ||
201c831a GM |
1869 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
1870 | ||
1871 | * xdisp.c (move_it_vertically_backward): Change heuristic | |
1872 | for the case that we didn't move far enough initially. | |
1873 | ||
1874 | * window.c (Frecenter): Simplify computation in the case of window | |
1875 | system frames and ARG < 0; use window_box_height. | |
1876 | ||
34e39c95 RS |
1877 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
1878 | ||
1879 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: | |
1880 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
1881 | ||
d77fbc16 AI |
1882 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
1883 | ||
1884 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if | |
1885 | arg is negative. | |
1886 | ||
61e3b944 RS |
1887 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
1888 | ||
1889 | * m/hp800.h: Split the __hpux conditional into the parts | |
1890 | that are right for GNU/Linux too and the parts that are not. | |
1891 | Use the former if GNU_LINUX. | |
1892 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
1893 | ||
1894 | * s/gnu-linux.h (GNU_LINUX): Defined. | |
1895 | ||
7b403e01 | 1896 | 2001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
70da46c3 PJ |
1897 | |
1898 | * macros.c, msdos.c, w16select.c: Change doc-string comments to | |
1899 | `new style' [w/`doc:' keyword]. | |
1900 | ||
8af01033 JR |
1901 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
1902 | ||
1903 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct | |
1904 | before using. | |
1905 | ||
7b403e01 | 1906 | 2001-12-09 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
7363986a PJ |
1907 | |
1908 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' | |
1909 | keyword]. | |
1910 | ||
d9e6c4b1 EZ |
1911 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
1912 | ||
d20fc48a EZ |
1913 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
1914 | ||
d9e6c4b1 EZ |
1915 | * s/hpux10.h (srand48): Don't undefine. |
1916 | ||
f1a85b89 JR |
1917 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
1918 | ||
3a232704 SM |
1919 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
1920 | Add comment to explain where the struct came from. | |
f1a85b89 JR |
1921 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
1922 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
1923 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
1924 | Lisp_Object. | |
1925 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
1926 | ||
7b403e01 | 1927 | 2001-12-09 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
3a62677f | 1928 | |
72244db2 PJ |
1929 | * COPYING: Moved back. |
1930 | ||
3a62677f PJ |
1931 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
1932 | Add parentheses around && within ||. | |
1933 | ||
1934 | * indent.c (compute_motion): Likewise. | |
1935 | ||
1936 | * intervals.c (merge_properties_sticky): Likewise. | |
1937 | ||
1938 | * coding.c (setup_coding_system, shrink_encoding_region) | |
1939 | (Fdecode_sjis_char): Likewise. | |
1940 | ||
9d113d9d AS |
1941 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
1942 | ||
b8523839 AS |
1943 | * xdisp.c (display_mode_element): Don't read past end of string if |
1944 | it ends with '%'. | |
1945 | ||
9464dea4 AS |
1946 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
1947 | can hold. | |
1948 | ||
3a232704 | 1949 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Rename |
9d113d9d AS |
1950 | from most_positive_fixnum and most_negative_fixnum, resp., and |
1951 | type changed to Lisp_Object. | |
1952 | (syms_of_data): DEFVAR_LISP them. | |
1953 | ||
70ec1377 RS |
1954 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
1955 | ||
1956 | * callproc.c (init_callproc): Set Vdata_directory based on the source | |
1957 | location whenever Emacs was run uninstalled. | |
1958 | ||
92f7dd37 PE |
1959 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
1960 | ||
1961 | * config.in (HAVE_WORKING_VFORK): New #undefs. | |
1962 | * process.c (create_process): | |
1963 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
1964 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
1965 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
1966 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
1967 | * m/intel386.h (HAVE_VFORK): Likewise. | |
1968 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
1969 | * m/mips.h (HAVE_VFORK): Likewise. | |
1970 | * s/freebsd.h (vfork): Remove #define. | |
1971 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
1972 | * s/usg5-4-2.h: Fix comment about vfork. | |
1973 | ||
c93674bb RS |
1974 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
1975 | ||
1976 | * s/hpux10.h (random): Add undef. | |
1977 | (HAVE_RANDOM): Define it just once. | |
1978 | ||
59b59892 SM |
1979 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
1980 | ||
1981 | * eval.c: Undo last change: the standard syntax is not wanted. | |
1982 | ||
c6ea2775 EZ |
1983 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
1984 | ||
1985 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the | |
1986 | scroll bars of the frame before deleting the frame itself. If the | |
1987 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
1988 | not call XDestroyWindow before that. | |
1989 | ||
91175673 KS |
1990 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
1991 | ||
1992 | * xfns.c (x_report_frame_params): Return actual fringe widths. | |
1993 | ||
1994 | * w32fns.c (x_report_frame_params): Return actual fringe widths. | |
1995 | ||
e0fead5d AI |
1996 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
1997 | ||
1998 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are | |
1999 | excessively large. | |
2000 | ||
2001 | * insdel.c (make_gap_larger): New function. | |
2002 | (make_gap_smaller): New function. | |
2003 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call | |
2004 | make_gap_smaller if arg is negative. | |
2005 | ||
c186cdb3 SM |
2006 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
2007 | ||
2008 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. | |
2009 | Pass a dummy argument when calling interrupt_signal. | |
2010 | (parse_menu_item): Mark disabled items before checking for empty def. | |
2011 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
2012 | (read_key_sequence): Add a `first_unbound' variable. | |
2013 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
2014 | unbound prefix as soon as we can detect it. | |
2015 | ||
2016 | * doc.c (Fsnarf_documentation): Add prototype. | |
2017 | (get_doc_string): Handle negative arguments. | |
2018 | (Fdocumentation): Use AREF and ASIZE. | |
2019 | Move the calls to get_doc_string to a single place. | |
2020 | Don't confuse an interactive-spec for a docstring reference. | |
2021 | (Fdocumentation_property): Take advantage of the fact that | |
2022 | get_doc_string now ignores the sign of the docstring position. | |
2023 | ||
2024 | * eval.c: Use standard syntax for usage in docstrings. | |
2025 | ||
7b403e01 | 2026 | 2001-12-03 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
58cfce98 | 2027 | |
c186cdb3 | 2028 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. |
58cfce98 | 2029 | |
7b403e01 | 2030 | 2001-12-02 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
62854fe2 PJ |
2031 | |
2032 | * xterm.c (x_draw_image_relief): Use predefined macro instead of | |
2033 | constant when the value of `tool_bar_button_relief' is negative. | |
2034 | ||
656f46bb RS |
2035 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
2036 | ||
2037 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. | |
2038 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
2039 | ||
2040 | * fileio.c (read_non_regular): Delete Fsignal call. | |
2041 | ||
036e218d SM |
2042 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
2043 | ||
2044 | * lisp.h (run_hook_list_with_args): Undo last change. | |
2045 | ||
7ddb2c16 GM |
2046 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
2047 | ||
2048 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. | |
2049 | ||
ace9b298 JR |
2050 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
2051 | ||
90647b07 JR |
2052 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
2053 | ||
2054 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) | |
2055 | [!WM_MOUSELEAVE]: Define. | |
2056 | ||
ace9b298 JR |
2057 | * w32menu.c (current_popup_menu, get_menu_item_info): |
2058 | (set_menu_item_info): New vars. | |
2059 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
2060 | (w32_menu_show): Set current_popup_menu. | |
2061 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
2062 | and help strings. | |
2063 | Use owner-draw for disabled menu items again. | |
2064 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
2065 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
2066 | ||
2067 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. | |
2068 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
2069 | <WM_EXITMENULOOP>: Free menu strings. | |
2070 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
2071 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
2072 | ||
2073 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo | |
2074 | and mouse face. | |
2075 | ||
a9549909 | 2076 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
9fbc32aa KS |
2077 | |
2078 | The following changes add left-fringe and right-fringe | |
2079 | frame parameters to adjust fringe widths, or remove one or | |
2080 | both fringes. | |
036e218d | 2081 | |
9fbc32aa KS |
2082 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
2083 | trunc_area_cols fields. | |
2084 | (Qleft_fringe, Qright_fringe): Declare. | |
2085 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
2086 | ||
2087 | * frame.c (Qleft_fringe, Qright_fringe): New vars. | |
2088 | (syms_of_frame): Initialize them. | |
2089 | ||
2090 | * window.c (coordinates_in_window): Handle separate left and right | |
2091 | fringe widths. | |
2092 | ||
2093 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, | |
2094 | and fringe_cols fields. | |
2095 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
2096 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
2097 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
2098 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
2099 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
2100 | (x_compute_fringe_widths): Add prototype. | |
2101 | ||
2102 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to | |
2103 | fill fringe evenly with small dashes. | |
2104 | (x_draw_fringe_bitmap): Clear background if necessary. Align and | |
2105 | clip the new ZV bitmap to avoid jitter between rows. | |
2106 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
2107 | background. Don't draw fringe bitmaps if fringe width is zero. | |
2108 | (x_compute_fringe_widths): New function. | |
2109 | (x_new_font, x_set_window_size_1): Use it. | |
2110 | ||
2111 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. | |
0c5ee687 | 2112 | (x_set_frame_parameters): Process `font' parameter before other |
9fbc32aa KS |
2113 | parameters as fringe widths depend on it. |
2114 | (x_set_fringe_width): New function. | |
2115 | (x_figure_window_size): Use x_compute_fringe_widths. | |
2116 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
2117 | parameters. | |
2118 | ||
2119 | * widget.c (set_frame_size): Use x_compute_fringe_widths. | |
2120 | (EmacsFrameSetCharSize): Ditto. | |
2121 | ||
2122 | * w32term.h: Merged changes from xterm.h. | |
2123 | * w32term.c: Merged changes from xterm.c. | |
2124 | * w32fns.c: Merged changes from xfns.c. | |
2125 | ||
7b403e01 | 2126 | 2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
0142178a PJ |
2127 | |
2128 | * COPYING: Removed. | |
2129 | ||
d4824a5d DL |
2130 | 2001-11-29 Dave Love <fx@gnu.org> |
2131 | ||
2132 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an | |
2133 | extra extra slot. | |
2134 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
2135 | ||
7b403e01 | 2136 | 2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
b1356234 PJ |
2137 | |
2138 | * fileio.c (file-name-coding-system) | |
2139 | (default-file-name-coding-system): Doc fix (links to referenced | |
2140 | variables added). | |
2141 | ||
3ce081f5 SM |
2142 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
2143 | ||
99e380ee SM |
2144 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
2145 | Add dummy uses of gcproN variables. | |
2146 | ||
3ce081f5 | 2147 | * category.c (describe_category, describe_category_1) |
2ad56c09 | 2148 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) |
3ce081f5 SM |
2149 | (syms_of_category): Don't defsubr Sdescribe_categories. |
2150 | ||
66458f32 RS |
2151 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
2152 | ||
2153 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. | |
2154 | ||
2155 | * Makefile.in (lispdir): New variable, referring to build dir. | |
2156 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
2157 | ||
59a86c99 AI |
2158 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
2159 | ||
2160 | * w32menu.c (w32_menu_display_help): Actually add the new argument | |
2161 | OWNER. | |
2162 | ||
eb77a5f4 JR |
2163 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
2164 | ||
2165 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled | |
2166 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
2167 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
2168 | conditionally. | |
2169 | (w32_menu_display_help): New argument OWNER. Rewritten to store a | |
2170 | help event in the owner frame's keyboard buffer. | |
2171 | ||
2172 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. | |
2173 | (Fx_show_tip): Don't subtract last width from row width. | |
2174 | ||
2175 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
2176 | (w32_read_socket): Use EQ to compare frames. | |
2177 | ||
bb313871 GM |
2178 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
2179 | ||
2180 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if | |
2181 | OVERLAPS_P. | |
2182 | ||
7b403e01 | 2183 | 2001-11-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
55b43a63 | 2184 | |
6052529b PJ |
2185 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
2186 | `gcpro3' and `gcpro4'. | |
2187 | ||
3ce081f5 SM |
2188 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
2189 | ||
2190 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> | |
2191 | ||
2192 | * ccl.c: Use AREF and ASIZE. | |
2193 | ||
2194 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> | |
2195 | ||
2196 | * lisp.h (run_hook_list_with_args): Remove. | |
2197 | (LIST_END_P): Fix call to wrong_type_argument. | |
2198 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
55b43a63 | 2199 | |
111ed14e SM |
2200 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
2201 | ||
9fabb2f5 SM |
2202 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
2203 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
2204 | ||
2205 | * eval.c: Use AREF and ASIZE. | |
2206 | (Ffetch_bytecode): Add the file name to the error message. | |
2207 | ||
2208 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers | |
2209 | which match the end of the file-name. | |
2210 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
2211 | is not a valid env var, but leave it as is instead. | |
2212 | ||
111ed14e SM |
2213 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
2214 | Make nil bindings in char-tables transparent. | |
2215 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
2216 | ||
2fa0eedf RS |
2217 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
2218 | ||
d1420435 RS |
2219 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
2220 | Do nothing if range is empty. | |
2221 | ||
2fa0eedf RS |
2222 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
2223 | ||
ebcbef4e RS |
2224 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
2225 | (clean): Not here. | |
2226 | ||
5c131048 SM |
2227 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
2228 | ||
2229 | * textprop.c (set_text_properties_1): Clearly mark that the | |
2230 | interval should not be empty. | |
2231 | ||
2232 | * intervals.c (graft_intervals_into_buffer): | |
2233 | Don't call set_text_properties_1 on an empty interval. | |
2234 | ||
96d276c3 RS |
2235 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
2236 | ||
6108b49c RS |
2237 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
2238 | ||
96d276c3 RS |
2239 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
2240 | don't lose the data in it. | |
2241 | ||
5eea19a4 RS |
2242 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
2243 | ||
2244 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. | |
2245 | ||
2246 | * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. | |
2247 | ||
2248 | * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. | |
2249 | ||
438e57dd SM |
2250 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
2251 | ||
2252 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. | |
2253 | ||
c88e5347 EZ |
2254 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
2255 | ||
2256 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi | |
2257 | Niemitalo <kon@iki.fi>. | |
2258 | ||
59ce1461 JR |
2259 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
2260 | ||
2261 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. | |
2262 | ||
2263 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. | |
2264 | (Fx_show_tip): Block input during frame creation. | |
2265 | (Fx_show_tip, Fx_hide_tip): Enable. | |
2266 | ||
8727d588 RS |
2267 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
2268 | ||
2269 | * lread.c (Fload): Detect recursive load error for more than 3 | |
2270 | nestings of the same file. | |
2271 | (Vrecursive_load_depth_limit): Variable deleted. | |
2272 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
2273 | ||
cc63037e JR |
2274 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
2275 | ||
2276 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from | |
2277 | mouse position if either left or top is not specified. | |
2278 | ||
2279 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. | |
2280 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
2281 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
2282 | (my_create_tip_window): Assign tip_window. | |
2283 | (x_create_tip_frame): Use same defaults as X. | |
2284 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
2285 | (Fx_show_tip): Do not double height. Call ShowWindow directly. | |
2286 | ||
2287 | * w32term.c (x_after_update_window_line): Doc fix. | |
2288 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
2289 | frames. | |
2290 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
2291 | ||
2292 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame | |
2293 | for all Windowed systems. | |
2294 | ||
deece6f5 EZ |
2295 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
2296 | ||
2297 | * msdos.c (IT_clear_screen): If the frame's faces are not yet | |
2298 | realized, use the initial screen colors to clear the screen. | |
2299 | ||
7b403e01 | 2300 | 2001-11-23 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
1b944d9c | 2301 | |
28ff4293 PJ |
2302 | * textprop.c (Fset_text_properties): Remove unused variables |
2303 | `unchanged', `prev_changed', `s' and `len'. | |
2304 | ||
56167cc5 PJ |
2305 | * search.c (Freplace_match): Remove unused variable `inslen'. |
2306 | ||
1b944d9c PJ |
2307 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. |
2308 | ||
ca56d953 JR |
2309 | 2001-11-22 Jason Rumney <jasonr@gnu.org> |
2310 | ||
2311 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
2312 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
2313 | (my_create_tip_window): New function. | |
2314 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
93dec019 | 2315 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. |
ca56d953 | 2316 | |
33399dce JR |
2317 | 2001-11-20 Jason Rumney <jasonr@gnu.org> |
2318 | ||
2319 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
2320 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
2321 | ||
2322 | * w32fns.c (Vw32_system_coding_system): Remove. | |
2323 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
2324 | ||
9b46de40 SM |
2325 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> |
2326 | ||
6710ea06 SM |
2327 | * fileio.c (Fwrite_region): Move choose_write_coding_system to |
2328 | after build_annotations. | |
2329 | ||
a395ef6a SM |
2330 | * syntax.c (describe_syntax): Add dummy arg. |
2331 | (describe_syntax_1): Update call to describe_vector. | |
2332 | ||
2333 | * category.c (describe_category): Add dummy arg. | |
2334 | (describe_category_1): Update call to describe_vector. | |
2335 | ||
2336 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
2337 | (describe_command, describe_translation): Add dummy second param. | |
2338 | (describe_map): Call elt_describer with two arguments. | |
2339 | (describe_vector_princ): Add `fun' parameter. | |
2340 | Call it instead of the hardcoded `princ'. | |
2341 | (describe_vector): Add arg `args'. | |
2342 | Pass it as a new second argument to elt_describer. | |
2343 | ||
2344 | * keymap.h (describe_vector): Update prototype. | |
2345 | ||
9b46de40 SM |
2346 | * frame.c: Don't include keymap.h any more. |
2347 | (keys_of_frame): Remove. | |
2348 | ||
2349 | * lisp.h (keys_of_frame): Remove declaration. | |
2350 | ||
2351 | * emacs.c (main): Don't call `keys_of_frame' any more. | |
2352 | ||
aff37336 SS |
2353 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
2354 | ||
2355 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS | |
2356 | if defined, 0 otherwise. | |
9b46de40 | 2357 | (MAP_FAILED): Define if not defined and use it to test mmap failure. |
aff37336 SS |
2358 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. |
2359 | ||
b9937f07 RS |
2360 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
2361 | ||
2362 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. | |
2363 | ||
2cd23960 JR |
2364 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
2365 | ||
2366 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. | |
2367 | (x_draw_bar_cursor): If the background color of the glyph under | |
2368 | the cursor equals the frame's cursor color, use the glyph's | |
2369 | foreground color for drawing the bar cursor. | |
2370 | (x_after_update_window_line): Clear internal border in different | |
2371 | circumstances. | |
2372 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
2373 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
9b46de40 SM |
2374 | (x_set_glyph_string_background_width): |
2375 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
2cd23960 JR |
2376 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. |
2377 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
2378 | if cursor_in_non_selected_windows is false. | |
9b46de40 | 2379 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. |
2cd23960 JR |
2380 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. |
2381 | Notice if cursor gets overwritten. | |
2382 | (notice_overwritten_cursor): Renamed from | |
2383 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
2384 | into account, and to take X positions as parameters. | |
2385 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
2386 | around call to x_draw_glyphs. | |
2387 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
2388 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
2389 | color to use for image glyph reliefs. | |
2390 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
2391 | (glyph_rect): Remove unused variable `area'. | |
2392 | ||
2393 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for | |
2394 | some items. | |
2395 | (x_set_internal_border_width): Set frame garbaged when window | |
2396 | doesn't exist yet. | |
2397 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
2398 | (x_clear_image_1, four_corners_best, image_background) | |
2399 | (image_background_transparent): New functions. | |
2400 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
2401 | (gs_format): Add `:background' entry. | |
2402 | (lookup_image): Set IMG's background color if specified. | |
2403 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
2404 | when appropriate. | |
2405 | (x_clear_image_1): Reset `background_valid' and | |
2406 | `background_transparent_valid' fields. | |
2407 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
2408 | calculating it here. Set IMG's background_transparent field. | |
2409 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
2410 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
2411 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
2412 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
2413 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
2414 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
2415 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
2416 | Pre-calculate image background color where necessary. | |
9b46de40 SM |
2417 | (x_create_x_image_and_pixmap, xbm_load, gs_load): |
2418 | Use display info's n_cbits entry for screen depth. | |
2cd23960 JR |
2419 | (Fx_show_tip): Remove unused variables `buffer', `top', |
2420 | `left', `max_width' and `max_height'. | |
2421 | ||
2422 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. | |
2423 | ||
a4184c1c GM |
2424 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
2425 | ||
2426 | * puresize.h (BASE_PURESIZE): Increase to 750000. | |
2427 | ||
7b403e01 | 2428 | 2001-11-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
f6fa0866 PJ |
2429 | |
2430 | * frame.c (Fframe_live_p): Doc fix. | |
2431 | ||
f4ca4b00 RS |
2432 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
2433 | ||
2434 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) | |
2435 | (message_dolog_marker3): New static variables hold three markers. | |
2436 | (syms_of_xdisp): Initialize and staticpro them. | |
2437 | (message_dolog): Use message_dolog_marker1..3 instead of | |
2438 | allocating markers each time. Unchain them when done. | |
2439 | ||
f4e25f94 RS |
2440 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
2441 | ||
2442 | * doc.c (Fsnarf_documentation): Doc fix. | |
2443 | ||
91c153e2 AS |
2444 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
2445 | ||
2446 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. | |
2447 | ||
65b7d3e7 RS |
2448 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
2449 | ||
2450 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. | |
2451 | ||
6b5f6311 JR |
2452 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
2453 | ||
2454 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. | |
2455 | ||
be676094 GM |
2456 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
2457 | ||
2458 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property | |
2459 | with invalid position. | |
2460 | ||
032a857d RS |
2461 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
2462 | ||
2463 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. | |
2464 | ||
2465 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. | |
2466 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
2467 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
2468 | ||
2469 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. | |
2470 | ||
b6270150 SM |
2471 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
2472 | ||
2473 | * fileio.c (build_annotations): Split off the tail. | |
2474 | (build_annotations_2): New fun. Extracted from build_annotations. | |
2475 | (Fwrite_region): Split the call to build_annotations into two | |
2476 | calls to build_annotations and build_annotations_2. | |
2477 | ||
7b403e01 | 2478 | 2001-11-16 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
792e5cbd | 2479 | |
98cbb9fa PJ |
2480 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
2481 | clear_waiting_for_input with argument. | |
2482 | ||
2483 | * xterm.h (x_update_cursor): Remove duplicated prototype. | |
2484 | ||
b6270150 | 2485 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
98cbb9fa | 2486 | |
ea904403 | 2487 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
98cbb9fa | 2488 | |
ea904403 | 2489 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
792e5cbd | 2490 | |
fa336b91 SM |
2491 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
2492 | ||
2493 | * fileio.c (choose_write_coding_system): New fun, extracted | |
2494 | from Fwrite_region. | |
2495 | (Fwrite_region): Use it. | |
2496 | ||
2497 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. | |
2498 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
2499 | (ml_apply, find_handler_clause): Add prototype. | |
2500 | ||
077907d4 EZ |
2501 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
2502 | ||
aa2af83a EZ |
2503 | * config.in: Add #undef HAVE_COFF_H. |
2504 | ||
077907d4 EZ |
2505 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
2506 | Required for ISC 4.1. | |
2507 | ||
1756e2fb EZ |
2508 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
2509 | ||
2510 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by | |
2511 | Andrew Wiseman <a.wiseman@btclick.com>. | |
2512 | ||
06e8f738 KS |
2513 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
2514 | ||
2515 | The following changes are made to clean up the various internal | |
2516 | references to the fringes to actually use the term `fringe' for | |
2517 | them. Previously, they were called `flags areas', `bitmap areas', | |
2518 | `left/right side of windows', or implicitly as `flags' or | |
2519 | `bitmaps': | |
2520 | ||
2521 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. | |
2522 | Comments fixed. Use renamed symbols. | |
fa336b91 | 2523 | |
06e8f738 | 2524 | * dispnew.c: Comment fix. Use renamed symbols. |
fa336b91 | 2525 | |
06e8f738 KS |
2526 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
2527 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
2528 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
fa336b91 | 2529 | |
06e8f738 | 2530 | * msdos.c: Comment fix. |
fa336b91 | 2531 | |
06e8f738 | 2532 | * w32fns.c: Use renamed symbols. |
fa336b91 | 2533 | |
06e8f738 KS |
2534 | * w32term.c: Comment fixes. Use renamed symbols. |
2535 | (fringe_bitmap_type): Renamed from bitmap_type. | |
2536 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
2537 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
2538 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
fa336b91 | 2539 | |
06e8f738 KS |
2540 | * w32term.h: Comment fixes. Use renamed symbols. |
2541 | (fringes_extra): Renamed from flags_areas_extra. | |
2542 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
2543 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
2544 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
2545 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
fa336b91 SM |
2546 | (FRAME_X_LEFT_FRINGE_WIDTH): |
2547 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
2548 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
2549 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
2550 | ||
06e8f738 | 2551 | * widget.c: Use renamed symbols. |
fa336b91 | 2552 | |
06e8f738 KS |
2553 | * window.c: Comment fixes. Use renamed symbols. |
2554 | (coordinates-in-window-p): Doc fix. | |
fa336b91 | 2555 | |
06e8f738 | 2556 | * xdisp.c: Comment fixes. Use renamed symbols. |
fa336b91 | 2557 | |
06e8f738 | 2558 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
fa336b91 | 2559 | |
06e8f738 | 2560 | * xfns.c: Use renamed symbols. |
fa336b91 | 2561 | |
06e8f738 KS |
2562 | * xterm.c: Comment fixes. Use renamed symbols. |
2563 | (fringe_bitmap_type): Renamed from bitmap_type. | |
2564 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
2565 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
2566 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
2567 | ||
2568 | * xterm.h: Comment fixes. Use renamed symbols. | |
2569 | (fringes_extra): Renamed from flags_areas_extra. | |
2570 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
2571 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
2572 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
2573 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
fa336b91 SM |
2574 | (FRAME_X_LEFT_FRINGE_WIDTH): |
2575 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
2576 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
2577 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
06e8f738 | 2578 | |
9ce647f4 JR |
2579 | 2001-11-15 Jason Rumney <jasonr@gnu.org> |
2580 | ||
2581 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
2582 | work for most menu items. From David Ponce | |
2583 | <david.ponce@wanadoo.fr>. | |
2584 | ||
9b784ab8 GM |
2585 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> |
2586 | ||
9f7e52b4 GM |
2587 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. |
2588 | Some x_set_* function expect to be called even if old and new | |
2589 | value are equal. | |
2590 | ||
2591 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
2592 | tool_bar_button_relief. | |
2593 | ||
2594 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
2595 | ||
2596 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
fa336b91 | 2597 | |
34e5d0af GM |
2598 | * xterm.c (x_draw_bar_cursor): If the background color of the |
2599 | glyph under the cursor equals the frame's cursor color, use | |
2600 | the glyph's foreground color for drawing the bar cursor. | |
2601 | ||
9b784ab8 GM |
2602 | * dispnew.c (direct_output_forward_char): Fix character/byte |
2603 | position comparison. | |
2604 | ||
89512fcd MB |
2605 | 2001-11-15 Miles Bader <miles@gnu.org> |
2606 | ||
2607 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. | |
2608 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
2609 | Update arguments to find_field. | |
2610 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
2611 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
2612 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
2613 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
2614 | ||
7d18891d RS |
2615 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
2616 | ||
d2936d21 RS |
2617 | * editfns.c (Fpropertize): Allow call with 1 arg. |
2618 | ||
7d18891d RS |
2619 | * dispextern.h (image_background, image_background_transparent): |
2620 | Conditionalize on HAVE_X_WINDOWS. | |
2621 | ||
2622 | 2001-11-13 Richard M. Stallman <rms@gnu.org> | |
2623 | ||
2624 | * print.c (Fprin1_to_string): Doc fix. | |
2625 | ||
2626 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. | |
2627 | ||
2628 | * floatfns.c (Fceiling, Ffloor): Doc fixes. | |
2629 | ||
2630 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. | |
2631 | ||
2632 | * fileio.c (Ffile_accessible_directory_p): Doc fix. | |
2633 | ||
2634 | * eval.c (syms_of_eval): Doc fix. | |
2635 | ||
2636 | * coding.c (syms_of_coding): Doc fix. | |
2637 | ||
2638 | * doc.c (Fsnarf_documentation): Doc fix. | |
2639 | ||
2640 | * dispnew.c (syms_of_display): Doc fix. | |
2641 | ||
2642 | * category.c (Fget_unused_category): Doc fix. | |
2643 | ||
2644 | * buffer.c (syms_of_buffer): Doc fixes. | |
2645 | ||
9474c847 EZ |
2646 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
2647 | ||
2648 | * print.c (prin1, print): Doc fix. | |
2649 | ||
7b403e01 | 2650 | 2001-11-14 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
e3059a5d | 2651 | |
2b6f3c2b | 2652 | * fontset.h: Remove declarations of variables |
e3059a5d PJ |
2653 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. |
2654 | ||
2655 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and | |
2656 | `Vclip_large_size_font'. | |
2657 | ||
b3700ae7 JR |
2658 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
2659 | ||
2660 | * w32fns.c: Doc fix. | |
2661 | ||
7b403e01 | 2662 | 2001-11-13 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
eae936e2 | 2663 | |
4bb962be PJ |
2664 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
2665 | ||
0a332240 PJ |
2666 | * w32fns.c (Fx_synchronize): Reindent. |
2667 | ||
ddb67bdc PJ |
2668 | * fns.c: Doc fix. |
2669 | ||
3467c402 PJ |
2670 | * emacs.c: Doc fix. |
2671 | ||
2672 | * coding.c: Doc fix. | |
2673 | ||
6e1b91d7 PJ |
2674 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
2675 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
2676 | `new style' [w/`doc:' keyword]. | |
2677 | ||
f6e34773 PJ |
2678 | * xmenu.c (x-popup-menu): Reindent. |
2679 | (x-popup-dialog): Likewise. | |
2680 | ||
fa336b91 | 2681 | * xfaces.c (Finternal_set_alternative_font_family_alist): Reindent. |
c71f3632 | 2682 | |
c2552f79 PJ |
2683 | * xdisp.c (Fdump_tool_bar_row): Reindent. |
2684 | ||
94c7167b PJ |
2685 | * minibuf.c (Fminibuffer_complete_word): Reindent. |
2686 | (Fminibuffer_complete_and_exit): Likewise. | |
fa336b91 | 2687 | (Fminibuffer_completion_help): Likewise. |
94c7167b PJ |
2688 | (Fminibuffer_message): Likewise. |
2689 | ||
462a5e3a PJ |
2690 | * fns.c (Freverse): Reindent. |
2691 | ||
b8de5714 PJ |
2692 | * eval.c (Fif): Reindent. |
2693 | (Fand): Likewise. | |
2694 | ||
deb8e082 PJ |
2695 | * editfns.c (Fuser_real_login_name): Reindent. |
2696 | (Finsert_buffer_substring): Likewise. | |
2697 | (Fcompare_buffer_substrings): Likewise. | |
2698 | (Fsubst_char_in_region): Likewise. | |
2699 | ||
bacf09b4 PJ |
2700 | * dispnew.c (Fsit_for): Reindent. |
2701 | (Fframe_or_buffer_changed_p): Likewise. | |
2702 | (Finternal_show_cursor_p): Likewise. | |
2703 | (syms_of_display): Likewise. | |
2704 | ||
eae936e2 PJ |
2705 | * alloc.c (Flist): Reindent. |
2706 | (Fvector): Likewise. | |
2707 | ||
1c1d3d69 RS |
2708 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
2709 | ||
2710 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or | |
2711 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
2712 | (x_display_and_set_cursor): Do display hollow cursors in active | |
2713 | minibuffer windows when they are not selected. | |
2714 | ||
b6f4c7ba JR |
2715 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
2716 | ||
2717 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
2718 | * w32term.c: Change doc-string comments to `new style'. | |
2719 | [w/`doc:' keyword]. Doc fixes. | |
2720 | ||
2721 | * w32fns.c: Don't define max. | |
2722 | (Fx_open_connection): Only execute once. | |
2723 | ||
7b403e01 | 2724 | 2001-11-12 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
a89f435d PJ |
2725 | |
2726 | * ccl.c: Change macros to use do-while block instead of if-else. | |
2727 | Use braces to follow GNU Coding Standards. | |
2728 | ||
a4cd0cd7 RS |
2729 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
2730 | ||
eafb659a RS |
2731 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
2732 | ||
2733 | * lread.c (read_escape): Use end_of_file_error for reporting eof. | |
2734 | ||
a4cd0cd7 RS |
2735 | * insdel.c (replace_range): Use adjust_markers_for_replace |
2736 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
2737 | ||
2738 | * intervals.h: Declare set_text_properties and set_text_properties_1. | |
2739 | ||
2740 | * textprop.c (set_text_properties_1): New subroutine | |
2741 | broken out of set_text_properties. | |
2742 | (set_text_properties): Use set_text_properties_1. | |
2743 | ||
2744 | * intervals.c (graft_intervals_into_buffer): | |
2745 | Use set_text_properties_1 to clear out properties. | |
2746 | ||
2747 | * search.c (Freplace_match): Use replace_range to insert | |
2748 | and delete. Don't request property inheritance from | |
2749 | surrounding text. | |
2750 | ||
91823618 JR |
2751 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
2752 | ||
2753 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect | |
2754 | vertical fonts. Allow them if face name is explicitly specified. | |
fa336b91 | 2755 | Do not give up if we find a font that cannot be converted to an xlfd. |
91823618 | 2756 | |
86928dfb GM |
2757 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
2758 | ||
fa336b91 | 2759 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
86928dfb GM |
2760 | instead of malloc/free. |
2761 | ||
7b403e01 | 2762 | 2001-11-09 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
40ef1eda | 2763 | |
ab8469eb PJ |
2764 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
2765 | Coding Standards. | |
2766 | (Finternal_set_lisp_face_attribute): Likewise. | |
2767 | ||
a78e0303 PJ |
2768 | * buffer.c (Fbury_buffer): Likewise. |
2769 | ||
40ef1eda PJ |
2770 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
2771 | ||
fabf4a91 PJ |
2772 | * coding.c (encode_coding): Use precomputed value of `src'. |
2773 | (encode_coding): Remove unused variable `src_end'. | |
2774 | (code_convert_region): Remove unused variables `count'. | |
2775 | ||
0c99b139 JR |
2776 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
2777 | ||
2778 | * w32term.c (x_display_and_set_cursor): Do not move system caret | |
2779 | if cursor_glyph is NULL. | |
2780 | ||
7b403e01 | 2781 | 2001-11-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
830ddd77 PJ |
2782 | |
2783 | * keymap.c (access_keymap): Fix compilation error. | |
2784 | ||
55c6d645 MB |
2785 | 2001-11-07 Miles Bader <miles@gnu.org> |
2786 | ||
2787 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. | |
2788 | ||
7b403e01 | 2789 | 2001-11-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
5de38842 | 2790 | |
7a4564a4 PJ |
2791 | * intervals.c (graft_intervals_into_buffer): |
2792 | Remove #ifdef'd-out code. | |
2793 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
2794 | ||
5de38842 PJ |
2795 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
2796 | code (eval-current-buffer). | |
2797 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
2798 | ||
4fa23df5 RS |
2799 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
2800 | ||
2801 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. | |
2802 | ||
7a6a97d7 SM |
2803 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
2804 | ||
c191d13c SM |
2805 | * lread.c (read1): Fix behavior with nested backquoting. |
2806 | ||
7a6a97d7 SM |
2807 | * keyboard.c (make_lispy_event): Check integerness and fix |
2808 | Lisp_Object/int mixup. | |
2809 | ||
7b403e01 | 2810 | 2001-11-06 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
44dc78e0 PJ |
2811 | |
2812 | * fns.c (copy_hash_table): Remove unused variable `v'. | |
2813 | ||
17893c65 PJ |
2814 | * fontset.c (fontset_font_pattern): Remove unused variable |
2815 | `family_registry'. | |
2816 | ||
4d994a79 PJ |
2817 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
2818 | ||
d5360cc7 RS |
2819 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
2820 | ||
2821 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. | |
2822 | ||
2823 | * buffer.c (Fkill_buffer): Don't delete auto save file | |
2824 | if buffer is modified. | |
2825 | ||
96238a5a AI |
2826 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
2827 | ||
2828 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and | |
2829 | CHECK_NUMBER_CDR. | |
2830 | ||
d9d54213 RS |
2831 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
2832 | ||
2833 | * unexelf.c (unexec): Minor changes; clean up comments. | |
2834 | ||
b116830b SS |
2835 | 2001-11-05 Sam Steingold <sds@gnu.org> |
2836 | ||
2837 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. | |
2838 | ||
3297e2a1 AS |
2839 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
2840 | ||
2841 | * sound.c (sound_perror): Save errno from being clobbered. | |
2842 | ||
9212319f | 2843 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
6fb8339c EZ |
2844 | |
2845 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write | |
2846 | the program image directly. | |
2847 | ||
7b403e01 | 2848 | 2001-11-05 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
7dd73b78 PJ |
2849 | |
2850 | * buffer.h (Fbuffer_local_value): Add prototype. | |
2851 | ||
982f6c7e RS |
2852 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
2853 | ||
d31053f9 RS |
2854 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
2855 | and CHECK_BUFFER. | |
2856 | ||
2857 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. | |
2858 | (record_char): Likewise. | |
2859 | ||
2860 | * keyboard.c (make_lispy_event): Don't insist a drag event must | |
2861 | move to a different buffer position. Instead, check for moving at | |
2862 | least double_click_fuzz. | |
2863 | ||
2864 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. | |
2865 | ||
2866 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. | |
2867 | ||
982f6c7e RS |
2868 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
2869 | for display-table glyphs from the code buffer text, to fix | |
2870 | bugs in the former. | |
2871 | ||
830047fd RS |
2872 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
2873 | ||
2874 | * buffer.c (Fbuffer_local_value): New function. | |
c191d13c | 2875 | (syms_of_buffer): Defsubr it. |
b116830b | 2876 | |
830047fd RS |
2877 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
2878 | value of `cursor-in-non-selected-windows'. | |
2879 | ||
2880 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. | |
2881 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
2882 | (syms_of_xdisp): Initialize it. | |
b116830b | 2883 | |
7b403e01 | 2884 | 2001-11-04 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2df5238c | 2885 | |
4e397688 PJ |
2886 | * xfns.c (Fx_create_frame): Doc fix. |
2887 | ||
48b0f3ae PJ |
2888 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
2889 | keyword]. | |
2890 | ||
2df5238c PJ |
2891 | * eval.c (top_level_value, top_level_set): Remove commented and |
2892 | #ifdef'd-out code. | |
2893 | (Fdefvar): Fix usage in doc-string. | |
2894 | ||
3ecaf7e5 RS |
2895 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
2896 | ||
2897 | * xfns.c: Include unistd.h, if it exists. | |
2898 | ||
2899 | * editfns.c: Move the include of ctype.h after unistd.h. | |
2900 | ||
2901 | * gmalloc.c: Test BROKEN_PROTOTYPES. | |
2902 | ||
8db2e33b KR |
2903 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
2904 | ||
2905 | * lisp.h (CHECK_STRING_CAR): New macro. | |
2906 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
2907 | treating XCAR and XCDR as lvalues. | |
2908 | (openp): Use CHECK_STRING_CAR. | |
2909 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
2910 | ||
aed29b97 EZ |
2911 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
2912 | ||
2913 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. | |
13ccc79a | 2914 | (SIGMASKTYPE): Define. |
aed29b97 EZ |
2915 | |
2916 | * syssignal.h (sigunblock): Don't define if already defined. | |
2917 | ||
7b403e01 | 2918 | 2001-11-02 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
6cb16f95 | 2919 | |
16b45be4 EZ |
2920 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
2921 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
1b1acc13 PJ |
2922 | Fix typos in comments. |
2923 | ||
020f9b38 PJ |
2924 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
2925 | and #ifdef'd-out code. | |
2926 | Fix and reindent comments. | |
2927 | ||
c191d13c | 2928 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
020f9b38 | 2929 | |
6cb16f95 PJ |
2930 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
2931 | argument `i' in macros. | |
2932 | ||
2933 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument | |
2934 | `i' in macros. | |
2935 | ||
16b45be4 EZ |
2936 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
2937 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
2938 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
2939 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
2940 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
2941 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
2942 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
2943 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
6cb16f95 PJ |
2944 | in macros. |
2945 | ||
2946 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
153c2160 PJ |
2947 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, |
2948 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
2949 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
2950 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
2951 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
2952 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
2953 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
2954 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
6cb16f95 PJ |
2955 | (remove unused second argument). |
2956 | ||
7e9d3c2f SM |
2957 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
2958 | ||
2959 | * syntax.c (describe_syntax): New wrapper. | |
2960 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
2961 | Don't insert space at front and \n at the end. | |
2962 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
2963 | ||
2964 | * regex.c (re_wctype): Try to fix some warnings. | |
2965 | (regcomp, regexec): Don't forget the __restrict. | |
2966 | ||
e6bff182 RS |
2967 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
2968 | ||
2969 | * textprop.c (Fget_char_property): Doc fix. | |
2970 | ||
7b403e01 | 2971 | 2001-11-02 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
9ba48103 PJ |
2972 | |
2973 | * process.c (Fstart_process): Add usage to doc-string. | |
2974 | ||
2975 | * data.c (Fsetq_default): Ditto. | |
2976 | ||
2977 | * callint.c (Finteractive): Ditto. | |
2978 | ||
c22e59e1 SM |
2979 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
2980 | ||
2981 | * macros.c: Don't include keymap.h any more. | |
2982 | ||
9271ed2c RS |
2983 | 2001-11-01 Richard M. Stallman <rms@gnu.org> |
2984 | ||
e6bff182 RS |
2985 | * data.c (Fmake_local_variable): Doc fix. |
2986 | ||
2987 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
2988 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
2989 | ||
9271ed2c RS |
2990 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
2991 | bindings along with or instead of the buffer local map. | |
2992 | Make the overriding maps override what they should. | |
2993 | ||
7b403e01 | 2994 | 2001-11-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
2995 | |
2996 | * window.c (grow_mini_window): Fix typo in comment. | |
2997 | ||
27188d11 GM |
2998 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
2999 | ||
7b49b9d2 GM |
3000 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
3001 | (XTset_vertical_scroll_bar): Likewise. | |
3002 | ||
43f7c3ea GM |
3003 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
3004 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 3005 | |
b350c2e5 GM |
3006 | * xfns.c (four_corners_best): Reindent. |
3007 | ||
c22e59e1 | 3008 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
3009 | Handle :box so that it is possible to specify sexprs. |
3010 | ||
7b403e01 | 3011 | 2001-11-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
d576358b PJ |
3012 | |
3013 | * xfaces.c (Finternal_merge_in_global_face): Reindent. | |
3014 | (Fface_font): Ditto. | |
3015 | (Finternal_set_alternative_font_registry_alist): Ditto. | |
3016 | (Ftty_suppress_bold_inverse_default_colors): Ditto. | |
3017 | ||
3018 | * xfns.c (x-get-resource): Reindent. | |
3019 | ||
bf00d461 EZ |
3020 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
3021 | ||
3022 | * s/hpux11.h: New file. | |
3023 | ||
7b403e01 | 3024 | 2001-10-31 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
4e10df59 | 3025 | |
2b209b97 PJ |
3026 | * emacs.c (USAGE1): Show command line option --no-window-system |
3027 | instead of --no-windows in usage. | |
3028 | (standard_args): Rename --no-windows to --no-window-system. | |
3029 | (bug_reporting_address): Follow Emacs coding conventions. | |
3030 | ||
9dbc9081 PJ |
3031 | * eval.c (Fcommandp): Doc fix. |
3032 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
3033 | ||
4e10df59 PJ |
3034 | * frame.c (Fframe_live_p): Doc fix. |
3035 | ||
3036 | * buffer.c (selective-display-ellipses): Doc fix. | |
3037 | ||
dd387b25 GM |
3038 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
3039 | ||
fe957e65 GM |
3040 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
3041 | ||
dd387b25 GM |
3042 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
3043 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
3044 | members which have a different meaning. | |
3045 | (free_face_colors): Do nothing for a face whose colors have been | |
3046 | copied bitwise. | |
3047 | ||
c22e59e1 | 3048 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 3049 | |
7b403e01 | 3050 | 2001-10-31 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 3051 | |
687784e8 PJ |
3052 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
3053 | [w/`doc:' keyword]. | |
2e1280f8 | 3054 | |
b9d9a9b9 GM |
3055 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
3056 | ||
3057 | * fns.c (require_unwind): Return Lisp_Object. | |
3058 | ||
7b403e01 | 3059 | 2001-10-31 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
48400103 | 3060 | |
fa1361cb PJ |
3061 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
3062 | (last-input-char): Revert doc-string to be the same as the | |
3063 | doc-string of `last-input-event'. | |
3064 | ||
48400103 PJ |
3065 | * xdisp.c: Fix typos in comments. |
3066 | ||
eafa3196 GM |
3067 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
3068 | ||
3069 | * window.c (grow_mini_window): Handle case that the root | |
3070 | window is already smaller than the nominal mininum height. | |
3071 | ||
747d3f2a SM |
3072 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
3073 | ||
bf9bb76f SM |
3074 | * emacs.c (main): Don't call keys_of_macros any more. |
3075 | ||
3076 | * lisp.h (keys_of_macros): Remove. | |
3077 | ||
3078 | * macros.c (keys_of_macros): Remove. | |
3079 | ||
747d3f2a SM |
3080 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
3081 | ||
5e905a57 JR |
3082 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
3083 | ||
3084 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
3085 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
3086 | ||
3a426197 RS |
3087 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
3088 | ||
3089 | * keyboard.c (Finput_pending_p): Doc fix. | |
3090 | ||
a742d646 GM |
3091 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
3092 | ||
259cf6bc GM |
3093 | * xterm.c (x_after_update_window_line): Don't run the code |
3094 | clearing in borders for rows whose visible height is 0. | |
3095 | ||
3f99f948 GM |
3096 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
3097 | resized_p flag is set. If not set, use the much less flickering | |
3098 | method previously used. | |
3099 | ||
3100 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
3101 | ||
3102 | * frame.h (struct frame) <resized_p>: New member. | |
3103 | ||
b4a3be43 GM |
3104 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
3105 | as large as the number of bytes to convert. | |
747d3f2a | 3106 | |
a742d646 GM |
3107 | * lread.c (to_multibyte): New function. |
3108 | (read1): Use it. | |
3109 | ||
cacbb9e9 EZ |
3110 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
3111 | ||
3112 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
3113 | ||
99cb6b2f GM |
3114 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
3115 | ||
327f42ee | 3116 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
3117 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
3118 | if the row's fill_line_p is set and drawing the last glyph with | |
3119 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 3120 | |
99cb6b2f GM |
3121 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
3122 | ||
8e8223e2 SM |
3123 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
3124 | ||
3125 | * xmenu.c: Include coding.h and charset.h. | |
3126 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
3127 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
3128 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
3129 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
3130 | (menu_help_callback): Use empty_string. | |
3131 | ||
3132 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
3133 | (Fx_popup_dialog): Explicitly init f. | |
3134 | (w32_menu_display_help): Use empty_string. | |
3135 | ||
4d083a8f RS |
3136 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
3137 | ||
b2304472 RS |
3138 | * fns.c (Frequire): Detect recursive try to require the same |
3139 | feature 3 or more levels deep, and get error. | |
3140 | (require_unwind): New subroutine. | |
3141 | (require_nesting_list): New variable. | |
3142 | (syms_of_fns): Init and staticpro it. | |
3143 | ||
4d083a8f RS |
3144 | * print.c (print_object): Clarify indication of insertion type. |
3145 | ||
2fe41216 EZ |
3146 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
3147 | ||
90480000 EZ |
3148 | * coding.c (syms_of_coding): Document that locale-coding-system is |
3149 | used for decoding input on X. | |
3150 | ||
2fe41216 EZ |
3151 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
3152 | ||
7b403e01 | 3153 | 2001-10-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
3154 | |
3155 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
3156 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
3157 | ||
60ebcfe8 GM |
3158 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
3159 | ||
9a7bdceb GM |
3160 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
3161 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
3162 | ||
3f08fcd2 GM |
3163 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
3164 | the slant attribute if FRAME is t. | |
3165 | ||
0ccfdad2 GM |
3166 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
3167 | when X window doesn't exist yet. | |
3168 | ||
ef253080 GM |
3169 | * xterm.c (x_after_update_window_line): Clear internal border |
3170 | in different circumstances. | |
b116830b | 3171 | |
60ebcfe8 GM |
3172 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
3173 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
3174 | <handa@etl.go.jp>. | |
3175 | ||
73d25f9c EZ |
3176 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
3177 | ||
3178 | * m/ibms390.h: New file. From Adam Thornton | |
3179 | <athornton@sinenomine.net>. | |
3180 | ||
cac1daf0 GM |
3181 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
3182 | ||
053b3256 | 3183 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 3184 | |
cac1daf0 GM |
3185 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
3186 | a loop counter. | |
3187 | ||
7b403e01 | 3188 | 2001-10-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
13b1a09c | 3189 | |
186486eb PJ |
3190 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
3191 | ||
4707d2d0 PJ |
3192 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
3193 | keyword]. | |
3194 | Fix typos in comments. | |
b116830b | 3195 | |
d883731c PJ |
3196 | * emacs.c (bug_reporting_address): New function. |
3197 | Use it when displaying usage message. | |
3198 | ||
04012254 PJ |
3199 | * minibuf.c (read_minibuf): Remove unused external declaration of |
3200 | variable `Qread_only'. | |
3201 | ||
13b1a09c PJ |
3202 | * keymap.c (access_keymap): Remove unused variable `charset'. |
3203 | ||
5bbf4378 MB |
3204 | 2001-10-28 Miles Bader <miles@gnu.org> |
3205 | ||
3206 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
3207 | Remove #ifdef'd-out code. | |
3208 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
3209 | (syms_of_xfaces): Initialize them. | |
3210 | ||
1ce1e4ee JR |
3211 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
3212 | ||
3213 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
3214 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
3215 | position using the system caret. | |
3216 | ||
3217 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
3218 | (w32_system_caret_height, w32_system_caret_x) | |
3219 | (w32_system_caret_y): New variables for tracking system caret. | |
3220 | (w32_initialize): Initialize them. | |
c2d53558 | 3221 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 3222 | |
c2d53558 SM |
3223 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
3224 | New messages types. | |
1ce1e4ee JR |
3225 | |
3226 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
3227 | ||
7b403e01 | 3228 | 2001-10-27 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 3229 | |
bb4600a4 PJ |
3230 | * xterm.c: Fix typo in a comment. |
3231 | ||
7db35a48 PJ |
3232 | * emacs.c: Fix typos in comments. |
3233 | Remove unnecessary spaces. | |
3234 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
3235 | (USAGE2): Fix typos in usage string. | |
3236 | ||
a7248e4f PJ |
3237 | * xterm.c: Fix typo in a comment. |
3238 | ||
4e30ce42 PJ |
3239 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
3240 | emacs.c. | |
3241 | ||
62725a92 GM |
3242 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
3243 | ||
798dbe1f | 3244 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 3245 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
3246 | farther backward when target_y was not reached. |
3247 | ||
62725a92 GM |
3248 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
3249 | Display errno only if non-zero. | |
3250 | (sound_warning): New function. | |
3251 | (vox_configure): Don't treat failing to set sample rate as error. | |
3252 | (various places): Improve error messages. | |
3253 | ||
d4e34d24 EZ |
3254 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
3255 | ||
944e6f60 EZ |
3256 | * fileio.c (Faccess_file): Run the argument filename through |
3257 | Fexpand_file_name, before using it. | |
3258 | ||
d4e34d24 EZ |
3259 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
3260 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
3261 | ||
38d2af0c GM |
3262 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
3263 | ||
da80a8d5 GM |
3264 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
3265 | ||
38d2af0c GM |
3266 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
3267 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 3268 | |
56f508dd EZ |
3269 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
3270 | ||
3271 | * w32gui.h (XImage): Add a dummy typedef. | |
3272 | ||
fbd5ceb2 GM |
3273 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
3274 | ||
c2d53558 | 3275 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 3276 | |
b23236fb EZ |
3277 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
3278 | ||
3279 | * frame.c (Fframe_parameter): Fix last change. | |
3280 | ||
5d991fc4 EZ |
3281 | * fileio.c: Revert last change (which removed old commented-out |
3282 | version of expand-file-name). Add a comment that explains why | |
3283 | this old version should not be removed. | |
3284 | ||
879eadc3 GM |
3285 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
3286 | ||
75700ff2 GM |
3287 | * frame.c (Fframe_parameter): Fix a bug whereby some |
3288 | ``artificial'' frame parameters, like `minibuffer' were not | |
3289 | obtained by calling Fframe_parameters. | |
3290 | ||
dfe92a6a GM |
3291 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
3292 | cursor differently. | |
3293 | ||
879eadc3 GM |
3294 | * xdisp.c (move_it_vertically_backward): Compute line height |
3295 | differently. Add heuristic to try to be more compatible to 20.x. | |
3296 | ||
e1010ebe SM |
3297 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
3298 | ||
d73a471b SM |
3299 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
3300 | ||
d6da5a06 GM |
3301 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
3302 | boolean. | |
e1010ebe | 3303 | |
f66bd220 MB |
3304 | 2001-10-25 Miles Bader <miles@gnu.org> |
3305 | ||
3306 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
3307 | BG is a pointer to a structure, not a structure. | |
3308 | (gif_format, png_format): Add missing commas. | |
3309 | ||
d436d538 RS |
3310 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
3311 | ||
3312 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 3313 | (syms_of_xfaces): Defsubr it. |
d436d538 | 3314 | |
7b403e01 | 3315 | 2001-10-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
3316 | |
3317 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
3318 | variable `area'. | |
3319 | ||
7b403e01 | 3320 | 2001-10-25 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
d492b584 | 3321 | |
c2d53558 | 3322 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 3323 | |
e2a57b34 MB |
3324 | 2001-10-25 Miles Bader <miles@gnu.org> |
3325 | ||
3326 | * dispextern.h (struct image): Add `background', | |
3327 | `background_valid', and `background_transparent' fields. | |
3328 | (image_background, image_background_transparent): New declarations. | |
3329 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
3330 | * xfns.c (image_background, image_background_transparent) | |
3331 | (four_corners_best): New functions. | |
c2d53558 | 3332 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
3333 | (gs_format): Add `:background' entry. |
3334 | (lookup_image): Set IMG's background color if specified. | |
3335 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
3336 | when appropriate. | |
3337 | (x_clear_image_1): Reset `background_valid' and | |
3338 | `background_transparent_valid' fields. | |
3339 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
3340 | calculating it here. Set IMG's background_transparent field. | |
3341 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
3342 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
3343 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
3344 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
3345 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
3346 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 3347 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
3348 | Pre-calculate image background color where necessary. |
3349 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
3350 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
3351 | color to use for image glyph reliefs. | |
3352 | ||
b547b6e8 GM |
3353 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
3354 | ||
d9e3b8c6 GM |
3355 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
3356 | in full-width rows. | |
c2d53558 | 3357 | |
b547b6e8 GM |
3358 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
3359 | Fix clearing of area not covered by scroll bar. | |
3360 | ||
7b403e01 | 3361 | 2001-10-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
2beb36f9 PJ |
3362 | |
3363 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' | |
3364 | and `real_start'. | |
c2d53558 | 3365 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
3366 | (glyph_rect): Remove unused variable `area'. |
3367 | ||
76cb5e06 GM |
3368 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
3369 | ||
bdbdebff | 3370 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
3371 | |
3372 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
3373 | (row_containing_pos): Take additional argument DY. | |
3374 | Treat rows ending in middle of char differently. | |
62e33982 GM |
3375 | (display_line): Handle tabs on window systems differently. |
3376 | ||
3377 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
3378 | with additional argument. | |
3379 | ||
3380 | * dispextern.h (row_containing_pos): Adjust prototype. | |
3381 | ||
76cb5e06 GM |
3382 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
3383 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
3384 | (try_window_id, try_window_reusing_current_matrix) | |
3385 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
3386 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. | |
3387 | ||
7b403e01 | 3388 | 2001-10-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
996fee11 | 3389 | |
c9e60620 PJ |
3390 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
3391 | gnuemacs). | |
3392 | (HAVE_BOXES): Fix typo in comment. | |
3393 | (push_menu_pane): Fix typo in comment. | |
3394 | ||
3b552d56 PJ |
3395 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
3396 | of `Qwhen'. | |
3397 | (single_display_prop_string_p): Remove unused local declarations | |
3398 | of `Qwhen' and `Qmargin'. | |
3399 | (string_buffer_position): Remove unused variable `around'. | |
3400 | (store_frame_title): Remove unused variable `width'. | |
3401 | ||
15c565ac PJ |
3402 | * window.c: Don't define max. |
3403 | (coordinates_in_window): Remove unused variable `uy'. | |
3404 | ||
a8818eb9 PJ |
3405 | * widget.c: Don't define max. |
3406 | ||
996fee11 PJ |
3407 | * process.c: Don't define max. |
3408 | (create_process): Remove unused variable `buffer'. | |
3409 | ||
496e1a5b GM |
3410 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3411 | ||
c2d53558 | 3412 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 3413 | |
5905ae8b EZ |
3414 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
3415 | ||
3416 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
3417 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
3418 | frame is on a windowed display. | |
3419 | ||
24db49fb GM |
3420 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3421 | ||
c2d53558 SM |
3422 | * dispnew.c (sync_window_with_frame_matrix_rows): |
3423 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
3424 | of marginal areas. |
3425 | ||
c2d53558 | 3426 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 3427 | |
f0487f05 EZ |
3428 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
3429 | ||
3430 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
3431 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
3432 | ||
f0a48a01 GM |
3433 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3434 | ||
c2d53558 | 3435 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
3436 | REAL_END. Notice if cursor gets overwritten. |
3437 | (notice_overwritten_cursor): Take X positions as parameters. | |
3438 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
3439 | around call to x_draw_glyphs. | |
3440 | ||
7b403e01 | 3441 | 2001-10-23 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 3442 | |
fc11dff0 PJ |
3443 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
3444 | instead of C) and usage. | |
a50a10a0 | 3445 | |
fc11dff0 PJ |
3446 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
3447 | of C) and usage. | |
a50a10a0 PJ |
3448 | |
3449 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
3450 | `left', `max_width' and `max_height'. | |
3451 | ||
8738febd GM |
3452 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3453 | ||
3454 | * xdisp.c (display_line): For a tab continued to the next line, | |
3455 | set row's ends_in_middle_of_char_p. | |
3456 | ||
653c329b GM |
3457 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
3458 | ||
3459 | * xdisp.c (display_line): Fix computation of continuation lines | |
3460 | width for TABs. | |
3461 | ||
7b403e01 | 3462 | 2001-10-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
f958c5ac | 3463 | |
7ba51063 PJ |
3464 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
3465 | `Qlaplace'. | |
3466 | ||
f958c5ac PJ |
3467 | * fileio.c: Remove unused code. |
3468 | ||
eb360291 MB |
3469 | 2001-10-22 Miles Bader <miles@gnu.org> |
3470 | ||
3471 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
3472 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
3473 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
3474 | ||
98515cf0 JR |
3475 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
3476 | ||
3477 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
3478 | ||
93026d88 EZ |
3479 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
3480 | ||
3481 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
3482 | (Finsert_string): Avoid the multi-line string literals warning. | |
3483 | ||
c9a95b79 MB |
3484 | 2001-10-22 Miles Bader <miles@gnu.org> |
3485 | ||
3486 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
3487 | (Fdocumentation): Don't use it. | |
3488 | (syms_of_doc): Don't initialize it. | |
3489 | ||
3490 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
3491 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
3492 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 3493 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 3494 | (Fsave_restriction): Likewise. |
c2d53558 SM |
3495 | * eval.c (Frun_hooks, Frun_hook_with_args) |
3496 | (Frun_hook_with_args_until_failure) | |
3497 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
3498 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
3499 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
3500 | (Funwind_protect, Fcondition_case): Likewise. |
3501 | * coding.c (Ffind_operation_coding_system): Likewise. | |
3502 | * keyboard.c (Ftrack_mouse): Likewise. | |
3503 | ||
a3b10252 MB |
3504 | 2001-10-21 Miles Bader <miles@gnu.org> |
3505 | ||
c2d53558 | 3506 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
3507 | (Fmake_hash_table): Add usage: string to doc string. |
3508 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 3509 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
3510 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
3511 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
3512 | (Fml_prefix_argument_loop): Likewise. | |
3513 | ||
7b403e01 | 3514 | 2001-10-21 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
c6f73eec | 3515 | |
c2d53558 | 3516 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 3517 | |
c6f73eec PJ |
3518 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
3519 | style' [w/`doc:' keyword]. | |
3520 | ||
3521 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
3522 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
3523 | comments to `new style' [w/`doc:' keyword]. | |
3524 | ||
3cf3436e JR |
3525 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
3526 | ||
3527 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
3528 | ||
c169b8f1 JR |
3529 | * w32term.c (remember_mouse_glyph): New function. |
3530 | (w32_mouse_position): Use it. | |
3531 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
3532 | its new position. | |
c2d53558 | 3533 | |
4fdd691b JR |
3534 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
3535 | (w32_display_info): Add mouse_face_overlay. | |
3536 | ||
c169b8f1 JR |
3537 | * w32term.c (notice_overwritten_cursor): Renamed from |
3538 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
3539 | account. | |
3540 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
3541 | (fast_find_string_pos): New function. | |
3542 | (fast_find_position): Return the correct vpos. Add parameter | |
3543 | STOP. In the final row, stop before glyphs having STOP as object. | |
3544 | Don't consider glyphs that are not from a buffer. | |
3545 | (fast_find_position) [0]: Add a presumably more correct version | |
3546 | for after 21.1. | |
3547 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
3548 | (expose_window): Do it here instead. | |
3549 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
3550 | overwriting mouse-face. | |
3551 | (expose_window): If W is the window currently being updated, mark | |
3552 | the frame garbaged. | |
3553 | (expose_frame): If mouse-face was overwritten, redo it. | |
3554 | (x_use_underline_position_properties): New variable. | |
3555 | (syms_of_xterm): DEFVAR_BOOL it. | |
3556 | (x_draw_glyph_string): Add comment to use it in future. | |
3557 | (x_draw_glyph_string): Restore clipping after drawing box. | |
3558 | Fix a computation of the underline position. | |
3559 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
3560 | (x_fill_stretch_glyph_string): Remove an assertion. | |
3561 | (x_produce_glyphs): Don't convert multibyte characters | |
3562 | to unibyte characters in unibyte buffers. | |
3563 | (cursor_in_mouse_face_p): New function. | |
3564 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
3565 | when drawing a cursor within highlighted text. Don't draw | |
3566 | background again if it has already been drawn. | |
3567 | (x_draw_glyph_string_box): Don't draw a full-width | |
3568 | box just because the glyph row's full_width_p flag is set. | |
3569 | (x_draw_glyphs): Fix computation of rightmost x for | |
3570 | full-width rows. | |
3571 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
3572 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
3573 | change bottom shadow accordingly. Some cleanup. | |
3574 | (x_update_window_end): Handle overwritten mouse face | |
3575 | also for tool bar windows. | |
3576 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
3577 | DRAW is DRAW_IMAGE_RAISED. | |
3578 | (clear_mouse_face): Return 1 if text with mouse face was | |
3579 | actually redrawn. Make the function static. Reset | |
3580 | dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
3581 | optimize away highlighting if we pass over that same overlay again. | |
3582 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
3583 | to detect a case where we have to highlight a different region | |
3584 | despite not having left the currently highlighted region. | |
3585 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
3586 | mouse pointer shape when show_mouse_face has already done it, or | |
3587 | there is no need. Handle mouse-face and help-echo in strings. | |
3588 | (glyph_rect): New function. | |
3589 | (w32_mouse_position): Use it to raise the threshold for mouse | |
3590 | movement event generation. | |
3591 | (w32_initialize_display_info): Initialize the x_display_info's | |
3592 | mouse_face_overlay. | |
3593 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
3594 | or width area. | |
3595 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
3596 | a widget to zero height. | |
3597 | ||
3cf3436e | 3598 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 3599 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
3600 | equivalents in menu_items. |
3601 | (w32_menu_show): Don't overwrite an item's name with its key | |
3602 | description in case the description is a multibyte string. | |
3603 | (single_submenu): Some cleanup. | |
3604 | ||
3605 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
3606 | (postprocess_image): New function. | |
3607 | (lookup_image): Call it for all image types except PostScript. | |
3608 | (x_kill_gs_process): Call postprocess_image. | |
3609 | (tiff_error_handler, tiff_warning_handler): New functions. | |
3610 | (tiff_load): Install them as handlers. | |
3611 | (x_kill_gs_process): Recognize if someone has cleared the image | |
3612 | cache under us. | |
3613 | (valid_image_p): Protect better against invalid image | |
3614 | specifications. Previous code could signal an error. | |
3615 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
3616 | (Fv_max_tooltip_size): New variable. | |
3617 | (syns_of_xfns): DEFVAR_LISP it. | |
3618 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
3619 | window buffer to *tip* right after creating the frame. Set frame's | |
3620 | window_width. Use a maximum tooltip size specified by | |
3621 | Vx_max_tooltip_size, if that has valid contents. | |
3622 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
3623 | Make sure the tooltip is completely visible. | |
3624 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
3625 | (Fx_create_frame): Adjust the frame's height for presence | |
3626 | of the tool bar before calling x_figure_window_size. | |
3627 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
3628 | when the window gets smaller. | |
3629 | (x_set_foreground_color): Set frame's cursor_pixel. | |
3630 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
3631 | (x_set_font): Handle case of x_new_fontset returning the same name | |
3632 | as before, although there was a change in fontsets. | |
3633 | ||
386ca361 MB |
3634 | 2001-10-21 Miles Bader <miles@gnu.org> |
3635 | ||
c2d53558 | 3636 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
3637 | (Flogxor): Add usage: string to doc string. |
3638 | * charset.c (Fstring): Likewise. | |
3639 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
3640 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
3641 | ||
7b403e01 | 3642 | 2001-10-21 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 3643 | |
03be2694 PJ |
3644 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
3645 | ||
3646 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
3647 | ||
3648 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
3649 | ||
14ff1ee0 PJ |
3650 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
3651 | keyword]. | |
3652 | ||
2f147815 | 3653 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
3654 | |
3655 | ;; Local Variables: | |
49b3bd82 | 3656 | ;; coding: iso-2022-7bit |
6922b018 | 3657 | ;; End: |
2a34a036 | 3658 | |
2f147815 | 3659 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
3660 | Copying and distribution of this file, with or without modification, |
3661 | are permitted provided the copyright notice and this notice are preserved. |