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