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