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