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