Commit | Line | Data |
---|---|---|
53b37591 JB |
1 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
2 | ||
3 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
4 | when including gif_lib.h. | |
fe929957 JB |
5 | (init_gif_functions, init_tiff_functions): New functions. |
6 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for | |
7 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 8 | through pointers determined at runtime. |
fe929957 JB |
9 | (init_external_image_libraries): Try to load libungif.dll and |
10 | libtiff.dll. | |
53b37591 | 11 | |
45415a8f KH |
12 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
13 | ||
14 | * xdisp.c (SKIP_GLYPHS): New macro. | |
15 | (set_cursor_from_row): Skip all glyphs that comes from overlay | |
16 | string. | |
17 | ||
a97e4138 JD |
18 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19 | ||
20 | * gtkutil.c (free_frame_tool_bar): Removed debug printf. | |
21 | ||
6eed9bed DL |
22 | 2003-01-30 Dave Love <fx@gnu.org> |
23 | ||
24 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
25 | (Fgarbage_collect): Use them. | |
26 | (init_alloc, syms_of_alloc): Set them up. | |
27 | ||
100dcd40 JB |
28 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
29 | ||
30 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
31 | ||
fbd852af JR |
32 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
33 | ||
34 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
35 | an alternative name for jpeg.dll. | |
36 | ||
8a2d8020 KH |
37 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
38 | ||
39 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
40 | properties. | |
41 | ||
058c18c7 AC |
42 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
43 | ||
44 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
45 | <escape>. | |
46 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
47 | (XTread_socket): Drop special case for backspace. | |
48 | ||
385f11cf AC |
49 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
50 | ||
51 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
52 | values in old-style RGB specs. | |
53 | ||
c922a224 JB |
54 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
55 | ||
56 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
57 | jpeg dll. | |
58 | ||
0a1d6de0 JD |
59 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
60 | ||
61 | * gtkutil.c (create_dialog, xg_separator_p) | |
62 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
63 | before calling strcmp or strlen. | |
64 | ||
a97e4138 | 65 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
66 | |
67 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
68 | and handle image load failure. | |
69 | ||
28908312 JR |
70 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
71 | ||
72 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
73 | New functions. | |
74 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. | |
75 | Disable color table lookups. Call jpeg library functions | |
76 | through pointers determined at runtime. | |
77 | (init_external_image_libraries): Try to load jpeg.dll. | |
78 | ||
84e47416 RS |
79 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
80 | ||
81 | * lisp.h: Declare format2 instead of format1. | |
82 | ||
83 | * fileio.c (barf_or_query_if_file_exists): | |
84 | Call format2 instead of format1. | |
85 | ||
86 | * editfns.c (format2): New function, replaces format1 | |
87 | but takes exactly two Lisp Objects as format args. | |
88 | ||
89 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
90 | ||
a97e4138 | 91 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
92 | |
93 | * xterm.h: Change to return value of x_dispatch_event to int. | |
94 | ||
95 | * xterm.c (x_filter_event): New function. | |
96 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
97 | (x_dispatch_event): Change to return value of finish. | |
98 | (event_handler_gdk): Use return value from x_dispatch_event. | |
99 | ||
100 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
101 | initialize input methods. | |
102 | ||
103 | * gtkutil.h: Add (void) prototypes. | |
104 | ||
105 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
106 | the right. | |
107 | ||
54eefef1 JR |
108 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
109 | ||
110 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
111 | [HAVE_PNG]: Sync with xfns.c version. | |
112 | (png_load): Adjust colors for Windows. Use Windows | |
113 | bitmaps. Disable color table lookups. | |
c262430d JR |
114 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
115 | (init_png_functions): New function. | |
116 | (png_read_from_memory, png_load): Call png library functions | |
117 | through pointers determined at runtime. | |
118 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
119 | (init_external_image_libraries): New function. | |
120 | (init_xfns): Call it. | |
54eefef1 | 121 | |
1a9e275b AS |
122 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
123 | ||
124 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
125 | ||
a97e4138 | 126 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
127 | |
128 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
129 | of static initializer. | |
130 | ||
422eec7e DL |
131 | 2003-01-24 Dave Love <fx@gnu.org> |
132 | ||
133 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
134 | architectures. | |
135 | ||
136 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
137 | Use __alignof__. | |
138 | ||
2a026b04 KH |
139 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
140 | ||
141 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
142 | It it is nonzero, don't pretend that an invisible area doesn't | |
143 | exist. | |
144 | (command_loop_1): Call adjust_point_for_property with proper | |
145 | second arg. | |
146 | ||
a18bb28d JR |
147 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
148 | ||
149 | Sync changes with xterm.c and xfns.c. | |
150 | ||
151 | * w32term.c (x_draw_glyph_string_foreground) | |
152 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
153 | ||
154 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
155 | phys_cursor's hpos is overwritten. This is still not completely | |
156 | correct, as it doesn't really make sense to use hpos at all to | |
157 | get the cursor glyph (as that is relative to the width of the | |
158 | characters on the line, which may have changed during the update). | |
159 | ||
160 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
161 | of the cursor being in the first blank non-text line at the | |
162 | end of a window. | |
163 | ||
164 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
165 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
166 | Compute from the x position returned by x_draw_glyphs. | |
167 | ||
168 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
169 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
170 | contain what its name suggests. | |
171 | (notice_overwritten_cursor): Consider the cursor image erased if | |
172 | the output area intersects the cursor image in y-direction. | |
173 | ||
174 | * w32term.c (note_mode_line_or_margin_highlight): Renamed from | |
175 | note_mode_line_highlight and extended. | |
176 | ||
177 | * w32term.c (last_window): New variable. | |
178 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
179 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
180 | ||
181 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
182 | not update_mode_lines, and always set it to 1. | |
183 | ||
ac6e47ef JR |
184 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
185 | ||
186 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
187 | ||
188 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
189 | ||
190 | * w32term.h (struct w32_output): New member hand_cursor. | |
191 | (WM_EMACS_SETCURSOR): New message definition. | |
192 | ||
193 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
194 | function w32_define_cursor. | |
195 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
196 | position, change member name output_data.x to output_data.w32 and | |
197 | add function w32_define_cursor. | |
198 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
199 | and change member name output_data.x to output_data.w32. | |
200 | (w32_initialize_display_info): Setup | |
201 | dpyinfo->vertical_scroll_bar_cursor. | |
202 | ||
203 | * w32fns.c (Vx_hand_shape): New variable. | |
204 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
205 | WM_EMACS_SETCURSOR. | |
206 | (x-create-frame): Setup Cursor types. | |
207 | ||
ceb39a17 JB |
208 | 2003-01-21 David Ponce <david@dponce.com> |
209 | ||
ac6e47ef JR |
210 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
211 | ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c | |
212 | x_encode_char change by Kenichi Handa <handa@m17n.org> on | |
ceb39a17 | 213 | 2002-09-30.) |
ac6e47ef JR |
214 | (w32_draw_relief_rect): Declare all args. |
215 | (w32_define_cursor): New. | |
216 | ||
217 | * w32fns.c (w32_load_cursor): New function. | |
218 | (w32_init_class): Use it. | |
219 | (x_put_x_image): Declare all args. | |
220 | ||
46cf0bed JB |
221 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
222 | ||
223 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
224 | ||
a97e4138 | 225 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
226 | |
227 | * gtkutil.c: Must include stdio.h before termhooks.h | |
228 | ||
83fc9c63 DL |
229 | 2003-01-21 Dave Love <fx@gnu.org> |
230 | ||
231 | * alloc.c (Fgc_status): Print zombie list. | |
232 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
233 | Fix assignment of zombies. | |
234 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
235 | Don't take car of non-cons. | |
236 | ||
237 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
238 | ||
239 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
240 | ||
fe04b8c8 JR |
241 | 2003-01-20 David Ponce <david@dponce.com> |
242 | ||
243 | * w32menu.c (digest_single_submenu): Declare all args. | |
244 | ||
245 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
246 | changes in xmenu.c: | |
247 | ||
248 | (parse_single_submenu): Use individual keymap's prompt | |
249 | string as pane name, if there is one. | |
250 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
251 | parse_single_submenu and use it when calling digest_single_submenu. | |
252 | ||
539e69a9 ST |
253 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
254 | ||
255 | * macterm.c (XTread_socket): Checks for valid, visible window | |
256 | before sending a scroll-wheel event. | |
257 | ||
675d000f RS |
258 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
259 | ||
260 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
261 | a minibuffer, then redisplay it like other windows. | |
262 | ||
a97e4138 | 263 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
264 | |
265 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
266 | external tool bar before setting tool bar height. | |
267 | ||
a97e4138 | 268 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
488dd4c4 | 269 | |
1db60b70 JD |
270 | * xterm.c (handle_one_xevent): Surround popup_activated |
271 | with #ifdef:s for non-toolkit version. | |
272 | ||
488dd4c4 JD |
273 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK |
274 | (gtkutil.o): New file. | |
275 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
276 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
277 | ||
278 | * gtkutil.c: New file for GTK version. | |
279 | ||
280 | * gtkutil.h: New file for GTK version. | |
281 | ||
282 | * xterm.h: Add xt_or_gtk_widget. | |
283 | Include gtk files for USE_GTK. | |
284 | (struct x_output): Add toolbar_height. | |
285 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
286 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
287 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
288 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
289 | ||
290 | * xterm.c: Include gtkutil.h for USE_GTK. | |
291 | Declare extern void free_frame_menubar for USE_GTK. | |
292 | (note_mouse_highlight): Check popup_activated for USE_GTK. | |
293 | (xt_action_hook): Don't compile if USE_GTK. | |
294 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
295 | (xg_scroll_callback): New function. | |
296 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
297 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
298 | for USE_GTK. | |
299 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
300 | xg_show_scroll_bar for USE_GTK. | |
301 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
302 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
303 | (event_handler_gdk): New function for USE_GTK. | |
304 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
305 | (handle_one_xevent): Make sure widget is mapped before | |
306 | calling x_real_positions for USE_GTK. | |
307 | (XTread_socket): Add GTK event loop for USE_GTK. | |
308 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
309 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
310 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
311 | (x_iconify_frame): Add code for USE_GTK. | |
312 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
313 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
314 | is in gtkutil.c. | |
315 | (x_term_init): Add initialization for GTK. | |
316 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
317 | ||
318 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
319 | (Fx_popup_menu): Use current position if x and y is NIL. | |
320 | (single_menu_item, single_menu_item, Fx_popup_dialog): Check | |
321 | for USE_GTK. | |
322 | (popup_widget_loop): New function for USE_GTK. | |
323 | (x_activate_menubar): Add code for USE_GTK. | |
324 | (popup_activate_callback, popup_deactivate_callback) | |
325 | (menu_highlight_callback, menubar_selection_callback): USE_GTK versions | |
326 | added. | |
327 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. | |
328 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
329 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
330 | is in gtkutil.c. | |
331 | (popup_selection_callback): New version for USE_GTK. | |
332 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
333 | one USE_X_TOOLKIT version. | |
334 | (xmenu_show): Call create_and_show_popup_menu. | |
335 | (dialog_selection_callback): New version for USE_GTK. | |
336 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
337 | one USE_X_TOOLKIT version. | |
338 | (xdialog_show): Call create_and_show_dialog. | |
339 | ||
340 | * xfns.c: Include gtkutil for USE_GTK. | |
341 | (x_window_to_frame, x_any_window_to_frame) | |
342 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
343 | (x_top_window_to_frame): Add code for USE_GTK. | |
344 | (x_set_background_color): Call xg_set_background_color for GTK. | |
345 | (x_set_menu_bar_lines): Check for USE_GTK. | |
346 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
347 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
348 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
349 | (Fx_create_frame): Check for USE_GTK | |
350 | (Fx_file_dialog): New implementation for USE_GTK. | |
488dd4c4 JD |
351 | |
352 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
353 | (update_menu_bar): Add check for USE_GTK. | |
354 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
355 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
356 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
357 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
358 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
359 | (display_menu_bar): Add check for USE_GTK | |
360 | ||
361 | * lisp.h: Declare Vx_resource_name extern. | |
362 | ||
363 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT | |
364 | for USE_GTK. | |
365 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
366 | ||
367 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
368 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
369 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
370 | ||
371 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
372 | ||
373 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): Add | |
374 | check for USE_GTK. | |
375 | ||
376 | * config.in: Added HAVE_GTK | |
377 | ||
378 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
379 | ||
35d0e4fa SM |
380 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> |
381 | ||
382 | * charset.h (Funibyte_char_to_multibyte): Export. | |
383 | ||
a97e4138 | 384 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bc82cdfe JD |
385 | |
386 | * xmenu.c (mouse_position_for_popup): New function. | |
387 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
388 | mouse_position_hook for others. | |
389 | ||
c8e88f8d KS |
390 | 2003-01-17 Kim F. Storm <storm@cua.dk> |
391 | ||
392 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
393 | `string-as-multibyte' in doc string. | |
394 | ||
1255b58a KH |
395 | 2003-01-17 Kenichi Handa <handa@m17n.org> |
396 | ||
3c02a6f5 KH |
397 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. |
398 | ||
1255b58a KH |
399 | * editfns.c (Fformat): Convert an unibyte char argument that is |
400 | formatted by "%c" to multibyte if the total result must be a | |
401 | multibyte string. | |
402 | ||
cd7df9c0 KS |
403 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
404 | ||
405 | * process.c (set-process-filter): Document unibyte/multibyte-ness | |
406 | of string argument. | |
407 | ||
56210ecd KH |
408 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
409 | ||
410 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. | |
411 | ||
412 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. | |
413 | (re_search_2): Likewise. | |
414 | ||
6df8b9fe KH |
415 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
416 | ||
417 | * xdisp.c (message_dolog): Fix bug of the case that *Message* | |
418 | buffer is unibyte. | |
419 | ||
292ddc31 FP |
420 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
421 | ||
422 | * fns.c (Fsubstring): Clarify doc string. | |
423 | ||
424 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) | |
425 | (Fprevious_char_property_change) | |
426 | (Fnext_single_char_property_change) | |
427 | (Fprevious_single_char_property_change, Fnext_property_change) | |
428 | (Fnext_single_property_change, Fprevious_property_change) | |
429 | (Fprevious_single_property_change, Fadd_text_properties) | |
430 | (Fput_text_property, Fset_text_properties) | |
431 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
432 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
433 | ||
63e4e4c6 KS |
434 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
435 | ||
436 | * process.h (struct Lisp_Process): New member plist replaces old | |
437 | member private_vars. All uses changed. | |
438 | ||
439 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! | |
440 | (QCplist): Renamed from QCvars. All uses changed. | |
441 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. | |
442 | (Fset_process_plist): Replaces Fset_process_variable. Simplified. | |
443 | (syms_of_process): Intern, staticpro, defsubr these. | |
444 | (Fmake_network_process): Describe :plist arg. Removed :vars arg. | |
445 | ||
7ed16567 FP |
446 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
447 | ||
448 | * m/delta.h: Removed (obsolete). | |
449 | ||
e833850f FP |
450 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
451 | ||
452 | * fileio.c (Fdelete_directory, Fdelete_file): Document the | |
453 | behaviour in front of symlinks. | |
454 | (Fdelete_file): Raise an error on directories. | |
455 | ||
817cb127 DL |
456 | 2003-01-13 Dave Love <fx@gnu.org> |
457 | ||
458 | * fns.c (Freverse): Use QUIT. | |
459 | ||
3e8cf2ea RS |
460 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
461 | ||
e833850f | 462 | * minibuf.c (minibuffer_completion_contents): |
3e8cf2ea RS |
463 | Error if point is inside prompt. |
464 | ||
465 | * keyboard.c (command_loop_1): Don't redisplay directly | |
466 | if there's a post-command-hook. | |
467 | ||
468 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. | |
469 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
470 | ||
2c10f029 KS |
471 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
472 | ||
94e8ffca KS |
473 | * process.h (struct Lisp_Process): New member private_vars. |
474 | ||
63e4e4c6 | 475 | * process.c (QCvars): New variable. |
94e8ffca | 476 | (syms_of_process): Intern and staticpro it. |
afd250cb | 477 | (Fset_process_contact): Removed function. |
94e8ffca KS |
478 | (Fprocess_variable, Fset_process_variable): New functions. |
479 | (syms_of_process): Defsubr them. | |
480 | (Fstart_process): Initialize private_vars plist to nil. | |
481 | (Fmake_network_process): New arg :vars to setup the private | |
482 | variables for new network process. | |
483 | (server_accept_connection): Copy server's private variables to | |
484 | client process. | |
485 | ||
44117420 KS |
486 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
487 | crashes). Code rewritten and simplified. Now directly aligns the | |
488 | pointer and recalculates pure_bytes_used, rather than aligning the | |
489 | size and adjusting the pointer. | |
2c10f029 | 490 | |
b8a76c6c KS |
491 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
492 | ||
493 | * process.c (Fset_process_contact): New function. | |
494 | (syms_of_process): defsubr it. | |
495 | (make-network-process): Update doc. | |
496 | ||
3a8d0899 AS |
497 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
498 | ||
499 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. | |
500 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
501 | ||
4abc7470 DL |
502 | 2003-01-10 Dave Love <fx@gnu.org> |
503 | ||
35d0e4fa | 504 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
4abc7470 | 505 | |
b809d662 KS |
506 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
507 | ||
508 | * process.c (Fmake_network_process): Convert new port number | |
509 | to host byte order for `:service t' case. From Mario Lang. | |
510 | ||
a97e4138 | 511 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 JD |
512 | |
513 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event | |
514 | instead of XtAppProcessEvent. | |
515 | ||
35d0e4fa SM |
516 | * xterm.c (handle_one_xevent): New function. |
517 | (x_dispatch_event): New function. | |
bf338245 JD |
518 | (XTread_socket): Call handle_one_xevent. |
519 | ||
35d0e4fa | 520 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
bf338245 JD |
521 | |
522 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, | |
523 | call XQueryPointer to get coordinates. | |
524 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
525 | let popup_deactivate_callback do that. Needed for Motif. | |
526 | Call x_dispatch_event instead of XtDispatchEvent. | |
527 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
e833850f | 528 | |
c4af2bce KS |
529 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
530 | ||
531 | * process.c (server_accept_connection): Fixed recording of new | |
532 | connection's local address in :local property of contact info. | |
533 | (Fmake_network_process): Record local network address for new | |
534 | client processes in :local property of contact info. | |
06e022f6 | 535 | (format-network-address): Added arg OMIT-PORT. Callers changed. |
c4af2bce | 536 | |
00e3ab56 DL |
537 | 2003-01-07 Dave Love <fx@gnu.org> |
538 | ||
539 | * Makefile.in (fns.o): Depend on coding.h. | |
540 | ||
f387e1fd MR |
541 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
542 | ||
543 | * minibuf.c (Fread_variable): Doc fix. | |
544 | ||
545 | * eval.c (Fuser_variable_p): Doc change. For custom variables, | |
546 | use the same test as for custom-variable-p. | |
547 | ||
8c6d74c6 RS |
548 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
549 | ||
550 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. | |
551 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
552 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
553 | Set LAST_LINE_MISFIT before jumping there. | |
e833850f | 554 | |
8c6d74c6 RS |
555 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
556 | scroll_conservatively case. If scrolling that much doesn't change | |
557 | STARTP, move it down one line. | |
558 | ||
35d0e4fa SM |
559 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
560 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
e833850f | 561 | |
35d0e4fa SM |
562 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
563 | selected frame. | |
8c6d74c6 RS |
564 | |
565 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. | |
566 | (syms_of_keymap): staticpro them. | |
567 | (Fapropos_internal): Initialize them and clear them out. | |
568 | Don't GCPRO them. | |
569 | ||
570 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: | |
571 | Doc fixes. | |
572 | ||
573 | * lisp.h: New misc type Lisp_Save_Value. | |
574 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
575 | (XSAVE_VALUE): New macro. | |
576 | (struct Lisp_Save_Value): New data type. | |
577 | (union Lisp_Misc): Add u_save_value alternative. | |
578 | (make_save_value): Declared. | |
579 | ||
580 | * alloc.c (make_save_value): New function. | |
581 | ||
582 | * xterm.c (x_catch_errors): Save dpy using make_save_value. | |
583 | (x_catch_errors_unwind): Call XSync. | |
584 | ||
585 | 2003-01-01 Richard M. Stallman <rms@gnu.org> | |
586 | ||
587 | * window.c (window_scroll_pixel_based): Partially undo last change. | |
588 | ||
589 | * keyboard.c (command_loop_1): Call adjust_point_for_property | |
590 | in direct action cases for Qforward_char and Qbackward_char. | |
591 | Set already_adjusted so it won't be done twice. | |
592 | ||
593 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) | |
594 | ||
595 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in | |
596 | type definition of size_t. | |
597 | ||
8c609cff ST |
598 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
599 | ||
600 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to | |
601 | distinguish Carbon GUI builds from X11 builds on darwin. | |
602 | ||
b37113a1 ST |
603 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
604 | ||
e833850f | 605 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
b37113a1 ST |
606 | to default to t. |
607 | ||
fa634a5e FP |
608 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
609 | ||
610 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. | |
611 | ||
ce0669d4 ST |
612 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
613 | ||
fa634a5e FP |
614 | * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to |
615 | allow building in a different directory than source. Uses some | |
ce0669d4 ST |
616 | GNU Make extensions, but there is no other make on Mac OS X. |
617 | ||
2308af15 FP |
618 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
619 | ||
620 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) | |
621 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
35d0e4fa SM |
622 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) |
623 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2308af15 | 624 | |
2155ecf3 RS |
625 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
626 | ||
627 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> | |
628 | <scroll-down-aggressively>: Doc fix. | |
629 | ||
630 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt | |
631 | string as pane name, if there is one. | |
632 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
633 | parse_single_submenu and use it when calling digest_single_submenu. | |
634 | ||
635 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. | |
636 | Don't try to make last line fully visible if it is past end of window. | |
637 | ||
61f1d295 ST |
638 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
639 | ||
35d0e4fa SM |
640 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
641 | (mac_menu_show): Add support for hierarchical popup menus. | |
642 | (add_menu_item): Remove indentation support. | |
643 | (fill_submenu, fill_menu): Create hierarchical menus | |
644 | instead of using indentation. | |
61f1d295 | 645 | |
0b17a217 RS |
646 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
647 | ||
648 | * xdisp.c (try_cursor_movement): Don't call try_window here. | |
649 | (redisplay_window): Never redisplay minibuffer when inactive. | |
650 | ||
651 | * window.c (select_window_1): Undo 9/21 change. | |
652 | ||
402e4f8b ST |
653 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
654 | ||
655 | * macterm.c (XTread_socket): Call KeyTranslate for control and | |
656 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
657 | being treated like C-%. Does not look for shift key to deal | |
658 | with masking off control-key with mac-reverse-ctrl-meta. | |
659 | ||
f02cac82 RS |
660 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
661 | ||
662 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. | |
663 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
664 | the events that were read ahead. | |
665 | (popup_get_selection_unwind): New subroutine. | |
666 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
667 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
668 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
669 | Use an unwind-protect to pop down the dialog box. | |
670 | (xdialog_show_unwind): New subroutine implements that. | |
671 | ||
672 | * xdisp.c (row_containing_pos): Change exit test using last_y. | |
673 | (try_window_id): Abort if row_containing_pos returns null. | |
674 | ||
675 | * lread.c (load_error_handler): New function. | |
676 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
677 | Don't expect Fsignal to return. | |
678 | ||
88c71720 KS |
679 | * eval.c: Errors and throws work right with interrupt blocking. |
680 | (struct catchtag): New elt interrupt_input_blocked. | |
f02cac82 | 681 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. |
2308af15 | 682 | (internal_catch, Fcondition_case, internal_condition_case) |
f02cac82 RS |
683 | (internal_condition_case_1, internal_condition_case_2): Save it. |
684 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
685 | ||
686 | * editfns.c (Fformat): Add parens. | |
687 | ||
688 | * dired.c (file_name_completion): Fix that change. | |
689 | Delete special quit-handling code; just use QUIT. | |
690 | ||
691 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change) | |
692 | ||
693 | * dired.c (file_name_completion): Close directory on error | |
694 | just as in directory_files_internal. | |
695 | ||
1a590729 DK |
696 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
697 | ||
698 | * window.c (Fset_window_configuration): Set old_point to correct | |
699 | value when new_current_buffer == current_buffer. | |
700 | ||
ceb39a17 | 701 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
f02cac82 | 702 | |
88c71720 | 703 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
9785d95b BK |
704 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, |
705 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
2308af15 | 706 | |
9785d95b BK |
707 | These changes were in part based upon suggestions made by Peter |
708 | 'Luna' Runestig [peter@runestig.com]. | |
709 | ||
710 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, | |
711 | g_b_init_get_token_information, g_b_init_lookup_account_sid, | |
712 | g_b_init_get_sid_identifier_authority ): Added several static | |
713 | global variables. | |
714 | ||
715 | * w32.c (globals_of_w32): New function. Used to initialize those | |
716 | global variables that must always be initialized on startup even | |
717 | when the global variable initialized is non zero. Its primary | |
718 | purpose at this time is to set the global variables | |
719 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
720 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
35d0e4fa SM |
721 | g_b_init_get_sid_identifier_authority to 0 on startup. |
722 | Called from main. | |
9785d95b BK |
723 | |
724 | * w32.c (is_windows_9x): Perform initialization only if | |
725 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
726 | g_b_init_is_windows_9x equal to 1. | |
727 | ||
728 | * w32.c (open_process_token): Perform initialization only if | |
729 | g_b_init_open_process_token is equal to 0. On initialization set | |
730 | g_b_init_open_process_token equal to 1. | |
2308af15 | 731 | |
9785d95b BK |
732 | * w32.c (get_token_information): Perform initialization only if |
733 | g_b_init_get_token_information is equal to 0. On initialization | |
734 | set g_b_init_get_token_information equal to 1. | |
2308af15 | 735 | |
9785d95b | 736 | * w32.c (lookup_account_sid): Perform initialization only if |
2308af15 | 737 | g_b_init_lookup_account_sid is equal to 0. On initialization |
9785d95b BK |
738 | set g_b_init_lookup_account_sid equal to 1. |
739 | ||
740 | * w32.c (get_sid_identifier_authority): Perform initialization | |
35d0e4fa SM |
741 | only if g_b_init_get_sid_identifier_authority is equal to 0. |
742 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b BK |
743 | |
744 | * w32fns.c (globals_of_w32fns): New function. Used to initialize | |
745 | those global variables that must always be initialized on startup | |
35d0e4fa SM |
746 | even when the global variable initialized is non zero. |
747 | Its primary purpose at this time is to initialize the global variable | |
9785d95b BK |
748 | track_mouse_event_fn. |
749 | ||
750 | * w32fns.c (w32_wnd_proc): Remove initialization of | |
35d0e4fa | 751 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b BK |
752 | |
753 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. | |
754 | ||
755 | * w32menu.c (globals_of_w32menu): New function. Used to | |
756 | initialize those global variables that must always be initialized | |
757 | on startup even when the global variable initialized is non zero. | |
758 | Its primary purpose at this time is to initialize the global | |
759 | variables get_menu_item_info and set_menu_item_info. | |
760 | ||
761 | * w32menu.c (initialize_frame_menubar): Remove initialization of | |
762 | get_menu_item_info and set_menu_item_info. | |
763 | ||
764 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. | |
765 | ||
766 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): | |
767 | Declare them. | |
768 | ||
769 | * emacs.c (main): Call globals_of_w32 prior to calling | |
770 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
771 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
772 | is defined. | |
773 | ||
774 | * w32term.c (x_update_window_begin): Fix Windows API error | |
775 | detected by BoundsChecker. Test to determine if | |
776 | w32_system_caret_hwnd is NULL prior to attempting to use | |
777 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
778 | ||
779 | * w32term.c (x_update_window_end): Fix Windows API error | |
780 | detected by BoundsChecker. Test to determine if | |
781 | w32_system_caret_hwnd is NULL prior to attempting to use | |
782 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
2308af15 | 783 | |
b6da19ef KH |
784 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
785 | ||
786 | * coding.c (coding_system_require_warning): New variable. | |
787 | (syms_of_coding): DEFVAR it. | |
788 | ||
789 | * coding.h (coding_system_require_warning): Extern it. | |
790 | ||
791 | * fileio.c (choose_write_coding_system): Even if | |
792 | Vcoding_system_for_write is non-nil, if | |
793 | coding_system_require_warning is nonzero, call | |
794 | Vselect_safe_coding_system_function. | |
795 | ||
bfcf6dbe MR |
796 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
797 | ||
798 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. | |
799 | (lisp): Add font-core. | |
800 | ||
2c568af5 SM |
801 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
802 | ||
803 | * textprop.c (text_read_only): New arg `propval'. | |
804 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
805 | (verify_interval_modification): Use text_read_only's new arg. | |
806 | ||
b8c6225c KH |
807 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
808 | ||
809 | * coding.c (Funencodable_char_position): Set pend correctly. | |
810 | ||
706ddb8f JR |
811 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
812 | ||
813 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. | |
814 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
815 | Be more careful about when help_events are generated. | |
816 | ||
96720f09 ST |
817 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
818 | ||
819 | * macterm.c (mac_check_for_quit_char): Correctly set the | |
820 | modifiers of the event to 0. | |
821 | * mac.c (sys_select): Duplicate rfds before calling select to | |
822 | ensure that rfds survive the while loop. | |
823 | ||
e5ae1c49 KS |
824 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
825 | ||
826 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if | |
827 | row_containing_pos returned NULL. | |
828 | ||
2eb46b2d ST |
829 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
830 | ||
831 | * mac.c (sys_read): Fixed sys_read to not call select if IO is | |
2c568af5 | 832 | non-blocking. |
bdce610d ST |
833 | (sys_select): Fixed sys_select to not use a timeout larger than |
834 | the one given. | |
2eb46b2d | 835 | |
b11f1d8a JB |
836 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
837 | ||
838 | * editfns.c (Fformat): Use alloca, not _alloca. | |
839 | ||
d8528226 RS |
840 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
841 | ||
842 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input | |
843 | as the last thing. | |
844 | ||
a4ac5b17 DL |
845 | 2002-12-09 Dave Love <fx@gnu.org> |
846 | ||
88c71720 | 847 | * s/sol2-8.h: Removed. (Not necessary.) |
a4ac5b17 | 848 | |
f02cac82 | 849 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 KG |
850 | |
851 | * editfns.c (Fformat): Handle precision in string conversion | |
852 | specifiers like libc functions do (ie, print at most that many | |
f02cac82 | 853 | characters). |
ac42d7b9 | 854 | |
85cce843 RS |
855 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
856 | ||
857 | * xdisp.c (row_containing_pos): Check more carefully | |
858 | whether charpos is really in the row before returning it. | |
859 | ||
0d4d26a7 ST |
860 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
861 | ||
df4d1023 | 862 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
0d4d26a7 | 863 | |
df4d1023 KS |
864 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
865 | each stack frame. This may change as it could be time consuming. | |
b11f1d8a JB |
866 | |
867 | * macterm.c (mac_check_for_quit_char, quit_char_comp) | |
868 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6c465a15 | 869 | (mac_initialize): Added code to check for pressing of quit_char |
2c568af5 | 870 | in the OS event queue. |
0d4d26a7 ST |
871 | |
872 | * mac.c (sys_select): Call mac_check_for_quit_char every second | |
873 | while blocking on select. | |
b11f1d8a | 874 | |
0d4d26a7 | 875 | * mac.c (sys_read): Use sys_select to test for input first |
f02cac82 | 876 | before calling read, to allow C-g to break. |
0d4d26a7 | 877 | |
9252f7bc RS |
878 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
879 | ||
880 | * minibuf.c (Fcompleting_read): Doc fix. | |
881 | ||
882 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
883 | ||
884 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. | |
885 | ||
886 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an | |
887 | autoload. | |
888 | ||
889 | * data.c (Fdefalias): Record in load-history redefining an autoload. | |
890 | ||
891 | * alloca.c: Undo ifdef change accidentally made on 12-04. | |
892 | ||
bfa261c0 FP |
893 | 2002-12-06 Francesco Potorti` <pot@gnu.org> |
894 | ||
2c568af5 | 895 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
bfa261c0 | 896 | |
c5992177 RS |
897 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
898 | ||
899 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. | |
900 | ||
901 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. | |
902 | ||
903 | * alloca.c: Don't use #error. | |
904 | ||
02d588e2 DL |
905 | 2002-12-03 Dave Love <fx@gnu.org> |
906 | ||
907 | * buffer.c (Qucs_set_table_for_input): New. | |
908 | (Fget_buffer_create): Use it. | |
909 | (Qset_buffer_major_mode_hook): Deleted. | |
910 | (Fset_buffer_major_mode): Revert previous change. | |
911 | (init_buffer_once): Intern ucs-set-table-for-input. | |
2c568af5 SM |
912 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. |
913 | Add &Qucs_set_table_for_input. | |
02d588e2 | 914 | |
451e2697 AS |
915 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
916 | ||
917 | * callint.c (Fcall_interactively): Use next_event only if less | |
918 | than key_count. | |
919 | ||
72742a99 AC |
920 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
921 | ||
922 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item | |
923 | names to 255 characters. | |
924 | ||
925 | * macterm.c (XTread_socket): If all frames have been collapsed, | |
926 | expand the first one before handling drag-and-drop events. | |
927 | ||
928 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, | |
929 | which is detected by autoconf. | |
930 | ||
40e6ff95 ST |
931 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
932 | ||
6c465a15 | 933 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
40e6ff95 ST |
934 | offset in two hints table to allow prebinding to be redone and |
935 | allow the executable to be stripped. | |
936 | ||
c02138c6 DL |
937 | 2002-11-29 Dave Love <fx@gnu.org> |
938 | ||
939 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was | |
940 | already provided. | |
941 | ||
0e47bbf7 RS |
942 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
943 | ||
944 | * xdisp.c (start_display): Check more intelligently for | |
945 | whether the line is continued. | |
946 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
947 | ||
44129dcb DL |
948 | 2002-11-28 Dave Love <fx@gnu.org> |
949 | ||
950 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: | |
951 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
952 | ||
f707342d ST |
953 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
954 | ||
955 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause | |
956 | more descriptive error output from lread.c:Fload upon most require | |
957 | cycles during boostrapping. | |
958 | ||
1637fd2c JR |
959 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
960 | ||
961 | * fileio.c (Finsert_file_contents): Give a more appropriate error | |
962 | for files bigger than 2Gb when off_t is 32 bit. | |
963 | ||
964 | * dired.c (Ffile_attributes): Don't return negative file sizes for | |
965 | files bigger than 2Gb when off_t is 32 bit. | |
966 | ||
540c2788 DL |
967 | 2002-11-27 Dave Love <fx@gnu.org> |
968 | ||
6b2fd6ea DL |
969 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
970 | ||
2c568af5 SM |
971 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
972 | Test GETPGRP_VOID instead. | |
6b2fd6ea DL |
973 | [BSD_TERMIOS]: Remove definitions (never used). |
974 | ||
975 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): | |
976 | Don't define. | |
977 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
978 | ||
540c2788 DL |
979 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
980 | ||
8cc03716 JR |
981 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
982 | ||
983 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully | |
984 | supported. | |
985 | ||
4042a81a DL |
986 | 2002-11-25 Dave Love <fx@gnu.org> |
987 | ||
988 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. | |
989 | ||
990 | * Makefile.in (TEMACS_LDFLAGS): Update last change. | |
991 | ||
be4ee72f AS |
992 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
993 | ||
994 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. | |
995 | ||
82122254 ST |
996 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
997 | ||
998 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to | |
999 | determine the size of pointers alloced in unexed space instead | |
1000 | of using possibly invalid emacs_zone pointers. This fixes the | |
1001 | binary incompatibility problems caused by updates to libSystem.B. | |
1002 | ||
c1ee53bc RS |
1003 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
1004 | ||
1005 | * search.c (Fstring_match): Doc fix. | |
1006 | ||
1007 | * callint.c (Fcall_interactively): If a command fails because | |
1008 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
1009 | record it anyway if the args don't actually do tty input. | |
1010 | ||
5598c32e DL |
1011 | 2002-11-22 Dave Love <fx@gnu.org> |
1012 | ||
1013 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. | |
1014 | ||
1015 | * keyboard.c (interrupt_signal): Provide forward declaration. | |
1016 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
1017 | ||
2c568af5 | 1018 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 1019 | |
97b14e22 RS |
1020 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
1021 | ||
1022 | * eval.c (interactive_p): Skip any number of bytecode | |
1023 | and special form frames, in any order. | |
1024 | ||
516eea8e JR |
1025 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
1026 | ||
1027 | * w32fns.c (convert_mono_to_color_image): New function. | |
1028 | (xbm_load, xbm_load_image): Use it when foreground or background | |
1029 | is explicitly set. | |
1030 | ||
04dbfa08 DL |
1031 | 2002-11-19 Dave Love <fx@gnu.org> |
1032 | ||
1033 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. | |
1034 | ||
b4aebae3 JR |
1035 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
1036 | ||
1037 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. | |
cf234711 | 1038 | (XPutPixel): Swap blue and red. |
8f92c555 JR |
1039 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) |
1040 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
1041 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
1042 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
b4aebae3 | 1043 | |
1998560a DL |
1044 | 2002-11-18 Dave Love <fx@gnu.org> |
1045 | ||
d824beee DL |
1046 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
1047 | ||
a0f0878d | 1048 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee DL |
1049 | |
1050 | * m/intel386.h: Don't include alloca.h or define alloca. | |
1051 | ||
1052 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare | |
1053 | malloc, realloc, calloc. | |
1054 | ||
1055 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) | |
1056 | (bcmp): Don't define. | |
1057 | ||
1058 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. | |
1059 | ||
1060 | * m/amdahl.h: Don't define LIB_STANDARD. | |
1061 | ||
1062 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. | |
1063 | ||
1064 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. | |
1065 | ||
a0f0878d SM |
1066 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
1067 | Don't include alloca.h. | |
d824beee DL |
1068 | |
1069 | * s/aix3-2.h (HAVE_FSYNC): Don't define. | |
1070 | ||
1998560a DL |
1071 | * regex.c (_GNU_SOURCE): Don't define. |
1072 | ||
1073 | * process.c (_GNU_SOURCE): Don't define. | |
1074 | ||
1075 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. | |
1076 | ||
6c465a15 | 1077 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab MR |
1078 | |
1079 | * s/sol2-8.h: Include sol2-6.h. | |
1080 | ||
6ae2cd57 MB |
1081 | 2002-11-18 Miles Bader <miles@gnu.org> |
1082 | ||
1083 | * dispextern.h (struct face): Add `overstrike' field. | |
a0f0878d | 1084 | * xterm.c (x_draw_glyph_string_foreground) |
6ae2cd57 MB |
1085 | (x_draw_composite_glyph_string_foreground): Implement overstriking. |
1086 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
1087 | result from choose_face_font. | |
1088 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
1089 | argument, and use it to return whether overstriking is desirable | |
1090 | for this face/font combo. | |
1091 | (set_font_frame_param: Pass new argument to choose_face_font. | |
1092 | ||
ceb39a17 | 1093 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
6ae2cd57 | 1094 | |
3582b6a3 SM |
1095 | This change is my fix for the following entry in etc/PROBLEMS: |
1096 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
1097 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
1098 | ||
f60ae425 BK |
1099 | * w32.c: Added wrapper functions around the win32 API functions |
1100 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
1101 | GetSidIdentifierAuthority. These wrapper functions serve two | |
1102 | purposes: | |
1103 | 1. They ensure that the wrapped function can never be called | |
1104 | when Emacs is running on an operating system on which they are | |
1105 | not supported (Microsoft Windows 95 / 98 / ME). | |
1106 | 2. They call the wrapped functions via function pointers rather | |
1107 | than calling them directly. This avoids taking advantage of the | |
1108 | undocumented fact that although these functions are not supported | |
1109 | in the 9x branch of Microsoft Windows, the functions do exist in | |
1110 | the version of advapi32.dll that is found in the 9x branch of | |
1111 | Microsoft Windows. | |
f60ae425 BK |
1112 | |
1113 | * w32.c (init_user_info): Replaced the calls to the win32 API | |
1114 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, | |
1115 | and GetSidIdentifierAuthority with calls to the newly added | |
1116 | wrapper functions. | |
f60ae425 BK |
1117 | |
1118 | * w32.h: Added extern declarations for the following functions: | |
1119 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
1120 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 BK |
1121 | |
1122 | * w32fns.c (w32_wnd_proc): Added code to reinitialize the | |
1123 | function pointer track_mouse_event_fn in the handler for the | |
1124 | WM_SETFOCUS message. | |
f60ae425 | 1125 | |
6c465a15 | 1126 | * w32menu.c (initialize_frame_menubar): Added code to |
f60ae425 BK |
1127 | reinitialize the function pointers set_menu_item_info and |
1128 | get_menu_item_info. | |
3582b6a3 | 1129 | |
ceb39a17 | 1130 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 1131 | |
a0f0878d | 1132 | * sound.c: Added a partial implementation of play-sound-internal |
f60ae425 BK |
1133 | for Microsoft Windows. Added various #ifdef / #else / #endif |
1134 | code blocks to separate the code that will compile under | |
1135 | Microsoft Windows from the code that is specific to Gnu/Linux. | |
a0f0878d SM |
1136 | Moved several blocks of code around to make this separation of code |
1137 | into Windows compatible and Gnu/Linux compatible code blocks easier. | |
f60ae425 | 1138 | |
a0f0878d | 1139 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
f60ae425 BK |
1140 | |
1141 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly | |
1142 | added support for play-sound-internal under Windows would be | |
1143 | included in the build of Emacs. | |
a0f0878d | 1144 | |
517f42a0 JR |
1145 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
1146 | ||
1147 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. | |
1148 | ||
1149 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. | |
1150 | ||
a0f0878d SM |
1151 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
1152 | ||
1153 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. | |
1154 | (adjust_point_for_property): Move out of display and invisible even if | |
1155 | we were already inside before (in case a property was added while | |
1156 | we weren't looking). Be more careful when handling invisible props. | |
1157 | Skip invisible text as if it really wasn't there at all. | |
1158 | ||
aab83f91 JR |
1159 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
1160 | ||
1161 | * w32term.c (x_draw_image_foreground) | |
1162 | (w32_draw_image_foreground_1): Use standard copy and invert | |
1163 | operations to draw images. | |
1164 | ||
1165 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for | |
1166 | depth of 1. | |
1167 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
1168 | (XPutPixel): Don't invert bits here. | |
1169 | ||
a4478a76 JR |
1170 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
1171 | ||
1172 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) | |
1173 | (w32_draw_image_foreground_1): Handle image masks. | |
1174 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
1175 | ||
1176 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. | |
1177 | (x_from_xcolors): Adjust RGB values for W32. | |
1178 | (image_background, image_background_transparent) | |
1179 | (postprocess_image, x_to_xcolors, x_disable_image) | |
1180 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
1181 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
1182 | (xbm_load): Remove unused variable. | |
1183 | ||
03670a65 RS |
1184 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
1185 | ||
1186 | * buffer.c (syms_of_buffer): Doc fix. | |
1187 | ||
59daa29a DL |
1188 | 2002-11-14 Dave Love <fx@gnu.org> |
1189 | ||
1190 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. | |
1191 | ||
8e685dc6 SM |
1192 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
1193 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
1194 | * xfns.c (x_put_x_image): | |
1195 | * xdisp.c (message2_nolog, set_message): | |
1196 | * undo.c (record_point): | |
1197 | * terminfo.c (tparam): | |
1198 | * syntax.c (scan_sexps_forward): | |
1199 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
1200 | * composite.c (update_compositions): | |
1201 | * cm.c (calccost, cmgoto): | |
59daa29a DL |
1202 | * charset.c (c_string_width): Declare all args (per C99). |
1203 | ||
8e685dc6 | 1204 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a DL |
1205 | |
1206 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): | |
1207 | Don't declare. | |
1208 | ||
1209 | * emacs.c (main) [!VMS]: Avoid third arg. | |
1210 | ||
1211 | * fns.c (Fcopy_sequence): Doc fix. | |
49f8f50a | 1212 | (Fmap_char_table): Cast `call2'. |
59daa29a | 1213 | |
407fa601 FP |
1214 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
1215 | ||
1216 | * s/sol2-8.h: New file. | |
1217 | ||
58a7e98d KS |
1218 | 2002-11-14 Kim F. Storm <storm@cua.dk> |
1219 | ||
1220 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
1221 | dependency on `risky-local-variable' and the :propertize form. | |
1222 | ||
3ceb4629 SM |
1223 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> |
1224 | ||
8e685dc6 SM |
1225 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. |
1226 | ||
3ceb4629 SM |
1227 | * syntax.c (scan_sexps_forward): Undo last patch. |
1228 | Use a more obvious fix: check eob before updating the syntax table. | |
1229 | ||
b7305e01 SM |
1230 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> |
1231 | ||
1232 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
1233 | a char rather than after so we don't update the table past eob. | |
1234 | ||
2671e4de DL |
1235 | 2002-11-09 Dave Love <fx@gnu.org> |
1236 | ||
1237 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
1238 | ||
1239 | * regex.c (regexec): Fix pmatch declaration. | |
1240 | ||
1241 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
1242 | ||
1243 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
1244 | to self-inserting characters. | |
1245 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
1246 | ||
1247 | * coding.c (Vtranslation_table_for_input): New. | |
1248 | (syms_of_coding): DEFVAR it. | |
1249 | ||
63e9e99c JB |
1250 | 2002-11-08 Juanma Barranquero <lektu@terra.es> |
1251 | ||
1252 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
1253 | window. | |
1254 | ||
a959f11e KS |
1255 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1256 | ||
1257 | * process.c (Fformat_network_address): Removed unused locals p, | |
1258 | cp, and i. | |
1259 | ||
b8b60362 DL |
1260 | 2002-11-06 Dave Love <fx@gnu.org> |
1261 | ||
1262 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
1263 | (Fset_buffer_major_mode): Use it. | |
1264 | ||
318db6cb RS |
1265 | 2002-11-06 Richard M. Stallman <rms@gnu.org> |
1266 | ||
1267 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
1268 | and stop_polling. | |
1269 | ||
1270 | * process.c (wait_reading_process_input): | |
1271 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
1272 | Avoid initialization for auto Lisp_Object var. | |
1273 | ||
1274 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
1275 | ||
1276 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
1277 | ||
44248360 RS |
1278 | 2002-11-05 Richard M. Stallman <rms@gnu.org> |
1279 | ||
1280 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
1281 | ||
1282 | * callint.c (Fcall_interactively): New local filter_specs. | |
1283 | (Fcall_interactively): Check for progn as well as let. | |
1284 | Add a gcpro. | |
1285 | (Qprogn): New variable. | |
1286 | (syms_of_callint): Staticpro and init Qprogn. | |
1287 | ||
3f9ab804 JPW |
1288 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> |
1289 | ||
1290 | * lread.c (Feval_buffer): Doc fix. | |
1291 | ||
5e3cb80d DL |
1292 | 2002-11-04 Dave Love <fx@gnu.org> |
1293 | ||
1294 | * keyboard.c (read_char): Always translate iff | |
1295 | Vkeyboard_translate_table is a char table and c is valid. | |
1296 | ||
1297 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
1298 | and fix C types. | |
1299 | ||
7e16ef60 SM |
1300 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> |
1301 | ||
266b4e3a SM |
1302 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. |
1303 | ||
1304 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
1305 | ||
7e16ef60 SM |
1306 | * keyboard.c (adjust_point_for_property): Handle `display' prop on |
1307 | overlays. Also handle `invisible' prop. | |
1308 | ||
1309 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
1310 | ||
1311 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
1312 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
1313 | ||
304f1f12 AS |
1314 | 2002-11-01 Andreas Schwab <schwab@suse.de> |
1315 | ||
2c568af5 | 1316 | * editfns.c (Fmessage): Revert last change to properly handle %%. |
304f1f12 | 1317 | |
86fad4ec SM |
1318 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> |
1319 | ||
1320 | * xmenu.c (unuse_menu_items): New fun. | |
1321 | (menu_items_inuse): New var. | |
1322 | (syms_of_xmenu): Initialize it. | |
1323 | (init_menu_items): Use it to detect re-entrance. | |
b2b41304 | 1324 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. |
86fad4ec SM |
1325 | (Fx_popup_menu): Remove spurious XSETFRAME. |
1326 | ||
1327 | * editfns.c (find_field): Make an exception for nil fields. | |
1328 | ||
97098195 DL |
1329 | 2002-11-01 Dave Love <fx@gnu.org> |
1330 | ||
1331 | * m/gec63.h: Deleted. | |
1332 | ||
296b9246 DL |
1333 | 2002-10-31 Dave Love <fx@gnu.org> |
1334 | ||
1335 | * xterm.c (XTread_socket): Fix last change. | |
1336 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
1337 | ||
8d2ff840 SM |
1338 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> |
1339 | ||
1340 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
1341 | ||
68eb8bd5 SM |
1342 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> |
1343 | ||
1344 | * editfns.c (overlays_around, get_pos_property): New funs. | |
1345 | (find_field): Use them. | |
1346 | Also be careful not to modify POS before its last use. | |
1347 | (Fmessage): Don't Fformat if there's nothing to format. | |
1348 | ||
2baf1bfa DL |
1349 | 2002-10-30 Dave Love <fx@gnu.org> |
1350 | ||
1351 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
1352 | [HAVE_PTY_H]; Include pty.h. | |
1353 | ||
1354 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
1355 | ||
1356 | * xterm.c (Qeql): Declare. | |
1357 | (Vx_keysym_table): New. | |
1358 | (syms_of_xterm): Initialize it. | |
1359 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
1360 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
1361 | ||
1362 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
1363 | (lispy_kana_keys): Comment out. | |
1364 | (make_lispy_event) [XK_kana_A]: Comment out. | |
68eb8bd5 SM |
1365 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: |
1366 | Fix sprintf call. | |
2baf1bfa DL |
1367 | |
1368 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
1369 | regexp.h change). | |
1370 | (TERMINFO, LIBS_TERMCAP): Define. | |
1371 | ||
1372 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
1373 | (bcmp): Define conditional on HAVE_BCMP. | |
1374 | (NO_SIOCTL_H): Don't define. | |
1375 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
1376 | ||
1377 | * s/sol2-5.h: Don't include strings.h. | |
1378 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
1379 | ||
1380 | * s/irix6-0.h (IRIX6): Don't define. | |
1381 | (bcopy, bcmp, bzero): Don't undef. | |
1382 | ||
1383 | * s/irix6-5.h: Don't include strings.h. | |
1384 | (IRIX6): Don't define. | |
1385 | (bcopy, bcmp, bzero): Don't undef. | |
1386 | ||
1387 | * syntax.c (Fforward_comment): Doc fix. | |
1388 | ||
e8a32599 KS |
1389 | 2002-10-29 Kim F. Storm <storm@cua.dk> |
1390 | ||
1391 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
1392 | name in addition to pid (as integer or string). | |
1393 | ||
b37db7b4 | 1394 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) |
ce20e03e JB |
1395 | |
1396 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
b37db7b4 | 1397 | environments. |
ce20e03e | 1398 | |
ee7ddec4 KS |
1399 | 2002-10-27 Kim F. Storm <storm@cua.dk> |
1400 | ||
1401 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
1402 | ||
1403 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
1404 | ||
1405 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
1406 | ||
1407 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
1408 | ||
5ab0ceed RS |
1409 | 2002-10-26 Richard M. Stallman <rms@gnu.org> |
1410 | ||
1411 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
1412 | ||
be354eca KH |
1413 | 2002-10-25 Kenichi Handa <handa@m17n.org> |
1414 | ||
1415 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
1416 | (x_set_title): Likewise. | |
1417 | ||
68c7e82a JB |
1418 | 2002-10-25 Juanma Barranquero <lektu@terra.es> |
1419 | ||
1420 | * macgui.h: | |
1421 | * w32gui.h: Remove definition of XColor. | |
1422 | ||
1423 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
1424 | ||
7a21b1f0 KS |
1425 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
1426 | ||
1427 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
1428 | Callers changed (supply dummy arg). | |
1429 | ||
1430 | * lisp.h (get_window_cursor_type): Update prototype. | |
68c7e82a | 1431 | |
7a21b1f0 KS |
1432 | * w32term.c (x_display_and_set_cursor): Get active_cursor from |
1433 | get_window_cursor_type to track system caret. | |
1434 | ||
9c1e9d54 KS |
1435 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
1436 | ||
1437 | * process.c (Fformat_network_address): New function. | |
1438 | (syms_of_process): Defsubr it. | |
1439 | (list_processes_1): Use it to format :local/:remote address if | |
1440 | service/host is not set; before emacs would crash in that case. | |
1441 | (Fmake_network_process): Don't use Ffind_operation_coding_system | |
1442 | to setup coding system if host or service is not set. | |
1443 | ||
e99833ca JB |
1444 | 2002-10-23 Juanma Barranquero <lektu@terra.es> |
1445 | ||
1446 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
1447 | ||
1448 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
1449 | COLORREF. | |
1450 | ||
1451 | * macgui.h: | |
1452 | * w32gui.h: Add definition of XColor. | |
1453 | ||
1454 | * macfns.c: | |
1455 | * w32fns.c: | |
1456 | * xfaces.c: Remove definition of XColor. | |
1457 | ||
5e8b072b SM |
1458 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> |
1459 | ||
1460 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
1461 | ||
1462 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
1463 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
1464 | window if it is dedicated. | |
1465 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
1466 | (Vspecial_display_function): Update docstring. | |
1467 | ||
1468 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
1469 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
1470 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
1471 | ||
635d2972 SM |
1472 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> |
1473 | ||
1474 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
1475 | of a word when at the beginning. | |
1476 | ||
d9c25020 JB |
1477 | 2002-10-17 Juanma Barranquero <lektu@terra.es> |
1478 | ||
1479 | * lread.c (syms_of_lread): Fix typos. | |
1480 | ||
519a4a70 DL |
1481 | 2002-10-17 Dave Love <fx@gnu.org> |
1482 | ||
1483 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
1484 | ||
a8c44e39 RS |
1485 | 2002-10-16 Richard M. Stallman <rms@gnu.org> |
1486 | ||
1487 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
1488 | ||
41a48e45 JB |
1489 | 2002-10-14 Juanma Barranquero <lektu@terra.es> |
1490 | ||
1491 | * w16select.c (syms_of_win16select): Fix docstring for | |
1492 | `selection-coding-system'. | |
1493 | ||
1494 | * w32select.c (syms_of_w32select): Likewise. | |
1495 | ||
240c43e8 SM |
1496 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> |
1497 | ||
1498 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
1499 | a backslash-quoted char. | |
1500 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
1501 | ||
411df82f RS |
1502 | 2002-10-13 Richard M. Stallman <rms@gnu.org> |
1503 | ||
1504 | * window.c (window_scroll): Set immediate_quit. | |
1505 | ||
1506 | * print.c (print): When backquote form is the car of a list, | |
1507 | output in old style. Use old_backquote_output to output all | |
1508 | comma forms inside it in old style too. | |
1509 | ||
1510 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
1511 | ||
d77b70e5 MR |
1512 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> |
1513 | ||
1514 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
1515 | batch mode). | |
1516 | ||
1517 | * lread.c (Fload): Doc fix (load-suffixes). | |
1518 | ||
d6abf018 ST |
1519 | 2002-10-10 Steven Tamm <steventamm@mac.com> |
1520 | ||
240c43e8 SM |
1521 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): |
1522 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
1523 | Also switch the default to Qnil from Qt. | |
d6abf018 | 1524 | |
9793be06 KH |
1525 | 2002-10-08 Kenichi Handa <handa@m17n.org> |
1526 | ||
1527 | * coding.c (code_convert_region): When we need more GAP for | |
1528 | conversion, pay attention to the case that coding->produced is not | |
1529 | greater than coding->consumed. | |
1530 | ||
4d46d6da RS |
1531 | 2002-10-07 Richard M. Stallman <rms@gnu.org> |
1532 | ||
1533 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
1534 | ||
95fb7577 AC |
1535 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> |
1536 | ||
1537 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
1538 | menu_item_selection to it to find selected item. | |
1539 | ||
a97e4138 | 1540 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
f7d43438 JD |
1541 | |
1542 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
1543 | cases. The correct fix is to pass ReparentNotify to Xt. | |
1544 | The shell widget interprets ConfigureNotify differently depending | |
1545 | on if it has been reparented or not. | |
1546 | ||
a67a233b MR |
1547 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> |
1548 | ||
1549 | * editfns.c (Fformat_time_string): Doc fix. | |
1550 | ||
f5965ada JPW |
1551 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> |
1552 | ||
1553 | * fns.c (Flength): Doc fix. | |
1554 | ||
8d2ff840 SM |
1555 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> |
1556 | ||
1557 | * keyboard.c (keyremap): New struct. | |
1558 | (read_key_sequence): Use it: globally replace keytran_foo with | |
1559 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
1560 | keytran_next and fkey_next to just `next'. | |
1561 | ||
e989b9bc ST |
1562 | 2002-10-04 Steven Tamm <steventamm@mac.com> |
1563 | ||
240c43e8 | 1564 | * macterm.c (keycode_to_xkeysym_table): Change return to be |
8d2ff840 | 1565 | treated like an X keysym. |
e989b9bc | 1566 | |
a97e4138 | 1567 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
03318838 JD |
1568 | |
1569 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
1570 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
1571 | This is to also handle x/y changes that occur because of a resize. | |
1572 | ||
cd1d850f JPW |
1573 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> |
1574 | ||
1575 | * frame.c (Vdelete_frame_functions): New variable. | |
1576 | (syms_of_frame): Initialize and defvar it. | |
1577 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
1578 | it when frame's `tooltip' parameter is non-nil. | |
1579 | ||
1580 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
1581 | ||
f5965ada | 1582 | * w32fns.c (x_create_tip_frame): Likewise. |
cd1d850f JPW |
1583 | |
1584 | * macfns.c (x_create_tip_frame): Likewise. | |
1585 | ||
5039407b KH |
1586 | 2002-09-30 Kenichi Handa <handa@m17n.org> |
1587 | ||
1588 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
1589 | -1 before calling ccl_driver. | |
1590 | ||
1591 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
1592 | Only when it is non-nil, handle composition sequence. | |
1593 | (setup_coding_system) <0>: Don't force composition handling. | |
1594 | ||
1595 | * Makefile.in (lisp, shortlisp): Add utf-16.elc | |
1596 | ||
aac2d8b2 RS |
1597 | 2002-09-29 Richard M. Stallman <rms@gnu.org> |
1598 | ||
7058ef34 RS |
1599 | * search.c (Freplace_match): Adjust match data for the substitution |
1600 | just made in the buffer. | |
1601 | ||
aac2d8b2 RS |
1602 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. |
1603 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
1604 | ||
1605 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
1606 | ||
1607 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
1608 | (read_char): Use them. Do all exits thru the end of the function. | |
1609 | ||
e21880c6 KH |
1610 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> |
1611 | ||
1612 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
1613 | is nil. | |
1614 | ||
563c037f RS |
1615 | 2002-09-26 Richard M. Stallman <rms@gnu.org> |
1616 | ||
1617 | * regex.h (__restrict_arr): Don't define if already defined. | |
1618 | ||
1619 | * coding.c (run_pre_post_conversion_on_str): | |
1620 | Save and restore Vdeactivate_mark. | |
1621 | ||
6d1b1d7b JPW |
1622 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> |
1623 | ||
1624 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
1625 | ||
54580ab2 KH |
1626 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> |
1627 | ||
1628 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
240c43e8 | 1629 | nonzero, try face's family at first. Otherwise try FAMILY at first. |
54580ab2 KH |
1630 | (choose_face_font): If C is a single byte char or latin-1, call |
1631 | try_font_list with PREFER_FACE_FAMILY 1. | |
1632 | ||
282f7831 RS |
1633 | 2002-09-21 Richard M. Stallman <rms@gnu.org> |
1634 | ||
1635 | * window.c (select_window_1): Don't select frame. | |
1636 | Set frame's selected window only when frame itself is selected. | |
1637 | (Fselect_window): Doc fix. | |
1638 | ||
454d0d5e KS |
1639 | 2002-09-18 Kim F. Storm <storm@cua.dk> |
1640 | ||
1641 | * process.c (make-network-process): Doc fix (there is no | |
1642 | network-server-log-function hook). | |
1643 | ||
3116d142 RS |
1644 | 2002-09-18 Richard M. Stallman <rms@gnu.org> |
1645 | ||
1646 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
1647 | (syms_of_print): Doc fix for `print-number-table'. | |
1648 | ||
1649 | * unexelf.c (unexec): Undo previous change. | |
1650 | ||
99d85a90 AS |
1651 | 2002-09-17 Andreas Schwab <schwab@suse.de> |
1652 | ||
1653 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
1654 | ||
c721078e RS |
1655 | 2002-09-16 Dave Love <fx@gnu.org> |
1656 | ||
1657 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
1658 | 25-08-1999. | |
1659 | ||
95fb966a RS |
1660 | 2002-09-13 Richard M. Stallman <rms@gnu.org> |
1661 | ||
1662 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
1663 | ||
1664 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
1665 | ||
1666 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
1667 | ||
6c009b5b MR |
1668 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> |
1669 | ||
1670 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
1671 | ||
7c3cb37d RS |
1672 | 2002-09-11 Richard M. Stallman <rms@gnu.org> |
1673 | ||
1674 | * unexsol.c: Don't use report_file_error; do it by hand | |
1675 | using dlerror. | |
1676 | ||
1677 | * process.c (wait_reading_process_input, both versions): | |
1678 | Before calling turn_on_atimers, call stop_polling. | |
1679 | ||
1680 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
1681 | ||
1682 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
1683 | we go to too_near_end, call clear_glyph_matrix. | |
1684 | (redisplay_window): After make_cursor_line_fully_visible, | |
1685 | call clear_glyph_matrix and bypass `goto done'. | |
1686 | ||
1687 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
1688 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
1689 | ||
f95c03c6 RS |
1690 | 2002-09-10 Richard M. Stallman <rms@gnu.org> |
1691 | ||
1692 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
1693 | Only call push_message if we need to. | |
1694 | At the same time, make an unwind-protect to pop it. | |
1695 | Rename local message_p to old_message_p. | |
1696 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
1697 | (do_auto_save_unwind): Don't call pop_message. | |
1698 | ||
1699 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
1700 | ||
1701 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
1702 | ||
1703 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
1704 | ||
1705 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
1706 | ||
0a28e1ca SM |
1707 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> |
1708 | ||
1709 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
1710 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
1711 | (re_match_2_internal): Be more careful with infinite loops. | |
1712 | ||
e00a1361 | 1713 | 2002-09-10 Kim F. Storm <storm@cua.dk> |
2bbfbf25 KS |
1714 | |
1715 | * macros.c (end_kbd_macro): New function. | |
1716 | (Fend_kbd_macro): Use it. | |
1717 | ||
1718 | * macros.h (end_kbd_macro): Declare extern. | |
1719 | ||
1720 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
1721 | end and save it instead of discarding it. | |
1722 | ||
e986c175 MR |
1723 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> |
1724 | ||
1725 | * s/sol2-6.h: Fix typo. Add comment. | |
1726 | ||
50332dc1 RS |
1727 | 2002-09-09 Richard M. Stallman <rms@gnu.org> |
1728 | ||
1729 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
1730 | ||
1731 | * s/sol2-6.h: New file. | |
1732 | ||
1733 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
1734 | ||
de8e3806 KS |
1735 | 2002-09-08 Kim F. Storm <storm@cua.dk> |
1736 | ||
1737 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
1738 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). | |
1739 | ||
1740 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
0a28e1ca | 1741 | |
426f6c23 RS |
1742 | 2002-09-06 Richard M. Stallman <rms@gnu.org> |
1743 | ||
1744 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
1745 | ||
f8f8d464 JB |
1746 | 2002-09-06 Juanma Barranquero <lektu@terra.es> |
1747 | ||
1748 | * coding.c (syms_of_coding): Fix spacing. | |
1749 | ||
1750 | * composite.c (Fcompose_region_internal) | |
1751 | (Fcompose_string_internal): Likewise. | |
1752 | ||
1753 | * data.c (Flsh): Likewise. | |
1754 | ||
1755 | * fontset.c (Fset_fontset_font): Likewise. | |
1756 | ||
1757 | * macfns.c (Fx_server_max_request_size): Likewise. | |
1758 | ||
1759 | * w16select.c (syms_of_win16select): Likewise. | |
1760 | ||
1761 | * w32select.c (syms_of_w32select): Likewise. | |
1762 | ||
1763 | * xselect.c (syms_of_xselect): Likewise. | |
1764 | ||
b7c12565 RS |
1765 | 2002-09-05 Richard M. Stallman <rms@gnu.org> |
1766 | ||
1767 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
1768 | call EXTEND_RANGE_TABLE and return a proper value. | |
1769 | (set_image_of_range): Don't call set_image_of_range_1 | |
1770 | if no TRANSLATE or if range includes all of Latin-1. | |
1771 | Only call it for the Latin-1 part of the range. | |
1772 | For other cases, make two separate ranges, | |
1773 | one for the original specified characters and one for | |
1774 | their case-conversions. | |
1775 | ||
4d8da98b RS |
1776 | 2002-09-04 Richard M. Stallman <rms@gnu.org> |
1777 | ||
1778 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
1779 | ||
1780 | * window.c (displayed_window_lines): Correct for one-off bug | |
1781 | in HEIGHT on non-window displays. | |
1782 | ||
1783 | * regex.c (set_image_of_range_1): New function. | |
1784 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
1785 | Return a value to indicate running out of memory. | |
1786 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
1787 | (extend_range_table_work_area): New subroutine. | |
1788 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
1789 | Different calling conventions, and used from set_image_of_range{,_1}. | |
1790 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
1791 | ||
6218196f JB |
1792 | 2002-09-04 Juanma Barranquero <lektu@terra.es> |
1793 | ||
1794 | * makefile.w32-in: All dependencies updated. | |
1795 | ||
dfe15ea3 RS |
1796 | 2002-09-01 Richard M. Stallman <rms@gnu.org> |
1797 | ||
69506e67 RS |
1798 | * unexsol.c: New file. |
1799 | ||
1800 | * xfns.c (Qbox): Declare external, don't define. | |
1801 | ||
1802 | * xdisp.c (redisplay_window) <force-start case>: | |
1803 | If point is on semi-visible last line, reposition | |
1804 | it at previous line. | |
1805 | ||
dfe15ea3 RS |
1806 | * alloc.c (display_malloc_warning): Use display-warning. |
1807 | (malloc_warning_1): Function deleted. | |
1808 | ||
1809 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
1810 | ||
1811 | * lread.c (read1): Handle #! by skipping the line. | |
1812 | ||
1813 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
1814 | ||
1815 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
1816 | Don't include LDFLAGS. | |
1817 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
1818 | ||
97acc803 EZ |
1819 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> |
1820 | ||
1821 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
1822 | member of x_display_info unless we compile for some window system. | |
1823 | ||
e0f7b1a8 KS |
1824 | 2002-08-31 Kim F. Storm <storm@cua.dk> |
1825 | ||
1826 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
1827 | (get_window_cursor_type): Don't use them. | |
1828 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
1829 | ||
a30c876a KH |
1830 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> |
1831 | ||
1832 | * xdisp.c (get_next_display_element): Fix previous change. | |
1833 | ||
e2d9d8a1 AC |
1834 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> |
1835 | ||
2c568af5 | 1836 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). |
ca45961d AC |
1837 | (expose_window): Use it to fix the display of overlapping |
1838 | rows (merge code from xterm.c). | |
1839 | ||
e2d9d8a1 AC |
1840 | * macfns.c (Qbox): Add extern declaration. |
1841 | ||
842a9389 JB |
1842 | 2002-08-30 Juanma Barranquero <lektu@terra.es> |
1843 | ||
ab0bb234 JB |
1844 | * w32fns.c (Qbox): Make extern. |
1845 | (syms_of_w32fns): Remove initialization of Qbox. | |
1846 | ||
b37db7b4 JB |
1847 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) |
1848 | ||
1849 | * xfns.c (Fx_open_connection): Fix error message. | |
842a9389 | 1850 | |
654d5b91 KS |
1851 | 2002-08-30 Kim F. Storm <storm@cua.dk> |
1852 | ||
1853 | The following changes consolidates the handling of the cursor | |
1854 | type in xdisp.c, moving duplicate code and functionality from | |
1855 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
1856 | ||
1857 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
1858 | Added DEFAULT_CURSOR value. | |
1859 | (struct frame) <desired_cursor, cursor_width> | |
1860 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
1861 | Consolidated from output_x, output_w32 and output_mac structs. | |
1862 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
1863 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
1864 | ||
1865 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
1866 | Variables consolidated here. | |
1867 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
1868 | (Vcursor_in_non_selected_windows): Renamed from | |
1869 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
1870 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
1871 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
1872 | consolidated here. Recognize Qhollow setting. | |
1873 | (set_frame_cursor_types): New function to set frame cursor types | |
1874 | based on the frame parameters. | |
1875 | (get_window_cursor_type): New function to calculate new cursor | |
1876 | type and width for the specified window. Based on duplicated | |
1877 | code consolidated here. | |
1878 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
1879 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
1880 | before using built-in blink off methods. | |
1881 | ||
1882 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
1883 | ||
1884 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
1885 | (get_specified_cursor_type, get_window_cursor_type) | |
1886 | (set_frame_cursor_types): Added prototypes. | |
1887 | ||
1888 | * macfns.c (x_specified_cursor_type): Removed. | |
1889 | (x_set_cursor_type): Use set_frame_cursor_types. | |
c76654a2 KS |
1890 | (Qbar, Qbox): Removed. |
1891 | (syms_of_macfns): Don't intern or staticpro them. | |
842a9389 | 1892 | |
654d5b91 KS |
1893 | * macterm.c (x_specified_cursor_type): Remove prototype. |
1894 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
1895 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
1896 | Remove unused local variables cursor_non_selected, active_cursor. | |
1897 | Redraw cursor if hbar cursor width changes. | |
1898 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
1899 | ||
1900 | * macterm.h (enum text_cursor_kinds): Removed. | |
1901 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
1902 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
1903 | (FRAME_DESIRED_CURSOR): Macro removed. | |
842a9389 | 1904 | |
654d5b91 KS |
1905 | * w32fns.c (Vblink_cursor_alist): Removed. |
1906 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
1907 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
1908 | (x_specified_cursor_type): Removed. | |
1909 | (x_set_cursor_type): Use set_frame_cursor_types. | |
1910 | ||
1911 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
1912 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
1913 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
1914 | Remove unused local variables cursor_off_state. | |
1915 | Redraw cursor if hbar cursor width changes. | |
6b3acc48 | 1916 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. |
842a9389 | 1917 | |
654d5b91 KS |
1918 | * w32term.h (enum text_cursor_kinds): Removed. |
1919 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
1920 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
1921 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
1922 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
6b3acc48 KS |
1923 | (struct w32_display_info) <x_highlight_frame>: Renamed member from |
1924 | w32_highlight_frame. | |
842a9389 | 1925 | |
654d5b91 KS |
1926 | * xfns.c (Vblink_cursor_alist): Removed. |
1927 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
1928 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
1929 | (x_specified_cursor_type): Removed. | |
1930 | (x_set_cursor_type): Use set_frame_cursor_types. | |
1931 | ||
1932 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
1933 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
1934 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
1935 | Remove unused local variables cursor_off_state. | |
1936 | Redraw cursor if hbar cursor width changes. | |
1937 | ||
1938 | * xterm.h (enum text_cursor_kinds): Removed. | |
1939 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
1940 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
1941 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
1942 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
1943 | (x_specified_cursor_type): Remove prototype. | |
842a9389 | 1944 | |
a007b9d2 RS |
1945 | 2002-08-28 Richard M. Stallman <rms@gnu.org> |
1946 | ||
1947 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
1948 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
1949 | (Vblink_cursor_alist): New variable. | |
1950 | (syms_of_w32fns): Initialize and defvar it. | |
1951 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
1952 | Exceptions are hollow boxes. | |
1953 | (Qbox, Qhollow): New variables. | |
1954 | (syms_of_w32fns): Initialize and staticpro them. | |
1955 | ||
1956 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
1957 | New macros. | |
2c568af5 SM |
1958 | (struct w32_output): New fields blink_off_cursor, |
1959 | blink_off_cursor_width. | |
a007b9d2 RS |
1960 | (FRAME_CURSOR_WIDTH): New macro. |
1961 | ||
1962 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
1963 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
1964 | ||
1965 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
1966 | for bar cursor. | |
1967 | ||
1968 | * w32term.c (expose_overlaps): New function. | |
1969 | (expose_window): Use it to fix the display of overlapping rows. | |
1970 | ||
2dc520b6 SJ |
1971 | 2002-08-28 Simon Josefsson <jas@extundo.com> |
1972 | ||
1973 | * xfns.c (Fx_open_connection): Improve help when X connection | |
1974 | fails, xhost is insecure and xauth is better. | |
1975 | ||
402b32b5 JB |
1976 | 2002-08-28 Juanma Barranquero <lektu@terra.es> |
1977 | ||
a821edb8 JB |
1978 | * makefile.w32-in: Add missing dependencies on w32term.h and |
1979 | composite.h. | |
1980 | ||
402b32b5 JB |
1981 | * emacs.c (USAGE1): Add missing newline. |
1982 | ||
ad8d730c AC |
1983 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> |
1984 | ||
1985 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
1986 | ||
6e910e07 RS |
1987 | 2002-08-27 Richard M. Stallman <rms@gnu.org> |
1988 | ||
1989 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
1990 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
1991 | (Vblink_cursor_alist): New variable. | |
1992 | (syms_of_xfns): Initialize and defvar it. | |
1993 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
1994 | Exceptions are hollow boxes. | |
1995 | (Qbox, Qhollow): New variables. | |
1996 | (syms_of_xfns): Initialize and staticpro them. | |
1997 | ||
1998 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
1999 | New macros. | |
2000 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
402b32b5 | 2001 | |
6e910e07 RS |
2002 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR |
2003 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
2004 | ||
2005 | * emacs.c (main): Handle --script. | |
2006 | (USAGE1): Mention --script. | |
2007 | (standard_args): Define sort order for --script. | |
2008 | ||
2009 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
2010 | ||
2011 | * xdisp.c (redisplay_updating_p): Variable removed. | |
2c568af5 SM |
2012 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): |
2013 | New variables. | |
6e910e07 RS |
2014 | (init_iterator): Don't free realized faces if |
2015 | inhibit_free_realized_faces is set. | |
2016 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
2017 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
2018 | initialize Qinhibit_free_realized_faces. | |
2019 | ||
2020 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
2021 | when iterator is adding glyphs to a glyph matrix. | |
2022 | ||
456c80d6 KH |
2023 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> |
2024 | ||
2025 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
2026 | octal form for such eight-bit characters that can be converted to | |
2027 | multibyte char. | |
2028 | ||
6bc85c3b KS |
2029 | 2002-08-26 Kim F. Storm <storm@cua.dk> |
2030 | ||
2c568af5 SM |
2031 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground |
2032 | and background colors. From Joe Buehler (tiny change). | |
6bc85c3b | 2033 | |
f49656ec MB |
2034 | 2002-08-26 Miles Bader <miles@gnu.org> |
2035 | ||
2036 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
2037 | ||
19580e2c AC |
2038 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> |
2039 | ||
a6311b2f AC |
2040 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is |
2041 | defined instead of MAC_OSX. | |
2042 | ||
2043 | * s/darwin.h (select): Define select to sys_select only if | |
2044 | HAVE_CARBON is defined. | |
2045 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
5cb724f0 | 2046 | (DONT_REOPEN_PTY): #def it. |
402b32b5 | 2047 | |
19580e2c AC |
2048 | * macterm.c (XTread_socket): Remove code to call |
2049 | SendEventToEventTarget for keys with command modifiers when | |
2050 | mac_command_key_is_meta is nil. | |
2051 | ||
addf35fd AS |
2052 | 2002-08-24 Andreas Schwab <schwab@suse.de> |
2053 | ||
2054 | * eval.c (Fdefvar): Fix last change. | |
2055 | ||
729d9038 RS |
2056 | 2002-08-23 Richard M. Stallman <rms@gnu.org> |
2057 | ||
2058 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
2059 | Record variables in load history as (defvar . VAR). | |
2060 | (Fdefvar): Don't record in load history if no initial value. | |
2061 | (Qdefvar): New variable. | |
2062 | (syms_of_eval): Init and staticpro it. | |
2063 | ||
2064 | * lread.c (syms_of_lread): Doc fix. | |
2065 | (build_load_history): Use Fmember to see if a definition | |
2066 | is already in the Vload_history element. | |
2067 | ||
2068 | * process.c (Fstart_process): Remove /: from program name. | |
2069 | ||
2070 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
2071 | has a `safe-magic' property. | |
2072 | ||
2073 | * callproc.c (Fcall_process): Remove /: from program name. | |
2074 | ||
36595814 SM |
2075 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> |
2076 | ||
2077 | * regex.c (PATFETCH): Remove the translating fetch. | |
2078 | (PATFETCH_RAW): Rename to PATFETCH. | |
2079 | (set_image_of_range): New fun. | |
2080 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
2081 | (regex_compile): Don't translate the pattern chars so eagerly. | |
2082 | Only do it when inserting an `exactn' bytecode or when handling | |
2083 | a char-range. | |
2084 | (mutually_exclusive_p): Avoid empty statement. | |
2085 | ||
f92ae6be KS |
2086 | 2002-08-22 Kim F. Storm <storm@cua.dk> |
2087 | ||
2088 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
2089 | end up on a partially visible line; this reverts a specific part | |
2090 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
2091 | display error which has been reported several times now. | |
2092 | However it introduces the problem that changes was supposed to fix. | |
2093 | See my comments in the source if you want to debug this further. | |
2094 | ||
9bbe0341 KH |
2095 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> |
2096 | ||
2097 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
2098 | ||
100c44b7 EZ |
2099 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> |
2100 | ||
aac06fd4 EZ |
2101 | * msdos.c (croak): Add `void' to definition. |
2102 | ||
92b304ac RS |
2103 | * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): |
2104 | Don't define them, they are defined in msdos.c. | |
feb67dfe | 2105 | |
a8c1733b EZ |
2106 | * mem-limits.h [MSDOS]: Declare etext. |
2107 | ||
100c44b7 EZ |
2108 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' |
2109 | `const' since CORRECT_DIR_SEPS modifies its target. | |
2110 | ||
dec7e302 KS |
2111 | 2002-08-19 Kim F. Storm <storm@cua.dk> |
2112 | ||
2113 | * keyboard.c (Fclear_this_command_keys): Added optional arg | |
2114 | KEEP-RECORD to avoid clearing lossage when we just want to clear | |
2115 | the current key sequence (kmacro needs this). | |
2116 | ||
775b3d2d KH |
2117 | 2002-08-19 Kenichi Handa <handa@localhost> |
2118 | ||
2c568af5 | 2119 | * composite.c (run_composition_function): Call FUNC if it is fboundp. |
775b3d2d KH |
2120 | |
2121 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
2122 | cons, return Qnil. | |
2123 | ||
c387c986 RS |
2124 | 2002-08-17 Richard M. Stallman <rms@gnu.org> |
2125 | ||
2126 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
2127 | ||
2128 | * sysdep.c [!VMS]: Include sys/files.h. | |
2129 | ||
2130 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
2131 | ||
2132 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
2133 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
2134 | ||
1000788b AC |
2135 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> |
2136 | ||
2137 | * mac.c (init_mac_osx_environment): New function. | |
2138 | ||
2139 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
2140 | ||
82802164 KS |
2141 | 2002-08-14 Kim F. Storm <storm@cua.dk> |
2142 | ||
2143 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
2144 | executing macro before appending to it (when used from Lisp). | |
2145 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
2146 | which is called prior to each iteration of macro (for kmacro.el). | |
2147 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
2148 | ||
2149 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
2150 | ||
2151 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
402b32b5 | 2152 | |
13a45e6c KH |
2153 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> |
2154 | ||
2155 | * xselect.c (QUTF8_STRING): New variable. | |
2156 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
2157 | (x_atom_to_symbol): Likewise. | |
2158 | (x_get_local_selection): New argument local_request. If it is | |
2159 | nonzero, call handler_fn with the second arg nil. | |
2160 | (x_handle_selection_request): Call x_get_local_selection with | |
2161 | local_request 0. | |
2162 | (lisp_data_to_selection_data): Don't encode the string here. | |
2163 | (Fx_get_selection_internal): Call x_get_local_selection with | |
2164 | local_request 1. | |
2165 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
2166 | ||
2167 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
2168 | ||
2169 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
2170 | ||
79fab26b RS |
2171 | 2002-08-13 Richard M. Stallman <rms@gnu.org> |
2172 | ||
2173 | * minibuf.c (Fminibufferp): New function. | |
2174 | (syms_of_minibuf): Defsubr it. | |
2175 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
2176 | ||
96d2e64d GM |
2177 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> |
2178 | ||
2179 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
2180 | ||
450565cb RS |
2181 | 2002-08-12 Richard M. Stallman <rms@gnu.org> |
2182 | ||
2183 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
402b32b5 | 2184 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) |
450565cb RS |
2185 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined |
2186 | already. | |
2187 | ||
2188 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
2189 | ||
5883787c AC |
2190 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> |
2191 | ||
2192 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
2193 | (Vmac_pass_command_to_system): New variable. | |
2194 | (Vmac_pass_control_to_system): New variable. | |
2195 | (do_mouse_moved): Check wp with is_emacs_window. | |
2c568af5 SM |
2196 | (XTread_socket): Check window_ptr with is_emacs_window. |
2197 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
5883787c AC |
2198 | events back to Mac Toolbox for processing, depending on values of |
2199 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
2200 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
2201 | Vmac_pass_control_to_system. | |
2202 | ||
054e62ae KH |
2203 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> |
2204 | ||
2205 | * coding.c (unencodable_char_position): New function. | |
2206 | (Funencodable_char_position): New function. | |
2207 | (syms_of_coding): Defsubr Funencodable_char_position. | |
2208 | ||
8030369c AC |
2209 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> |
2210 | ||
2211 | * mac.c (sys_select) [MAC_OSX]: New function. | |
2212 | ||
2213 | * macterm.c (MakeMeTheFrontProcess): New function. | |
2214 | (mac_initialize): Call MakeMeTheFrontProcess. | |
2215 | ||
2216 | * s/darwin.h: Define select to sys_select. | |
2217 | ||
1e7c162f RS |
2218 | 2002-08-09 Richard M. Stallman <rms@gnu.org> |
2219 | ||
2220 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
2221 | ||
d43be70c GM |
2222 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> |
2223 | ||
2224 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
2225 | end of the buffer. | |
2226 | ||
d90ed3b4 KR |
2227 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> |
2228 | ||
2c568af5 | 2229 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. |
d90ed3b4 | 2230 | |
b177738e KR |
2231 | * puresize.h (BASE_PURESIZE): Increase to 910000. |
2232 | ||
b12a8058 KH |
2233 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> |
2234 | ||
2235 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
2236 | VISIT is a filename, make it the target. | |
2237 | ||
46e3984f RS |
2238 | 2002-08-07 Richard M. Stallman <rms@gnu.org> |
2239 | ||
2240 | * alloc.c (mark_object): Detect long lists for debugging. | |
2241 | (mark_object_loop_halt): New variable. | |
2242 | ||
2243 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
2244 | ||
2245 | * data.c (Fmake_variable_frame_local): Doc fix. | |
2246 | ||
86d98c33 RS |
2247 | 2002-08-01 David Ponce <david@dponce.com> |
2248 | ||
2249 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
2250 | (malloc_widget_value, free_widget_value) | |
2251 | (w32_free_submenu_strings): Use them. | |
2252 | ||
2253 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
2254 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
2255 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
2256 | (single_submenu, set_frame_menubar) | |
2257 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
2258 | ||
6c465a15 | 2259 | (Fx_popup_menu): Don't show pop up menu until preceding one is |
86d98c33 RS |
2260 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. |
2261 | ||
2262 | * w32menu.c: Changes adapted from xmenu.c | |
2263 | (set_frame_menubar): First parse all submenus, | |
2264 | then make widget_value trees from them. | |
2265 | Don't allocate any widget_value objects | |
2266 | until we are done with the parsing. | |
2267 | (parse_single_submenu): New function. | |
2268 | (digest_single_submenu): New function. | |
2269 | (single_submenu): Function deleted, replaced by those two. | |
2270 | ||
44fab9c1 AC |
2271 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> |
2272 | ||
2273 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
2274 | returns a valid window pointer before proceeding for keyDown and | |
2275 | autoKey events. | |
2276 | ||
742fbed7 AC |
2277 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> |
2278 | ||
2279 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
2280 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
2281 | (x_iconify_frame): Call CollapseWindow. | |
2282 | (Vmac_reverse_ctrl_meta): New variable. | |
2283 | (Vmac_wheel_button_is_mouse_2): New variable. | |
2284 | (init_mac_drag_n_drop): New function. | |
2285 | (mac_do_receive_drag): New function. | |
2286 | (mac_handle_service_event): New function. | |
2287 | (init_service_handler): New function. | |
2288 | (mac_to_emacs_modifiers): New function. | |
2289 | (mac_event_to_emacs_modifiers): New function. | |
2290 | (mac_get_mouse_btn): New function. | |
2291 | (mac_convert_event_ref): New function. | |
2292 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
2293 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
2294 | mac_get_mouse_btn. | |
2c568af5 | 2295 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. |
742fbed7 AC |
2296 | |
2297 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
2298 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
2299 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
2300 | TOOL_BAR_EVENT for MAC_OS as well. | |
2301 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
2302 | as for WINDOWS_NT. | |
2303 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
2304 | ||
2c568af5 | 2305 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. |
402b32b5 | 2306 | |
db0bb807 GM |
2307 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> |
2308 | ||
2309 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
2310 | lead to a newline being skipped. | |
2311 | ||
36426689 AC |
2312 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> |
2313 | ||
2314 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
2315 | ||
ad44f2a1 RS |
2316 | 2002-08-01 Richard M. Stallman <rms@gnu.org> |
2317 | ||
2318 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
2319 | ||
9794a8cd AC |
2320 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> |
2321 | ||
41428ec4 AC |
2322 | * macfns.c: #undef init_process before #define-ing it. |
2323 | ||
9794a8cd AC |
2324 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if |
2325 | HAVE_CARBON is defined. | |
2326 | ||
ced89c24 RS |
2327 | 2002-07-31 Richard M. Stallman <rms@gnu.org> |
2328 | ||
2329 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
2330 | then make widget_value trees from them. | |
2331 | Don't allocate any widget_value objects | |
2332 | until we are done with the parsing. | |
2333 | (parse_single_submenu): New function. | |
2334 | (digest_single_submenu): New function. | |
2335 | (single_submenu): Function deleted, replaced by those two. | |
2336 | ||
45de4a6f JB |
2337 | 2002-07-30 Juanma Barranquero <lektu@terra.es> |
2338 | ||
2339 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
2340 | `w32-get-true-file-attributes'. | |
2341 | ||
3ea1bfb2 RS |
2342 | 2002-07-28 Richard M. Stallman <rms@gnu.org> |
2343 | ||
2344 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
2345 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
45de4a6f | 2346 | |
3ea1bfb2 RS |
2347 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. |
2348 | ||
2349 | * keyboard.c (make_lispy_event): | |
2350 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
2351 | Explicitly clear up_modifier in event->modifiers. | |
2352 | ||
01af8a38 RS |
2353 | 2002-07-27 Richard M. Stallman <rms@gnu.org> |
2354 | ||
2355 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
2356 | ||
2357 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
2358 | for bar cursor. | |
2359 | ||
5483cd4e KH |
2360 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> |
2361 | ||
2362 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
2363 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
2364 | it in the normal loop. | |
2365 | ||
acfca545 RS |
2366 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> |
2367 | ||
2368 | * xterm.c (expose_overlaps): New function. | |
2369 | (expose_window): Use it to fix the display of overlapping rows. | |
2370 | ||
2371 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
2372 | ||
be3abfa2 KR |
2373 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> |
2374 | ||
2375 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
2376 | since it only depends on XUINT. | |
2377 | ||
2378 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
2379 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
2380 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
2381 | Macros deleted. | |
2382 | ||
2383 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer | |
2384 | its value over other approaches. | |
2385 | * sysdep.c (start_of_data): Don't define the function if a macro | |
2386 | form has been defined. | |
2387 | ||
9a654855 RS |
2388 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
2389 | ||
2390 | * xdisp.c (redisplay_updating_p): New variable. | |
2391 | (init_iterator): Don't free realized faces when | |
2392 | redisplay_updating_p is set. | |
2393 | (redisplay_internal): Set redisplay_updating_p while updating | |
2394 | the display. | |
2395 | ||
6076e561 RS |
2396 | 2002-07-23 Richard M. Stallman <rms@gnu.org> |
2397 | ||
2398 | * editfns.c (Fmessage): Treat "" like nil. | |
2399 | ||
1d1b6e6a KH |
2400 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> |
2401 | ||
2c568af5 SM |
2402 | * xdisp.c (face_before_or_after_it_pos): |
2403 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
1d1b6e6a | 2404 | |
c9a883b8 JB |
2405 | 2002-07-22 Juanma Barranquero <lektu@terra.es> |
2406 | ||
2c568af5 SM |
2407 | * callproc.c (init_callproc) [DOS_NT]: |
2408 | Initialize Vshared_game_score_directory to nil. | |
c9a883b8 JB |
2409 | (syms_of_callproc) [DOS_NT]: Likewise. |
2410 | ||
72b8c434 RS |
2411 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> |
2412 | ||
2413 | * xdisp.c (display_line): Replace an abort with xassert. | |
2414 | ||
a8bbe549 RS |
2415 | 2002-07-21 Richard M. Stallman <rms@gnu.org> |
2416 | ||
2417 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
2418 | and END_UNCHANGED when setting buffer_unchanged_p. | |
2419 | Use current_matrix_up_to_date_p to decide whether to use | |
2420 | try_cursor_movement. | |
2421 | ||
2422 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
2423 | ||
2424 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
2425 | ||
2426 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
2427 | Set to nil if dir does not exist. | |
2428 | (syms_of_callproc): Init unconditionally and simply. | |
2429 | ||
2430 | * buffer.c (Fbuffer_list): Doc fix. | |
2431 | ||
bb63c5c9 KR |
2432 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> |
2433 | ||
56468649 KR |
2434 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. |
2435 | ||
bb63c5c9 | 2436 | * buffer.c (mmap_realloc): When shrinking, make sure number of |
3fb7ef6f | 2437 | pages to unmap is rounded towards zero. |
bb63c5c9 | 2438 | |
4648267b | 2439 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. |
915882da | 2440 | (XSETINT): Deleted. |
4648267b | 2441 | |
b0e057bc KR |
2442 | * m/att3b.h (XINT): Don't define. |
2443 | (VALBITS, VALMASK, XTYPE): Deleted. | |
2444 | (DATA_SEG_BITS): Define. | |
2445 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
2446 | ARRAY_MARK_FLAG): Deleted. | |
2447 | (DATA_SEG_BITS): Define. | |
2448 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
2449 | (DATA_SEG_BITS): Define. | |
2450 | ||
56592beb RS |
2451 | 2002-07-20 Richard M. Stallman <rms@gnu.org> |
2452 | ||
2453 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
2454 | Calls changed. | |
45de4a6f | 2455 | |
56592beb RS |
2456 | * lisp.h (print_error_message): Declare new args. |
2457 | ||
2458 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
2459 | and CONTEXT to print_error_message, don't print them here. | |
2460 | For a Quit, don't use Vsignaling_function. | |
2461 | Call message_log_maybe_newline. | |
45de4a6f | 2462 | |
56592beb RS |
2463 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. |
2464 | ||
2465 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
2466 | ||
2467 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
2468 | ||
dffb0c47 KR |
2469 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> |
2470 | ||
2471 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
2472 | point to const. | |
2473 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
2474 | const. | |
2475 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
2476 | * coding.c (encode_eol, detect_coding, detect_eol): | |
2c568af5 SM |
2477 | (decode_coding, encode_coding, detect_coding_system): |
2478 | Source strings now treated as const. | |
dffb0c47 KR |
2479 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to |
2480 | modify Lisp string contents. | |
2481 | * coding.h (decode_coding, encode_coding, detect_coding, | |
2482 | detect_eol): Declarations updated. | |
2483 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
2484 | as const. | |
2485 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
2486 | * lisp.h (STRING_COPYIN): New macro. | |
2487 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
2488 | (internal_with_output_to_temp_buffer): Declarations updated. | |
2489 | * print.c (temp_output_buffer_setup): | |
2490 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
2491 | pointer to const. | |
2492 | * sound.c (struct sound_device): Function pointer field "write" | |
2493 | buffer argument now points to const. | |
2494 | (vox_write): Buffer argument points to const. | |
2495 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
2496 | contents as const. | |
405ea71c KR |
2497 | * sysdep.c (emacs_write): Buffer pointer now const. |
2498 | * term.c (encode_terminal_code): Buffer pointer now const. | |
2c568af5 | 2499 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. |
dffb0c47 | 2500 | (x_face_list_fonts, x_update_menu_appearance): |
2c568af5 | 2501 | (hash_string_case_insensitive): Treat Lisp string contents as const. |
dffb0c47 | 2502 | |
dd8d66ad JB |
2503 | 2002-07-19 Juanma Barranquero <lektu@terra.es> |
2504 | ||
0dac4f85 | 2505 | * fileio.c (Ffile_name_as_directory): Fix argument name in docstring. |
8cfd6446 | 2506 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. |
0dac4f85 | 2507 | |
dd8d66ad JB |
2508 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
2509 | ||
2510 | * fileio.c (syms_of_fileio): Likewise. | |
2511 | ||
f33f4398 RS |
2512 | 2002-07-18 Richard M. Stallman <rms@gnu.org> |
2513 | ||
2514 | * data.c (Fdefalias): Doc fix. | |
2515 | ||
f860212e DL |
2516 | 2002-07-17 Dave Love <fx@gnu.org> |
2517 | ||
46f4bf30 DL |
2518 | * intervals.h (text_property_stickiness): Use P_. |
2519 | ||
f860212e DL |
2520 | * ccl.c: Remove `emacs' conditionals. |
2521 | (ccl_backtrace_table): Fix size spec. | |
2522 | (ccl_driver): Fix type errors. | |
2523 | ||
674537ea KR |
2524 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> |
2525 | ||
bd66096a KR |
2526 | * alloc.c (xstrdup, make_string, make_unibyte_string) |
2527 | (make_multibyte_string, build_string): String pointer args now | |
2528 | point to const. | |
2529 | * charset.c (find_charset_in_text, c_string_width): | |
2530 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
2531 | * fileio.c (report_file_error): | |
2532 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
2533 | (count_combining_before, count_combining_after, insert_1_both): | |
2534 | (insert, insert_and_inherit, insert_string): | |
2535 | (insert_before_markers, insert_before_markers_and_inherit): | |
2536 | * lread.c (intern, oblookup, hash_string): | |
2537 | * minibuf.c (temp_echo_area_glyphs): | |
2538 | * search.c (fast_c_string_match_ignore_case): | |
2539 | * sysdep.c (emacs_open, set_file_times): | |
2540 | * xfaces.c (xstricmp): | |
2541 | * xdisp.c (store_frame_title, string_char_and_length): | |
2542 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
2543 | (set_message_1): Cast message string argument to const pointer. | |
2544 | * editfns.c (general_insert_function): Insertion function now | |
2545 | takes pointer to const for input data. | |
2546 | * charset.h (find_charset_in_text, c_string_width): | |
2547 | (parse_str_as_multibyte): Declarations updated. | |
2548 | * dispextern.h (xstricmp): Declaration updated. | |
2549 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
2550 | (count_size_as_multibyte, count_combining_before): | |
2551 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
2552 | (insert, insert_and_inherit, insert_before_markers) | |
2553 | (insert_before_markers_and_inherit, set_message, message2): | |
2554 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
2555 | (make_multibyte_string, intern, oblookup, report_file_error): | |
2556 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
2557 | (emacs_open, xstrdup): Declarations updated. | |
2558 | * systime.h (set_file_times): Declaration updated. | |
2559 | ||
2560 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
2561 | for pointer to lisp string data. | |
2562 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
2563 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
2564 | * coding.c (Ffind_coding_systems_region_interval): | |
2565 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
2566 | (Fmake_directory_internal, Fdelete_directory): | |
2567 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
2568 | * fontset.c (font_family_registry, fs_query_fontset): | |
2569 | (list_fontsets): | |
2570 | * frame.c (Fframe_parameter): | |
2571 | * keyboard.c (cmd_error_internal): | |
2572 | * keymap.c (Fdescribe_buffer_bindings): | |
2573 | * lread.c (complete_filename_p, openp): | |
2574 | * minibuf.c (Fminibuffer_complete_word): | |
2575 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
2576 | (face_before_or_after_it_pos, next_element_from_string): | |
2577 | (get_overlay_arrow_glyph_row, display_mode_element): | |
2578 | (decode_mode_spec_coding): | |
2579 | * xterm.c (same_x_server): Likewise. | |
2580 | ||
943afcc7 KR |
2581 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" |
2582 | settings of non-existent fields. | |
2583 | ||
2584 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
2585 | copy a lisp value. | |
2586 | ||
2587 | * lread.c (Fintern_soft): Use string macros instead of | |
2588 | Lisp_String fields. | |
1b049b51 KR |
2589 | * keyboard.c (echo_char, parse_modifiers_uncached): |
2590 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
943afcc7 KR |
2591 | * textprop.c (validate_interval_range, interval_of): Likewise. |
2592 | ||
36595814 | 2593 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. |
9f5348e3 | 2594 | |
36595814 SM |
2595 | * charset.h (FETCH_STRING_CHAR_ADVANCE) |
2596 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
9f5348e3 KR |
2597 | XSTRING()->size_byte. |
2598 | ||
7da167cd KR |
2599 | * lisp.h (SDATA, SREF): Produce rvalue. |
2600 | (SSET): New macro. | |
2601 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
2602 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
2603 | a string. | |
2604 | * casefiddle.c (casify_object): Use SSET. | |
36595814 SM |
2605 | * charset.h (FETCH_STRING_CHAR_ADVANCE) |
2606 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
7da167cd KR |
2607 | address of string contents. |
2608 | * data.c (Faref): Use SDATA. | |
2609 | (Faset): Use SDATA, SSET. | |
2610 | * dired.c (directory_files_internal): Use SSET. | |
2611 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
2612 | (Fread_file_name): Use SREF, SSET. | |
2613 | * fns.c (concat): Use SSET. | |
2614 | (concat, Fdelete): Use SDATA. | |
2615 | * insdel.c (insert_from_string_1): Use SDATA. | |
2616 | * keyboard.c (Fevent_convert_list): Use SREF. | |
2617 | * lread.c (Fload): Use SDATA, SSET. | |
2618 | * macfns.c (validate_x_resource_name): Use SSET. | |
2619 | * process.c (status_message): Use SSET. | |
2620 | * search.c (wordify): Use SDATA. | |
2621 | (Freplace_match): Use SREF. | |
2622 | * w32fns.c (validate_x_resource_name): Use SSET. | |
2623 | * xfns.c (validate_x_resource_name): Use SSET. | |
2624 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
674537ea | 2625 | |
9ee49ebc RS |
2626 | 2002-07-16 Richard M. Stallman <rms@gnu.org> |
2627 | ||
2628 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
2629 | ||
2630 | * xdisp.c (reconsider_clip_changes): | |
2631 | Don't test prevent_redisplay_optimizations_p. | |
2632 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
2633 | along with clip_changed in some cases. | |
2634 | (try_window_id): Likewise. | |
2635 | (redisplay_window): New local var buffer_unchanged_p. | |
2636 | ||
2637 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
2638 | ||
2639 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
2640 | (process_send_signal): Clean up handling of GID. | |
2641 | Detect errors in ioctls meant to set GID. | |
2642 | ||
2643 | * window.c (temp_output_buffer_show): | |
2644 | Don't set prevent_redisplay_optimizations_p. | |
2645 | ||
d907a3bf JB |
2646 | 2002-07-15 Juanma Barranquero <lektu@terra.es> |
2647 | ||
2648 | * eval.c (Fdefvaralias): Add docstring argument. | |
2649 | ||
9056febe KR |
2650 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> |
2651 | ||
2652 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
2653 | (STRING_SET_INTERVALS): New macro. | |
2654 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
2655 | * fns.c (Fstring_as_multibyte): Likewise. | |
979a8abc SM |
2656 | * intervals.c (balance_possible_root_interval, delete_interval) |
2657 | (create_root_interval, copy_intervals_to_string): Likewise. | |
9056febe KR |
2658 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL |
2659 | instead of 0. | |
2660 | ||
d5db4077 KR |
2661 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> |
2662 | ||
bee91904 KR |
2663 | * lisp.h (STRING_SET_CHARS): New macro. |
2664 | (SCHARS, SBYTES): Produce rvalues. | |
2665 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
2666 | * fns.c (concat): Likewise. | |
2667 | * lread.c (read_vector): Likewise. | |
2668 | ||
d5db4077 KR |
2669 | * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE. |
2670 | (STRING_SET_UNIBYTE): New macro. | |
2671 | (SET_STRING_BYTES): Deleted. Callers (all of which supplied a | |
2672 | length of -1) changed to use STRING_SET_UNIBYTE. | |
d5db4077 KR |
2673 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
2674 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
2675 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
2676 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
2677 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
2678 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
2679 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
2680 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
2681 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
2682 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
2683 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
2684 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
2685 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
2686 | unchanged for now. | |
2687 | ||
aae2ce50 KS |
2688 | 2002-07-13 Kim F. Storm <storm@cua.dk> |
2689 | ||
2690 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
2691 | ||
a8fda945 RS |
2692 | 2002-07-12 Richard M. Stallman <rms@gnu.org> |
2693 | ||
32a86c99 RS |
2694 | * fileio.c (Fwrite_region): Doc fix. |
2695 | ||
a8fda945 RS |
2696 | * print.c (print_error_message): Don't handle Vsignaling_function here. |
2697 | ||
2698 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
2699 | (command_loop_1): Avoid certain actions after memory-full error. | |
2700 | ||
2701 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
2702 | For a memory-full error, don't call Vsignal_hook_function | |
2703 | and don't set Vsignaling_function. | |
2704 | ||
2705 | * process.c (process_send_signal): Add abort call. | |
2706 | ||
35936c5c MR |
2707 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> |
2708 | ||
2709 | * keymap.c (Fkey_binding): Fix typo. | |
2710 | ||
42cec426 RS |
2711 | 2002-07-11 Richard M. Stallman <rms@gnu.org> |
2712 | ||
a8fda945 RS |
2713 | * alloc.c (Vmemory_full): New variable. |
2714 | (Vmemory_signal_data): Renamed from memory_signal_data. | |
2715 | Uses changed. | |
2716 | (syms_of_alloc): Defvar them. | |
2717 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
979a8abc | 2718 | |
a8fda945 RS |
2719 | * lisp.h (Vmemory_full): Add declaration. |
2720 | (current_column, indented_beyond_p): Change declaration. | |
2721 | ||
2722 | * indent.c (last_known_column): Declare as double, not float. | |
2723 | (current_column, current_column_1, string_display_width) | |
2724 | (position_indentation): Return `double'. | |
2725 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
979a8abc | 2726 | |
a8fda945 | 2727 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. |
979a8abc SM |
2728 | (back_to_previous_visible_line_start) |
2729 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
a8fda945 RS |
2730 | Use `double', not `float', when calling indented_beyond_p. |
2731 | ||
42cec426 RS |
2732 | * s/hpux11.h (BROKEN_SA_RESTART): Defined. |
2733 | ||
2734 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
2735 | ||
89297f23 JB |
2736 | 2002-07-11 Juanma Barranquero <lektu@terra.es> |
2737 | ||
71c5e9bb JB |
2738 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, |
2739 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, | |
2740 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
2741 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
2742 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
2743 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
89297f23 | 2744 | |
3cca0d40 JB |
2745 | 2002-07-10 Juanma Barranquero <lektu@terra.es> |
2746 | ||
2747 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers | |
2748 | changed. | |
2749 | ||
f61cd322 SM |
2750 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> |
2751 | ||
979a8abc SM |
2752 | * data.c (Fdefalias): Add an optional `docstring' argument. |
2753 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
2754 | ||
2755 | * composite.c (HASH_VALUE, HASH_KEY): | |
f61cd322 SM |
2756 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). |
2757 | ||
282b5fb7 KH |
2758 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> |
2759 | ||
2760 | * callproc.c (Fcall_process): Fix previous change. | |
2761 | ||
5d733a9c SM |
2762 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> |
2763 | ||
2764 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
2765 | Add support for hash-tables. | |
2766 | (Ftry_completion): Return t even if the string appears multiple times. | |
2767 | ||
2768 | * fns.c (Fnconc): Use XCDR. | |
2769 | (Fprovide): Use CONSP and XCDR. | |
2770 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
2771 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
2772 | (Fmake_hash_table): Accept `:size nil'. | |
2773 | (Fmakehash): Delete: moved to subr.el. | |
2774 | (syms_of_fns): Don't defsubr makehash. | |
2775 | ||
2776 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
2777 | (HASH_TABLE_SIZE): Move from fns.c. | |
2778 | ||
af7272b1 RS |
2779 | 2002-07-07 Richard M. Stallman <rms@gnu.org> |
2780 | ||
2781 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
2782 | Instead just return 0 when there is something to be done. | |
2783 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
2784 | retry scrolling as if cursor were off the bottom. | |
2785 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
2786 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
2787 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
2788 | go to try_to_scroll. | |
2789 | ||
2790 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
2791 | so we get the up-to-date value for the binding that is loaded. | |
2792 | ||
2793 | * eval.c (Fdefmacro): Doc fix. | |
2794 | ||
9406d1d9 DL |
2795 | 2002-07-05 Dave Love <fx@gnu.org> |
2796 | ||
2797 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
2798 | correctly. | |
2799 | ||
2800 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
2801 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
2802 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
2803 | CCL_LookupCharConstTbl. | |
2804 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
2805 | ||
89297f23 | 2806 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
e9b60209 PJ |
2807 | |
2808 | * xdisp.c: Remove unused variable `face'. | |
2809 | ||
cf9b6656 JB |
2810 | 2002-07-04 Juanma Barranquero <lektu@terra.es> |
2811 | ||
2812 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
2813 | obsolescence information. | |
2814 | ||
a0f593ff AC |
2815 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> |
2816 | ||
10ba2aec AC |
2817 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching |
2818 | pattern. Search cache first. | |
2819 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
2820 | for Japanese font. | |
a0f593ff AC |
2821 | (XLoadQueryFont): Use it. |
2822 | ||
64805fb0 RS |
2823 | 2002-07-02 Richard M. Stallman <rms@gnu.org> |
2824 | ||
2825 | * keymap.c (Fdefine_key): Doc fix. | |
2826 | ||
2827 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
2828 | ||
df1890b0 JB |
2829 | 2002-07-02 Juanma Barranquero <lektu@terra.es> |
2830 | ||
2831 | * keymap.c (syms_of_keymap): Fix typo. | |
2832 | ||
bc21bf11 AC |
2833 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> |
2834 | ||
09740ad8 AC |
2835 | * s/darwin.h: Define POSIX_SIGNALS. |
2836 | ||
bc21bf11 AC |
2837 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef |
2838 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
2839 | Posix pathname. | |
5d733a9c SM |
2840 | (mac_initialize) [TARGET_API_MAC_CARBON]: |
2841 | Call init_required_apple_events and disable the `Quit' menu item | |
bc21bf11 AC |
2842 | provided automatically by the Carbon Toolbox. |
2843 | ||
dc976f2c DL |
2844 | 2002-07-01 Dave Love <fx@gnu.org> |
2845 | ||
2846 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
2847 | for K&R. | |
2848 | ||
2849 | * xterm.c: Fix prototype for K&R. | |
2850 | ||
2851 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
2852 | ||
ec962374 RS |
2853 | 2002-07-01 Richard M. Stallman <rms@gnu.org> |
2854 | ||
2855 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
2856 | (timer_start_idle): Set that. | |
2857 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
2858 | to previous value. | |
cf9b6656 | 2859 | |
ec962374 RS |
2860 | * window.c (Frecenter): With arg, set optional_new_start. |
2861 | ||
2862 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
2863 | ||
2864 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
2865 | buffer for completion. | |
2866 | ||
c8224325 KR |
2867 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> |
2868 | ||
2869 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
2870 | ||
a97e4138 | 2871 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20057d52 JD |
2872 | |
2873 | * keyboard.c (readable_filtered_events): New function that filters | |
2874 | FOCUS_IN_EVENT depending on parameter. | |
2875 | (readable_events): Calls readable_filtered_events, not filtering | |
2876 | FOCUS_IN_EVENT. | |
2877 | (get_filtered_input_pending): New function, filtering parameter passed | |
2878 | to readable_filtered_events. | |
2879 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
2880 | FOCUS_IN_EVENT. | |
2881 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
2882 | FOCUS_IN_EVENT. | |
2883 | ||
2884 | * xterm.h (struct x_output): Add focus_state. | |
2885 | ||
2886 | * xterm.c (x_focus_changed): New function. | |
2887 | (x_detect_focus_change): New function. | |
2888 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
2889 | EnterNotify and LeaveNotify to track X focus changes. | |
2890 | ||
1aa1cb66 AS |
2891 | 2002-06-28 Andreas Schwab <schwab@suse.de> |
2892 | ||
2c568af5 | 2893 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. |
1aa1cb66 | 2894 | |
377408cf KS |
2895 | 2002-06-27 Kim F. Storm <storm@cua.dk> |
2896 | ||
2897 | * xdisp.c: (mode_line_string_list, mode_line_string_face) | |
2898 | (mode_line_string_face_prop): New variables. | |
2899 | (store_mode_line_string): New function. | |
2900 | (display_mode_element): Use store_mode_line_string to | |
2901 | add mode-line string elements to mode_line_string_list | |
2902 | when mode_line_string_list is non-nil. | |
2903 | (Fformat_mode_line): Now returns propertized string by | |
2904 | default. New arg NO-PROPS to ignore properties. | |
2905 | (decode_mode_spec): Only add two dashes for %- in propertized | |
2906 | mode-line string. | |
2907 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
cf9b6656 | 2908 | |
5b62b301 SM |
2909 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> |
2910 | ||
2911 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
2912 | ||
23a3b598 JB |
2913 | 2002-06-27 Juanma Barranquero <lektu@terra.es> |
2914 | ||
5b62b301 | 2915 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. |
23a3b598 | 2916 | |
7182e608 JB |
2917 | 2002-06-26 Juanma Barranquero <lektu@terra.es> |
2918 | ||
2919 | * fileio.c (read_file_name_cleanup): Add missing return. | |
2920 | ||
6c488ddb RS |
2921 | 2002-06-26 Richard M. Stallman <rms@gnu.org> |
2922 | ||
8ce9dfc1 RS |
2923 | * window.c (Frecenter): Don't set force_start flag. |
2924 | ||
5b62b301 | 2925 | * minibuf.c (do_completion, Fminibuffer_complete_word) |
8ce9dfc1 RS |
2926 | (Fminibuffer_completion_help): Complete just the text before point. |
2927 | (minibuffer_completion_contents): New function. | |
2928 | ||
6c488ddb RS |
2929 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. |
2930 | ||
2931 | * frame.c (frames_bury_buffer): Function deleted. | |
2932 | ||
c2b736ca MB |
2933 | 2002-06-25 Miles Bader <miles@gnu.org> |
2934 | ||
2935 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
2936 | the end of callint_message, allow for a terminating '\0'. | |
2937 | ||
d0db8f56 JB |
2938 | 2002-06-24 Juanma Barranquero <lektu@terra.es> |
2939 | ||
2940 | * w32select.c: Include composite.h | |
2941 | ||
f7d05dc4 JB |
2942 | * w16select.c: Likewise. |
2943 | ||
24df0f36 KH |
2944 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> |
2945 | ||
2946 | * callproc.c (Fcall_process): If code detection is necessary, | |
2947 | call detect_coding directly here. | |
2948 | ||
2949 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
2950 | ||
2c568af5 SM |
2951 | * w16select.c (Fw16_get_clipboard_data): |
2952 | * w32fns.c (w32_to_x_font): | |
2953 | * w32select.c (Fw32_get_clipboard_data): | |
2954 | * xselect.c (selection_data_to_lisp_data): | |
24df0f36 KH |
2955 | * xterm.c (XTread_socket): Disable composition handling. |
2956 | ||
04f13f39 SM |
2957 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> |
2958 | ||
2959 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
2960 | ||
f352c826 SM |
2961 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> |
2962 | ||
11554bdd SM |
2963 | * lread.c (Fread): Remove redundant and imprecise declaration. |
2964 | ||
2965 | * xfns.c (check_x_display_info): Use check_x_frame. | |
2966 | ||
f352c826 SM |
2967 | * .gdbinit (xprintsym): Use the new `xname' field. |
2968 | (xsymbol): Use it. | |
2969 | ||
1030b26b JR |
2970 | 2002-06-22 Jason Rumney <jasonr@gnu.org> |
2971 | ||
2972 | * w32fns.c (file_dialog_callback): New function. | |
2973 | (Fx_file_dialog): Allow selecting directories as well as files. | |
2974 | ||
bc21bf11 | 2975 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
29c3cbf0 PJ |
2976 | |
2977 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
2978 | OpenBSD. Add support for mipseb-*-netbsd* machines. | |
2979 | ||
b432b442 AC |
2980 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
2981 | ||
2d97ff8c AC |
2982 | * macterm.c (mac_scroll_area): Set foreground and backcolor to |
2983 | black and white before scrolling. Restore frame background and | |
2984 | foreground color after scrolling. | |
2985 | (do_window_update): Call XClearWindow before calling expose_frame. | |
2986 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
2987 | FRAME_FOREGROUND_PIXEL of frame. | |
f352c826 | 2988 | |
b432b442 AC |
2989 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
2990 | test Mac command key as <ALT> key. | |
2991 | ||
f9c0c10f SM |
2992 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> |
2993 | ||
65e0fbbf SM |
2994 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. |
2995 | ||
2996 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
2997 | Lookup keys in function-key-map immediately so that key-translation-map | |
2998 | can be applied earlier. | |
2999 | Remove function_key_possible and key_translation_possible, replaced | |
3000 | by checking `keytran_start < t'. | |
3001 | ||
f352c826 | 3002 | * .gdbinit (xsymbol): Use the new `xname' field. |
f9c0c10f | 3003 | |
84c0c2cc AC |
3004 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
3005 | ||
b432b442 AC |
3006 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
3007 | test Mac command key as <ALT> key. | |
3008 | ||
84c0c2cc | 3009 | * mac.c (do_applescript): Call initialize_applescript if necessary |
f9c0c10f | 3010 | when first called. Dispose of result_desc only when there is no error. |
84c0c2cc | 3011 | (Fdo_applescript): Use %d format specifier instead of %ld. |
f9c0c10f | 3012 | |
f00691a3 AC |
3013 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> |
3014 | ||
b6cce0b7 AC |
3015 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead |
3016 | of FrontWindow for cases keyDown and autoKey. | |
3017 | ||
f00691a3 AC |
3018 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of |
3019 | Vdefault_fontset to Monaco with mac-roman coding. | |
3020 | ||
3021 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
3022 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
3023 | ||
3024 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
3025 | cursor_gc. | |
3026 | (add_font_name_table_entry): New function. | |
3027 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
3028 | bold, and bold-italic entries for truetype fonts. | |
3029 | ||
3030 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
3031 | for Mac too. | |
3032 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
3033 | fonts with any registry matching face_family. | |
f9c0c10f | 3034 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. |
f00691a3 AC |
3035 | |
3036 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
3037 | LIBS_TERMCAP to -lncurses to use it. | |
f9c0c10f | 3038 | |
5fd4d159 EZ |
3039 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> |
3040 | ||
3041 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
3042 | ||
93731c54 RS |
3043 | 2002-06-15 Richard M. Stallman <rms@gnu.org> |
3044 | ||
3045 | * window.c (Fset_window_configuration): Explicitly preserve | |
3046 | the point value that new_current_buffer had at the start. | |
3047 | ||
2268661a JB |
3048 | 2002-06-14 Juanma Barranquero <lektu@terra.es> |
3049 | ||
3050 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
3051 | Fix typos. | |
3052 | ||
e4f10c83 KS |
3053 | 2002-06-14 Kim F. Storm <storm@cua.dk> |
3054 | ||
3055 | * insdel.c (insert_1_both, insert_from_string_1) | |
3056 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
3057 | insert happened in the end_unchanged region. Otherwise, the | |
3058 | redisplay may be confused and duplicate the last line in the | |
3059 | buffer [seen after save-buffer when require-final-newline==t]. | |
3060 | ||
960f21ae JR |
3061 | 2002-06-13 Jason Rumney <jasonr@gnu.org> |
3062 | ||
3063 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
91224f9e | 3064 | (stat): Swap _S_IFDIR and _S_IFREG. |
960f21ae | 3065 | |
f00691a3 | 3066 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
e43bd4f5 | 3067 | |
cc1b792b PJ |
3068 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c |
3069 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
3070 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
3071 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
3072 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
3073 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
3074 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
3075 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
3076 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
3077 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
e43bd4f5 PJ |
3078 | SELECTION_REQUEST_EVENT, selection_clear_event to |
3079 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
3080 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
3081 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
3082 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
cc1b792b PJ |
3083 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and |
3084 | no_event to NO_EVENT. | |
e43bd4f5 | 3085 | |
f00691a3 | 3086 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3e8cc4d PJ |
3087 | |
3088 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
3089 | ||
91b53904 SM |
3090 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> |
3091 | ||
3092 | * intervals.c (textget): Don't forget to `return'. | |
3093 | (lookup_char_property): Use XCAR/XCDR. | |
3094 | ||
8b22c65a JB |
3095 | 2002-06-12 Juanma Barranquero <lektu@terra.es> |
3096 | ||
3097 | * xdisp.c (Fformat_mode_line): Fix typo. | |
3098 | ||
aba91547 KS |
3099 | 2002-06-12 Kim F. Storm <storm@cua.dk> |
3100 | ||
3101 | * xdisp.c (Fformat_mode_line): New function. | |
3102 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
3103 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
3104 | (init_xdisp): Defsubr Fformat_mode_line. | |
3105 | Initialize frame_title_buf etc. unconditionally. | |
3106 | ||
2cf4b7b2 SM |
3107 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> |
3108 | ||
3109 | * keyboard.c (read_key_sequence): | |
3110 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
3111 | things through those maps after downcasing events. | |
3112 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
3113 | applies after function-key-map. | |
3114 | Make sure that keytran can be done in the middle in the sequence. | |
3115 | Be careful not to throw away events past the one we downcase. | |
3116 | ||
3117 | * lread.c (read_integer): Remove unused var `tem'. | |
3118 | (read1): Fix int/Lisp_Object mixup. | |
3119 | ||
3120 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
3121 | ||
0672b5a0 RS |
3122 | 2002-06-11 Richard M. Stallman <rms@gnu.org> |
3123 | ||
3124 | * keyboard.c (readable_events): Ignore any number of | |
3125 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
3126 | ||
ab2e49a0 MB |
3127 | 2002-06-09 Miles Bader <miles@gnu.org> |
3128 | ||
3129 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
3130 | (parse_rgb_list, tty_lookup_color): New functions. | |
3131 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
3132 | (color_distance, Fcolor_distance): New functions. | |
3133 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
3134 | (Qtty_color_standard_values): New variable. | |
3135 | (syms_of_xfaces): Initialize new vars & functions. | |
3136 | ||
a8f57660 CW |
3137 | 2002-06-08 Colin Walters <walters@verbum.org> |
3138 | ||
3139 | * textprop.c (Vchar_property_alias_alist): New variable. | |
2cf4b7b2 | 3140 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. |
a8f57660 CW |
3141 | |
3142 | * intervals.c (lookup_char_property): New function for looking up | |
3143 | overlay and text properties, created from textget. | |
3144 | (textget): Use it. | |
2cf4b7b2 | 3145 | |
a8f57660 CW |
3146 | * intervals.h (lookup_char_property): Declare. |
3147 | (Vchar_property_alias_alist): Declare. | |
3148 | ||
3149 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
3150 | ||
1b65481e SS |
3151 | 2002-06-07 Sam Steingold <sds@gnu.org> |
3152 | ||
3153 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
3154 | *data_ret is not a Lisp string, while unibyte_string is. | |
3155 | ||
9cbd5852 EZ |
3156 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> |
3157 | ||
2cf4b7b2 SM |
3158 | * xselect.c (lisp_data_to_selection_data): Fix last change: |
3159 | set size_ret. | |
9cbd5852 | 3160 | |
3fa4ac47 AS |
3161 | 2002-06-07 Andreas Schwab <schwab@suse.de> |
3162 | ||
3163 | * m/amdx86-64.h: New file. | |
3164 | ||
ebadb1e4 EZ |
3165 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> |
3166 | ||
4ddc38a1 EZ |
3167 | * fns.c (Fstring_make_unibyte): Doc fix. |
3168 | ||
8f9b87b5 EZ |
3169 | * xselect.c (lisp_data_to_selection_data): If the requested type |
3170 | is STRING, call string_make_unibyte to encode the selected text | |
3171 | as a string. | |
3172 | ||
ebadb1e4 EZ |
3173 | * window.c (Fset_window_hscroll): Doc fix. |
3174 | ||
f00691a3 | 3175 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1909941a | 3176 | |
2cf4b7b2 SM |
3177 | * fileio.c (choose_write_coding_system): |
3178 | Call select-safe-coding-system properly. | |
1909941a | 3179 | |
3a2ff803 RS |
3180 | 2002-06-03 Richard M. Stallman <rms@gnu.org> |
3181 | ||
3182 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
3183 | ||
3184 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
3185 | ||
3186 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
3187 | Vselect_safe_coding_system_function. | |
3188 | ||
382f558b | 3189 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> |
504322ad | 3190 | |
2cf4b7b2 | 3191 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. |
504322ad | 3192 | |
e2c0561e TTN |
3193 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> |
3194 | ||
3195 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
3196 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
3197 | * keymap.c (describe_command): Likewise. | |
3198 | * minibuf.c (read_minibuf): Likewise. | |
3199 | ||
3200 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
3201 | Cast `current_column' return value to int. | |
2cf4b7b2 SM |
3202 | (back_to_previous_visible_line_start) |
3203 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
e2c0561e TTN |
3204 | Cast `indented_beyond_p' 3rd arg to float. |
3205 | ||
3206 | * indent.c (last_known_column): Now a float. | |
2cf4b7b2 SM |
3207 | (current_column_1, position_indentation, current_column) |
3208 | (string_display_width): Return float. | |
e2c0561e TTN |
3209 | (Fcurrent_column): Cast `current_column' return value to int. |
3210 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
3211 | (indented_beyond_p): Third arg now a float. | |
3212 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
3213 | ||
3214 | * lisp.h (current_column): Now returns float. | |
3215 | (indented_beyond_p): 3rd arg now a float. | |
3216 | ||
420a345c EZ |
3217 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> |
3218 | ||
43dc73f1 EZ |
3219 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system |
3220 | is Qcompound_text_with_extensions. | |
3221 | ||
3222 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
3223 | type as string if x_encode_text returns streingp non-NULL. | |
3224 | ||
420a345c EZ |
3225 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. |
3226 | ||
a71867c5 RS |
3227 | 2002-05-30 Richard M. Stallman <rms@gnu.org> |
3228 | ||
3229 | * window.c (Fset_window_configuration): Correct the handling | |
3230 | of point in current buffer, to work with multiple windows. | |
3231 | ||
96801005 CW |
3232 | 2002-05-29 Colin Walters <walters@verbum.org> |
3233 | ||
3234 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
3235 | for C function parameters. | |
3236 | ||
f7e039de RS |
3237 | 2002-05-28 Richard M. Stallman <rms@gnu.org> |
3238 | ||
3239 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
3240 | way for blinked-off state and for a nonselected window. | |
3241 | ||
3242 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
3243 | instead, see if the new start pos is at beginning of line. | |
3244 | ||
3245 | * fileio.c (Fwrite_region): If START is a string, don't | |
3246 | make any annotations. | |
3247 | ||
3248 | * eval.c (syms_of_eval): Doc fix. | |
3249 | ||
532a8e8b CW |
3250 | 2002-05-28 Colin Walters <walters@debian.org> |
3251 | ||
3252 | * emacs.c (USAGE1): Add --no-splash. | |
3253 | (standard_args): Ditto. | |
3254 | ||
3255 | 2002-05-28 Colin Walters <walters@gnu.org> | |
3256 | ||
3257 | * lread.c (readchar_count): New variable. | |
3258 | (readchar): Increment it. | |
3259 | (unreadchar): Decrement it. | |
3260 | (read_multibyte): Decrement it. | |
3261 | (Vread_with_symbol_positions): New variable. | |
3262 | (Vread_symbol_positions_list): New variable. | |
3263 | (read_internal_start): New function, created from Fread and | |
3264 | Fread_from_string. Handle Vread_symbol_positions_list and | |
3265 | Vread_with_symbol_positions. | |
3266 | (readevalloop, Fread, Fread_from_string): Use it. | |
3267 | (read1): Use readchar_count to add symbol positions to | |
2cf4b7b2 | 3268 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. |
532a8e8b CW |
3269 | (syms_of_lread): DEFVAR_LISP and initialize them. |
3270 | ||
3271 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
3272 | (substitute_object_recurse, substitute_object_in_subtree) | |
3273 | (substitute_in_interval): Prototype. | |
3274 | (read_multibyte): Return c if it's less than zero. | |
e2c0561e | 3275 | |
02f20f98 KS |
3276 | 2002-05-28 Kim F. Storm <storm@cua.dk> |
3277 | ||
b44ec8e3 KS |
3278 | * fileio.c (Fread_file_name_internal): Added brute-force |
3279 | speed up for using predicate file-directory-p. | |
3280 | ||
3281 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
3282 | ||
3283 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
02f20f98 KS |
3284 | New variables. |
3285 | (syms_of_fileio): DEFVAR_LISP them. | |
3286 | (read_file_name_cleanup): New unwind function. | |
3287 | (Fread_file_name_internal): Only return completions satifying | |
3288 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
3289 | default-directory while checking completions against the predicate. | |
3290 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
3291 | Vread_file_name_predicate during completion. | |
3292 | Call Vread_file_name_function to read the file name if non-nil. | |
3293 | ||
3294 | * lisp.h (Fread_file_name): Now has 6 args. | |
e2c0561e | 3295 | |
02f20f98 KS |
3296 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p |
3297 | predicate for Fread_file_name when reading directory name. | |
3298 | Supply Qnil for predicate in other calls to Fread_file_name. | |
3299 | ||
9e8abde7 MB |
3300 | 2002-05-26 Miles Bader <miles@gnu.org> |
3301 | ||
3302 | * term.c (tty_capable_p): New function. | |
3303 | * dispextern.h (tty_capable_p): New function declaration. | |
3304 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
3305 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
3306 | ||
3751c81b SM |
3307 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> |
3308 | ||
3309 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
3310 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
3311 | (Vwrite_region_annotate_functions): Docstring fix. | |
3312 | ||
6065f9e2 | 3313 | 2002-05-23 Kim F. Storm <storm@cua.dk> |
39bb5900 KS |
3314 | |
3315 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
3316 | phys_cursor's hpos is overwritten. This is still not completely | |
3317 | correct, as it doesn't really make sense to use hpos at all to | |
3318 | get the cursor glyph (as that is relative to the width of the | |
3319 | characters on the line, which may have changed during the update). | |
3320 | ||
17456df1 JR |
3321 | 2002-05-22 Jason Rumney <jasonr@gnu.org> |
3322 | ||
3323 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
3324 | Lisp_Object. | |
3325 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
3326 | Use modified enumfont_t struct. | |
3327 | ||
3328 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
3751c81b | 3329 | |
17456df1 JR |
3330 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. |
3331 | Handle the `hbar' cursor type. | |
3332 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
3333 | ||
3334 | * w32fns.c (Qhbar): New variable. | |
3335 | (x_specified_cursor_type): Use it. | |
3336 | ||
1b65564c KR |
3337 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> |
3338 | ||
3339 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
3340 | now, when the address is needed. | |
3341 | ||
a7c4d9c8 CW |
3342 | 2002-05-21 Colin Walters <walters@gnu.org> |
3343 | ||
3344 | * Makefile.in (shortlisp): Add font-core.el. | |
3345 | ||
301d4a3f RS |
3346 | 2002-05-20 Richard M. Stallman <rms@gnu.org> |
3347 | ||
cd8d5236 RS |
3348 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. |
3349 | ||
301d4a3f RS |
3350 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list |
3351 | equivalent key bindings here. | |
3352 | ||
07e9823c KR |
3353 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> |
3354 | ||
3355 | Change symbol structure to contain a lisp object for the symbol | |
3356 | name: | |
3357 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
3358 | object field named "xname". | |
3359 | (SYMBOL_NAME): New macro. | |
3360 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
3361 | name field. | |
3362 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
3363 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
3364 | instead of name field. | |
3365 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
3366 | SYMBOL_NAME instead of XSYMBOL and name field. | |
3367 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
3368 | instead of XSYMBOL and name field. | |
3369 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
3370 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
3371 | * coding.c (Fread_coding_system, code_convert_region1) | |
3372 | (code_convert_string1, code_convert_string_norecord) | |
3373 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
3374 | XSYMBOL and name field. | |
3751c81b SM |
3375 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) |
3376 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
07e9823c KR |
3377 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead |
3378 | of XSYMBOL and name field. | |
3379 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
3380 | XSYMBOL and name field. | |
3381 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
3382 | instead of XSYMBOL and name field. | |
3383 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
3384 | XSYMBOL and name field. | |
3751c81b SM |
3385 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): |
3386 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
07e9823c KR |
3387 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING |
3388 | instead of XSYMBOL and name field. | |
3751c81b SM |
3389 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) |
3390 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
3391 | (parse_solitary_modifier, Fexecute_extended_command): | |
3392 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
3393 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
07e9823c KR |
3394 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead |
3395 | of XSYMBOL and name field. | |
3396 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
3397 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
3398 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
3399 | instead of XSYMBOL and name field. | |
3400 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
3401 | name field and XSETSTRING. | |
3402 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
3403 | of XSYMBOL and name field. | |
3404 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
3405 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
3406 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
3407 | XSTRING instead of XSYMBOL and name field. | |
3408 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
3409 | and XSTRING instead of XSYMBOL and name field. | |
3410 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
3411 | and XSTRING instead of XSYMBOL and name field. | |
3412 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
3413 | XSTRING instead of XSYMBOL and name field. | |
3414 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
3415 | of XSYMBOL and name field. | |
3751c81b SM |
3416 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): |
3417 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
07e9823c | 3418 | |
7340cc50 KR |
3419 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> |
3420 | ||
3421 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
3422 | and XCDR real rvalues in most configurations. | |
3423 | ||
3751c81b SM |
3424 | * buffer.c (fix_overlays_in_range, fix_overlays_before): |
3425 | Don't take the address of the cdr part of a cons cell; instead, track | |
7340cc50 KR |
3426 | the parent cell and call XSETCDR, or set the variable for the head |
3427 | of the list if we haven't started down the list yet. | |
3428 | ||
8bad880b RS |
3429 | 2002-05-19 Richard M. Stallman <rms@gnu.org> |
3430 | ||
3431 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
3432 | ||
0708de07 JR |
3433 | 2002-05-18 Jason Rumney <jasonr@gnu.org> |
3434 | ||
3435 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
3436 | (xbm_load_image): Use it. | |
3437 | (xbm_load): Ditto. | |
3438 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
3439 | From David Ponce <david@dponce.com>. | |
3440 | ||
2c978faf EZ |
3441 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> |
3442 | ||
3443 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
3444 | 2.02 and later. | |
3445 | ||
b96fb65c JB |
3446 | 2002-05-16 Juanma Barranquero <lektu@terra.es> |
3447 | ||
3751c81b | 3448 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. |
b96fb65c | 3449 | |
daaf4dfc SM |
3450 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> |
3451 | ||
3452 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
3453 | meaningful test. | |
3454 | (read_char_minibuf_menu_prompt): Fix typo. | |
3455 | ||
f8229bf6 EZ |
3456 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> |
3457 | ||
3458 | * eval.c (Fcommandp): Doc fix. | |
3459 | ||
31bea176 SM |
3460 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> |
3461 | ||
3462 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
3463 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
3464 | (Fset_keymap_parent): Gcpro a bit more. | |
3465 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
3466 | (get_keyelt): Gcpro when following indirect references. | |
3467 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
3468 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
3469 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
3470 | Remove useless ad-hoc remap code. | |
3471 | ||
4d8ff34d KH |
3472 | 2002-05-13 Richard M. Stallman <rms@gnu.org> |
3473 | ||
3474 | * search.c (search_buffer): Give up boyer moore search if inverse | |
3475 | translation change charset_base. | |
3476 | ||
9861e777 EZ |
3477 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> |
3478 | ||
3479 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
3480 | characters is carried over from the previous block of text, adjust | |
3481 | coding->produced to account for the extra character. | |
3482 | ||
eef762fc AS |
3483 | 2002-05-11 Andreas Schwab <schwab@suse.de> |
3484 | ||
3485 | * coding.c (intersection): Keep the elements of the returned list | |
3486 | in the same order as in the first list. | |
3487 | ||
6d8c02ae KS |
3488 | 2002-05-11 Kim F. Storm <storm@cua.dk> |
3489 | ||
3490 | * keymap.c (current_minor_maps): Fixed resizing of cmm_maps; | |
3491 | only update cmm_size if realloc actually succeeds. | |
3492 | Testing with initial size of 2 elements revealed that using | |
3493 | realloc on GNU/Linux would cause a random trap in xmalloc | |
3494 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
3495 | of realloc. | |
3496 | ||
6358474d JR |
3497 | 2002-05-10 Jason Rumney <jasonr@gnu.org> |
3498 | ||
3499 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
3500 | ||
22a2a460 EZ |
3501 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> |
3502 | ||
3503 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
3504 | parens, to ensure correct evaluation order. | |
3505 | ||
05b2c53f KS |
3506 | 2002-05-10 Kim F. Storm <storm@cua.dk> |
3507 | ||
3508 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
3509 | (syms_of_keymap): DEFVAR_LISP it. | |
3510 | (current_minor_maps): Process keymap alists in that list before | |
3511 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
3512 | ||
ccc8c8bb RS |
3513 | 2002-05-09 Richard M. Stallman <rms@gnu.org> |
3514 | ||
3515 | * search.c (Freplace_match): Doc fix. | |
3516 | ||
f2131323 KS |
3517 | 2002-05-09 Kim F. Storm <storm@cua.dk> |
3518 | ||
3751c81b | 3519 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): |
f2131323 KS |
3520 | Enlarge cursor rectangle drawn around image with non-zero relief. |
3521 | ||
3751c81b | 3522 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): |
f2131323 KS |
3523 | Enlarge cursor rectangle drawn around image with non-zero relief. |
3524 | ||
3751c81b | 3525 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): |
f2131323 KS |
3526 | Enlarge cursor rectangle drawn around image with non-zero relief. |
3527 | ||
7b9ae523 EZ |
3528 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> |
3529 | ||
3530 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
3531 | type if comes from the Lisp object's car. If the selection | |
3532 | contains a pure ASCII text, always return QSTRING as its type. | |
3533 | ||
f00691a3 | 3534 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14bda6db PJ |
3535 | |
3536 | * mac.c (mac-cut-function): Doc fix. | |
3537 | ||
6b529d78 RS |
3538 | 2002-05-05 Richard M. Stallman <rms@gnu.org> |
3539 | ||
3540 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
3541 | ||
1d5e0b52 JR |
3542 | 2002-05-04 Jason Rumney <jasonr@gnu.org> |
3543 | ||
5259a0d0 JR |
3544 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 |
3545 | for event-click-count. | |
3546 | ||
1d5e0b52 JR |
3547 | * process.c (init_process): Only add server subfeature if we can |
3548 | use non-blocking I/O. | |
3549 | ||
c7764932 AC |
3550 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> |
3551 | ||
3552 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
3553 | repeatedly. | |
3554 | ||
e151372d JR |
3555 | 2002-05-03 Jason Rumney <jasonr@gnu.org> |
3556 | ||
3557 | * process.c (Fmake_network_process): Only support server sockets | |
3558 | when we can make them non-blocking. | |
3559 | ||
3560 | * s/ms-w32.h (HAVE_SELECT): Define. | |
3561 | ||
3562 | * w32.h (FILE_NDELAY): New flag. | |
3563 | ||
3564 | * w32.c (sys_getpeername, fcntl): New functions. | |
3565 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
3566 | ||
3567 | * w32proc.c: include sys/file.h. | |
3568 | ||
43936bf4 CW |
3569 | 2002-05-03 Colin Walters <walters@verbum.org> |
3570 | ||
3571 | * callproc.c (Vgame_score_directory): Renamed to | |
3572 | Vshared_game_score_directory. | |
3573 | ||
0c8c6322 RS |
3574 | 2002-04-30 Richard M. Stallman <rms@gnu.org> |
3575 | ||
397214d4 RS |
3576 | * s/gnu.h [emacs]: Include stdio.h. |
3577 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
3578 | ||
0c8c6322 RS |
3579 | * eval.c (do_autoload): Error if called while preparing to dump. |
3580 | ||
3581 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
3582 | ||
5a234d25 CW |
3583 | 2002-04-28 Colin Walters <walters@verbum.org> |
3584 | ||
5167cfda CW |
3585 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: |
3586 | Default to "~/.emacs.d/games". | |
5a234d25 | 3587 | |
96035dca SM |
3588 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> |
3589 | ||
de2413e9 SM |
3590 | * lread.c (openp): Change arg exec_only to predicate. |
3591 | (build_load_history): Use XCAR/XCDR. | |
3592 | (Flocate_file_internal): New fun. | |
3593 | (syms_of_lread): Defsubr it. | |
3594 | (Fload): Update call to openp. | |
3595 | ||
3596 | * lisp.h (openp): Update prototype. | |
3597 | ||
3598 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
3599 | * w32proc.c (sys_spawnve): | |
3600 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
3601 | * w32.c (check_windows_init_file): | |
3602 | * sound.c (Fplay_sound_internal): | |
3603 | * process.c (Fstart_process): | |
3604 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
3605 | * mac.c (run_mac_command): | |
3606 | * emacs.c (init_cmdargs): | |
3607 | * callproc.c (Fcall_process): Update call to openp. | |
3608 | ||
962ba97c SM |
3609 | * textprop.c (remove_properties): Don't use XCAR without CONSP. |
3610 | ||
96035dca SM |
3611 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. |
3612 | ||
f00691a3 | 3613 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
e656fc9d PJ |
3614 | |
3615 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
3616 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
3617 | ||
43bbe516 RS |
3618 | 2002-04-28 Richard M. Stallman <rms@gnu.org> |
3619 | ||
3620 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
3621 | ||
3622 | * eval.c (Fcommandp): New arg for_call_interactively. | |
3623 | * lisp.h (Fcommandp): Declare new arg. | |
3624 | ||
6fb6f3ac JR |
3625 | 2002-04-28 Jason Rumney <jasonr@gnu.org> |
3626 | ||
3627 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
3628 | ||
3629 | * w32.c (stat, fstat): Use file index information to generate | |
3630 | inodes for directories where available. | |
3631 | ||
e0f712ba AC |
3632 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> |
3633 | ||
3634 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
3635 | [HAVE_CARBON]: Include Mac object files. | |
3636 | ||
3637 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
3638 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
3639 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
3640 | MAC_OSX, and MAC_OS instead of macintosh. | |
3641 | ||
3642 | * editfns.c [MAC_OS8]: Include stdio.h. | |
3643 | ||
3644 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
3645 | ||
3646 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
3647 | Apple Monaco. | |
3648 | ||
3649 | * process.c: Declare QCfamily and QCfilter as extern. | |
3650 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before | |
3651 | calling select. | |
3652 | ||
96035dca SM |
3653 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. |
3654 | ||
e0f712ba | 3655 | * tparam.c [MAC_OSX]: Don't define BC and UP. |
96035dca | 3656 | |
e0f712ba AC |
3657 | * config.in [HAVE_CARBON]: Add. |
3658 | ||
96035dca SM |
3659 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: |
3660 | Move here from mac/src and mac/inc. | |
e0f712ba AC |
3661 | |
3662 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
96035dca | 3663 | |
56a0382c GM |
3664 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> |
3665 | ||
96035dca SM |
3666 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. |
3667 | Compute phys_cursor_width from the x position returned | |
3668 | by x_draw_glyhs, which is cheaper. | |
56a0382c GM |
3669 | (x_display_and_set_cursor): Compute the buffer-local value |
3670 | of `cursor-in-non-selected-windows' only when needed. | |
3671 | ||
ef58a7ec GM |
3672 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> |
3673 | ||
3674 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
3675 | cursor on a stretch glyph has a width that depends on | |
3676 | x_stretch_cursor_p. | |
3677 | ||
f00691a3 | 3678 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6f442633 | 3679 | |
ca70e62f PJ |
3680 | * abbrev.c (abbrev-start-location): Doc fix. |
3681 | ||
6f442633 PJ |
3682 | * indent.c (Fvertical_motion): Fix last change. |
3683 | ||
3a46a5de GM |
3684 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> |
3685 | ||
3686 | * indent.c (Fvertical_motion): Move to the start of the line | |
3687 | containing PT before moving up or down. | |
3688 | ||
f7c5994d GM |
3689 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> |
3690 | ||
60f2f3f1 GM |
3691 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the |
3692 | case of writing a whole row, more or less analogous to the case of | |
3693 | writing only parts of a row. | |
3694 | ||
3695 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
3696 | 0 for NO_CURSOR. | |
96035dca | 3697 | |
f7c5994d GM |
3698 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. |
3699 | ||
973c3c87 CW |
3700 | 2002-04-23 Colin Walters <walters@verbum.org> |
3701 | ||
3702 | * buffer.c (syms_of_buffer): Doc fix. | |
3703 | ||
b3738089 GM |
3704 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> |
3705 | ||
516074a1 GM |
3706 | * xterm.c (notice_overwritten_cursor): Handle the special case |
3707 | of the cursor being in the first blank non-text line at the | |
3708 | end of a window. | |
96035dca | 3709 | |
b3738089 GM |
3710 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) |
3711 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
3712 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
3713 | bar cursors only, to make phys_cursor_width contain what its name | |
3714 | suggests. | |
3715 | (notice_overwritten_cursor): Consider the cursor image erased if | |
3716 | the output area intersects the cursor image in y-direction. | |
3717 | ||
5d449b17 RS |
3718 | 2002-04-23 Simon Marshall <simon@gnu.org> |
3719 | ||
3720 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
3721 | to XC_hand2. | |
3722 | ||
f00691a3 | 3723 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
e6b6f919 | 3724 | |
96035dca | 3725 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. |
e6b6f919 | 3726 | |
f25d60d6 KS |
3727 | 2002-04-22 Kim F. Storm <storm@cua.dk> |
3728 | ||
3729 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
3730 | ||
6b448755 RS |
3731 | 2002-04-22 Richard M. Stallman <rms@gnu.org> |
3732 | ||
df218ce6 RS |
3733 | * cmds.c (Fend_of_line): Handle intangible text in mid line. |
3734 | ||
6b448755 RS |
3735 | * window.c (make_window): Initialize height_fixed_p, |
3736 | last_cursor_off_p, and p->cursor_off_p slots. | |
3737 | ||
f00691a3 | 3738 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7769818b PJ |
3739 | |
3740 | * fns.c (use-dialog-box): Doc fix. | |
3741 | ||
f00691a3 | 3742 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6ad6535b PJ |
3743 | |
3744 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
3745 | variables `row', `i' and `area'. | |
3746 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
3747 | toolkit library. | |
3748 | ||
3d90c96c SM |
3749 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> |
3750 | ||
3751 | * xfaces.c (clear_font_table): Don't free the default font of | |
3752 | a frame even if it's on another display. | |
3753 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
3754 | that could be Qt. | |
3755 | ||
58b1103e JB |
3756 | 2002-04-19 Juanma Barranquero <lektu@terra.es> |
3757 | ||
3758 | * indent.c (Fmove_to_column): Remove unused local variable | |
3759 | `next_boundary_byte'. | |
3760 | (current_column_1): Likewise. | |
3761 | ||
175e150b EZ |
3762 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
3763 | ||
3764 | * msdos.c (Qhbar): New variable. | |
3d90c96c | 3765 | (syms_of_msdos): Intern and staticpro it. |
175e150b EZ |
3766 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' |
3767 | cursor type. | |
3768 | ||
d9c25020 | 3769 | 2002-04-19 Dave Lambert <dlambert@acm.org> |
6fab1572 EZ |
3770 | |
3771 | Theses change implement an underscore-like (`hbar') cursor. | |
3772 | ||
3773 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
3774 | ||
3775 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
3776 | Handle the `hbar' cursor type. | |
3777 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
3778 | ||
3779 | * xfns.c (Qhbar): New variable. | |
3d90c96c | 3780 | (syms_of_xfns): Intern and staticpro it. |
6fab1572 | 3781 | (x_specified_cursor_type): Handle `hbar' cursor. |
5e3238f4 EZ |
3782 | |
3783 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
3784 | not defined. | |
3785 | ||
0cf5c1e7 RS |
3786 | 2002-04-18 Richard M. Stallman <rms@gnu.org> |
3787 | ||
3788 | * textprop.c (remove_properties): New arg LIST allows scanning | |
3789 | either a list or a plist. | |
3790 | (interval_has_some_properties_list): New function, like | |
3791 | interval_has_some_properties using list instead of plist. | |
3792 | All callers changed. | |
3793 | (Fremove_list_of_text_properties): New function. | |
3794 | (syms_of_textprop): Defsubr it. | |
3795 | ||
1a4140b0 EZ |
3796 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> |
3797 | ||
3798 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
3799 | ||
59b7fa65 JB |
3800 | 2002-04-17 Juanma Barranquero <lektu@terra.es> |
3801 | ||
3d90c96c | 3802 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. |
59b7fa65 | 3803 | |
ac431108 EZ |
3804 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> |
3805 | ||
3806 | * window.c (coordinates_in_window): Don't report on margin area | |
3807 | if its width is zero. | |
3808 | ||
1c565847 JR |
3809 | 2002-04-16 Jason Rumney <jasonr@gnu.org> |
3810 | ||
3811 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
3812 | ||
3813 | * w32term.c (construct_drag_n_drop): Likewise. | |
3d90c96c | 3814 | |
852eef40 EZ |
3815 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> |
3816 | ||
3817 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
3818 | store load-history in pure space. | |
3819 | ||
3820 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
3821 | ||
c997eae5 SM |
3822 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> |
3823 | ||
3824 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
3825 | (syms_of_xterm): Initialize them. | |
3826 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
3827 | decoding the output of X*LookupString. | |
3828 | Always use latin-1 to decode the output of XLookupString. | |
3829 | Try Xutf8LookupString if XmbLookupString failed. | |
3830 | ||
3831 | * region-cache.c (new_region_cache): Use BEG. | |
3832 | ||
08327b22 GM |
3833 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> |
3834 | ||
3835 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
3836 | configuration files. | |
3837 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
3838 | returns 0. | |
3839 | ||
d8f6d720 AS |
3840 | 2002-04-15 Andreas Schwab <schwab@suse.de> |
3841 | ||
3842 | * config.in: Regenerated using autoheader. | |
3843 | ||
3844 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
3845 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
3846 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
3847 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
3848 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
3849 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
3850 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
3851 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
3852 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
3853 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
3854 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
3855 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
3856 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
3857 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
3858 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
3859 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
3860 | STACK_DIRECTION, now set by autoconf. | |
3861 | ||
f00691a3 | 3862 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
0e03b0c2 PJ |
3863 | |
3864 | * dispnew.c (marginal_area_string): Sort arguments. | |
3865 | ||
3866 | * dispextern.h (marginal_area_string): Add prototype. | |
3867 | ||
685fc579 RS |
3868 | 2002-04-13 Richard M. Stallman <rms@gnu.org> |
3869 | ||
c997eae5 | 3870 | * fileio.c (Finsert_file_contents): |
685fc579 RS |
3871 | Don't call temp_output_buffer_setup--do just part, by hand. |
3872 | ||
3873 | * coding.c (run_pre_post_conversion_on_str): | |
3874 | Don't call temp_output_buffer_setup--do just part, by hand. | |
3875 | ||
3876 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
3877 | or cancel_hourglass when executing a macro. | |
3878 | ||
3879 | * marker.c (count_markers): New function. | |
3880 | ||
3881 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
3882 | grow without limit. Move recently used elements to the front. | |
3883 | ||
e144dfa8 EZ |
3884 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> |
3885 | ||
3886 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
3887 | ||
e9f8a3ab GM |
3888 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> |
3889 | ||
7d4cc828 GM |
3890 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame |
3891 | rows marginal areas. | |
3892 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
3893 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
3894 | ||
e9f8a3ab GM |
3895 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. |
3896 | ||
3897 | 2002-04-12 Dave Love <fx@gnu.org> | |
3898 | ||
3899 | * dispnew.c (marginal_area_string): New. | |
3900 | ||
3901 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
3902 | (Qleft_margin, Qright_margin): Declare. | |
c997eae5 | 3903 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. |
e9f8a3ab GM |
3904 | |
3905 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
3906 | note_mode_line_highlight and extended. | |
3907 | ||
3908 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
3909 | (make_lispy_event): Deal with mouse events in margins. | |
3910 | ||
d7565649 SM |
3911 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> |
3912 | ||
3913 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
3914 | ||
3915 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
3916 | than deactivating the mark if tmm is set to `lambda'. | |
3917 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
3918 | Use a single event for HELP_EVENT. | |
3919 | (Fexecute_extended_command): Save last_point_position. | |
3920 | ||
f00691a3 | 3921 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
034a7130 PJ |
3922 | |
3923 | * lisp.h (Fpropertize): Add prototype. | |
3924 | ||
3925 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
3926 | ||
e82defd1 CW |
3927 | 2002-04-10 Colin Walters <walters@verbum.org> |
3928 | ||
b9b966e0 CW |
3929 | * config.in: Add HAVE_SHARED_GAME_DIR. |
3930 | ||
e82defd1 CW |
3931 | * callproc.c: (Vgame_score_directory): New variable. |
3932 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. | |
3933 | ||
05ea8efd RS |
3934 | 2002-04-10 Richard M. Stallman <rms@gnu.org> |
3935 | ||
3936 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
3937 | ||
f9cf4c2c SM |
3938 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> |
3939 | ||
3940 | * minibuf.c (read_minibuf): Use empty_string. | |
3941 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
3942 | Short-circuit the search as soon as it "failed". | |
3943 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
3944 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
3945 | when require_match is nil. | |
3946 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
3947 | Call the predicate also when alist is a list. | |
3948 | Obey Vcompletion_regexp_list. | |
3949 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
3950 | (Fassoc_string): Rename from `assoc_for_completion'. | |
3951 | Allow list of strings as well and export to elisp. | |
3952 | ||
dba57d89 SM |
3953 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> |
3954 | ||
3955 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
3956 | ||
a0ad1860 JB |
3957 | 2002-04-08 Juanma Barranquero <lektu@terra.es> |
3958 | ||
3959 | * w32.c (sys_accept): Don't hide variable `s'. | |
3960 | ||
b9f0b172 GM |
3961 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> |
3962 | ||
0d1bf3f7 | 3963 | * callint.c (Fcall_interactively): Use INTEGERP instead of |
b9f0b172 GM |
3964 | NUMBERP for checking Vhistory_length. |
3965 | ||
f00691a3 | 3966 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
368ab68f PJ |
3967 | |
3968 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
3969 | Doc fix to reflect it. | |
3970 | ||
d3012189 RS |
3971 | 2002-04-04 Richard M. Stallman <rms@gnu.org> |
3972 | ||
3973 | * xdisp.c (display_mode_element): New arg RISKY. | |
3974 | Disregard text props found or specified within a variable | |
3975 | that isn't marked risky-local-variable. | |
3976 | (Qrisky_local_variable): New variable. | |
3977 | (syms_of_xdisp): Init and staticpro it. | |
3978 | ||
0d1bf3f7 SM |
3979 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> |
3980 | ||
3981 | * undo.c (record_point): New fun. | |
3982 | (record_delete, record_insert): Use it. | |
3983 | ||
8caa93d2 JB |
3984 | 2002-04-03 Juanma Barranquero <lektu@terra.es> |
3985 | ||
3986 | * doc.c (Fdocumentation): Add missing parentheses. | |
3987 | (Fdocumentation_property): Likewise. | |
3988 | ||
b3bbfb96 SM |
3989 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> |
3990 | ||
3991 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
3992 | data is 0, just return nil. | |
3993 | ||
db4a142a EZ |
3994 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> |
3995 | ||
3996 | * msdos.c (syms_of_msdos): Fix last change with | |
3997 | mouse_autoselect_window. | |
3998 | ||
f00691a3 | 3999 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
dc8cd652 PJ |
4000 | |
4001 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
4002 | mouse_autoselect_window. | |
4003 | ||
e5aa79fa SM |
4004 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> |
4005 | ||
4c8bc894 SM |
4006 | * keyboard.c (make_lispy_event): Handle unknown keysyms together |
4007 | with system-specific keysyms. Use it also for unknown function keys. | |
4008 | ||
e5aa79fa SM |
4009 | * doc.c (reread_doc_file): Return whether reload was attempted. |
4010 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
4011 | if the doc is 0 and only ask once. | |
4012 | ||
4013 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
4014 | ||
5d12f14d EZ |
4015 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> |
4016 | ||
4017 | * keyboard.c (read_char): If the event was Qselect_window, | |
4018 | restore timer_idleness_start_time to its previous value. | |
4019 | ||
e5aa79fa | 4020 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. |
5d12f14d | 4021 | |
bed9664a SM |
4022 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> |
4023 | ||
c5e5e1f8 SM |
4024 | * region-cache.c (new_region_cache): Use BEG. |
4025 | ||
4026 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
4027 | Use BEG and BEG_BYTE. | |
4028 | ||
e5aa79fa | 4029 | * doc.c (get_doc_string): Return nil if the location is wrong. |
c5e5e1f8 SM |
4030 | (reread_doc_file): New fun. |
4031 | (Fdocumentation, Fdocumentation_property): | |
4032 | Call it if get_doc_string fails. | |
4033 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
4034 | ||
4035 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
4036 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
4037 | ||
4038 | * charset.c (Fstring): Allow 0 arguments. | |
4039 | ||
bed9664a SM |
4040 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. |
4041 | ||
4042 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
4043 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
4044 | (Fset_network_process_options, server_accept_connection): | |
4045 | Fix some int/Lisp_Object confusions (thank you union types). | |
4046 | ||
f00691a3 | 4047 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
83512b21 PJ |
4048 | |
4049 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
4050 | ||
4051 | * w32term.c: Likewise. | |
bed9664a | 4052 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. |
83512b21 PJ |
4053 | |
4054 | * keyboard.c (Qselect_window): New symbol. | |
4055 | (head_table): Use it. | |
bed9664a SM |
4056 | (keys_of_keyboard): Bound select-window event to handle-select-window. |
4057 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
83512b21 PJ |
4058 | |
4059 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
4060 | (last_window): New variable. | |
4061 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
4062 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
093484c7 PJ |
4063 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for |
4064 | Emacs windows. | |
83512b21 | 4065 | |
bed9664a | 4066 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. |
83512b21 | 4067 | |
abfb6b46 GM |
4068 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> |
4069 | ||
4070 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
4071 | Callers changed. | |
4072 | ||
9b2bba76 RS |
4073 | 2002-03-30 Richard M. Stallman <rms@gnu.org> |
4074 | ||
4075 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
4076 | loop whenever it stops making progress. | |
4077 | ||
4078 | * widget.c (set_frame_size): Don't call change_frame_size. | |
4079 | ||
fd524c21 GM |
4080 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> |
4081 | ||
bed9664a SM |
4082 | * dispnew.c (direct_output_for_insert): |
4083 | Call mark_window_display_accurate. | |
fd524c21 | 4084 | |
df3bd29d JR |
4085 | 2002-03-29 Jason Rumney <jasonr@gnu.org> |
4086 | ||
4087 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
4088 | ||
eb191db2 EZ |
4089 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> |
4090 | ||
8bff61e5 EZ |
4091 | * Makefile.in (lread.o): Depend on coding.h. |
4092 | ||
544bf8ad | 4093 | * lread.c (openp, Fload): Encode the file name before passing it |
eb191db2 EZ |
4094 | to `stat', `access', and `emacs_open'. |
4095 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
4096 | strings unnecessarily. | |
4097 | ||
f9b33abb KS |
4098 | 2002-03-29 Kim F. Storm <storm@cua.dk> |
4099 | ||
4100 | * fns.c (Flax_plist_put): Doc fix. | |
4101 | ||
d4648402 MB |
4102 | 2002-03-28 Miles Bader <miles@gnu.org> |
4103 | ||
4104 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
4105 | ||
f00691a3 | 4106 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
320aebc9 PJ |
4107 | |
4108 | * process.c (set-network-process-options): Add usage. | |
4109 | (make-network-process): Doc fix. | |
4110 | ||
4aaa3607 EZ |
4111 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> |
4112 | ||
4113 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
4114 | ||
a5f08374 RS |
4115 | 2002-03-26 Richard M. Stallman <rms@gnu.org> |
4116 | ||
9356fe5a RS |
4117 | * fns.c (Fsubstring_no_properties): New function. |
4118 | (Flax_plist_get, Flax_plist_put): New functions. | |
4119 | (syms_of_fns): defsubr them. | |
4120 | ||
a5f08374 RS |
4121 | * xdisp.c (update_menu_bar): Test only update_mode_lines; |
4122 | don't test or alter w->update_mode_line. | |
4123 | ||
4124 | * window.c (Fdisplay_buffer): Doc fix. | |
4125 | ||
4126 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
4127 | ||
4128 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
4129 | ||
0af6533d GM |
4130 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> |
4131 | ||
4132 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
4133 | (Fdefmacro): Handle `(declare ...)'. | |
4134 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
4135 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
4136 | ||
217e5be0 JR |
4137 | 2002-03-24 Jason Rumney <jasonr@gnu.org> |
4138 | ||
4139 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
4140 | (xbm_file_p): Add prototypes. | |
4141 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
4142 | (reflect_byte): New function. | |
4143 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
4144 | (xbm_load_image): Create bitmaps with a depth of 1. | |
4145 | (init_xfns): Enable XBM images. | |
4146 | ||
919f1e88 JR |
4147 | 2002-03-23 Jason Rumney <jasonr@gnu.org> |
4148 | ||
4149 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
4150 | correctly. Do not pass up_modifier to keyboard buffer. | |
4151 | ||
4152 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
4153 | ||
44d38e8d SM |
4154 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> |
4155 | ||
4156 | * Makefile.in (bootstrapclean): New target. | |
4157 | (bootstrap-temacs, bootstrap-doc): Remove. | |
4158 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
4159 | Don't bother to build a DOC file. | |
4160 | ||
4161 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
4162 | ||
4163 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
4164 | in temacs even if !CANNOT_DUMP. | |
4165 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
4166 | ||
4167 | * alloc.c (check_pure_size): Only output a warning. | |
4168 | ||
b8b47c19 JR |
4169 | 2002-03-22 Jason Rumney <jasonr@gnu.org> |
4170 | ||
d3109773 JR |
4171 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are |
4172 | supported. | |
4173 | ||
ef07a497 | 4174 | * w32term.c (zv_bits): Declare as short, for word alignment. |
b8b47c19 JR |
4175 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. |
4176 | (syms_of_w32term): Define x-use-underline-position-properties. | |
4177 | ||
4178 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
4179 | (clear_image_cache): Block input, fix logic, clear matrices in | |
4180 | all frames that share this cache. | |
4181 | ||
b9b1a853 EZ |
4182 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> |
4183 | ||
483812ae EZ |
4184 | * emacs.c (main): Update the Copyright year in the blurb printed |
4185 | by "emacs --version". | |
4186 | ||
78e17433 EZ |
4187 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. |
4188 | ||
b9b1a853 EZ |
4189 | * xterm.c (XTread_socket): If XK_ISO_Lock and |
4190 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
4191 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
4192 | ||
fd646341 KS |
4193 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
4194 | ||
4195 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
4196 | menu-bar bindings in keymap and local-map properties _are_ used. | |
4197 | But try keymap property first in accordance with 2002-01-03 patch. | |
4198 | Added comment describing why this is not always reliable. | |
4199 | (tool_bar_items): Ditto for tool-bar. | |
4200 | ||
bf76fe9c JR |
4201 | 2002-03-21 Jason Rumney <jasonr@gnu.org> |
4202 | ||
4203 | * w32fns.c (x_clear_image_1): Disable color table code. | |
4204 | ||
41ad6233 KS |
4205 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
4206 | ||
4207 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
4208 | removed the wrong version of the DEFUN macro; fixed it. | |
4209 | ||
4210 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
4211 | Fmember rather than Fmemq). | |
4212 | (Fprovide): Check that subfeatures is a list. | |
4213 | ||
4214 | * process.c (QCfeature, QCdatagram): Removed variables. | |
4215 | (QCtype, Qdatagram): New variables. | |
4216 | (network_process_featurep): Removed function. | |
4217 | (Fmake_network_process): Removed :feature check. | |
4218 | Use :type 'datagram instead of :datagram t to create a datagram | |
4219 | socket. This allows us to add other connection types (e.g. raw | |
4220 | sockets) later in a consistent manner. | |
3ae1b884 KS |
4221 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of |
4222 | supported subfeatures for feature make-network-process. | |
41ad6233 KS |
4223 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. |
4224 | Intern and staticpro QCtype and Qdatagram. | |
4225 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
4226 | ||
4227 | * xfns.c: (QCtype): Remove duplicate declaration and | |
4228 | initialization (is now declared in process.c). | |
4229 | ||
4230 | * w32fns.c: (QCtype): Remove duplicate declaration and | |
4231 | initialization (is now declared in process.c). | |
4232 | ||
27950b47 RS |
4233 | 2002-03-21 Richard M. Stallman <rms@gnu.org> |
4234 | ||
f6df485f RS |
4235 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. |
4236 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
4237 | when jumping to `fail' to avoid undoing reg changes in the | |
4238 | last iteration of the loop. | |
4239 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
4240 | ||
27950b47 RS |
4241 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): |
4242 | Depend on process.h. | |
4243 | ||
3be38152 JR |
4244 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
4245 | ||
4246 | Most of the following changes are still conditional on HAVE_IMAGES | |
4247 | which is not set by default on Windows. | |
4248 | ||
47bcdab2 JR |
4249 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. |
4250 | ||
3be38152 JR |
4251 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. |
4252 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
4253 | (four_corners_best, x_clear_image_1, x_clear_image) | |
e2c0561e TTN |
4254 | (x_alloc_image_color, postprocess_image) |
4255 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
3be38152 JR |
4256 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. |
4257 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
4258 | ||
4259 | * w32gui.h (struct XImage): Define. | |
4260 | ||
4261 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
4262 | extract mouse co-ordinates. | |
4263 | ||
f37577f9 JR |
4264 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
4265 | ||
4266 | * w32.c (init_winsock): Dynamically load new server and UDP | |
4267 | socket functions. | |
4268 | (socket_to_fd): New function. | |
4269 | (sys_socket): Use it. | |
e2c0561e | 4270 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) |
f37577f9 JR |
4271 | (sys_recvfrom, sys_sendto): New wrapper functions. |
4272 | ||
4273 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
4274 | and initialization. | |
4275 | ||
4276 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
4277 | ||
ab8a75de EZ |
4278 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> |
4279 | ||
2c568af5 SM |
4280 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): |
4281 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
ab8a75de EZ |
4282 | machines. |
4283 | ||
f00691a3 | 4284 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ab7ff8b PJ |
4285 | |
4286 | * bytecode.c (Fbyte_code): Revert last change. | |
4287 | ||
d1ef18f2 KS |
4288 | 2002-03-19 Kim F. Storm <storm@cua.dk> |
4289 | ||
4290 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
4291 | From David Ponce <dponce@voila.fr>. | |
4292 | ||
f00691a3 | 4293 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
99982883 | 4294 | |
44c887be PJ |
4295 | * process.c (wait_reading_process_input): Move variables `pname' |
4296 | and `pnamelen' down where they are used. | |
4297 | ||
18f85cdd PJ |
4298 | * bytecode.c (Fbyte_code): Discard unused computed value to |
4299 | prevent gcc warning. | |
4300 | ||
99982883 PJ |
4301 | * lisp.h (Fplist_member): Add prototype. |
4302 | ||
10ce34dc KS |
4303 | 2002-03-18 Kim F. Storm <storm@cua.dk> |
4304 | ||
4305 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
2c568af5 | 4306 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. |
10ce34dc | 4307 | |
744d746b | 4308 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. |
10ce34dc KS |
4309 | Remove explicit GNU_LINUX settings for datagram support. |
4310 | ||
f00691a3 | 4311 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa9d4315 PJ |
4312 | |
4313 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
4314 | Doc fix. Add usage:. | |
2c568af5 | 4315 | (set_socket_options): Remove unused variables `optnum' and `opttype'. |
fa9d4315 | 4316 | |
6147334f RS |
4317 | 2002-03-17 Richard M. Stallman <rms@gnu.org> |
4318 | ||
4319 | * xdisp.c (cursor_type_changed): New variable. | |
4320 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
4321 | Clear it when clearing windows_or_buffers_changed. | |
4322 | (try_cursor_movement, redisplay_window, try_window_id) | |
4323 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
4324 | along with windows_or_buffers_changed. | |
4325 | ||
623fa9e7 | 4326 | * window.h (cursor_type_changed): New variable. |
6147334f RS |
4327 | |
4328 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
4329 | not update_mode_lines, and always set it to 1. | |
4330 | ||
4331 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
4332 | if no frames needed redrawing. | |
4333 | ||
5439f987 KS |
4334 | 2002-03-17 Kim F. Storm <storm@cua.dk> |
4335 | ||
623fa9e7 | 4336 | The following changes add support for network server processes, |
5439f987 KS |
4337 | datagram connections, and local (unix) sockets. |
4338 | ||
4339 | * process.h (struct Lisp_Process): New member log. | |
4340 | Doc fix: Member command used to indicate stopped network process. | |
4341 | Doc fix: Member childp contains plist for network process. | |
4342 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
4343 | ||
4344 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
4345 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
4346 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
4347 | New variables. | |
4348 | (NETCONN1_P): New macro. | |
4349 | (DATAGRAM_SOCKETS): New conditional symbol. | |
4350 | (datagram_address): New array. | |
4351 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
4352 | (status_message): Use concat3. | |
4353 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
4354 | for a stopped network process. | |
4355 | (Fset_process_buffer): Update contact plist for network process. | |
4356 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
4357 | network processes. Server must listen, even if filter is t. | |
4358 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
4359 | New functions. | |
4360 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
4361 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
4362 | (list_processes_1): Optionally show only processes with the query | |
4363 | on exit flag set. Dynamically adjust column widths. Omit tty | |
4364 | column if not needed. Report stopped network processes. | |
4365 | Identify server and datagram network processes. | |
4366 | (Flist_processes): New optional arg `query-only'. | |
4367 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
4368 | (conv_lisp_to_sockaddr, set_socket_options) | |
4369 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
4370 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
4371 | (Fset_network_process_options): New lisp functions. | |
4372 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
4373 | (Fmake_network_process): New lisp function. Code is based on previous | |
4374 | Fopen_network_stream, but heavily reworked with new property list based | |
4375 | argument list, support for datagrams, server processes, and local | |
4376 | sockets in addition to old client-only functionality. | |
4377 | (server_accept_connection): New function. | |
4378 | (wait_reading_process_input): Use it to handle incoming connects. | |
4379 | Do not enable input on a new connection if process is stopped. | |
4380 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | |
4381 | (send_process): Handle datagram sockets. | |
4382 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
4383 | network process is indicated by setting command field to t . | |
4384 | (Fprocess_send_eof): No-op if datagram connection. | |
4385 | (Fstatus_notify): Don't read input for a stream server socket or a | |
4386 | stopped network process. | |
4387 | (init_process): Initialize datagram_address array. | |
4388 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
4389 | functions. | |
4390 | ||
f779bd4c JR |
4391 | 2002-03-16 Jason Rumney <jasonr@gnu.org> |
4392 | ||
4393 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
4394 | startup case. | |
4395 | ||
a9c1a157 RS |
4396 | 2002-03-16 Richard M. Stallman <rms@gnu.org> |
4397 | ||
e2c0561e | 4398 | * xdisp.c (redisplay_internal, redisplay_windows): |
a9c1a157 RS |
4399 | Use list_of_error to call internal_condition_case_1. |
4400 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
4401 | so as to catch all errors with no possibility of debugger redisplay. | |
4402 | (list_of_error): New variable. | |
4403 | (syms_of_xdisp): Init and staticpro it. | |
4404 | ||
4405 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
4406 | ||
7264f28d EZ |
4407 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> |
4408 | ||
4409 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
4410 | until its implementation is fixed. | |
4411 | ||
f00691a3 | 4412 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6ee8e167 PJ |
4413 | |
4414 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
4415 | ||
7c3f9166 RS |
4416 | 2002-03-14 Richard M. Stallman <rms@gnu.org> |
4417 | ||
4418 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
4419 | ||
5b905677 MB |
4420 | 2002-03-14 Miles Bader <miles@gnu.org> |
4421 | ||
4422 | * intervals.c (adjust_for_invis_intang): New function. | |
4423 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
4424 | work for dealing with invisible+intangible regions. Do so before | |
4425 | and after both forward and backward movements, to handle both | |
4426 | front-sticky and rear-sticky cases. | |
4427 | * textprop.c (text_property_stickiness): Function moved here from | |
4428 | `editfns.c'. | |
4429 | * intervals.h (text_property_stickiness): New declaration. | |
4430 | * editfns.c (char_property_eq): Function removed. | |
4431 | (text_property_stickiness): Function moved to `textprop.c'. | |
4432 | ||
73792b51 JR |
4433 | 2002-03-13 Jason Rumney <jasonr@gnu.org> |
4434 | ||
4435 | * config.in: Add STRFTIME_NO_POSIX2. | |
4436 | ||
4437 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
4438 | and %OX when underlying strftime does not. | |
4439 | ||
dc3b2c8b SM |
4440 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> |
4441 | ||
6f2a7a68 SM |
4442 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: |
4443 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
4444 | line) to avoid annoying flicker. | |
4445 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
4446 | (XTread_socket): Mark it static. | |
4447 | ||
dc3b2c8b SM |
4448 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. |
4449 | ||
98243275 KS |
4450 | 2002-03-13 Kim F. Storm <storm@cua.dk> |
4451 | ||
4452 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
4453 | ||
7dcece14 JB |
4454 | 2002-03-12 Juanma Barranquero <lektu@terra.es> |
4455 | ||
4456 | * editfns.c (syms_of_editfns): Fix typo. | |
4457 | ||
656132eb GM |
4458 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> |
4459 | ||
4460 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
4461 | Include termopt.h for interrupt_input. | |
4462 | ||
ff955d90 AS |
4463 | 2002-03-11 Andreas Schwab <schwab@suse.de> |
4464 | ||
4465 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
4466 | ||
714d8c39 GM |
4467 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> |
4468 | ||
073448c5 GM |
4469 | * xterm.c (note_mouse_movement): Put code for |
4470 | x_autoselect_window_p in #if 0. | |
4471 | ||
4006b74e | 4472 | * lread.c (Fload): Don't assume that message_with_string uses the |
714d8c39 GM |
4473 | string it is given like a C string. |
4474 | ||
a97e4138 | 4475 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
089fba41 | 4476 | |
7c3f9166 | 4477 | * xterm.h (x_session_check_input, x_session_initialize): Declared. |
089fba41 | 4478 | |
363a4df6 JD |
4479 | * xterm.c: (XTread_socket): Add call to x_session_check_input and |
4480 | x_session_have_connection. | |
4481 | (x_initialize): Add call to x_session_initialize. | |
089fba41 | 4482 | |
4006b74e | 4483 | * termhooks.h (enum event_kind): Add save_session_event. |
089fba41 | 4484 | |
4006b74e | 4485 | * keyboard.c: Add Emacs event save_session_event. |
089fba41 | 4486 | |
4006b74e | 4487 | * emacs.c (main): Add call to syms_of_xsmfns. |
089fba41 | 4488 | |
4006b74e | 4489 | * lisp.h: Declare syms_of_xsmfns as extern. |
089fba41 | 4490 | |
4006b74e | 4491 | * config.in: Add HAVE_X_SM. |
089fba41 | 4492 | |
7c3f9166 RS |
4493 | * Makefile.in (LIBXT): Add -lSM -lICE |
4494 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
4495 | (XOBJ): New file xsmfns.c added. | |
089fba41 JD |
4496 | |
4497 | * xsmfns.c: New file for X session management. | |
4498 | ||
ad497129 JR |
4499 | 2002-03-09 Jason Rumney <jasonr@gnu.org> |
4500 | ||
4501 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
4502 | read-only when setting modified time. | |
4503 | ||
f2c7b04f GM |
4504 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> |
4505 | ||
2c568af5 SM |
4506 | * xdisp.c (move_it_vertically_backward): At the end of the function, |
4507 | when moving forward by lines, treat terminal frames specially. | |
c7ad4937 | 4508 | |
0d121f7c GM |
4509 | * keyboard.c (echo_char): Make sure to add a separator between |
4510 | keys even if echo_dash hasn't been called. | |
4511 | ||
2051c264 GM |
4512 | * xdisp.c: Use new string macros. |
4513 | (update_echo_area): Pass number of bytes to message3 instead of | |
4514 | number of chars. | |
4515 | (set_message_1): Don't access a string's size_byte directly. | |
4516 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
4517 | instead number of chars. | |
4518 | ||
f2c7b04f GM |
4519 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. |
4520 | ||
007776bc JB |
4521 | 2002-03-08 Juanma Barranquero <lektu@terra.es> |
4522 | ||
4523 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
4524 | 24-bit. | |
4525 | ||
893a741e JR |
4526 | 2002-03-06 Jason Rumney <jasonr@gnu.org> |
4527 | ||
4528 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
4529 | ||
8b5eabe0 GM |
4530 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> |
4531 | ||
d88c5449 | 4532 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) |
e60b0c44 GM |
4533 | (cancel_echoing, echo_length, echo_truncate): Changed to |
4534 | work with new kboard definition. | |
4535 | (echo_now): Use message3_nolog instead of message2_nolog. | |
4536 | ||
4537 | * alloc.c (mark_kboards): Mark echo_string. | |
4538 | ||
4539 | * keyboard.h (ECHOBUFSIZE): Removed. | |
4540 | (struct kboard): Member echoptr removed, member echobuf renamed | |
4541 | to echo_string. | |
4542 | ||
8b5eabe0 GM |
4543 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and |
4544 | message3 instead of message2 to display the message using STRING's | |
4545 | text properties. | |
4546 | ||
5d335845 AS |
4547 | 2002-03-05 Andreas Schwab <schwab@suse.de> |
4548 | ||
4549 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
4550 | ||
67334131 PA |
4551 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> |
4552 | ||
4553 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
4554 | affect existing frames. | |
4555 | ||
d88c5449 SM |
4556 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> |
4557 | ||
4558 | * indent.c (skip_invisible): Fix my brain fart. | |
4559 | ||
4560 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
4561 | ||
31ade731 SM |
4562 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> |
4563 | ||
4564 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
4565 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
4566 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
4567 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
4568 | and variables to use EMACS_INT instead of just int. | |
4569 | ||
d88c5449 SM |
4570 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. |
4571 | ||
c0917202 EZ |
4572 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> |
4573 | ||
4574 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
4575 | environment, pass it down with corrected value. | |
4576 | ||
f00691a3 | 4577 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6dc7fdd PJ |
4578 | |
4579 | * lread.c (read_filtered_event): Do not call start_hourglass | |
4580 | before returning. | |
4581 | ||
9652402e JB |
4582 | 2002-03-04 Juanma Barranquero <lektu@terra.es> |
4583 | ||
4584 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
4585 | ||
73344256 RS |
4586 | 2002-03-03 Richard M. Stallman <rms@gnu.org> |
4587 | ||
4588 | * fileio.c (Fmake_temp_name): Doc fix. | |
4589 | ||
71091322 RS |
4590 | 2002-03-03 Gary Wong <gtw@gnu.org> |
4591 | ||
4592 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
4593 | libtermcap, for binary compatibility. | |
4594 | ||
4595 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
4596 | ||
aa7e4660 RS |
4597 | 2002-03-03 Richard M. Stallman <rms@gnu.org> |
4598 | ||
4599 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
4600 | ||
4601 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
4602 | only if it is an integer. | |
4603 | ||
4604 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
4605 | If png_get_sRGB gives an answer, call png_set_gamma | |
4606 | using the default image gamma value. | |
4607 | ||
4608 | * lread.c (read1): When reading from a file, default string to | |
4609 | multibyte only if it has some multibyte characters. | |
4610 | ||
4611 | * print.c (print_object): Output multibyte chars 128...255 | |
4612 | using \x even if ! print_escape_multibyte. | |
4613 | ||
4614 | * xdisp.c (display_mode_element): Move the places where | |
4615 | bytepos, charpos, this, and lisp_string are set. | |
4616 | Use lisp_string to set bytepos. | |
4617 | ||
4618 | * xdisp.c (redisplay_internal): | |
4619 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
4620 | ||
4621 | * xdisp.c (display_mode_element): Merge properties specified with | |
4622 | :propertize onto those that come with the string. | |
4623 | ||
63d5d1ee EZ |
4624 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> |
4625 | ||
4626 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
4627 | automatic-hscrolling. Users changed. | |
31ade731 SM |
4628 | <hscroll-margin>: Renamed from automatic-hscroll-margin. |
4629 | Users changed. | |
4630 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
63d5d1ee | 4631 | |
31a6cb06 EZ |
4632 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> |
4633 | ||
4634 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
4635 | ||
ee57fd91 KS |
4636 | 2002-03-02 Kim F. Storm <storm@cua.dk> |
4637 | ||
4638 | * window.c (Fminibuffer_selected_window): New function. | |
4639 | (syms_of_window): Defsubr it. | |
4640 | ||
922eae56 KS |
4641 | 2002-03-01 Kim F. Storm <storm@cua.dk> |
4642 | ||
eacb44ad KS |
4643 | * window.h (struct window): New member phys_cursor_width. |
4644 | ||
4645 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
31ade731 | 4646 | |
eacb44ad KS |
4647 | * xterm.c (x_display_and_set_cursor): Blink box cursor using |
4648 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
4649 | ||
4650 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
4651 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
4652 | ||
922eae56 KS |
4653 | * lisp.h (GCPRO6): New macro. |
4654 | ||
4655 | * process.c (Fopen_network_stream): Use GCPRO6. | |
4656 | ||
81d5af8b KS |
4657 | 2002-03-01 Kim F. Storm <storm@cua.dk> |
4658 | ||
4659 | * process.c (Qconnect, Qfailed): New variables. | |
4660 | (syms_of_process): Intern and staticpro them. | |
e4984112 | 4661 | (Fprocess_status): Document connect and failed return values. |
81d5af8b KS |
4662 | [NON_BLOCKING_CONNECT]: New conditional. |
4663 | (connect_wait_mask, num_pending_connects): New variables. | |
4664 | (status_message): Convert Qfailed status. | |
4665 | (Fopen_network_stream): Added support for non-blocking connect. | |
4666 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
6c465a15 | 4667 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. |
81d5af8b KS |
4668 | (deactivate_process): Handle pending non-blocking connect. |
4669 | (wait_reading_process_input): Poll for status of non-blocking | |
4670 | connects. Exec sentinel directly when connect succeeds. | |
4671 | (status_notify): Don't read process output if not yet connected. | |
31ade731 | 4672 | |
5705966b KS |
4673 | 2002-02-28 Kim F. Storm <storm@cua.dk> |
4674 | ||
4675 | * window.c: (minibuf_selected_window): Renamed from | |
4676 | Vminibuf_selected_window. Users changed. | |
4677 | (syms_of_window): Staticpro it. | |
4678 | ||
beb0acdf KS |
4679 | 2002-02-26 Kim F. Storm <storm@cua.dk> |
4680 | ||
4681 | The following changes add a new Vminibuf_selected_window variable | |
4682 | which is similar to Vminibuf_scroll_window, but which is only set | |
4683 | on entry to the minibuffer (from a non-minibuffer window): | |
31ade731 | 4684 | |
beb0acdf KS |
4685 | * window.c: (Vminibuf_selected_window): New variable. |
4686 | (struct save_window_data): New member minibuf_selected_window. | |
4687 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
4688 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
4689 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
4690 | (compare_window_configurations): Compare minibuf_selected_window. | |
4691 | ||
4692 | * window.h: (Vminibuf_selected_window): Declare extern. | |
4693 | ||
4694 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
4695 | entry to minibuffer or on entry from a non-minibuffer window. | |
4696 | ||
4697 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
4698 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
4699 | ||
4700 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
4701 | instead of Vminibuf_scroll_window when deciding in which window | |
4702 | the region should be highlighted. Consequently, the region remains | |
4703 | highlighteded even when a completion buffer is also displayed. | |
4704 | ||
3dfdc066 EZ |
4705 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> |
4706 | ||
2c568af5 | 4707 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. |
b135bd4c | 4708 | |
3dfdc066 EZ |
4709 | * xselect.c (Qcompound_text_with_extensions): Renamed from |
4710 | Qcompound_text_no_extensions. | |
4711 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
4712 | ||
804d894a JB |
4713 | 2002-02-26 Juanma Barranquero <lektu@terra.es> |
4714 | ||
4715 | * w32proc.c (syms_of_ntproc): Doc fix. | |
4716 | ||
f00691a3 | 4717 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
0277b535 PJ |
4718 | |
4719 | * intervals.h: Include "dispextern.h" unconditionally. | |
4720 | ||
1f1bce0e JR |
4721 | 2002-02-24 Jason Rumney <jasonr@gnu.org> |
4722 | ||
4723 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
4724 | and disp-table.elc. | |
82a399d2 | 4725 | (lisp): Add emacs-lisp/backquote.elc. |
1f1bce0e | 4726 | |
5f245371 KS |
4727 | 2002-02-24 Kim F. Storm <storm@cua.dk> |
4728 | ||
4729 | * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch: | |
4730 | The validation of the event type was too strict as it didn't | |
4731 | allow string events; buffer names are used in bindings for | |
4732 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
4733 | ||
b66bc4a4 | 4734 | 2002-02-23 Kim F. Storm <storm@cua.dk> |
a34cb674 | 4735 | |
31ade731 | 4736 | The following changes rework my patch of 2002-02-06 which |
a34cb674 KS |
4737 | added command remapping by entering the commands directly into |
4738 | the keymaps. Now, command remapping uses an explicit `remap' | |
4739 | prefix in the keymaps, i.e. [remap COMMAND]. | |
31ade731 | 4740 | |
a34cb674 KS |
4741 | * keymap.c (Qremap, remap_command_vector): New variables. |
4742 | (is_command_symbol): Removed function. | |
31ade731 SM |
4743 | (Fdefine_key): No longer accept a symbol for KEY. |
4744 | Added validation of [remap COMMAND] argument for KEY. | |
4745 | The DEF is no longer required to be a symbol when remapping a command. | |
a34cb674 KS |
4746 | (Fremap_command): New function to remap command through keymaps. |
4747 | (Flookup_key): Perform command remapping initiated by | |
4748 | Fremap_command directly for speed. | |
4749 | (Fkey_binding): Use Fremap_command for command remapping. | |
4750 | (where_is_internal): Handle new command remapping representation. | |
4751 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
4752 | staticpro them. Defsubr Fremap_command. | |
4753 | ||
4754 | * keymap.h (Fremap_command): Declare extern. | |
4755 | (is_command_symbol): Remove extern. | |
31ade731 | 4756 | |
a34cb674 KS |
4757 | * keyboard.c (command_loop_1): Use Fremap_command for command |
4758 | remapping; now try command remapping for all symbols. | |
4759 | ||
f227fded EZ |
4760 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> |
4761 | ||
4762 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
4763 | ||
54a0c8a6 JR |
4764 | 2002-02-23 Jason Rumney <jasonr@gnu.org> |
4765 | ||
4766 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
4767 | on the string before encoding it. | |
4768 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
4769 | after decoding it. | |
4770 | ||
4771 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
4772 | ||
f00691a3 | 4773 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
042c33d3 PJ |
4774 | |
4775 | * w32term.c (enter_timestamp): Remove unused static variable to | |
4776 | prevent warning. | |
4777 | ||
4778 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
4779 | ||
b72d9870 EZ |
4780 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> |
4781 | ||
4782 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
4783 | ||
4784 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
4785 | ||
48094ace JR |
4786 | 2002-02-22 Jason Rumney <jasonr@gnu.org> |
4787 | ||
4788 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
4789 | ||
4790 | * w32menu.c (menubar_selection_callback): Free the menu and | |
4791 | clear the menu_command_in_progress flag. | |
4792 | ||
4793 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
4794 | (menu_free_timer): New variable. | |
4795 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
4796 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
4797 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
4798 | menu command is in progress. | |
31ade731 SM |
4799 | <WM_COMMAND>: Set the menu_command_in_progress flag. |
4800 | Kill any menu_free_timer that is running. | |
48094ace JR |
4801 | |
4802 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
4803 | Call ExtTextOutA rather than ExtTextOut. | |
4804 | ||
9feba281 EZ |
4805 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> |
4806 | ||
4807 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
4808 | ||
3276b4fe EZ |
4809 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
4810 | ||
4811 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
4812 | on the string before encoding it. | |
4813 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
4814 | after decoding it. | |
4815 | ||
fbbe0ace EZ |
4816 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> |
4817 | ||
4818 | Support for ICCCM Extended Segments in X selections: | |
4819 | ||
23e16093 | 4820 | * xselect.c <Qcompound_text_no_extensions>: New variable. |
fbbe0ace EZ |
4821 | (syms_of_xselect): Intern and staticpro it. |
4822 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
4823 | selection text. | |
4824 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
23e16093 | 4825 | compound-text-no-extensions, set the type of selection to be |
fbbe0ace EZ |
4826 | compound-text. |
4827 | ||
4828 | * xterm.h (x_encode_text): Update prototype. | |
4829 | ||
4830 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
4831 | callers changed. If SELECTIONP is non-zero, run the | |
4832 | pre-write-conversion function before encoding the selection text. | |
4833 | ||
2a28d471 KS |
4834 | 2002-02-21 Kim F. Storm <storm@cua.dk> |
4835 | ||
4836 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
15fdc2e3 | 4837 | |
31ade731 SM |
4838 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: |
4839 | Correct composing of language-change event. | |
15fdc2e3 | 4840 | |
9de46181 KS |
4841 | 2002-02-20 Kim F. Storm <storm@cua.dk> |
4842 | ||
4843 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
4844 | bindings at PT when building menu (the menu is not updated often | |
4845 | enough for this to work reliable). | |
4846 | (tool_bar_items): Likewise. | |
4847 | (current_active_maps): Removed unused (and buggy) function. | |
4848 | ||
f00691a3 | 4849 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c7f07c4c PJ |
4850 | |
4851 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
4852 | ||
f8565280 EZ |
4853 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> |
4854 | ||
4855 | * floatfns.c (Fatan): Accept an optional second arg and call | |
4856 | atan2 if passed 2 args. | |
4857 | ||
5be86f54 JR |
4858 | 2002-02-18 Jason Rumney <jasonr@gnu.org> |
4859 | ||
4860 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
4861 | ||
f7b9d4d1 JR |
4862 | 2002-02-17 Jason Rumney <jasonr@gnu.org> |
4863 | ||
4864 | * w32term.c (x_autoselect_window_p): New variable. | |
4865 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
4866 | (note_mouse_movement): Use it. | |
4867 | ||
4868 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
4869 | ||
4870 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
4871 | ||
4872 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
4873 | New variables. | |
4874 | (syms_of_w32fns): Intern and staticpro them. | |
4875 | (x_frame_parms) <"fullscreen">: New parameter. | |
4876 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
4877 | (x_set_frame_parameters): Support Qfullscreen. | |
31ade731 | 4878 | (x_real_positions): Save x/y_pixels_diff frame params. |
f7b9d4d1 JR |
4879 | (x_figure_window_size): Support full-screen frames. |
4880 | (Fx_create_frame): Default the fullscreen parameter. | |
4881 | ||
31ade731 | 4882 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) |
f7b9d4d1 | 4883 | (x_fullscreen_adjust): New functions. |
6c465a15 | 4884 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to |
f7b9d4d1 | 4885 | fullscreen. Call x_check_fullscreen_move, and set the |
31ade731 | 4886 | want_fullscreen member of output_data.w32 |
f7b9d4d1 JR |
4887 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. |
4888 | ||
4889 | * w32term.h: New enum for FULLSCREEN_* constants. | |
4890 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
4891 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
4892 | (x-fullscreen-adjust): New prototype. | |
4893 | ||
ce16e8d9 KS |
4894 | 2002-02-17 Kim F. Storm <storm@cua.dk> |
4895 | ||
4896 | * frame.c: (Vmouse_highlight): New variable. | |
4897 | (syms_of_frame): DEFVAR_LISP it. | |
4898 | ||
4899 | * frame.h: (Vmouse_highlight): Declare extern. | |
4900 | ||
4901 | * xterm.h (struct x_display_info): Add mouse_face_hidden. | |
4902 | ||
4903 | * xterm.c (disable_mouse_highlight): Removed variable. | |
4904 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
4905 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
4906 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
4907 | and on after keyboard input. | |
4908 | (x_term_init): Initialize mouse_face_hidden. | |
4909 | ||
4910 | * msdos.h (struct display_info): Add mouse_face_hidden. | |
4911 | ||
4912 | * msdos.c (disable_mouse_highlight): Removed variable. | |
4913 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
4914 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
4915 | (internal_terminal_init): Initialize mouse_face_hidden. | |
4916 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
4917 | and on after keyboard input. | |
4918 | ||
4919 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. | |
4920 | ||
4921 | * w32term.c (disable_mouse_highlight): Removed variable. | |
4922 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
4923 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
4924 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
4925 | and on after keyboard input. | |
4926 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4927 | ||
386c4076 EZ |
4928 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4929 | ||
9005a471 EZ |
4930 | * msdos.c (last_mouse_window): New variable. |
4931 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
4932 | as recorded in last_mouse_window, don't select this window. | |
4933 | ||
31ade731 | 4934 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
760627fa | 4935 | |
4a137db1 EZ |
4936 | * msdos.c (x_autoselect_window_p): New variable. |
4937 | (syms_of_msdos): Defvar it. | |
2c568af5 SM |
4938 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in |
4939 | which the last mouse movement occured, unless it is already selected. | |
4a137db1 | 4940 | |
31ade731 SM |
4941 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
4942 | New variables. | |
386c4076 EZ |
4943 | (syms_of_xdisp): DEVFAR them. |
4944 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
4945 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
4946 | ||
f00691a3 | 4947 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
5d2200aa | 4948 | |
3996d07a PJ |
4949 | * xterm.c (x-autoselect-window): New variable. |
4950 | (note_mouse_movement): Use it. | |
4951 | ||
5d2200aa PJ |
4952 | * keyboard.c: Do not include "systime.h" twice. |
4953 | ||
bdf67c59 AS |
4954 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
4955 | ||
5407e8a7 AS |
4956 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
4957 | ||
bdf67c59 AS |
4958 | * alloc.c (NSTATICS): Increase to 1280. |
4959 | ||
98659da6 KG |
4960 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
4961 | ||
f9904178 KG |
4962 | * alloc.c (NSTATICS): Bump to 1026. |
4963 | ||
98659da6 KG |
4964 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
4965 | (Vx_super_keysym): New variables. | |
4966 | (syms_of_xterm): DEFVAR_LISP them. | |
4967 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
31ade731 | 4968 | variables to determine which keys to use for the various modifiers. |
98659da6 | 4969 | |
a48b709b | 4970 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
1c9f5f23 KS |
4971 | |
4972 | * window.c: (Vmode_line_in_non_selected_windows): Removed. | |
4973 | (mode_line_in_non_selected_windows): New variable. | |
4974 | (syms_of_window): DEFVAR_BOOL it. | |
4975 | ||
31ade731 SM |
4976 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
4977 | Use mode_line_in_non_selected_windows. | |
1c9f5f23 KS |
4978 | (mode_line_in_non_selected_windows): Declare extern. |
4979 | (Vmode_line_in_non_selected_windows): Removed extern. | |
4980 | ||
db54c53a RS |
4981 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
4982 | ||
31ade731 SM |
4983 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
4984 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
db54c53a RS |
4985 | (Fclear_this_command_keys): Doc fixes. |
4986 | ||
31ade731 | 4987 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
db54c53a RS |
4988 | (update_face_from_frame_parameter): Increment face_change_count |
4989 | and windows_or_buffers_changed to force redisplay using changed faces. | |
4990 | ||
4991 | * xdisp.c (QCpropertize): New variable. | |
4992 | (mode_line_proptrans_alist): New variable. | |
4993 | (display_mode_element): New arg PROPS; all calls changed. | |
4994 | Implement this, for strings. | |
4995 | Handle literal output of strings by sharing the | |
4996 | main-line code for strings, using local var `literal'. | |
4997 | Handle :propertize feature. | |
31ade731 | 4998 | (syms_of_xdisp): Initialze and staticpro QCpropertize and |
db54c53a | 4999 | mode_line_proptrans_alist. |
31ade731 | 5000 | |
a48b709b | 5001 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
3c9bdb7e KS |
5002 | |
5003 | * window.c: (Vmode_line_in_non_selected_windows): New variable. | |
5004 | (syms_of_window): DEFVAR_LISP it. | |
5005 | ||
5006 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. | |
5007 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
5008 | (Vmode_line_in_non_selected_windows): Declare extern. | |
5009 | ||
5010 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 | |
5011 | to get mode line face. | |
5012 | ||
573a237a EZ |
5013 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
5014 | ||
5015 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these | |
5016 | variables; cus-start.el doesn't need them anymore. | |
5017 | ||
73df3b72 KS |
5018 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
5019 | ||
5020 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap | |
5021 | reduction. This fixes a display problem where stray newlines were | |
5022 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
5023 | ||
18b0be7c EZ |
5024 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
5025 | ||
5026 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. | |
5027 | ||
5028 | * xdisp.c (display_mode_lines): Fix last change. | |
5029 | ||
442ca9ba JR |
5030 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
5031 | ||
5032 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows | |
5033 | match each other. | |
3acfb461 JR |
5034 | (w32_load_system_font): Prevent Cleartype fonts from loading. |
5035 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
442ca9ba | 5036 | |
cdefda26 KS |
5037 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
5038 | ||
5039 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. | |
5040 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
5041 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
5042 | ||
5043 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. | |
5044 | (pos_visible_p, handle_face_prop): Likewise. | |
5045 | (display_mode_lines): Likewise, but for the real selected window. | |
5046 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
5047 | ||
5048 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line | |
5049 | in non-selected windows. | |
5050 | (realize_basic_faces): Realize it. | |
5051 | (syms_of_term): Intern and staticpro it. | |
5052 | ||
9f69e812 KS |
5053 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
5054 | ||
31ade731 | 5055 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
9f69e812 KS |
5056 | Changed mail addresses to emacs-devel@gnu.org. |
5057 | ||
6ded2c89 EZ |
5058 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
5059 | ||
b5d40ceb | 5060 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
31ade731 | 5061 | ~user, and there's no such user, don't discard everything before ~user. |
b5d40ceb | 5062 | |
6ded2c89 EZ |
5063 | * floatfns.c (Fround): Doc fix. |
5064 | ||
f00691a3 | 5065 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7c15926f PJ |
5066 | |
5067 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. | |
5068 | ||
6a229a63 SM |
5069 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
5070 | ||
db54c53a | 5071 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
6a229a63 | 5072 | |
33b93ee5 KS |
5073 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
5074 | ||
5075 | * keymap.c (where_is_internal): Only check whether definition is | |
5076 | remapped if it fulfills is_command_symbol. | |
5077 | ||
72bba9f2 AS |
5078 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
5079 | ||
5080 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. | |
5081 | ||
5082 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. | |
5083 | ||
93607efd KS |
5084 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
5085 | ||
5086 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for | |
5087 | defining command remapping. Doc updated. | |
5088 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
5089 | (is_command_symbol): New function. | |
6a229a63 SM |
5090 | (Fkey_binding): Use it. New optional argument NO-REMAP. |
5091 | Doc updated. Callers changed. Perform command remapping via | |
93607efd KS |
5092 | recursive call unless that arg is non-nil. |
5093 | (where_is_internal): New argument no_remap. Callers changed. | |
5094 | Call recursively to find original key bindings for a remapped | |
5095 | comand unless that arg is non-nil. | |
6a229a63 SM |
5096 | (Fwhere_is_internal): New optional argument NO-REMAP. |
5097 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
93607efd KS |
5098 | |
5099 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. | |
5100 | (is_command_symbol): Added prototype. | |
5101 | ||
5102 | * keyboard.c (Vthis_original_command): New variable. | |
5103 | (syms_of_keyboard): DEFVAR_LISP it. | |
5104 | (command_loop_1): Set it, and perform command remapping. | |
5105 | ||
f00691a3 | 5106 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2642a29e | 5107 | |
31ade731 | 5108 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2642a29e | 5109 | |
f4ed304f JR |
5110 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
5111 | ||
5112 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. | |
5113 | ||
b5309828 EZ |
5114 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
5115 | ||
5116 | * charset.c (get_charset_id): Use if-else instead of ?:. | |
5117 | ||
108eaabb RS |
5118 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
5119 | ||
5120 | * filelock.c (S_ISLNK): Define if not defined. | |
5121 | ||
bd3567fa RS |
5122 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
5123 | ||
5124 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. | |
5125 | ||
5126 | * lread.c (read1): Redesign strategy for force_multibyte and | |
5127 | force_singlebyte. Now is_multibyte records whether read_buffer | |
5128 | is multibyte. Encountering any multibyte character makes it so. | |
6a229a63 | 5129 | |
95c11956 SM |
5130 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
5131 | ||
5132 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and | |
5133 | with the same sequence, map that sequence to f10 rather than f0. | |
5134 | ||
ee466d0b AS |
5135 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
5136 | ||
5137 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the | |
5138 | latter never being defined on GNU/Linux. | |
5139 | ||
f77157da EZ |
5140 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
5141 | ||
2c568af5 SM |
5142 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
5143 | the default face to Qnormal, unless these attributes are unspecified. | |
f77157da | 5144 | |
f00691a3 | 5145 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fbcc9b1 | 5146 | |
95c11956 SM |
5147 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
5148 | Call cancel_hourglass unconditionally. | |
4fbcc9b1 PJ |
5149 | |
5150 | * eval.c (Fsignal): Remove duplicated declaration of | |
5151 | the variable `display_hourglass_p'. | |
5152 | ||
5e101746 RS |
5153 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
5154 | ||
5155 | * editfns.c (region_limit): Nicer error message. | |
5156 | ||
5157 | * coding.c (decode_composition_emacs_mule): | |
5158 | Give up if NCOMPONENT gets too large to index `component'. | |
5159 | ||
5160 | * callint.c (check_mark): New arg to specify clearer error message. | |
5161 | Callers changed. | |
5162 | ||
5163 | 2002-01-27 Richard M. Stallman <rms@gnu.org> | |
5164 | ||
5165 | * minibuf.c (Fcompleting_read): Doc fix. | |
5166 | ||
f00691a3 | 5167 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7a4b11ca PJ |
5168 | |
5169 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) | |
95c11956 SM |
5170 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): |
5171 | Fix doc-strings. | |
7a4b11ca | 5172 | |
f5798fbd RS |
5173 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
5174 | ||
5175 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. | |
5176 | ||
5177 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively | |
5178 | and scroll_up_aggressively. | |
5179 | ||
f00691a3 | 5180 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8fc77801 PJ |
5181 | |
5182 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. | |
5183 | ||
3a232704 SM |
5184 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
5185 | ||
5186 | * textprop.c (Fnext_property_change, Fnext_single_property_change) | |
5187 | (Fprevious_property_change, Fprevious_single_property_change): | |
5188 | Stay within the narrowed-buffer boundaries. | |
5189 | ||
dd939ea1 EZ |
5190 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
5191 | ||
5192 | * term.c (Ftty_display_color_cells): New function. | |
5193 | (syms_of_term): Defsubr it. | |
0011f346 EZ |
5194 | (Ftty_display_color_cells, Ftty_display_color_p): Change the |
5195 | argument name to DISPLAY. Doc fix. | |
dd939ea1 EZ |
5196 | |
5197 | * dispextern.h: Add prototype for set_tty_color_mode and | |
5198 | tty_setup_colors. | |
5199 | ||
aa35b6ad JR |
5200 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
5201 | ||
5202 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. | |
5203 | If region left to draw is not what was expected, mark the frame as | |
5204 | garbaged. | |
5205 | ||
5206 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. | |
5207 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
5208 | ||
ab76d376 JR |
5209 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
5210 | ||
5211 | * w32term.c (x_update_window_begin): Only hide caret if | |
5212 | w32_use_visible_system_caret is set. | |
5213 | (x_update_window_end): Only show caret if | |
5214 | w32_use_visible_system_caret is set. | |
5215 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
5216 | ||
5217 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. | |
5218 | ||
d89b617d RS |
5219 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
5220 | ||
5221 | * unexelf.c (unexec): Define n so as to cause compilation error | |
5222 | for the code where people have often written n instead of nn. | |
5223 | ||
5224 | * .gdbinit (hookpost-run): Defined. | |
5225 | ||
a97e4138 | 5226 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
f0b9a067 JD |
5227 | |
5228 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. | |
5229 | ||
a97e4138 | 5230 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5f9338d5 JD |
5231 | |
5232 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust | |
5233 | if fullscreen is being set. | |
5234 | ||
f00691a3 | 5235 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
029a305c PJ |
5236 | |
5237 | * minibuf.c (Fminibuffer_contents) | |
5238 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
5239 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
5240 | ||
8cc0e0cf RS |
5241 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
5242 | ||
5243 | * window.c (check_frame_size): Fix minimum height calculation. | |
5244 | ||
d7b8ee68 KR |
5245 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
5246 | ||
5247 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window | |
5248 | height before comparison. | |
5249 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
5250 | ||
c3c14723 JR |
5251 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
5252 | ||
5253 | * w32term.c (w32_system_caret_width): Remove. | |
5254 | (w32_use_visible_system_caret): New user flag. | |
5255 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
5256 | Windows reports a screen reader running. | |
5257 | (x_update_window_begin): Hide the system caret. | |
5258 | (x_update_window_end): Show the system caret. | |
5259 | (x_display_and_set_cursor): Don't draw a cursor when | |
5260 | w32_use_visible_system_caret is set. Do not adjust width. | |
5261 | ||
5262 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. | |
5263 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
5264 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
5265 | the user requests it. Use system default width when creating. | |
5266 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
5267 | ||
95c11956 SM |
5268 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
5269 | New window messages. | |
c3c14723 | 5270 | |
75e20bec RS |
5271 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
5272 | ||
5273 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. | |
5274 | ||
f00691a3 | 5275 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3c17e062 PJ |
5276 | |
5277 | * doprnt.c (doprnt1): Fix typos in error call. | |
5278 | ||
3b927d14 EZ |
5279 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
5280 | ||
5281 | * unexelf.c (unexec) [__sgi]: Support the .got sections. | |
5282 | ||
aa06cb9c JR |
5283 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
5284 | ||
5285 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics | |
5286 | that Windows returns. If a double check fails, try to guess how | |
5287 | ExtTextOut is going to act. | |
5288 | ||
5289 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp | |
5290 | in place of stricmp. | |
5291 | (w32_list_synthesized_fonts): Removed. | |
5292 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
5293 | (struct enumfont_t): New element; list. | |
5294 | (enum_font_cb2): List all style and charset variations of a font. | |
5295 | (Fw32_select_font): New optional argument; include_proportional. | |
5296 | Exclude vertical fonts. Exclude proportional fonts unless | |
5297 | include_proportional is non-nil. | |
5298 | (w32_enable_synthesized_fonts): Change to a boolean. | |
5299 | (Fw32_send_sys_command): Doc fix. | |
5300 | ||
f00691a3 | 5301 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
37082f8d PJ |
5302 | |
5303 | * dispnew.c (update_frame): Move the variable `tem' to the block | |
5304 | where it is used. | |
5305 | ||
815d969e JR |
5306 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
5307 | ||
5308 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around | |
5309 | call to face-set-after-frame-default. | |
5310 | ||
a1e3dda0 RS |
5311 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
5312 | ||
95c11956 | 5313 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
a1e3dda0 RS |
5314 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. |
5315 | ||
daf516d3 RS |
5316 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
5317 | ||
5318 | * window.c (enlarge_window): When exceeding size of parent, | |
5319 | directly delete all the siblings instead of trying to resize it. | |
5320 | ||
f00691a3 | 5321 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
dfc7a077 PJ |
5322 | |
5323 | * term.c (set_tty_color_mode): Remove unused variable `tem'. | |
5324 | ||
3ddff138 RS |
5325 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
5326 | ||
7adfc0d7 | 5327 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
3ddff138 | 5328 | |
465c9390 KS |
5329 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
5330 | ||
5331 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row | |
5332 | is invisible. This can happen if cursor is on top line of a | |
5333 | window, and we switch to a buffer with a header line. | |
5334 | ||
95c11956 | 5335 | * w32term.c (x_erase_phys_cursor): Ditto. |
a2c6de8e | 5336 | |
f00691a3 | 5337 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7a4bce14 PJ |
5338 | |
5339 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of | |
5340 | `dont_resize' only when used. | |
5341 | ||
5342 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. | |
5343 | ||
26f622b3 EZ |
5344 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
5345 | ||
5346 | * xdisp.c (display_mode_element): When computing charpos, depend | |
f165c448 | 5347 | on multibyteness of elt, not the text in field. |
26f622b3 | 5348 | |
f00691a3 | 5349 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1a6db83a | 5350 | |
31ade731 SM |
5351 | * buffer.c (Fkill_all_local_variables): |
5352 | Increment `update_mode_lines' only once. | |
1a6db83a | 5353 | |
f00691a3 | 5354 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a4ff5d67 | 5355 | |
aa1977d7 PJ |
5356 | * lisp.h (adjust_after_replace_noundo) |
5357 | (Fupdate_coding_systems_internal): Add prototypes. | |
5358 | ||
95c11956 | 5359 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
a4ff5d67 | 5360 | |
3947677c EZ |
5361 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
5362 | ||
5363 | Support for the --color command-line argument and tty-color-mode | |
5364 | frame parameter: | |
5365 | ||
5366 | * term.c (tty_default_color_capabilities, tty_setup_colors) | |
5367 | (set_tty_color_mode): New functions. | |
5368 | (term_init): Call tty_default_color_capabilities. | |
5369 | (Qtty_color_mode_alist): New variable. | |
5370 | (syms_of_term): Intern and staticpro it. | |
5371 | ||
5372 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap | |
5373 | frames. | |
5374 | (do_switch_frame): For termcap frames, switch the tty | |
5375 | color mode as specified by the frame's parameters. | |
5376 | (Qtty_color_mode): New variable. | |
5377 | (syms_of_frame): Intern and staticpro it. | |
5378 | ||
5379 | * emacs.c (USAGE2): Add the --color option. | |
5380 | (standard_args): Ditto. | |
5381 | ||
a97e4138 | 5382 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8a8e19a3 EZ |
5383 | |
5384 | * xterm.h (struct x_output): New members want_fullscreen, | |
5385 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
5386 | y_pixels_outer_diff. | |
5387 | New enum for FULLSCREEN_* constants. | |
5388 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
5389 | is NULL. | |
5390 | (x_fullscreen_adjust): Add prototype. | |
5391 | ||
5392 | * emacs.c (USAGE2): Add the new full-screen arguments. | |
5393 | (standard_args): Ditto. | |
5394 | ||
95c11956 SM |
5395 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
5396 | New variables. | |
8a8e19a3 EZ |
5397 | (syms_of_xfns): Intern and staticpro them. |
5398 | (x_frame_parms) <"fullscreen">: New parameter. | |
5399 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
5400 | (x_set_frame_parameters): Support for Qfullscreen. | |
5401 | (x_real_positions): More accurate computation of the frame position. | |
5402 | (x_figure_window_size): Support full-screen frames. | |
5403 | (Fx_create_frame): Default the fullscreen parameter. | |
5404 | ||
5405 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. | |
5406 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
95c11956 SM |
5407 | <ConfigureNotify>: Don't resize to fullscreen. |
5408 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
8a8e19a3 EZ |
5409 | output_data.x. |
5410 | ||
4f1b1854 JR |
5411 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
5412 | ||
5413 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages | |
5414 | for mice with more than 3 buttons. | |
5415 | ||
5416 | * w32term.c (parse_button): New parameter xbutton. Callers changed. | |
5417 | (w32_read_socket): Handle new "XBUTTON" messages. | |
5418 | ||
5419 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. | |
5420 | (syms_of_w32fns): DEFVAR_BOOL it. | |
5421 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
5422 | ||
f00691a3 | 5423 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
5cb6905d | 5424 | |
95c11956 | 5425 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
5cb6905d | 5426 | |
437dfb9f AS |
5427 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
5428 | ||
5429 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. | |
5430 | ||
9f696a00 AS |
5431 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
5432 | ||
5433 | * .gdbinit (xbuffer): Remove address operator since data is now a | |
5434 | pointer. | |
5435 | ||
d57966d7 RS |
5436 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
5437 | ||
5438 | * insdel.c (adjust_after_replace_noundo): New function. | |
5439 | ||
5440 | * coding.c (code_convert_region): Don't copy old text if undo disabled. | |
5441 | ||
74779f52 JR |
5442 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
5443 | ||
5444 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame | |
5445 | when checking for multiple frames. | |
5446 | ||
a474d59c RS |
5447 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
5448 | ||
5449 | * window.c (delete_window): Rewrite the code for changing the | |
5450 | selected window to handle the case where WINDOW is not a leaf. | |
5451 | ||
fbb70ad9 EZ |
5452 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
5453 | ||
5454 | * process.c (send_process): Set src_multibyte to 1 after the call | |
5455 | top setup_coding_system, not before the call. | |
5456 | ||
2d10309f JR |
5457 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
5458 | ||
5459 | * xmenu.c (set_frame_menubar, xmenu_show): | |
3a232704 | 5460 | (xdialog_show): Initialize wv->help to Qnil. |
2d10309f JR |
5461 | |
5462 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): | |
5463 | (w32_dialog_show): Initialize wv->help to Qnil. | |
5464 | ||
7f2cddf3 JR |
5465 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
5466 | ||
0b1e6b54 JR |
5467 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
5468 | ||
7f2cddf3 JR |
5469 | * w32menu.c (w32_menu_display_help): Revert last change. |
5470 | ||
5471 | * xmenu.c (menu_highlight_callback): Revert last change. | |
5472 | ||
e17144de AS |
5473 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
5474 | ||
5475 | * insdel.c (make_gap_larger): Make sure buffer size does not | |
5476 | overflow range of int. | |
5477 | ||
6637c996 JR |
5478 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
5479 | ||
44368f8f JR |
5480 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
5481 | OVERLAPS_P. | |
5482 | ||
f884b6f4 JR |
5483 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
5484 | ||
6637c996 JR |
5485 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
5486 | to the left or to the right of the pointer, put it against | |
5487 | the left screen edge. | |
5488 | (x_frame_parms): Add missing braces around initializer. | |
5489 | ||
5490 | * w32term.c (x_setup_relief_colors): Don't compute an image's | |
5491 | background color if it doesn't have a Pixmap. | |
5492 | (notice_overwritten_cursor): Don't depend on | |
5493 | output_cursor and updated_area. Compare pixel coordinates with | |
5494 | window's cursor pixel coordinates. | |
3a232704 SM |
5495 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): |
5496 | Call notice_overwritten_cursor with new arg list. | |
6637c996 JR |
5497 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag |
5498 | unconditionally. | |
5499 | (x_draw_image_relief): Use predefined macro instead of | |
5500 | constant when the value of `tool_bar_button_relief' is negative. | |
5501 | ||
5502 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. | |
5503 | ||
453c5510 RS |
5504 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
5505 | ||
5506 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. | |
5507 | ||
d1d070e3 RS |
5508 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
5509 | ||
5510 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. | |
5511 | (Fkey_binding): Try the `keymap' property map first. | |
5512 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
5513 | minor mode bindings. | |
5514 | ||
9ec1bdb6 KS |
5515 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
5516 | ||
5517 | * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy. | |
5518 | ||
308dd672 RS |
5519 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
5520 | ||
edde72f6 RS |
5521 | * keyboard.c (read_key_sequence): Handle the keymap property |
5522 | before minor mode maps. | |
5523 | ||
308dd672 RS |
5524 | * editfns.c (Fformat): Update thissize from field_width |
5525 | based on the actual width, in the string case. | |
5526 | ||
f00691a3 | 5527 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3c1e6b46 | 5528 | |
03950b5b PJ |
5529 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
5530 | when used as truth value to prevent gcc warnings. | |
5531 | ||
3c1e6b46 PJ |
5532 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
5533 | * w32proc.c: Include <config.h>. | |
5534 | ||
c1e11810 AS |
5535 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
5536 | ||
5537 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, | |
5538 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
5539 | * lisp.h (max_specpdl_size): Adjust declaration. | |
5540 | ||
1996baee RS |
5541 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
5542 | ||
5543 | * print.c (print_object): Test print_escape_nonascii only for | |
5544 | unibyte strings. | |
5545 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
5546 | when outputting to a multibyte buffer. | |
5547 | ||
0065bb74 RS |
5548 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
5549 | ||
5550 | * print.c (print_object): In multibyte string, use hex escapes. | |
5551 | Use octal only for unibyte strings. | |
5552 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
5553 | ||
5554 | * lread.c (read_escape): New arg BYTEREP for reporting whether | |
5555 | escape forces unibyte or multibyte. | |
5556 | (read1): When reading a string, take note of that info. | |
5557 | ||
b5cb6072 KR |
5558 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
5559 | ||
5560 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero | |
5561 | comparison to test lisp value returned by Fget. | |
5562 | ||
15fff01d RS |
5563 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
5564 | ||
0065bb74 RS |
5565 | * lisp.h (max_specpdl_size): Add declaration. |
5566 | ||
0d8466cc RS |
5567 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
5568 | ||
15fff01d RS |
5569 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
5570 | Handle modifier bits. Correct typo in error message. | |
5571 | ||
2fae9111 RS |
5572 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
5573 | ||
2d6c1fc0 RS |
5574 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
5575 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
5576 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
5577 | Update calls to Fdefine_abbrev. | |
5578 | (write_abbrev): Update for changed data format. | |
5579 | Don't list "system" abbrevs. | |
5580 | (Fexpand_abbrev): Update use count with new data format. | |
5581 | (describe_abbrev): Update for changed data format. | |
5582 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
5583 | ||
07025a55 RS |
5584 | * config.in (HAVE_MBSINIT): Add #undef. |
5585 | ||
5586 | * strftime.c (mbsinit): Define as no-op if not available. | |
5587 | ||
5588 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. | |
5589 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
5590 | ||
ce6eef6e RS |
5591 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
5592 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
ade19cac | 5593 | (exclude_key): New variable. |
3a232704 | 5594 | |
539e92ad GM |
5595 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
5596 | ||
0cb8bb48 GM |
5597 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
5598 | background color if it doesn't have a Pixmap. | |
3a232704 | 5599 | |
60626bab GM |
5600 | * xterm.c (notice_overwritten_cursor): Don't depend on |
5601 | output_cursor and updated_area. Compare pixel coordinates with | |
5602 | window's cursor pixel coordinates. | |
3a232704 SM |
5603 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): |
5604 | Call notice_overwritten_cursor with new arg list. | |
60626bab GM |
5605 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag |
5606 | unconditionally. | |
0cb8bb48 | 5607 | |
539e92ad GM |
5608 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
5609 | height of the cursor line to the amount to scroll. | |
5610 | ||
4e02881b RS |
5611 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
5612 | ||
5613 | * intervals.c (set_point_both): The position after an invisible, | |
5614 | intangible character is not an acceptable stopping point. | |
5615 | ||
1ab964d7 KR |
5616 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
5617 | ||
5618 | * window.c (enlarge_window): In new preserve_before code, convert | |
5619 | CURBEG from lisp object to integer before doing arithmetic. | |
5620 | ||
749f499f RS |
5621 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
5622 | ||
5623 | * bytecode.c (Fbyte_code): Undo previous change. | |
5624 | ||
b5d9aaba KS |
5625 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
5626 | ||
5627 | * keyboard.c (record_char): Ignore duplicate help-echo events only | |
5628 | separated by mouse-movement. When tracking mouse, only record | |
5629 | first and last mouse-movement event in same window. | |
5630 | Don't record mouse-movement events in keyboard macros. | |
3a232704 | 5631 | |
d0fd26dd RS |
5632 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
5633 | ||
b4c45162 RS |
5634 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
5635 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
5636 | ||
d0fd26dd RS |
5637 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
5638 | instead of Fstring_as_unibyte. | |
5639 | ||
f00691a3 | 5640 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 5641 | |
3a232704 | 5642 | The following changes remove mocklisp support: |
c95eaa61 PJ |
5643 | |
5644 | * mocklisp.h, mocklisp.c: Files removed. | |
5645 | ||
5646 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', | |
5647 | `Qmocklisp' and `Qmocklisp_arguments'. | |
5648 | Remove prototype of syms_of_mocklisp. | |
5649 | ||
3a232704 | 5650 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
c95eaa61 PJ |
5651 | |
5652 | * callint.c: Do not include mocklisp.h. | |
5653 | (Fcall_interactively): Do not test for mocklisp case. | |
5654 | ||
5655 | * eval.c: Remove variables `Qmocklisp_arguments', | |
3a232704 SM |
5656 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. |
5657 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
5658 | Do not test for mocklisp case. | |
c95eaa61 PJ |
5659 | (Fwhile): Remove unused variable `tem'. |
5660 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
5661 | ||
5662 | * data.c (wrong_type_argument): Remove mocklisp case. | |
5663 | ||
5664 | * doc.c (Fdocumentation): Remove mocklisp case. | |
5665 | ||
5666 | * emacs.c (main): Do not call syms_of_mocklisp. | |
5667 | ||
31877e0a RS |
5668 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
5669 | ||
5670 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen | |
5671 | to the left or to the right of the pointer, put it against | |
5672 | the left screen edge. | |
5673 | ||
e2c3786a EZ |
5674 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
5675 | ||
5676 | * Makefile.in (distclean): Remove .gdbinit if we are building | |
5677 | outside the source tree. | |
5678 | ||
c513fc03 EZ |
5679 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5680 | ||
bf794306 EZ |
5681 | * w32.c (emacs_root_dir): New function. |
5682 | ||
5683 | * msdos.c (emacs_root_dir): New function. | |
5684 | ||
5685 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory | |
5686 | of the current drive as the fallback for default_directory. | |
5687 | ||
62582985 EZ |
5688 | * dired.c (file_name_completion): Run the elements of |
5689 | completion-ignored-extensions through ENCODE_FILE. | |
5690 | ||
c513fc03 EZ |
5691 | * lisp.h (scmp): Remove prototype, since it's now a static |
5692 | function private to dired.c. | |
5693 | ||
3509a04c RS |
5694 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
5695 | ||
5696 | * dired.c (scmp): Function moved from minibuf.c. | |
5697 | Delete multibyte handling--used only on encoded strings. | |
5698 | ||
5699 | * minibuf.c (scmp): Function moved to dired.c. | |
5700 | ||
5701 | * fns.c (merge): Add QUIT call. | |
5702 | ||
1e9a6186 DL |
5703 | 2001-12-18 Dave Love <fx@gnu.org> |
5704 | ||
5705 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, | |
5706 | language/georgian.el. | |
5707 | ||
e4e34e31 EZ |
5708 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
5709 | ||
5710 | * Makefile.in (lisp, shortlisp): Synchronize with changes to | |
5711 | lisp/Makefile.in:DONTCOMPILE. | |
5712 | ||
f00691a3 | 5713 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 5714 | |
7c75be36 PJ |
5715 | * xdisp.c (window_box_height): Do not return negative values. |
5716 | From Gerd Moellmann <gerd@gnu.org>. | |
5717 | ||
4521d1fc PJ |
5718 | * keyboard.c (head_table): Add missing braces around initializer. |
5719 | ||
5720 | * term.c (keys): Likewise. | |
5721 | ||
5722 | * xfns.c (x_frame_parms, visual_classes): Likewise. | |
5723 | ||
93dec019 SS |
5724 | 2001-12-17 Sam Steingold <sds@gnu.org> |
5725 | ||
5726 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last | |
5727 | patch (COMPOSING_P, not COMPOSING). | |
5728 | ||
905cc05a RS |
5729 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
5730 | ||
2ed06289 RS |
5731 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
5732 | ||
0e79d667 RS |
5733 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
5734 | before calling decode_coding. | |
5735 | ||
5736 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. | |
5737 | ||
5738 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) | |
905cc05a RS |
5739 | instead of only for COMPOSITION_DISABLED. |
5740 | ||
82a7ab23 RS |
5741 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
5742 | ||
d75bec6a RS |
5743 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
5744 | ||
52dcb476 RS |
5745 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
5746 | ||
82a7ab23 RS |
5747 | * buffer.h (struct buffer): New field `display_error_modiff'. |
5748 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
5749 | ||
5750 | * window.c (Frecenter): Clear display_error_modiff field. | |
5751 | ||
5752 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. | |
5753 | Call redisplay_window, but not if display_error_modiff field says no. | |
5754 | (redisplay_window_error): New function. | |
5755 | (displayed_buffer): New variable. | |
5756 | (redisplay_internal, redisplay_windows): Call the new functions | |
5757 | instead of redisplay_window directly. | |
5758 | ||
4d0fa4f3 RS |
5759 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
5760 | ||
5761 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. | |
5762 | ||
493faf20 AI |
5763 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
5764 | ||
325111e9 AI |
5765 | * makefile.w32-in (EMACSLOADPATH): Define. |
5766 | ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. | |
5767 | (bootstrap-temacs): Remove dependency on bootstrap-clean. | |
493faf20 | 5768 | |
4971e491 EZ |
5769 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
5770 | ||
397b3b50 | 5771 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
4971e491 EZ |
5772 | parameter have a numeric value all the time. |
5773 | ||
5774 | * w32fns.c (x_report_frame_params): Likewise. | |
5775 | ||
d911a0fa RS |
5776 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
5777 | ||
5778 | * fileio.c (Fwrite_region): Doc fix. | |
5779 | ||
5780 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. | |
5781 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
5782 | ||
201c831a GM |
5783 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
5784 | ||
5785 | * xdisp.c (move_it_vertically_backward): Change heuristic | |
5786 | for the case that we didn't move far enough initially. | |
5787 | ||
5788 | * window.c (Frecenter): Simplify computation in the case of window | |
5789 | system frames and ARG < 0; use window_box_height. | |
5790 | ||
34e39c95 RS |
5791 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
5792 | ||
5793 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: | |
5794 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
5795 | ||
d77fbc16 AI |
5796 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
5797 | ||
5798 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if | |
5799 | arg is negative. | |
5800 | ||
61e3b944 RS |
5801 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
5802 | ||
5803 | * m/hp800.h: Split the __hpux conditional into the parts | |
5804 | that are right for GNU/Linux too and the parts that are not. | |
5805 | Use the former if GNU_LINUX. | |
5806 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
5807 | ||
5808 | * s/gnu-linux.h (GNU_LINUX): Defined. | |
5809 | ||
f00691a3 | 5810 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70da46c3 PJ |
5811 | |
5812 | * macros.c, msdos.c, w16select.c: Change doc-string comments to | |
5813 | `new style' [w/`doc:' keyword]. | |
5814 | ||
8af01033 JR |
5815 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
5816 | ||
5817 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct | |
5818 | before using. | |
5819 | ||
f00691a3 | 5820 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a PJ |
5821 | |
5822 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' | |
5823 | keyword]. | |
5824 | ||
d9e6c4b1 EZ |
5825 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
5826 | ||
d20fc48a EZ |
5827 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
5828 | ||
d9e6c4b1 EZ |
5829 | * s/hpux10.h (srand48): Don't undefine. |
5830 | ||
f1a85b89 JR |
5831 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
5832 | ||
3a232704 SM |
5833 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
5834 | Add comment to explain where the struct came from. | |
f1a85b89 JR |
5835 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
5836 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
5837 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
5838 | Lisp_Object. | |
5839 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
5840 | ||
f00691a3 | 5841 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a62677f | 5842 | |
72244db2 PJ |
5843 | * COPYING: Moved back. |
5844 | ||
3a62677f PJ |
5845 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
5846 | Add parentheses around && within ||. | |
5847 | ||
5848 | * indent.c (compute_motion): Likewise. | |
5849 | ||
5850 | * intervals.c (merge_properties_sticky): Likewise. | |
5851 | ||
5852 | * coding.c (setup_coding_system, shrink_encoding_region) | |
5853 | (Fdecode_sjis_char): Likewise. | |
5854 | ||
9d113d9d AS |
5855 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
5856 | ||
b8523839 AS |
5857 | * xdisp.c (display_mode_element): Don't read past end of string if |
5858 | it ends with '%'. | |
5859 | ||
9464dea4 AS |
5860 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
5861 | can hold. | |
5862 | ||
2c568af5 SM |
5863 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
5864 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
9d113d9d AS |
5865 | type changed to Lisp_Object. |
5866 | (syms_of_data): DEFVAR_LISP them. | |
5867 | ||
70ec1377 RS |
5868 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
5869 | ||
5870 | * callproc.c (init_callproc): Set Vdata_directory based on the source | |
5871 | location whenever Emacs was run uninstalled. | |
5872 | ||
92f7dd37 PE |
5873 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
5874 | ||
5875 | * config.in (HAVE_WORKING_VFORK): New #undefs. | |
5876 | * process.c (create_process): | |
5877 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
5878 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
5879 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
5880 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
5881 | * m/intel386.h (HAVE_VFORK): Likewise. | |
5882 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
5883 | * m/mips.h (HAVE_VFORK): Likewise. | |
5884 | * s/freebsd.h (vfork): Remove #define. | |
5885 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
5886 | * s/usg5-4-2.h: Fix comment about vfork. | |
5887 | ||
c93674bb RS |
5888 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
5889 | ||
5890 | * s/hpux10.h (random): Add undef. | |
5891 | (HAVE_RANDOM): Define it just once. | |
5892 | ||
59b59892 SM |
5893 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
5894 | ||
5895 | * eval.c: Undo last change: the standard syntax is not wanted. | |
5896 | ||
c6ea2775 EZ |
5897 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
5898 | ||
5899 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the | |
5900 | scroll bars of the frame before deleting the frame itself. If the | |
5901 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
5902 | not call XDestroyWindow before that. | |
5903 | ||
91175673 KS |
5904 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
5905 | ||
5906 | * xfns.c (x_report_frame_params): Return actual fringe widths. | |
5907 | ||
5908 | * w32fns.c (x_report_frame_params): Return actual fringe widths. | |
5909 | ||
e0fead5d AI |
5910 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
5911 | ||
5912 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are | |
5913 | excessively large. | |
5914 | ||
5915 | * insdel.c (make_gap_larger): New function. | |
5916 | (make_gap_smaller): New function. | |
2c568af5 SM |
5917 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: |
5918 | Call make_gap_smaller if arg is negative. | |
e0fead5d | 5919 | |
c186cdb3 SM |
5920 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
5921 | ||
5922 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. | |
5923 | Pass a dummy argument when calling interrupt_signal. | |
5924 | (parse_menu_item): Mark disabled items before checking for empty def. | |
5925 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
5926 | (read_key_sequence): Add a `first_unbound' variable. | |
5927 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
5928 | unbound prefix as soon as we can detect it. | |
5929 | ||
5930 | * doc.c (Fsnarf_documentation): Add prototype. | |
5931 | (get_doc_string): Handle negative arguments. | |
5932 | (Fdocumentation): Use AREF and ASIZE. | |
5933 | Move the calls to get_doc_string to a single place. | |
5934 | Don't confuse an interactive-spec for a docstring reference. | |
5935 | (Fdocumentation_property): Take advantage of the fact that | |
5936 | get_doc_string now ignores the sign of the docstring position. | |
5937 | ||
5938 | * eval.c: Use standard syntax for usage in docstrings. | |
5939 | ||
f00691a3 | 5940 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
58cfce98 | 5941 | |
c186cdb3 | 5942 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. |
58cfce98 | 5943 | |
f00691a3 | 5944 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
62854fe2 PJ |
5945 | |
5946 | * xterm.c (x_draw_image_relief): Use predefined macro instead of | |
5947 | constant when the value of `tool_bar_button_relief' is negative. | |
5948 | ||
656f46bb RS |
5949 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
5950 | ||
5951 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. | |
5952 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
5953 | ||
5954 | * fileio.c (read_non_regular): Delete Fsignal call. | |
5955 | ||
036e218d SM |
5956 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
5957 | ||
5958 | * lisp.h (run_hook_list_with_args): Undo last change. | |
5959 | ||
7ddb2c16 GM |
5960 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
5961 | ||
5962 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. | |
5963 | ||
ace9b298 JR |
5964 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
5965 | ||
90647b07 JR |
5966 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
5967 | ||
5968 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) | |
5969 | [!WM_MOUSELEAVE]: Define. | |
5970 | ||
ace9b298 JR |
5971 | * w32menu.c (current_popup_menu, get_menu_item_info): |
5972 | (set_menu_item_info): New vars. | |
5973 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
5974 | (w32_menu_show): Set current_popup_menu. | |
5975 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
5976 | and help strings. | |
5977 | Use owner-draw for disabled menu items again. | |
5978 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
5979 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
5980 | ||
5981 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. | |
5982 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
5983 | <WM_EXITMENULOOP>: Free menu strings. | |
5984 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
5985 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
5986 | ||
5987 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo | |
5988 | and mouse face. | |
5989 | ||
a9549909 | 5990 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
9fbc32aa KS |
5991 | |
5992 | The following changes add left-fringe and right-fringe | |
5993 | frame parameters to adjust fringe widths, or remove one or | |
5994 | both fringes. | |
036e218d | 5995 | |
9fbc32aa KS |
5996 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
5997 | trunc_area_cols fields. | |
5998 | (Qleft_fringe, Qright_fringe): Declare. | |
5999 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
6000 | ||
6001 | * frame.c (Qleft_fringe, Qright_fringe): New vars. | |
6002 | (syms_of_frame): Initialize them. | |
6003 | ||
6004 | * window.c (coordinates_in_window): Handle separate left and right | |
6005 | fringe widths. | |
6006 | ||
6007 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, | |
6008 | and fringe_cols fields. | |
6009 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
6010 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
6011 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
6012 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
6013 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
6014 | (x_compute_fringe_widths): Add prototype. | |
6015 | ||
6016 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to | |
6017 | fill fringe evenly with small dashes. | |
6018 | (x_draw_fringe_bitmap): Clear background if necessary. Align and | |
6019 | clip the new ZV bitmap to avoid jitter between rows. | |
6020 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
6021 | background. Don't draw fringe bitmaps if fringe width is zero. | |
6022 | (x_compute_fringe_widths): New function. | |
6023 | (x_new_font, x_set_window_size_1): Use it. | |
6024 | ||
6025 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. | |
0c5ee687 | 6026 | (x_set_frame_parameters): Process `font' parameter before other |
9fbc32aa KS |
6027 | parameters as fringe widths depend on it. |
6028 | (x_set_fringe_width): New function. | |
6029 | (x_figure_window_size): Use x_compute_fringe_widths. | |
6030 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
6031 | parameters. | |
6032 | ||
6033 | * widget.c (set_frame_size): Use x_compute_fringe_widths. | |
6034 | (EmacsFrameSetCharSize): Ditto. | |
6035 | ||
6036 | * w32term.h: Merged changes from xterm.h. | |
6037 | * w32term.c: Merged changes from xterm.c. | |
6038 | * w32fns.c: Merged changes from xfns.c. | |
6039 | ||
f00691a3 | 6040 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
0142178a PJ |
6041 | |
6042 | * COPYING: Removed. | |
6043 | ||
d4824a5d DL |
6044 | 2001-11-29 Dave Love <fx@gnu.org> |
6045 | ||
6046 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an | |
6047 | extra extra slot. | |
6048 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
6049 | ||
f00691a3 | 6050 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b1356234 PJ |
6051 | |
6052 | * fileio.c (file-name-coding-system) | |
6053 | (default-file-name-coding-system): Doc fix (links to referenced | |
6054 | variables added). | |
6055 | ||
3ce081f5 SM |
6056 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
6057 | ||
99e380ee SM |
6058 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
6059 | Add dummy uses of gcproN variables. | |
6060 | ||
3ce081f5 | 6061 | * category.c (describe_category, describe_category_1) |
2ad56c09 | 6062 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) |
3ce081f5 SM |
6063 | (syms_of_category): Don't defsubr Sdescribe_categories. |
6064 | ||
66458f32 RS |
6065 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
6066 | ||
6067 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. | |
6068 | ||
6069 | * Makefile.in (lispdir): New variable, referring to build dir. | |
6070 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
6071 | ||
59a86c99 AI |
6072 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
6073 | ||
6074 | * w32menu.c (w32_menu_display_help): Actually add the new argument | |
6075 | OWNER. | |
6076 | ||
eb77a5f4 JR |
6077 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
6078 | ||
6079 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled | |
6080 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
6081 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
6082 | conditionally. | |
6083 | (w32_menu_display_help): New argument OWNER. Rewritten to store a | |
6084 | help event in the owner frame's keyboard buffer. | |
6085 | ||
6086 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. | |
6087 | (Fx_show_tip): Don't subtract last width from row width. | |
6088 | ||
6089 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
6090 | (w32_read_socket): Use EQ to compare frames. | |
6091 | ||
bb313871 GM |
6092 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
6093 | ||
6094 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if | |
6095 | OVERLAPS_P. | |
6096 | ||
f00691a3 | 6097 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55b43a63 | 6098 | |
6052529b PJ |
6099 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
6100 | `gcpro3' and `gcpro4'. | |
6101 | ||
3ce081f5 SM |
6102 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
6103 | ||
6104 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> | |
6105 | ||
6106 | * ccl.c: Use AREF and ASIZE. | |
6107 | ||
6108 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> | |
6109 | ||
6110 | * lisp.h (run_hook_list_with_args): Remove. | |
6111 | (LIST_END_P): Fix call to wrong_type_argument. | |
6112 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
55b43a63 | 6113 | |
111ed14e SM |
6114 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
6115 | ||
9fabb2f5 SM |
6116 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
6117 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
6118 | ||
6119 | * eval.c: Use AREF and ASIZE. | |
6120 | (Ffetch_bytecode): Add the file name to the error message. | |
6121 | ||
6122 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers | |
6123 | which match the end of the file-name. | |
6124 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
6125 | is not a valid env var, but leave it as is instead. | |
6126 | ||
111ed14e SM |
6127 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
6128 | Make nil bindings in char-tables transparent. | |
6129 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
6130 | ||
2fa0eedf RS |
6131 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
6132 | ||
d1420435 RS |
6133 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
6134 | Do nothing if range is empty. | |
6135 | ||
2fa0eedf RS |
6136 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
6137 | ||
ebcbef4e RS |
6138 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
6139 | (clean): Not here. | |
6140 | ||
5c131048 SM |
6141 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
6142 | ||
6143 | * textprop.c (set_text_properties_1): Clearly mark that the | |
6144 | interval should not be empty. | |
6145 | ||
6146 | * intervals.c (graft_intervals_into_buffer): | |
6147 | Don't call set_text_properties_1 on an empty interval. | |
6148 | ||
96d276c3 RS |
6149 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
6150 | ||
6108b49c RS |
6151 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
6152 | ||
96d276c3 RS |
6153 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
6154 | don't lose the data in it. | |
6155 | ||
5eea19a4 RS |
6156 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
6157 | ||
6158 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. | |
6159 | ||
6160 | * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. | |
6161 | ||
6162 | * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. | |
6163 | ||
438e57dd SM |
6164 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
6165 | ||
6166 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. | |
6167 | ||
c88e5347 EZ |
6168 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
6169 | ||
6170 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi | |
6171 | Niemitalo <kon@iki.fi>. | |
6172 | ||
59ce1461 JR |
6173 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
6174 | ||
6175 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. | |
6176 | ||
6177 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. | |
6178 | (Fx_show_tip): Block input during frame creation. | |
6179 | (Fx_show_tip, Fx_hide_tip): Enable. | |
6180 | ||
8727d588 RS |
6181 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
6182 | ||
6183 | * lread.c (Fload): Detect recursive load error for more than 3 | |
6184 | nestings of the same file. | |
6185 | (Vrecursive_load_depth_limit): Variable deleted. | |
6186 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
6187 | ||
cc63037e JR |
6188 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
6189 | ||
6190 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from | |
6191 | mouse position if either left or top is not specified. | |
6192 | ||
6193 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. | |
6194 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
6195 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
6196 | (my_create_tip_window): Assign tip_window. | |
6197 | (x_create_tip_frame): Use same defaults as X. | |
6198 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
6199 | (Fx_show_tip): Do not double height. Call ShowWindow directly. | |
6200 | ||
6201 | * w32term.c (x_after_update_window_line): Doc fix. | |
6202 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
6203 | frames. | |
6204 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
6205 | ||
6206 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame | |
6207 | for all Windowed systems. | |
6208 | ||
deece6f5 EZ |
6209 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
6210 | ||
6211 | * msdos.c (IT_clear_screen): If the frame's faces are not yet | |
6212 | realized, use the initial screen colors to clear the screen. | |
6213 | ||
f00691a3 | 6214 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1b944d9c | 6215 | |
28ff4293 PJ |
6216 | * textprop.c (Fset_text_properties): Remove unused variables |
6217 | `unchanged', `prev_changed', `s' and `len'. | |
6218 | ||
56167cc5 PJ |
6219 | * search.c (Freplace_match): Remove unused variable `inslen'. |
6220 | ||
1b944d9c PJ |
6221 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. |
6222 | ||
ca56d953 JR |
6223 | 2001-11-22 Jason Rumney <jasonr@gnu.org> |
6224 | ||
6225 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
6226 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
6227 | (my_create_tip_window): New function. | |
6228 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
93dec019 | 6229 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. |
ca56d953 | 6230 | |
33399dce JR |
6231 | 2001-11-20 Jason Rumney <jasonr@gnu.org> |
6232 | ||
6233 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
6234 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
6235 | ||
6236 | * w32fns.c (Vw32_system_coding_system): Remove. | |
6237 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
6238 | ||
9b46de40 SM |
6239 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> |
6240 | ||
6710ea06 SM |
6241 | * fileio.c (Fwrite_region): Move choose_write_coding_system to |
6242 | after build_annotations. | |
6243 | ||
a395ef6a SM |
6244 | * syntax.c (describe_syntax): Add dummy arg. |
6245 | (describe_syntax_1): Update call to describe_vector. | |
6246 | ||
6247 | * category.c (describe_category): Add dummy arg. | |
6248 | (describe_category_1): Update call to describe_vector. | |
6249 | ||
6250 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
6251 | (describe_command, describe_translation): Add dummy second param. | |
6252 | (describe_map): Call elt_describer with two arguments. | |
6253 | (describe_vector_princ): Add `fun' parameter. | |
6254 | Call it instead of the hardcoded `princ'. | |
6255 | (describe_vector): Add arg `args'. | |
6256 | Pass it as a new second argument to elt_describer. | |
6257 | ||
6258 | * keymap.h (describe_vector): Update prototype. | |
6259 | ||
9b46de40 SM |
6260 | * frame.c: Don't include keymap.h any more. |
6261 | (keys_of_frame): Remove. | |
6262 | ||
6263 | * lisp.h (keys_of_frame): Remove declaration. | |
6264 | ||
6265 | * emacs.c (main): Don't call `keys_of_frame' any more. | |
6266 | ||
aff37336 SS |
6267 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
6268 | ||
6269 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS | |
6270 | if defined, 0 otherwise. | |
9b46de40 | 6271 | (MAP_FAILED): Define if not defined and use it to test mmap failure. |
aff37336 SS |
6272 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. |
6273 | ||
b9937f07 RS |
6274 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
6275 | ||
6276 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. | |
6277 | ||
2cd23960 JR |
6278 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
6279 | ||
6280 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. | |
6281 | (x_draw_bar_cursor): If the background color of the glyph under | |
6282 | the cursor equals the frame's cursor color, use the glyph's | |
6283 | foreground color for drawing the bar cursor. | |
6284 | (x_after_update_window_line): Clear internal border in different | |
6285 | circumstances. | |
6286 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
6287 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
9b46de40 SM |
6288 | (x_set_glyph_string_background_width): |
6289 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
2cd23960 JR |
6290 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. |
6291 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
6292 | if cursor_in_non_selected_windows is false. | |
9b46de40 | 6293 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. |
2cd23960 JR |
6294 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. |
6295 | Notice if cursor gets overwritten. | |
6296 | (notice_overwritten_cursor): Renamed from | |
6297 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
6298 | into account, and to take X positions as parameters. | |
6299 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
6300 | around call to x_draw_glyphs. | |
6301 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
6302 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
6303 | color to use for image glyph reliefs. | |
6304 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
6305 | (glyph_rect): Remove unused variable `area'. | |
6306 | ||
6307 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for | |
6308 | some items. | |
6309 | (x_set_internal_border_width): Set frame garbaged when window | |
6310 | doesn't exist yet. | |
6311 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
6312 | (x_clear_image_1, four_corners_best, image_background) | |
6313 | (image_background_transparent): New functions. | |
6314 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
6315 | (gs_format): Add `:background' entry. | |
6316 | (lookup_image): Set IMG's background color if specified. | |
6317 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
6318 | when appropriate. | |
6319 | (x_clear_image_1): Reset `background_valid' and | |
6320 | `background_transparent_valid' fields. | |
6321 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
6322 | calculating it here. Set IMG's background_transparent field. | |
6323 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
6324 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
6325 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
6326 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
6327 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
6328 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
6329 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
6330 | Pre-calculate image background color where necessary. | |
9b46de40 SM |
6331 | (x_create_x_image_and_pixmap, xbm_load, gs_load): |
6332 | Use display info's n_cbits entry for screen depth. | |
2cd23960 JR |
6333 | (Fx_show_tip): Remove unused variables `buffer', `top', |
6334 | `left', `max_width' and `max_height'. | |
6335 | ||
6336 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. | |
6337 | ||
a4184c1c GM |
6338 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
6339 | ||
6340 | * puresize.h (BASE_PURESIZE): Increase to 750000. | |
6341 | ||
f00691a3 | 6342 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f6fa0866 PJ |
6343 | |
6344 | * frame.c (Fframe_live_p): Doc fix. | |
6345 | ||
f4ca4b00 RS |
6346 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
6347 | ||
6348 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) | |
6349 | (message_dolog_marker3): New static variables hold three markers. | |
6350 | (syms_of_xdisp): Initialize and staticpro them. | |
6351 | (message_dolog): Use message_dolog_marker1..3 instead of | |
6352 | allocating markers each time. Unchain them when done. | |
6353 | ||
f4e25f94 RS |
6354 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
6355 | ||
6356 | * doc.c (Fsnarf_documentation): Doc fix. | |
6357 | ||
91c153e2 AS |
6358 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
6359 | ||
6360 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. | |
6361 | ||
65b7d3e7 RS |
6362 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
6363 | ||
6364 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. | |
6365 | ||
6b5f6311 JR |
6366 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
6367 | ||
6368 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. | |
6369 | ||
be676094 GM |
6370 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
6371 | ||
6372 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property | |
6373 | with invalid position. | |
6374 | ||
032a857d RS |
6375 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
6376 | ||
6377 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. | |
6378 | ||
6379 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. | |
6380 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
6381 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
6382 | ||
6383 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. | |
6384 | ||
b6270150 SM |
6385 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
6386 | ||
6387 | * fileio.c (build_annotations): Split off the tail. | |
6388 | (build_annotations_2): New fun. Extracted from build_annotations. | |
6389 | (Fwrite_region): Split the call to build_annotations into two | |
6390 | calls to build_annotations and build_annotations_2. | |
6391 | ||
f00691a3 | 6392 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 6393 | |
98cbb9fa PJ |
6394 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
6395 | clear_waiting_for_input with argument. | |
6396 | ||
6397 | * xterm.h (x_update_cursor): Remove duplicated prototype. | |
6398 | ||
b6270150 | 6399 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
98cbb9fa | 6400 | |
ea904403 | 6401 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
98cbb9fa | 6402 | |
ea904403 | 6403 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
792e5cbd | 6404 | |
fa336b91 SM |
6405 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
6406 | ||
6407 | * fileio.c (choose_write_coding_system): New fun, extracted | |
6408 | from Fwrite_region. | |
6409 | (Fwrite_region): Use it. | |
6410 | ||
6411 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. | |
6412 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
6413 | (ml_apply, find_handler_clause): Add prototype. | |
6414 | ||
077907d4 EZ |
6415 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
6416 | ||
aa2af83a EZ |
6417 | * config.in: Add #undef HAVE_COFF_H. |
6418 | ||
077907d4 EZ |
6419 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
6420 | Required for ISC 4.1. | |
6421 | ||
1756e2fb EZ |
6422 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
6423 | ||
6424 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by | |
6425 | Andrew Wiseman <a.wiseman@btclick.com>. | |
6426 | ||
06e8f738 KS |
6427 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
6428 | ||
6429 | The following changes are made to clean up the various internal | |
6430 | references to the fringes to actually use the term `fringe' for | |
6431 | them. Previously, they were called `flags areas', `bitmap areas', | |
6432 | `left/right side of windows', or implicitly as `flags' or | |
6433 | `bitmaps': | |
6434 | ||
6435 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. | |
6436 | Comments fixed. Use renamed symbols. | |
fa336b91 | 6437 | |
06e8f738 | 6438 | * dispnew.c: Comment fix. Use renamed symbols. |
fa336b91 | 6439 | |
06e8f738 KS |
6440 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
6441 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
6442 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
fa336b91 | 6443 | |
06e8f738 | 6444 | * msdos.c: Comment fix. |
fa336b91 | 6445 | |
06e8f738 | 6446 | * w32fns.c: Use renamed symbols. |
fa336b91 | 6447 | |
06e8f738 KS |
6448 | * w32term.c: Comment fixes. Use renamed symbols. |
6449 | (fringe_bitmap_type): Renamed from bitmap_type. | |
6450 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
6451 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
6452 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
fa336b91 | 6453 | |
06e8f738 KS |
6454 | * w32term.h: Comment fixes. Use renamed symbols. |
6455 | (fringes_extra): Renamed from flags_areas_extra. | |
6456 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
6457 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
6458 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
6459 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
fa336b91 SM |
6460 | (FRAME_X_LEFT_FRINGE_WIDTH): |
6461 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
6462 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
6463 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
6464 | ||
06e8f738 | 6465 | * widget.c: Use renamed symbols. |
fa336b91 | 6466 | |
06e8f738 KS |
6467 | * window.c: Comment fixes. Use renamed symbols. |
6468 | (coordinates-in-window-p): Doc fix. | |
fa336b91 | 6469 | |
06e8f738 | 6470 | * xdisp.c: Comment fixes. Use renamed symbols. |
fa336b91 | 6471 | |
06e8f738 | 6472 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
fa336b91 | 6473 | |
06e8f738 | 6474 | * xfns.c: Use renamed symbols. |
fa336b91 | 6475 | |
06e8f738 KS |
6476 | * xterm.c: Comment fixes. Use renamed symbols. |
6477 | (fringe_bitmap_type): Renamed from bitmap_type. | |
6478 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
6479 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
6480 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
6481 | ||
6482 | * xterm.h: Comment fixes. Use renamed symbols. | |
6483 | (fringes_extra): Renamed from flags_areas_extra. | |
6484 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
6485 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
6486 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
6487 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
fa336b91 SM |
6488 | (FRAME_X_LEFT_FRINGE_WIDTH): |
6489 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
6490 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
6491 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
06e8f738 | 6492 | |
9ce647f4 JR |
6493 | 2001-11-15 Jason Rumney <jasonr@gnu.org> |
6494 | ||
6495 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
6496 | work for most menu items. From David Ponce | |
6497 | <david.ponce@wanadoo.fr>. | |
6498 | ||
9b784ab8 GM |
6499 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> |
6500 | ||
9f7e52b4 GM |
6501 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. |
6502 | Some x_set_* function expect to be called even if old and new | |
6503 | value are equal. | |
6504 | ||
6505 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
6506 | tool_bar_button_relief. | |
6507 | ||
6508 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
6509 | ||
6510 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
fa336b91 | 6511 | |
34e5d0af GM |
6512 | * xterm.c (x_draw_bar_cursor): If the background color of the |
6513 | glyph under the cursor equals the frame's cursor color, use | |
6514 | the glyph's foreground color for drawing the bar cursor. | |
6515 | ||
9b784ab8 GM |
6516 | * dispnew.c (direct_output_forward_char): Fix character/byte |
6517 | position comparison. | |
6518 | ||
89512fcd MB |
6519 | 2001-11-15 Miles Bader <miles@gnu.org> |
6520 | ||
6521 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. | |
6522 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
6523 | Update arguments to find_field. | |
6524 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
6525 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
6526 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
6527 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
6528 | ||
7d18891d RS |
6529 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
6530 | ||
d2936d21 RS |
6531 | * editfns.c (Fpropertize): Allow call with 1 arg. |
6532 | ||
7d18891d RS |
6533 | * dispextern.h (image_background, image_background_transparent): |
6534 | Conditionalize on HAVE_X_WINDOWS. | |
6535 | ||
6536 | 2001-11-13 Richard M. Stallman <rms@gnu.org> | |
6537 | ||
6538 | * print.c (Fprin1_to_string): Doc fix. | |
6539 | ||
6540 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. | |
6541 | ||
6542 | * floatfns.c (Fceiling, Ffloor): Doc fixes. | |
6543 | ||
6544 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. | |
6545 | ||
6546 | * fileio.c (Ffile_accessible_directory_p): Doc fix. | |
6547 | ||
6548 | * eval.c (syms_of_eval): Doc fix. | |
6549 | ||
6550 | * coding.c (syms_of_coding): Doc fix. | |
6551 | ||
6552 | * doc.c (Fsnarf_documentation): Doc fix. | |
6553 | ||
6554 | * dispnew.c (syms_of_display): Doc fix. | |
6555 | ||
6556 | * category.c (Fget_unused_category): Doc fix. | |
6557 | ||
6558 | * buffer.c (syms_of_buffer): Doc fixes. | |
6559 | ||
9474c847 EZ |
6560 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
6561 | ||
6562 | * print.c (prin1, print): Doc fix. | |
6563 | ||
f00691a3 | 6564 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
e3059a5d | 6565 | |
2b6f3c2b | 6566 | * fontset.h: Remove declarations of variables |
e3059a5d PJ |
6567 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. |
6568 | ||
6569 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and | |
6570 | `Vclip_large_size_font'. | |
6571 | ||
b3700ae7 JR |
6572 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
6573 | ||
6574 | * w32fns.c: Doc fix. | |
6575 | ||
f00691a3 | 6576 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eae936e2 | 6577 | |
4bb962be PJ |
6578 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
6579 | ||
ddb67bdc PJ |
6580 | * fns.c: Doc fix. |
6581 | ||
3467c402 PJ |
6582 | * emacs.c: Doc fix. |
6583 | ||
6584 | * coding.c: Doc fix. | |
6585 | ||
6e1b91d7 PJ |
6586 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
6587 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
6588 | `new style' [w/`doc:' keyword]. | |
6589 | ||
1c1d3d69 RS |
6590 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
6591 | ||
6592 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or | |
6593 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
6594 | (x_display_and_set_cursor): Do display hollow cursors in active | |
6595 | minibuffer windows when they are not selected. | |
6596 | ||
b6f4c7ba JR |
6597 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
6598 | ||
6599 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
6600 | * w32term.c: Change doc-string comments to `new style'. | |
6601 | [w/`doc:' keyword]. Doc fixes. | |
6602 | ||
6603 | * w32fns.c: Don't define max. | |
6604 | (Fx_open_connection): Only execute once. | |
6605 | ||
f00691a3 | 6606 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a89f435d PJ |
6607 | |
6608 | * ccl.c: Change macros to use do-while block instead of if-else. | |
6609 | Use braces to follow GNU Coding Standards. | |
6610 | ||
a4cd0cd7 RS |
6611 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
6612 | ||
eafb659a RS |
6613 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
6614 | ||
6615 | * lread.c (read_escape): Use end_of_file_error for reporting eof. | |
6616 | ||
a4cd0cd7 RS |
6617 | * insdel.c (replace_range): Use adjust_markers_for_replace |
6618 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
6619 | ||
6620 | * intervals.h: Declare set_text_properties and set_text_properties_1. | |
6621 | ||
6622 | * textprop.c (set_text_properties_1): New subroutine | |
6623 | broken out of set_text_properties. | |
6624 | (set_text_properties): Use set_text_properties_1. | |
6625 | ||
6626 | * intervals.c (graft_intervals_into_buffer): | |
6627 | Use set_text_properties_1 to clear out properties. | |
6628 | ||
6629 | * search.c (Freplace_match): Use replace_range to insert | |
6630 | and delete. Don't request property inheritance from | |
6631 | surrounding text. | |
6632 | ||
91823618 JR |
6633 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
6634 | ||
6635 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect | |
6636 | vertical fonts. Allow them if face name is explicitly specified. | |
fa336b91 | 6637 | Do not give up if we find a font that cannot be converted to an xlfd. |
91823618 | 6638 | |
86928dfb GM |
6639 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
6640 | ||
fa336b91 | 6641 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
86928dfb GM |
6642 | instead of malloc/free. |
6643 | ||
f00691a3 | 6644 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 6645 | |
ab8469eb PJ |
6646 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
6647 | Coding Standards. | |
6648 | (Finternal_set_lisp_face_attribute): Likewise. | |
6649 | ||
a78e0303 PJ |
6650 | * buffer.c (Fbury_buffer): Likewise. |
6651 | ||
40ef1eda PJ |
6652 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
6653 | ||
fabf4a91 PJ |
6654 | * coding.c (encode_coding): Use precomputed value of `src'. |
6655 | (encode_coding): Remove unused variable `src_end'. | |
6656 | (code_convert_region): Remove unused variables `count'. | |
6657 | ||
0c99b139 JR |
6658 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
6659 | ||
6660 | * w32term.c (x_display_and_set_cursor): Do not move system caret | |
6661 | if cursor_glyph is NULL. | |
6662 | ||
f00691a3 | 6663 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
830ddd77 PJ |
6664 | |
6665 | * keymap.c (access_keymap): Fix compilation error. | |
6666 | ||
55c6d645 MB |
6667 | 2001-11-07 Miles Bader <miles@gnu.org> |
6668 | ||
6669 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. | |
6670 | ||
f00691a3 | 6671 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
5de38842 | 6672 | |
7a4564a4 PJ |
6673 | * intervals.c (graft_intervals_into_buffer): |
6674 | Remove #ifdef'd-out code. | |
6675 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
6676 | ||
5de38842 PJ |
6677 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
6678 | code (eval-current-buffer). | |
6679 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
6680 | ||
4fa23df5 RS |
6681 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
6682 | ||
6683 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. | |
6684 | ||
7a6a97d7 SM |
6685 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
6686 | ||
c191d13c SM |
6687 | * lread.c (read1): Fix behavior with nested backquoting. |
6688 | ||
7a6a97d7 SM |
6689 | * keyboard.c (make_lispy_event): Check integerness and fix |
6690 | Lisp_Object/int mixup. | |
6691 | ||
f00691a3 | 6692 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
44dc78e0 PJ |
6693 | |
6694 | * fns.c (copy_hash_table): Remove unused variable `v'. | |
6695 | ||
17893c65 PJ |
6696 | * fontset.c (fontset_font_pattern): Remove unused variable |
6697 | `family_registry'. | |
6698 | ||
4d994a79 PJ |
6699 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
6700 | ||
d5360cc7 RS |
6701 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
6702 | ||
6703 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. | |
6704 | ||
6705 | * buffer.c (Fkill_buffer): Don't delete auto save file | |
6706 | if buffer is modified. | |
6707 | ||
96238a5a AI |
6708 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
6709 | ||
6710 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and | |
6711 | CHECK_NUMBER_CDR. | |
6712 | ||
d9d54213 RS |
6713 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
6714 | ||
6715 | * unexelf.c (unexec): Minor changes; clean up comments. | |
6716 | ||
b116830b SS |
6717 | 2001-11-05 Sam Steingold <sds@gnu.org> |
6718 | ||
6719 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. | |
6720 | ||
3297e2a1 AS |
6721 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6722 | ||
6723 | * sound.c (sound_perror): Save errno from being clobbered. | |
6724 | ||
9212319f | 6725 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
6fb8339c EZ |
6726 | |
6727 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write | |
6728 | the program image directly. | |
6729 | ||
f00691a3 | 6730 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7dd73b78 PJ |
6731 | |
6732 | * buffer.h (Fbuffer_local_value): Add prototype. | |
6733 | ||
982f6c7e RS |
6734 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
6735 | ||
d31053f9 RS |
6736 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
6737 | and CHECK_BUFFER. | |
6738 | ||
6739 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. | |
6740 | (record_char): Likewise. | |
6741 | ||
6742 | * keyboard.c (make_lispy_event): Don't insist a drag event must | |
6743 | move to a different buffer position. Instead, check for moving at | |
6744 | least double_click_fuzz. | |
6745 | ||
6746 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. | |
6747 | ||
6748 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. | |
6749 | ||
982f6c7e | 6750 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
4d8da98b | 6751 | for display-table glyphs from the code for buffer text, to fix |
982f6c7e RS |
6752 | bugs in the former. |
6753 | ||
830047fd RS |
6754 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
6755 | ||
6756 | * buffer.c (Fbuffer_local_value): New function. | |
c191d13c | 6757 | (syms_of_buffer): Defsubr it. |
b116830b | 6758 | |
830047fd RS |
6759 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
6760 | value of `cursor-in-non-selected-windows'. | |
6761 | ||
6762 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. | |
6763 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
6764 | (syms_of_xdisp): Initialize it. | |
b116830b | 6765 | |
f00691a3 | 6766 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 6767 | |
4e397688 PJ |
6768 | * xfns.c (Fx_create_frame): Doc fix. |
6769 | ||
48b0f3ae PJ |
6770 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
6771 | keyword]. | |
6772 | ||
2df5238c PJ |
6773 | * eval.c (top_level_value, top_level_set): Remove commented and |
6774 | #ifdef'd-out code. | |
6775 | (Fdefvar): Fix usage in doc-string. | |
6776 | ||
3ecaf7e5 RS |
6777 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
6778 | ||
6779 | * xfns.c: Include unistd.h, if it exists. | |
6780 | ||
6781 | * editfns.c: Move the include of ctype.h after unistd.h. | |
6782 | ||
6783 | * gmalloc.c: Test BROKEN_PROTOTYPES. | |
6784 | ||
8db2e33b KR |
6785 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
6786 | ||
6787 | * lisp.h (CHECK_STRING_CAR): New macro. | |
6788 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
6789 | treating XCAR and XCDR as lvalues. | |
6790 | (openp): Use CHECK_STRING_CAR. | |
6791 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
6792 | ||
aed29b97 EZ |
6793 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6794 | ||
6795 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. | |
13ccc79a | 6796 | (SIGMASKTYPE): Define. |
aed29b97 EZ |
6797 | |
6798 | * syssignal.h (sigunblock): Don't define if already defined. | |
6799 | ||
f00691a3 | 6800 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6cb16f95 | 6801 | |
16b45be4 EZ |
6802 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
6803 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
1b1acc13 PJ |
6804 | Fix typos in comments. |
6805 | ||
020f9b38 PJ |
6806 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
6807 | and #ifdef'd-out code. | |
6808 | Fix and reindent comments. | |
6809 | ||
c191d13c | 6810 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
020f9b38 | 6811 | |
6cb16f95 PJ |
6812 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
6813 | argument `i' in macros. | |
6814 | ||
6815 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument | |
6816 | `i' in macros. | |
6817 | ||
16b45be4 EZ |
6818 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
6819 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
6820 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
6821 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
6822 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
6823 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
6824 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
6825 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
6cb16f95 PJ |
6826 | in macros. |
6827 | ||
6828 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
153c2160 PJ |
6829 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, |
6830 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
6831 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
6832 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
6833 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
6834 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
6835 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
6836 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
6cb16f95 PJ |
6837 | (remove unused second argument). |
6838 | ||
7e9d3c2f SM |
6839 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
6840 | ||
6841 | * syntax.c (describe_syntax): New wrapper. | |
6842 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
6843 | Don't insert space at front and \n at the end. | |
6844 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
6845 | ||
6846 | * regex.c (re_wctype): Try to fix some warnings. | |
6847 | (regcomp, regexec): Don't forget the __restrict. | |
6848 | ||
e6bff182 RS |
6849 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
6850 | ||
6851 | * textprop.c (Fget_char_property): Doc fix. | |
6852 | ||
f00691a3 | 6853 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 PJ |
6854 | |
6855 | * process.c (Fstart_process): Add usage to doc-string. | |
6856 | ||
6857 | * data.c (Fsetq_default): Ditto. | |
6858 | ||
6859 | * callint.c (Finteractive): Ditto. | |
6860 | ||
c22e59e1 SM |
6861 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
6862 | ||
6863 | * macros.c: Don't include keymap.h any more. | |
6864 | ||
9271ed2c RS |
6865 | 2001-11-01 Richard M. Stallman <rms@gnu.org> |
6866 | ||
e6bff182 RS |
6867 | * data.c (Fmake_local_variable): Doc fix. |
6868 | ||
6869 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
6870 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
6871 | ||
9271ed2c RS |
6872 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
6873 | bindings along with or instead of the buffer local map. | |
6874 | Make the overriding maps override what they should. | |
6875 | ||
f00691a3 | 6876 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
6877 | |
6878 | * window.c (grow_mini_window): Fix typo in comment. | |
6879 | ||
27188d11 GM |
6880 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
6881 | ||
7b49b9d2 GM |
6882 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
6883 | (XTset_vertical_scroll_bar): Likewise. | |
6884 | ||
43f7c3ea GM |
6885 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
6886 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 6887 | |
b350c2e5 GM |
6888 | * xfns.c (four_corners_best): Reindent. |
6889 | ||
c22e59e1 | 6890 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
6891 | Handle :box so that it is possible to specify sexprs. |
6892 | ||
bf00d461 EZ |
6893 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
6894 | ||
6895 | * s/hpux11.h: New file. | |
6896 | ||
f00691a3 | 6897 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 6898 | |
2b209b97 PJ |
6899 | * emacs.c (USAGE1): Show command line option --no-window-system |
6900 | instead of --no-windows in usage. | |
6901 | (standard_args): Rename --no-windows to --no-window-system. | |
6902 | (bug_reporting_address): Follow Emacs coding conventions. | |
6903 | ||
9dbc9081 PJ |
6904 | * eval.c (Fcommandp): Doc fix. |
6905 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
6906 | ||
4e10df59 PJ |
6907 | * frame.c (Fframe_live_p): Doc fix. |
6908 | ||
6909 | * buffer.c (selective-display-ellipses): Doc fix. | |
6910 | ||
dd387b25 GM |
6911 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
6912 | ||
fe957e65 GM |
6913 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
6914 | ||
dd387b25 GM |
6915 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
6916 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
6917 | members which have a different meaning. | |
6918 | (free_face_colors): Do nothing for a face whose colors have been | |
6919 | copied bitwise. | |
6920 | ||
c22e59e1 | 6921 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 6922 | |
f00691a3 | 6923 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 6924 | |
687784e8 PJ |
6925 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
6926 | [w/`doc:' keyword]. | |
2e1280f8 | 6927 | |
b9d9a9b9 GM |
6928 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
6929 | ||
6930 | * fns.c (require_unwind): Return Lisp_Object. | |
6931 | ||
f00691a3 | 6932 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 6933 | |
fa1361cb PJ |
6934 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
6935 | (last-input-char): Revert doc-string to be the same as the | |
6936 | doc-string of `last-input-event'. | |
6937 | ||
6c465a15 | 6938 | * xdisp.c: Fix typos in comments. |
48400103 | 6939 | |
eafa3196 GM |
6940 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
6941 | ||
6942 | * window.c (grow_mini_window): Handle case that the root | |
6943 | window is already smaller than the nominal mininum height. | |
6944 | ||
747d3f2a SM |
6945 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
6946 | ||
bf9bb76f SM |
6947 | * emacs.c (main): Don't call keys_of_macros any more. |
6948 | ||
6949 | * lisp.h (keys_of_macros): Remove. | |
6950 | ||
6951 | * macros.c (keys_of_macros): Remove. | |
6952 | ||
747d3f2a SM |
6953 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
6954 | ||
5e905a57 JR |
6955 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
6956 | ||
6957 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
6958 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
6959 | ||
3a426197 RS |
6960 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
6961 | ||
6962 | * keyboard.c (Finput_pending_p): Doc fix. | |
6963 | ||
a742d646 GM |
6964 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
6965 | ||
259cf6bc GM |
6966 | * xterm.c (x_after_update_window_line): Don't run the code |
6967 | clearing in borders for rows whose visible height is 0. | |
6968 | ||
3f99f948 GM |
6969 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
6970 | resized_p flag is set. If not set, use the much less flickering | |
6971 | method previously used. | |
6972 | ||
6973 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
6974 | ||
6975 | * frame.h (struct frame) <resized_p>: New member. | |
6976 | ||
b4a3be43 GM |
6977 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
6978 | as large as the number of bytes to convert. | |
747d3f2a | 6979 | |
a742d646 GM |
6980 | * lread.c (to_multibyte): New function. |
6981 | (read1): Use it. | |
6982 | ||
cacbb9e9 EZ |
6983 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
6984 | ||
6985 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
6986 | ||
99cb6b2f GM |
6987 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
6988 | ||
327f42ee | 6989 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
6990 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
6991 | if the row's fill_line_p is set and drawing the last glyph with | |
6992 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 6993 | |
99cb6b2f GM |
6994 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
6995 | ||
8e8223e2 SM |
6996 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
6997 | ||
6998 | * xmenu.c: Include coding.h and charset.h. | |
6999 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
7000 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
7001 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
7002 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
7003 | (menu_help_callback): Use empty_string. | |
7004 | ||
7005 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
7006 | (Fx_popup_dialog): Explicitly init f. | |
7007 | (w32_menu_display_help): Use empty_string. | |
7008 | ||
4d083a8f RS |
7009 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
7010 | ||
b2304472 RS |
7011 | * fns.c (Frequire): Detect recursive try to require the same |
7012 | feature 3 or more levels deep, and get error. | |
7013 | (require_unwind): New subroutine. | |
7014 | (require_nesting_list): New variable. | |
7015 | (syms_of_fns): Init and staticpro it. | |
7016 | ||
4d083a8f RS |
7017 | * print.c (print_object): Clarify indication of insertion type. |
7018 | ||
2fe41216 EZ |
7019 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
7020 | ||
90480000 EZ |
7021 | * coding.c (syms_of_coding): Document that locale-coding-system is |
7022 | used for decoding input on X. | |
7023 | ||
2fe41216 EZ |
7024 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
7025 | ||
f00691a3 | 7026 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
7027 | |
7028 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
7029 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
7030 | ||
60ebcfe8 GM |
7031 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
7032 | ||
9a7bdceb GM |
7033 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
7034 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
7035 | ||
3f08fcd2 GM |
7036 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
7037 | the slant attribute if FRAME is t. | |
7038 | ||
0ccfdad2 GM |
7039 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
7040 | when X window doesn't exist yet. | |
7041 | ||
ef253080 GM |
7042 | * xterm.c (x_after_update_window_line): Clear internal border |
7043 | in different circumstances. | |
b116830b | 7044 | |
60ebcfe8 GM |
7045 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
7046 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
7047 | <handa@etl.go.jp>. | |
7048 | ||
73d25f9c EZ |
7049 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
7050 | ||
7051 | * m/ibms390.h: New file. From Adam Thornton | |
7052 | <athornton@sinenomine.net>. | |
7053 | ||
cac1daf0 GM |
7054 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
7055 | ||
053b3256 | 7056 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 7057 | |
cac1daf0 GM |
7058 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
7059 | a loop counter. | |
7060 | ||
f00691a3 | 7061 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 7062 | |
186486eb PJ |
7063 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
7064 | ||
4707d2d0 PJ |
7065 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
7066 | keyword]. | |
7067 | Fix typos in comments. | |
b116830b | 7068 | |
d883731c PJ |
7069 | * emacs.c (bug_reporting_address): New function. |
7070 | Use it when displaying usage message. | |
7071 | ||
04012254 PJ |
7072 | * minibuf.c (read_minibuf): Remove unused external declaration of |
7073 | variable `Qread_only'. | |
7074 | ||
13b1a09c PJ |
7075 | * keymap.c (access_keymap): Remove unused variable `charset'. |
7076 | ||
5bbf4378 MB |
7077 | 2001-10-28 Miles Bader <miles@gnu.org> |
7078 | ||
7079 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
7080 | Remove #ifdef'd-out code. | |
7081 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
7082 | (syms_of_xfaces): Initialize them. | |
7083 | ||
1ce1e4ee JR |
7084 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
7085 | ||
7086 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
7087 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
7088 | position using the system caret. | |
7089 | ||
7090 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
7091 | (w32_system_caret_height, w32_system_caret_x) | |
7092 | (w32_system_caret_y): New variables for tracking system caret. | |
7093 | (w32_initialize): Initialize them. | |
c2d53558 | 7094 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 7095 | |
c2d53558 SM |
7096 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
7097 | New messages types. | |
1ce1e4ee JR |
7098 | |
7099 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
7100 | ||
f00691a3 | 7101 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 7102 | |
bb4600a4 PJ |
7103 | * xterm.c: Fix typo in a comment. |
7104 | ||
7db35a48 PJ |
7105 | * emacs.c: Fix typos in comments. |
7106 | Remove unnecessary spaces. | |
7107 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7108 | (USAGE2): Fix typos in usage string. | |
7109 | ||
a7248e4f PJ |
7110 | * xterm.c: Fix typo in a comment. |
7111 | ||
4e30ce42 PJ |
7112 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
7113 | emacs.c. | |
7114 | ||
62725a92 GM |
7115 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
7116 | ||
798dbe1f | 7117 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 7118 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
7119 | farther backward when target_y was not reached. |
7120 | ||
62725a92 GM |
7121 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
7122 | Display errno only if non-zero. | |
7123 | (sound_warning): New function. | |
7124 | (vox_configure): Don't treat failing to set sample rate as error. | |
7125 | (various places): Improve error messages. | |
7126 | ||
d4e34d24 EZ |
7127 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
7128 | ||
944e6f60 EZ |
7129 | * fileio.c (Faccess_file): Run the argument filename through |
7130 | Fexpand_file_name, before using it. | |
7131 | ||
d4e34d24 EZ |
7132 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
7133 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
7134 | ||
38d2af0c GM |
7135 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
7136 | ||
da80a8d5 GM |
7137 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
7138 | ||
38d2af0c GM |
7139 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
7140 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 7141 | |
45de4a6f | 7142 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
7143 | |
7144 | * w32gui.h (XImage): Add a dummy typedef. | |
7145 | ||
fbd5ceb2 GM |
7146 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
7147 | ||
c2d53558 | 7148 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 7149 | |
b23236fb EZ |
7150 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
7151 | ||
7152 | * frame.c (Fframe_parameter): Fix last change. | |
7153 | ||
5d991fc4 EZ |
7154 | * fileio.c: Revert last change (which removed old commented-out |
7155 | version of expand-file-name). Add a comment that explains why | |
7156 | this old version should not be removed. | |
7157 | ||
879eadc3 GM |
7158 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
7159 | ||
75700ff2 GM |
7160 | * frame.c (Fframe_parameter): Fix a bug whereby some |
7161 | ``artificial'' frame parameters, like `minibuffer' were not | |
7162 | obtained by calling Fframe_parameters. | |
7163 | ||
dfe92a6a GM |
7164 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
7165 | cursor differently. | |
7166 | ||
879eadc3 GM |
7167 | * xdisp.c (move_it_vertically_backward): Compute line height |
7168 | differently. Add heuristic to try to be more compatible to 20.x. | |
7169 | ||
e1010ebe SM |
7170 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
7171 | ||
d73a471b SM |
7172 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
7173 | ||
d6da5a06 GM |
7174 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
7175 | boolean. | |
e1010ebe | 7176 | |
f66bd220 MB |
7177 | 2001-10-25 Miles Bader <miles@gnu.org> |
7178 | ||
7179 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
7180 | BG is a pointer to a structure, not a structure. | |
7181 | (gif_format, png_format): Add missing commas. | |
7182 | ||
d436d538 RS |
7183 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
7184 | ||
7185 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 7186 | (syms_of_xfaces): Defsubr it. |
d436d538 | 7187 | |
f00691a3 | 7188 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
7189 | |
7190 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
7191 | variable `area'. | |
7192 | ||
f00691a3 | 7193 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 7194 | |
c2d53558 | 7195 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 7196 | |
e2a57b34 MB |
7197 | 2001-10-25 Miles Bader <miles@gnu.org> |
7198 | ||
7199 | * dispextern.h (struct image): Add `background', | |
7200 | `background_valid', and `background_transparent' fields. | |
7201 | (image_background, image_background_transparent): New declarations. | |
7202 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
7203 | * xfns.c (image_background, image_background_transparent) | |
7204 | (four_corners_best): New functions. | |
c2d53558 | 7205 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
7206 | (gs_format): Add `:background' entry. |
7207 | (lookup_image): Set IMG's background color if specified. | |
7208 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
7209 | when appropriate. | |
7210 | (x_clear_image_1): Reset `background_valid' and | |
7211 | `background_transparent_valid' fields. | |
7212 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
7213 | calculating it here. Set IMG's background_transparent field. | |
7214 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
7215 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
7216 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
7217 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
7218 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
7219 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 7220 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
7221 | Pre-calculate image background color where necessary. |
7222 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
7223 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
7224 | color to use for image glyph reliefs. | |
7225 | ||
b547b6e8 GM |
7226 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
7227 | ||
d9e3b8c6 GM |
7228 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
7229 | in full-width rows. | |
c2d53558 | 7230 | |
b547b6e8 GM |
7231 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
7232 | Fix clearing of area not covered by scroll bar. | |
7233 | ||
f00691a3 | 7234 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 PJ |
7235 | |
7236 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' | |
7237 | and `real_start'. | |
c2d53558 | 7238 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
7239 | (glyph_rect): Remove unused variable `area'. |
7240 | ||
76cb5e06 GM |
7241 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
7242 | ||
bdbdebff | 7243 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
7244 | |
7245 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
7246 | (row_containing_pos): Take additional argument DY. | |
7247 | Treat rows ending in middle of char differently. | |
62e33982 GM |
7248 | (display_line): Handle tabs on window systems differently. |
7249 | ||
7250 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
7251 | with additional argument. | |
7252 | ||
7253 | * dispextern.h (row_containing_pos): Adjust prototype. | |
7254 | ||
76cb5e06 GM |
7255 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
7256 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
7257 | (try_window_id, try_window_reusing_current_matrix) | |
7258 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 7259 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 7260 | |
f00691a3 | 7261 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 7262 | |
c9e60620 PJ |
7263 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
7264 | gnuemacs). | |
7265 | (HAVE_BOXES): Fix typo in comment. | |
7266 | (push_menu_pane): Fix typo in comment. | |
7267 | ||
3b552d56 PJ |
7268 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
7269 | of `Qwhen'. | |
7270 | (single_display_prop_string_p): Remove unused local declarations | |
7271 | of `Qwhen' and `Qmargin'. | |
7272 | (string_buffer_position): Remove unused variable `around'. | |
7273 | (store_frame_title): Remove unused variable `width'. | |
7274 | ||
15c565ac PJ |
7275 | * window.c: Don't define max. |
7276 | (coordinates_in_window): Remove unused variable `uy'. | |
7277 | ||
a8818eb9 PJ |
7278 | * widget.c: Don't define max. |
7279 | ||
996fee11 PJ |
7280 | * process.c: Don't define max. |
7281 | (create_process): Remove unused variable `buffer'. | |
7282 | ||
496e1a5b GM |
7283 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
7284 | ||
c2d53558 | 7285 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 7286 | |
5905ae8b EZ |
7287 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
7288 | ||
7289 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
7290 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
7291 | frame is on a windowed display. | |
7292 | ||
24db49fb GM |
7293 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
7294 | ||
c2d53558 SM |
7295 | * dispnew.c (sync_window_with_frame_matrix_rows): |
7296 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
7297 | of marginal areas. |
7298 | ||
c2d53558 | 7299 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 7300 | |
f0487f05 EZ |
7301 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
7302 | ||
7303 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
7304 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
7305 | ||
f0a48a01 GM |
7306 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
7307 | ||
c2d53558 | 7308 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
7309 | REAL_END. Notice if cursor gets overwritten. |
7310 | (notice_overwritten_cursor): Take X positions as parameters. | |
7311 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
7312 | around call to x_draw_glyphs. | |
7313 | ||
f00691a3 | 7314 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 7315 | |
fc11dff0 PJ |
7316 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
7317 | instead of C) and usage. | |
a50a10a0 | 7318 | |
fc11dff0 PJ |
7319 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
7320 | of C) and usage. | |
a50a10a0 PJ |
7321 | |
7322 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
7323 | `left', `max_width' and `max_height'. | |
7324 | ||
8738febd GM |
7325 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
7326 | ||
7327 | * xdisp.c (display_line): For a tab continued to the next line, | |
7328 | set row's ends_in_middle_of_char_p. | |
7329 | ||
653c329b GM |
7330 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
7331 | ||
7332 | * xdisp.c (display_line): Fix computation of continuation lines | |
7333 | width for TABs. | |
7334 | ||
f00691a3 | 7335 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 7336 | |
7ba51063 PJ |
7337 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
7338 | `Qlaplace'. | |
7339 | ||
f958c5ac PJ |
7340 | * fileio.c: Remove unused code. |
7341 | ||
eb360291 MB |
7342 | 2001-10-22 Miles Bader <miles@gnu.org> |
7343 | ||
7344 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
7345 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
7346 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
7347 | ||
98515cf0 JR |
7348 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
7349 | ||
7350 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
7351 | ||
93026d88 EZ |
7352 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
7353 | ||
7354 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
7355 | (Finsert_string): Avoid the multi-line string literals warning. | |
7356 | ||
c9a95b79 MB |
7357 | 2001-10-22 Miles Bader <miles@gnu.org> |
7358 | ||
7359 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
7360 | (Fdocumentation): Don't use it. | |
7361 | (syms_of_doc): Don't initialize it. | |
7362 | ||
7363 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
7364 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
7365 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 7366 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 7367 | (Fsave_restriction): Likewise. |
c2d53558 SM |
7368 | * eval.c (Frun_hooks, Frun_hook_with_args) |
7369 | (Frun_hook_with_args_until_failure) | |
7370 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
7371 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
7372 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
7373 | (Funwind_protect, Fcondition_case): Likewise. |
7374 | * coding.c (Ffind_operation_coding_system): Likewise. | |
7375 | * keyboard.c (Ftrack_mouse): Likewise. | |
7376 | ||
a3b10252 MB |
7377 | 2001-10-21 Miles Bader <miles@gnu.org> |
7378 | ||
c2d53558 | 7379 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
7380 | (Fmake_hash_table): Add usage: string to doc string. |
7381 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 7382 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
7383 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
7384 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
7385 | (Fml_prefix_argument_loop): Likewise. | |
7386 | ||
f00691a3 | 7387 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 7388 | |
c2d53558 | 7389 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 7390 | |
c6f73eec PJ |
7391 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
7392 | style' [w/`doc:' keyword]. | |
7393 | ||
7394 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
7395 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
7396 | comments to `new style' [w/`doc:' keyword]. | |
7397 | ||
3cf3436e JR |
7398 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
7399 | ||
7400 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
7401 | ||
c169b8f1 JR |
7402 | * w32term.c (remember_mouse_glyph): New function. |
7403 | (w32_mouse_position): Use it. | |
7404 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
7405 | its new position. | |
c2d53558 | 7406 | |
4fdd691b JR |
7407 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
7408 | (w32_display_info): Add mouse_face_overlay. | |
7409 | ||
c169b8f1 JR |
7410 | * w32term.c (notice_overwritten_cursor): Renamed from |
7411 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
7412 | account. | |
7413 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
7414 | (fast_find_string_pos): New function. | |
7415 | (fast_find_position): Return the correct vpos. Add parameter | |
7416 | STOP. In the final row, stop before glyphs having STOP as object. | |
7417 | Don't consider glyphs that are not from a buffer. | |
7418 | (fast_find_position) [0]: Add a presumably more correct version | |
7419 | for after 21.1. | |
7420 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
7421 | (expose_window): Do it here instead. | |
7422 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
7423 | overwriting mouse-face. | |
7424 | (expose_window): If W is the window currently being updated, mark | |
7425 | the frame garbaged. | |
7426 | (expose_frame): If mouse-face was overwritten, redo it. | |
7427 | (x_use_underline_position_properties): New variable. | |
7428 | (syms_of_xterm): DEFVAR_BOOL it. | |
7429 | (x_draw_glyph_string): Add comment to use it in future. | |
7430 | (x_draw_glyph_string): Restore clipping after drawing box. | |
7431 | Fix a computation of the underline position. | |
7432 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
7433 | (x_fill_stretch_glyph_string): Remove an assertion. | |
7434 | (x_produce_glyphs): Don't convert multibyte characters | |
7435 | to unibyte characters in unibyte buffers. | |
7436 | (cursor_in_mouse_face_p): New function. | |
7437 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
7438 | when drawing a cursor within highlighted text. Don't draw | |
7439 | background again if it has already been drawn. | |
7440 | (x_draw_glyph_string_box): Don't draw a full-width | |
7441 | box just because the glyph row's full_width_p flag is set. | |
7442 | (x_draw_glyphs): Fix computation of rightmost x for | |
7443 | full-width rows. | |
7444 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
7445 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
7446 | change bottom shadow accordingly. Some cleanup. | |
7447 | (x_update_window_end): Handle overwritten mouse face | |
7448 | also for tool bar windows. | |
7449 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
7450 | DRAW is DRAW_IMAGE_RAISED. | |
7451 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
7452 | actually redrawn. Make the function static. |
7453 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
7454 | optimize away highlighting if we pass over that same overlay again. |
7455 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
7456 | to detect a case where we have to highlight a different region | |
7457 | despite not having left the currently highlighted region. | |
7458 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
7459 | mouse pointer shape when show_mouse_face has already done it, or | |
7460 | there is no need. Handle mouse-face and help-echo in strings. | |
7461 | (glyph_rect): New function. | |
7462 | (w32_mouse_position): Use it to raise the threshold for mouse | |
7463 | movement event generation. | |
7464 | (w32_initialize_display_info): Initialize the x_display_info's | |
7465 | mouse_face_overlay. | |
7466 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
7467 | or width area. | |
7468 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
7469 | a widget to zero height. | |
7470 | ||
3cf3436e | 7471 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 7472 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
7473 | equivalents in menu_items. |
7474 | (w32_menu_show): Don't overwrite an item's name with its key | |
7475 | description in case the description is a multibyte string. | |
7476 | (single_submenu): Some cleanup. | |
7477 | ||
7478 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
7479 | (postprocess_image): New function. | |
7480 | (lookup_image): Call it for all image types except PostScript. | |
7481 | (x_kill_gs_process): Call postprocess_image. | |
7482 | (tiff_error_handler, tiff_warning_handler): New functions. | |
7483 | (tiff_load): Install them as handlers. | |
7484 | (x_kill_gs_process): Recognize if someone has cleared the image | |
7485 | cache under us. | |
7486 | (valid_image_p): Protect better against invalid image | |
7487 | specifications. Previous code could signal an error. | |
7488 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
7489 | (Fv_max_tooltip_size): New variable. | |
7490 | (syns_of_xfns): DEFVAR_LISP it. | |
7491 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
7492 | window buffer to *tip* right after creating the frame. Set frame's | |
7493 | window_width. Use a maximum tooltip size specified by | |
7494 | Vx_max_tooltip_size, if that has valid contents. | |
7495 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
7496 | Make sure the tooltip is completely visible. | |
7497 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
7498 | (Fx_create_frame): Adjust the frame's height for presence | |
7499 | of the tool bar before calling x_figure_window_size. | |
7500 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
7501 | when the window gets smaller. | |
7502 | (x_set_foreground_color): Set frame's cursor_pixel. | |
7503 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
7504 | (x_set_font): Handle case of x_new_fontset returning the same name | |
7505 | as before, although there was a change in fontsets. | |
7506 | ||
386ca361 MB |
7507 | 2001-10-21 Miles Bader <miles@gnu.org> |
7508 | ||
c2d53558 | 7509 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
7510 | (Flogxor): Add usage: string to doc string. |
7511 | * charset.c (Fstring): Likewise. | |
7512 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
7513 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
7514 | ||
f00691a3 | 7515 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 7516 | |
03be2694 PJ |
7517 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
7518 | ||
7519 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
7520 | ||
7521 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
7522 | ||
14ff1ee0 PJ |
7523 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
7524 | keyword]. | |
7525 | ||
2f147815 | 7526 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
7527 | |
7528 | ;; Local Variables: | |
49b3bd82 | 7529 | ;; coding: iso-2022-7bit |
6922b018 | 7530 | ;; End: |
2a34a036 | 7531 | |
2f147815 | 7532 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
7533 | Copying and distribution of this file, with or without modification, |
7534 | are permitted provided the copyright notice and this notice are preserved. |