Commit | Line | Data |
---|---|---|
6f10509c AS |
1 | 2006-03-05 Andreas Schwab <schwab@suse.de> |
2 | ||
3 | * xselect.c (x_catch_errors_unwind): Fix missing return value. | |
4 | ||
f79bc642 KS |
5 | 2006-03-02 Kim F. Storm <storm@cua.dk> |
6 | ||
7 | * frame.h (struct frame): New member n_tool_bar_rows. | |
8 | ||
9 | * xdisp.c: Minimize the unpleasent visual impact of the requirement | |
10 | that non-toolkit tool-bars must occupy an integral number of screen | |
11 | lines, by distributing the rows evenly over the tool-bar screen area. | |
12 | (Vtool_bar_border): New variable. | |
13 | (syms_of_xdisp): DEFVAR_LISP it. | |
14 | (display_tool_bar_line): Add HEIGHT arg for desired row height. Make | |
15 | tool-bar row the desired height. Use default face for border below | |
16 | tool-bar. | |
17 | (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of | |
18 | actual tool-bar rows. | |
19 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially. | |
20 | Adjust the height of the tool-bar rows to fill tool-bar screen area. | |
21 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area | |
22 | is resized. | |
23 | ||
0bbe0c9c LT |
24 | 2006-03-01 Luc Teirlinck <teirllm@auburn.edu> |
25 | ||
26 | * search.c (Fregexp_quote): Do not precede a literal `]' with two | |
27 | backslashes to try to make clear that it has a literal meaning; it | |
28 | does not do that. (It could close a character alternative | |
29 | containing a backslash.) | |
30 | ||
c525d842 CY |
31 | 2006-02-28 Chong Yidong <cyd@stupidchicken.com> |
32 | ||
33 | * xselect.c (x_catch_errors_unwind): New function. | |
34 | (x_reply_selection_request): Put x_uncatch_errors in an unwind. | |
35 | (Fx_get_atom_name): Call x_uncatch_errors earlier. | |
36 | ||
37 | * window.c (Qscroll_up, Qscroll_down): New syms. | |
38 | (window_scroll_pixel_based): Make preserve_y static to avoid | |
39 | getting point stuck when scrolling 1 line. | |
40 | ||
4545fa20 CY |
41 | 2006-02-26 Chong Yidong <cyd@stupidchicken.com> |
42 | ||
43 | * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary | |
44 | argument. | |
45 | ||
46 | * xterm.c: (x_load_font, x_term_init, XTmouse_position) | |
47 | (handle_one_xevent, x_connection_closed, x_list_fonts): No arg for | |
48 | x_uncatch_errors. | |
49 | ||
50 | * xselect.c (x_own_selection, x_decline_selection_request) | |
51 | (x_reply_selection_request, x_get_foreign_selection) | |
52 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
53 | ||
54 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
55 | Likewise. | |
56 | ||
a5e25a4c LT |
57 | 2006-02-26 Luc Teirlinck <teirllm@auburn.edu> |
58 | ||
440cbd9e LT |
59 | * lread.c: Declare Vload_file_rep_suffixes instead of |
60 | deleted variable default_suffixes. | |
61 | (Fget_load_suffixes): New function. | |
62 | (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes. | |
63 | No longer use deleted variable default_suffixes. Update docstring. | |
64 | (syms_of_lread): defsubr Sget_load_suffixes. | |
65 | Expand `load-suffixes' docstring. | |
66 | Delete default_suffixes and DEFVAR_LISP the new variable | |
67 | `load-file-rep-suffixes'. | |
68 | ||
69 | * w32.c (check_windows_init_file): Use Fget_load_suffixes instead | |
70 | of Vload_suffixes. | |
71 | ||
72 | * lisp.h: EXFUN Fget_load_suffixes. | |
73 | Extern Vload_file_rep_suffixes. | |
74 | ||
a5e25a4c LT |
75 | * eval.c (specpdl_ptr): Remove volatile qualifier for consistency |
76 | with lisp.h. | |
77 | ||
a7af5886 SM |
78 | 2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca> |
79 | ||
80 | * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile | |
81 | qualifier which was trying to avoid the bug that was fixed by | |
82 | yesterday's changes to xterm.c. | |
83 | ||
9ba8e10d CY |
84 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> |
85 | ||
86 | * xterm.h (x_catch_errors) Return value changed to void. | |
4545fa20 | 87 | (x_uncatch_errors): Delete unused count argument. |
a7af5886 | 88 | |
9ba8e10d CY |
89 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since |
90 | it can be called in a signal handler. | |
91 | (x_catch_errors_unwind): Function deleted. | |
92 | (x_uncatch_errors): Deallocate last x_error_message_stack struct. | |
93 | (x_check_errors): Call x_uncatch_errors before signalling error. | |
94 | ||
95 | (x_load_font, x_term_init, XTmouse_position, handle_one_xevent) | |
96 | (x_connection_closed, x_list_fonts): Use new versions of | |
97 | x_catch_errors and x_uncatch_errors. | |
98 | ||
99 | * xselect.c (x_own_selection, x_decline_selection_request) | |
100 | (x_reply_selection_request, x_get_foreign_selection) | |
101 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
102 | ||
103 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
104 | Likewise. | |
105 | ||
106 | * eval.c (record_unwind_protect): Add an assertion. | |
107 | ||
f523e0c3 SM |
108 | 2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
109 | ||
110 | * process.c (Fmake_network_process): Init the process's mark. | |
111 | ||
a7a7e1d7 KS |
112 | 2006-02-25 Kim F. Storm <storm@cua.dk> |
113 | ||
114 | * buffer.c (modify_overlay): Force redisplay if we modify an | |
115 | overlay at the end of the buffer. | |
116 | ||
a821c035 JD |
117 | 2006-02-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
118 | ||
119 | * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns | |
120 | nil the image file has been removed, in that case use the (cached) | |
121 | pixmap. | |
122 | ||
77343e1d KH |
123 | 2006-02-24 Kenichi Handa <handa@m17n.org> |
124 | ||
125 | * fileio.c (Finsert_file_contents): When a text is replaced | |
126 | partially, be sure to set point before the inserted characters. | |
127 | ||
92fb5516 KH |
128 | 2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change) |
129 | ||
130 | * xfns.c (Fx_file_dialog): Return a decoded file name. | |
131 | ||
78897758 YM |
132 | 2006-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
133 | ||
134 | * dispnew.c (update_text_area): Avoid needless redraw of rightmost | |
135 | glyph whose face is extended to the text area end. | |
136 | ||
5b574e69 YM |
137 | * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control |
138 | values if control is not visible or values are not changed. | |
139 | ||
acc6289a SM |
140 | 2006-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
141 | ||
142 | * window.c (Fwindow_list): Check `window' before doing XWINDOW. | |
143 | The default `window' should not be "on a different frame". | |
144 | ||
c4336e88 KS |
145 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
146 | ||
147 | * indent.c (Fvertical_motion): Only try to move back if we can. | |
148 | ||
b6e3efe0 YM |
149 | 2006-02-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
150 | ||
151 | * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member | |
152 | n_clip_rects. | |
153 | ||
154 | * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for | |
155 | xmenu.c. | |
156 | ||
157 | * macterm.c (GC_CLIP_REGION): Remove macro. | |
158 | (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION. | |
159 | All uses changed. Don't do clipping if n_clip_rects is zero. | |
acc6289a SM |
160 | (mac_set_clip_rectangles): Use xassert instead of abort. |
161 | Set n_clip_rects. Don't make clip_region empty when number of | |
b6e3efe0 YM |
162 | clipping rectangles is zero. |
163 | (mac_reset_clip_rectangles): Set n_clip_rects directly instead of | |
164 | calling mac_set_clip_rectangles. | |
165 | (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to | |
166 | avoid multiple redraws. | |
167 | ||
6f62a45e KS |
168 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
169 | ||
170 | * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display. | |
171 | ||
dd9959da KS |
172 | 2006-02-21 Kim F. Storm <storm@cua.dk> |
173 | ||
174 | * fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix. | |
175 | ||
a8f4bdc6 JD |
176 | 2006-02-21 Zhang Wei <brep@newsmth.org> |
177 | ||
178 | * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before | |
179 | returning it. | |
180 | ||
dd9959da | 181 | 2006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
9866a438 JB |
182 | |
183 | * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. | |
184 | (standard_bitmaps): Use it. | |
185 | ||
9fb446e3 YM |
186 | 2006-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
187 | ||
188 | * macterm.c (mac_draw_string_common): Remove arg MODE. New arg | |
189 | BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero. | |
190 | (mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH. | |
191 | [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from | |
acc6289a SM |
192 | mac_draw_string_cg. New arg BG_WIDTH. All uses changed. |
193 | Draw background if BG_WIDTH is not zero. Use float constants as | |
9fb446e3 YM |
194 | divisors instead of double. Use alloca instead of xmalloc/xfree. |
195 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
196 | [!MAC_OS8 || USE_ATSUI]: Background may be drawn using | |
197 | mac_draw_image_string* functions. | |
198 | (XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of | |
199 | some fonts when srcCopy text transfer mode might be used. | |
200 | (mac_begin_clip, mac_end_clip): Check if region is empty. | |
201 | (mac_set_clip_rectangles): When resetting clip region, make it | |
202 | empty instead of disposing of it. | |
203 | ||
acc6289a SM |
204 | 2006-02-20 Stefan Monnier <monnier@iro.umontreal.ca> |
205 | ||
206 | * keymap.c (store_in_keymap): Change `def' arg to not be `register'. | |
207 | Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8). | |
208 | ||
49af2995 KS |
209 | 2006-02-20 Kim F. Storm <storm@cua.dk> |
210 | ||
211 | * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. | |
212 | ||
213 | * buffer.h (struct buffer): New members fringe_indicator_alist and | |
214 | fringe_cursor_alist. | |
215 | ||
216 | * buffer.c (init_buffer_once): Set dummy default values for | |
217 | fringe-indicator-alist and fringe-cursor-alist. The proper | |
218 | default values are set by pre-loading fringe.el. | |
219 | (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and | |
220 | fringe-cursor-alist buffer-local variables and defvar_lisp_nopro | |
9866a438 | 221 | corresponding default- variables. |
49af2995 KS |
222 | |
223 | * fringe.c (enum fringe_bitmap_type): Remove. Change all uses | |
224 | to use `int'. | |
225 | (NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS): | |
226 | Define explicitly. | |
227 | (Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom) | |
228 | (Qhollow_small): New variables. | |
229 | (syms_of_fringe): Intern and staticpro them. | |
230 | (question_mark_bits): Rename from unknown_bits. | |
231 | (left_curly_arrow_bits): Rename from continuation_bits. | |
232 | (right_curly_arrow_bits): Rename from continued_bits. | |
233 | (left_triangle_bits): Rename from ov_bits. | |
acc6289a | 234 | (right_triangle_bits): Add. |
49af2995 KS |
235 | (filled_rectangle_bits): Rename from filled_box_cursor_bits. |
236 | (hollow_rectangle_bits): Rename from hollow_box_cursor_bits. | |
acc6289a | 237 | (filled_square_bits): Add. |
49af2995 | 238 | (vertical_bar_bits): Rename from bar_cursor_bits. |
9866a438 | 239 | (horizontal_bar_bits): Rename from hbar_cursor_bits. |
49af2995 KS |
240 | (empty_line_bits): Rename from zv_bits. |
241 | (standard_bitmaps): Update to use new names. | |
242 | (draw_fringe_bitmap_1): Make static. | |
243 | (get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions | |
244 | to map from logical cursors and indicators to physical bitmaps. | |
245 | (draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow | |
246 | bitmaps using symbol names instead of bitmap numbers. | |
247 | (update_window_fringes): Use logical indicator symbol names | |
248 | instead of bitmap numbers for logical. Add bitmap cache. | |
249 | (LEFT_FRINGE, RIGHT_FRINGE): New helper macros. | |
250 | ||
a77f947b CY |
251 | 2006-02-20 Chong Yidong <cyd@stupidchicken.com> |
252 | ||
a073faa6 CY |
253 | * regex.c: Revert 2006-02-19 change. |
254 | (xmalloc, xrealloc): Define these when not linked to Emacs. | |
255 | Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case. | |
a77f947b | 256 | |
2f90d2bc LT |
257 | 2006-02-19 Luc Teirlinck <teirllm@auburn.edu> |
258 | ||
259 | * regex.c (extend_range_table_work_area): Fix typo. | |
260 | ||
5498b6af RS |
261 | 2006-02-19 Richard M. Stallman <rms@gnu.org> |
262 | ||
7b1d7d66 RS |
263 | * xterm.c (x_catch_errors): Use xmalloc. |
264 | ||
265 | * regex.c (extend_range_table_work_area): Call xmalloc and xrealloc. | |
266 | (regex_compile): Likewise. | |
267 | (regcomp): Use xmalloc. | |
268 | ||
269 | * gtkutil.c (malloc_widget_value): Use xmalloc. | |
270 | ||
5498b6af RS |
271 | * vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h. |
272 | (check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit. | |
273 | ||
274 | * xmenu.c (digest_single_submenu): When pane_string is empty, | |
275 | do initialize save_wv. | |
276 | ||
4f2f3214 YM |
277 | 2006-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
278 | ||
279 | * xdisp.c (update_menu_bar) [MAC_OS]: Don't set | |
280 | w->update_mode_line if arg F is not the selected frame. | |
281 | ||
282 | * macmenu.c (popup_activated_flag, submenu_id) | |
283 | (next_menubar_widget_id): Remove variables. | |
284 | (initialize_frame_menubar): Remove function. | |
285 | (pop_down_menu, mac_menu_show): Simplify save value. | |
286 | (dispose_menus): New function. | |
287 | (pop_down_menu, fill_menubar): Use it. | |
288 | (fill_submenu): Remove function. All uses changed to fill_menu. | |
289 | (add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg | |
290 | POS. Don't call SetMenuItemHierarchicalID here. | |
291 | (fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be | |
292 | used next. Call SetMenuItemHierarchicalID here. | |
293 | (fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu | |
294 | objects if needed. Reuse existing menu bar titles if possible. | |
295 | (set_frame_menubar): Don't clean up menu objects here. | |
296 | ||
da7520de CY |
297 | 2006-02-18 Chong Yidong <cyd@stupidchicken.com> |
298 | ||
299 | * window.c (window_min_size_1): Ensure room for the scroll bar and | |
300 | fringes. | |
301 | ||
a9c18b84 RF |
302 | 2006-02-17 Romain Francoise <romain@orebokech.com> |
303 | ||
304 | * puresize.h (BASE_PURESIZE): Increment to 1200000. | |
305 | ||
537407f0 SM |
306 | 2006-02-17 Stefan Monnier <monnier@iro.umontreal.ca> |
307 | ||
308 | * alloc.c (Fmake_symbol): Comment-out left-over assert from before the | |
309 | addition of the BLOCK_INPUTs. | |
310 | ||
5bf3610f JB |
311 | 2006-02-17 Juanma Barranquero <lekktu@gmail.com> |
312 | ||
313 | * window.c (Fset_window_scroll_bars): Doc fix. | |
314 | ||
ed0218e2 KH |
315 | 2006-02-17 Kenichi Handa <handa@m17n.org> |
316 | ||
317 | * xdisp.c (display_mode_element): Call display_string with correct | |
318 | PREC arg (which must be a number of characters, not column width). | |
319 | ||
f036d043 YM |
320 | 2006-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
321 | ||
322 | * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. | |
323 | ||
324 | * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. | |
325 | ||
326 | * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. | |
327 | ||
885f1975 RS |
328 | 2006-02-14 Richard M. Stallman <rms@gnu.org> |
329 | ||
9d8f542c RS |
330 | * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. |
331 | ||
885f1975 RS |
332 | * m/ibms390x.h: New file. |
333 | ||
26ebccfd JD |
334 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
335 | ||
336 | * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the | |
337 | value of x-gtk-whole-detached-tool-bar. | |
d8d3d48c | 338 | (xg_tool_bar_attach_callback): Set show-arrow to TRUE. |
26ebccfd JD |
339 | |
340 | * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. | |
341 | ||
4d7637b8 | 342 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
58118de5 JD |
343 | |
344 | * xterm.c (x_x_to_emacs_modifiers): Make non-static. | |
345 | ||
346 | * xterm.h: Declare x_x_to_emacs_modifiers. | |
347 | ||
348 | * gtkutil.c (xg_tool_bar_button_cb): New function. | |
349 | (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to | |
350 | store modifiers in event. | |
351 | (update_frame_tool_bar): Connect button-release-event to | |
352 | xg_tool_bar_button_cb. | |
353 | ||
f8d775e1 RS |
354 | 2006-02-13 Richard M. Stallman <rms@gnu.org> |
355 | ||
356 | * .gdbinit (xwindow): Update the code to show the window box. | |
357 | ||
0c0351b5 JD |
358 | 2006-02-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
359 | ||
360 | * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). | |
361 | ||
4d94dd9a RS |
362 | 2006-02-12 Richard M. Stallman <rms@gnu.org> |
363 | ||
364 | * cmds.c (internal_self_insert): Handle weird auto-fill-function. | |
365 | ||
c54fb9ef EZ |
366 | 2006-02-11 Eli Zaretskii <eliz@gnu.org> |
367 | ||
368 | * keyboard.c (Venable_disabled_menus_and_buttons): New variable. | |
369 | (syms_of_keyboard): DEVFAR_LISP and initialize it. | |
370 | (parse_tool_bar_item, parse_menu_item): If that variable is | |
371 | non-nil, don't disable menu items and tool-bar buttons. | |
372 | ||
ac6a9b55 JB |
373 | 2006-02-11 Juanma Barranquero <lekktu@gmail.com> |
374 | ||
375 | * doc.c (Fsubstitute_command_keys): Doc fix. | |
376 | ||
0ddb0ae8 TTN |
377 | 2006-02-10 Thien-Thi Nguyen <ttn@gnu.org> |
378 | ||
379 | * data.c (Findirect_function): Rewrite docstring. | |
380 | Fix omission bug: Declare new arg NOERROR. | |
381 | ||
cbd488c4 YM |
382 | 2006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
383 | ||
384 | * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor | |
385 | if window_desc is not set yet. | |
386 | (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 | |
387 | and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame | |
388 | parameter `visibility' is `icon'. | |
389 | (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" | |
390 | instead of "fontset-mac". | |
391 | (Fx_focus_frame): New defun. | |
392 | (syms_of_macfns): Defsubr it. | |
393 | ||
394 | * macterm.c (mac_define_frame_cursor): Don't change pointer shape | |
395 | for unfocused frame. | |
396 | (x_raise_frame): Call BringToFront instead of SelectWindow. | |
397 | (x_lower_frame): Use NULL instead of nil. | |
398 | (x_make_frame_visible): Don't call SelectWindow. | |
399 | (XTread_socket): Increment handling_signal at the start, decrement | |
400 | it at the end. | |
401 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use | |
402 | CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. | |
403 | ||
a7f96a35 KS |
404 | 2006-02-10 Kim F. Storm <storm@cua.dk> |
405 | ||
406 | * data.c (Findirect_function): Add NOERROR arg. All callers changed | |
407 | to pass Qnil for NOERROR. | |
408 | ||
409 | * keymap.c (current_minor_maps_error): Remove. | |
410 | (current_minor_maps): Pass Qt for NOERROR to Findirect_function | |
411 | instead of using internal_condition_case_1+current_minor_maps_error. | |
412 | ||
1834d8e7 JD |
413 | 2006-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
414 | ||
415 | * xterm.c (handle_one_xevent): Must note mouse movement even for nil | |
416 | frames for GTK, in that case it is the tool bar. This is so that | |
417 | highlighted text get reset properly. | |
418 | ||
cffc3472 JB |
419 | 2006-02-09 Juanma Barranquero <lekktu@gmail.com> |
420 | ||
421 | * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. | |
422 | ||
e99c7521 JD |
423 | 2006-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
424 | ||
425 | * window.c (adjust_window_trailing_edge): Check that shrinking | |
426 | does not set a window to size zero or less. | |
427 | ||
42ab8e36 MB |
428 | 2006-02-08 Miles Bader <miles@gnu.org> |
429 | ||
430 | * editfns.c (Fconstrain_to_field): Use Fget_char_property instead | |
cffc3472 | 431 | of Fget_text_property (other field functions work with overlays as |
42ab8e36 MB |
432 | well as text-properties). |
433 | ||
6a80c3ba KH |
434 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
435 | ||
e1a67366 | 436 | * dispextern.h (unibyte_display_via_language_environment): Extern it. |
6a80c3ba | 437 | |
e1a67366 KS |
438 | * xterm.h (unibyte_display_via_language_environment): |
439 | * w32term.h (unibyte_display_via_language_environment): | |
440 | * macterm.h (unibyte_display_via_language_environment): Delete extern. | |
6a80c3ba | 441 | |
d2b4c17d KH |
442 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
443 | ||
e1a67366 | 444 | * term.c (append_glyph): Refer to it->char_to_display instead of it->c. |
d2b4c17d | 445 | (produce_glyphs): Set the character to print in |
e1a67366 KS |
446 | it->char_to_display. Handle unibyte-display-via-language-environment. |
447 | (produce_stretch_glyph): Set character to print in it->char_to_display. | |
d2b4c17d | 448 | |
8b9d426a KH |
449 | 2006-02-06 Kenichi Handa <handa@m17n.org> |
450 | ||
e1a67366 | 451 | * lread.c (openp): Initialize encoded_fn before GCPRO it. |
8b9d426a | 452 | |
d63b4018 KR |
453 | 2006-02-05 Ken Raeburn <raeburn@raeburn.org> |
454 | ||
455 | * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. | |
456 | ||
98950fd6 KR |
457 | * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: |
458 | Cast bitfield value to EMACS_INT, to suppress gcc warning. | |
459 | ||
0cf36656 KR |
460 | * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before |
461 | defining. | |
462 | ||
ad02d7ea KS |
463 | 2006-02-03 Kim F. Storm <storm@cua.dk> |
464 | ||
465 | * xdisp.c: Cache last merged escape glyph face. | |
466 | (last_escape_glyph_frame, last_escape_glyph_face_id) | |
467 | (last_escape_glyph_merged_face_id): New variables. | |
468 | (get_next_display_element): Use/update them. | |
469 | (redisplay_internal): Reset them before redisplay. | |
470 | ||
471 | * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. | |
472 | Only recheck faces after displaying ellipsis. | |
473 | ||
999a0fe5 KH |
474 | 2006-02-02 Kenichi Handa <handa@m17n.org> |
475 | ||
476 | * coding.c (decode_composition_emacs_mule): Fix handling of | |
477 | incorrect format data. | |
478 | ||
cd7cd4ac JD |
479 | 2006-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
480 | ||
481 | * gtkutil.c (update_frame_tool_bar): Use new tool bar functions | |
482 | (gtk_toolbar_insert) so we can have tool bars of different sizes. | |
483 | ||
4cf7e99c LT |
484 | 2006-01-30 Luc Teirlinck <teirllm@auburn.edu> |
485 | ||
486 | * data.c (Flistp): Doc fix. | |
487 | ||
a3bc032f JB |
488 | 2006-01-30 Juanma Barranquero <lekktu@gmail.com> |
489 | ||
490 | * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): | |
491 | Fix typos in docstrings. | |
492 | ||
6badf38c LT |
493 | 2006-01-28 Luc Teirlinck <teirllm@auburn.edu> |
494 | ||
1f2907ee | 495 | * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. |
6badf38c | 496 | |
e2984df0 CY |
497 | 2006-01-27 Chong Yidong <cyd@stupidchicken.com> |
498 | ||
499 | * alloc.c (make_interval, allocate_string) | |
500 | (allocate_string_data, make_float, Fcons, allocate_vectorlike) | |
501 | (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing | |
502 | global variables. | |
503 | ||
dc86c16d EZ |
504 | 2006-01-27 Eli Zaretskii <eliz@gnu.org> |
505 | ||
506 | * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use | |
507 | the MSDOS definition. | |
508 | ||
57436ee7 RS |
509 | 2006-01-26 Richard M. Stallman <rms@gnu.org> |
510 | ||
511 | * alloc.c (check_pure_size): Make overflow message an "error message". | |
512 | ||
513 | * keymap.c (Fmap_keymap): Doc fix. | |
514 | ||
515 | * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist | |
516 | unless they were cleared out. | |
517 | ||
518 | * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. | |
519 | ||
2cb3aec4 KL |
520 | 2006-01-26 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
521 | ||
e477bb04 KL |
522 | * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. |
523 | (find_field): Set before_field to after_field when pos is at BEGV. | |
6badf38c | 524 | (Fline_beginning_position, Fline_end_position): Clarify |
2cb3aec4 KL |
525 | confusing doc string. |
526 | ||
527 | * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc | |
528 | string. | |
529 | ||
34b87689 KH |
530 | 2006-01-26 Kenichi Handa <handa@m17n.org> |
531 | ||
532 | * callproc.c (Fcall_process): GCPRO error_file. Encode infile, | |
533 | current_dir, and error_file. On reporting an error, decode them | |
534 | back. | |
535 | ||
1cee1e27 SM |
536 | 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca> |
537 | ||
538 | * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. | |
539 | (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>: | |
540 | Don't check for quit, since any loop will go through fail or jump. | |
541 | ||
a0b08700 CY |
542 | 2006-01-24 Chong Yidong <cyd@stupidchicken.com> |
543 | ||
544 | * alloc.c (allocate_string_data): Update next_free immediately, to | |
545 | reduce risk of memory clobberage. | |
546 | ||
bf7f1d30 KL |
547 | 2006-01-24 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
548 | ||
549 | * xdisp.c (handle_invisible_prop): Set it->position to fix cursor | |
550 | display when point moves across an ellipsis. If there are | |
551 | adjacent invisible texts, don't lose the second one's ellipsis. | |
552 | (x_produce_glyphs): Doc fix. | |
553 | ||
e5e26d8f SM |
554 | 2006-01-23 Stefan Monnier <monnier@iro.umontreal.ca> |
555 | ||
556 | * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. | |
557 | ||
1ff4535b KS |
558 | 2006-01-23 Kim F. Storm <storm@cua.dk> |
559 | ||
560 | * xdisp.c (handle_single_display_spec): Fix handling of space | |
561 | property on char from string: set *position rather than | |
562 | it->current.pos. | |
563 | (produce_stretch_glyph): Reduce width of stretch glyphs so they | |
564 | don't get wider than the window (unless truncate-lines is on). | |
565 | ||
5badc98d SM |
566 | 2006-01-22 Stefan Monnier <monnier@iro.umontreal.ca> |
567 | ||
568 | * xterm.c: Avoid allocating Lisp data from a signal handler. | |
569 | (x_error_message): New var to replace x_error_message_string. | |
570 | (x_error_catcher, x_catch_errors, x_catch_errors_unwind) | |
571 | (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) | |
572 | (syms_of_xterm): Use it instead of x_error_message_string. | |
573 | ||
574 | * alloc.c (lisp_align_free): Add an assertion. | |
575 | (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) | |
576 | (allocate_misc): If ENABLE_CHECKING is on, check we're not called from | |
577 | a signal handler. | |
578 | ||
638590e8 LT |
579 | 2006-01-21 Luc Teirlinck <teirllm@auburn.edu> |
580 | ||
581 | * dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix. | |
582 | ||
cde0a40c RF |
583 | 2006-01-21 Romain Francoise <romain@orebokech.com> |
584 | ||
585 | * xdisp.c (get_window_cursor_type): Fix last change. | |
586 | Update copyright year. | |
587 | ||
ea5f3ad4 EZ |
588 | 2006-01-20 Eli Zaretskii <eliz@gnu.org> |
589 | ||
3fdf12ca EZ |
590 | * lread.c (Fload): Don't leak the file descriptor returned by |
591 | openp if we are going to signal an error. | |
592 | ||
7559f399 EZ |
593 | * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it |
594 | directly to _close. | |
595 | (sys_dup): Protect against new_fd larger than fd_info[] can handle. | |
596 | (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly | |
597 | to _read. | |
cde0a40c | 598 | (sys_write): If FD is outside [0..MAXDESC) limits, pass it |
7559f399 EZ |
599 | directly to _write. |
600 | ||
ea5f3ad4 EZ |
601 | * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer |
602 | if it is NULL. | |
603 | ||
ef8beec6 KH |
604 | 2006-01-20 Kenichi Handa <handa@m17n.org> |
605 | ||
606 | * puresize.h (BASE_PURESIZE): Increment to 1190000. | |
607 | ||
995f2df9 CY |
608 | 2006-01-19 Chong Yidong <cyd@stupidchicken.com> |
609 | ||
610 | * xdisp.c (get_window_cursor_type): Use cursor type specified by | |
611 | the selected buffer for the echo area too. | |
612 | ||
c94c4d0a RS |
613 | 2006-01-19 Richard M. Stallman <rms@gnu.org> |
614 | ||
615 | * keymap.c (Fmap_keymap): Doc fix. | |
616 | ||
617 | * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. | |
618 | ||
619 | * keyboard.c (echo_char): Don't omit the space between first two | |
620 | echoed chars. | |
621 | ||
622 | * minibuf.c (read_minibuf): Fix previous change. | |
623 | ||
71578d4f KH |
624 | 2006-01-19 Kenichi Handa <handa@m17n.org> |
625 | ||
626 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | |
627 | ||
edd1c685 RS |
628 | 2006-01-17 Richard M. Stallman <rms@gnu.org> |
629 | ||
630 | * frame.c (x_frame_get_and_record_arg): Don't record Qunbound | |
631 | value in f->param_alist. | |
632 | ||
0501acd4 AS |
633 | 2006-01-15 Andreas Schwab <schwab@suse.de> |
634 | ||
635 | * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. | |
636 | ||
d33a7384 NR |
637 | 2006-01-13 Richard M. Stallman <rms@gnu.org> |
638 | ||
639 | * Makefile.in: Define new macro WINDOW_SUPPORT. | |
640 | (lisp): Use it. | |
641 | (SOME_MACHINE_LISP): Add conditionally loaded files. | |
642 | ||
2026418c YM |
643 | 2006-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
644 | ||
645 | * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
22e6707e | 646 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. |
2026418c YM |
647 | (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in |
648 | decomposed form. | |
649 | ||
650 | * process.c [HAVE_INTTYPES_H]: Include inttypes.h. | |
651 | (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). | |
652 | (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK | |
653 | macro. Also try member ifr_addr when getting netmask. | |
654 | ||
b8f7f3be SM |
655 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
656 | ||
657 | * fileio.c (Fexpand_file_name): Remove redundant tests. | |
658 | Fix elimination of // so that it doesn't prevent elimination of an | |
659 | immediately following /. or /.. | |
660 | ||
4c9ca1a3 JD |
661 | 2006-01-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
662 | ||
663 | * gtkutil.c (xg_toggle_notify_cb): New function. | |
664 | (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to | |
665 | xg_toggle_notify_cb. | |
666 | (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when | |
667 | parameter value changes so the toggle button gets updated. | |
668 | ||
340bb2ea NR |
669 | 2006-01-06 Nick Roberts <nickrob@snap.net.nz> |
670 | ||
671 | * .gdbinit: Fix typo. | |
672 | ||
feaf060a EZ |
673 | 2006-01-05 Eli Zaretskii <eliz@gnu.org> |
674 | ||
675 | * .gdbinit: Fix last change. | |
676 | ||
c22cc558 KS |
677 | 2006-01-05 Kim F. Storm <storm@cua.dk> |
678 | ||
679 | * process.c (Fmake_network_process): Use AF_INET instead of | |
22e6707e | 680 | AF_UNSPEC when AF_INET6 is not defined. |
c22cc558 | 681 | |
07f9b01c YM |
682 | 2006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
683 | ||
684 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): | |
685 | Don't check that the other type is known file-related one. | |
686 | ||
687 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, | |
688 | gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac | |
689 | OS X 10.4 and later. | |
690 | ||
0facd9c3 JD |
691 | 2006-01-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
692 | ||
693 | * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, | |
694 | let GTK do all image processing. Importing Emacs own pixmaps to GTK | |
695 | looks bad for inactive tool bar items with some Gnome themes. | |
696 | ||
805b0439 EZ |
697 | 2006-01-04 Eli Zaretskii <eliz@gnu.org> |
698 | ||
913645cd EZ |
699 | * .gdbinit: Avoid a warning message when x_error_quitter is not |
700 | compiled in. | |
701 | ||
805b0439 EZ |
702 | * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support |
703 | for w32. | |
704 | ||
0f5642c2 KS |
705 | 2006-01-04 Kim F. Storm <storm@cua.dk> |
706 | ||
8a5db8ae KS |
707 | * process.c: Add IPv6 support. |
708 | (Qipv4, Qipv6): New vars. | |
709 | (syms_of_process): Intern and staticpro them. | |
710 | (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address | |
711 | with or without port number. Handle 4 element vector as IPv4 address | |
712 | without port number. | |
713 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
714 | (conv_lisp_to_sockaddr): Handle IPv6 addresses. | |
715 | (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly | |
716 | request that address family only. :family nil or omitted means to | |
717 | determine address family from the specified :host and :service. | |
718 | (ifflag_table): Add missing OpenBSD IFF_ flags. | |
719 | (server_accept_connection): Handle IPv6 addresses. | |
720 | (init_process): Add (:family ipv4) and (:family ipv6) sub-features. | |
721 | ||
0f5642c2 KS |
722 | * .gdbinit: Undo last change. Instead, look at Vsystem_type to |
723 | determine which breakpoints to set. | |
724 | ||
e7b394e1 SM |
725 | 2006-01-03 Stefan Monnier <monnier@iro.umontreal.ca> |
726 | ||
727 | * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup. | |
728 | ||
729 | * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c). | |
730 | ||
dcc9b98d RF |
731 | 2006-01-03 Romain Francoise <romain@orebokech.com> |
732 | ||
733 | * emacs.c (main): Update copyright year. | |
734 | ||
6918ac24 | 735 | 2006-01-03 Ken Raeburn <raeburn@gnu.org> |
1a271e14 KR |
736 | |
737 | * callproc.c (delete_temp_file): Bind file-name-handler-alist to | |
738 | nil for the call to internal_delete_file. | |
739 | ||
bb951f0e KR |
740 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> |
741 | ||
742 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist | |
743 | to nil for the call to Fwrite_region. | |
744 | ||
b20de1cd RS |
745 | 2005-12-31 Richard M. Stallman <rms@gnu.org> |
746 | ||
747 | * minibuf.c (read_minibuf): Clear out all other minibuffer windows. | |
748 | ||
b5871831 EZ |
749 | 2005-12-31 Eli Zaretskii <eliz@gnu.org> |
750 | ||
751 | * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake. | |
752 | ||
c26ec07f LT |
753 | 2005-12-30 Luc Teirlinck <teirllm@auburn.edu> |
754 | ||
755 | * textprop.c (set_text_properties): Reword description of return value. | |
756 | Return Qnil if caller wants to remove all text properties from a | |
757 | string and the string already has no intervals. | |
758 | ||
0db017c0 SM |
759 | 2005-12-30 Stefan Monnier <monnier@iro.umontreal.ca> |
760 | ||
761 | * term.c (visible_cursor): New boolean var. | |
762 | (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on | |
763 | visible_cursor. | |
764 | (syms_of_term): Export the new var as "visible-cursor". | |
765 | ||
fc8dc7cf EZ |
766 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
767 | ||
768 | * .gdbinit: Tell users not to worry about GDB warnings that some | |
769 | functions do not exist in the binary. | |
770 | ||
82a80058 AS |
771 | 2005-12-30 Andreas Schwab <schwab@suse.de> |
772 | ||
773 | * process.c (Fnetwork_interface_info): Correctly terminate the | |
774 | loop over ifflag_table. | |
775 | ||
c36238ee RS |
776 | 2005-12-29 Richard M. Stallman <rms@gnu.org> |
777 | ||
d11db2c8 RS |
778 | * lread.c (readevalloop): Test for reading a whole buffer |
779 | before actually reading anything. Handle all cases, including | |
780 | START = END = nil and an already-narrowed buffer. | |
781 | Convert END to a marker if it is a number. | |
782 | ||
c36238ee RS |
783 | * keymap.c (describe_map): Put sparse map elements into an array, |
784 | sort them, then output a sequence of identical bindings on one line. | |
785 | (struct describe_map_elt): New data type. | |
786 | (describe_map_compare): New function. | |
787 | ||
82bc1fd6 JD |
788 | 2005-12-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
789 | ||
e7b394e1 | 790 | * gtkutil.c (xg_get_file_with_chooser): Change message shown |
82bc1fd6 JD |
791 | in file chooser. |
792 | ||
fe5195e8 RS |
793 | 2005-12-27 Richard M. Stallman <rms@gnu.org> |
794 | ||
6281e1e8 RS |
795 | * lread.c (readevalloop): Set PT and ZV in the proper buffer, |
796 | not the current one. | |
797 | ||
798 | * minibuf.c (Fminibuffer_message): Doc fix. | |
799 | (read_minibuf): Set current_buffer->enable_multibyte_characters sooner. | |
800 | ||
fe5195e8 RS |
801 | * eval.c (do_autoload): Ignore elements of Vautoload_queue |
802 | where car is not symbol. | |
803 | ||
0d9fb289 KH |
804 | 2005-12-27 Kenichi Handa <handa@m17n.org> |
805 | ||
806 | * charset.c (lisp_string_width): Check multibyteness of STRING. | |
807 | ||
ff9c9c59 JD |
808 | 2005-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
809 | ||
810 | * xfns.c: x_show_hidden_files, new variable. | |
811 | (syms_of_xfns): Defvar it. | |
812 | ||
813 | * gtkutil.c (xg_toggle_visibility_cb): New function. | |
814 | (xg_get_file_with_chooser): Add toggle hidden files and a message | |
815 | to the new file chooser dialog. Show hidden files if | |
816 | x_show_hidden_files is non-zero. | |
817 | ||
d7504d5c RS |
818 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
819 | ||
820 | * keyboard.h: Undo previous change. | |
821 | ||
822 | * Makefile.in (undo.o): Undo previous change. | |
823 | ||
824 | * undo.c: Undo previous change. | |
825 | ||
0ad017ce LT |
826 | 2005-12-26 Luc Teirlinck <teirllm@auburn.edu> |
827 | ||
403c00a5 LT |
828 | * keyboard.h: extern last_point_position_window. |
829 | ||
0ad017ce LT |
830 | * undo.c: include keyboard.h. |
831 | ||
403c00a5 | 832 | * Makefile.in (undo.o): Depend on keyboard.h. |
0ad017ce | 833 | |
91e25f5e RS |
834 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
835 | ||
d7504d5c RS |
836 | * commands.h (last_point_position_window): Declare. |
837 | ||
91e25f5e RS |
838 | * undo.c: Depend on window.h. |
839 | (record_point): Save old point from the correct window. | |
840 | ||
841 | * keyboard.c (last_point_position_window): New variable. | |
842 | (command_loop_1): Set last_point_position_window. | |
843 | (syms_of_keyboard): Init it. | |
844 | ||
845 | * Makefile.in (undo.o): Depend on window.h. | |
846 | ||
cad1051b RS |
847 | 2005-12-25 Richard M. Stallman <rms@gnu.org> |
848 | ||
849 | * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue | |
850 | to undo a `provide'. | |
851 | ||
852 | * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. | |
853 | ||
d52c26e9 KB |
854 | 2005-12-25 Giorgos Keramidas <keramida@ceid.upatras.gr> |
855 | ||
856 | * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD): | |
857 | define for FreeBSD on this platform. | |
858 | ||
14af1e44 YM |
859 | 2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
860 | ||
861 | * macterm.h (TYPE_FILE_NAME): New define. | |
862 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. | |
863 | ||
e7b394e1 SM |
864 | * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): |
865 | Add prototypes. Make static. | |
14af1e44 YM |
866 | (mac_aedesc_to_lisp): Initialize err to noErr. |
867 | (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
868 | (init_coercion_handler): New functions. | |
869 | (Fmac_coerce_ae_data): Use coercion of Apple event data for | |
870 | translation from/to file names. | |
871 | ||
872 | * macterm.c: Don't include sys/param.h. | |
873 | (init_coercion_handler): Add extern. | |
874 | [MAC_OS8] (main): Call init_coercion_handler. | |
875 | (mac_initialize) [MAC_OSX]: Likewise. | |
876 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of | |
877 | Apple event data for translation from/to file names. | |
878 | ||
879 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
880 | ||
881 | * image.c [MAC_OS] (find_image_fsspec): Likewise. | |
882 | ||
bab3eee1 EZ |
883 | 2005-12-23 Martin Rudalics <rudalics@gmx.at> (tiny change) |
884 | ||
885 | * insdel.c (insert, insert_and_inherit, insert_before_markers) | |
886 | (insert_before_markers_and_inherit): Make sure FROM is correct | |
887 | when `after-change-functions' are called. | |
888 | ||
90f2e16b JD |
889 | 2005-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
890 | ||
891 | * xfns.c (Fx_uses_old_gtk_dialog): New function. | |
892 | ||
893 | * gtkutil.c (xg_uses_old_file_dialog): New function. | |
894 | (xg_get_file_name): Use xg_uses_old_file_dialog. | |
895 | ||
896 | * gtkutil.h: Declare xg_uses_old_file_dialog. | |
897 | ||
0ee01fff RS |
898 | 2005-12-22 Richard M. Stallman <rms@gnu.org> |
899 | ||
900 | * xmenu.c (xmenu_show): Call inhibit_garbage_collection. | |
901 | ||
b73e4d84 YM |
902 | 2005-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
903 | ||
904 | * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. | |
905 | ||
906 | * macgui.h (XCharStruct): Remove member `valid_p'. | |
907 | (STORE_XCHARSTRUCT): Don't set member `valid_p'. | |
908 | (XCharStructRow): New typedef. | |
e7b394e1 SM |
909 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): |
910 | New macros. | |
b73e4d84 YM |
911 | (struct MacFontStruct): Add member `bounds'. Remove member |
912 | `per_char'. All uses for QuichDraw Text fonts are changed to | |
913 | `bounds.per_char'. ATSUI font bounds are represented as an array | |
914 | `bounds.rows' of XCharStructRow's, each of which consists of a | |
915 | bitmap of valid entries and an array of char bounds. | |
916 | ||
917 | * macterm.c (mac_per_char_metric): Add prototype. | |
918 | (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype. | |
919 | (mac_query_char_extents): New function. | |
920 | (x_per_char_metric): Use it. | |
921 | (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. | |
e7b394e1 SM |
922 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): |
923 | Use mac_per_char_metric instead of x_per_char_metric. | |
b73e4d84 YM |
924 | (mac_text_extents_16): New function. |
925 | (mac_compute_glyph_string_overhangs): Use it. | |
926 | (mac_unload_font): Free member `bounds' in struct MacFontStruct. | |
927 | ||
a425bd03 SM |
928 | 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
929 | ||
930 | * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. | |
931 | (Fminibuffer_completion_help): Remove duplicates before display. | |
932 | ||
aa0b0cd9 KL |
933 | 2005-12-21 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
934 | ||
da3863b5 | 935 | * print.c (print_preprocess): Don't lose print_depth levels while |
aa0b0cd9 KL |
936 | iterating. |
937 | ||
5a61ec18 YM |
938 | 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
939 | ||
940 | * macmenu.c (Qmac_apple_event): Add extern. | |
941 | (set_frame_menubar, mac_menu_show keymp_panes) | |
942 | (single_keymap_panes, list_of_panes, list_of_item) | |
943 | (single_menu_item): Add argument types to prototypes. | |
944 | (mac_dialog_show) [HAVE_DIALOGS]: Likewise. | |
945 | (struct skp): New struct (from xmenu.c). | |
946 | (single_keymap_panes, single_menu_item, list_of_panes) | |
947 | (list_of_item): Sync with xmenu.c. | |
948 | (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from | |
949 | POSITION if it is mac-apple-event event. | |
950 | (menubar_selection_callback): Don't use menu_command_in_progress. | |
951 | (set_frame_menubar): First parse all submenus, then make | |
952 | widget_value trees from them. Don't allocate any widget_value | |
953 | objects until we are done with the parsing. | |
954 | (parse_single_submenu, digest_single_submenu): New functions. | |
955 | (single_submenu): Function deleted, replaced by those two. | |
956 | (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't | |
957 | create or dispose of EventHandlerUPP. Install hander to all submenus. | |
958 | (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING | |
959 | instead of ENCODE_SYSTEM. | |
960 | (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for | |
961 | integer values. | |
962 | [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). | |
963 | (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to | |
964 | format menu item string. Don't use NULL for integer value. | |
965 | ||
966 | * macterm.h (struct mac_output): Remove unused member | |
967 | menu_command_in_progress. | |
968 | ||
3bdba51d JL |
969 | 2005-12-20 Juri Linkov <juri@jurta.org> |
970 | ||
971 | * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if | |
972 | position is non-nil, else set it to nil. | |
973 | ||
974 | * macmenu.c (Fx_popup_menu): Add `else' to set | |
975 | Vmenu_updating_frame to nil only if position is nil. | |
976 | ||
977 | * w32menu.c (Fx_popup_menu): Add `else' to set | |
978 | Vmenu_updating_frame to nil only if position is nil. | |
979 | ||
d6a90a49 YM |
980 | 2005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
981 | ||
982 | * keyboard.c (make_lispy_event): Drag-and-drop items are now | |
983 | stored in member `args' of struct input_event. | |
984 | ||
985 | * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT. | |
986 | ||
987 | * xselect.c (x_handle_dnd_message): Drag-and-drop items are now | |
988 | stored in member `args' of struct input_event. | |
989 | ||
990 | * w32term.c (construct_drag_n_drop): Likewise. | |
991 | ||
992 | * macterm.c (mac_do_receive_drag): Likewise. | |
993 | (x_use_underline_position_properties): Undo 2005-07-13 change. | |
994 | (syms_of_macterm) <x-use-underline-position-properties>: Likewise. | |
995 | (mac_use_core_graphics, mac_wheel_button_is_mouse_2) | |
a425bd03 SM |
996 | (mac_pass_command_to_system, mac_pass_control_to_system): |
997 | New boolean variables renamed from Lisp_Object ones | |
d6a90a49 | 998 | Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2, |
a425bd03 SM |
999 | Vmac_pass_command_to_system, and Vmac_pass_control_to_system. |
1000 | All uses changed. | |
d6a90a49 YM |
1001 | (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs. |
1002 | Make them user options. | |
a425bd03 SM |
1003 | (mac_handle_command_event, mac_store_services_event): |
1004 | Call create_apple_event_from_event_ref without 5th argument. | |
d6a90a49 YM |
1005 | (backtranslate_modified_keycode): Mask off modifier keys that are |
1006 | mapped to some Emacs modifiers before passing it to KeyTranslate. | |
1007 | (syms_of_macterm): Make variables `mac-emulate-three-button-mouse', | |
1008 | `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options. | |
1009 | Fix docstrings of `mac-*-modifier'. | |
1010 | ||
1011 | * mac.c (create_apple_event_from_event_ref): Remove arg `types'. | |
a425bd03 SM |
1012 | (do_applescript): Change argument types to Lisp_Object. |
1013 | All uses changed. | |
d6a90a49 YM |
1014 | |
1015 | * macterm.h (create_apple_event_from_event_ref): Remove 5th | |
1016 | argument from extern. | |
1017 | ||
20d1c5c5 DN |
1018 | 2005-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
1019 | ||
1020 | * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine | |
1021 | the answer, return `lambda', not nil. | |
1022 | ||
abeb5855 EZ |
1023 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
1024 | ||
1025 | * makefile.w32-in (bootstrap-temacs): Warn that parts of commands | |
1026 | enclosed in $(ARGQUOTE)s should not be split between two lines, as | |
1027 | that will break with GNU Make >3.80, when sh.exe is used and | |
1028 | arg quoting is with '..'. | |
1029 | ||
6b8dfbf7 CY |
1030 | 2005-12-17 Chong Yidong <cyd@stupidchicken.com> |
1031 | ||
1032 | * print.c (print_preprocess): Just signal an error if print_depth | |
1033 | is exceeded. | |
1034 | ||
d912b87a EZ |
1035 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
1036 | ||
1037 | * .gdbinit: Set a breakpoint on w32_abort. | |
1038 | ||
2a502a32 JL |
1039 | 2005-12-16 Juri Linkov <juri@jurta.org> |
1040 | ||
1041 | * minibuf.c (Fminibuffer_completion_contents): New Lisp function | |
1042 | created from minibuffer_completion_contents. | |
1043 | (minibuffer_completion_contents): Remove. | |
1044 | (do_completion, Fminibuffer_complete_word) | |
1045 | (Fminibuffer_completion_help): Replace minibuffer_completion_contents | |
1046 | with Fminibuffer_completion_contents. | |
1047 | (syms_of_minibuf): Add Sminibuffer_completion_contents. | |
1048 | (Fdisplay_completion_list): Doc fix. | |
1049 | (display_completion_list_1): Use `nil' for second arg of | |
1050 | `Fdisplay_completion_list'. | |
1051 | ||
bf63eb69 JD |
1052 | 2005-12-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1053 | ||
1054 | * xfns.c (compute_tip_xy): Handle negative dx and dy. | |
1055 | ||
a425bd03 | 1056 | * w32fns.c (compute_tip_xy): Ditto. |
bf63eb69 | 1057 | |
a425bd03 | 1058 | * macfns.c (compute_tip_xy): Ditto. |
bf63eb69 | 1059 | |
9b98e161 CY |
1060 | 2005-12-14 Chong Yidong <cyd@stupidchicken.com> |
1061 | ||
1062 | * print.c (print_preprocess): Go to a deeper print_depth to avoid | |
1063 | print_object loop. | |
1064 | ||
89aa725a KH |
1065 | 2005-12-14 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
1066 | ||
1067 | * coding.c (code_convert_region_unwind): GCPRO arg. | |
1068 | ||
3b006f5b JD |
1069 | 2005-12-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1070 | ||
57134802 JD |
1071 | * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x, |
1072 | i.e. dy is offset from top of frame instead of bottom. | |
1073 | ||
1074 | * macfns.c (compute_tip_xy): Ditto. | |
1075 | ||
1076 | * w32fns.c (compute_tip_xy): Ditto. | |
1077 | ||
3b006f5b JD |
1078 | * gtkutil.c (SSDATA): New macro to remove compiler warnings. |
1079 | (xg_get_image_for_pixmap, xg_create_frame_widgets) | |
1080 | (xg_get_file_with_chooser): Use SSDATA instead of SDATA. | |
1081 | ||
1082 | * xmenu.c (menubar_selection_callback): Do nothing if the callback | |
1083 | is for an unselected radio menu item. | |
1084 | ||
2cb33a98 RS |
1085 | 2005-12-11 Richard M. Stallman <rms@gnu.org> |
1086 | ||
1087 | * xdisp.c (syms_of_xdisp) <blink-cursor-alist>: Doc fix. | |
1088 | ||
1089 | * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once. | |
1090 | ||
1091 | * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE. | |
1092 | (Flookup_key): Doc fix. | |
1093 | (syms_of_keymap) <function-key-map>: Doc fix. | |
1094 | ||
1095 | * fns.c (Frequire): Treat evaluating from a source file | |
1096 | like loading the file. | |
1097 | ||
1098 | * floatfns.c (Flog): Doc fix. | |
1099 | ||
1100 | * fileio.c (Finsert_file_contents): Set Vdeactivate_mark | |
1101 | when we change the buffer. | |
1102 | ||
d7d1f75e JL |
1103 | 2005-12-11 Juri Linkov <juri@jurta.org> |
1104 | ||
1105 | * minibuf.c (display_completion_list_1): | |
1106 | Call `minibuffer_completion_contents' instead of using `nil' as | |
1107 | second arg of `Fdisplay_completion_list'. | |
1108 | (keys_of_minibuf): Unbind SPC in | |
1109 | Vminibuffer_local_filename_completion_map (see also related | |
1110 | change on 2005-12-06). | |
1111 | ||
ac8fcf0f YM |
1112 | 2005-12-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1113 | ||
1114 | * emacs.c (main) [MAC_OS8]: Undo previous change. | |
1115 | ||
1116 | * macselect.c (syms_of_macselect) <mac-apple-event-map>: | |
1117 | Initialize to nil. Keymap is now created in lisp/term/mac-win.el. | |
1118 | ||
4b3eb407 YM |
1119 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1120 | ||
1121 | * Makefile.in (macselect.o): Depend on keymap.h. | |
1122 | ||
1123 | * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before | |
1124 | syms_of_macselect. | |
1125 | ||
1126 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies. | |
1127 | [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies. | |
1128 | ||
1129 | * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable. | |
1130 | (syms_of_keyboard) [MAC_OS]: Initialize it. | |
1131 | (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT. | |
1132 | ||
1133 | * mac.c (Qundecoded_file_name): New variable. | |
1134 | (syms_of_mac): Initialize it. | |
1135 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions. | |
a425bd03 | 1136 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun. |
4b3eb407 YM |
1137 | (Fmac_coerce_ae_data): New defun. |
1138 | (syms_of_mac): Defsubr it. | |
1139 | ||
1140 | * macselect.c: Include keymap.h. | |
1141 | (mac_ready_for_apple_events): New variable. | |
1142 | (Vmac_apple_event_map, Qmac_apple_event_class) | |
1143 | (Qmac_apple_event_id): New variables. | |
1144 | (syms_of_macselect): Initialize them. | |
1145 | (Qundefined, mac_store_apple_event): Add externs. | |
1146 | (struct apple_event_binding): New struct. | |
1147 | (find_event_binding_fun, find_event_binding) | |
1148 | (mac_find_apple_event_spec, defer_apple_events) | |
1149 | (mac_handle_apple_event, init_apple_event_handler) | |
1150 | (copy_scrap_flavor_data): New functions. | |
1151 | (Fmac_process_deferred_apple_events): New defun. | |
1152 | (syms_of_macselect): Defsubr it. | |
1153 | (mac_store_services_event): Fix extern. | |
1154 | (mac_handle_service_event): Don't allocate Lisp objects during | |
1155 | asynchronous input processing. Use mac_store_services_event | |
1156 | instead of mac_store_application_menu_event. | |
1157 | ||
1158 | * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) | |
1159 | (Qpreferences): Remove variables. | |
1160 | (syms_of_macterm) : Don't initialize them. | |
1161 | (Qhicommand) [USE_CARBON_EVENTS]: New variable. | |
1162 | (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. | |
1163 | (init_required_apple_events, do_ae_open_application) | |
1164 | (do_ae_print_documents, do_ae_open_documents) | |
1165 | (do_ae_quit_application): Remove functions and prototypes. | |
1166 | (mac_ready_for_apple_events, Qundefined, init_apple_event_handler) | |
1167 | (mac_find_apple_event_spec): Add externs. | |
1168 | (mac_store_application_menu_event): Remove function. | |
1169 | (mac_store_apple_event, mac_make_lispy_event_code): New functions. | |
1170 | (mac_handle_command_event): Create Apple event from Carbon event. | |
1171 | Use mac_store_apple_event instead of mac_store_application_menu_event. | |
1172 | [MAC_OSX] (mac_store_services_event): Likewise. | |
1173 | (struct SelectionRange, SelectionRange): Remove struct and typedef. | |
1174 | [MAC_OS8] (main): Call init_apple_event_handler instead of | |
1175 | init_required_apple_events. | |
1176 | (mac_initialize) [MAC_OSX]: Likewise. | |
e7b394e1 SM |
1177 | [!USE_CARBON_EVENTS] (mac_wait_next_event): |
1178 | Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. | |
4b3eb407 | 1179 | |
e7b394e1 SM |
1180 | * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): |
1181 | Add externs. | |
4b3eb407 YM |
1182 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. |
1183 | (Fmac_get_preference): Add EXFUN. | |
1184 | ||
1185 | * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT | |
1186 | event. | |
1187 | ||
e358e052 RS |
1188 | 2005-12-09 Richard M. Stallman <rms@gnu.org> |
1189 | ||
1190 | * xfns.c (Fx_create_frame): Reinstate previous change. | |
1191 | ||
9ea74bfb EZ |
1192 | 2005-12-09 Eli Zaretskii <eliz@gnu.org> |
1193 | ||
1194 | * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching | |
1195 | GDB to the abort dialog. | |
1196 | ||
9dd28cae | 1197 | 2005-12-09 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
84fdb82c KS |
1198 | |
1199 | * indent.c (Fvertical_motion): Force move if starting on | |
1200 | stretch glyph. | |
1201 | ||
2fda6977 RS |
1202 | 2005-12-08 Richard M. Stallman <rms@gnu.org> |
1203 | ||
2663a204 RS |
1204 | * lread.c (read_escape) <\s>: Don't treat strings specially. |
1205 | ||
2fda6977 RS |
1206 | * xfns.c (Fx_create_frame): Comment out previous change. |
1207 | ||
225c13a5 KL |
1208 | 2005-12-07 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
1209 | ||
1210 | * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, | |
1211 | when needed. | |
1212 | ||
da8ec671 SM |
1213 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
1214 | ||
1215 | * minibuf.c (keys_of_minibuf): Just unbind SPC in | |
1216 | Vminibuffer_local_filename_completion_map rather than forcing it | |
1217 | explicitly to the same binding as the global map. | |
1218 | ||
88fde92a KR |
1219 | 2005-12-06 Ken Raeburn <raeburn@gnu.org> |
1220 | ||
e7b394e1 | 1221 | * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args. |
88fde92a | 1222 | * bytecode.c (Fbyte_code): Likewise. |
e7b394e1 | 1223 | * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise. |
88fde92a KR |
1224 | * minibuf.c (Fminibuffer_complete_and_exit): Likewise. |
1225 | * undo.c (truncate_undo_list): Likewise. | |
1226 | ||
fa0d4d0c RS |
1227 | 2005-12-05 Richard M. Stallman <rms@gnu.org> |
1228 | ||
1229 | * window.c (enlarge_window): Eliminate arg preserve_before. | |
1230 | Assume it is 0. All callers changed. | |
1231 | (Fenlarge_window, Fshrink_window): Likewise. | |
1232 | ||
5a98616e EZ |
1233 | 2005-12-02 Eli Zaretskii <eliz@gnu.org> |
1234 | ||
1235 | * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't | |
1236 | fit below. | |
1237 | ||
1dbacb90 JD |
1238 | 2005-12-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1239 | ||
1240 | * xterm.h: Add prototype for xg_set_icon_from_xpm_data. | |
1241 | ||
1242 | * xfns.c (x_real_positions): int ign => unsigned int. | |
1243 | (xg_set_icon_from_xpm_data): Remove unused variable err. | |
1244 | (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast | |
1245 | to remove compiler warning. | |
1246 | (compute_tip_xy): Put tip above pointer if it doesn't fit below. | |
1247 | ||
0a79da1b EZ |
1248 | 2005-12-02 David Reitter <david.reitter@gmail.com> |
1249 | ||
1250 | * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is | |
1251 | non-nil, use the new keymaps Vminibuffer_local_filename_completion_map | |
1252 | and Vminibuffer_local_must_match_filename_map keymaps. | |
1253 | (keys_of_minibuf): Bind SPC in the new file-name completion keymaps. | |
1254 | ||
1255 | * keymap.c (Vminibuffer_local_filename_completion_map) | |
1256 | (Vminibuffer_local_must_match_filename_map): New variables. | |
1257 | (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their | |
1258 | parent to be Vminibuffer_local_completion_map and | |
1259 | Vminibuffer_local_must_match_map, respectively. | |
1260 | ||
1261 | * commands.h (Vminibuffer_local_filename_completion_map) | |
1262 | (Vminibuffer_local_must_match_filename_map): Declare the new keymaps. | |
1263 | ||
e67a1dea SM |
1264 | 2005-12-01 Stefan Monnier <monnier@iro.umontreal.ca> |
1265 | ||
1266 | * window.c (Fset_window_configuration): Don't accidentally copy the | |
1267 | window-point of one window to another. | |
1268 | ||
6ad0f04d KL |
1269 | 2005-11-30 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
1270 | ||
7854b2a3 | 1271 | * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. |
6ad0f04d | 1272 | |
4269a2fd KS |
1273 | 2005-11-30 Kim F. Storm <storm@cua.dk> |
1274 | ||
1275 | * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. | |
1276 | (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by | |
1277 | passing it to `emacs_write'. | |
1278 | ||
96013ba9 SM |
1279 | 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change) |
1280 | ||
1281 | * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. | |
1282 | ||
161ef3be RS |
1283 | 2005-11-27 Richard M. Stallman <rms@gnu.org> |
1284 | ||
1285 | * window.c (adjust_window_trailing_edge): New function. | |
1286 | (Fadjust_window_trailing_edge): New function. | |
96013ba9 | 1287 | (syms_of_window): Defsubr it. |
161ef3be RS |
1288 | (window_deletion_count): New variable. |
1289 | (delete_window): Update window_deletion_count. | |
1290 | ||
02b1a164 EZ |
1291 | 2005-11-26 Eli Zaretskii <eliz@gnu.org> |
1292 | ||
1293 | * minibuf.c (syms_of_minibuf): Mention the extension of | |
1294 | `completion-auto-help's meaning by complete.el. | |
1295 | ||
07908aec EZ |
1296 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> |
1297 | ||
96013ba9 | 1298 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
07908aec EZ |
1299 | Handle :inherit property as a lisp expression. |
1300 | ||
b9c7cbf9 YM |
1301 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1302 | ||
1303 | * macterm.c (Qcontrol): Rename from Qctrl. All uses changed. | |
1304 | (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper, | |
1305 | Qsuper, and Qmodifier_value. | |
1306 | (Vmac_control_modifier, Vmac_option_modifier) | |
1307 | (Vmac_command_modifier, Vmac_function_modifier) | |
1308 | (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2) | |
1309 | (Vmac_pass_command_to_system, Vmac_pass_control_to_system) | |
1310 | (Vmac_charset_info_alist): Doc fixes. | |
1311 | ||
2c012c41 YM |
1312 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1313 | ||
1314 | * emacs.c (main) [MAC_OSX]: Change working directory to home | |
1315 | directory if `-psn_*' option is specified. | |
1316 | ||
1317 | * mac.c (DECODE_UTF_8): Remove macro. | |
1318 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function | |
1319 | created from cfstring_to_lisp. | |
1320 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it. | |
1321 | (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise. | |
1322 | ||
1323 | * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]: | |
1324 | Add prototype. | |
1325 | ||
88fde92a | 1326 | 2005-11-21 Ken Raeburn <raeburn@gnu.org> |
d7c0be75 KR |
1327 | |
1328 | * keymap.c (shadow_lookup): Use make_number to pass a number to | |
1329 | Fsubstring. | |
1330 | ||
17c1971a JL |
1331 | 2005-11-21 Juri Linkov <juri@jurta.org> |
1332 | ||
1333 | * puresize.h (BASE_PURESIZE): Increment to 1180000. | |
1334 | ||
0268cef3 CY |
1335 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> |
1336 | ||
96013ba9 SM |
1337 | * xfaces.c (Finternal_set_lisp_face_attribute): |
1338 | Use :ignore-defface for new frame defaults when `unspecified' is | |
0268cef3 CY |
1339 | supplied. |
1340 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. | |
67d23e01 CY |
1341 | (merge_face_vectors): Don't do :ignore-defface overwriting here. |
1342 | (Finternal_merge_in_global_face): Do it here. | |
0268cef3 | 1343 | |
dd949173 JL |
1344 | 2005-11-20 Juri Linkov <juri@jurta.org> |
1345 | ||
1346 | * charset.c (invalid_character): Use Lisp-readable syntax | |
1347 | for octal and hex. Reorder decimal, octal and hex values. | |
1348 | ||
76986433 NR |
1349 | 2005-11-20 Nick Roberts <nickrob@snap.net.nz> |
1350 | ||
1351 | * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that | |
1352 | this type is recognised when debugging. | |
1353 | ||
603add2d AS |
1354 | 2005-11-19 Andreas Schwab <schwab@suse.de> |
1355 | ||
1356 | * .gdbinit (nextcons, xcdr, xfloat): Update for changes in | |
1357 | Lisp_Cons and Lisp_Float. | |
1358 | ||
125ce9ec YM |
1359 | 2005-11-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1360 | ||
1361 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): | |
1362 | New variable. | |
96013ba9 | 1363 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. |
125ce9ec YM |
1364 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. |
1365 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if | |
1366 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. | |
1367 | ||
2ff10663 CY |
1368 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
1369 | ||
96013ba9 | 1370 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. |
fe45ad15 | 1371 | |
2ff10663 CY |
1372 | * xfaces.c (Qignore_defface): New variable. |
1373 | (syms_of_xfaces): Provide `:ignore-defface'. | |
1374 | (IGNORE_DEFFACE_P): New macro. | |
05338727 CY |
1375 | (check_lface_attrs, lface_fully_specified_p) |
1376 | (Finternal_set_lisp_face_attribute) | |
96013ba9 SM |
1377 | (Fface_attribute_relative_p, Fmerge_face_attribute): |
1378 | Handle Qignore_defface as a possible value. | |
2ff10663 CY |
1379 | (merge_face_vectors): The merged face is `unspecified' if the |
1380 | mergee specifies `:ignore-defface'. | |
1381 | ||
c01f0ed3 SM |
1382 | 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
1383 | ||
1384 | * lread.c (readevalloop): Add missing GCPROs. | |
1385 | ||
786a43d6 CY |
1386 | 2005-11-16 Chong Yidong <cyd@stupidchicken.com> |
1387 | ||
9f7b984b CY |
1388 | * xfns.c (xg_set_icon_from_xpm_data): New function. |
1389 | ||
c01f0ed3 SM |
1390 | * gnu.h (gnu_xpm_bits): Rename from gnu_bits. |
1391 | (gnu_xbm_bits): Rename from gnu_bits (xbm version). | |
786a43d6 CY |
1392 | |
1393 | * xterm.c (x_bitmap_icon): Use the xpm if available. | |
1394 | ||
1395 | * image.c (x_create_bitmap_from_xpm_data): New function. | |
54188d8f | 1396 | (x_create_bitmap_from_xpm_data): Initialize XpmAttributes. |
786a43d6 | 1397 | |
8ab84823 LT |
1398 | 2005-11-15 Luc Teirlinck <teirllm@auburn.edu> |
1399 | ||
1400 | * Makefile.in (lisp, shortlisp): Add rfn-eshadow. | |
1401 | ||
3671718b NR |
1402 | 2005-11-16 Nick Roberts <nickrob@snap.net.nz> |
1403 | ||
1404 | * .gdbinit: Make SIGTSTP work like SIGINT normally does. | |
1405 | ||
28a099a4 AS |
1406 | 2005-11-15 Andreas Schwab <schwab@suse.de> |
1407 | ||
1408 | * lisp.h (struct Lisp_Cons): Make cdr a union. | |
1409 | (XCDR_AS_LVALUE): Adjust. | |
1410 | (struct Lisp_Float): Make data a union. | |
1411 | (XFLOAT_DATA): Adjust. | |
1412 | ||
1413 | * alloc.c (free_float): Make free list chaining aliasing-safe. | |
1414 | (make_float): Likewise. | |
1415 | (free_cons): Likewise. | |
1416 | (Fcons): Likewise. | |
1417 | (check_cons_list): Likewise. | |
1418 | (Fmake_symbol): Likewise. | |
1419 | (allocate_misc): Likewise. | |
1420 | (free_misc): Likewise. | |
1421 | (gc_sweep): Likewise. | |
1422 | ||
308a6607 YM |
1423 | 2005-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1424 | ||
fc09d07f YM |
1425 | * mac.c (HASHKEY_QUERY_CACHE): New define. |
1426 | (xrm_create_database, xrm_q_put_resource): Empty query cache. | |
1427 | (xrm_get_resource): Use query cache. | |
1428 | ||
308a6607 YM |
1429 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies if |
1430 | inhibit_window_system is set. | |
1431 | ||
29b585db YM |
1432 | 2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1433 | ||
1434 | * macgui.h (USE_CG_TEXT_DRAWING): New define. | |
1435 | (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font | |
1436 | and cg_glyphs. | |
1437 | ||
1438 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function. | |
1439 | (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it. | |
1440 | (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and | |
1441 | cg_glyphs in struct MacFontStruct if synthesized bold or italic is | |
1442 | not used and font substitution never occurs for ASCII and Latin-1 | |
1443 | characters. | |
1444 | (XLoadQueryFont): Maximum and minimum metrics are now those among | |
1445 | ASCII characters. | |
1446 | (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style | |
1447 | height adjustments for Courier, Helvetica, and Times. | |
1448 | ||
1449 | * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. | |
1450 | ||
9dd28cae | 1451 | 2005-11-11 David Reitter <david.reitter@gmail.com> |
b02e3f7b | 1452 | |
dff79d04 ST |
1453 | * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, |
1454 | macMetaKey, macAltKey. Introduce Qctrl, Qmeta, | |
1455 | Vmac_control_modifier / mac-control-modifier, | |
1456 | Vmac_option_modifier / mac-option-modifier, | |
1457 | Vmac_command_modifier / mac-command-modifier. | |
1458 | (mac_to_emacs_modifiers): Use the new style modifier | |
c01f0ed3 SM |
1459 | variables. Return UInt32 (modifiers are longs now.) |
1460 | (backtranslate_modified_keycode): New function (refactoring). | |
1461 | (XTread_socket): Use new modifier variables and refactored function. | |
1462 | (mac_determine_quit_char_modifiers): Remove macMetaKey (there is | |
1463 | no dedicated meta key. Not in use anyway.) | |
b02e3f7b ST |
1464 | (convert_fn_keycode): Map Fn-keys to their original keycode |
1465 | using a table (english keyboard only). | |
b02e3f7b | 1466 | |
6a77a9f5 KS |
1467 | 2005-11-11 Kim F. Storm <storm@cua.dk> |
1468 | ||
ab4d879e KS |
1469 | * .gdbinit (pitx): Fix output format if n_overlay_strings > 0. |
1470 | Add post hook to "backtrace" to always dump lisp call stack to | |
1471 | increase chance of people sending it to us when reporting bugs. | |
1472 | ||
8c41220c KS |
1473 | * doc.c (Fsubstitute_command_keys): Doc fix. |
1474 | ||
6a77a9f5 KS |
1475 | * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p. |
1476 | ||
1477 | * xdisp.c (handle_stop): Skip overlay string handling if | |
1478 | ignore_overlay_strings_at_pos_p is set. | |
1479 | (set_iterator_to_next): At end of display vector, set | |
1480 | ignore_overlay_strings_at_pos_p if dpvec came from an overlay | |
1481 | string, so we skip those overlay strings at current pos. | |
1482 | ||
9dd28cae | 1483 | 2005-11-10 Lars Hansen <larsh@soem.dk> |
19a9c3b7 LH |
1484 | |
1485 | * fileio.c (file-regular-p): Doc fix. | |
1486 | ||
932954d1 KS |
1487 | 2005-11-10 Kim F. Storm <storm@cua.dk> |
1488 | ||
1489 | * alloc.c (valid_lisp_object_p): New function to validate that | |
1490 | an object is really a valid Lisp_Object. | |
1491 | ||
1492 | * lisp.h (valid_lisp_object_p): Add prototype. | |
1493 | ||
1494 | * print.c (safe_debug_print): New function to be called from gdb | |
1495 | to print Lisp objects; use valid_lisp_object_p to avoid crashing | |
1496 | if user tries to print something which is not a Lisp object. | |
1497 | ||
1498 | * .gdbinit (pp, pp1): Use safe_debug_print. | |
1499 | (pv, pv1): New commands to print value of a lisp variable. | |
1500 | ||
78e5988d NR |
1501 | 2005-11-10 Nick Roberts <nickrob@snap.net.nz> |
1502 | ||
1503 | * .gdbinit (pp1): New user-defined function. | |
1504 | ||
f56a5bd8 YM |
1505 | 2005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1506 | ||
1507 | * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak. | |
1508 | ||
1509 | * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale | |
1510 | related variables for dumped executable. | |
1511 | ||
1512 | * unexmacosx.c (unexec_write_zero): New function. | |
1513 | (copy_data_segment): Clear uninitialized local variables in | |
1514 | statically linked libraries. | |
1515 | ||
1516 | * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common. | |
1517 | ||
58b6f884 JL |
1518 | 2005-11-09 Juri Linkov <juri@jurta.org> |
1519 | ||
1520 | * keymap.c (shadow_lookup): If Flookup_key returns a number, | |
1521 | call it again with a sub-key-sequence, and if its return value | |
1522 | is non-nil (sub-key is bound), return nil. | |
1523 | ||
1f5f957a KS |
1524 | 2005-11-08 Kim F. Storm <storm@cua.dk> |
1525 | ||
1526 | * process.c (Fsignal_process): Recognize signal names with and | |
1527 | without SIG prefix, e.g. SIGHUP and HUP. | |
1528 | ||
1529 | * search.c (search_buffer): No need to initialize base_pat. | |
1530 | ||
20b69789 SM |
1531 | 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> |
1532 | ||
1533 | * window.c (Fget_lru_window, Fget_largest_window, window_loop): | |
1534 | Don't abuse the `mini' arg. Use the `obj' arg instead. | |
1535 | ||
7353f169 KS |
1536 | 2005-11-04 Kim F. Storm <storm@cua.dk> |
1537 | ||
1538 | * xdisp.c (show_mouse_face): Clear mouse face to eol. | |
1539 | ||
1f7b1131 DN |
1540 | 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu> |
1541 | ||
1542 | * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc, | |
1543 | font-lock.elc and jit-lock.elc. | |
1544 | ||
e082564e RS |
1545 | 2005-11-03 Richard M. Stallman <rms@gnu.org> |
1546 | ||
1547 | * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL. | |
1548 | (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG. | |
1549 | (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG. | |
1550 | ||
1551 | * sheap.c (STATIC_HEAP_SIZE): Increment both definitions. | |
1552 | ||
1553 | * alloc.c (refill_memory_reserve): Move decl out of conditionals. | |
1554 | ||
49e99345 SM |
1555 | 2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
1556 | ||
1557 | * window.c (Fdisplay_buffer): Fix last change to not use | |
1558 | a dedicated window. | |
1559 | ||
8f15921b KS |
1560 | 2005-11-01 Kim F. Storm <storm@cua.dk> |
1561 | ||
1562 | * fringe.c (update_window_fringes): Undo 2005-10-27 change. | |
1563 | Instead, rotate the bottom angle bitmap 180 degrees to indicate | |
1564 | that the bottom row does not end in a newline. | |
1565 | ||
b4235a80 AS |
1566 | 2005-11-01 Andreas Schwab <schwab@suse.de> |
1567 | ||
1568 | * unexelf.c (unexec): Handle .plt section in BSS segment. | |
1569 | ||
3cbb13c8 SM |
1570 | 2005-11-01 Stefan Monnier <monnier@iro.umontreal.ca> |
1571 | ||
e5f64be2 SM |
1572 | * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). |
1573 | ||
3cbb13c8 SM |
1574 | * window.c (window_loop): For LRU and LARGEST, let the `mini' argument |
1575 | determine whether to consider dedicated windows as well. | |
1576 | (Fget_lru_window, Fget_largest_window): Add `dedicated' argument. | |
1577 | (Fdisplay_buffer): Do consider dedicated windows in those cases where | |
1578 | we will split the window rather than reuse it. | |
1579 | Don't try to use windows on other displays. | |
1580 | ||
c94f08ff DN |
1581 | 2005-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
1582 | ||
1583 | * puresize.h (BASE_PURESIZE): Increment to 1170000. | |
1584 | ||
edf84ae9 RF |
1585 | 2005-10-31 Romain Francoise <romain@orebokech.com> |
1586 | ||
1587 | * macfns.c: Update copyright year. | |
1588 | * m/gould.h: Likewise. | |
1589 | ||
6f07f649 KS |
1590 | 2005-10-30 Kim F. Storm <storm@cua.dk> |
1591 | ||
1592 | * xdisp.c (display_line): Restore it->current_x and call | |
1593 | extend_face_to_end_of_line when last glyph doesn't fit on line. | |
9dd28cae | 1594 | (set_glyph_string_background_width): Remove specific tests here |
6f07f649 KS |
1595 | to see if face background should extend to end of line. Simplify. |
1596 | ||
4d74a5fc RS |
1597 | 2005-10-30 Richard M. Stallman <rms@gnu.org> |
1598 | ||
1599 | * alloc.c (BYTES_USED): Use uordblks, not arena. | |
1600 | (bytes_used_when_reconsidered): New variable. | |
1601 | (emacs_blocked_free): Set that. | |
1602 | ||
bccfb310 CY |
1603 | 2005-10-29 Chong Yidong <cyd@stupidchicken.com> |
1604 | ||
1605 | * alloc.c (emacs_blocked_free): Fix typo. | |
1606 | ||
f5b8d5f2 RS |
1607 | 2005-10-29 Richard M. Stallman <rms@gnu.org> |
1608 | ||
4d74a5fc RS |
1609 | * data.c (Fmake_variable_frame_local): Doc fix. |
1610 | ||
f5b8d5f2 RS |
1611 | * xdisp.c (handle_fontified_prop): Do nothing if memory full. |
1612 | (format_mode_line_unwind_data): New arg SAVE_PROPTRANS | |
1613 | controls whether to save and restore mode_line_proptrans_alist. | |
1614 | Callers changed. | |
1615 | (unwind_format_mode_line): Work with that feature. | |
1616 | (redisplay_internal): Don't call prepare_menu_bars if memory full. | |
1617 | (move_elt_to_front): New function. | |
1618 | (display_mode_element): Use move_elt_to_front. | |
1619 | Don't bother munging text props on a null string. | |
1620 | Delete obsolete elts from mode_line_proptrans_alist. | |
1621 | (decode_mode_spec): Test Vmemory_full, not spare_memory. | |
685abb98 | 1622 | (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. |
f5b8d5f2 | 1623 | |
49e99345 SM |
1624 | * lisp.h (memory_full_cons_threshold): Declare. |
1625 | (internal_lisp_condition_case): Declare. | |
f5b8d5f2 RS |
1626 | |
1627 | * alloc.c (syms_of_alloc) <memory-full>: Doc fix. | |
1628 | (Fmemory_full_p): Function deleted. | |
1629 | (syms_of_alloc): Don't defsubr it. | |
1630 | (memory_full_cons_threshold): New variable. | |
1631 | (spare_memory): Now a vector of 7 elts. | |
1632 | (buffer_memory_full): Don't set Vmemory_full here. | |
1633 | (xfree): Don't try to refill here. | |
1634 | (emacs_blocked_free): Record BYTES_USED in local var. | |
1635 | (memory_full): Now free all the slots in spare_memory. | |
1636 | (refill_memory_reserve): Allocate each slot in spare_memory. | |
1637 | (init_alloc_once): Call refill_memory_reserve. | |
1638 | ||
1639 | * keyboard.c (command_loop_1): Don't set Vmemory_full here. | |
1640 | ||
1641 | * eval.c (internal_lisp_condition_case): New function. | |
1642 | (Fcondition_case): Use internal_lisp_condition_case. | |
1643 | (Feval): Test Vmemory_full and memory_full_cons_threshold. | |
1644 | (Ffuncall): Likewise. | |
1645 | ||
1646 | * bytecode.c (Fbyte_code): Use internal_lisp_condition_case. | |
1647 | ||
c390e28c SM |
1648 | 2005-10-29 Stefan Monnier <monnier@iro.umontreal.ca> |
1649 | ||
1650 | * syntax.c (Fparse_partial_sexp): Fix docstring. | |
1651 | ||
ab5d87b3 RF |
1652 | 2005-10-28 Romain Francoise <romain@orebokech.com> |
1653 | ||
c390e28c | 1654 | * puresize.h (BASE_PURESIZE): Increment to 1130000. |
ab5d87b3 | 1655 | |
107fb6c9 RS |
1656 | 2005-10-28 Richard M. Stallman <rms@gnu.org> |
1657 | ||
1658 | * xfns.c (syms_of_xfns): Provide `x' as feature. | |
1659 | ||
1660 | * xdisp.c (decode_mode_spec): Define %e to indicate memory full. | |
1661 | ||
1662 | * editfns.c (Fformat): Don't include string padding | |
1663 | between info[n].start and info[n].end. | |
1664 | ||
1665 | * alloc.c (spare_memory): No longer static. | |
1666 | (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve. | |
1667 | ||
c390e28c | 1668 | * puresize.h (BASE_PURESIZE): Increment to 1120000. |
107fb6c9 | 1669 | |
f351b58b CY |
1670 | 2005-10-27 Chong Yidong <cyd@stupidchicken.com> |
1671 | ||
c390e28c | 1672 | * data.c (Fmake_variable_frame_local): Add clarification to docstring. |
437610c5 | 1673 | |
f351b58b CY |
1674 | * fringe.c (update_window_fringes): Handle case where buffer ends |
1675 | with a newline. | |
1676 | ||
581e7427 KH |
1677 | 2005-10-27 Kenichi Handa <handa@m17n.org> |
1678 | ||
1679 | * coding.h (DECODE_SYSTEM): Fix argument name; name->str. | |
1680 | ||
1681 | 2005-10-24 Kenichi Handa <handa@m17n.org> | |
1682 | ||
1683 | * charset.h (charset_mule_unicode_0100_24ff) | |
1684 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
1685 | Extern them. | |
1686 | ||
1687 | * charset.c (charset_mule_unicode_0100_24ff) | |
1688 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
1689 | New variables. | |
1690 | (Fsetup_special_charsets): Initialize them. | |
1691 | ||
1692 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
1693 | supported Unicode characters. | |
1694 | ||
813fa8a8 JR |
1695 | 2005-10-25 Jason Rumney <jasonr@gnu.org> |
1696 | ||
1697 | * w32fns.c (w32_to_x_font): Avoid forcing font widths. | |
1698 | ||
05f7d868 YM |
1699 | 2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1700 | ||
1701 | * image.c [MAC_OS] (image_load_qt_1): Check image size. | |
1702 | Use GraphicsImportGetImageDescription instead of | |
1703 | GraphicsImportGetNaturalBounds. | |
1704 | [MAC_OSX] (image_load_quartz2d): Check image size. | |
1705 | [MAC_OS] (xpm_load_image): Likewise. | |
1706 | ||
1707 | * macterm.c (last_mouse_glyph_frame): New var. | |
1708 | (note_mouse_movement): Say mouse moved if current frame differs | |
1709 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
1710 | (XTmouse_position): Set last_mouse_glyph_frame. | |
1711 | (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event. | |
29b585db | 1712 | (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo. |
05f7d868 YM |
1713 | Use EndianU16_BtoN. |
1714 | (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls. | |
1715 | (x_per_char_metric, XLoadQueryFont) | |
1716 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get | |
1717 | glyph bounds. | |
1718 | (mac_to_x_fontname, mac_do_list_fonts) | |
1719 | (mac_initialize_display_info): Change screen resolutions to 72dpi. | |
1720 | ||
128e729d MY |
1721 | 2005-10-25 Masatake YAMATO <jet@gyve.org> |
1722 | ||
1723 | * minibuf.c (Fdisplay_completion_list): Small doc fix. | |
1724 | ||
59017afb KS |
1725 | 2005-10-24 Kim F. Storm <storm@cua.dk> |
1726 | ||
94717db1 KS |
1727 | * xterm.c: Undo 2005-10-23 change. |
1728 | (last_mouse_glyph_frame): New var. | |
1729 | (note_mouse_movement): Say mouse moved if current frame differs | |
1730 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
1731 | (XTmouse_position): Set last_mouse_glyph_frame. | |
1732 | (handle_one_xevent): Clear last_mouse_glyph_frame [instead of | |
1733 | last_mouse_glyph] on mouse up/down event. | |
1734 | ||
59017afb KS |
1735 | * editfns.c (Fcompare_buffer_substrings): Fix last change. |
1736 | ||
7c5ba0d2 SM |
1737 | 2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
1738 | ||
1739 | * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars. | |
1740 | ||
a4b0e228 JD |
1741 | 2005-10-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1742 | ||
1743 | * xterm.c (note_mouse_movement): Always call note_mouse_highlight | |
1744 | so tool tips don't interfere with press on tool bar button. | |
1745 | ||
f6a18aa2 RS |
1746 | 2005-10-23 Richard M. Stallman <rms@gnu.org> |
1747 | ||
1748 | * casetab.c (Fset_case_table): Doc fix. | |
1749 | ||
1750 | * lread.c (build_load_history): Replace STREAM arg with ENTIRE. | |
1751 | (readevalloop): Compute ENTIRE properly. | |
1752 | (syms_of_lread) <load-history>: Doc fix. | |
1753 | ||
45158e77 RS |
1754 | 2005-10-21 Richard M. Stallman <rms@gnu.org> |
1755 | ||
1756 | * lread.c (Fload): Simplify gcpro structure. | |
1757 | Gcpro FOUND as well as FILE, but not EFOUND. | |
1758 | Unless preloading, record FOUND instead of FILE in Vload_history. | |
1759 | Rename repeat local FILE to MSG_FILE. | |
1760 | (syms_of_lread) <load-history>: Doc fix. | |
1761 | ||
dfa1cd4d KH |
1762 | 2005-10-21 Kenichi Handa <handa@m17n.org> |
1763 | ||
96664fc0 | 1764 | * search.c (boyer_moore): Add parens to fix and/or precedence bug. |
dfa1cd4d | 1765 | |
1064a9ea KS |
1766 | 2005-10-20 Kim F. Storm <storm@cua.dk> |
1767 | ||
1768 | * buffer.c (clone_per_buffer_values): Remove unused var tem. | |
1769 | (init_buffer): Remove unused vars dotstat, pwdstat. | |
1770 | ||
1771 | * ccl.c (check_ccl_update): Remove unused var vp. | |
1772 | ||
1773 | * fileio.c (auto_save_error): Call SAFE_FREE. | |
1774 | ||
1775 | * fns.c (Fchar_table_range): Remove unused var i. | |
1776 | ||
1777 | * minibuf.c (display_completion_list_1): New wrapper function | |
1778 | for Fdisplay_completion_list. | |
1779 | (Fminibuffer_completion_help): Use it. | |
1780 | ||
1781 | * term.c (encode_terminal_code): Remove unused var src_start. | |
1782 | ||
1783 | * window.c (Fwindow_tree): Remove unused var alist. | |
1784 | ||
1785 | * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. | |
1786 | ||
ce13796f EZ |
1787 | 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change) |
1788 | ||
20b69789 | 1789 | * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments. |
ce13796f | 1790 | |
ad9c16d3 EZ |
1791 | 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) |
1792 | ||
1793 | * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. | |
1794 | ||
26e9d2cf AS |
1795 | 2005-10-20 Andreas Schwab <schwab@suse.de> |
1796 | ||
1797 | * minibuf.c (Fdisplay_completion_list): Doc fix. | |
1798 | ||
e50165ec KS |
1799 | 2005-10-19 Kim F. Storm <storm@cua.dk> |
1800 | ||
1801 | * image.c (check_image_size): Handle integer Vmax_image_size value | |
1802 | directly as max pixel value. Use default frame size for null frame. | |
1803 | (syms_of_image) <max-image-size>: Describe integer value. | |
1804 | ||
d7b94c98 RF |
1805 | 2005-10-19 Romain Francoise <romain@orebokech.com> |
1806 | ||
1807 | * emacs.c (main): Update copyright year. | |
1808 | ||
f1f25b99 CY |
1809 | 2005-10-18 Chong Yidong <cyd@stupidchicken.com> |
1810 | ||
1811 | * image.c (Vmax_image_size): New variable. | |
1812 | (check_image_size): New function. | |
1813 | (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load) | |
1814 | (gif_load, gs_load): Use it. | |
1815 | (lookup_image): Try loading again if previous load failed. | |
1816 | (xbm_read_bitmap_data): Add a new argument, a pointer to the frame | |
1817 | to display in, NULL if none. | |
1818 | (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new | |
1819 | argument. | |
1820 | ||
f42d19a2 RS |
1821 | 2005-10-18 Richard M. Stallman <rms@gnu.org> |
1822 | ||
1823 | * search.c (Fstring_match): Doc fix. | |
1824 | ||
bcbdafce YM |
1825 | 2005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1826 | ||
1827 | * macterm.c (note_mouse_movement): Use PtInRect. | |
1828 | (XTread_socket): Also ignore mouse motion just before a button | |
1829 | release event. Don't process button release event when mouse is | |
1830 | not grabbed. | |
1831 | ||
f5fab556 MY |
1832 | 2005-10-16 Masatake YAMATO <jet@gyve.org> |
1833 | ||
1834 | * minibuf.c (Fdisplay_completion_list): Add new optional | |
e5f64be2 | 1835 | argument COMMON_SUBSTRING. Bind `completion-common-substring' |
f5fab556 MY |
1836 | to the optional argument during running `completion-setup-hook'. |
1837 | ||
2ef1363e YM |
1838 | 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1839 | ||
1840 | * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): | |
1841 | Allow nil as argument. | |
1842 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil | |
1843 | for encoding arguments as UTF-16 in native byte order, no BOM. | |
1844 | ||
1845 | * macfns.c (Fx_create_frame): Add debugging code. | |
1846 | (Fx_show_tip): Set frame pixel width and height. | |
1847 | ||
1848 | * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro. | |
1849 | (FRAME_NORMAL_GC): New macro. | |
1850 | (mac_draw_line, mac_clear_area, mac_clear_window) | |
1851 | (mac_fill_rectangle, mac_draw_string, mac_draw_string_16) | |
1852 | (mac_draw_image_string, mac_draw_image_string_16): Rename from | |
1853 | XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString, | |
1854 | XDrawString16, XDrawImageString, and XDrawImageString16, respectively. | |
1855 | All uses changed. | |
1856 | (mac_draw_line, mac_erase_rectangle, mac_clear_area) | |
1857 | (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle) | |
1858 | (mac_invert_rectangle, mac_draw_string_common, mac_draw_string) | |
1859 | (mac_draw_string_16, mac_draw_image_string) | |
1860 | (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask) | |
1861 | (mac_scroll_area): Drawing functions now take frame as destination. | |
1862 | All uses changed. | |
1863 | (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT. | |
1864 | (x_draw_fringe_bitmap): Set clipping area in face->gc. | |
1865 | ||
1866 | * macterm.h (mac_clear_area): Add extern. | |
1867 | ||
fc5c7550 YM |
1868 | 2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1869 | ||
1870 | * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14 | |
1871 | changes for xterm.c. | |
1872 | ||
1873 | * w32term.c (note_mouse_movement, w32_read_socket): Likewise. | |
1874 | ||
fed91c38 KH |
1875 | 2005-10-14 Kenichi Handa <handa@m17n.org> |
1876 | ||
1877 | * search.c (search_buffer): Give up BM search on case-fold-search | |
1878 | if one of a target character has a case-equivalence of different | |
1879 | charset even if that target charcter is an ASCII. | |
1880 | ||
1881 | * casefiddle.c (casify_object): Fix for the case that case | |
1882 | conversion change the byte length. | |
1883 | ||
0ea1a8af KS |
1884 | 2005-10-14 Kim F. Storm <storm@cua.dk> |
1885 | ||
1886 | * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise. | |
1887 | (handle_one_xevent): Only clear help_echo_string; restore it if | |
1888 | note_mouse_movement didn't record any mouse movement. | |
1889 | ||
1890 | * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. | |
1891 | (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. | |
1892 | ||
1893 | * keyboard.c (make_lispy_position): Adjust wx for left margin if ON_TEXT. | |
1894 | (Fposn_at_x_y): Fix calculation of x coordinate. | |
1895 | (Fposn_at_point): Return nil if point is hscrolled out of view. | |
1896 | ||
6e5b2385 AS |
1897 | 2005-10-13 Andreas Schwab <schwab@suse.de> |
1898 | ||
1899 | * sysdep.c (request_sigio, unrequest_sigio): Do nothing in | |
1900 | non-interactive mode. | |
1901 | ||
6de0e1a2 YM |
1902 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1903 | ||
1904 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change. | |
1905 | ||
78f3b91f KS |
1906 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
1907 | ||
1908 | * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. | |
1909 | ||
b639c9be RF |
1910 | 2005-10-12 Romain Francoise <romain@orebokech.com> |
1911 | ||
1912 | * buffer.c (init_buffer): Rename `rc' to `len' for clarity. | |
1913 | ||
76d8f04c YM |
1914 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1915 | ||
1916 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to | |
1917 | get end of text rows. Obtain header-line/mode-line rows directly. | |
1918 | ||
96013ba9 SM |
1919 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): |
1920 | Restore help_echo_string if mouse is moved inside last_mouse_glyph. | |
621036f9 | 1921 | |
d76432f5 KS |
1922 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
1923 | ||
7a127784 KS |
1924 | * xdisp.c (remember_mouse_glyph): New generic version based on |
1925 | glyph_rect and remember_mouse_glyph from xterm.c enhanced to | |
1926 | properly handle all different window areas. | |
1927 | ||
1928 | * dispextern.h (remember_mouse_glyph): Add prototype. | |
1929 | ||
1930 | * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions. | |
1931 | (note_mouse_movement, XTmouse_position): Use generic | |
1932 | remember_mouse_glyph, add last_mouse_glyph arg. | |
1933 | ||
1934 | * w32term.c (note_mouse_movement): Fix last_mouse_glyph check. | |
1935 | (glyph_rect, remember_mouse_glyph): Remove w32 specific versions. | |
1936 | (note_mouse_movement, w32_mouse_position): Use generic | |
1937 | remember_mouse_glyph, add last_mouse_glyph arg. | |
1938 | ||
1939 | * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph. | |
1940 | (glyph_rect, remember_mouse_glyph): Remove mac specific versions. | |
1941 | (XTmouse_position): Adapt to use generic remember_mouse_glyph | |
1942 | instead of pixel_to_glyph_coords. | |
1943 | ||
d76432f5 KS |
1944 | * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN. |
1945 | Fix x position for ON_TEXT when left margin width > 0. | |
1946 | ||
55a4ac3e KS |
1947 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
1948 | ||
d76432f5 | 1949 | * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR. |
55a4ac3e KS |
1950 | |
1951 | * keyboard.c (make_lispy_position): Fix buffer calculations for | |
1952 | mouse click or movement in right fringe and the margins. | |
1953 | ||
2d4713aa JB |
1954 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
1955 | ||
1956 | * image.c (fn_jpeg_stdio_src): Don't define it. | |
1957 | (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'. | |
1958 | (our_common_init_source): Rename from `our_init_source'. | |
1959 | (our_common_term_source): Rename from `our_term_source'. | |
1960 | (our_memory_fill_input_buffer): Rename from | |
1961 | `our_fill_input_buffer'. | |
1962 | (our_memory_skip_input_data): Rename from `our_skip_input_data'. | |
1963 | (jpeg_memory_src): Use the new names. | |
1964 | (struct jpeg_stdio_mgr): New struct. | |
1965 | (JPEG_STDIO_BUFFER_SIZE): New constant. | |
1966 | (our_stdio_fill_input_buffer, our_stdio_skip_input_data) | |
1967 | (jpeg_file_src): New functions. | |
1968 | (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'. | |
1969 | ||
71b7a47f YM |
1970 | 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1971 | ||
1972 | * macterm.c (PER_CHAR_METRIC): Remove unused macro. | |
1973 | (fm_font_family_alist): New variable. | |
1974 | (syms_of_macterm): Initialize and staticpro it. | |
1975 | (decode_mac_font_name): Replace '-' in family name with '_' if it | |
1976 | occurs just once. Lower family name. | |
1977 | (parse_x_font_name): Rename from x_font_name_to_mac_font_name. | |
1978 | All uses changed. Remove argument MF and code conversion for it. | |
1979 | Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS | |
1980 | to CHARSET. Parse font size. Lower family name. Return integer | |
1981 | value for status of parsing. | |
1982 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | |
1983 | Don't use Fdowncase because family name is already lowered by | |
1984 | decode_mac_font_name. | |
96013ba9 SM |
1985 | (init_font_name_table): Always call decode_mac_font_name. |
1986 | Add pair of family name and its reference to fm_font_family_alist. | |
71b7a47f YM |
1987 | (mac_clear_font_name_table): Clear fm_font_family_alist. |
1988 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | |
1989 | Lookup fm_font_family_alist to get font family reference. | |
1990 | (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family | |
1991 | name is already lowered by parse_x_font_name. | |
1992 | ||
74051a92 KS |
1993 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
1994 | ||
31ab1f05 KS |
1995 | * xterm.c (glyph_rect): Return 0 if position is outside text area. |
1996 | ||
74051a92 KS |
1997 | * keyboard.c (make_lispy_position): Fix buffer position calculation for |
1998 | mouse click or movement in fringe. | |
1999 | ||
9b909870 JR |
2000 | 2005-10-10 Jason Rumney <jasonr@gnu.org> |
2001 | ||
2002 | * xterm.c (remember_mouse_glyph): New function. | |
58af5591 | 2003 | (note_mouse_movement): Use it to remember the current glyph if changed. |
9b909870 | 2004 | (XTmouse_position): Fix calculation of fake glyph under mouse. |
58af5591 | 2005 | Move code to calculate glyph under mouse into remember_mouse_glyph. |
9b909870 | 2006 | |
f9e36a6d JD |
2007 | 2005-10-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2008 | ||
58af5591 | 2009 | * emacs.c (USAGE3, standard_args): -nb => -nbi. |
f9e36a6d | 2010 | |
04bc7945 JB |
2011 | 2005-10-10 Juanma Barranquero <lekktu@gmail.com> |
2012 | ||
2013 | * frame.c (Fredirect_frame_focus): Fix typos in docstring. | |
2014 | (next_frame, prev_frame, set_term_frame_name): Make static. | |
2015 | ||
2016 | * window.c (Fwindow_tree): Fix spelling. | |
2017 | ||
41791a20 RF |
2018 | 2005-10-09 Romain Francoise <romain@orebokech.com> |
2019 | ||
2020 | * window.c (Fwindow_end): Don't try to redisplay if non-interactive. | |
2021 | ||
e313fc07 JD |
2022 | 2005-10-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2023 | ||
58af5591 KS |
2024 | * emacs.c (standard_args): Remove options -i, -itype, --icon-type. |
2025 | Add options -nb, --no-bitmap-icon. | |
e313fc07 JD |
2026 | |
2027 | * xfns.c (Fx_create_frame): Make bitmapIcon have default on. | |
2028 | ||
61e62f5f YM |
2029 | 2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2030 | ||
2031 | * macgui.h (MAX_CLIP_RECTS): New define. | |
2032 | (struct _XGC): New member clip_region. | |
2033 | (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and | |
2034 | clip_rects. | |
2035 | ||
2036 | * macterm.c (GC_CLIP_REGION): New macro. | |
2037 | (saved_port_clip_region): New variable. | |
2038 | (mac_begin_clip, mac_end_clip): New functions. | |
2039 | (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle) | |
2040 | (mac_draw_rectangle, mac_draw_string_common, mac_copy_area) | |
2041 | (mac_copy_area_with_mask, mac_scroll_area): Use them. | |
2042 | (mac_set_clip_rectangle, mac_reset_clipping): Remove functions. | |
2043 | [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
2044 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. | |
2045 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping | |
2046 | rectangles stored in gc. | |
71b7a47f | 2047 | (XFreeGC): Dispose of clipping region. |
61e62f5f YM |
2048 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. |
2049 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) | |
2050 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) | |
2051 | (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor) | |
2052 | (x_draw_bar_cursor): Use them. | |
2053 | (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to | |
2054 | get multiple clipping rectangles. | |
2055 | ||
2056 | * macterm.h (mac_term_init): Add types to extern. | |
2057 | (struct mac_output): Remove members mWP and pending_menu_activation. | |
f7270128 | 2058 | Put members scroll_bar_foreground_pixel and |
61e62f5f YM |
2059 | scroll_bar_background_pixel in #if 0. |
2060 | (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc. | |
2061 | ||
2062 | * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT. | |
2ef1363e | 2063 | Add debugging code. |
61e62f5f | 2064 | |
ef1b4c9e KS |
2065 | 2005-10-08 Kim F. Storm <storm@cua.dk> |
2066 | ||
2067 | * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04. | |
2068 | ||
f1010549 KS |
2069 | 2005-10-07 Kim F. Storm <storm@cua.dk> |
2070 | ||
2071 | * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows) | |
2072 | [!HAVE_WINDOW_SYSTEM]: Don't declare them... | |
2073 | (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. | |
2074 | ||
c2ded1b7 YM |
2075 | 2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2076 | ||
2077 | * dispextern.h (struct glyph_string): Rename member for_overlaps_p | |
2078 | to for_overlaps. Now occupy 3 bits. | |
2079 | (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH) | |
2080 | (OVERLAPS_ERASED_CURSOR): New defines. | |
2081 | (struct redisplay_interface): Add new OVERLAPS arg to member | |
2082 | fix_overlapping_area. | |
2083 | (x_fix_overlapping_area): Add new OVERLAPS arg. | |
2084 | (get_glyph_string_clip_rects): Add extern. | |
2085 | ||
96013ba9 SM |
2086 | * dispnew.c (redraw_overlapping_rows): |
2087 | Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. | |
c2ded1b7 YM |
2088 | |
2089 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to | |
2090 | for_overlaps. | |
2091 | (get_glyph_string_clip_rects): New function created from | |
f1010549 KS |
2092 | get_glyph_string_clip_rect. Set clipping rectangles according to the |
2093 | value of for_overlaps. Enable to store multiple clipping rectangles. | |
c2ded1b7 YM |
2094 | (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects. |
2095 | (fill_composite_glyph_string, fill_glyph_string, draw_glyphs): | |
2096 | Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed. | |
f7270128 | 2097 | (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs. |
c2ded1b7 | 2098 | (draw_phys_cursor_glyph): Set width of erased cursor to use it for |
f1010549 KS |
2099 | calculating clipping rectangles later. Call x_fix_overlapping_area |
2100 | with new OVERLAPS arg to draw only erased cursor area. | |
f7270128 | 2101 | (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg |
f1010549 | 2102 | to draw overlaps in both preceding and succeeding rows. |
c2ded1b7 YM |
2103 | |
2104 | * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in | |
2105 | struct glyph_string to for_overlaps. | |
2106 | ||
a19a0003 RS |
2107 | 2005-10-04 Richard M. Stallman <rms@gnu.org> |
2108 | ||
2109 | * alloc.c (refill_memory_reserve): Conditionalize the body, | |
2110 | not the function's existence. | |
2111 | ||
abc8ce50 KS |
2112 | 2005-10-04 Kim F. Storm <storm@cua.dk> |
2113 | ||
2114 | * window.c (window_split_tree): New function. | |
2115 | (Fwindow_split_tree): New defun. | |
2116 | (syms_of_window): Defsubr it. | |
2117 | ||
66533b25 YM |
2118 | 2005-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2119 | ||
2120 | * macterm.c (mac_invert_rectangle): New function. | |
2121 | (XTflash): Use it. | |
2122 | ||
4156359e SM |
2123 | 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> |
2124 | ||
4e2f601f SM |
2125 | * regex.h (re_char): Don't expose it in the interface. |
2126 | (re_set_whitespace_regexp): Adjust the arg's type to not use it. | |
2127 | ||
2128 | * regex.c (re_char): Move it back here. | |
2129 | (re_set_whitespace_regexp): Change the arg's type to not use it. | |
2130 | ||
4156359e SM |
2131 | * keyboard.c (make_lispy_event): If point has moved between down and up |
2132 | event, make it a drag, not a click, to mirror what | |
2133 | mouse-drag-region expects. | |
2134 | ||
eb27c2ca DN |
2135 | 2005-10-02 Dan Nicolaescu <dann@ics.uci.edu> |
2136 | ||
2137 | * lisp.h (fatal): Undo previous change. | |
2138 | * term.c (fatal): Undo previous change. | |
2139 | ||
b059f7d0 RS |
2140 | 2005-10-01 Richard M. Stallman <rms@gnu.org> |
2141 | ||
2142 | * xfaces.c (face_color_gray_p): Colors close to black count as gray. | |
2143 | ||
21a9a7be KS |
2144 | 2005-10-01 Kim F. Storm <storm@cua.dk> |
2145 | ||
2146 | * xdisp.c (try_window): Skip scroll-margin check if ZV is visible. | |
2147 | ||
ddcb7665 YM |
2148 | 2005-10-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2149 | ||
2150 | * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler. | |
2151 | ||
2152 | * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c. | |
2ef1363e | 2153 | (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code. |
4156359e SM |
2154 | (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]: |
2155 | Try ATSUI-compatible 12pt Monaco font first. | |
ddcb7665 YM |
2156 | |
2157 | * macgui.h (struct _XCharStruct): New member valid_p. | |
2158 | (STORE_XCHARSTRUCT): Set valid_p. | |
2159 | (struct MacFontStruct) [USE_ATSUI]: New member mac_style. | |
2160 | ||
2161 | * macterm.c (mac_draw_string_common, x_per_char_metric) | |
2162 | (mac_compute_glyph_string_overhangs, init_font_name_table) | |
2163 | (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support. | |
2164 | (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function. | |
2165 | (x_draw_glyph_string_background) | |
2166 | (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use | |
2167 | XDrawImageString. Always draw background and foreground separately. | |
2168 | (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit | |
2169 | functions for one-byte chars when using ATSUI-compatible fonts. | |
2170 | (atsu_font_id_hash) [USE_ATSUI]: New variable. | |
2171 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
2172 | (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and | |
2173 | max_char_or_byte2 more in detail. | |
2174 | (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions. | |
2175 | ||
fa8459a3 DN |
2176 | 2005-09-30 Dan Nicolaescu <dann@ics.uci.edu> |
2177 | ||
4156359e | 2178 | * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. |
fa8459a3 DN |
2179 | * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. |
2180 | ||
2181 | * unexelf.c (fatal): Fix prototype. | |
2182 | ||
2183 | * term.c (fatal): Implement using varargs. | |
2184 | ||
21a9a7be | 2185 | * regex.c (re_char): Move typedef ... |
fa8459a3 | 2186 | * regex.h (re_char): ... here. |
4156359e | 2187 | (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. |
fa8459a3 DN |
2188 | |
2189 | * emacs.c (malloc_set_state): Fix return type. | |
2190 | (endif): Fix type. | |
2191 | ||
2192 | * lisp.h (fatal): Add argument types. | |
2193 | ||
2194 | * dispextern.h (fatal): Delete prototype. | |
2195 | ||
9dd28cae | 2196 | * systime.h (make_time): Prototype moved from ... |
fa8459a3 DN |
2197 | * editfns.c (make_time): ... here. |
2198 | ||
2199 | * editfns.c: Move systime.h include after lisp.h. | |
21a9a7be KS |
2200 | * dired.c: |
2201 | * xsmfns.c: | |
fa8459a3 | 2202 | * process.c: Likewise. |
21a9a7be | 2203 | |
fa8459a3 DN |
2204 | * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): |
2205 | Add parameter types. | |
2206 | (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. | |
2207 | (emacs_blocked_free): Change definition to match __free_hook. | |
2208 | (emacs_blocked_malloc): Change definition to match __malloc_hook. | |
4156359e | 2209 | (emacs_blocked_realloc): Change definition to match __realloc_hook. |
fa8459a3 | 2210 | |
97c3e4cc RF |
2211 | 2005-09-30 Romain Francoise <romain@orebokech.com> |
2212 | ||
2213 | * minibuf.c (Fread_buffer): Follow convention for reading from the | |
2214 | minibuffer with a default value. Doc fix. | |
2215 | ||
8ad8c5ce JL |
2216 | 2005-09-29 Juri Linkov <juri@jurta.org> |
2217 | ||
2218 | * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box): | |
2219 | Rename argument name `string' to `format-string'. | |
2220 | (Fformat): Doc fix. | |
2221 | ||
64da5759 KS |
2222 | 2005-09-28 Kim F. Storm <storm@cua.dk> |
2223 | ||
2224 | * image.c (gif_load): Fix size of allocated image buffer | |
2225 | for images where a sub-image may be larger than the image's | |
2226 | total height/width specifications. | |
2227 | ||
eaf92438 YM |
2228 | 2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2229 | ||
2230 | * macgui.h (struct _XCharStruct): Each member now takes short value. | |
2231 | ||
43f15d4a DN |
2232 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
2233 | ||
2234 | * xfaces.c (lookup_derived_face): Add parameter type. | |
2235 | ||
2236 | * xdisp.c (cursor_row_fully_visible_p): Add parameter type. | |
2237 | ||
2238 | * marker.c (verify_bytepos): Add parameter type. | |
2239 | ||
2240 | * process.c (get_operating_system_release): Move prototype ... | |
2241 | ||
2242 | * systime.h (get_operating_system_release): ... here. | |
2243 | ||
04bc7945 JB |
2244 | * xterm.c (handle_one_xevent): Refer to union field to match the |
2245 | type required by the function definition. | |
2246 | (set_vertical_scroll_bar): Move prototype ... | |
43f15d4a DN |
2247 | |
2248 | * xterm.h: ... here. | |
2249 | ||
2250 | * fns.c (internal_equal, seed_random): Fix prototypes. | |
2251 | (internal_equal): Add missing parameter. | |
2252 | ||
c769dcac RS |
2253 | 2005-09-25 Richard M. Stallman <rms@gnu.org> |
2254 | ||
2255 | * keyboard.c (update_menu_bindings): Variable deleted. | |
2256 | (syms_of_keyboard): Don't defvar it. | |
2257 | (parse_menu_item): Don't test it. | |
2258 | ||
8dbf19c7 RS |
2259 | 2005-09-23 Richard M. Stallman <rms@gnu.org> |
2260 | ||
2261 | * editfns.c (Fformat): Explicitly test for end of format string | |
2262 | and don't use `index'. | |
2263 | ||
3480d92b DN |
2264 | 2005-09-23 Dan Nicolaescu <dann@ics.uci.edu> |
2265 | ||
4156359e SM |
2266 | * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): |
2267 | Define BROKEN_GET_CURRENT_DIR_NAME. | |
3480d92b DN |
2268 | |
2269 | * sysdep.c (get_current_dir_name): Also define if | |
64da5759 | 2270 | BROKEN_GET_CURRENT_DIR_NAME. |
3480d92b DN |
2271 | |
2272 | * m/ibmrs6000.h: Test for USG5, not USG5_4. | |
2273 | ||
5db60f31 KS |
2274 | 2005-09-22 Kim F. Storm <storm@cua.dk> |
2275 | ||
2276 | * xdisp.c (message_dolog): Add warning about GC and Lisp strings. | |
2277 | (message2): Fix commentary. Ok to use alloca'ed memory. | |
2278 | Still not ok to use Lisp string data (because of GC). | |
2279 | (set_message): Add comment why GC cannot happen. | |
2280 | ||
7c3d233d YM |
2281 | 2005-09-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2282 | ||
2283 | * macterm.c (xlfdpat_block_match_1): Fix assertion. | |
2284 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style | |
2285 | variants for a scalable font multiple times. | |
2286 | ||
acde1152 YM |
2287 | 2005-09-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2288 | ||
2289 | * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]: | |
2290 | Setup slave tty options before forking. | |
2291 | ||
52d166e0 JD |
2292 | 2005-09-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2293 | ||
2294 | * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program | |
2295 | positions have been set for the frame (as is done for frames in | |
2296 | special-display-buffer-names). | |
2297 | ||
12d10bc7 KS |
2298 | 2005-09-19 Kim F. Storm <storm@cua.dk> |
2299 | ||
2300 | * editfns.c (Fformat): Don't scan past end of format string that | |
2301 | ends in %. Reported by: Johan Bockg\e,Ae\e(Brd. | |
2302 | ||
9f1cf0e3 AS |
2303 | 2005-09-18 Andreas Schwab <schwab@suse.de> |
2304 | ||
2305 | * window.h (struct window): Remove height_fixed_p, no longer set. | |
2306 | ||
2307 | * window.c (make_window): Don't initialize height_fixed_p. | |
2308 | (window_fixed_size_p): Don't use it. | |
2309 | ||
8a658a52 JPW |
2310 | 2005-09-18 John Paul Wallington <jpw@pobox.com> |
2311 | ||
2312 | * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol. | |
2313 | ||
be9bb408 YM |
2314 | 2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2315 | ||
2316 | * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change. | |
2317 | ||
2318 | * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: | |
2319 | New variables. | |
2320 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple | |
2321 | file selection. | |
2322 | ||
2323 | * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. | |
2324 | ||
cbf223e1 EZ |
2325 | 2005-09-17 Eli Zaretskii <eliz@gnu.org> |
2326 | ||
2327 | * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable. | |
2328 | (obj): Use XMENU_OBJ, not a literal xmenu.o. | |
2329 | ||
e3f509dd RF |
2330 | 2005-09-16 Romain Francoise <romain@orebokech.com> |
2331 | ||
8ccd3630 | 2332 | * fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix. |
e3f509dd | 2333 | |
5c4757d3 RS |
2334 | 2005-09-15 Richard M. Stallman <rms@gnu.org> |
2335 | ||
2336 | * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. | |
2337 | (display_mode_element): Instead of `lisp_string' and `this', | |
2338 | record `offset' and increment that. | |
2339 | `last_offset' replaces `last'. | |
2340 | ||
2341 | * Makefile.in (XMENU_OBJ): Variable deleted. | |
2342 | (obj): Use xmenu.o unconditionally. | |
2343 | (SOME_MACHINE_OBJECTS): Delete xmenu.o. | |
2344 | ||
2345 | * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU. | |
2346 | ||
01978521 KS |
2347 | 2005-09-15 Kim F. Storm <storm@cua.dk> |
2348 | ||
2349 | * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1. | |
2350 | (reseat_at_next_visible_line_start): Likewise (in xassert). | |
2351 | ||
ccf61795 RF |
2352 | 2005-09-14 Romain Francoise <romain@orebokech.com> |
2353 | ||
2354 | * fileio.c (write_region_inhibit_fsync): New variable. | |
2355 | (Fwrite_region): Use it to skip call to fsync. | |
2356 | (syms_of_fileio): Initialize it. | |
2357 | ||
2b046a72 KH |
2358 | 2005-09-14 Kenichi Handa <handa@m17n.org> |
2359 | ||
24a2b282 KH |
2360 | * coding.c (code_convert_region_unwind): Argument format changed. |
2361 | (run_pre_post_conversion_on_str): If pre-write-conversion function | |
2362 | changed the current buffer, delete the new buffer. | |
2363 | (run_pre_write_conversin_on_c_str): Likewise. | |
2364 | ||
2b046a72 KH |
2365 | * fileio.c (Fexpand_file_name): Check multibyteness of |
2366 | default_directory. | |
2367 | ||
d008f7b7 KH |
2368 | 2005-09-13 Kenichi Handa <handa@m17n.org> |
2369 | ||
2370 | * composite.c (compose_chars_in_text): Delete it. | |
2371 | ||
2372 | * composite.h (compose_chars_in_text): Delete extern. | |
2373 | ||
2ada8ac5 KS |
2374 | 2005-09-13 Kim F. Storm <storm@cua.dk> |
2375 | ||
2376 | * print.c (print_error_message): Fix last change. | |
2377 | ||
48c60938 KS |
2378 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
2379 | ||
0fdbe302 KS |
2380 | * composite.c (compose_chars_in_text): Fix setup of `pend'. |
2381 | Unconditionally reload `ptr' and `pend' after eval. | |
2382 | ||
48c60938 KS |
2383 | * xdisp.c (message3): Pass copy of lisp string to message_dolog. |
2384 | ||
2385 | * print.c (print_error_message): Pass copy of caller name to | |
2386 | message_dolog. | |
2387 | ||
2388 | * fileio.c (auto_save_error): Pass copy of lisp string to message2. | |
2389 | ||
5add1986 KH |
2390 | 2005-09-12 Kenichi Handa <handa@m17n.org> |
2391 | ||
2392 | * xdisp.c (display_mode_element): Be sure to make variables THIS | |
2393 | and LISP_STRING point into a string data of ELT. | |
2394 | ||
18bb66c7 KS |
2395 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
2396 | ||
2397 | * editfns.c (Ftranslate_region_internal): Reload `tt' after | |
2398 | signal_after_change that may have GC'ed. | |
2399 | (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix. | |
2400 | ||
2401 | * keymap.c (Fdescribe_buffer_bindings): Reload `translate' | |
2402 | after insert while runs signal_after_change. | |
2403 | ||
2404 | * minibuf.c (Fminibuffer_complete_word): Move `completion_string' | |
2405 | declaration to where it is used. | |
2406 | ||
2407 | * w32.c (check_windows_init_file): Fix allocation of error buffer. | |
2408 | ||
2409 | * xfns.c (x_encode_text): Declare static. Add FREEP arg. | |
2410 | (x_set_name_internal): Call x_encode_text with new FREEP arg to | |
2411 | know if xfree is needed instead of guessing. | |
2412 | ||
2413 | * xterm.h (x_encode_text): Remove prototype. | |
2414 | ||
945a75f8 JR |
2415 | 2005-09-11 Chris Prince <cprince@gmail.com> (tiny change) |
2416 | ||
2417 | * w32term.c (x_bitmap_icon): Load small icons too. | |
2418 | ||
156bdb41 RF |
2419 | 2005-09-10 Romain Francoise <romain@orebokech.com> |
2420 | ||
2421 | * buffer.c (init_buffer): Grow buffer to add directory separator | |
f9962371 | 2422 | and terminal zero. Fix typos. |
156bdb41 | 2423 | |
67b8391b EZ |
2424 | 2005-09-10 Eli Zaretskii <eliz@gnu.org> |
2425 | ||
a17b5ed1 EZ |
2426 | * buffer.c (init_buffer): Fix error message for failed call to |
2427 | get_current_dir_name. | |
2428 | (get_current_dir_name): Remove prototype. | |
2429 | ||
9dd28cae | 2430 | * xsmfns.c (get_current_dir_name): Remove prototype. |
a17b5ed1 | 2431 | |
9dd28cae | 2432 | * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
96013ba9 | 2433 | Add prototype. |
a17b5ed1 | 2434 | |
ed326e35 | 2435 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. |
b04a3120 | 2436 | Don't #undef NULL after including blockinput.h. |
ed326e35 | 2437 | |
67b8391b EZ |
2438 | * config.in: Regenerated. |
2439 | ||
c187839d EZ |
2440 | 2005-09-10 Giuseppe Scrivano <gscrivano@gmail.com> |
2441 | ||
2442 | Remove the MAXPATHLEN limitations: | |
2443 | ||
1486d036 EZ |
2444 | * sysdep.c (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
2445 | New function. | |
c187839d EZ |
2446 | |
2447 | * buffer.c (init_buffer): Use it. | |
2448 | ||
2449 | * xsmfns.c (smc_save_yourself_CB): Ditto. | |
2450 | ||
ae8a5689 KS |
2451 | 2005-09-09 Kim F. Storm <storm@cua.dk> |
2452 | ||
39cac6b3 KS |
2453 | * doc.c (Fsubstitute_command_keys): Lookup key binding for |
2454 | commands that are remapped from some other command. | |
2455 | ||
aeb55c44 KS |
2456 | * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p |
2457 | flag in disabled rows below the window. | |
2458 | ||
ae8a5689 KS |
2459 | * frame.h (struct frame): New member updated_p. |
2460 | ||
2461 | * xdisp.c (redisplay_internal): Mark updated frames in new updated_p | |
2462 | member. Remove local `updated' array and associated variables. | |
2463 | ||
821f6dae KS |
2464 | 2005-09-07 Kim F. Storm <storm@cua.dk> |
2465 | ||
6e5395f2 KS |
2466 | * xdisp.c (handle_display_prop): Respect overlay window property. |
2467 | ||
821f6dae KS |
2468 | * xdisp.c (try_window): Remove superfluous cursor_height calculation. |
2469 | Fixes crash reported by YAMAMOTO Mitsuharu. | |
2470 | ||
9655b404 YM |
2471 | 2005-09-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2472 | ||
2473 | * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs. | |
2474 | (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p) | |
2475 | (xlfdpat_block_match_1, xlfdpat_match): New functions. | |
2476 | (xlfdpat_block_match): New macro. | |
2477 | (mac_to_x_fontname): Don't use tolower for non-ASCII characters. | |
2478 | (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0. | |
2479 | (add_font_name_table_entry): Increase font_name_table_size more | |
2480 | rapidly. | |
2481 | (mac_c_string_match): Remove function. | |
2482 | (mac_do_list_fonts): Use XLFD pattern match instead of regular | |
2483 | expression match. | |
2484 | ||
2485 | * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters. | |
2486 | ||
d7ea8b71 RS |
2487 | 2005-09-03 Richard M. Stallman <rms@gnu.org> |
2488 | ||
2489 | * xdisp.c (redisplay_internal): Make UPDATED as long as needed. | |
2490 | (move_it_in_display_line_to): Stop after last char on line even | |
2491 | on a windowing terminal, if that's the specified stop position. | |
2492 | ||
2493 | * fns.c (Fsort): Doc fix. | |
2494 | ||
2495 | * editfns.c (Fpropertize): Don't insist that properties be symbols. | |
2496 | ||
1550ae60 SM |
2497 | 2005-09-02 Stefan Monnier <monnier@iro.umontreal.ca> |
2498 | ||
2499 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
2500 | (file_name_completion): Use a Save_Value object rather than a cons of | |
2501 | two 16bit ints to store the DIR*. | |
2502 | (directory_files_internal, file_name_completion): Handle both EINTR and | |
2503 | EAGAIN consistently after `readdir'. | |
2504 | ||
bdb4d6d8 SM |
2505 | 2005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> |
2506 | ||
1550ae60 SM |
2507 | * intervals.c (update_interval): Add position info in error. |
2508 | ||
bdb4d6d8 SM |
2509 | * dispnew.c (window_to_frame_hpos, update_window): |
2510 | Avoid gcc warning about unused variable `f'. | |
2511 | ||
6bcc3ca4 JR |
2512 | 2005-08-31 Jason Rumney <jasonr@gnu.org> |
2513 | ||
2514 | * w32menu.c (add_menu_item): If unicode_append_menu returns an | |
2515 | error, revert to using AppendMenu. | |
2516 | ||
07c5948c YM |
2517 | 2005-08-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2518 | ||
bdb4d6d8 SM |
2519 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. |
2520 | All uses changed. | |
07c5948c YM |
2521 | [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common |
2522 | cases. | |
2523 | (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. | |
bdb4d6d8 SM |
2524 | [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. |
2525 | Use posix_pathname_to_fsspec. | |
07c5948c YM |
2526 | [MAC_OS] (xpm_load_image): Fill in background_transparent field |
2527 | while we have mask. | |
2528 | ||
2529 | * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. | |
2530 | ||
2531 | * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. | |
2532 | ||
5a774522 SM |
2533 | 2005-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
2534 | ||
2535 | * syntax.c (update_syntax_table): Properly reproduce the special +1 | |
2536 | setting of e_property at the end of the buffer when bumping into the | |
2537 | INTERVALS_AT_ONCE limit. | |
2538 | ||
0fb57cc0 EZ |
2539 | 2005-08-27 Eli Zaretskii <eliz@gnu.org> |
2540 | ||
2541 | * emacs.c (USAGE1): Fix the description of the -Q option. | |
2542 | ||
5a774522 SM |
2543 | 2005-08-26 Stefan Monnier <monnier@iro.umontreal.ca> |
2544 | ||
2545 | * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). | |
2546 | ||
4e6b8c5a KS |
2547 | 2005-08-26 Kim F. Storm <storm@cua.dk> |
2548 | ||
2549 | * xdisp.c (resize_mini_window): Fix 2005-08-20 change. | |
2550 | Don't move PT to new window start. | |
2551 | ||
1f98fbb4 YM |
2552 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2553 | ||
2554 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | |
2555 | ICONIFY/DEICONIFY_EVENT. | |
2556 | ||
5a774522 SM |
2557 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): |
2558 | Restore background color. | |
1f98fbb4 YM |
2559 | (mac_handle_visibility_change): New function. |
2560 | (x_make_frame_invisible, x_iconify_frame) | |
2561 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | |
2562 | [USE_CARBON_EVENTS] (mac_handle_window_event) | |
07c5948c | 2563 | (install_window_handler): Handle visibility change events. |
1f98fbb4 YM |
2564 | (x_make_frame_visible): Don't reposition window if it is iconified |
2565 | or asked for visible before. Select and uncollapse window when it | |
2566 | is made visible. | |
2567 | (x_make_frame_invisible): Don't reset x_highlight_frame. | |
2568 | (x_iconify_frame): Likewise. Make invisible frame visible before | |
2569 | it is iconified. | |
2570 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | |
2571 | (do_window_update): Don't change visibility of invisible frame. | |
2572 | ||
16691d29 JL |
2573 | 2005-08-22 Juri Linkov <juri@jurta.org> |
2574 | ||
2575 | * term.c (turn_on_face): Check for TS_set_foreground and | |
2576 | TS_set_background depending on standout_mode. Simplify. | |
2577 | ||
7c3f805b KS |
2578 | 2005-08-21 Kim F. Storm <storm@cua.dk> |
2579 | ||
0f467468 KS |
2580 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM |
2581 | bitmaps on fully visible rows. | |
2582 | ||
7c3f805b KS |
2583 | * fringe.c (update_window_fringes): Replace FORCE_P arg with |
2584 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | |
2585 | and return 0. | |
2586 | ||
2587 | * xdisp.c (redisplay_window): Call update_window_fringes with | |
2588 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | |
2589 | ||
40b388f9 RS |
2590 | 2005-08-20 Richard M. Stallman <rms@gnu.org> |
2591 | ||
2592 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | |
2593 | (resize_mini_window): Set w->start, and PT, so as to display the tail | |
2594 | end of the buffer, if it doesn't all fit. | |
2595 | ||
581360f0 KS |
2596 | 2005-08-18 Kim F. Storm <storm@cua.dk> |
2597 | ||
2598 | * xdisp.c (calc_pixel_width_or_height): Use actual display | |
2599 | resolution when available instead of Vdisplay_pixels_per_inch. | |
2600 | ||
0eefa6fb KS |
2601 | 2005-08-17 Kim F. Storm <storm@cua.dk> |
2602 | ||
2603 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | |
2604 | ||
2605 | * dispnew.c (buffer_posn_from_coords): Check that target row is | |
2606 | within matrix. | |
2607 | ||
ada192ba JD |
2608 | 2005-08-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2609 | ||
2610 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | |
2611 | xg_set_frame_icon and call it. | |
2612 | ||
2613 | * gtkutil.c (xg_set_frame_icon): New function. | |
2614 | ||
0eefa6fb | 2615 | * gtkutil.h (xg_set_frame_icon): Declare it. |
ada192ba | 2616 | |
ab89a403 KS |
2617 | 2005-08-16 Kim F. Storm <storm@cua.dk> |
2618 | ||
2619 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | |
2620 | ||
2621 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | |
2622 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | |
2623 | ||
8d34b5e1 RS |
2624 | 2005-08-15 Richard M. Stallman <rms@gnu.org> |
2625 | ||
2626 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | |
2627 | ||
71e37f3c KS |
2628 | 2005-08-15 Kim F. Storm <storm@cua.dk> |
2629 | ||
0781c303 KS |
2630 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. |
2631 | ||
71e37f3c KS |
2632 | * process.c (deactivate_process, status_notify, read_process_output) |
2633 | (update_status, status_convert, decode_status, allocate_pty) | |
2634 | (make_process, remove_process, list_processes_1) | |
2635 | (create_process_1, unwind_request_sigio, read_process_output) | |
2636 | (send_process, keyboard_bit_set): Declare static. | |
2637 | (Fdelete_process): Simplify. Pass process to status_notify, so we | |
2638 | don't try to read output from it. | |
2639 | (status_notify): New arg deleting_process--don't try to read | |
2640 | output from that process. | |
2641 | ||
2642 | * lisp.h (deactivate_process, status_notify, read_process_output): | |
2643 | Remove prototypes. | |
2644 | ||
0bf14bfd RS |
2645 | 2005-08-14 Richard M. Stallman <rms@gnu.org> |
2646 | ||
bdb4d6d8 SM |
2647 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling |
2648 | define_image_type. | |
0bf14bfd | 2649 | |
6c7eb721 JD |
2650 | 2005-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2651 | ||
2652 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | |
2653 | (xg_get_image_for_pixmap): Move some code to | |
2654 | xg_get_pixbuf_from_pix_and_mask, and call it. | |
2655 | ||
2656 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | |
2657 | ||
2658 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | |
2659 | to get an GTK icon and set it with GTK functions to avoid having GTK | |
2660 | override an icon set with just X functions. | |
2661 | ||
6e2d14c8 RS |
2662 | 2005-08-11 Richard M. Stallman <rms@gnu.org> |
2663 | ||
bdb4d6d8 SM |
2664 | * image.c (syms_of_image): Init image_types here, and call |
2665 | define_image_type. | |
6e2d14c8 RS |
2666 | (init_image): Not here. |
2667 | ||
61298e17 RS |
2668 | 2005-08-09 Richard M. Stallman <rms@gnu.org> |
2669 | ||
2670 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | |
2671 | ||
2672 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | |
2673 | ||
5a9807a8 TTN |
2674 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> |
2675 | ||
2676 | * floatfns.c (Fexpt): Use floats for negative exponent. | |
2677 | ||
93469010 JD |
2678 | 2005-08-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2679 | ||
2680 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | |
2681 | should not be there, causing menu display errors with GTK 2.6.9. | |
2682 | ||
44edd521 RS |
2683 | 2005-08-07 Richard M. Stallman <rms@gnu.org> |
2684 | ||
8b6a9551 RS |
2685 | * floatfns.c (Fexpt): Undo previous change. |
2686 | ||
44edd521 RS |
2687 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg |
2688 | so it can be used with various state vectors. | |
2689 | ||
2690 | * emacs.c (endif): Convert -script into -scriptload. | |
2691 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | |
2692 | ||
2693 | * fns.c (syms_of_fns): Add `emacs' to features. | |
2694 | ||
2695 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | |
2696 | output newlines to scroll the old screen contents off the screen. | |
2697 | ||
cac87e30 TTN |
2698 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> |
2699 | ||
2a205424 TTN |
2700 | * floatfns.c (Fexpt): Use floats for negative exponent. |
2701 | Reported by D Goel. | |
cac87e30 | 2702 | |
31b7cc74 JB |
2703 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
2704 | ||
2705 | * frame.c (Fframe_char_width): Doc fix. | |
2706 | ||
e2b64074 JB |
2707 | 2005-07-30 Juanma Barranquero <lekktu@gmail.com> |
2708 | ||
2709 | * xdisp.c (syms_of_xdisp) <redisplay-end-trigger-functions>: | |
2710 | Defvar it. | |
2711 | ||
0962822d JB |
2712 | 2005-07-28 Juanma Barranquero <lekktu@gmail.com> |
2713 | ||
2714 | * w32fns.c (my_set_window_pos, my_show_window): Don't declare. | |
2715 | (my_create_window, my_create_tip_window): Make static. | |
2716 | ||
2717 | * w32term.c (my_show_window, my_set_window_pos, my_set_focus) | |
2718 | (my_set_foreground_window, my_destroy_window): Make static. | |
2719 | ||
9eff9fe3 PE |
2720 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
2721 | ||
2722 | Merge gnulib getopt implementation into Emacs. | |
2723 | ||
2724 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | |
2725 | now part of lib-src. | |
2726 | ||
1c9916a1 SM |
2727 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
2728 | ||
2729 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | |
2730 | ||
94c7f257 JR |
2731 | 2005-07-25 Jason Rumney <jasonr@gnu.org> |
2732 | ||
2733 | * w32menu.c (w32_menu_display_help): Suppress tooltip when | |
2734 | navigating menus with the keyboard. | |
2735 | ||
bf0bf758 RS |
2736 | 2005-07-23 Richard M. Stallman <rms@gnu.org> |
2737 | ||
2738 | * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. | |
2739 | ||
2740 | * bytecode.c (MAYBE_GC): Test gc_cons_threshold and | |
2741 | gc_relative_threshold, one by one. | |
2742 | ||
2743 | * keyboard.c (read_char): Test gc_cons_threshold. | |
2744 | (syms_of_keyboard): staticpro Qecho_area_clear_hook. | |
2745 | ||
2746 | * eval.c (Feval, Ffuncall): Test gc_cons_threshold and | |
2747 | gc_relative_threshold, one by one. | |
2748 | ||
2749 | * alloc.c (gc_cons_threshold): Not static. | |
2750 | (gc_cons_combined_threshold): Var deleted. | |
2751 | (gc_relative_threshold): New variable. | |
2752 | (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold | |
2753 | instead of gc_cons_combined_threshold. | |
2754 | ||
1c9916a1 | 2755 | * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. |
bf0bf758 RS |
2756 | (gc_cons_combined_threshold): Declaration deleted. |
2757 | ||
99f963e4 YM |
2758 | 2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2759 | ||
2760 | * mac.c: Don't include stdlib.h or string.h. | |
2761 | (Fdo_applescript, Fmac_file_name_to_posix) | |
2762 | (Fmac_file_name_to_posix): Doc fixes. | |
2763 | [TARGET_API_MAC_CARBON] (Fmac_get_preference) | |
2764 | (Fmac_code_convert_string): Likewise. | |
2765 | [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode | |
2766 | if the executable is not contained in a bundle. | |
2767 | ||
2768 | * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. | |
2769 | (gray_width, gray_height): Remove defines. | |
2770 | (gray_bits, gray_bitmap_width, gray_bitmap_height) | |
2771 | (gray_bitmap_bits): Remove variables. | |
2772 | (lispy_function_keys): Remove extern. | |
2773 | (free_frame_menubar): Add extern. | |
2774 | (x_window_to_frame): Remove function. | |
2775 | (unwind_create_tip_frame): Add declaration. | |
2776 | (x_set_name_internal): New function. | |
2777 | (x_set_name, x_set_title): Use it. | |
2778 | (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) | |
2779 | (Fx_display_pixel_height, Fx_display_planes) | |
2780 | (Fx_display_color_cells, Fx_server_max_request_size) | |
2781 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
2782 | (Fx_display_mm_height, Fx_display_mm_width) | |
2783 | (Fx_display_backing_store, Fx_display_visual_class) | |
2784 | (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. | |
2785 | ||
2786 | * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
2787 | ||
bdb4d6d8 | 2788 | * macselect.c (Fx_own_selection_internal): Follow error conventions. |
99f963e4 YM |
2789 | (Fx_get_selection_internal, Fx_selection_owner_p) |
2790 | (Fx_selection_exists_p): Doc fixes. | |
2791 | (syms_of_macselect) <selection-converter-alist>: Likewise. | |
2792 | ||
1d256714 JB |
2793 | 2005-07-21 Juanma Barranquero <lekktu@gmail.com> |
2794 | ||
2795 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
2796 | ||
2797 | * ccl.c (Fregister_ccl_program): Fix typos in docstring. | |
2798 | (Fccl_execute_on_string): Likewise; add usage info. | |
2799 | ||
2800 | * composite.c (Fcompose_region_internal) | |
2801 | (Fcompose_string_internal): | |
2802 | Improve argument/docstring consistency. | |
2803 | ||
2804 | * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): | |
2805 | Fix typos in docstrings. | |
2806 | ||
2807 | * textprop.c (Fnext_char_property_change) | |
2808 | (Fprevious_char_property_change): Doc fixes. | |
2809 | ||
2810 | * window.c (Fset_window_margins, Fset_window_fringes): | |
2811 | Improve argument/docstring consistency. | |
2812 | ||
2813 | * xfaces.c (Finternal_lisp_face_p): Doc fix. | |
2814 | ||
538f78c3 AS |
2815 | 2005-07-21 Andreas Schwab <schwab@suse.de> |
2816 | ||
2817 | * eval.c (restore_stack_limits): Return a value. | |
2818 | ||
a5b5bf44 JB |
2819 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> |
2820 | ||
2821 | * eval.c (Fdefvar): Doc fix. | |
2822 | ||
ae643123 KS |
2823 | 2005-07-20 Kim F. Storm <storm@cua.dk> |
2824 | ||
0ed4bf15 KS |
2825 | * fileio.c (Fdo_auto_save, do_auto_save_unwind): |
2826 | Use make_save_value to unwind protect stream. | |
2827 | ||
2828 | * lread.c (Fload, load_unwind): | |
2829 | Use make_save_value to unwind protect stream. | |
ae643123 | 2830 | |
82fc29a1 JB |
2831 | 2005-07-19 Juanma Barranquero <lekktu@gmail.com> |
2832 | ||
2833 | * eval.c (Fprog2, Fcalled_interactively_p), | |
2834 | (syms_of_eval) <debug-on-quit>: Doc fixes. | |
2835 | (syms_of_eval) <max-specpdl-size>: | |
2836 | (Finteractive_p): Fix typos in docstrings. | |
2837 | ||
73b90087 KS |
2838 | 2005-07-19 Kim F. Storm <storm@cua.dk> |
2839 | ||
2840 | * w32fns.c (Vx_hand_shape): Variable removed. | |
2841 | (syms_of_w32fns): Intern and staticpro Qw32_charset_default. | |
2842 | ||
dfc434d0 KH |
2843 | 2005-07-19 Kenichi Handa <handa@m17n.org> |
2844 | ||
bdb4d6d8 | 2845 | * fns.c (Fstring_as_multibyte): Escape backslashes in the docstring. |
dfc434d0 | 2846 | |
bcd98331 SM |
2847 | 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
2848 | ||
2849 | * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). | |
2850 | ||
2a85a754 KS |
2851 | 2005-07-18 Kim F. Storm <storm@cua.dk> |
2852 | ||
2853 | * frame.h (struct frame): New member already_hscrolled_p. | |
2854 | ||
2855 | * xdisp.c (redisplay_internal): Only try to hscroll each frame once | |
2856 | to avoid redisplay looping hscrolling back and forth ad infinitum. | |
2857 | ||
426179e1 JL |
2858 | 2005-07-18 Juri Linkov <juri@jurta.org> |
2859 | ||
2860 | * buffer.c (scroll-up-aggressively, scroll-down-aggressively): | |
2861 | * keymap.c (Fminor_mode_key_binding): | |
2862 | * macterm.c (mac-emulate-three-button-mouse): | |
2863 | Delete duplicate duplicate words. | |
2864 | ||
9f4a578d KR |
2865 | 2005-07-18 Ken Raeburn <raeburn@gnu.org> |
2866 | ||
2867 | * minibuf.c (Ftest_completion): Fix odd syntax in test. | |
2868 | ||
d005338b YM |
2869 | 2005-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2870 | ||
bcd98331 | 2871 | * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. |
d005338b YM |
2872 | |
2873 | * macgui.h (struct _XGC): New struct. | |
2874 | (GC): Use it. | |
2875 | (GCForeground, GCBackground, GCFont): Use X11 mask values. | |
2876 | (XCreateGC, XParseGeometry): Move externs to macterm.h. | |
2877 | ||
bcd98331 | 2878 | * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. |
d005338b | 2879 | (XSetFont): Add declaration. |
bcd98331 SM |
2880 | (mac_set_forecolor, mac_set_backcolor, mac_set_colors): |
2881 | Remove functions. | |
2882 | (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): | |
2883 | New defines. | |
d005338b YM |
2884 | (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) |
2885 | (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) | |
bcd98331 SM |
2886 | (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): |
2887 | Use them. | |
d005338b YM |
2888 | (mac_erase_rectangle): New function. |
2889 | (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) | |
2890 | (x_draw_stretch_glyph_string): Use it. | |
2891 | (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) | |
2892 | (XSetBackground, XSetFont): Adjust for new GC implementation. | |
2893 | (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. | |
2894 | (XTset_vertical_scroll_bar): Clear area under scroll bar. | |
2895 | ||
2896 | * macterm.h (struct mac_display_info): Change types of | |
2897 | scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. | |
2898 | (XCreateGC, XParseGeometry): Move externs from macgui.h. | |
2899 | ||
2900 | * xfaces.c [MAC_OS] (XCreateGC): Remove extern. | |
2901 | ||
9b0c2c56 RS |
2902 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
2903 | ||
2904 | * buffer.c (Fmake_overlay): Doc fix. | |
2905 | ||
2e9c1c6d EZ |
2906 | 2005-07-16 Eli Zaretskii <eliz@gnu.org> |
2907 | ||
2908 | * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, | |
2909 | Vw32_valid_locale_ids, and Vw32_valid_codepages. | |
2910 | ||
407289a4 YM |
2911 | 2005-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2912 | ||
bcd98331 SM |
2913 | * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): |
2914 | Use Fstring_as_unibyte instead of string_make_unibyte. | |
407289a4 | 2915 | |
e4b477a1 RS |
2916 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
2917 | ||
2918 | * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. | |
2919 | ||
a8613adf KS |
2920 | 2005-07-15 Kim F. Storm <storm@cua.dk> |
2921 | ||
2922 | * xdisp.c: Fix redisplay loop in last change. | |
2923 | (IT_POS_VALID_AFTER_MOVE_P): New macro. | |
2924 | (move_it_vertically_backward, move_it_by_lines): Use it. | |
2925 | ||
2d5324c5 JR |
2926 | 2005-07-14 Jason Rumney <jasonr@gnu.org> |
2927 | ||
2928 | * w32.c (init_environment): Default HOME directory to user's | |
2929 | appdata directory if possible. | |
2930 | ||
3ed70dc4 KS |
2931 | 2005-07-14 Kim F. Storm <storm@cua.dk> |
2932 | ||
7b9389b0 KS |
2933 | * .gdbinit (pitx): Fix output format. Print string charpos. |
2934 | ||
3ed70dc4 KS |
2935 | * lread.c (syms_of_lread): Initialize seen_list. |
2936 | ||
2937 | * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. | |
2938 | ||
2939 | * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. | |
2940 | Staticpro re_match_object. | |
2941 | ||
ef029e5a YM |
2942 | 2005-07-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2943 | ||
2944 | * macselect.c (get_scrap_target_type_list): Avoid NULL pointer | |
2945 | dereference. | |
2946 | ||
2947 | * macterm.c (mac_window_to_frame): Remove duplicate define. | |
2948 | ||
16ef9c56 KH |
2949 | 2005-07-14 Kenichi Handa <handa@m17n.org> |
2950 | ||
2951 | * coding.c (code_convert_region_unwind): ARG is changed to a cons. | |
bcd98331 | 2952 | (code_convert_region): Adjust for the above change. |
16ef9c56 KH |
2953 | (set_conversion_work_buffer): If the work buffer is already in |
2954 | use, generate a new buffer and return it. Otherwise return Qnil. | |
bcd98331 | 2955 | (run_pre_post_conversion_on_str): Adjust for the above change. |
16ef9c56 KH |
2956 | (run_pre_write_conversin_on_c_str): Likewise. |
2957 | ||
098e1273 KS |
2958 | 2005-07-13 Kim F. Storm <storm@cua.dk> |
2959 | ||
010b9a45 KS |
2960 | * xdisp.c (start_display): Don't reseat to next visible line start |
2961 | if current start position is in a string or image. | |
2962 | (move_it_vertically_backward): Be sure to move out of strings and | |
2963 | images when moving it2 forward. | |
2964 | (move_it_by_lines): When moving forward, move to next buffer | |
2965 | position if we end up in a string or image. When moving backward, | |
2966 | count rows moved over when moving to start of current row in case | |
2967 | row starts in middle of a string or image. Also move further | |
2968 | backward if we end up in a string or image. | |
bcd98331 | 2969 | (try_cursor_movement): If overlay string spans multiple lines, |
010b9a45 KS |
2970 | move backward to set cursor on start of an overlay string. |
2971 | (cursor_row_p): Row is ok if cursor is at newline from string, but | |
2972 | string starts on this line (so we always position cursor at start | |
2973 | of string). | |
2974 | ||
2975 | * indent.c (Fvertical_motion): If start position is on an image, | |
2976 | don't move back if we move too far (that's almost certain to happen). | |
2977 | ||
098e1273 KS |
2978 | * xdisp.c (cursor_row_fully_visible_p): Allow partially visible |
2979 | row in minibuffer windows. | |
2980 | (try_window): Don't check margins in minibuffer windows. | |
2981 | ||
c229fb15 YM |
2982 | 2005-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2983 | ||
2984 | * macterm.c: Don't include stdlib.h or composite.h. | |
2985 | (x_use_underline_position_properties, last_mouse_press_frame) | |
2986 | (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. | |
2987 | (syms_of_macterm, mac_initialize): Don't initialize them. | |
2988 | (waiting_for_input, initial_argv, initial_argc) | |
2989 | (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) | |
2990 | (set_frame_menubar, path_from_vol_dir_name): Remove externs. | |
2991 | (extra_keyboard_modifiers): Fix type in extern. | |
2992 | (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. | |
2993 | (x_scroll_bar_report_motion): Add argument types to declaration. | |
2994 | (mac_compute_glyph_string_overhangs): Add declaration. | |
2995 | (disable_mouse_highlight): Remove unused variable. | |
2996 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) | |
2997 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
bcd98331 SM |
2998 | (x_scroll_bar_handle_drag): Remove argument `timestamp'. |
2999 | All callers changed. | |
c229fb15 YM |
3000 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set |
3001 | timestamp. | |
3002 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. | |
3003 | (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar | |
3004 | only when its width is less than the height. | |
3005 | (XTredeem_scroll_bar): Sync with xterm.c. | |
bcd98331 SM |
3006 | (font_name_table, font_name_table_size, font_name_count): |
3007 | Make static. | |
c229fb15 YM |
3008 | (drag_and_drop_file_list): Remove variable. Previous use is now |
3009 | local to function. | |
3010 | (do_ae_open_documents): Move DRAG_N_DROP event construction part | |
3011 | from XTread_socket. | |
bcd98331 SM |
3012 | (XTread_socket): Consolidate setting of event timestamp. |
3013 | Move DRAG_N_DROP event construction part to do_ae_open_documents. | |
c229fb15 YM |
3014 | Support extra_keyboard_modifiers. |
3015 | ||
3016 | * xfaces.c (try_font_list) [MAC_OS]: Try font family name | |
3017 | beginning with that for ASCII. | |
3018 | ||
69d05d83 SM |
3019 | 2005-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
3020 | ||
3021 | * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. | |
3022 | (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. | |
3023 | (syms_of_alloc): Declare gc-cons-percentage. | |
3024 | ||
3025 | * eval.c (Feval, Ffuncall): | |
3026 | * keyboard.c (read_char): | |
3027 | * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. | |
3028 | ||
3029 | * lisp.h (gc_cons_combined_threshold): Declare. | |
3030 | ||
5c7f9de1 KS |
3031 | 2005-07-12 Kim F. Storm <storm@cua.dk> |
3032 | ||
3033 | * coding.c (Qprocess_argument): | |
3034 | * coding.h (Qprocess_argument): Remove unused var. | |
3035 | ||
3036 | * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. | |
3037 | ||
c37efb7a YM |
3038 | 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3039 | ||
3040 | * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and | |
3041 | Endian.h. | |
3042 | [!MAC_OSX] (fchmod, fchown): New functions. | |
3043 | (mac_get_code_from_arg): Don't accept Lisp integer as argument. | |
3044 | Use SBYTES and EndianU32_BtoN. | |
3045 | (mac_get_object_from_code): Return 4 byte string even if argument | |
3046 | is 0. Use make_unibyte_string and EndianU32_NtoB. | |
3047 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
3048 | (Fmac_set_file_type): Fix documents and argument declarations. | |
3049 | Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. | |
3050 | ||
a4429c5b SM |
3051 | 2005-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
3052 | ||
3053 | * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). | |
3054 | ||
a2d7e722 JD |
3055 | 2005-07-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3056 | ||
3057 | * xfaces.c (x_update_menu_appearance): Use fontSet resource for | |
3058 | Lucid if X_I18N, font otherwise. | |
3059 | ||
9a4183e9 ST |
3060 | 2005-07-10 Steven Tamm <steventamm@mac.com> |
3061 | ||
a4429c5b SM |
3062 | * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. |
3063 | (Fmac_set_file_type, Fmac_set_file_creator): Add. | |
3064 | (mac_get_object_from_code, mac_get_code_from_arg): Add. | |
9a4183e9 | 3065 | |
51f74c37 RS |
3066 | 2005-07-10 Richard M. Stallman <rms@gnu.org> |
3067 | ||
3068 | * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. | |
3069 | (syms_of_lread): Set up eval-buffer-list. | |
3070 | (Feval_buffer, Feval_region): Bind eval-buffer-list. | |
3071 | ||
93c7da4c RS |
3072 | 2005-07-08 Richard M. Stallman <rms@gnu.org> |
3073 | ||
3074 | * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. | |
3075 | ||
64af5917 KS |
3076 | 2005-07-08 Kim F. Storm <storm@cua.dk> |
3077 | ||
3078 | * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. | |
3079 | (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. | |
3080 | ||
a96b333c KS |
3081 | 2005-07-07 Kim F. Storm <storm@cua.dk> |
3082 | ||
3083 | * window.c (Frecenter): Fix last change (set iarg before use). | |
3084 | ||
dc2204be RS |
3085 | 2005-07-06 Richard M. Stallman <rms@gnu.org> |
3086 | ||
3087 | * window.c (Frecenter): When arg is inside the scroll margin, | |
3088 | move it out of the margin. | |
3089 | ||
3fb1d72b JR |
3090 | 2005-07-06 Jason Rumney <jasonr@gnu.org> |
3091 | ||
3092 | * w32console.c (initialize_w32_display): Detect when the console | |
3093 | dimensions are insane, and default to 80x25 instead. | |
a4429c5b | 3094 | (w32_use_full_screen_buffer): Default to NIL. |
3fb1d72b | 3095 | |
dd15724d YM |
3096 | 2005-07-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3097 | ||
3098 | * macterm.c (mac_draw_vertical_window_border): Use foreground of | |
3099 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
3100 | (mac_encode_char): Call check_ccl_update in advance. | |
3101 | (mac_to_x_fontname, x_font_name_to_mac_font_name) | |
a4429c5b SM |
3102 | (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): |
3103 | Don't assume that font family length is less than 32. | |
dd15724d YM |
3104 | (x_compute_min_glyph_bounds): Make static. |
3105 | (x_load_font): Never set fonts_changed_p to zero. | |
a96b333c | 3106 | |
68003d6b LK |
3107 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
3108 | ||
dc2204be | 3109 | * Update FSF's address in GPL notices. |
68003d6b | 3110 | |
3d393029 RS |
3111 | 2005-07-03 Richard M. Stallman <rms@gnu.org> |
3112 | ||
3113 | * xdisp.c (try_window): Fix previous change in how it handles | |
3114 | a partially-visible line or one only partly past the margin. | |
3115 | ||
3116 | * window.c (window_scroll_pixel_based): Take account | |
3117 | of this_scroll_margin when finding point when scrolling up. | |
3118 | ||
3119 | 2005-06-29 Ralf Angeli <angeli@iwi.uni-sb.de> | |
3120 | ||
3121 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
3122 | Handle `scroll-preserve-screen-position' non-nil, non-t specially. | |
9dd28cae | 3123 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. |
3d393029 | 3124 | |
d6951bb4 EZ |
3125 | 2005-07-02 Juri Linkov <juri@jurta.org> |
3126 | ||
3127 | * w32term.c (w32_draw_vertical_window_border): Use foreground of | |
3128 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
3129 | ||
b016179b EZ |
3130 | 2005-07-02 Eli Zaretskii <eliz@gnu.org> |
3131 | ||
3132 | * fileio.c (Fcopy_file): Rearrange the code that calls fchown and | |
3133 | fchmod so that chmod doesn't get called on MSDOS before the file | |
3134 | is closed. | |
3135 | ||
c2baa2b6 JR |
3136 | 2005-07-01 Jason Rumney <jasonr@gnu.org> |
3137 | ||
3138 | * w32term.c (cleartype_active): New flag for enabling sub-pixel | |
3139 | workaround. | |
3140 | (w32_initialize): Initialize it. | |
3141 | (w32_native_per_char_metric): Allow a couple of extra pixels when | |
3142 | Cleartype is active. | |
3143 | ||
3144 | * w32term.c (w32_initialize): Move check for screen reader here | |
3145 | from syms_of_w32term. | |
3146 | ||
a6d0ae55 JD |
3147 | 2005-06-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3148 | ||
3149 | * xterm.c (handle_one_xevent): bzero compose_status when nbytes | |
3150 | is not zero. | |
3151 | ||
711877f3 MY |
3152 | 2005-07-01 Masatake YAMATO <jet@gyve.org> |
3153 | ||
a4429c5b | 3154 | * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. |
711877f3 | 3155 | |
63f7ffb3 JL |
3156 | 2005-06-30 Juri Linkov <juri@jurta.org> |
3157 | ||
3158 | * xdisp.c (x_draw_vertical_border): If left fringe is not present | |
3159 | decrease x coord of vertical border by 1 pixel to not occupy text | |
3160 | area of the right window. | |
3161 | ||
3162 | * xterm.c (x_draw_vertical_window_border): Use foreground of | |
3163 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
3164 | ||
3165 | * term.c (turn_on_face): In standout mode apply specified | |
3166 | fg to bg, and specified bg to fg (this makes the logic of | |
3167 | inversion on terminal consistent with X). | |
3168 | ||
b26860ad JB |
3169 | 2005-06-29 Juanma Barranquero <lekktu@gmail.com> |
3170 | ||
3171 | * eval.c (user_variable_p_eh): New function. | |
3172 | (Fuser_variable_p): Use it. Clarify docstring. | |
3173 | Return t for aliases of user options, nil for alias loops. | |
3174 | ||
3a1f1d79 RS |
3175 | 2005-06-27 Richard M. Stallman <rms@gnu.org> |
3176 | ||
3177 | * eval.c (Fdefvar): Improve error message. | |
3178 | ||
92de1e01 YM |
3179 | 2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3180 | ||
3181 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last | |
3182 | change. | |
3183 | ||
69410484 JB |
3184 | 2005-06-27 Juanma Barranquero <lekktu@gmail.com> |
3185 | ||
3186 | * eval.c (Fdefvar): Don't try to set constant symbols. | |
3187 | ||
09352e8f RS |
3188 | 2005-06-25 Richard M. Stallman <rms@gnu.org> |
3189 | ||
a68d870b RS |
3190 | * macfns.c (Fx_show_tip): Pass new arg to try_window. |
3191 | ||
3192 | * w32fns.c (Fx_show_tip): Pass new arg to try_window. | |
3193 | ||
3194 | * xfns.c (Fx_show_tip): Pass new arg to try_window. | |
3195 | ||
3196 | * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. | |
3197 | (redisplay_window): Handle try_window reporting point in scroll margin. | |
3198 | ||
3199 | * dispextern.h (try_window): Declare new arg. | |
3200 | ||
3201 | * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. | |
3202 | Use fchmod to copy the file modes. | |
3203 | (Frename_file): Don't copy UID and GID here; | |
3204 | instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. | |
3205 | ||
df13531d RS |
3206 | * eval.c (call_debugger): Take full care of extending stack limits |
3207 | to make space for the debugger, and restore the change afterward. | |
3208 | Bind debug-on-error to nil. | |
3209 | (restore_stack_limits): New subroutine. | |
3210 | (Fsignal): Extend specpdl bound along with eval depth bound, | |
3211 | for calling edebug. Don't do either one, for calling debugger. | |
3212 | (find_handler_clause): Don't bind debug-on-error here. | |
3213 | Don't unbind anything either. | |
3214 | Temporarily advance max_specpdl_size for calling | |
3215 | internal_with_output_to_temp_buffer. | |
3216 | (grow_specpdl): Don't alter max_specpdl_size before signaling | |
3217 | an error. | |
3218 | (syms_of_eval) <max-specpdl-size>: Doc fix. | |
3219 | ||
09352e8f RS |
3220 | * lread.c (read1): 0.0e+NaN should make a "positive" NaN. |
3221 | ||
90296dd3 EZ |
3222 | 2005-06-24 Eli Zaretskii <eliz@gnu.org> |
3223 | ||
3224 | * fileio.c (Frename_file): Undo last change: no need to ifdef away | |
3225 | chown on DOS_NT platforms. | |
3226 | ||
3227 | * w32.c (sys_chown): New function. | |
3228 | ||
3229 | * s/ms-w32.h (chown): New; define to sys_chown. | |
3230 | ||
c4f6ca24 JB |
3231 | 2005-06-24 Juanma Barranquero <lekktu@gmail.com> |
3232 | ||
3338c0ad JB |
3233 | * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix. |
3234 | (syms_of_xdisp) <void-text-area-pointer>: Doc fix. | |
3235 | ||
9a1505e9 | 3236 | * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. |
c4f6ca24 | 3237 | |
528b6abc RS |
3238 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
3239 | ||
3240 | * xdisp.c (get_next_display_element): Finish reversing the tests of | |
3241 | Vnobreak_char_display. | |
3242 | ||
9a1505e9 | 3243 | * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. |
528b6abc | 3244 | All uses changed. |
9a1505e9 | 3245 | (Qnobreak_space): Rename from Qno_break_space. All uses changed. |
528b6abc RS |
3246 | (syms_of_xdisp): Define nobreak-char-display and nobreak-space. |
3247 | ||
3248 | * fileio.c (Frename_file): Preserve owner and group, if possible, | |
3249 | when copying. | |
3250 | ||
1d1c7e75 JB |
3251 | 2005-06-23 Juanma Barranquero <lekktu@gmail.com> |
3252 | ||
253b2298 JB |
3253 | * abbrev.c (Funexpand_abbrev): |
3254 | * category.c (Fmake_category_set): | |
3255 | * dispnew.c (Fsleep_for, Fsit_for): | |
3256 | * editfns.c (Fsubst_char_in_region): | |
3257 | * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): | |
3258 | * frame.c (make_frame_without_minibuffer): | |
3259 | * lread.c (read_vector): | |
3260 | * macfns.c (check_x_frame): | |
3261 | * process.c (Fstop_process, Fcontinue_process): | |
3262 | * search.c (Freplace_match): | |
3263 | * syntax.c (Fstring_to_syntax): | |
3264 | * w32fns.c (check_x_frame, check_x_display_info): | |
3265 | * xfaces.c (x_supports_face_attributes_p): | |
3266 | * xselect.c (Fx_own_selection_internal): Follow error conventions. | |
3267 | ||
1d1c7e75 JB |
3268 | * image.c (fn_png_init_io): Don't define it. |
3269 | (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. | |
3270 | (png_read_from_file): New function, based on png_read_from_memory. | |
3271 | (png_load): Use it, instead of fn_png_init_io. | |
3272 | ||
d1fab151 KS |
3273 | 2005-06-23 Kim F. Storm <storm@cua.dk> |
3274 | ||
3275 | * search.c (Fmatch_data): Remove evaporate option. | |
9d12e52b | 3276 | (Fset_match_data): Do not mention evaporate option in doc string. |
d1fab151 KS |
3277 | Add commentary explaining evaporate arg (for internal use only). |
3278 | (unwind_set_match_data): Add comment on evaporate use. | |
3279 | ||
53abc3bf MB |
3280 | 2005-06-22 Miles Bader <miles@gnu.org> |
3281 | ||
a4429c5b | 3282 | * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. |
53abc3bf MB |
3283 | (realize_basic_faces, syms_of_xfaces): Update references to it. |
3284 | * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' | |
3285 | to `VERTICAL_BORDER_FACE_ID'. | |
3286 | * dispnew.c (build_frame_matrix_from_leaf_window): Update references. | |
3287 | ||
36a3b076 JL |
3288 | 2005-06-21 Juri Linkov <juri@jurta.org> |
3289 | ||
3290 | * dispextern.h: Add extern Qframe_set_background_mode. | |
3291 | ||
3292 | * xfaces.c: Rename obsolete function Qframe_update_face_colors to | |
3293 | Qframe_set_background_mode. | |
3294 | ||
3295 | * frame.c (Fmodify_frame_parameters): | |
3296 | Call frame-set-background-mode after changing the background color | |
3297 | on non-window non-dos branch. | |
3298 | ||
23873c96 JB |
3299 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
3300 | ||
3301 | * fns.c (Fchar_table_range): | |
3302 | * process.c (Fmake_network_process): Fix spellings. | |
3303 | ||
b7d1f38f KS |
3304 | 2005-06-20 Kim F. Storm <storm@cua.dk> |
3305 | ||
3306 | * fns.c (Fsort): Doc fix. | |
3307 | ||
b4e49aee MB |
3308 | 2005-06-20 Miles Bader <miles@gnu.org> |
3309 | ||
3310 | * xfaces.c (Qvertical_divider): New variable. | |
3311 | (realize_basic_faces): Realize its face. | |
3312 | (syms_of_xfaces): Initialize it. | |
3313 | ||
3314 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | |
3315 | ||
3316 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | |
3317 | window-separator on ttys using `vertical-divider' face by default. | |
3318 | ||
b7da00ba RS |
3319 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
3320 | ||
a4429c5b SM |
3321 | * xdisp.c (get_next_display_element): |
3322 | Reverse test of Vshow_nonbreak_escape. | |
b7da00ba RS |
3323 | |
3324 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | |
f19b57e3 RS |
3325 | (Ftty_no_underline): New function. |
3326 | (syms_of_term): defsubr it. | |
b7d1f38f | 3327 | |
b7da00ba RS |
3328 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
3329 | ||
3330 | * dispnew.c (spec_glyph_lookup_face): New function. | |
3331 | (build_frame_matrix_from_leaf_window): Use it. | |
3332 | ||
3333 | * dispextern.h (spec_glyph_lookup_face): Add declaration. | |
3334 | ||
3335 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
3336 | ||
3337 | 2005-06-12 Richard M. Stallman <rms@gnu.org> | |
3338 | ||
3339 | * keyboard.c (read_char): After catching a longjmp, | |
3340 | call restore_getcjmp. | |
3341 | ||
289824a3 JB |
3342 | 2005-06-17 Juanma Barranquero <lekktu@gmail.com> |
3343 | ||
3344 | * xselect.c (lisp_data_to_selection_data): Fix spelling. | |
3345 | ||
95085023 YM |
3346 | 2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3347 | ||
3348 | * macterm.c (mac_compute_glyph_string_overhangs): Don't set | |
3349 | overhangs unless the given glyph type is noncomposite CHAR_GLYPH. | |
3350 | [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down | |
3351 | events. | |
3352 | (XTread_socket): Don't pass keyboard events with the option | |
3353 | modifier to the system when Vmac_command_key_is_meta is nil or | |
3354 | Vmac_option_modifier is non-nil. | |
3355 | [USE_CARBON_EVENTS] (read_socket_inev): New variable. | |
3356 | [USE_CARBON_EVENTS] (init_command_handler): Fix argument. | |
3357 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event | |
3358 | handler function. | |
3359 | (install_window_handler) [USE_CARBON_EVENTS]: Install it. | |
3360 | (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event | |
3361 | handler part to mac_handle_mouse_event. | |
3362 | ||
4a9308b8 JB |
3363 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
3364 | ||
3365 | * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to | |
3366 | NEW-ALIAS and BASE-VARIABLE, respectively. | |
3367 | ||
5aa6db57 SM |
3368 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
3369 | ||
3370 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
3371 | (get_phys_cursor_geometry, format_mode_line_unwind_data) | |
3372 | (get_line_height_property, x_produce_glyphs): Remove unused vars. | |
3373 | ||
3374 | * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. | |
3375 | ||
0e0dddda EZ |
3376 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
3377 | ||
3378 | * w32term.c (x_use_underline_position_properties): New variable. | |
3379 | (x_draw_glyph_string): Remind in a comment to change doc string of | |
3380 | x-use-underline-position-properties if/when underline positioning | |
3381 | is implemented. | |
3382 | (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, | |
3383 | and initialize it to nil. | |
3384 | ||
7f2b4738 JR |
3385 | 2005-06-12 Jason Rumney <jasonr@gnu.org> |
3386 | ||
3387 | * w32fns.c (NEWOPENFILENAME): New struct. | |
3388 | (Fx_file_dialog): Use it to trick the system into giving us up to | |
3389 | date dialogs on systems that are documented to support it. | |
3390 | Do not set OFN_FILEMUSTEXIST flag if looking for a directory. | |
3391 | ||
a1e8cad6 EZ |
3392 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
3393 | ||
3394 | * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of | |
3395 | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. | |
3396 | ||
099a3eea EZ |
3397 | 2005-06-11 Eli Zaretskii <eliz@gnu.org> |
3398 | ||
2e09fef1 EZ |
3399 | * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg |
3400 | to CreateDIBSection to avoid a compiler warning. | |
3401 | (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler | |
3402 | warning. | |
3403 | (png_load): Cast return values of fn_png_create_read_struct and | |
3404 | fn_png_create_info_struct, to avoid compiler warnings on W32. | |
3405 | Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent | |
3406 | to avoid compiler warnings. | |
3407 | (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a | |
3408 | compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to | |
3409 | avoid a compiler warning. | |
3410 | (tiff_load): Cast return values of fn_TIFFOpen and | |
3411 | fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg | |
3412 | to IMAGE_BACKGROUND to avoid a compiler warning. | |
3413 | (gif_load): Cast return values of fn_DGifOpenFileName and | |
3414 | fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to | |
3415 | IMAGE_BACKGROUND to avoid a compiler warning. | |
3416 | (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef | |
3417 | before redefining. | |
3418 | ||
099a3eea EZ |
3419 | * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in |
3420 | the call to CreateDIBSection, to avoid a compiler warning. | |
3421 | ||
d11f8e1a JR |
3422 | 2005-06-11 Jason Rumney <jasonr@gnu.org> |
3423 | ||
3424 | * w32fns.c (Fx_file_dialog): Unblock input before falling back to | |
3425 | minibuffer. | |
3426 | * macfns.c (Fx_file_dialog): Likewise. | |
3427 | ||
cd4344a3 EZ |
3428 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
3429 | ||
3430 | * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. | |
3431 | ||
578c1340 JB |
3432 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
3433 | ||
3434 | * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: | |
3435 | * w32fns.c (syms_of_w32fns): Fix spellings. | |
3436 | ||
4162f25f EZ |
3437 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
3438 | ||
3439 | * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument | |
5aa6db57 SM |
3440 | `verbose'; print diagnostic messages only if it is non-zero. |
3441 | All callers changed to pass a zero value unless DEBUG_DUMP is defined | |
4162f25f EZ |
3442 | in the environment. |
3443 | (copy_executable_and_dump_data): Print section names with %.8s. | |
3444 | ||
121c59a3 MY |
3445 | 2005-06-10 Masatake YAMATO <jet@gyve.org> |
3446 | ||
3447 | * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face | |
3448 | when mouse_face is not given. | |
121c59a3 | 3449 | |
c869384d LT |
3450 | 2005-06-09 Luc Teirlinck <teirllm@auburn.edu> |
3451 | ||
3452 | * window.c (Fselect_window): Adapt call to Fselect_frame. | |
3453 | ||
3454 | * lisp.h: Update EXFUN of Fselect_frame. | |
3455 | ||
3456 | * keyboard.c (command_loop_1): Adapt call to Fselect_frame. | |
3457 | ||
6ecf436d LT |
3458 | * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg |
3459 | no_enter. | |
3460 | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): | |
c869384d LT |
3461 | Adapt to above change. |
3462 | ||
c14ec135 JB |
3463 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
3464 | ||
3465 | * fns.c (Fmemq, Fmaphash): Doc fixes. | |
3466 | ||
9fed2905 JB |
3467 | 2005-06-09 Juanma Barranquero <lekktu@gmail.com> |
3468 | ||
3469 | * xfaces.c (Fdisplay_supports_face_attributes_p): | |
3470 | Fix typo in docstring. | |
3471 | ||
427c5b1b ST |
3472 | 2005-06-08 Steven Tamm <steventamm@mac.com> |
3473 | ||
3474 | * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section | |
3475 | used by gcc4 on intel mac. | |
3476 | ||
b7aae902 KS |
3477 | 2005-06-09 Kim F. Storm <storm@cua.dk> |
3478 | ||
3479 | * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers | |
3480 | in REUSE list if non-nil; free them if equal to evaporate. | |
3481 | (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST | |
3482 | if non-nil; free them if equal to evaporate. Use XCAR/XCDR. | |
3483 | (restore_search_regs): Rename from restore_match_data. Uses changed. | |
3484 | (unwind_set_match_data): New function. | |
3485 | (record_unwind_save_match_data): New function like save-match-data. | |
3486 | ||
3487 | * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. | |
3488 | (record_unwind_save_match_data): Add prototype. | |
3489 | (restore_search_regs): Rename from restore_match_data. | |
3490 | ||
3491 | * composite.c (compose_chars_in_text): | |
3492 | * eval.c (do_autoload): | |
3493 | * macmenu.c (set_frame_menubar): | |
3494 | * process.c (read_process_output, exec_sentinel): | |
3495 | * xmenu.c (set_frame_menubar): | |
3496 | * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): | |
3497 | * w32menu.c (set_frame_menubar): | |
3498 | Use record_unwind_save_match_data. | |
3499 | ||
547d2b37 RS |
3500 | 2005-06-08 Richard M. Stallman <rms@gnu.org> |
3501 | ||
3502 | * xdisp.c (get_next_display_element): Alter previous change: | |
3503 | Distinguish Vshow_nonbreak_escape = t or not t. | |
3504 | For t, use escape_glyph once again, as before previous change. | |
3505 | Use space or hyphen for display, instead of the non-ASCII char. | |
3506 | (syms_of_xdisp) <show-nonbreak-escape>: Doc fix. | |
3507 | ||
3508 | * process.c (Fstart_process): Don't touch command_channel_p slot. | |
3509 | ||
99598737 | 3510 | * process.h (struct process): Delete command_channel_p. |
547d2b37 | 3511 | |
602907ae MY |
3512 | 2005-06-07 Masatake YAMATO <jet@gyve.org> |
3513 | ||
5aa6db57 SM |
3514 | * xdisp.c (note_mode_line_or_margin_highlight): |
3515 | Check the overlapping of re-rendering area to avoid flickering. | |
b7aae902 | 3516 | (note_mouse_highlight): Call clear_mouse_face if PART |
602907ae MY |
3517 | is not ON_MODE_LINE nor ON_HEADER_LINE. |
3518 | ||
8b793bed KS |
3519 | 2005-06-07 Kim F. Storm <storm@cua.dk> |
3520 | ||
3521 | * process.c: Improve commentary for adaptive read buffering. | |
3522 | ||
3d031334 SM |
3523 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3524 | ||
3525 | * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars | |
3526 | if available. | |
3527 | ||
16d2e704 JD |
3528 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3529 | ||
5aa6db57 SM |
3530 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): |
3531 | New functions for popping down menus on C-g. | |
16d2e704 JD |
3532 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. |
3533 | ||
3534 | * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode | |
3535 | non-static. | |
3536 | ||
9fed2905 | 3537 | * config.in: Add HAVE_CANCELMENUTRACKING. |
16d2e704 | 3538 | |
b6cc2ad0 EZ |
3539 | 2005-06-06 Eli Zaretskii <eliz@gnu.org> |
3540 | ||
9a1505e9 | 3541 | * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. |
b6cc2ad0 | 3542 | |
5aa6db57 | 3543 | * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. |
b6cc2ad0 EZ |
3544 | |
3545 | * w32proc.c (RVA_TO_PTR): New macro. | |
3546 | ||
3547 | * w32heap.c (RVA_TO_PTR): No need to #undef now. | |
3548 | ||
3549 | * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): | |
3550 | Depend on w32heap.h. | |
3551 | ||
24e55feb LT |
3552 | 2005-06-06 Luc Teirlinck <teirllm@auburn.edu> |
3553 | ||
3554 | * keyboard.c (command_loop_1): Update Vthis_original_command. | |
3555 | ||
ce6e10af RS |
3556 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
3557 | ||
3558 | * xmenu.c (popup_get_selection): Undo previous change. | |
3559 | ||
c476bcb0 JL |
3560 | 2005-06-06 Juri Linkov <juri@jurta.org> |
3561 | ||
3562 | * xdisp.c (Qno_break_space): New variable. | |
3563 | (syms_of_xdisp): Initialize it. | |
3564 | (get_next_display_element): Add no-break space and soft hypen | |
3565 | codes for iso8859-2 and iso8859-5. Don't add `\' for them. | |
3566 | Use `no-break-space' face for no-break spaces. | |
3567 | ||
5494d7bc JD |
3568 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3569 | ||
3570 | * window.c (delete_window): Handle the case where a h/vchild has | |
3571 | a h/vchild. | |
3572 | ||
a0c38328 EZ |
3573 | 2005-06-05 Eli Zaretskii <eliz@gnu.org> |
3574 | ||
3575 | * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the | |
3576 | call to pfn_setsockopt, cast optval to `const char *'. | |
3577 | ||
91018229 EZ |
3578 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
3579 | ||
1a8fb426 EZ |
3580 | * w32.c (gettimeofday): Use struct _timeb, not struct timeb. |
3581 | (open_unc_volume): Cast return value of map_w32_filename, to avoid | |
3582 | compiler warnings. | |
3583 | ||
b6f0a397 EZ |
3584 | * s/ms-w32.h (fileno): Don't define if already defined. |
3585 | ||
17a7c5c2 | 3586 | * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. |
d01a9710 | 3587 | |
91018229 EZ |
3588 | * makefile.w32-in (DOC): Define to point to the generated DOC-X. |
3589 | ||
196ac78c RS |
3590 | 2005-06-04 Richard M. Stallman <rms@gnu.org> |
3591 | ||
3592 | * xmenu.c (popup_get_selection): Click not in menu deactivates menu. | |
3593 | ||
b8987570 JD |
3594 | 2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3595 | ||
3596 | * macmenu.c (cleanup_popup_menu): New function. | |
2d4713aa | 3597 | (Fx_popup_menu): Unwind protect cleanup_popup_menu in case |
b8987570 JD |
3598 | mac_menu_show Quit:s. |
3599 | (mac_menu_show): Quit on cancel if not popped up on click (i.e. | |
3600 | a dialog). | |
3601 | ||
555228aa KS |
3602 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
3603 | ||
3604 | * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. | |
3605 | ||
3606 | * callproc.c (Fcall_process): Don't use alloca to gradually | |
3607 | increase size of buf, as it effectively uses twice the necessary | |
3608 | space on the stack. Instead, pre-allocate buf of full size, and | |
3609 | gradually increase the read size. | |
3610 | ||
3611 | * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. | |
3612 | ||
3613 | * eval.c (unbind_to): Preserve value of Vquit_flag. | |
3614 | ||
3615 | * xterm.c (handle_one_xevent): Also ignore mouse motion just | |
3616 | before a button release event. | |
3617 | ||
6312e5f7 JB |
3618 | 2005-06-03 Juanma Barranquero <lekktu@gmail.com> |
3619 | ||
3620 | * xfaces.c (Finternal_lisp_face_equal_p): Really report | |
3621 | on faces in a frame, if the argument FRAME is non-nil. | |
3622 | Improve argument/docstring consistency. | |
3623 | ||
0493f7be KS |
3624 | 2005-06-02 Kim F. Storm <storm@cua.dk> |
3625 | ||
3626 | * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. | |
3627 | (x_consider_frame_title, Fformat_mode_line): Save offset into | |
3628 | mode_line_noprop_buf rather than pointer, in case buffer is relocated. | |
3629 | ||
89fe657e KS |
3630 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
3631 | ||
3632 | * fns.c (mapcar1): Maybe exit loop if original sequence was modified. | |
3633 | ||
02a6375c YM |
3634 | 2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3635 | ||
3636 | * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD | |
3637 | resolution fields for scalable fonts to 0. | |
3638 | ||
3639 | * xfaces.c (build_scalable_font_name): Round pixel size to the | |
3640 | nearest integer. | |
3641 | ||
95d4fad8 KS |
3642 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
3643 | ||
3644 | * xdisp.c (display_mode_line): Support nested calls to redisplay | |
3645 | and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. | |
3646 | ||
3c1b433a SM |
3647 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
3648 | ||
3649 | * fileio.c (Finsert_file_contents): | |
3650 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
3651 | ||
13cc7d61 KS |
3652 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
3653 | ||
3654 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | |
3655 | (mode_line_noprop_ptr): Rename from frame_title_*. | |
3656 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | |
3657 | (store_mode_line_noprop): Rename from store_frame_title. | |
3c1b433a | 3658 | (mode_line_target): New enum to specify current output target |
13cc7d61 KS |
3659 | for mode line formatting. |
3660 | (display_mode_element): Test it rather than frame_title_ptr and | |
3661 | mode_line_string_list to determine where output should go. | |
3662 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | |
3663 | (Vmode_line_unwind_vector): New variable. | |
3c1b433a SM |
3664 | (format_mode_line_unwind_data, unwind_format_mode_line): |
3665 | New functions for unwind protection in mode line formatting. | |
13cc7d61 | 3666 | (x_consider_frame_title): Use them and new local var 'title_start' |
5aa6db57 SM |
3667 | to support nested calls to format-mode-line and redisplay. |
3668 | Set mode_line_target to MODE_LINE_TITLE. | |
13cc7d61 | 3669 | (Fformat_mode_line): Use them and new local var 'string_start' to |
5aa6db57 SM |
3670 | support nested calls to format-mode-line and redisplay. |
3671 | Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. | |
95d4fad8 | 3672 | Don't trim trailing dashes. |
13cc7d61 KS |
3673 | (decode_mode_spec): Don't make infinite number of trailing dashes |
3674 | for MODE_LINE_NOPROP and MODE_LINE_STRING targets. | |
3675 | (syms_of_xdisp): Initialize and staticpro mode_line_string_face, | |
3676 | mode_line_string_face_prop, and Vmode_line_unwind_vector. | |
3677 | (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. | |
3678 | Initialize mode_line_target to MODE_LINE_DISPLAY. | |
3679 | ||
c16b1394 RS |
3680 | 2005-05-29 Richard M. Stallman <rms@gnu.org> |
3681 | ||
3682 | * buffer.c (Fbuffer_local_value): Call indirect_variable. | |
3683 | ||
edfaeb4e MY |
3684 | 2005-05-28 Masatake YAMATO <jet@gyve.org> |
3685 | ||
3686 | * xdisp.c (note_mode_line_or_margin_highlight): Change the | |
3687 | pointer to a hand cursor when hoovering over a mouse-face. | |
3688 | ||
7cf49add KH |
3689 | 2005-05-27 Kenichi Handa <handa@m17n.org> |
3690 | ||
3691 | * xterm.c (x_encode_char): Call check_ccl_update in advance. | |
3692 | ||
3693 | * ccl.c: Now an element of Vccl_program_table is a vector of | |
3694 | length 4, not 3. | |
3c1b433a SM |
3695 | (ccl_get_compiled_code): New arg idx. Caller changed. |
3696 | Adjust for the change of Vccl_program_table. | |
3697 | (setup_ccl_program): Adjust for the change of Vccl_program_table. | |
7cf49add KH |
3698 | (check_ccl_update): New function. |
3699 | (Fregister_ccl_program): Use ASET to set an element of a vector. | |
3700 | Adjusted for the change of Vccl_program_table. | |
3701 | ||
3702 | * ccl.h (struct ccl_program): New member idx. | |
3703 | (check_ccl_update): Extern it. | |
3704 | ||
5e2ad10b JB |
3705 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
3706 | ||
3c1b433a | 3707 | * image.c (Vimage_library_alist): Move from image.el. |
d5e1a786 JB |
3708 | (syms_of_image): Defvar it. |
3709 | (lookup_image_type): Use it. | |
3710 | ||
5e2ad10b JB |
3711 | * buffer.c (Fbuffer_local_value): Make argument name match its use |
3712 | in docstring. | |
3713 | ||
6e604a9b JB |
3714 | 2005-05-26 Juanma Barranquero <lekktu@gmail.com> |
3715 | ||
3716 | * keyboard.c (Frecursive_edit): Fix typo in docstring. | |
3717 | (Fposn_at_x_y): Make argument name match its use in docstring. | |
3718 | ||
59244a3f LK |
3719 | 2005-05-26 Lute Kamstra <lute@gnu.org> |
3720 | ||
3721 | * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. | |
3722 | ||
55ce5058 MY |
3723 | 2005-05-24 Masatake YAMATO <jet@gyve.org> |
3724 | ||
3725 | * xdisp.c (note_mode_line_or_margin_highlight): Use b and e | |
3726 | as loop sentinels. | |
3727 | ||
cb5db137 NR |
3728 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
3729 | ||
3730 | * xmenu.c (Fx_popup_dialog): Add a third boolean argument to | |
3731 | select frame title ("Question"/"Information"). | |
3732 | (xdialog_show): Use it. | |
3733 | ||
13dcfc35 NR |
3734 | * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. |
3735 | ||
3736 | * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. | |
3737 | ||
d3393daa NR |
3738 | * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with |
3739 | a third argument (Qnil). | |
3740 | ||
3741 | * lisp.h: x-popup-dialog can have three arguments. | |
cb5db137 NR |
3742 | |
3743 | * editfns.c (Fmessage_box): Use "Information" for frame title. | |
3744 | ||
71d4fba1 TTN |
3745 | 2005-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
3746 | ||
3747 | * termcap.c [VMS]: Include <starlet.h>. | |
3748 | ||
359e4563 MY |
3749 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
3750 | ||
6e604a9b JB |
3751 | * xdisp.c (note_mode_line_or_margin_highlight): Add code |
3752 | for mouse-face. Change the type of the first argument from `window' | |
3753 | to `Lisp_Object'. | |
359e4563 MY |
3754 | (note_mouse_highlight): Call note_mode_line_or_margin_highlight with |
3755 | window instead of w. | |
3756 | ||
edceb51c AS |
3757 | 2005-05-22 Andreas Schwab <schwab@suse.de> |
3758 | ||
41c4895c | 3759 | * process.c (send_process): Move misplaced volatile. |
edceb51c | 3760 | |
5c213fcc RS |
3761 | 2005-05-21 Richard M. Stallman <rms@gnu.org> |
3762 | ||
3763 | * xdisp.c (display_mode_element): If we're processing a list and | |
3764 | padding is specified, put it after the last element. | |
3765 | ||
aa4060b9 EZ |
3766 | 2005-05-21 Eli Zaretskii <eliz@gnu.org> |
3767 | ||
3768 | * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support | |
3769 | "superroot" on DOS_NT systems. | |
3770 | ||
a2c9aee6 EZ |
3771 | 2005-05-21 David Hunter <hunterd42@comcast.net> (tiny change) |
3772 | ||
3773 | * process.c (send_process): Restore the SIGPIPE handler if we | |
3774 | catch a SIGPIPE. | |
3775 | ||
09e8eb5b JB |
3776 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> |
3777 | ||
3778 | * image.c (lookup_image, png_read_from_memory): Remove hacks (and | |
3779 | misleading comments). | |
3780 | (DEF_IMGLIB_FN): Use C calling convention for image libraries. | |
3781 | ||
f3fbdb1f LK |
3782 | 2005-05-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
3783 | ||
3784 | * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): | |
3785 | Correct the right value. | |
3786 | ||
639ec765 NR |
3787 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
3788 | ||
240d926e | 3789 | * keyboard.c (syms_of_keyboard): Remove Lisp variables |
639ec765 NR |
3790 | post-command-idle-hook and post-command-idle-delay. |
3791 | (command_loop_1): Don't try to execute post-command-idle-hook. | |
3792 | ||
03d42907 KS |
3793 | 2005-05-16 Kim F. Storm <storm@cua.dk> |
3794 | ||
1cb83e13 KS |
3795 | * xdisp.c (handle_display_prop): Handle empty replacement. |
3796 | (handle_single_display_spec): Return -1 for empty replacement. | |
3797 | ||
3798 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | |
3799 | ||
03d42907 KS |
3800 | * .gdbinit (pitx): Print more info about iterator. |
3801 | ||
0da46b6e AS |
3802 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
3803 | ||
3c1b433a | 3804 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
0da46b6e | 3805 | |
d06ba294 RS |
3806 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
3807 | ||
3808 | * xdisp.c (message3): Call cancel_echoing. | |
3809 | ||
3810 | * alloc.c (Fmemory_full_p): New function. | |
3811 | (syms_of_alloc): defsubr it. | |
3812 | ||
3813 | * process.c (send_process_trap): Unblock SIGPIPE. | |
3814 | (send_process): Reset SIGPIPE handler before reporting error. | |
3815 | ||
90713743 NR |
3816 | 2005-05-14 Nick Roberts <nickrob@snap.net.nz> |
3817 | ||
3818 | * emacs.c (syms_of_emacs): Fix doc string for system-type. | |
3819 | ||
68780e2a RS |
3820 | 2005-05-13 Richard M. Stallman <rms@gnu.org> |
3821 | ||
3822 | * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. | |
3823 | (Finsert_file_contents): If we read 0 bytes from a special file, | |
3824 | unlock the visited file if we locked it. | |
3825 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | |
03d42907 | 3826 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
68780e2a | 3827 | |
5063dbbf YM |
3828 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3829 | ||
3830 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | |
3831 | ||
3c1b433a SM |
3832 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
3833 | Regard toolkit scroll bar thumb drag events as squeezable and prevent | |
5063dbbf YM |
3834 | redisplay from being paused by them. |
3835 | ||
3836 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | |
3837 | [!MAC_OSX] (target_ticks): Remove variable. | |
3838 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | |
3839 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | |
3840 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | |
3c1b433a | 3841 | event occurs before timeout, behave as if the function were interrupted. |
5063dbbf YM |
3842 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
3843 | handling using Time Manager routines. | |
3c1b433a SM |
3844 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
3845 | New variables. | |
5063dbbf YM |
3846 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
3847 | (setitimer): New functions. | |
3848 | ||
3849 | * macfns.c, macmenu.c: Don't include signal.h. | |
3850 | ||
3851 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): | |
3852 | Rename from get_control_part_bound. All callers changed. | |
3853 | (x_scroll_bar_clear): New function. | |
3854 | (x_clear_frame): Use it. | |
3855 | (XTset_vertical_scroll_bar): Don't call Draw1Control. | |
3856 | (x_scroll_bar_handle_click): Change type of second argument from | |
3857 | int to ControlPartCode. | |
3858 | (check_alarm): Remove declaration. | |
02a6375c YM |
3859 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. |
3860 | (XTread_socket): Use ControlPartCode instead of SInt16. | |
5063dbbf YM |
3861 | |
3862 | 2005-05-13 Nozomu Ando <nand@mac.com> | |
3863 | ||
3864 | * unexmacosx.c: Include assert.h. | |
3865 | (MACOSX_MALLOC_MULT16): New define. | |
3866 | [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether | |
3867 | ptr is in unexec regions by checking it is multiple of 16. | |
3868 | (unexec_malloc_header_t): New typedef. | |
3869 | (unexec_malloc, unexec_realloc, unexec_free): Store and use | |
3870 | allocated size information in unexec_malloc_header. | |
3871 | ||
d101bf56 RS |
3872 | 2005-05-10 Richard M. Stallman <rms@gnu.org> |
3873 | ||
3874 | * xterm.c (noinclude): Add #undef. | |
3875 | ||
3876 | * image.c, xfns.c, xmenu.c: Don't include signal.h. | |
3877 | ||
2f60660a JB |
3878 | 2005-05-09 Juanma Barranquero <lekktu@gmail.com> |
3879 | ||
f1701e65 JB |
3880 | * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) |
3881 | (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): | |
3882 | Doc fixes. | |
3883 | ||
2f60660a JB |
3884 | * dired.c (Ffile_name_completion): Make argument name |
3885 | match its use in docstring. | |
3886 | ||
9f29e806 LT |
3887 | 2005-05-08 Luc Teirlinck <teirllm@auburn.edu> |
3888 | ||
3889 | * eval.c (Fdefvaralias): Remove any pre-existing | |
3890 | variable-documentation property of the alias. | |
3891 | ||
a790bcd4 TTN |
3892 | 2005-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
3893 | ||
3894 | * xfns.c (start_hourglass): Do nothing when running on a tty. | |
3895 | ||
d5fb8dab JB |
3896 | 2005-05-07 Juanma Barranquero <lekktu@gmail.com> |
3897 | ||
3898 | * fns.c (Fchar_table_range): Fix typos in docstring. | |
3899 | ||
7ec64183 SM |
3900 | 2005-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3901 | ||
3902 | * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. | |
3903 | ||
6ff95f1d EZ |
3904 | 2005-05-06 Eli Zaretskii <eliz@gnu.org> |
3905 | ||
2c6b25c7 EZ |
3906 | * lread.c (Flocate_file_internal): Doc fix. |
3907 | ||
6ff95f1d EZ |
3908 | * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. |
3909 | ||
17d28d26 YM |
3910 | 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3911 | ||
3912 | * macselect.c (x_own_selection): Accept Lisp string as result of | |
3913 | selection converter function. | |
3914 | (x_clear_frame_selections): Don't call x-lost-selection-functions | |
3915 | if Emacs is not owner of the selection. | |
3916 | (Vmac_services_selection): Put variable and initialization in | |
3917 | #ifdef MAC_OSX. | |
3918 | (syms_of_macselect) [MAC_OSX]: Set default value of | |
3919 | Vmac_services_selection to PRIMARY. | |
3920 | ||
7ec64183 SM |
3921 | * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. |
3922 | (mac_handle_tool_bar_click): Remove unused function and declaration. | |
17d28d26 YM |
3923 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) |
3924 | (install_scroll_bar_timer, set_scroll_bar_timer) | |
3925 | (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) | |
3926 | (get_control_part_bound, x_scroll_bar_handle_press) | |
3927 | (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) | |
3928 | (x_set_toolkit_scroll_bar_thumb): New functions and declarations. | |
3929 | [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) | |
3930 | (scroll_bar_timer_event_posted_p): New variables. | |
3931 | [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) | |
3932 | (SCROLL_BAR_CONTINUOUS_DELAY): New macros. | |
3933 | (x_scroll_bar_create): Set control reference with NewControl. | |
7ec64183 SM |
3934 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
3935 | Initialize track_top and track_height to nil. | |
3936 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement): | |
3937 | Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. | |
17d28d26 YM |
3938 | (XTset_vertical_scroll_bar): Don't make space between scroll bar |
3939 | and associated window. | |
3940 | (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width | |
3941 | from window config. | |
7ec64183 SM |
3942 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
3943 | Set track_top and track_height to nil when scroll bar size is changed. | |
17d28d26 YM |
3944 | Recalculate them if they are nil. |
3945 | (XTread_socket) [MAC_OSX]: Use control kind to determine if the | |
3946 | clicked control is a scroll bar. | |
3947 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar | |
3948 | event handler functions. Don't add modifiers to scroll bar click | |
7ec64183 | 3949 | events. Call scroll bar release handler when window is deactivated. |
17d28d26 | 3950 | (mac_initialize): Remove unused code for X toolkit. |
7ec64183 SM |
3951 | (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: |
3952 | Initialize Vx_toolkit_scroll_bars to nil. | |
17d28d26 | 3953 | |
7ec64183 SM |
3954 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
3955 | New members track_top and track_height. | |
17d28d26 YM |
3956 | |
3957 | * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine | |
3958 | init_process when including sys/select.h. | |
3959 | ||
643b4cf5 LT |
3960 | 2005-05-05 Luc Teirlinck <teirllm@auburn.edu> |
3961 | ||
3962 | * eval.c (Fdefvaralias): Doc fix. | |
3963 | ||
3964 | * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
3965 | ||
99bda128 KS |
3966 | 2005-05-05 Kim F. Storm <storm@cua.dk> |
3967 | ||
3968 | * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows | |
3969 | default value. | |
3970 | (syms_of_buffer): Add default-cursor-in-non-selected-windows. | |
3971 | Fix type of cursor-in-non-selected-windows. | |
3972 | ||
3a3563e9 JD |
3973 | 2005-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3974 | ||
3975 | * mac.c: #undef init_process so not to conflict with system headers. | |
3976 | ||
0124c5bd RS |
3977 | 2005-05-02 Richard M. Stallman <rms@gnu.org> |
3978 | ||
3979 | * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. | |
3980 | ||
3981 | * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. | |
3982 | ||
3983 | * xdisp.c (Vcursor_in_non_selected_windows) | |
3984 | (Qcursor_in_non_selected_windows): Vars deleted. | |
3985 | (syms_of_xdisp): Don't initialize them. | |
3986 | (get_window_cursor_type): Use cursor_in_non_selected_windows | |
3987 | buffer slot. | |
3988 | ||
4b3f161f KS |
3989 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
3990 | ||
e40527dc KS |
3991 | * macros.c (executing_kbd_macro_index): Rename from |
3992 | executing_macro_index. All uses changed. | |
3993 | (executing_kbd_macro_iterations): Rename from | |
3994 | executing_macro_iterations. All uses changed. | |
3995 | (executing_kbd_macro): Rename from executing_macro. | |
3996 | All uses changed. | |
3997 | (syms_of_macros): Rename Lisp var executing-macro-index to | |
3998 | executing-kbd-macro-index. | |
3999 | ||
4b3f161f KS |
4000 | * xdisp.c (move_it_in_display_line_to): Fix last change. |
4001 | ||
4d49edf6 LT |
4002 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
4003 | ||
f6b1b15a LT |
4004 | * xmenu.c (Fx_popup_menu): Doc fix. |
4005 | ||
4d49edf6 LT |
4006 | * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. |
4007 | ||
4a766fe6 JR |
4008 | 2005-05-02 Jason Rumney <jasonr@gnu.org> |
4009 | ||
4010 | * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. | |
4011 | ||
c924d3ff TTN |
4012 | 2005-05-02 Nozomu Ando <nand@mac.com> |
4013 | ||
4014 | * sysselect.h: Fix typo. | |
4015 | ||
b161ea4e | 4016 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> |
5c2e5a5e | 4017 | |
b161ea4e NR |
4018 | * charset.c (Fchars_in_region): Remove as obsolete. |
4019 | ||
d37e919d | 4020 | 2005-05-01 Kim F. Storm <storm@cua.dk> |
b161ea4e NR |
4021 | |
4022 | * xdisp.c (move_it_in_display_line_to): Stop if we move beyond | |
7ec64183 | 4023 | TO_CHARPOS. This may happen if last glyphs was an image or stretch |
b161ea4e | 4024 | glyph. |
5c2e5a5e | 4025 | |
bec0b768 LT |
4026 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
4027 | ||
4028 | * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. | |
4029 | ||
ebbfa918 RS |
4030 | 2005-05-01 Richard M. Stallman <rms@gnu.org> |
4031 | ||
4032 | * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): | |
4033 | If user cancels the menu, quit unless FOR_CLICK. | |
4034 | ||
7ec64183 | 4035 | * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. |
ebbfa918 RS |
4036 | All uses changed. |
4037 | (syms_of_macros): Define only executing-kbd-macro, not executing-macro. | |
4038 | * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. | |
4039 | * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. | |
4040 | * commands.h (Vexecuting_kbd_macro): Likewise. | |
4041 | ||
a72c2d97 TTN |
4042 | 2005-05-01 Thien-Thi Nguyen <ttn@gnu.org> |
4043 | ||
4044 | * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. | |
4045 | ||
7e995a23 RS |
4046 | 2005-04-30 Richard M. Stallman <rms@gnu.org> |
4047 | ||
4048 | * fileio.c (Ffind_file_name_handler): Handle the `operations' | |
4049 | property of the file name handler. | |
4050 | (Qoperations): New variable. | |
4051 | (syms_of_fileio): Initialize and staticpro it. | |
4052 | ||
4053 | * xdisp.c (set_message_1): Delete xassert. | |
4054 | ||
7a92caf8 YM |
4055 | 2005-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4056 | ||
7ec64183 | 4057 | * mac.c: Don't include time.h. Include sysselect.h after systime.h. |
7a92caf8 YM |
4058 | |
4059 | * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. | |
4060 | ||
4061 | * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime | |
4062 | before/after including Carbon.h if there is a working mktime. | |
4063 | ||
5ae91803 KS |
4064 | 2005-04-28 Kim F. Storm <storm@cua.dk> |
4065 | ||
4066 | * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. | |
4067 | Fix cyclic alias check. If alias loop is detected, signal | |
4068 | circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. | |
4069 | ||
d79b6c21 LK |
4070 | 2005-04-28 Lute Kamstra <lute@gnu.org> |
4071 | ||
4072 | * eval.c (do_autoload): Record only autoloads in the autoload | |
4073 | property of symbols. | |
4074 | ||
8c75afbf NR |
4075 | 2005-04-28 Nick Roberts <nickrob@snap.net.nz> |
4076 | ||
4077 | * emacs.c (USAGE1): Add --basic-display and --quick options. | |
4078 | ||
832e294f KS |
4079 | 2005-04-27 Kim F. Storm <storm@cua.dk> |
4080 | ||
4081 | * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. | |
4082 | ||
f03f317a RS |
4083 | 2005-04-26 Richard M. Stallman <rms@gnu.org> |
4084 | ||
c019856e RS |
4085 | * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. |
4086 | (syms_of_window): Doc fixes. | |
4087 | ||
f03f317a RS |
4088 | * indent.c (Fvertical_motion): Undo previous change. |
4089 | ||
38f60cd9 KH |
4090 | 2005-04-26 Kenichi Handa <handa@m17n.org> |
4091 | ||
4092 | * fns.c (char_table_range): New function. | |
4093 | (Fchar_table_range): Signal an error if characters in the range | |
4094 | have inconsistent values. Don't check the parent. | |
4095 | ||
87ede5a1 KH |
4096 | 2005-04-25 Kenichi Handa <handa@m17n.org> |
4097 | ||
4098 | * fontset.c (fontset_set): Fix previous change. | |
4099 | ||
a6390474 RS |
4100 | 2005-04-24 Richard M. Stallman <rms@gnu.org> |
4101 | ||
4102 | * indent.c (Fvertical_motion): Bind fontification-functions to nil. | |
4103 | ||
7fce7dfe EZ |
4104 | 2005-04-24 Eli Zaretskii <eliz@gnu.org> |
4105 | ||
cf1982d9 EZ |
4106 | * regex.c (re_search_2, re_match_2_internal): Convert second arg |
4107 | of RE_TRANSLATE to int, to shut up GCC warnings. | |
4108 | ||
7fce7dfe EZ |
4109 | * fileio.c (Fcopy_file): Doc fix. |
4110 | [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and | |
4111 | not needed. | |
4112 | ||
49ed33c7 YM |
4113 | 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4114 | ||
4115 | * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. | |
4116 | (SOME_MACHINE_OBJECTS): Likewise. | |
4117 | (mac.o): Depend on ccl.h. | |
4118 | (macselect.o): New target. | |
4119 | ||
7ec64183 SM |
4120 | * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: |
4121 | Call syms_of_macselect. | |
49ed33c7 YM |
4122 | |
4123 | * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. | |
4124 | ||
7ec64183 | 4125 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. |
49ed33c7 YM |
4126 | (QCLIPBOARD): Remove variable. |
4127 | (syms_of_mac): Don't initialize it. | |
4128 | (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): | |
4129 | Remove functions. | |
4130 | (syms_of_mac): Don't defsubr them. | |
4131 | [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) | |
4132 | (QHFS_plus_D, QHFS_plus_C): New variables. | |
4133 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
4134 | [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) | |
4135 | (cfstring_create_normalized): New functions. | |
4136 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. | |
4137 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
4138 | ||
7ec64183 SM |
4139 | * macterm.c (handling_window_update, terminate_flag): |
4140 | Remove variables. | |
4141 | (do_window_update, do_ae_quit_application, XTread_socket): | |
4142 | Don't use them. | |
49ed33c7 YM |
4143 | (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. |
4144 | [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) | |
4145 | (init_service_handler): Move to macselect.c. Remove declarations. | |
4146 | [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. | |
4147 | (Qapplication, Qabout): New variables. | |
4148 | (syms_of_mac): Initialize them. | |
4149 | [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) | |
4150 | (Qperform): New variables. | |
4151 | (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. | |
7a92caf8 | 4152 | (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. |
49ed33c7 YM |
4153 | (do_menu_choice): Unhighlight menu bar also when menu_id is 0. |
4154 | (mac_store_application_menu_event, init_menu_bar): New functions. | |
4155 | [USE_CARBON_EVENTS] (mac_handle_command_event) | |
4156 | (init_command_handler): New functions. | |
4157 | (mac_handle_window_event): Return noErr on window update event. | |
4158 | (do_ae_quit_application): Call mac_store_application_menu_event. | |
4159 | (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler | |
4160 | and init_menu_bar. | |
4161 | ||
4162 | * macterm.h (x_clear_frame_selections): Add extern. | |
4163 | ||
4164 | * macselect.c: New file for selection processing on Mac OS. | |
4165 | ||
469bc679 RS |
4166 | 2005-04-23 Richard M. Stallman <rms@gnu.org> |
4167 | ||
4168 | * fileio.c (Fcopy_file): New arg MUSTBENEW. | |
4169 | (Frename_file): Pass new arg to Fcopy_file. | |
4170 | ||
4171 | * window.c (window_size_fixed): Variable deleted. | |
4172 | (syms_of_window): Initialize window-size-fixed to nil. | |
4173 | But don't DEFVAR window_size_fixed. | |
4174 | ||
d379c558 AS |
4175 | 2005-04-23 Andreas Schwab <schwab@suse.de> |
4176 | ||
4177 | * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. | |
4178 | (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to | |
4179 | use lib64 instead of lib. | |
4180 | (_LP64) [_ARCH_PPC64]: Define if not defined. | |
4181 | ||
007d105b TTN |
4182 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
4183 | ||
4184 | * s/ms-w32.h (HAVE_PWD_H): Define. | |
4185 | ||
b9c15916 KH |
4186 | 2005-04-22 Kenichi Handa <handa@m17n.org> |
4187 | ||
4188 | * fns.c (copy_sub_char_table): Explicitly copy the default value | |
4189 | of the sub-chartable. | |
4190 | ||
4191 | * fontset.c (fontset_set): When a sub-chartable is created, | |
4192 | explicitly sets the defalt value. | |
4193 | ||
1ba52906 KS |
4194 | 2005-04-22 Kim F. Storm <storm@cua.dk> |
4195 | ||
4196 | * fns.c (Fplist_get): Replace by Fsafe_plist_get. | |
4197 | (Fsafe_plist_get): Rename to Fplist_get. | |
4198 | (Fsafe_get): Remove, as Fget now uses safe Fplist_get. | |
4199 | (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. | |
4200 | ||
4201 | * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. | |
4202 | ||
4203 | * xdisp.c (store_mode_line_string, produce_stretch_glyph) | |
4204 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
4205 | Use Fplist_get instead of Fsafe_plist_get. | |
4206 | ||
4207 | * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. | |
4208 | ||
e235145c MB |
4209 | 2005-04-21 Miles Bader <miles@gnu.org> |
4210 | ||
4211 | * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. | |
4212 | ||
766c5349 TTN |
4213 | 2005-04-20 Thien-Thi Nguyen <ttn@gnu.org> |
4214 | ||
c164a7e6 TTN |
4215 | * sysdep.c: Remove reference to defunct vms-pwd.h. |
4216 | * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. | |
4217 | * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. | |
4218 | ||
766c5349 TTN |
4219 | * config.in: Regenerate. |
4220 | ||
2b048bf5 KH |
4221 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
4222 | ||
4223 | * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. | |
4224 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. | |
4225 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. | |
4226 | ||
4227 | * alloc.c (make_sub_char_table): Argument changed to initial | |
4228 | value of the slots. | |
4229 | ||
4230 | * data.c (Faref): Handle special slots used as default values of | |
4231 | ascii, eight-bit-control, eight-bit-control. Don't ignore a | |
4232 | default value set for a group of characters. | |
4233 | (Faset): Signal an error if IDXVAL is not a valid character code. | |
4234 | Make a sub-chartable with correct initial value. | |
4235 | ||
4236 | * fns.c (Fset_char_table_range): Don't set slots used as default | |
7ec64183 SM |
4237 | values for ascii, eight-bit-control, eight-bit-graphic. |
4238 | Don't call Faref with charset-id. | |
2b048bf5 KH |
4239 | (Fset_char_table_default): Document how to treat normal character |
4240 | argument. Handle special slots used as default values of ascii, | |
4241 | eight-bit-control, eight-bit-control. Make a sub chartable if | |
4242 | necessary. | |
4243 | ||
b0a35939 KH |
4244 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
4245 | ||
4246 | * search.c (boyer_moore): Fix previous change. | |
4247 | ||
98dde726 KS |
4248 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
4249 | ||
4250 | * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default | |
4251 | face unless last visible char and first invisible char have the | |
4252 | same face. Also use default face if saved_face_id is undefined. | |
4253 | ||
327a3376 YM |
4254 | 2005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4255 | ||
4256 | * macgui.h (MacFontStruct): Remove member `fontname'. Add member | |
4257 | `full_name'. | |
4258 | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for | |
4259 | mac_scriptcode member. | |
4260 | ||
4261 | * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. | |
4262 | (syms_of_mac): Don't initialize them. | |
4263 | (Vmac_charset_info_alist): New variable. | |
4264 | (syms_of_mac): Defvar it. | |
4265 | (create_text_encoding_info_alist): New function. | |
4266 | (decode_mac_font_name, mac_to_x_fontname) | |
4267 | (x_font_name_to_mac_font_name, init_font_name_table): Don't hard | |
4268 | code the correspondence among XLFD charsets, Mac script codes, and | |
4269 | Emacs coding systems. Use Vmac_charset_info_alist and result of | |
4270 | create_text_encoding_info_alist instead. | |
4271 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager | |
4272 | routines also on Mac OS Classic. | |
7ec64183 SM |
4273 | (init_font_name_table) [!TARGET_API_MAC_CARBON]: |
4274 | Use add_font_name_table_entry. | |
327a3376 YM |
4275 | (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as |
4276 | specified. Derive unspecified scalable fields from specified one. | |
4277 | (x_list_fonts): Consider Valternate_fontname_alist. | |
4278 | (kDefaultFontSize): Change value from 9 to 12. | |
4279 | (XLoadQueryFont): Get decoded font family, font face, and charset | |
4280 | from x_font_name_to_mac_font_name. Set full name of loaded font. | |
4281 | (mac_unload_font): Free `full_name' member. | |
4282 | (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns | |
4283 | NULL. Copy full_name member of struct MacFontStruct to that of | |
4284 | struct font_info. | |
4285 | ||
d0636839 KS |
4286 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
4287 | ||
5827e9d4 KS |
4288 | * xdisp.c (handle_stop): Set saved_face_id to current face if |
4289 | selective_display_ellipsis_p so ellipsis will be shown in same | |
4290 | face as preceding text. | |
4291 | (setup_for_ellipsis): Don't set saved_face_id here. | |
4292 | (next_element_from_display_vector): Default to saved_face_id. | |
4293 | ||
d0636839 KS |
4294 | * fns.c (Fsafe_get): New function. |
4295 | (syms_of_fns): Defsubr it. | |
4296 | ||
4297 | * lisp.h (Fsafe_get): EXFUN it. | |
4298 | ||
4299 | * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay | |
4300 | loops in case of bad face property lists. Limit number of face | |
4301 | alias lookups to 10 (in case of face alias loops). | |
4302 | ||
e5c78c9d KS |
4303 | 2005-04-18 Kim F. Storm <storm@cua.dk> |
4304 | ||
4305 | * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. | |
4306 | It replaces the corresponding member from struct window, as a | |
4307 | window may now show multiple overlay arrows. | |
4308 | Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. | |
4309 | ||
4310 | * dispnew.c (row_equal_p, update_window_line, scrolling_window): | |
4311 | Compare overlay_arrow_bitmap than overlay_arrow_p members. | |
4312 | ||
4313 | * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row | |
4314 | rather than from window. | |
4315 | (update_window_fringes): Compare overlay_arrow_bitmap rather than | |
4316 | overlay_arrow_p members. | |
4317 | (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name | |
4318 | if not default. | |
4319 | ||
4320 | * window.h (struct window): Remove member overlay_arrow_bitmap. | |
4321 | ||
4322 | * window.c (make_window): Don't initialize overlay_arrow_bitmap. | |
4323 | ||
4324 | * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. | |
4325 | Calls changed. Don't check for overlay-arrow-bitmap property here. | |
4326 | (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left | |
4327 | fringe is present, return Lisp integer for bitmap (or -1 for default). | |
4328 | Fix value of overlay-arrow-bitmap property to be a symbol, use | |
4329 | lookup_fringe_bitmap to parse it. | |
4330 | (display_line): Change call to overlay_arrow_at_row. Store integer | |
4331 | return value as overlay bitmap in row rather than window. | |
4332 | Only show overlay arrow if row displays text, or if no other overlay | |
4333 | arrow is seen in window (if overlay marker is at point-max). | |
4334 | ||
7d603e3f TTN |
4335 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
4336 | ||
4337 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | |
4338 | ||
9942fa0c LK |
4339 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
4340 | ||
4341 | * lread.c (Vloads_in_progress): Static. | |
4342 | * fns.c (Vloads_in_progress): Remove extern. | |
4343 | (load_in_progress): Add extern. | |
4344 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | |
4345 | ||
999cdb8f TTN |
4346 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
4347 | ||
4348 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | |
4349 | ||
3f4413f8 YM |
4350 | 2005-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4351 | ||
4352 | * macterm.c (XTread_socket): Don't beep on keyboard input even if | |
4353 | no frame is visible. | |
4354 | ||
60ec7b7e DN |
4355 | 2005-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
4356 | ||
4357 | * term.c (struct keys): Add support for shifted keys. | |
4358 | ||
a8a1c0ee RS |
4359 | 2005-04-16 Richard M. Stallman <rms@gnu.org> |
4360 | ||
4361 | * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. | |
4362 | (set_message): Call with_echo_area_buffer with WHICH = 0. | |
4363 | (set_message_1): Erase the echo area buffer first thing. | |
4364 | (echo_area_display): Don't clear echo_message_buffer. | |
4365 | ||
f3cf04d3 YM |
4366 | 2005-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4367 | ||
4368 | * Makefile.in (mac.o): Depend on charset.h and coding.h. | |
4369 | ||
4370 | * mac.c: Include charset.h and coding.h. | |
4371 | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. | |
7ec64183 | 4372 | [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. |
f3cf04d3 YM |
4373 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. |
4374 | ||
4375 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
4376 | ||
4377 | * image.c [MAC_OSX] (image_load_quartz2d): Likewise. | |
4378 | ||
4379 | * macterm.c (x_autoselect_window_p): Remove variable. | |
4380 | (last_window): New variable. | |
7ec64183 SM |
4381 | (XTreassert_line_highlight, x_change_line_highlight): |
4382 | Remove declarations. | |
f3cf04d3 YM |
4383 | (mac_focus_changed, x_detect_focus_change): New functions and |
4384 | declarations. | |
4385 | (XTextExtents16, front_emacs_window): Remove function. | |
4386 | (mac_focus_frame): New function. | |
4387 | (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) | |
4388 | (mac_check_for_quit_char): Use it instead of front_emacs_window. | |
4389 | (x_scroll_bar_report_motion): Obtain window from control owner. | |
4390 | (x_make_frame_invisible): Set window manager size hint. | |
4391 | (do_mouse_moved): Remove function. | |
4392 | (XTread_socket): Move its contents here. Generate select-window | |
4393 | event on mouse movement if needed. Use x_detect_focus_change on | |
4394 | activate/deactivate events. Don't deiconify frame or invalidate | |
7ec64183 SM |
4395 | window rectangle when dnd items are dropped. |
4396 | Don't activate/deactivate root control. | |
f3cf04d3 YM |
4397 | (frame_highlight, frame_unhighlight): Activate/deactivate root |
4398 | control here. | |
4399 | (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. | |
4400 | ||
4401 | * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: | |
4402 | New extern. | |
4403 | ||
9e5b2858 LT |
4404 | 2005-04-15 Luc Teirlinck <teirllm@auburn.edu> |
4405 | ||
4406 | * Makefile.in: Define new macro TOOLTIP_SUPPORT. | |
4407 | (lisp): Use it. | |
4408 | (SOME_MACHINE_LISP): Add tooltip. | |
4409 | ||
42c6741e YM |
4410 | 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4411 | ||
7ec64183 SM |
4412 | * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. |
4413 | Don't include TextEncodingConverter.h. | |
42c6741e YM |
4414 | (mac_system_script_code, Vmac_system_locale): New variables. |
4415 | (syms_of_mac): Defvar them. | |
4416 | (mac_get_system_locale): New function. | |
4417 | ||
7ec64183 SM |
4418 | * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: |
4419 | Use ENCODE_SYSTEM to encode title bar string. | |
42c6741e | 4420 | (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. |
7ec64183 SM |
4421 | (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: |
4422 | Use CFStringGetSystemEncoding to get system default string encoding. | |
42c6741e YM |
4423 | |
4424 | * macterm.c [!TARGET_API_MAC_CARBON]: Don't include | |
4425 | TextEncodingConverter.h. | |
4426 | ||
0614c575 ST |
4427 | 2005-04-13 Steven Tamm <steventamm@mac.com> |
4428 | ||
7e26f91b KS |
4429 | * macterm.c (syms_of_macterm): Remove redundant definition of |
4430 | mac-pass-control-to-system. | |
0614c575 | 4431 | |
203eb0aa SM |
4432 | 2005-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
4433 | ||
4434 | * window.c (Fset_window_configuration): Be careful when you choose | |
4435 | among several possible points for the new_current_buffer. | |
4436 | ||
a56e6111 YM |
4437 | 2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4438 | ||
4439 | * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call | |
4440 | poll_for_input_1. Set interrupt_input_pending to 1 instead. | |
b7461be9 YM |
4441 | (Qlanguage_change) [MAC_OS]: New variable. |
4442 | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. | |
203eb0aa | 4443 | (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. |
b7461be9 YM |
4444 | |
4445 | * macterm.c (mac_keyboard_text_encoding) | |
4446 | (current_mac_keyboard_text_encoding): Remove variables. | |
7e26f91b KS |
4447 | (XTread_socket): Store language-change event if keyboard script change |
4448 | is detected. Don't convert input to `mac_keyboard_text_encoding'. | |
203eb0aa | 4449 | (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. |
b7461be9 | 4450 | |
7e26f91b | 4451 | * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. |
a56e6111 | 4452 | |
6695c528 RS |
4453 | 2005-04-10 Richard M. Stallman <rms@gnu.org> |
4454 | ||
4455 | * emacs.c (standard_args): Rename --bare-bones to --quick. | |
4456 | Add -D aka --basic-display. | |
4457 | ||
4458 | * buffer.c (Fmake_indirect_buffer): Clear out some local variables. | |
4459 | ||
18e2d91f RS |
4460 | 2005-04-09 Richard M. Stallman <rms@gnu.org> |
4461 | ||
4462 | * keymap.c (where_is_internal): Convert a string used as event type | |
4463 | into "(any string)". | |
4464 | ||
4465 | * lread.c (Vloads_in_progress): Not static. | |
18e2d91f RS |
4466 | * fns.c (Vloads_in_progress): Add extern. |
4467 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | |
4468 | ||
4469 | 2005-04-09 Thien-Thi Nguyen <ttn@surf.glug.org> | |
4470 | ||
4471 | * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. | |
4472 | ||
1cf21850 LK |
4473 | 2005-04-09 Lute Kamstra <lute@gnu.org> |
4474 | ||
4475 | * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is | |
4476 | within the accessible part of the buffer. | |
4477 | ||
bfd93240 KS |
4478 | 2005-04-09 Kim F. Storm <storm@cua.dk> |
4479 | ||
4480 | * lread.c (readevalloop): Add args START and END as region in | |
4481 | current buffer to read. Callers changed. | |
4482 | When specified, narrow to this region only when reading, | |
4483 | not during eval. Track next point to read from during eval. | |
4484 | Also restore point to "real" buffer position before eval. | |
4485 | (Feval_region): Don't save excursion and restriction here, and | |
4486 | don't narrow to region. Just pass region to readevalloop. | |
4487 | Note: Point is now preserved even when PRINTFLAG is nil. | |
4488 | ||
9ba27690 KS |
4489 | 2005-04-08 Kim F. Storm <storm@cua.dk> |
4490 | ||
4491 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | |
4492 | ||
73f0d996 KS |
4493 | 2005-04-06 Kim F. Storm <storm@cua.dk> |
4494 | ||
4495 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | |
4496 | ||
369f76bb YM |
4497 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4498 | ||
4499 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | |
4500 | (Fmac_get_preference): Doc fix. | |
4501 | ||
203eb0aa SM |
4502 | * macfns.c (Fx_create_frame, x_create_tip_frame): |
4503 | Add "fontset-mac" to fallback font/fontsets. | |
369f76bb | 4504 | |
2ba613a6 KS |
4505 | 2005-04-04 Kim F. Storm <storm@cua.dk> |
4506 | ||
4d5ddddc KS |
4507 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. |
4508 | ||
2ba613a6 KS |
4509 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. |
4510 | Call it again after autoload. | |
4511 | ||
1673df2e JD |
4512 | 2005-04-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4513 | ||
4514 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | |
4515 | mallopt. | |
4516 | ||
4517 | * ralloc.c (r_alloc_init): Ditto. | |
4518 | ||
41639988 KH |
4519 | 2005-04-01 Kenichi Handa <handa@m17n.org> |
4520 | ||
1cf21850 LK |
4521 | * lisp.h (Vascii_upcase_table, Vascii_canon_table) |
4522 | (Vascii_eqv_table): Extern them. | |
41639988 KH |
4523 | |
4524 | * casetab.c (set_case_table): If standard is nonzero, setup | |
4525 | Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. | |
4526 | ||
4527 | * search.c (looking_at_1): Use current_buffer->case_canon_table, | |
4528 | not DOWNCASE_TABLE. | |
4529 | (string_match_1): Likewise. | |
4530 | (fast_c_string_match_ignore_case): Use Vascii_canon_table, not | |
4531 | Vascii_downcase_table. | |
4532 | (fast_string_match_ignore_case): Likewise. | |
4533 | (search_buffer): Fix checking of boyer-moore usability. | |
203eb0aa SM |
4534 | (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. |
4535 | No need of tranlating characters in PAT. Fix calculation of | |
41639988 KH |
4536 | simple_translate. |
4537 | ||
6ca53601 SM |
4538 | 2005-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
4539 | ||
4540 | * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. | |
4541 | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. | |
4542 | Use XtNtopShadowPixel and XtNbottomShadowPixel. | |
4543 | (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't | |
4544 | really work and that breaks with some versions of Xaw3d. | |
4545 | ||
fafbb99d | 4546 | 2005-03-31 Kenichi Handa <handa@m17n.org> |
bf762c98 KH |
4547 | |
4548 | * coding.c (syms_of_coding): Fix previous change. | |
4549 | ||
6ca53601 SM |
4550 | 2005-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
4551 | ||
4552 | * fileio.c (search_embedded_absfilename): Fix last change. | |
4553 | ||
bf762c98 KH |
4554 | 2005-03-25 Kenichi Handa <handa@m17n.org> |
4555 | ||
4556 | * coding.c (syms_of_coding): Suggest to use set-coding-category in | |
4557 | the docstring of coding-category-list. | |
4558 | ||
f793f885 KS |
4559 | 2005-03-31 Kim F. Storm <storm@cua.dk> |
4560 | ||
4561 | * keyboard.c (Qmouse_fixup_help_message): New var. | |
4562 | (syms_of_keyboard): Intern and staticpro it. | |
4563 | (show_help_echo): Apply mouse-fixup-help-message to help string. | |
4564 | ||
c364fe19 KS |
4565 | 2005-03-30 Kim F. Storm <storm@cua.dk> |
4566 | ||
4567 | * xdisp.c (display_line): Allow multiple overlay arrows in window. | |
4568 | ||
c70a4df6 SM |
4569 | 2005-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
4570 | ||
4571 | * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. | |
4572 | (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. | |
4573 | (Ffile_name_absolute_p): Use it. | |
4574 | (search_embedded_absfilename): New fun, extracted from | |
4575 | Fsubstitute_in_file_name. Use file_name_absolute_p. | |
4576 | Free the pw data after use. | |
4577 | (Fsubstitute_in_file_name): Use it. | |
4578 | After cutting a prefix, re-check file-name-handler. | |
4579 | ||
6e7d0438 JR |
4580 | 2005-03-26 Lennart Borgman <lennart.borgman.073@student.lu.se> |
4581 | ||
6ca53601 | 4582 | * w32term.h (x_output): Add focus_state. |
6e7d0438 JR |
4583 | |
4584 | * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. | |
4585 | (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change. | |
4586 | ||
65671706 SM |
4587 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
4588 | ||
4589 | * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): | |
4590 | Use Fexit_minibuffer. | |
4591 | (Fexit_minibuffer): Mark it as no-return, deactivate the mark. | |
4592 | ||
0de4dad4 SM |
4593 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
4594 | ||
781da985 SM |
4595 | * dired.c (Ffile_attributes): Add a missing gcpro. |
4596 | ||
0de4dad4 SM |
4597 | * alloc.c (make_number): The arg can be bigger than `int'. |
4598 | * lisp.h (make_number): Make prototype more precise. | |
4599 | ||
4600 | * process.c, dired.c (Vfile_name_coding_system) | |
4601 | (Vdefault_file_name_coding_system): | |
4602 | * callproc.c (Vdoc_file_name, Vfile_name_coding_system) | |
4603 | (Vdefault_file_name_coding_system): Remove unused declarations. | |
4604 | ||
ff18668f JD |
4605 | 2005-03-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4606 | ||
4607 | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | |
4608 | if it failed to pop up (Gnome "show pointer on ctrl" option makes | |
4609 | menus fail to pop up). | |
4610 | ||
0de4dad4 | 4611 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
66347da7 SM |
4612 | |
4613 | * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. | |
0de4dad4 | 4614 | Just prepend a backslash without replacing the NBSP by an SPC. |
66347da7 | 4615 | |
8df0ffbe KS |
4616 | 2005-03-22 Kim F. Storm <storm@cua.dk> |
4617 | ||
4618 | * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. | |
4619 | * dispextern.h (lookup_derived_face): Fix prototype. | |
4620 | * msdos.c (XMenuActivate): Fix call to lookup_derived_face. | |
4621 | ||
4622 | * xdisp.c (handle_single_display_spec): Derive left-fringe and | |
4623 | right-fringe face from fringe face. | |
4624 | ||
4625 | * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): | |
4626 | Derive face from fringe face. | |
4627 | ||
6ca30ba4 JD |
4628 | 2005-03-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4629 | ||
4630 | * xrdb.c (x_load_resources): Undo previous change (2005-03-18). | |
4631 | ||
d615870a DK |
4632 | 2005-03-22 David Kastrup <dak@gnu.org> |
4633 | ||
4634 | * textprop.c (Fnext_char_property_change) | |
66347da7 | 4635 | (Fprevious_char_property_change): Allow marker as limit. |
d615870a DK |
4636 | (Fnext_single_char_property_change) |
4637 | (Fprevious_single_char_property_change): Check that limit is a | |
4638 | number in strings. | |
4639 | (Fnext_single_char_property_change): Coerce position to integer. | |
4640 | (Fprevious_single_char_property_change): Same here. | |
4641 | ||
32b939ea TTN |
4642 | 2005-03-21 Thien-Thi Nguyen <ttn@gnu.org> |
4643 | ||
4644 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. | |
4645 | ||
6027e473 SM |
4646 | 2005-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
4647 | ||
4648 | * frame.c (Fignore_event): Remove. | |
4649 | (syms_of_frame): Don't defsubr it. | |
4650 | ||
4651 | * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the | |
4652 | redundant `ignore-event'. | |
4653 | ||
730f4d72 EZ |
4654 | 2005-03-19 Eli Zaretskii <eliz@gnu.org> |
4655 | ||
4656 | * unexec.c (write_segment, unexec): Move these functions to avoid | |
4657 | forward references (which cause errors with "gcc -gcoff"). | |
4658 | ||
c7f6afd5 JD |
4659 | 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4660 | ||
6027e473 | 4661 | * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so |
9188be47 | 4662 | that it doesn't become "tooltip". The specbind is enough. |
8d5980cf | 4663 | |
c7f6afd5 JD |
4664 | * xrdb.c (x_load_resources): Use different char *helv when I18N |
4665 | is present. | |
4666 | ||
db328182 KH |
4667 | 2005-03-17 Kenichi Handa <handa@m17n.org> |
4668 | ||
66347da7 | 4669 | * coding.c (syms_of_coding): Docstring of coding-category-list fixed. |
db328182 | 4670 | |
211f2210 SM |
4671 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
4672 | ||
4673 | * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: | |
4674 | Use xic_create_fontsetname even for non-Motif menus. | |
4675 | Don't forget to free the fontsetname. | |
4676 | ||
4677 | * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. | |
4678 | ||
c7bd5d57 RS |
4679 | 2005-03-17 Richard M. Stallman <rms@gnu.org> |
4680 | ||
4681 | * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. | |
4682 | ||
4683 | * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) | |
4684 | (Fmake_symbolic_link): Use G to read the new file name. | |
4685 | ||
4686 | * callint.c (Finteractive): Document G option. | |
4687 | (Fcall_interactively): Implement G option. | |
4688 | ||
4689 | * buffer.c (buffer_lisp_local_variables): New function, | |
4690 | broken out from Fbuffer_local_variables. | |
4691 | (clone_per_buffer_values): Use buffer_lisp_local_variables. | |
4692 | ||
888953f1 SM |
4693 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
4694 | ||
3c916d65 SM |
4695 | * xfns.c (xic_create_fontsetname): Add `motif' argument. |
4696 | Always return a freshly allocated string. | |
4697 | (xic_create_xfontset): Adjust call. | |
4698 | ||
4699 | * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: | |
4700 | Use xic_create_fontsetname to create a fontset so utf-8 locales work. | |
4701 | (dump_realized_face): Fix warning. | |
4702 | ||
9f9e5275 SM |
4703 | * emacs.c (Fkill_emacs): YAILOM. |
4704 | ||
888953f1 SM |
4705 | * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. |
4706 | ||
48502d68 YM |
4707 | 2005-03-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4708 | ||
4709 | * mac.c (HASHKEY_TERMINAL): Remove. | |
4710 | (HASHKEY_MAX_NID): New macro. | |
4711 | (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra | |
4712 | argument. | |
888953f1 | 4713 | (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. |
48502d68 YM |
4714 | (xrm_create_database, xrm_q_put_resource) |
4715 | (xrm_merge_string_database, xrm_q_get_resource_1) | |
4716 | (xrm_q_get_resource): Change resource database representation so | |
4717 | that it may not use multiple hash tables for a single database. | |
4718 | [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. | |
4719 | ||
d5161e8c SM |
4720 | 2005-03-16 Stefan Monnier <monnier@iro.umontreal.ca> |
4721 | ||
11a646cd SM |
4722 | * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. |
4723 | ||
4724 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the | |
4725 | locale-coding-system, as was already done for WINDOWSNT. | |
4726 | ||
d5161e8c SM |
4727 | * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta |
4728 | translation for chars in the 0-255 range. | |
4729 | ||
568b6e41 LK |
4730 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
4731 | ||
4732 | * floatfns.c (Ffloor): Doc fix. | |
4733 | ||
469fb3cf YM |
4734 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4735 | ||
4736 | * mac.c: Include macterm.h instead of directly including Carbon.h. | |
4737 | [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) | |
4738 | (Qarray, Qdictionary): New variables. | |
4739 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
4740 | [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. | |
4741 | [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. | |
4742 | [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used | |
4743 | in callback for CFDictionaryApplyFunction. | |
4744 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
4745 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
4746 | (cfobject_desc_to_lisp, cfdictionary_add_to_list) | |
4747 | (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. | |
4748 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. | |
4749 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
4750 | (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. | |
3d454340 | 4751 | (skip_white_space, parse_comment, parse_include_file) |
469fb3cf YM |
4752 | (parse_binding, parse_component, parse_resource_name, parse_value) |
4753 | (parse_resource_line, xrm_create_database, xrm_q_put_resource) | |
4754 | (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) | |
d5161e8c SM |
4755 | (xrm_cfproperty_list_to_value, xrm_get_preference_database): |
4756 | New functions. | |
469fb3cf YM |
4757 | |
4758 | * macfns.c (mac_get_rdb_resource): Remove function. | |
4759 | (x_get_string_resource): Use xrm_get_resource. | |
4760 | ||
4761 | * macgui.h (XrmDatabase): Typedef to Lisp_Object. | |
4762 | ||
4763 | * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of | |
4764 | name_list_element. | |
4765 | (mac_make_rdb): Create resource database from preferences and | |
4766 | argument string. | |
4767 | (mac_term_init): Save resource database to cddr part of | |
4768 | name_list_element. | |
4769 | ||
4770 | * macterm.h (xrm_merge_string_database, xrm_get_resource) | |
4771 | (xrm_get_preference_database): Add externs. | |
4772 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
4773 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
4774 | (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. | |
4775 | ||
4776 | * process.c (init_process): Change `#ifdef DARWIN' to `#if | |
4777 | defined (DARWIN) || defined (MAC_OSX)' | |
4778 | ||
4779 | * s/darwin.h (DARWIN): Don't define. | |
4780 | ||
6a3fac90 YM |
4781 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4782 | ||
4783 | * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): | |
4784 | Remove unused variables. | |
4785 | (syms_of_macfns): Don't initialize them. Likewise for | |
4786 | Qface_set_after_frame_default. Defvar and initialize | |
4787 | Vx_window_horizontal_drag_shape. | |
4788 | (x_set_mouse_color): Change mouse pointer shape. | |
4789 | (mac_window) [!MAC_OSX]: Create root control. | |
469fb3cf | 4790 | (Fx_create_frame): Remove initializations of mouse pointer shapes. |
6a3fac90 YM |
4791 | (hourglass_started): New function (from xfns.c). |
4792 | (start_hourglass, cancel_hourglass): Put function body in #ifdef | |
4793 | MAC_OSX. | |
4794 | (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress | |
4795 | indicator for each non-tooltip frame if needed, and show it. | |
d5161e8c | 4796 | (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. |
6a3fac90 YM |
4797 | |
4798 | * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and | |
4799 | Controls.h. Use ThemeCursor instead of CursHandle. | |
4800 | ||
d5161e8c SM |
4801 | * macterm.c (activate_scroll_bars, deactivate_scroll_bars): |
4802 | Remove functions and declarations. | |
4803 | (mac_set_colors): Take argument for saving background color. | |
4804 | All callers changed. | |
6a3fac90 YM |
4805 | (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) |
4806 | (mac_draw_rectangle, mac_draw_string_common): Save and Restore | |
4807 | background color. | |
4808 | (x_update_end, mac_do_track_drag): Don't reset background color. | |
d5161e8c SM |
4809 | (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: |
4810 | Use SetThemeCursor. | |
6a3fac90 YM |
4811 | (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress |
4812 | indicator control to the upper-right corner of the window. | |
4813 | (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. | |
4814 | (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. | |
4815 | (do_window_update): Update controls after updating content area. | |
4816 | (mac_handle_window_event): Remove unused extern. | |
4817 | (XTread_socket): Check both control handle and control part code | |
4818 | to determine whether a scroll bar is clicked. Activate/deactivate | |
4819 | root control instead of contained scroll bar controls. | |
4820 | (make_mac_terminal_frame): Use ThemeCursor constants. | |
4821 | ||
d5161e8c SM |
4822 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: |
4823 | New member hourglass_control. | |
6a3fac90 | 4824 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. |
d5161e8c | 4825 | (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. |
6a3fac90 | 4826 | |
a7321976 YM |
4827 | 2005-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4828 | ||
4829 | * macterm.c (keycode_to_xkeysym_table): Change mapping so that it | |
6a3fac90 | 4830 | coincides with that in Apple X11 except `clear', `enter' on |
a7321976 YM |
4831 | laptops, and fn + `enter' on laptops. |
4832 | ||
f7b758bd SM |
4833 | 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
4834 | ||
4835 | * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | |
4836 | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. | |
4837 | (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | |
4838 | ||
4839 | * xfns.c (xic_defaut_fontset): New constant. | |
4840 | (xic_create_fontsetname): New function. | |
4841 | Extracted from create_frame_xic. Try to generate a slightly | |
4842 | better fontset. | |
4843 | (xic_create_xfontset): Use it. | |
4844 | (create_frame_xic): Simplify. | |
4845 | ||
dac24db4 SM |
4846 | 2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
4847 | ||
4848 | * fileio.c (Fmake_symbolic_link): Fix last change. | |
4849 | ||
e0402468 RS |
4850 | 2005-03-11 Richard M. Stallman <rms@gnu.org> |
4851 | ||
4852 | * fileio.c (Frename_file, Fadd_name_to_file) | |
4853 | (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, | |
4854 | expand the basename of FILE relative to it. | |
4855 | ||
fa815b14 KH |
4856 | 2005-03-11 Kenichi Handa <handa@m17n.org> |
4857 | ||
4858 | * fileio.c (Finsert_file_contents): Call Fcheck_coding_system | |
4859 | before calling setup_coding_system so that autoloading of a coding | |
4860 | system work. | |
4861 | ||
817d354b JD |
4862 | 2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4863 | ||
68a505ef JD |
4864 | * xfns.c (hourglass_started): New function. |
4865 | ||
4866 | * dispextern.h: Declare hourglass_started. | |
4867 | ||
4868 | * keyboard.c (Fexecute_extended_command): Restart hourglass | |
4869 | after call to Fcompleting_read if already started. | |
4870 | ||
817d354b JD |
4871 | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the |
4872 | GTK main loop is entered in xterm.c, thus doing the redraw. | |
4873 | ||
b0a6f45c KS |
4874 | 2005-03-10 Kim F. Storm <storm@cua.dk> |
4875 | ||
4876 | * xdisp.c (pos_visible_p): Fix X value in last line of buffer. | |
4877 | ||
ee5d57b0 KH |
4878 | 2005-03-08 Kenichi Handa <handa@m17n.org> |
4879 | ||
4880 | * frame.c (x_set_font): Call set_default_ascii_font if an | |
4881 | available font is found. | |
4882 | ||
4883 | * fontset.c (set_default_ascii_font): New function. | |
dac24db4 | 4884 | (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. |
ee5d57b0 KH |
4885 | |
4886 | * fontset.h (set_default_ascii_font): Extern it. | |
4887 | ||
f30c4a5c KS |
4888 | 2005-03-07 Kim F. Storm <storm@cua.dk> |
4889 | ||
3fb26a86 KS |
4890 | * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. |
4891 | (clear_image_cache_count): New var. | |
4892 | (redisplay_internal): Don't clear face and image caches in the | |
4893 | middle of redisplay; do it afterwards. | |
4894 | ||
a54595d4 KS |
4895 | * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. |
4896 | ||
f30c4a5c KS |
4897 | * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos |
4898 | is valid. If not, clear phys_cursor_on_p and return. | |
4899 | ||
3d182f9d AS |
4900 | 2005-03-07 Andreas Schwab <schwab@suse.de> |
4901 | ||
4902 | * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. | |
4903 | ||
85d964de RS |
4904 | 2005-03-06 Richard M. Stallman <rms@gnu.org> |
4905 | ||
4906 | * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. | |
4907 | ||
4908 | * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. | |
4909 | (Feval, Ffuncall): Use CHECK_CONS_LIST. | |
4910 | ||
4911 | * lisp.h (CHECK_CONS_LIST): New macro (two definitions). | |
4912 | ||
4913 | * blockinput.h (UNBLOCK_INPUT_TO): New macro. | |
4914 | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. | |
4915 | ||
3ff96c81 JL |
4916 | 2005-03-05 Juri Linkov <juri@jurta.org> |
4917 | ||
4918 | * emacs.c (USAGE1): Replace Info node name "command arguments" | |
4919 | with "emacs invocation". | |
4920 | (USAGE3): Fix usage of `--color=MODE' which actually doesn't | |
4921 | allow arguments `--color' and `MODE' to be separated by space. | |
4922 | Add --no-blinking-cursor, -nbc. | |
4923 | (standard_args): Add -nbc, --no-blinking-cursor. | |
4924 | ||
64eb0083 TTN |
4925 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
4926 | ||
4927 | * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. | |
4928 | * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. | |
4929 | * fileio.c (Fexpand_file_name) [VMS]: | |
4930 | Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. | |
4931 | * doc.c (munge_doc_file_name) [VMS]: Likewise. | |
4932 | (Fsnarf_documentation): Call munge_doc_file_name. | |
4933 | ||
ad708ae5 TTN |
4934 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
4935 | ||
4936 | * s/vms.h (FILE_SYSTEM_CASE): New macro. | |
4937 | * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name | |
4938 | "manually"; this is now handled generally via FILE_SYSTEM_CASE. | |
4939 | ||
ba025f6d YM |
4940 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4941 | ||
4942 | * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if | |
4943 | defined (MAC_OSX) && defined (HAVE_CARBON)'. | |
ad708ae5 | 4944 | |
dac24db4 | 4945 | * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. |
ba025f6d YM |
4946 | |
4947 | * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
4948 | [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. | |
dac24db4 | 4949 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. |
ba025f6d YM |
4950 | (mac_clear_font_name_table): Move extern to macterm.h. |
4951 | ||
4952 | * macfns.c (install_window_handler): Move extern to macterm.h. | |
4953 | (Fx_file_dialog): Check STRINGP (default_filename) to see it is | |
4954 | valid. Don't check !NILP (dir) because it is already checked with | |
4955 | CHECK_STRING. | |
4956 | (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for | |
dac24db4 | 4957 | specifying the default location and obtaining the selected filename. |
ba025f6d YM |
4958 | |
4959 | * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
4960 | ||
2313f861 | 4961 | * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that |
ba025f6d YM |
4962 | are included via Carbon.h. |
4963 | ||
dac24db4 SM |
4964 | * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: |
4965 | Define USE_CARBON_EVENTS to 1. | |
2313f861 | 4966 | (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. |
ba025f6d YM |
4967 | (x_free_frame_resources): Call remove_window_handler for |
4968 | non-tooltip windows. | |
4969 | [TARGET_API_MAC_CARBON]: Don't include headers that are included | |
4970 | via Carbon.h. | |
4971 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
4972 | (mac_do_receive_dragUPP): New variables. | |
4973 | (mac_handle_service_event, init_service_handler): Put declarations | |
4974 | and definitions in #ifdef MAC_OSX. | |
4975 | (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for | |
4976 | drag-and-drop handler functions and register them. | |
4977 | (remove_window_handler): New function. | |
dac24db4 SM |
4978 | (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: |
4979 | Use fsspec_to_posix_pathname. | |
ba025f6d YM |
4980 | (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. |
4981 | (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. | |
dac24db4 SM |
4982 | [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: |
4983 | Set default cursors. | |
ba025f6d YM |
4984 | (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call |
4985 | init_service_handler or init_quit_char_handler. | |
4986 | (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. | |
4987 | ||
4988 | * macterm.h (install_window_handler, remove_window_handler) | |
4989 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) | |
4990 | (mac_clear_font_name_table): New externs. | |
ad708ae5 | 4991 | |
c1558952 TTN |
4992 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
4993 | ||
4994 | * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. | |
4995 | (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. | |
4996 | (Fexpand_file_name): Likewise. | |
4997 | ||
fa439170 TTN |
4998 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
4999 | ||
5000 | * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; | |
5001 | no longer special-case VMS. Add bogus return value. | |
5002 | ||
db2dacf6 KS |
5003 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
5004 | ||
5005 | * dispextern.h (XASSERTS): Define to 0 if not already defined. | |
5006 | (xassert) [!XASSERTS]: Define dummy version. | |
5007 | ||
0870514c KS |
5008 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
5009 | ||
5010 | * xdisp.c (redisplay_window): YABX (yet another bogus xassert). | |
5011 | Reported by David Kastrup. | |
5012 | ||
6b640092 KS |
5013 | 2005-03-01 Ehud Karni <ehud@unix.mvs.co.il> |
5014 | ||
5015 | * xdisp.c (get_next_display_element): Fix control and escape | |
5016 | glyph from display vector. | |
5017 | ||
f4a5a485 SM |
5018 | 2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca> |
5019 | ||
5020 | * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. | |
5021 | ||
85d964de RS |
5022 | 2005-02-27 Richard M. Stallman <rms@gnu.org> |
5023 | ||
5024 | * xdisp.c (fast_find_position): Rename END to BEG. | |
5025 | (syms_of_xdisp) <menu-bar-update-hook>: Doc fix. | |
5026 | ||
6e8db3ea JD |
5027 | 2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5028 | ||
f4a5a485 | 5029 | * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to |
6e8db3ea JD |
5030 | gtk_window_resize and x_wm_set_size_hint. |
5031 | ||
0f465b55 KS |
5032 | 2005-02-25 Kim F. Storm <storm@cua.dk> |
5033 | ||
5034 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | |
5035 | ||
5036 | * xdisp.c (init_from_display_pos): Don't read past end of | |
5037 | it->overlay_strings array. | |
5038 | ||
d5fb8dab | 5039 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) |
845a78b4 LK |
5040 | |
5041 | * buffer.c (syms_of_buffer): Fix typo. | |
5042 | ||
b02c3eed LK |
5043 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
5044 | ||
5045 | * buffer.c (Foverlay_buffer): Doc fix. | |
5046 | ||
c8500765 KS |
5047 | 2005-02-22 Kim F. Storm <storm@cua.dk> |
5048 | ||
b686dd59 KS |
5049 | * minibuf.c (Ftry_completion, Fall_completions): Allow both string |
5050 | and symbol keys in alists and hash tables. | |
5051 | ||
c8500765 KS |
5052 | * xdisp.c (fast_find_position): Fix search for start of overlay. |
5053 | ||
81c85b53 KS |
5054 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
5055 | ||
5056 | * window.c (window_scroll_pixel_based): When scrolling backwards, | |
5057 | handle partial visible line at end of window even when we hit PT. | |
5058 | ||
f4a5a485 | 5059 | 2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9df747e1 SM |
5060 | |
5061 | * keymap.h: Declare Fcurrent_active_maps, used in doc.c. | |
5062 | ||
0dd5a842 KS |
5063 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
5064 | ||
5065 | * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. | |
5066 | I think those asserts are bogus if buffer contains invisible text | |
5067 | or images. | |
5068 | ||
d5fb8dab | 5069 | 2005-02-21 David Kastrup <dak@gnu.org> |
19e05d1f KS |
5070 | |
5071 | * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. | |
5072 | ||
0fba9f25 KS |
5073 | 2005-02-20 Kim F. Storm <storm@cua.dk> |
5074 | ||
5075 | * xdisp.c (pos_visible_p): Be sure to move to the specified | |
5076 | position. Always get the full ascent / descent of the | |
5077 | corresponding row, to return reliable rtop and rbot values. | |
5078 | (back_to_previous_visible_line_start): Fix 2005-01-18 change. | |
5079 | Must look one character back, as back_to_previous_line_start | |
5080 | returns position after the newline. | |
5081 | (move_it_vertically_backward): Fix heuristic for when to move further | |
5082 | back in case line_height * 2/3 is larger than window height. | |
5083 | (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p | |
5084 | as it does not do anything anymore. Add arg current_matrix_p to | |
5085 | use current matrix rather than desired matrix when set. | |
5086 | (try_cursor_movement): Don't scroll to make cursor row fully | |
5087 | visible if cursor didn't move. This avoids unexpected recentering | |
5088 | in case of blinking cursor or accepting process output. | |
5089 | Use current matrix to check cursor row visibility. | |
5090 | (redisplay_window): Fix whether to recenter or move to top in case | |
5091 | cursor line is taller than window height. | |
5092 | (find_first_unchanged_at_end_row): Stop search if we reach a row | |
5093 | which not enabled (instead of abort). | |
5094 | ||
b1c2adc3 KS |
5095 | 2005-02-18 Kim F. Storm <storm@cua.dk> |
5096 | ||
c2ee48fb KS |
5097 | * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property |
5098 | to be nil in a :box attribute value list; customize prints that | |
5099 | as lisp value when no box color is specified. | |
5100 | ||
b1c2adc3 KS |
5101 | * .gdbinit (pitx, pit): Pretty print display iterator. |
5102 | (prowx, prow): Pretty print glyph row. | |
5103 | (pcursorx, pcursor): Pretty print a window cursor. | |
5104 | (pwinx, pwin): Pretty print struct window. | |
5105 | ||
f102186f SM |
5106 | 2005-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
5107 | ||
5108 | * alloc.c (BLOCK_BYTES): Harmless typo. | |
5109 | ||
9b516537 AS |
5110 | 2005-02-17 Andreas Schwab <schwab@suse.de> |
5111 | ||
5112 | * xfns.c (hack_wm_protocols): Use correct type for last parameter | |
5113 | of XGetWindowProperty to avoid aliasing issues. | |
5114 | (Fx_window_property): Likewise. | |
5115 | ||
5116 | * xselect.c (Fx_disown_selection_internal): Use union of struct | |
f4a5a485 | 5117 | input_event and struct selection_input_event to avoid aliasing issues. |
9b516537 AS |
5118 | |
5119 | * xterm.c (handle_one_xevent): Use union of struct input_event and | |
5120 | struct selection_input_event to avoid aliasing issues. | |
5121 | (SET_SAVED_MENU_EVENT): Adapt reference to inev. | |
5122 | ||
886b1418 KS |
5123 | 2005-02-17 Kim F. Storm <storm@cua.dk> |
5124 | ||
5125 | * dispextern.h (enum it_method): New enum. | |
5126 | (GET_FROM_*): Its members. | |
5127 | (struct it): Change member method from function pointer to enum. | |
5128 | ||
5129 | * xdisp.c (check_it, init_from_display_pos, handle_stop) | |
5130 | (setup_for_ellipsis, handle_single_display_spec) | |
5131 | (handle_composition_prop, next_overlay_string) | |
5132 | (get_overlay_strings, reseat_1, reseat_to_string) | |
5133 | (next_element_from_ellipsis, BUFFER_POS_REACHED_P) | |
5134 | (in_display_vector_p, display_line, get_next_display_element): | |
5135 | Change it->method from function pointer to enum. | |
5136 | (get_next_element): New array to map it->method to function. | |
5137 | (get_next_display_element): Use it. | |
5138 | (set_iterator_to_next): Use switch instead of if/else chain. | |
5139 | ||
99ee2c6a | 5140 | 2005-02-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
52c7f9ee JR |
5141 | |
5142 | * w32select.c: Summary: Thorough rework to implement Unicode | |
5143 | clipboard operations and delayed rendering. | |
5144 | ||
5145 | Drop last_clipboard_text and related code, keep track of | |
f4a5a485 | 5146 | ownership via clipboard_owner instead. Drop old #if0 sections. |
52c7f9ee JR |
5147 | |
5148 | (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) | |
5149 | (clipboard_owner, modifying_clipboard, cfg_coding_system) | |
5150 | (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) | |
5151 | (current_coding_system, current_requires_encoding) | |
f4a5a485 SM |
5152 | (current_num_nls, current_clipboard_type, current_lcid): |
5153 | New static variables. | |
52c7f9ee JR |
5154 | |
5155 | (convert_to_handle_as_ascii, convert_to_handle_as_coded) | |
5156 | (render, render_all, run_protected, lisp_error_handler) | |
5157 | (owner_callback, create_owner, setup_config) | |
f4a5a485 SM |
5158 | (enum_locale_callback, cp_from_locale, coding_from_cp): |
5159 | New local functions. | |
52c7f9ee JR |
5160 | |
5161 | (term_w32select, globals_of_w32select): New global functions. | |
5162 | ||
5163 | (Fw32_set_clipboard_data): Ignore parameter FRAME, use | |
5164 | clipboard_owner instead. Use delayed rendering and provide | |
5165 | all text formats. Provide CF_LOCALE if necessary. | |
5166 | ||
5167 | (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and | |
5168 | CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not | |
5169 | available. Force DOS line-ends for decoding. | |
5170 | ||
5171 | (Fx_selection_exists_p): Handle CF_UNICODETEXT. | |
5172 | ||
5173 | (syms_of_w32select): Init and register new variables. | |
5174 | ||
5175 | * w32.h: Add prototypes for globals_of_w32select and | |
5176 | term_w32select. Make the neighboring K&R declarations into | |
5177 | prototypes, too. | |
5178 | ||
5179 | * emacs.c: Include w32.h to get function prototypes. | |
5180 | (main): Call globals_of_w32select. | |
5181 | ||
886b1418 | 5182 | * w32.c (term_ntproc): Call term_w32select. |
52c7f9ee JR |
5183 | |
5184 | * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. | |
5185 | ||
86e61586 KS |
5186 | 2005-02-16 Kim F. Storm <storm@cua.dk> |
5187 | ||
5188 | * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and | |
5189 | at end of display vector. | |
5190 | ||
6407f07b RS |
5191 | 2005-02-15 Richard M. Stallman <rms@gnu.org> |
5192 | ||
5193 | * xdisp.c (get_next_display_element): Fix escape-glyph criterion | |
5194 | for mode and header lines. | |
5195 | ||
5196 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
5197 | ||
5198 | * keymap.h (describe_map_tree): Change decl. | |
5199 | ||
5200 | * keyboard.c (command_loop_1): Always use safe_run_hooks | |
5201 | to run Qdeferred_action_function. | |
5202 | ||
5203 | * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. | |
5204 | (describe_map, describe_vector): Likewise. When it's 1, | |
5205 | don't omit shadowed bindings, instead mark them as shadowed. | |
5206 | ||
5207 | * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps | |
5208 | for describe_map_tree. Pass 1 for MENTION_SHADOW. | |
5209 | ||
5210 | * data.c (Fsetq_default): Allow no arg case. | |
5211 | ||
3bb917bf KH |
5212 | 2005-02-14 Kenichi Handa <handa@m17n.org> |
5213 | ||
5214 | * coding.c (encode_coding_string): Always return a unibyte string. | |
5215 | If NOCOPY is nonzero and there's no need of encoding, make STR | |
5216 | unibyte directly. | |
5217 | ||
5218 | * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII | |
5219 | multibyte string, signal an error instead of aborting. | |
5220 | ||
e31d908f DN |
5221 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> |
5222 | ||
5223 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | |
5224 | ||
48e029b6 KS |
5225 | 2005-02-12 Kim F. Storm <storm@cua.dk> |
5226 | ||
5227 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | |
5228 | ||
c10bb00a KS |
5229 | 2005-02-10 Kim F. Storm <storm@cua.dk> |
5230 | ||
5231 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | |
5232 | if it moves outside window or it doesn't display text. | |
5233 | ||
9ca0f64a KS |
5234 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
5235 | ||
5236 | * undo.c (Fprimitive_undo): Check that undo function does not | |
5237 | switch buffer. | |
5238 | ||
b8d6f4af JD |
5239 | 2005-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5240 | ||
5241 | * xselect.c (selection_data_to_lisp_data): For the special case | |
5242 | type == XA_ATOM, data contains array of int, not array of Atom. | |
d5161e8c SM |
5243 | (x_property_data_to_lisp, selection_data_to_lisp_data): |
5244 | Comment update: data must be array of int for format == 32. | |
b8d6f4af | 5245 | |
3419757d SM |
5246 | 2005-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
5247 | ||
5248 | * undo.c (Fprimitive_undo): Check veracity of delta,start,end. | |
5249 | ||
3a441526 JD |
5250 | 2005-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5251 | ||
fc34503b JD |
5252 | * xfns.c (Fx_change_window_property): Use long array when format is 32. |
5253 | (Fx_window_property): If format is 32 and long is bigger than 32 bits, | |
5254 | convert long array returned from XGetWindowProperty to an int array. | |
bae45dc3 JD |
5255 | (x_set_tool_bar_lines): Check that width and height is greater than |
5256 | zero before clearing area. | |
fc34503b JD |
5257 | |
5258 | * xselect.c (x_reply_selection_request): Pass long array to | |
5259 | XChangeProperty so that 64 bit longs are handeled correctly. | |
5260 | (x_get_window_property): If format is 32 and long is bigger than 32 | |
5261 | bits convert data from XGetWindowProperty from long array to int array. | |
5262 | (lisp_data_to_selection_data): When the input is a vector and the | |
5263 | format is 32, allocate a long array even if long is bigger than 32 bits. | |
5264 | (x_fill_property_data): Use char, short and long as the man page | |
5265 | for XChangeProperty specifies. This way the data returned is OK for | |
5266 | both 32 and 64 bit machines. | |
5267 | (x_handle_dnd_message): Calculate size correctly even for 64 bit | |
5268 | machines. | |
5269 | (Fx_send_client_event): Undo change from 2005-02-05, | |
5270 | x_fill_property_data now handles that case. | |
5271 | ||
3419757d | 5272 | * xfns.c (Fx_backspace_delete_keys_p): Add comment about the |
3a441526 JD |
5273 | reason for the approach in the code. |
5274 | ||
82ec225b KS |
5275 | 2005-02-07 Kim F. Storm <storm@cua.dk> |
5276 | ||
5277 | * undo.c (Fprimitive_undo): Record max one dummmy apply element. | |
5278 | ||
ba2c991c RS |
5279 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
5280 | ||
5281 | * eval.c (Frun_hook_with_args) | |
5282 | (Frun_hook_with_args_until_success) | |
5283 | (Frun_hook_with_args_until_failure): Doc fixes. | |
5284 | ||
e120ea40 AS |
5285 | 2005-02-05 Andreas Schwab <schwab@suse.de> |
5286 | ||
3419757d | 5287 | * sysdep.c (sys_subshell): Properly terminate execlp argument list. |
e120ea40 | 5288 | |
31f16913 JD |
5289 | 2005-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5290 | ||
5291 | * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle | |
5292 | the longs in a XClientMessageEvent correctly when long is 64 bits. | |
5293 | ||
6082a820 EZ |
5294 | 2005-02-05 Eli Zaretskii <eliz@gnu.org> |
5295 | ||
5296 | * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM | |
5297 | instead of HAVE_X_WINDOWS, for non-X windowed sessions. | |
5298 | ||
0e95095b JD |
5299 | 2005-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5300 | ||
5301 | * xmenu.c (menubar_selection_callback): Force out GTK buffered | |
5302 | events so the menu event comes after them. This is to prevent sit-for | |
5303 | from exiting on buffered events directly after a menu selection, | |
5304 | lisp code for Help => About Emacs uses sit-for. | |
5305 | ||
5306 | * gtkutil.c (create_menus): Connect selection-done event instead of | |
5307 | the deactivate event to deactivate_cb. This will make the last | |
5308 | leave event come before the call to deactivate_cb, so the leave | |
5309 | event does not make sit-for exit after a menu selection. | |
5310 | ||
5bb6a3c1 KS |
5311 | 2005-02-03 Kim F. Storm <storm@cua.dk> |
5312 | ||
5313 | * dispnew.c (build_frame_matrix_from_leaf_window) | |
5314 | [!GLYPH_DEBUG]: Fix xassert. | |
5315 | ||
5316 | * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. | |
5317 | ||
5318 | * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
5319 | ||
e9859e26 YM |
5320 | 2005-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5321 | ||
5322 | * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by | |
5323 | the compiling OS version. | |
5324 | ||
5325 | * macfns.c (x_create_tip_frame): Likewise. | |
5326 | ||
3419757d | 5327 | * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. |
e9859e26 | 5328 | |
4e07258f RS |
5329 | 2005-02-03 Richard M. Stallman <rms@gnu.org> |
5330 | ||
5331 | * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. | |
5332 | ||
5333 | * xdisp.c (echo_area_display): Clear echo_message_buffer. | |
5334 | ||
5335 | * buffer.c (Fbury_buffer): Doc fix. | |
5336 | ||
4a34b529 ST |
5337 | 2005-02-02 Steven Tamm <steventamm@mac.com> |
5338 | ||
7e26f91b | 5339 | * macfns.c (unwind_create_frame): Fix compile error due to |
f6c62d96 | 5340 | xassert being uncondition, but predicate is. |
7e26f91b | 5341 | * dispnew.c (update_window): Fix compile error due to |
f6c62d96 | 5342 | xassert being uncondition, but predicate is. |
4a34b529 | 5343 | |
d78f30b8 MB |
5344 | 2005-02-02 Miles Bader <miles@gnu.org> |
5345 | ||
5346 | * dispextern.h (xassert): Enable unconditionally. | |
5347 | ||
b044278d KS |
5348 | 2005-02-02 Kim F. Storm <storm@cua.dk> |
5349 | ||
5350 | * undo.c (Fprimitive_undo): Fix dummy apply undo entry. | |
5351 | ||
56072160 KH |
5352 | 2005-02-02 Kenichi Handa <handa@m17n.org> |
5353 | ||
5354 | * casefiddle.c (casify_object): Enable changing characters of | |
5355 | different byte length. | |
5356 | (casify_region): Fix loop condition, args to replace_range_2, and | |
5357 | update opoint_byte. | |
5358 | ||
f4a5a485 | 5359 | * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. |
56072160 | 5360 | |
5e1674c5 KS |
5361 | 2005-02-01 Kim F. Storm <storm@cua.dk> |
5362 | ||
5363 | * xdisp.c (back_to_previous_visible_line_start): Reset iterator | |
5364 | stack before calling handle_display_prop. | |
5365 | ||
fb89c330 KS |
5366 | 2005-01-31 Kim F. Storm <storm@cua.dk> |
5367 | ||
5368 | * undo.c (Qapply): New lisp var. | |
5369 | (syms_of_undo): Intern and staticpro it. | |
5370 | (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and | |
5371 | (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). | |
5372 | ||
5373 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
5374 | ||
7bf72fa6 JH |
5375 | 2005-01-30 Jesper Harder <harder@phys.au.dk> |
5376 | ||
a050b1a9 KS |
5377 | * macterm.c (syms_of_macterm) <mac-reverse-ctrl-meta> |
5378 | <mac-emulate-three-button-mouse>: Fix docstring indentation. | |
7bf72fa6 | 5379 | |
03c64f2e LT |
5380 | 2005-01-29 Luc Teirlinck <teirllm@auburn.edu> |
5381 | ||
5382 | * undo.c (syms_of_undo) <undo-outer-limit>: Doc update. | |
6de38aa3 | 5383 | Increase value to 3 Meg. |
03c64f2e | 5384 | |
49b8b5dc JD |
5385 | 2005-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5386 | ||
5387 | * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, | |
5388 | button events are not received otherwise. | |
5389 | ||
5a92a9eb RS |
5390 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
5391 | ||
5392 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
5393 | ||
5394 | * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. | |
5395 | ||
5c243ee4 SM |
5396 | 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
5397 | ||
5398 | * keymap.c (access_keymap): YAILOM. | |
5399 | ||
caf533af KS |
5400 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
5401 | ||
5402 | * xdisp.c (get_phys_cursor_geometry): New function to calculate | |
5403 | phys cursor position and size for hollow cursor. Position is | |
5404 | aligned with get_glyph_string_clip_rect and ensures that a hollow | |
5405 | cursor is shown, even when the actual glyph is not visible. | |
5406 | ||
5407 | * dispextern.h (get_phys_cursor_geometry): Add prototype. | |
5408 | ||
5409 | * xterm.c (x_clip_to_row): Ensure y >= 0. | |
5410 | (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
5411 | ||
5412 | * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
5413 | ||
5414 | * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
5415 | ||
043f7f73 SM |
5416 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
5417 | ||
5418 | * xterm.c (x_error_quitter): Add a prototype. Make it static again. | |
5419 | ||
889f3641 KS |
5420 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
5421 | ||
5422 | * xdisp.c (get_glyph_string_clip_rect): Always show a cursor | |
5423 | glyph, even when row is only partially visible and actual cursor | |
5424 | position is not visible. | |
5425 | ||
29099c2f RS |
5426 | 2005-01-24 Richard M. Stallman <rms@gnu.org> |
5427 | ||
5428 | * xterm.c (x_error_quitter): No longer static, and moved after | |
5429 | x_error_handler. | |
5430 | ||
6adb6f01 KS |
5431 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
5432 | ||
5433 | * xdisp.c (move_it_by_lines): If we move forward after going too | |
5434 | far back, cancel move if end position is same as start position. | |
5435 | ||
4d904fa0 ST |
5436 | 2005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5437 | ||
5438 | * dispextern.h (struct glyph_string): New members clip_head and | |
5439 | clip_tail. | |
6adb6f01 | 5440 | |
4d904fa0 ST |
5441 | * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip |
5442 | region to the area between clip_head and clip_tail. | |
5443 | (draw_glyphs): Record the area that need to be actually redrawn to | |
5444 | the new variables clip_head and clip_tail when there are | |
5445 | overhangs. Set values of these variables to the corresponding | |
5446 | members in struct glyph_string. Refine x coordinates for | |
5447 | notice_overwritten_cursor using clip_head and clip_tail. | |
6adb6f01 | 5448 | |
4d904fa0 ST |
5449 | * macgui.h (STORE_XCHARSETSTRUCT): New macro. |
5450 | ||
5451 | * macterm.c (mac_compute_glyph_string_overhangs): Implement with | |
5452 | QDTextBounds. | |
5453 | (x_draw_glyph_string): Don't fill the background of the successor | |
6adb6f01 | 5454 | of a glyph with a right overhang if the successor will draw a cursor. |
4d904fa0 | 5455 | (XLoadQueryFont): Obtain font metrics using QDTextBounds. |
6adb6f01 | 5456 | (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. |
4d904fa0 | 5457 | |
f2417699 KS |
5458 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
5459 | ||
6f67f013 KS |
5460 | * window.c (window_scroll_pixel_based): Fix scrolling in the wrong |
5461 | direction if window height was smaller than next-screen-context-lines. | |
5462 | Now always scroll at least one line in the requested direction. | |
5463 | Ensure that we actually do scroll backwards when requested to do so. | |
5464 | ||
f2417699 KS |
5465 | * xdisp.c (redisplay_window): Only try to make cursor line fully |
5466 | visible once (to avoid redisplay loop). | |
5467 | ||
a354b72c KS |
5468 | 2005-01-23 Kim F. Storm <storm@cua.dk> |
5469 | ||
6b3d88f7 | 5470 | * window.c (Fpos_visible_in_window_p): Simplify return value for |
8f958b40 | 5471 | partially visible rows. |
6b3d88f7 KS |
5472 | (window_scroll_pixel_based): Adapt to that change. |
5473 | ||
5c20cae2 KS |
5474 | * window.c (window_scroll_pixel_based): Force moving to next line |
5475 | if scrolling doesn't move start point, e.g. if looking at tall image. | |
5476 | ||
a354b72c | 5477 | * xdisp.c (pos_visible_p): Return 0 if non-interactive. |
5c20cae2 KS |
5478 | Clear last_height before calling line_bottom_y to get real height. |
5479 | Fix calculation of y. | |
a354b72c | 5480 | |
d9e7c622 ST |
5481 | 2005-01-22 Steven Tamm <steventamm@mac.com> |
5482 | ||
5483 | * s/darwin.h: Removed PTY_ITERATION from here. | |
043f7f73 | 5484 | (DARWIN): Define. |
7e26f91b | 5485 | |
d9e7c622 ST |
5486 | * process.c (init_process): Default process-connection-type to |
5487 | nil on darwin 6 or less, t if it is 7 or higher. This way the | |
5488 | broken pty behavior is still allowed on darwin 6 for interactive | |
5489 | processes for people that know what they are doing. | |
5490 | ||
d00e399a KS |
5491 | 2005-01-22 Kim F. Storm <storm@cua.dk> |
5492 | ||
5493 | * window.c (auto_window_vscroll_p): New boolean. | |
5494 | (syms_of_window): DEFVAR_BOOL it. | |
5495 | (Fpos_visible_in_window_p): Extend return value to include RTOP | |
5496 | and RBOT values if FULLY is nil. | |
5497 | (window_scroll_pixel_based): Adjust vscroll for partially visible | |
5498 | rows if auto_window_vscroll_p is set. | |
5499 | (Fset_window_vscroll): Do nothing if vscroll is not modified. | |
5500 | ||
5501 | * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args | |
5502 | to return number of partially invisible pixels at top and bottom | |
5503 | of the dislay row at POS. | |
5504 | ||
5505 | * lisp.h (pos_visible_p): Fix prototype. | |
5506 | ||
f95a20e7 RS |
5507 | 2005-01-21 Richard M. Stallman <rms@gnu.org> |
5508 | ||
5509 | * fileio.c (Fcopy_file): Doc fix. | |
5510 | ||
eee141ce JD |
5511 | 2005-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5512 | ||
5513 | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | |
5514 | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to | |
5515 | start of function for older compilers. | |
5516 | ||
6f771c32 RS |
5517 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
5518 | ||
5519 | * editfns.c (Fmessage): If arg is "", return "" (as before). | |
5520 | ||
5521 | * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. | |
5522 | ||
5523 | * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp | |
5524 | variable. | |
5525 | ||
a15252fd ST |
5526 | 2005-01-20 Steven Tamm <steventamm@mac.com> |
5527 | ||
043f7f73 | 5528 | * editfns.c (Voperating_system_release): Add. |
a15252fd ST |
5529 | (init_editfns): Assign new variable operating-system-release |
5530 | based on call to uname if available. | |
043f7f73 | 5531 | (get_operating_system_release): Add function to |
d00e399a | 5532 | allow c-level access to operating system release. |
a15252fd ST |
5533 | |
5534 | * config.h: Regenerated. | |
5535 | ||
043f7f73 SM |
5536 | * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. |
5537 | (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for | |
a15252fd ST |
5538 | using ptys as '7'. |
5539 | ||
3d6a4b2d KS |
5540 | 2005-01-20 Kim F. Storm <storm@cua.dk> |
5541 | ||
62fc9b0f KS |
5542 | * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. |
5543 | ||
c310aca4 KS |
5544 | * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. |
5545 | Thanks to Chong Yidong <cyd@stupidchicken.com> for debugging this. | |
5546 | ||
5547 | * macterm.c (x_draw_glyph_string_box): Likewise. | |
5548 | ||
5549 | * w32term.c (x_draw_glyph_string_box): Likewise. | |
5550 | ||
3d6a4b2d KS |
5551 | * indent.c (Fvertical_motion): Temporarily disable selective display. |
5552 | ||
27c8be45 KS |
5553 | 2005-01-19 Kim F. Storm <storm@cua.dk> |
5554 | ||
77db5cf3 KS |
5555 | * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer |
5556 | image property. | |
5557 | ||
27c8be45 KS |
5558 | * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. |
5559 | ||
81f498dc KS |
5560 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
5561 | ||
5562 | * xdisp.c (fast_find_position): Backtrack to find first row if | |
5563 | charpos is inside a display overlay that spans multiple lines. | |
5564 | ||
1cdb0707 KH |
5565 | 2005-01-18 Kenichi Handa <handa@m17n.org> |
5566 | ||
5567 | * coding.c (decode_coding_iso2022): Translate invalid codes if | |
5568 | translation-table is specified. | |
5569 | ||
677159ce KS |
5570 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
5571 | ||
5572 | * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 | |
5573 | change. If handle_display_prop indicates newline is replaced by | |
5574 | image or text, move back to start of relevant overlay or interval | |
5575 | and continue scan from there. Simplify. | |
5576 | ||
977284cc KS |
5577 | 2005-01-17 Kim F. Storm <storm@cua.dk> |
5578 | ||
043f7f73 SM |
5579 | * dispnew.c (mode_line_string, marginal_area_string): |
5580 | Fix off-by-one error in search for glyph. | |
977284cc | 5581 | |
e24531b7 KS |
5582 | 2005-01-16 Kim F. Storm <storm@cua.dk> |
5583 | ||
5584 | * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. | |
5585 | ||
5ddd7664 ST |
5586 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
5587 | ||
043f7f73 | 5588 | * macterm.c (mac_to_x_fontname): Remove spurious argument. |
5ddd7664 | 5589 | |
fc2ff44b AS |
5590 | 2005-01-16 Andreas Schwab <schwab@suse.de> |
5591 | ||
5592 | * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. | |
5593 | ||
50af5100 JD |
5594 | 2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5595 | ||
5596 | * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning | |
5597 | fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. | |
5598 | ||
a2d5fca0 JD |
5599 | 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5600 | ||
5601 | * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) | |
e24531b7 KS |
5602 | (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): |
5603 | New flags for readable_events. | |
043f7f73 | 5604 | (get_filtered_input_pending, readable_filtered_events): Remove. |
a2d5fca0 JD |
5605 | (tracking_off): Call readable_events and get_input_pending with |
5606 | flag READABLE_EVENTS_DO_TIMERS_NOW. | |
5607 | (readable_events): Move code from old readable_filtered_events here, | |
5608 | but check new READABLE_EVENTS_* in argument flags instead of previous | |
5609 | two boolean arguments do_timers_now and filter_events. | |
5610 | If we are doing mouse tracking and the mouse moved, return only if | |
5611 | READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. | |
5612 | (swallow_events): Call get_input_pending with flag | |
5613 | READABLE_EVENTS_DO_TIMERS_NOW. | |
e24531b7 | 5614 | (get_input_pending): Move code from old get_filtered_input_pending |
a2d5fca0 JD |
5615 | here. Replace boolean arguments do_timers_now, filter_events with |
5616 | flags, and pass flags to readable_events. Document new | |
5617 | READABLE_EVENTS_* flags. | |
5618 | (detect_input_pending_ignore_squeezables): New function. | |
5619 | (detect_input_pending_run_timers): Call get_input_pending with flag | |
5620 | READABLE_EVENTS_DO_TIMERS_NOW. | |
5621 | (Finput_pending_p): Call get_input_pending with flags | |
5622 | READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. | |
5623 | ||
5624 | * dispnew.c (update_window, update_frame_1): Replace calls to | |
5625 | detect_input_pending with detect_input_pending_ignore_squeezables | |
e24531b7 | 5626 | so that redisplay is not paused if the event queue contains only |
a2d5fca0 JD |
5627 | mouse movements. |
5628 | ||
5629 | * lisp.h: Declare detect_input_pending_ignore_squeezables. | |
5630 | ||
42afbcda ST |
5631 | 2005-01-15 Steven Tamm <steventamm@mac.com> |
5632 | ||
e24531b7 KS |
5633 | * macterm.c (Vmac_use_core_graphics): Declare variable for |
5634 | mac-allow-anti-aliasing. | |
5635 | (syms_of_macterm): DEFVAR_LISP and initialize it. | |
743d0696 | 5636 | (mac_draw_string_common): Use core graphics text rendering if |
0530c679 | 5637 | mac-allow-anti-aliasing is enabled. |
743d0696 | 5638 | |
42afbcda ST |
5639 | * macfns.c (Fx_file_dialog): Save As dialog includes only the |
5640 | file name in the text box. | |
5641 | ||
9cdd4884 ST |
5642 | 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5643 | ||
043f7f73 SM |
5644 | * macfns.c (x_set_foreground_color, x_set_background_color): |
5645 | Sync with xfns.c. | |
9cdd4884 ST |
5646 | (mac_window, x_create_tip_frame): Use XSetWindowBackground. |
5647 | * macterm.c (XSetBackground, XSetWindowBackground): New functions. | |
5648 | * macterm.h (XSetBackground, XSetWindowBackground): Add externs. | |
5649 | ||
88948d55 KS |
5650 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
5651 | ||
5652 | * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. | |
5653 | ||
20d6de82 RS |
5654 | 2005-01-13 Richard M. Stallman <rms@gnu.org> |
5655 | ||
5656 | * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map | |
5657 | if Voverriding_terminal_local_map is non-nil. | |
5658 | ||
5659 | * keyboard.c (syms_of_keyboard): Doc fix. | |
5660 | ||
f75a592e KS |
5661 | 2005-01-13 Kim F. Storm <storm@cua.dk> |
5662 | ||
5663 | * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg | |
52eb0373 | 5664 | (specify 0 for FACE instead). Reorder arg list. Doc fix. |
f75a592e | 5665 | |
28f94a34 RS |
5666 | 2005-01-12 Richard M. Stallman <rms@gnu.org> |
5667 | ||
5668 | * xdisp.c (Fformat_mode_line): New arg FACE specifies a default | |
5669 | face property for characters that don't specify one. | |
5670 | ||
5671 | * fns.c (Frequire): Record in load-history unconditionally. | |
5672 | ||
57a230b1 KS |
5673 | 2005-01-10 Kim F. Storm <storm@cua.dk> |
5674 | ||
5675 | * dispextern.h (merge_faces): Rename from merge_into_realized_face. | |
5676 | ||
5677 | * xfaces.c (merge_faces): Rename from merge_into_realized_face. | |
5678 | Callers changed. | |
5679 | Add support to merge with lisp face id too (if face_name is t). | |
5680 | ||
5681 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
5682 | Don't lookup lface_id from display table glyphs here; instead use | |
5683 | merge_faces to merge the lisp face id into current face. | |
5684 | ||
8ab2c119 KS |
5685 | 2005-01-09 Kim F. Storm <storm@cua.dk> |
5686 | ||
5687 | * dispextern.h (struct it): New member dpvec_face_id. | |
5688 | (merge_into_realized_face): Add prototype. | |
5689 | ||
5690 | * xfaces.c (merge_into_realized_face): New function. Used to | |
5691 | merge escape-glyph face or face from display table into current face. | |
5692 | ||
5693 | * xdisp.c (Vshow_nonbreak_escape): New lisp var. | |
5694 | (syms_of_xdisp): DEFVAR_LISP it. | |
5695 | (escape_glyph_face): Remove var. | |
5696 | (redisplay_window): Don't initialize it. | |
5697 | (setup_for_ellipsis, get_next_display_element): | |
5698 | Set it->dpvec_face_id to -1. | |
5699 | (get_next_display_element): Test Vshow_nonbreak_escape. | |
5700 | Do not setup escape_glyph_face. | |
5701 | Properly merge escape-glyph face or face from display table with | |
043f7f73 SM |
5702 | current face for escape and control characters. |
5703 | Set it->dpvec_face_id to relevant face id instead of adding it to each | |
8ab2c119 KS |
5704 | element of display vector. |
5705 | (next_element_from_display_vector): If it->dpvec_face_id is set, | |
5706 | use that instead of lface_id from glyph itself. | |
5707 | ||
e0910857 JD |
5708 | 2005-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5709 | ||
5710 | * xterm.h (struct x_output): New member, toolbar_detached. | |
5711 | ||
5712 | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to | |
5713 | 38. | |
5714 | (xg_tool_bar_detach_callback): Set toolbar_detached to 1. | |
5715 | (xg_tool_bar_attach_callback): Set toolbar_detached to 0. | |
5716 | (xg_create_tool_bar): Initialize toolbar_detached. | |
5717 | (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if | |
5718 | toolbar_detached is zero. | |
5719 | ||
ff59904a JD |
5720 | 2005-01-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5721 | ||
9b85e63d JD |
5722 | * xmenu.c (create_and_show_popup_menu): Pass zero as button to |
5723 | gtk_menu_popup if not for_click, so callbacks for the menu are called. | |
5724 | ||
ff59904a JD |
5725 | * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) |
5726 | (xg_tool_bar_callback, xg_tool_bar_help_callback) | |
043f7f73 | 5727 | (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. |
ff59904a JD |
5728 | |
5729 | * xselect.c (x_get_foreign_selection, x_fill_property_data) | |
8ab2c119 | 5730 | (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with |
ff59904a JD |
5731 | XFLOAT_DATA to get extract number from Lisp object. |
5732 | ||
f9a23a6f KS |
5733 | 2005-01-07 Kim F. Storm <storm@cua.dk> |
5734 | ||
5735 | * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. | |
5736 | Set stop_charpos to current charpos instead of 0. | |
5737 | ||
28f94a34 RS |
5738 | 2005-01-06 Nick Roberts <nickrob@snap.net.nz> |
5739 | ||
5740 | * xdisp.c (Fformat_mode_line): First arg now required. | |
5741 | ||
a6fffcdc ST |
5742 | 2005-01-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5743 | ||
5744 | * macterm.c (XLoadQueryFont): Correctly handle 0 size | |
5745 | font widths that are returned from some Japanese fonts. | |
5746 | ||
c35b0c6b KS |
5747 | 2005-01-06 Kim F. Storm <storm@cua.dk> |
5748 | ||
5749 | * fringe.c (fringe_faces): Change to Lisp_Object pointer. | |
5750 | (draw_fringe_bitmap_1): Lookup user defined fringe faces here. | |
5751 | (destroy_fringe_bitmap): Set fringe_faces element to nil. | |
5752 | (Fdefine_fringe_bitmap, init_fringe): Change allocation of | |
5753 | fringe_faces array and init elements to nil. | |
5754 | (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of | |
5755 | non-persistent face id. | |
5756 | (mark_fringe_data): New function for GC. | |
5757 | ||
5758 | * alloc.c (mark_fringe_data): Declare extern. | |
5759 | (Fgarbage_collect): Call mark_fringe_data. | |
5760 | ||
5761 | * alloc.c (overrun_check_free): Invalidate freed memory if | |
5762 | XMALLOC_CLEAR_FREE_MEMORY is defined. | |
5763 | ||
e0e76ab9 ST |
5764 | 2005-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5765 | ||
5766 | * macfns.c: Include sys/param.h. | |
5767 | [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration | |
5768 | and function. | |
5769 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | |
5770 | of filename string. Set event callback function when creating | |
5771 | dialog boxes. Add code conversions for filenames. Don't dispose | |
71b7a47f | 5772 | of apple event descriptor record if failed to create it. |
e0e76ab9 ST |
5773 | |
5774 | * macterm.c: Include sys/param.h. | |
5775 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | |
5776 | kEventWindowUpdate. | |
5777 | (install_window_handler) [USE_CARBON_EVENTS]: Register it. | |
5778 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead | |
5779 | of FSSpec from apple event descriptor record. | |
5780 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for | |
5781 | size of filename string. | |
5782 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. | |
5783 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a | |
5784 | file dialog is in action. | |
043f7f73 SM |
5785 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. |
5786 | Reject only when there are no filename items. Set background color | |
e0e76ab9 | 5787 | before (un)highlighting the window below the dragged items. |
2313f861 | 5788 | (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. |
e0e76ab9 | 5789 | |
043bc640 KH |
5790 | 2005-01-05 Romain Francoise <romain@orebokech.com> |
5791 | ||
5792 | * term.c (encode_terminal_code): Fix buffer size computation. | |
5793 | ||
dd496df6 RS |
5794 | 2005-01-04 Richard M. Stallman <rms@gnu.org> |
5795 | ||
5796 | * xdisp.c (Fformat_mode_line): Doc fix. | |
5797 | ||
026cdede SM |
5798 | 2005-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
5799 | ||
5800 | * alloc.c (refill_memory_reserve): Move. | |
5801 | (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) | |
5802 | (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. | |
5803 | ||
d57c7572 RS |
5804 | 2005-01-03 Richard M. Stallman <rms@gnu.org> |
5805 | ||
5806 | * window.c (window_scroll_pixel_based): Don't correct preserve_y | |
5807 | for CURRENT_HEADER_LINE_HEIGHT when moving backwards. | |
5808 | ||
b14f868c JR |
5809 | 2005-01-03 Jason Rumney <jasonr@gnu.org> |
5810 | ||
5811 | * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and | |
5812 | fontp->space_width to FONT_WIDTH so they are valid. | |
5813 | ||
5814 | * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not | |
52eb0373 | 5815 | average width. Set fontp->average_width and fontp->space_width to |
b14f868c JR |
5816 | their appropriate values. |
5817 | ||
5818 | * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
5819 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
5820 | fontp->space_width. | |
5821 | ||
e169f939 ST |
5822 | 2005-01-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5823 | ||
5824 | * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. | |
5825 | (x_font_min_bounds, XLoadQueryFont): Use the correct font width | |
5826 | metrics for max and min bounds. | |
5827 | (x_load_font): Correctly calculate average font width metrics. | |
5828 | ||
19996af4 RS |
5829 | 2005-01-02 Richard M. Stallman <rms@gnu.org> |
5830 | ||
5831 | * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. | |
5832 | ||
42d02da0 JD |
5833 | 2004-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5834 | ||
5835 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | |
5836 | ||
1db7dd46 RS |
5837 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
5838 | ||
b437860a RS |
5839 | * xdisp.c (setup_for_ellipsis, get_next_display_element): |
5840 | Set it->ellipsis_p to 1 or 0. | |
5841 | (display_line): Record whether row ends in mid-ellipsis. | |
52eb0373 | 5842 | (set_cursor_from_row): If ends in ellipsis, find start of it. |
b437860a RS |
5843 | (cursor_row_p): If PT's at the end of the ellipsis the row |
5844 | ends within, don't display cursor on this row. | |
5845 | ||
5846 | * dispextern.h (struct it): New element ellipsis_p. | |
5847 | (struct glyph_row): New element ends_in_ellipsis_p. | |
5848 | ||
5849 | * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified | |
5850 | position if we're reading from something other than the buffer. | |
5851 | ||
1db7dd46 RS |
5852 | * window.c (window_scroll_pixel_based): Only look at |
5853 | Vscroll_preserve_screen_position if the old PT can't be kept. | |
5854 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. | |
5855 | ||
1225f637 KS |
5856 | 2004-12-30 Kim F. Storm <storm@cua.dk> |
5857 | ||
5858 | * xdisp.c (get_line_height_property): New function extracted from | |
5859 | original calc_line_height_property. | |
5860 | (calc_line_height_property): Rework. Handle t and (nil . ratio). | |
5861 | (x_produce_glyphs): Use them to handle line-height and | |
5862 | line-spacing according to new height spec. | |
5863 | (Qtotal): Remove. | |
33b2f4ea | 5864 | (syms_of_xdisp): Remove intern and staticpro for Qtotal. |
1225f637 | 5865 | |
c243063e KH |
5866 | 2004-12-30 Kenichi Handa <handa@m17n.org> |
5867 | ||
5868 | * fileio.c (Finsert_file_contents): Don't use | |
5869 | current_buffer->buffer_file_coding_system even if REPLACE is | |
043f7f73 | 5870 | non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. |
c243063e KH |
5871 | |
5872 | * fontset.h (struct font_info): New members space_width and | |
5873 | average_width. | |
5874 | ||
5875 | * frame.h (struct frame): New member space_width. | |
5876 | (FRAME_SPACE_WIDTH): New macro. | |
5877 | ||
5878 | * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. | |
5879 | ||
5880 | * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
5881 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
b14f868c | 5882 | fontp->space_width. |
043f7f73 | 5883 | (x_load_font): Calculate fontp->space_width and fontp->average_width. |
c243063e KH |
5884 | (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. |
5885 | ||
5886 | * xdisp.c (x_produce_glyphs): Calculate tab width by | |
5887 | FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. | |
5888 | ||
456e761b ST |
5889 | 2004-12-29 Sanghyuk Suh <han9kin@mac.com> |
5890 | ||
5891 | * macterm.c (SelectionRange): Add Xcode position apple event struct. | |
043f7f73 | 5892 | (do_ae_open_documents): Handle Xcode-style file position open events. |
456e761b | 5893 | |
188577ce LT |
5894 | 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> |
5895 | ||
5896 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. | |
5897 | ||
99ec74b9 RS |
5898 | 2004-12-29 Richard M. Stallman <rms@gnu.org> |
5899 | ||
5900 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Doc fix. | |
5901 | ||
30c92fab ST |
5902 | 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5903 | ||
5904 | * macfns.c (install_window_handler): Modify extern to return OSErr | |
5905 | value. | |
5906 | (mac_window): Handle return value of install_window_handler. | |
5907 | ||
5908 | * macterm.c (reflect_byte): Remove function. | |
5909 | (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. | |
5910 | Lookup table instead. | |
5911 | (mac_do_font_lists): Simplify calculation of the longest | |
5912 | nonspecial string. | |
5913 | (init_mac_drag_n_drop): Remove function and declaration. | |
5914 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
5915 | init_mac_drag_n_drop. | |
5916 | (mac_do_track_drag): New function and declaration. | |
5917 | (install_window_handler): Return OSErr value. | |
043f7f73 SM |
5918 | (install_window_handler) [TARGET_API_MAC_CARBON]: |
5919 | Register handlers for tracking/receiving drag-and-drop items. | |
30c92fab | 5920 | (do_ae_open_documents): Generate unibyte strings for filenames. |
043f7f73 SM |
5921 | (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise. |
5922 | Reject only non-filename items. Set event modifiers, and return value. | |
30c92fab | 5923 | |
4b982924 DN |
5924 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
5925 | ||
5926 | * coding.c (decode_coding): Fix previous change. | |
5927 | ||
93fdf45f RS |
5928 | 2004-12-28 Richard M. Stallman <rms@gnu.org> |
5929 | ||
5930 | * xdisp.c (back_to_previous_visible_line_start): | |
5931 | Don't call handle_display_prop. | |
5932 | ||
5bdca8af DN |
5933 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
5934 | ||
5935 | * coding.c (decode_coding_XXX, decode_composition_emacs_mule) | |
5936 | (decode_coding_emacs_mule, encode_coding_emacs_mule) | |
5937 | (decode_coding_iso2022, encode_designation_at_bol) | |
5938 | (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) | |
5939 | (decode_coding): Constify arguments and local vars. | |
5940 | ||
33385c6f JD |
5941 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5942 | ||
5943 | * xmenu.c (popup_get_selection): Only pop down dialogs | |
5944 | on C-g and Escape. | |
95bdef2e | 5945 | (popup_get_selection): Remove parameter down_on_keypress. |
043f7f73 SM |
5946 | (create_and_show_popup_menu, create_and_show_dialog): |
5947 | Remove parameter down_on_keypress to popup_get_selection. | |
33385c6f | 5948 | |
b15325b2 ST |
5949 | 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5950 | ||
5951 | * dispextern.h: Change HAVE_CARBON to MAC_OS. | |
5952 | (struct glyph_string): Likewise. | |
a2c7e69a | 5953 | |
b15325b2 ST |
5954 | * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of |
5955 | mac_initialize. | |
a2c7e69a | 5956 | |
b15325b2 ST |
5957 | * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): |
5958 | Change TARGET_API_MAC_CARBON to HAVE_CARBON. | |
a2c7e69a | 5959 | |
b15325b2 | 5960 | * fns.c (vector): Change MAC_OSX to MAC_OS. |
a2c7e69a | 5961 | |
b15325b2 ST |
5962 | * frame.c (x_set_frame_parameters, x_report_frame_params) |
5963 | (x_set_fullscreen): Remove #ifndef HAVE_CARBON. | |
043f7f73 SM |
5964 | (x_set_border_width, Vdefault_frame_scroll_bars): |
5965 | Change HAVE_CARBON to MAC_OS. | |
a2c7e69a | 5966 | |
b15325b2 ST |
5967 | * image.c [MAC_OS]: Include sys/stat.h. |
5968 | [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and | |
5969 | QuickTimeComponents.h. | |
a2c7e69a | 5970 | |
b15325b2 ST |
5971 | * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. |
5972 | [!MAC_OSX] (select): Use mac_wait_next_event. | |
043f7f73 | 5973 | [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. |
b15325b2 ST |
5974 | [!MAC_OSX] (select, run_mac_command): Change `#ifdef |
5975 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
5976 | (mac_clear_font_name_table): Add extern. | |
5977 | (Fmac_clear_font_name_table): New defun. | |
5978 | (syms_of_mac): Defsubr it. | |
5979 | [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. | |
5980 | [MAC_OSX] (select_and_poll_event): New function. | |
5981 | [MAC_OSX] (sys_select): Use it. | |
5982 | [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. | |
5983 | [MAC_OSX && SELECT_USE_CFSOCKET] | |
5984 | (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. | |
5985 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and | |
5986 | RunLoop for simultaneously monitoring two kinds of inputs, window | |
5987 | events and process outputs, without periodically polling. | |
a2c7e69a | 5988 | |
b15325b2 ST |
5989 | * macfns.c (mac_initialized): Remove extern. |
5990 | (stricmp): Put in #if 0. All callers changed to use xstricmp in | |
5991 | xfaces.c. | |
043f7f73 SM |
5992 | (strnicmp): Decrement `n' at the end of each loop, not the beginning. |
5993 | (check_mac): Use the term "Mac native windows" instead of "Mac OS". | |
b15325b2 ST |
5994 | (check_x_display_info, x_display_info_for_name): Sync with xfns.c. |
5995 | (mac_get_rdb_resource): New function (from w32reg.c). | |
5996 | (x_get_string_resource): Use it. | |
5997 | (install_window_handler): Add extern. | |
5998 | (mac_window): New function. | |
043f7f73 SM |
5999 | (Fx_create_frame): Use it instead of make_mac_frame. |
6000 | Set parameter for Qfullscreen. Call x_wm_set_size_hint. | |
b15325b2 ST |
6001 | (Fx_open_connection, Fx_close_connection): New defuns. |
6002 | (syms_of_macfns): Defsubr them. | |
043f7f73 SM |
6003 | (x_create_tip_frame) [TARGET_API_MAC_CARBON]: |
6004 | Add kWindowNoUpdatesAttribute to the window attribute. | |
b15325b2 ST |
6005 | (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. |
6006 | (x_create_tip_frame): Don't call ShowWindow. | |
6007 | (Fx_show_tip): Call ShowWindow. | |
6008 | (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if | |
6009 | TARGET_API_MAC_CARBON'. | |
6010 | (mac_frame_parm_handlers): Set handlers for Qfullscreen. | |
6011 | (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. | |
a2c7e69a | 6012 | |
043f7f73 | 6013 | * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. |
b15325b2 ST |
6014 | (Window): Typedef to WindowPtr and move outside `#if |
6015 | TARGET_API_MAC_CARBON'. | |
6016 | (XSizeHints): New struct. | |
a2c7e69a | 6017 | |
b15325b2 ST |
6018 | * macterm.c (x_update_begin, x_update_end) |
6019 | [TARGET_API_MAC_CARBON]: Disable screen updates during update of a | |
6020 | frame. | |
6021 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
6022 | [MAC_OS8]: Use XDrawImageString/XDrawImageString16. | |
6023 | (construct_mouse_click): Put in #if 0. | |
6024 | (x_check_fullscreen, x_check_fullscreen_move): Remove decls. | |
6025 | (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef | |
6026 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
6027 | (activate_scroll_bars, deactivate_scroll_bars) | |
6028 | [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. | |
6029 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window | |
6030 | if the position is neither user-specified nor program-specified. | |
6031 | (x_free_frame_resources): Free size_hints. | |
043f7f73 | 6032 | (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. |
b15325b2 ST |
6033 | (mac_clear_font_name_table): New function. |
6034 | (mac_do_list_fonts): Initialize font_name_table if needed. | |
6035 | (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT | |
6036 | around mac_do_list_fonts. | |
6037 | (mac_unload_font): New function. | |
6038 | (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. | |
6039 | (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations | |
6040 | and definitions with #if TARGET_API_MAC_CARBON. | |
6041 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. | |
6042 | (install_window_handler): Add decl. | |
6043 | (do_window_update): Add BeginUpdate/EndUpdate for the tooltip | |
6044 | window. Use UpdateControls. Get the rectangle that should be | |
6045 | updated and restrict the target of expose_frame to it. | |
043f7f73 | 6046 | (do_grow_window): Set minimum height/width according to size_hints. |
b15325b2 ST |
6047 | (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. |
6048 | (do_zoom_window): Don't use x_set_window_size. | |
6049 | [USE_CARBON_EVENTS] (mac_handle_window_event): New function. | |
6050 | (install_window_handler): New function. | |
6051 | [!USE_CARBON_EVENTS] (mouse_region): New variable. | |
6052 | [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. | |
6053 | (XTread_socket) [USE_CARBON_EVENTS]: Move call to | |
6054 | GetEventDispatcherTarget inside BLOCK_INPUT. | |
6055 | (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. | |
6056 | Update mouse_region when mouse is moved. | |
6057 | (make_mac_frame): Remove. | |
043f7f73 SM |
6058 | (make_mac_terminal_frame): Put in #ifdef MAC_OS8. |
6059 | Initialize mouse pointer shapes. Change values of f->left_pos and | |
6060 | f->top_pos. Don't use make_mac_frame. Use NewCWindow. | |
6061 | Don't call ShowWindow. | |
b15325b2 ST |
6062 | (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from |
6063 | Vinvocation_name and Vsystem_name. | |
6064 | (mac_make_rdb): New function (from w32term.c). | |
6065 | (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has | |
6066 | already been opened. Don't pass argument to | |
6067 | mac_initialize_display_info. Don't set dpyinfo->height/width. | |
6068 | Add entries to x_display_list and x_display_name_list. | |
6069 | (x_delete_display): New function. | |
6070 | (mac_initialize): Don't call mac_initialize_display_info. | |
a2c7e69a KS |
6071 | (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. |
6072 | ||
b15325b2 ST |
6073 | * macterm.h (check_mac): Add extern. |
6074 | (struct mac_output): New member size_hints. | |
6075 | (FRAME_SIZE_HINTS): New macro. | |
6076 | (mac_unload_font): Add extern. | |
a2c7e69a | 6077 | |
b15325b2 | 6078 | * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. |
a2c7e69a | 6079 | |
1d1c7e75 | 6080 | * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. |
b15325b2 | 6081 | |
92d2947b RS |
6082 | 2004-12-27 Richard M. Stallman <rms@gnu.org> |
6083 | ||
043f7f73 | 6084 | * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). |
ebbd14f1 RS |
6085 | (syms_of_buffer): Don't defsubr it. |
6086 | ||
6087 | * process.c (list_processes_1): Set undo_list instead | |
6088 | of calling Fbuffer_disable_undo. | |
6089 | ||
043f7f73 | 6090 | * xdisp.c (single_display_spec_string_p): Rename from |
92d2947b | 6091 | single_display_prop_string_p. |
043f7f73 | 6092 | (single_display_spec_intangible_p): Rename from |
92d2947b | 6093 | single_display_prop_intangible_p. |
043f7f73 | 6094 | (handle_single_display_spec): Rename from handle_single_display_prop. |
92d2947b RS |
6095 | Rewritten to be easier to understand. |
6096 | ||
a2c7e69a | 6097 | Change in load-history format. Functions now get (defun . NAME), |
92d2947b RS |
6098 | and variables get just NAME. |
6099 | ||
6100 | * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
6101 | ||
6102 | * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
6103 | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. | |
6104 | (Qdefvar): Var deleted. | |
6105 | (syms_of_eval): Don't initialze it. | |
6106 | ||
6107 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
6108 | ||
9f6fcdc5 JD |
6109 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6110 | ||
6111 | * xmenu.c (popup_get_selection): Pop down on C-g. | |
6112 | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that | |
6113 | pops down menu on C-g. | |
6114 | (xdialog_show): If dialog popped down and no button in the dialog was | |
6115 | pushed, call Fsignal to quit. | |
6116 | (xmenu_show): In no toolkit version, if menu returns NO_SELECT call | |
6117 | Fsignal to quit. | |
6118 | ||
1d1c7e75 | 6119 | * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. |
9f6fcdc5 JD |
6120 | |
6121 | * gtkutil.c (xg_initialize): Install bindings for C-g so that | |
6122 | dialogs and menus pop down. | |
6123 | ||
d8ca23a0 KH |
6124 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
6125 | ||
6126 | * coding.c (code_convert_region): Fix calculation of `ratio'. | |
6127 | ||
857ae68b JD |
6128 | 2004-12-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6129 | ||
133c0116 JD |
6130 | * gtkutil.c (update_frame_tool_bar): Make the value of |
6131 | tool-bar-button-margin control margins of images in tool bar. | |
6132 | ||
857ae68b JD |
6133 | * alloc.c (check_depth): New variable. |
6134 | (overrun_check_malloc, overrun_check_realloc): Only add | |
6135 | overhead and write check pattern if check_depth is 1 (to handle | |
6136 | recursive calls). Increase/decrease check_depth in entry/exit. | |
6137 | (overrun_check_free): Only check for overhead if check_depth is 1. | |
6138 | Increase/decrease check_depth in entry/exit. | |
6139 | ||
bd55c35c JD |
6140 | 2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6141 | ||
6142 | * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK | |
6143 | before touching input_available_clear_time, to avoid accessing it | |
6144 | from multiple threads. | |
6145 | ||
66354420 JR |
6146 | 2004-12-23 Jason Rumney <jasonr@gnu.org> |
6147 | ||
6148 | * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour | |
6149 | of JPEG library. | |
6150 | ||
55f4edbc RS |
6151 | 2004-12-22 Richard M. Stallman <rms@gnu.org> |
6152 | ||
6153 | * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. | |
6154 | ||
6155 | * lisp.h (Vundo_outer_limit): Fix decl. | |
6156 | ||
6157 | * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. | |
6158 | Uses changed. | |
6159 | (syms_of_undo): Initialize appropriately. | |
6160 | (truncate_undo_list): If it's nil, there's no limit. | |
6161 | ||
7a0ea9e3 KH |
6162 | 2004-12-22 Kenichi Handa <handa@m17n.org> |
6163 | ||
6164 | * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. | |
6165 | ||
fda2922a RS |
6166 | 2004-12-21 Richard M. Stallman <rms@gnu.org> |
6167 | ||
6168 | * eval.c (unwind_to_catch): Clear immediate_quit. | |
6169 | ||
6170 | * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad | |
6171 | specially as `\ ' and `\-'. | |
6172 | ||
6173 | * keyboard.c (kbd_buffer_store_event_hold): | |
6174 | In the code for while-no-input, handle immediate_quit. | |
6175 | ||
6176 | * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. | |
6177 | Call that at the very start. | |
043f7f73 | 6178 | (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. |
fda2922a RS |
6179 | (syms_of_alloc): Don't define undo-limit, |
6180 | undo-strong-limit and undo-outer-limit here. | |
6181 | ||
6182 | * undo.c (truncate_undo_list): Return void. | |
6183 | Take just one argument, the buffer. | |
6184 | Make it current, and inhibit recursive GC. | |
6185 | Access and update the undo list directly; return void. | |
6186 | Refer to the undo...limit variables directly. | |
6187 | Test undo_outer_limit only after counting the whole current command. | |
6188 | When it's exceeded, call the function in undo-outer-limit-function. | |
6189 | (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. | |
6190 | (Vundo_outer_limit_function): New variable. | |
6191 | (syms_of_undo): Define undo-limit, undo-strong-limit | |
6192 | and undo-outer-limit here, and undo-outer-limit-function. | |
6193 | Doc fixes. | |
6194 | ||
6195 | * lisp.h (truncate_undo_list): Update decl. | |
6196 | ||
6197 | 2004-12-21 Piet van Oostrum <piet@cs.uu.nl> | |
6198 | ||
6199 | * fileio.c (Fread_file_name): Delete duplicates in | |
6200 | file-name-history when history_delete_duplicates is true. | |
6201 | ||
68c69027 ST |
6202 | 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6203 | ||
6204 | * macterm.c (mac_do_list_fonts): Fix memory leak | |
6205 | ||
134579f2 RS |
6206 | 2004-12-20 Richard M. Stallman <rms@gnu.org> |
6207 | ||
6208 | * regex.c (re_match_2_internal) <symend, wordend>: | |
6209 | Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
6210 | ||
fbe6152f ST |
6211 | 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6212 | ||
043f7f73 SM |
6213 | * macterm.c (endif, x_font_name_to_mac_font_name): |
6214 | Use maccentraleurroman instead of maccentraleuropean | |
fbe6152f ST |
6215 | (mac_c_string_match, mac_do_list_fonts): Speed up font search by |
6216 | quickly finding a specific font without needing regexps. | |
6217 | ||
fecad3f6 JD |
6218 | 2004-12-15 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6219 | ||
333f1b6f JD |
6220 | * syssignal.h: Declare main_thread. |
6221 | (SIGNAL_THREAD_CHECK): New macro. | |
6222 | ||
6223 | * keyboard.c (input_available_signal): Move thread checking code | |
6224 | to macro SIGNAL_THREAD_CHECK and call that macro. | |
6225 | (interrupt_signal): Call SIGNAL_THREAD_CHECK. | |
6226 | ||
6227 | * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. | |
6228 | ||
6229 | * emacs.c: Define main_thread. | |
6230 | (main): Initialize main_thread. | |
6231 | (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) | |
6232 | (memory_warning_signal): Call SIGNAL_THREAD_CHECK. | |
6233 | ||
6234 | * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. | |
6235 | ||
6236 | * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. | |
6237 | ||
6238 | * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. | |
6239 | ||
043f7f73 SM |
6240 | * process.c (send_process_trap, sigchld_handler): |
6241 | Call SIGNAL_THREAD_CHECK. | |
333f1b6f JD |
6242 | |
6243 | * data.c (arith_error): Call SIGNAL_THREAD_CHECK. | |
6244 | ||
6245 | * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. | |
6246 | ||
fecad3f6 JD |
6247 | * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before |
6248 | returning when xg_ignore_gtk_scrollbar is true. | |
6249 | ||
2a84c6da KS |
6250 | 2004-12-14 Kim F. Storm <storm@cua.dk> |
6251 | ||
6252 | * keyboard.c (read_char): Save and restore echo_string when | |
6253 | handling input method. | |
6254 | ||
d9c1ce9d RS |
6255 | 2004-12-13 Richard M. Stallman <rms@gnu.org> |
6256 | ||
6257 | * eval.c (syms_of_eval) <quit-flag>: Doc fix. | |
6258 | ||
6259 | * keyboard.c (Vthrow_on_input): New variable. | |
6260 | (syms_of_keyboard): Defvar and initialize it. | |
6261 | (kbd_buffer_store_event_hold): Handle Vthrow_on_input. | |
6262 | ||
6263 | * lisp.h (QUIT): Check for Vthrow_on_input. | |
6264 | (Vthrow_on_input): Declare it. | |
6265 | ||
a6495ed5 KS |
6266 | 2004-12-13 Kim F. Storm <storm@cua.dk> |
6267 | ||
6268 | * xdisp.c (set_iterator_to_next): Reset stop_charpos after display | |
6269 | vector. | |
6270 | ||
24a0e22f RS |
6271 | 2004-12-12 Richard M. Stallman <rms@gnu.org> |
6272 | ||
6273 | * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. | |
6274 | ||
6275 | * minibuf.c (Fall_completions): Add var `zero' and use it in loop. | |
6276 | (Ftry_completion): Really use outer `zero'; eliminate inner one. | |
6277 | ||
d6d31e57 KH |
6278 | 2004-12-12 Kenichi Handa <handa@m17n.org> |
6279 | ||
6280 | * term.c (encode_terminal_code): Fix previous change. | |
6281 | ||
6f8ffb88 SM |
6282 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
6283 | ||
fb6f5cbf SM |
6284 | * keyboard.c (handle_async_input): Remove pthread mutex handling. |
6285 | (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. | |
6286 | ||
6f8ffb88 SM |
6287 | * syntax.c (Fforward_word): Avoid non-idempotent side-effects |
6288 | in macro arguments. | |
6289 | ||
6290 | * minibuf.c (Ftry_completion, Fall_completions): Don't use | |
6291 | XFASTINT blindly. | |
6292 | ||
6293 | * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. | |
6294 | ||
c83c9f9d JD |
6295 | 2004-12-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6296 | ||
2f25767f JD |
6297 | * w32term.c (x_calc_absolute_position): Remove calculation of |
6298 | difference between inner and outer window. Don't subtract difference | |
6299 | for left and top calculations. | |
6300 | ||
c83c9f9d JD |
6301 | * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff |
6302 | for left and top calculations. Remove call to x_real_positions. | |
24a0e22f | 6303 | [Bug report by Drew Adams in November] |
c83c9f9d JD |
6304 | (x_check_expected_move): Do not set change_gravity to 1 when calling |
6305 | x_set_offset. | |
6306 | ||
cc1caa4e RS |
6307 | 2004-12-08 Richard M. Stallman <rms@gnu.org> |
6308 | ||
6309 | * xdisp.c (get_next_display_element): Use `escape-glyph' for | |
6310 | control chars and escaped octal codes. | |
6311 | (Qescape_glyph): New variable. | |
6312 | (syms_of_xdisp): Initialize it. | |
6313 | (escape_glyph_face): New variable. | |
6314 | (redisplay_window): Initialize it. | |
6315 | ||
e0e30823 RS |
6316 | 2004-12-07 Paul Eggert <eggert@cs.ucla.edu> |
6317 | ||
6318 | * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) | |
6319 | (init_image): Use 1 rather than TRUE. TRUE's not always defined. | |
6320 | ||
f415cacd JD |
6321 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6322 | ||
cf435f39 JD |
6323 | * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around |
6324 | reset_malloc_hooks. | |
6325 | ||
6f8ffb88 SM |
6326 | * keyboard.c (handle_async_input, input_available_signal): |
6327 | Add ! defined (SYSTEM_MALLOC) around thread code. | |
cf435f39 | 6328 | |
f415cacd JD |
6329 | * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. |
6330 | ||
043f7f73 | 6331 | 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca> |
19b1f29a SM |
6332 | |
6333 | * eval.c (init_eval_once): Increase max_specpdl_size to 1000. | |
6334 | ||
6335 | * config.in: Regenerate. | |
6336 | ||
ded997c1 JD |
6337 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6338 | ||
453a4f1b JD |
6339 | * xmenu.c (Fx_popup_menu): Correct documentation about position. |
6340 | (xmenu_show): Do not call XTranslateCoordinates. Adjust position | |
6341 | if not given by a mouse click to correspond with x-popup-menu | |
6342 | documentation. | |
6343 | ||
9a38524c JD |
6344 | * config.in: Regenerate. |
6345 | ||
aa477689 JD |
6346 | * gtkutil.c: Include signal.h and syssignal.h. |
6347 | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. | |
6348 | ||
6349 | * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, | |
6350 | new variables main_thread and alloc_mutex, | |
6351 | define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect | |
6352 | emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. | |
6353 | If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as | |
6354 | (UN)BLOCK_INPUT. | |
6355 | (emacs_blocked_free, emacs_blocked_malloc) | |
6356 | (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. | |
6357 | (uninterrupt_malloc): Initialize main_thread and alloc_mutex. | |
6358 | (reset_malloc_hooks): New function. | |
6359 | ||
6360 | * lisp.h: Declare reset_malloc_hooks. | |
6361 | ||
6362 | * emacs.c (Fdump_emacs): Call reset_malloc_hooks. | |
6363 | ||
6364 | * keyboard.c: Conditionally include pthread.h | |
6f8ffb88 | 6365 | (handle_async_input, input_available_signalt): If not in the main |
aa477689 JD |
6366 | thread, block signal, send signal to main thread and return. |
6367 | ||
ded997c1 | 6368 | * gtkutil.c (xg_get_file_with_chooser): Handle local files only. |
6f8ffb88 | 6369 | Set current folder in file chooser if default_filename is a directory. |
ded997c1 | 6370 | |
c72b0edd SM |
6371 | 2004-12-05 Stefan Monnier <monnier@iro.umontreal.ca> |
6372 | ||
6373 | * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. | |
6374 | Remove redundant correctness checks. | |
6375 | (regex_compile): Fix up error codes for \{..\} expressions. | |
6376 | ||
c721eee5 RS |
6377 | 2004-12-05 Richard M. Stallman <rms@gnu.org> |
6378 | ||
6379 | * regex.c (regex_compile): Fix end-of-pattern case for space. | |
6380 | ||
d8f96db8 ST |
6381 | 2004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6382 | ||
6108209e KS |
6383 | * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. |
6384 | * mac.c (cfstring_create_with_utf8_cstring): Add to prevent | |
d8f96db8 | 6385 | crashes with invalid characters. |
6108209e KS |
6386 | * macmenu.c (add_menu_item): Use it. |
6387 | * image.c (image_load_quartz2d): Likewise. | |
6388 | * macfns.c (x_set_name, x_set_title): Likewise. | |
6389 | (Fx_file_dialog): Likewise. Use constant CFRefs instead of | |
6390 | creating them each time for labels. | |
d8f96db8 | 6391 | |
ab67e8b6 RS |
6392 | 2004-12-02 Richard M. Stallman <rms@gnu.org> |
6393 | ||
6394 | * config.in (RE_TRANSLATE_P): If make_number is not a macro, | |
6395 | don't use it here. | |
6396 | ||
6397 | * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. | |
6398 | (interactive_p): Skip Scalled_interactively_p frames | |
6399 | like Sinteractive_p frames. | |
b8217ea6 | 6400 | (unwind_to_catch): Clear handling_signal. |
ab67e8b6 RS |
6401 | |
6402 | * data.c (Fmake_variable_buffer_local): Doc fix. | |
6403 | (Fmake_local_variable): Doc fix. | |
6404 | ||
6405 | * insdel.c (insert_from_string_before_markers) | |
6406 | (insert_from_string): Don't modify buffer on empty insertion. | |
6407 | ||
6408 | * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. | |
6409 | ||
f86bdc80 ST |
6410 | 2004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6411 | ||
6412 | * macmenu.c (add_menu_item): Fallback on MacRoman if encoding | |
6413 | menu text as UTF8 fails. | |
6414 | ||
1cae6d39 KS |
6415 | 2004-12-01 Kim F. Storm <storm@cua.dk> |
6416 | ||
6417 | * alloc.c: Add commentary for last change. | |
6418 | (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle | |
6419 | sizeof(size_t) != 4. | |
6420 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | |
6421 | Use them. Also clear header and trailer of freed memory. | |
6422 | (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. | |
6423 | (string_overrun_cookie): Rename from string_overrun_pattern. | |
6424 | (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. | |
6425 | ||
77ea0764 AS |
6426 | 2004-12-01 Andreas Schwab <schwab@suse.de> |
6427 | ||
6428 | * lisp.h: Declare string_to_multibyte. | |
6429 | ||
2d5cd4e6 KH |
6430 | 2004-12-01 Kenichi Handa <handa@m17n.org> |
6431 | ||
6432 | * w32console.c (w32con_write_glyphs): Decide coding here. | |
6433 | Adjusted for the change of encode_terminal_code. | |
6434 | ||
6435 | * term.c (encode_terminal_code): Don't make it "static". | |
6436 | ||
25a0994a KH |
6437 | 2004-11-30 Kenichi Handa <handa@m17n.org> |
6438 | ||
19b1f29a | 6439 | * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. |
25a0994a | 6440 | (encode_terminal_code): Argument changed. Encode all |
19b1f29a SM |
6441 | characters at once, and return a pointer to the result of encoding. |
6442 | (write_glyphs): Decide coding here. Adjusted for the above change. | |
25a0994a KH |
6443 | (insert_glyphs): Likewise. |
6444 | (term_init): Initialize encode_terminal_bufsize to 0. | |
6445 | ||
6446 | * coding.c (Vcode_conversion_workbuf_name): New variable. | |
6447 | (syms_of_coding): Initialize and staticpro it. | |
6448 | (set_conversion_work_buffer): New function. | |
6449 | (run_pre_post_conversion_on_str): Use it. | |
6450 | (run_pre_write_conversin_on_c_str): New function. | |
6451 | ||
6452 | * coding.h (run_pre_write_conversin_on_c_str): Extern it. | |
6453 | ||
fc7a70cc ST |
6454 | 2004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6455 | ||
6456 | * keyboard.c: Don't undef SIGIO | |
6457 | * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon | |
6458 | * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. | |
6459 | (macfns.o): Don't depend on ccl.h. | |
6460 | * macfns.c (mac_frame_parm_handlers): Set handlers for | |
6461 | Qleft_fringe and Qright_fringe. | |
6462 | * macterm.c (mac_fill_rectangle_to_pixmap) | |
6463 | (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) | |
6464 | (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): | |
6465 | Put in #if 0. | |
6466 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. | |
6467 | (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. | |
6468 | (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. | |
6469 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
6470 | [!MAC_OS8]: Added ifdef'd out code for os8. Don't use | |
6471 | XDrawImageString. Always draw background and foreground separately. | |
6472 | (x_draw_image_foreground): Use clipping instead of computing the | |
6473 | intersection rectangle. | |
6474 | (x_draw_image_glyph_string): Don't draw an image with mask to a | |
6475 | pixmap. | |
6476 | (x_redisplay_interface): Set flush_display_optional member to 0. | |
6477 | (XTread_socket): Correctly reset the TEConverter | |
6478 | object. | |
6479 | ||
fc368889 KS |
6480 | 2004-11-30 Kim F. Storm <storm@cua.dk> |
6481 | ||
6482 | * lisp.h: New defines to enable buffer overrun checking. | |
6483 | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) | |
6484 | (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. | |
6485 | ||
6486 | * alloc.c: Add more checks for buffer overruns. | |
6487 | (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) | |
6488 | xmalloc_overrun_check_trailer, overrun_check_malloc) | |
6489 | overrun_check_realloc, overrun_check_free): Add. | |
6490 | (GC_STRING_EXTRA, string_overrun_pattern): Add. | |
6491 | (check_sblock, allocate_string_data, compact_small_strings): | |
6492 | Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. | |
6493 | (check_cons_list): Condition on GC_CHECK_CONS_LIST. | |
6494 | (check_string_free_list): Add. | |
6495 | (allocate_string, sweep_strings): Call check_string_free_list. | |
6496 | ||
6497 | * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if | |
6498 | XMALLOC_OVERRUN_CHECK to avoid crash during load. | |
6499 | ||
0af8cfe1 KS |
6500 | 2004-11-29 Kim F. Storm <storm@cua.dk> |
6501 | ||
6502 | * fns.c (concat): Use SAFE_ALLOCA. | |
6503 | ||
77220eeb SM |
6504 | 2004-11-29 Stefan Monnier <monnier@iro.umontreal.ca> |
6505 | ||
6506 | * sysdep.c (emacs_write): Don't use QUIT. | |
6507 | ||
a778cf63 KH |
6508 | 2004-11-29 Kenichi Handa <handa@m17n.org> |
6509 | ||
6510 | * buffer.c (init_buffer): Set current_buffer->directory to a | |
6511 | multibyte string made by string_to_multibyte. | |
6512 | ||
77220eeb | 6513 | * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. |
a778cf63 | 6514 | |
e3177e43 AS |
6515 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
6516 | ||
6517 | * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. | |
6518 | ||
6519 | * s/gnu-linux.h: Enable no-op gcpros on ia64. | |
6520 | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. | |
6521 | ||
77220eeb SM |
6522 | * filelock.c (lock_file_1): Call get_boot_time early. |
6523 | Increase buffer size. | |
e3177e43 | 6524 | |
ca5e6fef EZ |
6525 | 2004-11-27 Eli Zaretskii <eliz@gnu.org> |
6526 | ||
6527 | * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN | |
6528 | is not defined. | |
6529 | ||
e2811828 KS |
6530 | 2004-11-27 Kim F. Storm <storm@cua.dk> |
6531 | ||
6532 | * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' | |
6533 | marker out of doc string. | |
6534 | ||
7a262394 SM |
6535 | 2004-11-26 Stefan Monnier <monnier@iro.umontreal.ca> |
6536 | ||
6537 | * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, | |
6538 | which was not mentioned in the log. | |
6539 | ||
f33cc5a9 KS |
6540 | 2004-11-26 Kim F. Storm <storm@cua.dk> |
6541 | ||
048bb03f KS |
6542 | * fringe.c (update_window_fringes): Prefer truncation bitmaps over |
6543 | angle bitmaps at top/bottom line. | |
6544 | ||
52eb0373 | 6545 | * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, |
f33cc5a9 KS |
6546 | set it when it->method is set to next_element_from_display_vector. |
6547 | (setup_for_ellipsis): Add LEN argument. Callers changed. | |
6548 | Set it->saved_face_id. | |
6549 | (get_next_display_element): Use loop instead of recursion. | |
6550 | Set it->saved_face_id. Combine duplicate code for ctr chars. | |
6551 | (next_element_from_display_vector): Do not set it->saved_face_id. | |
6552 | (next_element_from_ellipsis): Use setup_for_ellipsis. | |
6553 | ||
670e8906 EZ |
6554 | 2004-11-26 Eli Zaretskii <eliz@gnu.org> |
6555 | ||
6556 | * eval.c (Fdefvar): Declare pdl from last change as `volatile' to | |
6557 | prevent compiler warnings. | |
6558 | ||
275464e7 SM |
6559 | 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> |
6560 | ||
1bf0e604 SM |
6561 | * keyboard.c (command_loop_1): Print a message describing the key |
6562 | the user just pressed when this key has no binding. | |
6563 | ||
275464e7 SM |
6564 | * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. |
6565 | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. | |
6566 | ||
6567 | * lread.c (readchar): Check QUIT when `getc' is interrupted. | |
6568 | ||
261b01c6 RS |
6569 | 2004-11-24 Richard M. Stallman <rms@gnu.org> |
6570 | ||
6571 | * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. | |
6572 | ||
6573 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. | |
6574 | ||
a5bd504e KS |
6575 | 2004-11-24 Kim F. Storm <storm@cua.dk> |
6576 | ||
6577 | * xdisp.c (move_it_in_display_line_to, display_line): | |
6578 | Restore saved_face_id also when truncate-lines or hscrolled. | |
6579 | ||
255e4140 JD |
6580 | 2004-11-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6581 | ||
6582 | * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to | |
6583 | x-use-old-gtk-file-dialog. | |
6584 | ||
6585 | * xfns.c: Define x_use_old_gtk_file_dialog. | |
6586 | (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it | |
6587 | outside ifdef USE_GTK. | |
6588 | ||
cab27d04 SM |
6589 | 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca> |
6590 | ||
6591 | * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): | |
6592 | Don't use XFASTINT blindly. | |
6593 | ||
6594 | * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. | |
6595 | ||
6596 | * indent.c (skip_invisible): Avoid non-idempotent side-effects | |
6597 | in macro arguments. | |
6598 | ||
6599 | * keymap.c (Flookup_key): Check INTEGERP before XINT. | |
6600 | ||
6601 | * lread.c (oblookup): Don't use XFASTINT blindly. | |
6602 | ||
6603 | * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. | |
6604 | (decode_next_window_args, window_loop): Don't use XFASTINT blindly. | |
6605 | ||
11e0be49 KS |
6606 | 2004-11-23 Kim F. Storm <storm@cua.dk> |
6607 | ||
4d721114 KS |
6608 | * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) |
6609 | (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. | |
6610 | ||
11e0be49 KS |
6611 | * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if |
6612 | signal_p is zero and face name is unknown. | |
6613 | (Fx_list_fonts): Don't signal error in lookup_named_face. | |
6614 | (Fface_font): Signal error in lookup_named_face. | |
6615 | (ascii_face_of_lisp_face): Likewise. | |
6616 | ||
6617 | * dispextern.h (lookup_named_face): Fix prototype. | |
6618 | ||
6619 | * xdisp.c (handle_single_display_prop): Don't signal error in | |
6620 | lookup_named_face for unknown fringe face name. | |
6621 | (highlight_trailing_whitespace): Don't signal error in | |
6622 | lookup_named_face if trailing-whitespace face unknown. | |
6623 | (calc_line_height_property): Don't signal error in | |
6624 | lookup_named_face if specified face name is unknown. | |
6625 | ||
6626 | * fringe.c (update_window_fringes): Show top row indicator if | |
6627 | window has header-line. Don't show arrow at bob and eob | |
6628 | if the boundary indicators are not used. | |
6629 | (Fset_fringe_bitmap_face): Signal error in lookup_named_face. | |
6630 | ||
6631 | * window.c (set_window_buffer): Clear display_error_modiff. | |
6632 | ||
0960a582 KS |
6633 | 2004-11-22 Kim F. Storm <storm@cua.dk> |
6634 | ||
6635 | * fringe.c (update_window_fringes): Provide sensible fall-back | |
6636 | value for non-nil indicate-buffer-boundaries setting. | |
6637 | ||
b0e9bb28 MR |
6638 | 2004-11-22 Markus Rost <rost@ias.edu> |
6639 | ||
6640 | * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. | |
6641 | ||
d0bce91e SM |
6642 | 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
6643 | ||
6644 | * eval.c (Fdefvar): Warn when var is let-bound but globally void. | |
6645 | ||
e1814672 KS |
6646 | 2004-11-21 Kim F. Storm <storm@cua.dk> |
6647 | ||
b7fd3518 KS |
6648 | * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. |
6649 | ||
6650 | * xterm.c (x_clip_to_row): Add area arg. Callers changed. | |
6651 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
6652 | ||
6653 | * w32term.c (w32_clip_to_row): Add area arg. Callers changed. | |
6654 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
6655 | ||
6656 | * macterm.c (x_clip_to_row): Add area arg. Callers changed. | |
6657 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
6658 | ||
d0bce91e SM |
6659 | * xdisp.c (move_it_in_display_line_to, display_line): |
6660 | Restore saved_face_id if overflow-newline-into-fringe is enabled and | |
6661 | line is continued before or in middle of element from display vector. | |
f01d4d05 | 6662 | |
f1a61389 KS |
6663 | * indent.c (Fvertical_motion): Fix last change. Use another |
6664 | method to detect if iterator moved too far ahead after reseat. | |
6665 | ||
e1814672 KS |
6666 | * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not |
6667 | expand matrix width for overflow in zero-width area. | |
6668 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
6669 | (append_stretch_glyph): Use it to avoid loop in redisplay. | |
6670 | (note_mode_line_or_margin_highlight): Don't let help-echo from | |
6671 | string override help-echo from image map. | |
6672 | ||
2dafe1c9 LT |
6673 | 2004-11-20 Luc Teirlinck <teirllm@auburn.edu> |
6674 | ||
d0bce91e | 6675 | * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. |
2dafe1c9 LT |
6676 | * callint.c (Fcall_interactively): Ditto. |
6677 | ||
fd6866c8 | 6678 | 2004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9961365e RS |
6679 | |
6680 | * minibuf.c (Fminibuffer_complete_and_exit): | |
6681 | Fixup the case of the completed value, for case-indep completion. | |
6682 | ||
dedbac89 RS |
6683 | 2004-11-20 Richard M. Stallman <rms@gnu.org> |
6684 | ||
fd6866c8 RS |
6685 | * lisp.h (Fread_from_minibuffer): Add arg in decl. |
6686 | ||
9d00469f | 6687 | * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. |
ce8dd7ca | 6688 | (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. |
9d00469f | 6689 | |
dedbac89 | 6690 | * search.c (Vsearch_spaces_regexp): |
d0bce91e | 6691 | Rename from Vsearch_whitespace_regexp. All uses changed. |
dedbac89 | 6692 | |
2f672bb5 TTN |
6693 | 2004-11-20 Thien-Thi Nguyen <ttn@gnu.org> |
6694 | ||
6695 | * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. | |
6696 | ||
f31a9a68 RS |
6697 | 2004-11-19 Richard M. Stallman <rms@gnu.org> |
6698 | ||
6699 | * search.c (Vsearch_whitespace_regexp): New variable. | |
6700 | (syms_of_search): Defvar it. | |
6701 | (compile_pattern_1): Call re_set_whitespace_regexp with it. | |
6702 | (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp | |
6703 | is non-nil. | |
6de891db RS |
6704 | (struct regexp_cache): New element whitespace_regexp. |
6705 | (syms_of_search): Initialize whitespace_regexp elements. | |
6706 | (compile_pattern): Compare whitespace_regexp elements. | |
6707 | (compile_pattern_1): Set whitespace_regexp elements. | |
f31a9a68 RS |
6708 | |
6709 | * regex.c (regex_compile): Substitute whitespace_regexp | |
6710 | for spaces, if it is nonzero. | |
6711 | (whitespace_regexp): New variable. | |
6712 | (re_set_whitespace_regexp): New function. | |
6713 | ||
cbc34cb3 KS |
6714 | 2004-11-19 Kim F. Storm <storm@cua.dk> |
6715 | ||
6716 | * indent.c (Fvertical_motion): Fix last change. | |
6717 | ||
b54a7539 KS |
6718 | 2004-11-18 Kim F. Storm <storm@cua.dk> |
6719 | ||
6720 | * indent.c (Fvertical_motion): Undo 2004-11-16 change. | |
6721 | Instead, move back again if reseating moves too far ahead. | |
6722 | ||
6723 | 2004-11-17 Luc Teirlinck <teirllm@auburn.edu> | |
802c6e56 LT |
6724 | |
6725 | * xdisp.c (message3): Call clear_message. | |
6726 | ||
5ff504fe KS |
6727 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
6728 | ||
6729 | * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. | |
6730 | ||
5ae53dcf JD |
6731 | 2004-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6732 | ||
d0bce91e | 6733 | * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. |
724cde0d | 6734 | |
6abf3a27 | 6735 | * xmenu.c (x_menu_in_use): Remove. |
5ae53dcf JD |
6736 | (x_menu_set_in_use): Also set popup_activated_flag. |
6737 | ||
5ff504fe | 6738 | * xfns.c (Fx_file_dialog): Call popup_activated instead of |
5ae53dcf JD |
6739 | x_menu_in_use. Call x_menu_set_in_use in Motif version also. |
6740 | ||
52eb0373 | 6741 | * xterm.h (x_menu_in_use): Remove. |
5ae53dcf | 6742 | |
ee31cd78 RS |
6743 | 2004-11-16 Richard M. Stallman <rms@gnu.org> |
6744 | ||
6abf3a27 SM |
6745 | * keymap.c (Fmap_keymap): New arg SORT-FIRST. |
6746 | Use map-keymap-internal to implement that. | |
ee31cd78 RS |
6747 | |
6748 | * indent.c (Fvertical_motion): In batch mode, use vmotion directly. | |
6749 | ||
6abf3a27 SM |
6750 | 2004-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
6751 | ||
6752 | * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's | |
6753 | a window before using XWINDOW. | |
6754 | ||
6755 | * window.c (make_window, Fselect_window, make_dummy_parent) | |
6756 | (save_window_save): | |
6757 | * frame.c (make_frame): | |
6758 | * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. | |
6759 | ||
6760 | * lisp.h (NILP): Use EQ rather than XFASTINT. | |
6761 | ||
b4d61105 KS |
6762 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
6763 | ||
6abf3a27 | 6764 | * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. |
dda01a4c | 6765 | |
b4d61105 KS |
6766 | * indent.c (Fvertical_motion): Fix last change. Only reseat when |
6767 | moving backwards. | |
6768 | ||
6769 | 2004-11-16 Luc Teirlinck <teirllm@auburn.edu> | |
ce2bbf6a LT |
6770 | |
6771 | * dispextern.h: Extern reseat_at_previous_visible_line_start. | |
6772 | ||
ab5b02b0 KH |
6773 | 2004-11-16 Kenichi Handa <handa@m17n.org> |
6774 | ||
6775 | * xdisp.c (display_mode_element): Fix previous change (calculate | |
6776 | end position of substring to display correctly). | |
6777 | ||
c482cf97 KS |
6778 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
6779 | ||
6780 | * keyboard.c (Fposn_at_point): Remove extra */ after doc string. | |
6781 | Reported by Andrew M. Scott. | |
6782 | ||
9f89426b KS |
6783 | 2004-11-15 Kim F. Storm <storm@cua.dk> |
6784 | ||
6785 | * fns.c (Fsafe_plist_get): New defun. | |
6786 | (syms_of_fns): Defsubr it. | |
6787 | ||
6788 | * lisp.h (Fsafe_plist_get): Add EXFUN. | |
6789 | ||
6790 | * xdisp.c (store_mode_line_string, produce_stretch_glyph): | |
6791 | Use Fsafe_plist_get. | |
6792 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
6793 | Fix image map element parsing. Use Fsafe_plist_get. | |
6794 | ||
27418463 RS |
6795 | 2004-11-15 Richard M. Stallman <rms@gnu.org> |
6796 | ||
6797 | * xdisp.c (get_next_display_element): Fix previous change. | |
6798 | ||
a130b901 JD |
6799 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6800 | ||
ef614e04 JD |
6801 | * window.c (shrink_windows): Handle special case of one window left |
6802 | when trying to shrink the final reminder. Grow windows if | |
6803 | total_removed is less than total_shrink. | |
6804 | ||
a130b901 JD |
6805 | * xmenu.c (pop_down_menu): Remove global variable current_menu, |
6806 | extract pointer from arg with XSAVE_VALUE. | |
46303896 KS |
6807 | (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): |
6808 | Construct arg to record_unwind_protect with make_save_value. | |
a130b901 | 6809 | |
d9a03ad2 RS |
6810 | 2004-11-13 Richard M. Stallman <rms@gnu.org> |
6811 | ||
6812 | * xdisp.c (reseat_at_previous_visible_line_start): No longer static. | |
6813 | (get_next_display_element): Fix previous change to apply only to \n. | |
6814 | ||
6815 | * indent.c (Fvertical_motion): Scan to PT from start of line to | |
6816 | make iterator consistent. | |
6817 | ||
6818 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
6819 | ||
b3935289 JD |
6820 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6821 | ||
6822 | * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. | |
6823 | ||
6824 | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | |
6825 | Record unwind with clean_up_file_dialog. | |
6826 | ||
78819ebb KS |
6827 | * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): |
6828 | Declare. | |
b3935289 JD |
6829 | |
6830 | * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | |
6831 | ||
af89e871 JD |
6832 | 2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6833 | ||
457a8155 | 6834 | * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) |
6abf3a27 | 6835 | (xg_file_sel_destroy): Remove. |
46303896 KS |
6836 | (xg_file_response_cb, pop_down_file_dialog) |
6837 | (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): | |
457a8155 | 6838 | New functions. |
6abf3a27 SM |
6839 | (xg_get_file_with_chooser, xg_get_file_with_selection): |
6840 | Take new arg func, set it to xg_get_file_name_from_chooser/selector. | |
457a8155 JD |
6841 | Move common code to xg_get_file_name. Return widget created. |
6842 | (xg_get_file_name): Set name, transient for, modal and destroy | |
6843 | with parent here. Connect response signal to xg_file_response_cb, | |
6844 | connect delete-event to gtk_true. Record pop_down_file_dialog | |
6845 | for unwind. Do event loop and call x_menu_wait_for_event in loop. | |
6846 | (xg_create_widget): Make dialogs modal. | |
6847 | ||
af89e871 JD |
6848 | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type |
6849 | Lisp_Object. | |
6850 | (popup_get_selection): Move unwind protect ... | |
6851 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
6852 | Move destroy of widget to pop_down_menu. | |
6853 | (popup_widget_loop): Move unwind protect ... | |
6854 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
6855 | Move destroy of widget to pop_down_menu. | |
6856 | (pop_down_menu): BLOCK_INPUT and destroy widget/window. | |
6abf3a27 | 6857 | (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, |
af89e871 JD |
6858 | x_mouse_leave and grabbed = 0 to pop_down_menu. |
6859 | ||
5596fbf1 KS |
6860 | 2004-11-13 Kim F. Storm <storm@cua.dk> |
6861 | ||
6862 | * xdisp.c (make_cursor_line_fully_visible_p): New variable. | |
6863 | (syms_of_xdisp): DEFVAR_BOOL it. | |
6864 | (make_cursor_line_fully_visible, try_cursor_movement) | |
6865 | (try_window_id): Use it. | |
6866 | ||
b9de078a KS |
6867 | 2004-11-12 Kim F. Storm <storm@cua.dk> |
6868 | ||
381f7091 KS |
6869 | * dispextern.h (struct glyph_row): New member extra_line_spacing. |
6870 | (struct it): New member max_extra_line_spacing. | |
6871 | (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
6872 | (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
6873 | (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
6874 | part of last line is only extra line spacing (so the text on the | |
52eb0373 | 6875 | line is fully visible). Use helper macros. |
381f7091 KS |
6876 | Add W arg (to use them). All callers changed. |
6877 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
6878 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
6879 | ||
6abf3a27 SM |
6880 | * window.c (window_scroll_pixel_based, Frecenter): |
6881 | Use move_it_vertically_backward directly. | |
381f7091 KS |
6882 | (Frecenter): Fix calculation of new start pos for negative arg. |
6883 | Before, the new start pos was sometimes chosen too far back, so | |
6884 | the last line became only partially visible, and thus would be | |
6885 | either only semi-visible or automatically scrolled to the middle | |
6886 | of the window by redisplay. | |
6887 | ||
6888 | * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
6889 | (move_it_vertically_backward): Don't recure to move further back. | |
6890 | (move_it_vertically): Remove superfluous condition. | |
6891 | (move_it_by_lines): Clear last_height when moved 0 lines. | |
6abf3a27 | 6892 | (resize_mini_window): Use it.max_extra_line_spacing. |
381f7091 KS |
6893 | (display_tool_bar_line): Clear row->extra_line_spacing. |
6894 | (try_scrolling): Use move_it_vertically_backward directly. | |
6895 | (redisplay_window): Likewise. | |
6896 | (compute_line_metrics): Set row->extra_line_spacing. | |
6897 | (display_line, display_string): Likewise. | |
6898 | (x_produce_glyphs): Update it->max_extra_line_spacing. | |
6899 | ||
b9de078a KS |
6900 | * xmenu.c (pop_down_menu): Return nil. |
6901 | ||
c3438661 JD |
6902 | 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6903 | ||
6904 | * xmenu.c (x_menu_wait_for_event): New function. | |
1d1c7e75 | 6905 | (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event |
c3438661 | 6906 | to handle timers. |
df00f436 JD |
6907 | (popup_widget_loop): Add argument do_timers. |
6908 | (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for | |
6909 | do_timers to popup_widget_loop. | |
c3438661 JD |
6910 | (xmenu_show): Call XMenuActivateSetWaitFunction so that |
6911 | x_menu_wait_for_event is called by XMenuActivate. | |
b9de078a | 6912 | (create_and_show_popup_menu): Pass 1 for do_timers to |
df00f436 | 6913 | popup_get_selection. |
f1d1cd24 JD |
6914 | (pop_down_menu): New function. |
6915 | (popup_get_selection, popup_widget_loop): Unwind protect to | |
6916 | pop_down_menu. | |
6917 | (popup_widget_loop): Add argument widget. | |
6918 | (create_and_show_popup_menu, create_and_show_dialog): Pass new | |
6919 | argument widget to popup_widget_loop. | |
c3438661 | 6920 | |
32e2fb04 SM |
6921 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
6922 | ||
6923 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | |
6924 | ||
0faf6806 KS |
6925 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
6926 | ||
6927 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | |
6928 | Fix various comments referring to XEvents instead of input events. | |
6929 | (x_queue_event): Fix format strings. | |
6930 | (x_stop_queuing_selection_requests): Likewise. | |
6931 | ||
6932 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | |
6933 | (pint2hrstr): Add extra braces to silence compiler. | |
6934 | ||
6935 | * print.c (print_object): Fix format string. | |
6936 | ||
6937 | * lread.c (read1): Fix next_char matching. | |
6938 | ||
6939 | * lisp.h (Fdelete): Add EXFUN. | |
6940 | (replace_range_2): Add prototype. | |
6941 | ||
6942 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | |
6943 | ||
6944 | * intervals.h (NULL_INTERVAL_P): Add separate version when | |
6945 | ENABLE_CHECKING is not defined to silence compiler. | |
6946 | (compare_string_intervals): Add prototype. | |
6947 | ||
6948 | * fringe.c (destroy_fringe_bitmap): Fix return type. | |
6949 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | |
6950 | ||
6951 | * emacs.c (Fdump_emacs): Fix format string. | |
6952 | ||
6953 | * doc.c: Include <ctype.h>. | |
6954 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | |
6955 | ||
6956 | * data.c (store_symval_forwarding): Remove unused variables. | |
6957 | ||
6958 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | |
6959 | ||
16bf4e32 JD |
6960 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6961 | ||
6962 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | |
6963 | to ${OLDXMENU}. | |
6964 | ||
cdb805a9 KS |
6965 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
6966 | ||
6967 | * process.c (Fmake_network_process): Remove kludge for interrupted | |
6968 | connects on BSD. If connect is interrupted, just close socket and | |
6969 | start over rather than sleeping and retry with same socket. | |
6970 | ||
d87a9ab8 | 6971 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0faf6806 | 6972 | |
a8b16c80 JD |
6973 | * .cvsignore: Add buildobj.lst. |
6974 | ||
d87a9ab8 JD |
6975 | * doc.c: New variable Vbuild_files. |
6976 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | |
e7427ac1 | 6977 | file names from buildobj.lst. Only attach docstrings from files |
d87a9ab8 JD |
6978 | that are in Vbuild_files. |
6979 | (syms_of_doc): Defvar Vbuild_files. | |
6980 | ||
6981 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | |
6982 | and w32*.o. | |
6983 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | |
6abf3a27 | 6984 | (mostlyclean): Rm buildobj.lst |
d87a9ab8 JD |
6985 | |
6986 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | |
6987 | is linked. | |
6988 | ||
b6709e77 KS |
6989 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
6990 | ||
6991 | * fringe.c (update_window_fringes): Update fringe bitmaps if | |
6992 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | |
6993 | also update previous row to get rid of misc. artifacts. | |
6994 | ||
bae9677d KS |
6995 | 2004-11-08 Kim F. Storm <storm@cua.dk> |
6996 | ||
6997 | * xdisp.c (fast_find_position): Fix start pos if header line present. | |
b7127aa8 | 6998 | (note_mouse_highlight): Clear mouse face if we move out of text area. |
bae9677d | 6999 | |
3f8ea68c EZ |
7000 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
7001 | ||
7002 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | |
7003 | Don't include <sys/time.h> explicitly. | |
7004 | Include <stdio.h> unconditionally, not just on MacOS. | |
7005 | ||
a653f812 KH |
7006 | 2004-11-08 Kenichi Handa <handa@m17n.org> |
7007 | ||
7008 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | |
7009 | don't pay attention to '\' before '*'. | |
7010 | (fontset_pattern_regexp): Change the meaning of the second arg. | |
7011 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | |
7012 | (check_fontset_name): Try NAME as literal at first, and if it | |
7013 | failes, try NAME as pattern. | |
7014 | ||
c37caf9d JD |
7015 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7016 | ||
7017 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | |
7018 | ||
b72915a7 AS |
7019 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
7020 | ||
78819ebb KS |
7021 | * lisp.h (Fmsdos_downcase_filename): Declare. |
7022 | * dired.c (Fmsdos_downcase_filename): Don't declare here. | |
b72915a7 AS |
7023 | * fileio.c: Likewise. |
7024 | ||
238a44a8 JD |
7025 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7026 | ||
7027 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | |
7028 | comparisons with integers instead of Lisp_Object address. | |
7029 | (Fmsdos_set_keyboard): Declare argument allkeys. | |
7030 | ||
7031 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | |
7032 | ||
78819ebb | 7033 | * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid |
238a44a8 JD |
7034 | int/Lisp_Object mixup. |
7035 | ||
7036 | * fileio.c: Ditto. | |
7037 | ||
31141c13 ST |
7038 | 2004-11-06 Steven Tamm <steventamm@mac.com> |
7039 | ||
7040 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | |
7041 | ||
f28c1bd9 RS |
7042 | 2004-11-06 Richard M. Stallman <rms@gnu.org> |
7043 | ||
7044 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | |
7045 | ||
7046 | * xfaces.c (merge_named_face): GCPRO the face_name in the | |
7047 | named_merge_point struct that we make. | |
7048 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | |
7049 | ||
7050 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | |
7051 | before deciding whether to inactivate mark. | |
7052 | ||
59dede22 EZ |
7053 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> |
7054 | ||
7055 | * config.in: Regenerate (add HAVE_GETRUSAGE). | |
6159c232 EZ |
7056 | * editfns.c (Fget_internal_run_time): New function. |
7057 | (syms_of_data): Defsubr it. | |
7058 | * fns.c (sxhash): As far as possible, merge calculation of | |
7059 | hash code for symbols and strings. | |
59dede22 | 7060 | |
27540e81 EZ |
7061 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> |
7062 | ||
7063 | * frame.c (syms_of_frame): Fix the example in the doc string. | |
7064 | ||
df470e3b JD |
7065 | 2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7066 | ||
7067 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | |
7068 | ||
7069 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | |
7070 | (create_and_show_dialog): Revert change from 2004-10-31. | |
bae9677d | 7071 | |
4cc8522c LT |
7072 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> |
7073 | ||
7074 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | |
7075 | ||
d4a42098 KS |
7076 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
7077 | ||
a8490886 KS |
7078 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. |
7079 | ||
d4a42098 KS |
7080 | * fileio.c (Ffile_modes): Doc fix. |
7081 | (auto_save_1): Check for Ffile_modes nil value. | |
7082 | ||
36a2b04c KS |
7083 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
7084 | ||
7085 | * xselect.c (struct selection_event_queue, selection_queue) | |
7086 | (x_queue_selection_requests, x_queue_event) | |
7087 | (x_start_queuing_selection_requests) | |
7088 | (x_stop_queuing_selection_requests): Add new queue for selection | |
7089 | input events to replace previous XEvent queue in xterm.c. | |
7090 | (queue_selection_requests_unwind): Adapt to new queue. | |
32e2fb04 SM |
7091 | (x_reply_selection_request): Adapt to new queue. |
7092 | Unexpect wait_object in case of x errors (memory leak). | |
36a2b04c KS |
7093 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
7094 | (x_handle_selection_event): New function. May queue selection events. | |
7095 | (wait_for_property_change_unwind): Use save_value instead of cons. | |
7096 | Clear property_change_reply_object. | |
7097 | (wait_for_property_change): Abort if already waiting. | |
7098 | Use save_value instead of cons for unwind data. | |
7099 | (x_handle_property_notify): Skip events already arrived, but don't | |
7100 | free them, as "arrived" field is checked by wait_for_property_change, | |
7101 | and it will be freed by unwind or explicit unexpect_property_change. | |
7102 | (x_get_foreign_selection): Add to new queue. | |
7103 | (receive_incremental_selection): Don't unexpect wait_object when done | |
7104 | as it has already been freed by previous wait_for_property_change. | |
7105 | ||
7106 | * xterm.h (x_start_queuing_selection_requests) | |
7107 | (x_stop_queuing_selection_requests, x_handle_selection_request) | |
7108 | (x_handle_selection_clear): Remove prototypes. | |
7109 | (x_handle_selection_event): Add prototype. | |
7110 | ||
7111 | * xterm.c (handle_one_xevent): Don't queue X selection events | |
7112 | here, it may be too late if we start queuing after we have already | |
7113 | stored some selection events into the kbd buffer. | |
7114 | (struct selection_event_queue, queue, x_queue_selection_requests) | |
7115 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | |
7116 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | |
7117 | (x_catch_errors_unwind): Block input around final XSync. | |
7118 | ||
7119 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | |
7120 | ||
7121 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | |
7122 | (kbd_buffer_unget_event): New function. | |
7123 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | |
7124 | and use x_handle_selection_event. | |
7125 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | |
7126 | ||
9c3ad9e1 JD |
7127 | 2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7128 | ||
7129 | * xselect.c (TRACE3): New debug macro. | |
7130 | (x_reply_selection_request): Use it. | |
7131 | (receive_incremental_selection): In call to TRACE0, the name of | |
7132 | a symbol is in xname. | |
7133 | ||
a33b89de KS |
7134 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
7135 | ||
7136 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | |
7137 | ||
a872928c JD |
7138 | 2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7139 | ||
88208bb8 JD |
7140 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. |
7141 | ||
78819ebb | 7142 | * gtkutil.h (use_old_gtk_file_dialog): Declare. |
0a4f23f3 JD |
7143 | |
7144 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | |
32e2fb04 | 7145 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
0a4f23f3 JD |
7146 | * xfns.c (syms_of_xfns): ... to here. |
7147 | ||
a872928c JD |
7148 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
7149 | it doesn't start with /. | |
7150 | ||
b912921c KH |
7151 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
7152 | ||
7153 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | |
7154 | treat it as a literal character. | |
7155 | ||
c524d9a6 KS |
7156 | 2004-11-03 Kim F. Storm <storm@cua.dk> |
7157 | ||
7158 | * .gdbinit (ppt): New function. | |
7159 | ||
8cfd0f36 JD |
7160 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7161 | ||
a11e1dce JD |
7162 | * xterm.c (x_window_to_scroll_bar): Only call |
7163 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | |
7164 | ||
8cfd0f36 JD |
7165 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
7166 | of save. | |
7167 | ||
a93563fd AS |
7168 | 2004-11-02 Andreas Schwab <schwab@suse.de> |
7169 | ||
7170 | * window.c (Fscroll_right): Fix last change. | |
7171 | ||
2b2d59d8 KS |
7172 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
7173 | ||
7174 | * Makefile.in (callproc.o): Depend on blockinput.h atimer.h systime.h. | |
7175 | ||
7176 | 2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
7177 | ||
7178 | * callproc.c (Fcall_process): Block input around vfork. | |
7179 | ||
ca28104d KS |
7180 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
7181 | ||
7182 | * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. | |
7183 | (syms_of_eval): Defsubr it. | |
7184 | ||
29bb7127 RS |
7185 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
7186 | ||
7187 | * insdel.c (replace_range_2): New function. | |
7188 | ||
7189 | * casefiddle.c (casify_region): Handle changes in byte-length | |
7190 | using replace_range_2. | |
7191 | ||
7192 | * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. | |
7193 | ||
b6189c3b | 7194 | * xdisp.c (back_to_previous_visible_line_start): |
29bb7127 RS |
7195 | Subtract 1 from pos when checking previous newline for invisibility. |
7196 | ||
7197 | * window.c (window_scroll_pixel_based): Update preserve_y | |
7198 | for header line if any. | |
7199 | (Fscroll_left, Fscroll_right): Don't call interactive_p; | |
7200 | use a new second argument instead. | |
7201 | ||
7202 | * eval.c (Fcall_interactive_p): New function. | |
7203 | (interactive_p): Don't test INTERACTIVE here. | |
7204 | (Finteractive_p): Doc fix. | |
7205 | ||
7206 | * eval.c (Feval): Abort if INPUT_BLOCKED_P. | |
7207 | ||
b6189c3b | 7208 | 2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
a3fe4aaf JR |
7209 | |
7210 | * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for | |
b6189c3b | 7211 | comparing font names. |
a3fe4aaf | 7212 | |
2a00cdb4 JD |
7213 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7214 | ||
f9d64bb3 JD |
7215 | * fileio.c (Fread_file_name): Pass Qt as fifth parameter to |
7216 | Fx_file_dialog if only directories should be read. | |
7217 | ||
7218 | * lisp.h: Fx_file_dialog takes 5 parameters. | |
7219 | ||
32e2fb04 SM |
7220 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
7221 | Add parameter only_dir_p. | |
f9d64bb3 JD |
7222 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
7223 | dialog, just text field part. Do not add DEFAULT_FILENAME | |
7224 | to list of files if it isn't there. | |
7225 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | |
7226 | ||
32e2fb04 SM |
7227 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
7228 | Check only_dir_p instead of comparing prompt to "Dired". When using | |
f9d64bb3 JD |
7229 | a save dialog, add option kNavDontConfirmReplacement, change title |
7230 | to "Enter name", change text for save button to "Ok". | |
7231 | ||
32e2fb04 SM |
7232 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
7233 | Check only_dir_p instead of comparing prompt to "Dired". | |
f9d64bb3 JD |
7234 | |
7235 | * gtkutil.c (xg_get_file_with_chooser) | |
7236 | (xg_get_file_with_selection): New functions, only defined ifdef | |
7237 | HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW | |
7238 | respectively. | |
7239 | (xg_get_file_name): Add parameter only_dir_p. | |
7240 | Call xg_get_file_with_chooser or xg_get_file_with_selection | |
7241 | depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. | |
7242 | (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. | |
7243 | ||
7244 | * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. | |
7245 | ||
2a00cdb4 JD |
7246 | * config.in: Rebuild (added HAVE_GTK_FILE_*). |
7247 | ||
f6749d5d KS |
7248 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
7249 | ||
32e2fb04 SM |
7250 | * process.c (connect_wait_mask, num_pending_connects): |
7251 | Only declare and use them if NON_BLOCKING_CONNECT is defined. | |
bad49fc7 | 7252 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
f6749d5d KS |
7253 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
7254 | (wait_reading_process_output): Only declare and use local vars | |
7255 | Connecting and check_connect when NON_BLOCKING_CONNECT is defined. | |
f6749d5d | 7256 | |
1a99fe1a JR |
7257 | 2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change) |
7258 | ||
7259 | * w32term.c (x_scroll_run): Delete region objects after use. | |
7260 | ||
fcdb28b4 JD |
7261 | 2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7262 | ||
495ef86b JD |
7263 | * xmenu.c: Add prototypes for forward function declarations. |
7264 | (popup_get_selection): Remove parameter do_timers, remove call to | |
7265 | timer_check. | |
32e2fb04 SM |
7266 | (create_and_show_popup_menu, create_and_show_dialog): |
7267 | Remove parameter do_timers from call to popup_get_selection. | |
495ef86b | 7268 | |
12e6566a JD |
7269 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
7270 | tool_bar_items and assign the result to f->tool_bar_items if | |
7271 | not equal. Move BLOCK/UNBLOCK_INPUT from around call to | |
7272 | tool_bar_items to assignment of result. | |
7273 | ||
fcdb28b4 JD |
7274 | * atimer.c (alarm_signal_handler): Do not call set_alarm if |
7275 | pending_atmers is non-zero. | |
7276 | ||
1a1a0c4c KS |
7277 | 2004-10-31 Kim F. Storm <storm@cua.dk> |
7278 | ||
7279 | * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. | |
7280 | ||
a36f1680 JW |
7281 | 2004-10-28 Will <will@glozer.net> |
7282 | ||
1d1c7e75 | 7283 | * macterm.c: Allow user to assign key modifiers to the Mac Option |
a36f1680 JW |
7284 | key via a 'mac-option-modifier' variable. |
7285 | ||
32e2fb04 | 7286 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2d586478 SM |
7287 | |
7288 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | |
7289 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | |
7290 | (x_handle_selection_request, x_handle_selection_clear) | |
7291 | (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. | |
7292 | ||
4f71c13f RS |
7293 | 2004-10-28 Richard M. Stallman <rms@gnu.org> |
7294 | ||
7295 | * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
7296 | ||
7297 | * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
7298 | ||
068f3848 SM |
7299 | 2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca> |
7300 | ||
7301 | * syntax.c (scan_sexps_forward): Give precedence to a 2-char | |
7302 | comment-starter over a 1-char one. | |
7303 | ||
4660a9e3 RS |
7304 | 2004-10-27 Richard M. Stallman <rms@gnu.org> |
7305 | ||
7306 | * xdisp.c (get_next_display_element): In mode lines, | |
7307 | treat newline and tab like other control characters. | |
7308 | ||
7309 | * editfns.c (Fmessage): Doc fix. | |
7310 | ||
7311 | * indent.c (vmotion): When moving up, check the newline before. | |
7312 | Make prevline an int, not a Lisp_Object. | |
7313 | ||
233f3db6 KS |
7314 | 2004-10-27 Kim F. Storm <storm@cua.dk> |
7315 | ||
7316 | * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. | |
7317 | Only allocate info and discarded tables once. | |
7318 | ||
7319 | * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. | |
7320 | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. | |
7321 | (SAFE_FREE): Test it to determine if we need to unwind to free. | |
7322 | Remove size arg. All users changed. | |
7323 | (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. | |
7324 | ||
1442465d JD |
7325 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7326 | ||
7327 | * gtkutil.c: Put empty line between comment and function body. | |
068f3848 SM |
7328 | (xg_destroy_widgets): Rename from remove_from_container. |
7329 | Just destroy all widgets in list. Argument wcont removed. | |
1442465d JD |
7330 | (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets |
7331 | instead of remove_from_container. | |
7332 | (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) | |
7333 | (free_frame_tool_bar): Add comment. | |
7334 | ||
7335 | * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME | |
7336 | is not NULL before strcmp. | |
7337 | ||
c8636435 KS |
7338 | 2004-10-26 Kim F. Storm <storm@cua.dk> |
7339 | ||
7340 | * callint.c (Fcall_interactively): Add 'U' code to get the | |
7341 | up-event discarded by a previous 'k' or 'K' argument. | |
7342 | ||
5629f29b DK |
7343 | 2004-10-26 David Kastrup <dak@gnu.org> |
7344 | ||
7345 | * buffer.c (syms_of_buffer): Fix a few typos. | |
7346 | ||
4f2f546e JD |
7347 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7348 | ||
7349 | * xsmfns.c: Put empty line between comment and function body. | |
7350 | Use two spaces before comment end. | |
7351 | ||
fc1062f5 KH |
7352 | 2004-10-25 Kenichi Handa <handa@m17n.org> |
7353 | ||
7354 | * fontset.c (fontset_pattern_regexp): Optimize for the case that | |
7355 | PATTERN is full XLFD. | |
7356 | ||
be13f5e5 KH |
7357 | 2004-10-24 Kenichi Handa <handa@m17n.org> |
7358 | ||
7359 | * regex.h (enum reg_errcode_t): New value REG_ERANGEX. | |
7360 | ||
7361 | * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. | |
7362 | (regex_compile): Return REG_ERANGEX if appropriate. | |
7363 | ||
d0ee2ed3 KH |
7364 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
7365 | ||
7366 | * editfns.c (Ftranslate_region_internal): New function. | |
7367 | (syms_of_editfns): Defsubr it. | |
7368 | ||
63ea8ea5 JD |
7369 | 2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7370 | ||
7371 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | |
7372 | ||
9ba27690 | 7373 | 2004-10-21 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
c27ed90a | 7374 | |
068f3848 SM |
7375 | * xterm.h (x_output): New member `xic_base_fontname'. |
7376 | (FRAME_XIC_BASE_FONTNAME): New macro. | |
7377 | (xic_free_xfontset): Declare. | |
c27ed90a | 7378 | |
068f3848 SM |
7379 | * xfns.c (xic_create_xfontset): Share fontsets between frames |
7380 | based on base_fontname. | |
7381 | (xic_free_xfontset): New function. | |
7382 | (free_frame_xic): Use it. | |
7383 | (xic_set_xfontset): Ditto. | |
c27ed90a | 7384 | |
068f3848 | 7385 | * xterm.c (xim_destroy_callback): Ditto. |
c27ed90a JD |
7386 | |
7387 | ||
59508699 JR |
7388 | 2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) |
7389 | ||
7390 | * w32term.c (x_draw_glyph_string): Use overline_color for overlines. | |
7391 | ||
dede2792 JD |
7392 | 2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7393 | ||
3aca2078 JD |
7394 | * xterm.h (XSync): If USE_GTK, define XSync as process_all and then |
7395 | XSync. | |
7396 | ||
dede2792 JD |
7397 | * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): |
7398 | New variables and constant. | |
7399 | (main): Calculate heap_bss_diff. If we are dumping and the | |
7400 | heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 | |
7401 | and exec ourself again. | |
7402 | (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF | |
7403 | print a warning. | |
7404 | ||
7405 | * lastfile.c: Make my_endbss and my_endbss_static available on all | |
7406 | platforms. | |
7407 | ||
7408 | * Makefile.in (RUN_TEMACS): Remove @SETARCH@. | |
7409 | * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. | |
7410 | ||
1dc5ba01 LT |
7411 | 2004-10-19 Luc Teirlinck <teirllm@auburn.edu> |
7412 | ||
7413 | * data.c (Flocal_variable_if_set_p): Doc fix. | |
7414 | ||
950090be JR |
7415 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
7416 | ||
7417 | * w32.c (init_environment): Set emacs_dir correctly when running | |
7418 | emacs from the build directory. | |
7419 | ||
8550b998 RS |
7420 | 2004-10-19 Richard M. Stallman <rms@gnu.org> |
7421 | ||
7422 | * editfns.c (Fdelete_and_extract_region): | |
7423 | If region is empty, return null string. | |
7424 | ||
08dedea6 JD |
7425 | 2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7426 | ||
1dc5ba01 | 7427 | * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left |
08dedea6 | 7428 | and canon_width. |
068f3848 | 7429 | (xg_frame_cleared): Remove. |
08dedea6 | 7430 | |
068f3848 SM |
7431 | * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) |
7432 | (xg_find_top_left_in_fixed): Remove. | |
08dedea6 JD |
7433 | (xg_create_scroll_bar): Put an event box widget between |
7434 | the scroll bar widget and the edit widget. | |
7435 | (xg_show_scroll_bar): Show the parent widget (the event box). | |
7436 | (xg_remove_scroll_bar): Destroy parent (the event box) also. | |
7437 | (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. | |
7438 | Move the parent (the event box) widget inside the fixed widget. | |
7439 | Move window clear to xterm.c. | |
7440 | ||
068f3848 | 7441 | * gtkutil.h (xg_frame_cleared): Remove. |
1dc5ba01 | 7442 | |
08dedea6 | 7443 | * xterm.c (x_clear_frame): Remove call to xg_frame_cleared |
068f3848 SM |
7444 | (x_scroll_bar_create, XTset_vertical_scroll_bar): |
7445 | Remove arguments left and width to xg_update_scrollbar_pos. | |
08dedea6 JD |
7446 | (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. |
7447 | ||
8550b998 | 7448 | 2004-10-19 Kenichi Handa <handa@m17n.org> |
e3e55463 KS |
7449 | |
7450 | * xdisp.c (display_mode_element): Fix display of wide chars. | |
e3e55463 | 7451 | |
84338890 JD |
7452 | 2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7453 | ||
7454 | * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to | |
7455 | gdk_window_clear and move gdk_window_process_all_updates after | |
7456 | clear so events are sent to the X server in correct order. | |
7457 | ||
6e1b0d8c KH |
7458 | 2004-10-18 Kenichi Handa <handa@m17n.org> |
7459 | ||
7460 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case for | |
7461 | comparing font names. | |
8550b998 | 7462 | (fs_query_fontset): Use fast_string_match for comparing fontset names. |
6e1b0d8c KH |
7463 | (list_fontsets): Likewise. |
7464 | ||
7465 | * search.c (fast_string_match_ignore_case): New function. | |
7466 | ||
7467 | * lisp.h (fast_string_match_ignore_case): Extern it. | |
7468 | ||
345e75a8 KS |
7469 | 2004-10-17 Kim F. Storm <storm@cua.dk> |
7470 | ||
7471 | * xdisp.c (overlay_arrow_at_row): Return overlay string rather | |
7472 | than bitmap if there is not left fringe. | |
7473 | (get_overlay_arrow_glyph_row): Also used on windows system. | |
7474 | (display_line): Display overlay string if no left fringe. | |
7475 | ||
be13cbb7 JR |
7476 | 2004-10-16 Jason Rumney <jasonr@gnu.org> |
7477 | ||
7478 | * w32fns.c (w32_font_match): Encode font name being matched. | |
7479 | ||
c2e2ede7 RS |
7480 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
7481 | ||
7482 | * window.c (Fspecial_display_p): Doc fix. | |
7483 | ||
043f7f73 | 7484 | 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
3584d95d SM |
7485 | |
7486 | * doc.c (Fsubstitute_command_keys): Fix remap-handling. | |
7487 | Don't ignore menus, because where-is-internal already does it for us. | |
7488 | ||
699a0392 KS |
7489 | 2004-10-15 Kim F. Storm <storm@cua.dk> |
7490 | ||
b3c7a89b KS |
7491 | * xdisp.c (redisplay_window): Only update fringes and vertical |
7492 | border on window frames. | |
699a0392 | 7493 | |
4e382b0f AS |
7494 | 2004-10-14 Andreas Schwab <schwab@suse.de> |
7495 | ||
7496 | * m/ia64.h (DATA_SEG_BITS): Don't define. | |
7497 | ||
329a7be2 KS |
7498 | 2004-10-14 Kim F. Storm <storm@cua.dk> |
7499 | ||
7500 | * xterm.h: Include Xutil.h after keysym.h to work around bug | |
dbb37962 | 7501 | in some X versions. |
329a7be2 | 7502 | |
982241b1 SM |
7503 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7504 | ||
7505 | * fns.c (map_char_table): Add missing gcpros. | |
7506 | ||
9238467d SM |
7507 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7508 | ||
7509 | * keymap.c (get_keymap): An autoload form is not a keymap. | |
7510 | ||
7511 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | |
7512 | ||
4440e3ca KS |
7513 | 2004-10-13 Kim F. Storm <storm@cua.dk> |
7514 | ||
7cfdabde KS |
7515 | * callproc.c (Fcall_process): Simplify handling of display arg. |
7516 | Resume `display_on_the_fly' once a coding system is determined. | |
7517 | ||
4440e3ca KS |
7518 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. |
7519 | ||
1c8dec6a KS |
7520 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
7521 | ||
7522 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | |
7523 | caller, such as call-process, is not going to poll for input. | |
7524 | (calc_line_height_property): Handle case where it->object is nil. | |
7525 | ||
7526 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | |
7527 | ||
170b174c KH |
7528 | 2004-10-12 Kenichi Handa <handa@m17n.org> |
7529 | ||
9238467d SM |
7530 | * xdisp.c (get_next_display_element): |
7531 | If unibyte_display_via_language_environment is zero, display 8-bit | |
170b174c KH |
7532 | chars in octal in unibyte buffer. |
7533 | ||
b583964c KS |
7534 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
7535 | ||
7536 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | |
7537 | are no ordinary bindings. | |
7538 | ||
29fabd8c JD |
7539 | 2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7540 | ||
9238467d | 7541 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
29fabd8c | 7542 | |
c3f4c690 ST |
7543 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7544 | ||
9238467d SM |
7545 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
7546 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. | |
c3f4c690 | 7547 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
9238467d SM |
7548 | terminal frame. |
7549 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. | |
7550 | * macgui.h (mktime): Use emacs_mktime. | |
c3f4c690 ST |
7551 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
7552 | Make a cancel file-open dialog be like C-g. | |
9238467d SM |
7553 | * mac.c (mktime): Use emacs_mktime. |
7554 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. | |
7555 | (Fmac_paste_function): Add better error handling for carbon cut/paste. | |
c3f4c690 | 7556 | |
9688f9eb KS |
7557 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
7558 | ||
7559 | * keyboard.c (timer_resume_idle): New function to resume idle | |
7560 | timer without resetting timers on the idle list. | |
52eb0373 | 7561 | (read_char): Use timer_resume_idle. Remove local var last_idle_start. |
9688f9eb KS |
7562 | (timer_start_idle, timer_stop_idle): Declare static. |
7563 | (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. | |
7564 | ||
7565 | * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. | |
7566 | ||
f7f3a65f ST |
7567 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
7568 | ||
9238467d | 7569 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
f7f3a65f | 7570 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
9238467d | 7571 | NULL where 0 should be used. |
f7f3a65f ST |
7572 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
7573 | objc/malloc.h | |
9238467d | 7574 | * mac.c: Include time.h for Tiger compatibility. |
f7f3a65f | 7575 | |
3c7d999a KS |
7576 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
7577 | ||
7578 | * xdisp.c (redisplay_window): Fix flicker on vertical line between | |
7579 | windows. Update vertical line after drawing window fringes, but | |
7580 | only if actually drawing any bitmaps--or there is no fringe. | |
7581 | ||
7582 | * xterm.c (x_update_window_end): Likewise. | |
7583 | * macterm.c (x_update_window_end): Likewise. | |
7584 | * w32term.c (x_update_window_end): Likewise. | |
7585 | ||
7586 | * fringe.c (draw_window_fringes): Return value now indicates if | |
7587 | any fringe bitmaps were redrawn (or there are no fringes). | |
7588 | ||
7589 | * dispextern.h (draw_window_fringes): Update prototype. | |
7590 | ||
bf06c82f ST |
7591 | 2004-10-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7592 | ||
7593 | * macfns.c (mac_get_window_bounds): Add extern. | |
7594 | (x_real_positions): Use mac_get_window_bounds. | |
7595 | ||
7596 | * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for | |
7597 | xmenu.c (YAILOM). | |
3c7d999a | 7598 | |
bf06c82f ST |
7599 | * macterm.c [!MAC_OSX]: Include Windows.h. |
7600 | (front_emacs_window): Rename from mac_front_window. All uses | |
7601 | changed. Return the frontmost non-tooltip emacs window. | |
7602 | (mac_get_window_bounds): New function. | |
7603 | (x_calc_absolute_position): Use the difference of width and height | |
7604 | between the inner and outer window. | |
7605 | (x_set_offset): Specify window position by the coordinae of the | |
7606 | outer window. Adjust the position if the title bar is completely | |
7607 | outside the screen. | |
7608 | (app_is_suspended, app_sleep_time): Remove unused variables. | |
7609 | (do_app_resume, do_app_suspend): Remove their contents because | |
7610 | window-activate/deactivate events will do the job. | |
7611 | (do_zoom_window): Remove unused variables. Make compliant to the | |
7612 | standard way of zooming. Set f->left_pos and f->top_pos. | |
7613 | (XTread_socket): Don't use argument `expected'. Don't use | |
7614 | FrontWindow to determine the clicked window. Exclude unprocessed | |
7615 | mouseUp cases in the early stage. Add parentheses to fix operator | |
7616 | precedence. | |
7617 | (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. | |
7618 | ||
4cbbf6b7 | 7619 | 2004-10-05 Jan Dj\e,Ad\e(Brv. <jan.h.d@swipnet.se> |
d8b43276 JD |
7620 | |
7621 | * config.in: Regenerate. | |
7622 | ||
7623 | * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of | |
7624 | HAVE_EXECSHIELD. | |
7625 | ||
b90ee8b5 JD |
7626 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7627 | ||
7628 | * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for | |
7629 | a row if Alt or Meta has been found for that row. Also stop scanning | |
7630 | for Keysyms for that row. | |
7631 | ||
904db1a2 KS |
7632 | 2004-10-04 Kim F. Storm <storm@cua.dk> |
7633 | ||
0207b8ad KS |
7634 | * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons |
7635 | to list. Include overlay arrow bitmap in return value. | |
7636 | ||
25f7220c KS |
7637 | * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll |
7638 | bars with fractional column width. If scroll bar separates two | |
7639 | windows, move it towards the window it belongs to. Only update | |
7640 | the padding area below the scroll bar widget when necessary, | |
7641 | i.e. when scroll bar widget is created, moved, or resized. | |
7642 | ||
562020fe KS |
7643 | * xdisp.c (define_frame_cursor1): Do not change frame cursor |
7644 | while tracking/dragging mouse. | |
7645 | (x_draw_vertical_border): Do not draw line if frame has scroll bars. | |
7646 | ||
37e34af7 KS |
7647 | * window.c (coordinates_in_window): Relax check for cursor |
7648 | on vertial border between mode lines. | |
7649 | (Fset_window_fringes): Do not allow negative widths. | |
7650 | (Fset_window_scroll_bars): Likewise. | |
7651 | ||
904db1a2 KS |
7652 | * .gdbinit (pp): Shorthand for p ARG + pr. |
7653 | (ff): New command: flush frame updates (X only). | |
7654 | ||
38fe4f64 MA |
7655 | 2004-10-03 Michael Albinus <michael.albinus@gmx.de> |
7656 | ||
7657 | * fileio.c (auto_save_1) Call Ffile_modes for remote files. | |
7658 | ||
9de36315 KH |
7659 | 2004-09-30 Kenichi Handa <handa@m17n.org> |
7660 | ||
07c381ad | 7661 | * process.c (send_process): Free composition data. |
9de36315 | 7662 | |
07c381ad | 7663 | * fileio.c (Finsert_file_contents): Free composition data. |
9de36315 KH |
7664 | |
7665 | * coding.c (code_convert_region): Don't skip ASCIIs if there are | |
07c381ad KH |
7666 | compositions to encode. |
7667 | (encode_coding_string): Likewise. Free composition data. | |
7668 | ||
d5fb8dab | 7669 | 2004-09-30 Florian Weimer <fw@deneb.enyo.de> |
07c381ad KH |
7670 | |
7671 | * coding.c (code_convert_region): Free composition data. | |
9de36315 | 7672 | |
f2a54fbc KS |
7673 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
7674 | ||
dc5d6435 KS |
7675 | * fringe.c: Remove limit on number of bitmaps. |
7676 | (fringe_bitmaps, fringe_faces): Change to pointers. | |
7677 | (max_fringe_bitmaps): New var. | |
7678 | (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. | |
7679 | (init_fringe): Allocate fringe_bitmaps and fringe_faces. | |
7680 | ||
7681 | * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). | |
7682 | (struct glyph_row): Reorder fringe_bitmap related fields. | |
7683 | (struct it): Likewise. | |
7684 | ||
7685 | * w32term.c (fringe_bmp): Change to pointer. | |
7686 | (max_fringe_bmp): New var. | |
7687 | (w32_define_fringe_bitmap): Expand fringe_bmp. | |
7688 | (w32_draw_fringe_bitmap): Check max_fringe_bmp. | |
7689 | (w32_destroy_fringe_bitmap): Likewise. | |
7690 | ||
7691 | 2004-09-29 Kim F. Storm <storm@cua.dk> | |
7692 | ||
7693 | * fringe.c: Simplify last change. | |
f2a54fbc KS |
7694 | (lookup_fringe_bitmap): New function. |
7695 | (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. | |
7696 | (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. | |
7697 | Keep standard bitmaps in Vfringe_bitmaps. | |
7698 | (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. | |
7699 | (Fset_fringe_bitmap_face): Likewise. | |
7700 | ||
7701 | * dispextern.h (lookup_fringe_bitmap): Add prototype. | |
7702 | (valid_fringe_bitmap_p): Remove prototype. | |
7703 | ||
7704 | * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. | |
7705 | ||
841a8bca KS |
7706 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
7707 | ||
1f2da365 KS |
7708 | * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) |
7709 | (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). | |
7710 | ||
841a8bca KS |
7711 | * dispextern.h (valid_fringe_bitmap_p): Fix prototype. |
7712 | ||
7713 | * fringe.c (Vfringe_bitmaps): New variable. | |
7714 | (syms_of_fringe): DEFVAR_LISP it. | |
7715 | (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. | |
7716 | Change arg to Lisp_Object and fail if not an integer. | |
7717 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | |
7718 | (destroy_fringe_bitmap): New functions. | |
9238467d SM |
7719 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
7720 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | |
841a8bca KS |
7721 | clear its fringe property. |
7722 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | |
7723 | Fdestroy_fringe_bitmap. | |
7724 | (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing | |
7725 | bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps | |
7726 | and set fringe property. Signal error if no free slots. | |
7727 | (Fset_fringe_bitmap_face): Change arg to bitmap symbol. | |
7728 | (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. | |
7729 | ||
7730 | * xdisp.c (handle_single_display_prop): Fringe bitmaps are now | |
7731 | symbols with a fringe property. | |
7732 | ||
4d965590 KS |
7733 | 2004-09-27 Kim F. Storm <storm@cua.dk> |
7734 | ||
7735 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: | |
7736 | Doc fix. Format may now be a symbol or alist, not a cons. | |
7737 | ||
7738 | * fringe.c (update_window_fringes): Handle new formats of | |
7739 | indicate-buffer-boundaries (symbol or alist). No longer | |
7740 | allow a simple cons. | |
7741 | (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. | |
7742 | ||
e888c2b3 JD |
7743 | 2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7744 | ||
9238467d | 7745 | * config.in: Rebuild. |
e888c2b3 | 7746 | |
83f1cb94 JD |
7747 | 2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7748 | ||
7749 | * config.in: Rebuild. | |
7750 | ||
9dd28cae | 7751 | * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. |
83f1cb94 | 7752 | |
2c51754c SM |
7753 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
7754 | ||
7755 | * xterm.c (x_term_init): Work around a bug in some X servers. | |
7756 | ||
3df5f8aa RS |
7757 | 2004-09-18 Richard M. Stallman <rms@gnu.org> |
7758 | ||
557ca2c1 RS |
7759 | * buffer.c (syms_of_buffer) <default-major-mode>: Doc fix. |
7760 | ||
3df5f8aa RS |
7761 | * xdisp.c (try_window_reusing_current_matrix): |
7762 | Handle the case where we reach the old displayed text, | |
7763 | out of sync with the old line boundary. | |
7764 | ||
9238467d | 7765 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
4b70e2c9 SM |
7766 | |
7767 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | |
7768 | narrowed buffer. | |
7769 | ||
bfa02563 KS |
7770 | 2004-09-14 Kim F. Storm <storm@cua.dk> |
7771 | ||
a25fe164 KS |
7772 | * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. |
7773 | ||
bfa02563 KS |
7774 | * xfaces.c (Qface_no_inherit): New var. |
7775 | (syms_of_xfaces): Intern and staticpro it. | |
7776 | (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) | |
7777 | (Finternal_copy_lisp_face, update_face_from_frame_parameter): | |
7778 | Don't increment face_change_count when face has non-nil | |
7779 | face-no-inherit property. | |
7780 | ||
126f9c02 SM |
7781 | 2004-09-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7782 | ||
892a8eb5 SM |
7783 | * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. |
7784 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | |
7785 | ||
126f9c02 | 7786 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
9238467d | 7787 | before doing the mark_stack_check_gcpros since they're not on the stack. |
126f9c02 | 7788 | |
c0ad3b38 KS |
7789 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
7790 | ||
7791 | * editfns.c (Fformat): Handle format strings with multiple text | |
7792 | properties. Reverse text property list from the format string, | |
7793 | so the positions are in increasing order. | |
7794 | ||
844fc085 JD |
7795 | 2004-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7796 | ||
7797 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | |
7798 | x_uncatch_errors so that possible protocol errors are delivered. | |
7799 | ||
b106731c EZ |
7800 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> |
7801 | ||
21065c92 EZ |
7802 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and |
7803 | blockinput.h. | |
7804 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | |
7805 | charset.h, and coding.h | |
9238467d | 7806 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
21065c92 EZ |
7807 | (term.o): Depend on window.h and keymap.h. |
7808 | (abbrev.o): Depend on syntax.h. | |
7809 | (callint.o): Depend on keymap.h. | |
7810 | (casefiddle.o): Depend on charset.h and keymap.h. | |
7811 | (category.o): Depend on keymap.h. | |
7812 | (coding.o): Depend on dispextern.h. | |
7813 | (cmds.o): Depend on keyboard.h and keymap.h. | |
7814 | (dispnew.o): Depend on indent.h and intervals.h. | |
7815 | (doc.o): Depend on keymap.h. | |
7816 | (editfns.o): Depend on frame.h. | |
7817 | (emacs.o): Depend on dispextern.h. | |
7818 | (fileio.o): Don't depend on ccl.h. | |
7819 | (filelock.o): Depend on charset.h and coding.h. | |
7820 | (frame.o): Depend on w32term.h and macterm.h. | |
7821 | (insdel.o): Depend on region-cache.h. | |
7822 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | |
7823 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | |
7824 | (search.o): Depend on $(INTERVALS_SRC). | |
7825 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | |
7826 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | |
7827 | xterm.h, w32term.h, and macterm.h. | |
7828 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | |
7829 | w32term.h, and macterm.h. | |
7830 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | |
7831 | region-cache.h, xterm.h, w32term.h, and macterm.h. | |
7832 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | |
7833 | (data.o): Depend on frame.h. | |
7834 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | |
7835 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | |
7836 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | |
7837 | (intervals.o): Depend on keymap.h. | |
7838 | ||
9238467d SM |
7839 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
7840 | Add debugging print-out to termscript. | |
b106731c | 7841 | |
64b7122d RS |
7842 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
7843 | ||
7844 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | |
7845 | ||
5670531e RS |
7846 | 2004-09-08 Richard M. Stallman <rms@gnu.org> |
7847 | ||
6cb4a892 RS |
7848 | * window.c (Fset_window_buffer): Doc fix. |
7849 | ||
5670531e RS |
7850 | * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. |
7851 | ||
7e388eb7 JL |
7852 | 2004-09-08 Dan Nicolaescu <dann@ics.uci.edu> |
7853 | ||
7854 | * minibuf.c (history_delete_duplicates): New variable. | |
7855 | (read_minibuf): Use it. | |
7856 | (syms_of_minibuf): Create the corresponding lisp variable. | |
7857 | ||
370e3587 KS |
7858 | 2004-09-08 Kim F. Storm <storm@cua.dk> |
7859 | ||
7860 | * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in | |
7861 | overlay just before point. | |
7862 | ||
f844ba4e LT |
7863 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
7864 | ||
7865 | * buffer.h (struct buffer): Add auto_save_file_format field. | |
9238467d SM |
7866 | * buffer.c (reset_buffer, init_buffer_once): |
7867 | Handle auto_save_file_format field. | |
f844ba4e LT |
7868 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
7869 | `buffer-auto-save-file-format'. | |
f844ba4e LT |
7870 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
7871 | (build_annotations): Adapt to replacement of | |
7872 | `auto-save-file-format' with the new buffer-local variable | |
7873 | `buffer-auto-save-file-format'. | |
7874 | (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. | |
7875 | ||
f0f90717 JR |
7876 | 2004-09-07 Jason Rumney <jasonr@gnu.org> |
7877 | ||
7878 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | |
7879 | ||
9238467d SM |
7880 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: |
7881 | Handle Unicode menu titles. | |
f0f90717 | 7882 | |
4e14f66c KS |
7883 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
7884 | ||
7885 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | |
7886 | property from text property or overlay strings at point. | |
7887 | ||
9238467d | 7888 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1806714a SM |
7889 | |
7890 | * xmenu.c (update_submenu_strings): YAILOM. | |
7891 | (set_frame_menubar): Make sure last_i is initialized. | |
7892 | ||
1f06d367 JR |
7893 | 2004-09-03 Jason Rumney <jasonr@gnu.org> |
7894 | ||
1806714a | 7895 | * w32menu.c (_widget_value): Add lname and lkey. |
1f06d367 JR |
7896 | (digest_single_submenu): Set lname and lkey in widget_value |
7897 | instead of name and key. | |
7898 | (update_submenu_strings): New function. | |
7899 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
7900 | call update_submenu_strings. | |
7901 | ||
7902 | * w32menu.c (globals_of_w32menu): Check for Unicode API. | |
7903 | (digest_single_submenu, w32_menu_show): Encode menu strings as | |
7904 | UTF-8 if Unicode API is available. | |
7905 | (utf8to16): New function. | |
7906 | (add_menu_item): Use it when calling Unicode API. | |
1806714a | 7907 | |
46540080 KS |
7908 | 2004-09-03 Kim F. Storm <storm@cua.dk> |
7909 | ||
7910 | * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property | |
7911 | in overlay or text-property strings; set cursor on corresponding | |
7912 | glyph rather than at end of the string. | |
7913 | ||
9277ba61 | 7914 | 2004-09-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46540080 | 7915 | |
9277ba61 | 7916 | * macfns.c (x_real_positions): Save the current window port and |
1806714a SM |
7917 | set a new one before obtaining the global coordinate. |
7918 | Use FRAME_MAC_WINDOW. | |
7919 | (x_set_name, x_set_title): Encode title to UTF8. | |
7920 | Use SetWindowTitleWithCFString. | |
9277ba61 ST |
7921 | (Fx_server_version): Get correct OS version. |
7922 | ||
1806714a SM |
7923 | * macmenu.c (add_menu_item): Remove unused variable `i'. |
7924 | Don't let separator items destroy refence constants of other menu items. | |
9277ba61 ST |
7925 | |
7926 | * macterm.c (x_update_end): Move SetPortWindowPort to inside | |
7927 | BLOCK_INPUT. | |
7928 | (x_set_offset): Use FRAME_MAC_WINDOW. | |
7929 | ||
7930 | * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to | |
7931 | nontext_cursor if it is on a scroll bar. | |
7932 | ||
7933 | * s/darwin.h (LIBS_CARBON): New define to specify libraries for | |
7934 | Carbon support. | |
1806714a SM |
7935 | (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. |
7936 | Use LIBS_CARBON. | |
9277ba61 | 7937 | |
b10daec7 JD |
7938 | 2004-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7939 | ||
7940 | * xfns.c (x_set_name_internal): New function. Check if we shall call | |
7941 | xfree before ENCODE_UTF_8. | |
7942 | (x_set_name, x_set_title): Call x_set_name_internal. | |
7943 | ||
f7e22385 JR |
7944 | 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change) |
7945 | ||
7946 | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not | |
7947 | reload it. | |
7948 | ||
2bf436c3 JD |
7949 | 2004-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7950 | ||
1806714a | 7951 | * macmenu.c (_widget_value): Add lname and lkey. |
16ceacc2 JD |
7952 | (single_submenu): Set lname and lkey in widget_value |
7953 | instead of name and key. | |
7954 | (update_submenu_strings): New function. | |
7955 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
7956 | call update_submenu_strings. | |
7957 | ||
2bf436c3 JD |
7958 | * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value |
7959 | instead of name and key. | |
7960 | (update_submenu_strings): New function. | |
7961 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
ec867797 | 7962 | call update_submenu_strings. |
2bf436c3 JD |
7963 | |
7964 | * gtkutil.h (_widget_value): Added lname and lkey. | |
7965 | ||
11715f92 ST |
7966 | 2004-08-30 Steven Tamm <steventamm@mac.com> |
7967 | ||
7968 | * macmenu.c (mac_menu_show): Remove shadowing of menu variable | |
7969 | by using different names for inner loop variables. | |
7970 | ||
5500be54 JD |
7971 | 2004-08-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7972 | ||
059cd329 JD |
7973 | * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection |
7974 | from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. | |
7975 | ||
5500be54 JD |
7976 | * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when |
7977 | tool bar items is 0. | |
7978 | ||
383418e5 ST |
7979 | 2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7980 | ||
7981 | * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte | |
7982 | strings in menu items. | |
7983 | (single_submenu): Use ENCODE_MENU_STRING | |
7984 | (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because | |
7985 | button release isn't passed to event loop | |
7986 | (add_menu_item): Use SetMenuItemWithCFString | |
7987 | ||
6eb3ee72 ST |
7988 | 2004-08-26 Steven Tamm <steventamm@mac.com> |
7989 | ||
7990 | * fileio.c (Fread_file_name): Call x_file_dialog on carbon on | |
7e26f91b KS |
7991 | tool-bar/menu click. |
7992 | * macfns.c (Fx_file_dialog): Implement using NavServices. | |
6eb3ee72 | 7993 | |
10b43ac3 JD |
7994 | 2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7995 | ||
2728b5d0 JD |
7996 | * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. |
7997 | ||
10b43ac3 JD |
7998 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
7999 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
8000 | (x_top_window_to_frame): Return 0 if wdesc is None. | |
8001 | ||
2ee3b79e RS |
8002 | 2004-08-22 Richard M. Stallman <rms@gnu.org> |
8003 | ||
8004 | * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, | |
8005 | HAVE_TERMIOS]: If there's no char for this signal, drop through | |
8006 | and use system calls. | |
8007 | ||
8008 | * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC. | |
8009 | ||
9a1ba2ea KS |
8010 | 2004-08-20 Kim F. Storm <storm@cua.dk> |
8011 | ||
8012 | * process.c (wait_reading_process_output): Rename from | |
8013 | wait_reading_process_input. All uses changed. | |
8014 | (wait_reading_process_output_1): Rename from | |
8015 | wait_reading_process_input_1. All uses changed. | |
8016 | ||
8017 | * dispnew.c (Fsleep_for): Remove obsolete code. | |
8018 | ||
295f3b30 KH |
8019 | 2004-08-20 Kenichi Handa <handa@m17n.org> |
8020 | ||
8021 | * syntax.c (skip_chars): Fix for unibyte case. | |
8022 | ||
27615979 SM |
8023 | 2004-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
8024 | ||
8025 | * syntax.c (char_quoted): Mixup byte/char pos. | |
8026 | (back_comment): Fixup globals in all cases. | |
8027 | ||
00267f94 JD |
8028 | 2004-08-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8029 | ||
8030 | * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before | |
8031 | passing it to gtk_window_set_title. | |
8032 | ||
2439909e KS |
8033 | 2004-08-19 Kim F. Storm <storm@cua.dk> |
8034 | ||
6ba0f14c KS |
8035 | * process.c (wait_reading_process_input): Clean up. |
8036 | Add wait_for_cell, wait_proc, and just_wait_proc args | |
8037 | to avoid overloading `read_kbd' and `do_display' args. | |
8038 | Change read_kbd arg to int. All callers changed. | |
8039 | ||
2439909e KS |
8040 | * process.c (process_send_signal): Use CDISABLE. |
8041 | ||
8042 | * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. | |
8043 | ||
101c421e KS |
8044 | 2004-08-18 Kim F. Storm <storm@cua.dk> |
8045 | ||
8046 | * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; | |
8047 | forward to wait_reading_process_input via DO_DISPLAY arg. | |
8048 | (wait_reading_process_input): If DO_DISPLAY < 0 for a process | |
8049 | object, only process output from that process; also inhibit | |
8050 | running timers if DO_DISPLAY==-2. | |
8051 | ||
c438dc33 KS |
8052 | 2004-08-17 Kim F. Storm <storm@cua.dk> |
8053 | ||
8054 | * process.c (process_send_signal): Fix last change--use | |
8055 | _POSIX_VDISABLE instead of CVDISABLE when available. | |
8056 | ||
8afc13c6 RS |
8057 | 2004-08-16 Richard M. Stallman <rms@gnu.org> |
8058 | ||
8059 | * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: | |
8060 | Set VQUIT and VINTR chars to the standard ones if they are unset. | |
8061 | [AIX]: Don't do that here. And don't force VINTR to standard | |
8062 | when SIGNALS_VIA_CHARACTERS. | |
8063 | ||
c438dc33 | 8064 | * process.c (process_send_signal) |
8afc13c6 RS |
8065 | [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. |
8066 | Do nothing if the character is CVDISABLE. | |
8067 | ||
8068 | * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. | |
8069 | ||
c438dc33 | 8070 | * intervals.c (move_if_not_intangible): |
8afc13c6 RS |
8071 | Force POSITION to be between BEGV and ZV. |
8072 | ||
6dad1714 JPW |
8073 | 2004-08-14 John Paul Wallington <jpw@gnu.org> |
8074 | ||
8075 | * buffer.c (Frestore_buffer_modified_p): Doc fix. | |
8076 | ||
8077 | * fileio.c (Fread_file_name): Doc fix. | |
8078 | ||
8079 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
8080 | ||
2bd77330 LT |
8081 | 2004-08-09 Luc Teirlinck <teirllm@auburn.edu> |
8082 | ||
8083 | * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. | |
8084 | ||
c90e7e43 LT |
8085 | 2004-08-08 Luc Teirlinck <teirllm@auburn.edu> |
8086 | ||
8087 | * keyboard.c: Declare Qdisabled_command_function instead of | |
8392e138 | 8088 | Qdisabled_command_hook. |
c90e7e43 | 8089 | (Fcommand_execute): Use Qdisabled_command_function instead of |
8392e138 | 8090 | Qdisabled_command_hook. |
c90e7e43 LT |
8091 | (syms_of_keyboard): Ditto. |
8092 | ||
81909a1a LT |
8093 | 2004-08-07 Luc Teirlinck <teirllm@auburn.edu> |
8094 | ||
8095 | * keymap.c (Flocal_key_binding, Fglobal_key_binding) | |
8096 | (syms_of_keymap) <key-translation-map>: Doc fixes. | |
8097 | ||
0cedd530 SM |
8098 | 2004-08-07 Stefan Monnier <monnier@iro.umontreal.ca> |
8099 | ||
1725a7c9 SM |
8100 | * window.c (window_list_1): YAILOM. |
8101 | ||
0cedd530 SM |
8102 | * fileio.c (make_temp_name): Handle multibyte prefixes. |
8103 | ||
2515a131 LT |
8104 | 2004-08-06 Luc Teirlinck <teirllm@auburn.edu> |
8105 | ||
8106 | * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>: | |
8107 | Doc fix. | |
8108 | ||
c8b20fb7 KH |
8109 | 2004-08-03 Kenichi Handa <handa@m17n.org> |
8110 | ||
8111 | * coding.c (decode_coding_string): Adjust coding->consumed, and | |
8112 | etc. with shrinked_bytes. | |
8113 | ||
fb8b092b KS |
8114 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
8115 | ||
8116 | * indent.c (compute_motion): Fix check for full width window | |
8117 | in non-window case. Do not count left truncation glyph on | |
8118 | window systems. | |
8119 | ||
df133612 LT |
8120 | 2004-08-02 Luc Teirlinck <teirllm@auburn.edu> |
8121 | ||
8122 | * data.c (Finteractive_form): Doc fix. | |
8123 | ||
0f7a93c1 KS |
8124 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
8125 | ||
8126 | * indent.c (compute_motion): Use actual window width if WIDTH is -1, | |
8127 | properly accounting for continuation glyph on non-window systems. | |
8128 | (Fcompute_motion): Use actual window width if WIDTH is nil, and | |
8129 | actual window width/height if TOPOS is nil, properly accounting for | |
8130 | continuation glyphs on non-window systems, and optional header lines. | |
8131 | (vmotion): Let compute_motion calculate actual window width. | |
8132 | ||
8133 | * window.c (window_scroll_line_based): Let compute_motion | |
8134 | calculate actual window width. | |
8135 | ||
f491e1ed KS |
8136 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
8137 | ||
8138 | * process.c (read_process_output): Use whole read buffer. | |
8139 | Don't trigger adaptive read buffering on errors. | |
8140 | ||
83f64226 LT |
8141 | 2004-07-31 Luc Teirlinck <teirllm@auburn.edu> |
8142 | ||
8143 | * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. | |
8144 | ||
1d1c7e75 | 8145 | * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix. |
83f64226 LT |
8146 | |
8147 | * callint.c (Fcall_interactively): Doc fix. | |
8148 | ||
8afc13c6 RS |
8149 | 2004-07-30 Richard M. Stallman <rms@gnu.org> |
8150 | ||
8151 | * abbrev.c (Fexpand_abbrev): Undo previous change. | |
8152 | ||
7c111482 KS |
8153 | 2004-07-30 Kim F. Storm <storm@cua.dk> |
8154 | ||
8155 | * editfns.c (Fformat): Allocate extra (dummy) element in info. | |
8156 | ||
ee945d08 LT |
8157 | 2004-07-28 Luc Teirlinck <teirllm@auburn.edu> |
8158 | ||
8159 | * eval.c (Fdefvar, Fdefconst): Doc fixes. | |
8160 | ||
3f911c94 KS |
8161 | 2004-07-27 Kim F. Storm <storm@cua.dk> |
8162 | ||
8163 | * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after | |
8164 | we have ensured that the glyph fits on the current line (or returned | |
8165 | MOVE_LINE_CONTINUED otherwise). | |
8166 | ||
f29ff8c7 KS |
8167 | 2004-07-26 Kim F. Storm <storm@cua.dk> |
8168 | ||
8169 | * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe | |
8170 | is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV | |
8171 | if target position is at end of display line but char is not a newline. | |
8172 | ||
81159bb9 RS |
8173 | 2004-07-25 Richard M. Stallman <rms@gnu.org> |
8174 | ||
ab431b61 RS |
8175 | * window.c (coordinates_in_window): Return ON_SCROLL_BAR |
8176 | instead of ON_VERTICAL_BORDER, when on scroll bar. | |
8177 | (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. | |
8178 | ||
8179 | * dispextern.h (enum window_part): Add ON_SCROLL_BAR. | |
8180 | ||
f29ff8c7 | 8181 | * window.c (Fcoordinates_in_window_p): |
81159bb9 RS |
8182 | Take account of FRAME_INTERNAL_BORDER_WIDTH. |
8183 | ||
8184 | * alloc.c (check_cons_list): New function (contents commented out). | |
8185 | ||
fc820cc5 LT |
8186 | 2004-07-24 Luc Teirlinck <teirllm@auburn.edu> |
8187 | ||
8188 | * xfaces.c (Fcolor_supported_p): Doc fix. | |
8189 | ||
8190 | * frame.c (Fselect_frame, Fset_frame_selected_window) | |
8191 | (Fframe_visible_p, Fraise_frame): Doc fixes. | |
8192 | ||
289978b5 LT |
8193 | 2004-07-24 Richard M. Stallman <rms@gnu.org> |
8194 | ||
78819ebb | 8195 | * keyboard.h (not_single_kboard_state): Declare. |
7630911d RS |
8196 | |
8197 | * fileio.c (Fwrite_region): Doc fix. | |
8198 | ||
8199 | * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. | |
8200 | ||
8201 | * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | |
8202 | only when a real abbrev is present. | |
8203 | ||
289978b5 LT |
8204 | * xfns.c (x_icon_verify): New function. |
8205 | (Fx_create_frame): Use it. | |
8206 | ||
d5fb8dab | 8207 | 2004-07-22 Barry Fishman <barry_fishman@att.net> (tiny change) |
63cc10ae KS |
8208 | |
8209 | * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. | |
8210 | ||
36f826d4 KS |
8211 | 2004-07-21 Kim F. Storm <storm@cua.dk> |
8212 | ||
8213 | * window.h (struct glyph_matrix): New members nrows_scale_factor | |
8214 | and ncols_scale_factor. | |
8215 | ||
8216 | * window.c (make_window): Initialize nrows_scale_factor and | |
8217 | ncols_scale_factor members. | |
8218 | ||
8219 | * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. | |
8220 | (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. | |
8221 | (required_matrix_height): Apply nrows_scale_factor. | |
8222 | (required_matrix_width): Apply ncols_scale_factor. | |
8223 | ||
8224 | * xdisp.c (display_line): Increment nrows_scale_factor and set | |
8225 | fonts_changed_p if past last allocated row. | |
8226 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
8227 | (append_stretch_glyph): Increment ncols_scale_factor and set | |
8228 | fonts_changed_p if current area is full. | |
8229 | ||
5fc1c546 JD |
8230 | 2004-07-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8231 | ||
8232 | * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. | |
8233 | ||
cb7516e5 LT |
8234 | 2004-07-19 Luc Teirlinck <teirllm@auburn.edu> |
8235 | ||
8236 | * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) | |
8237 | (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) | |
8238 | (Fset_window_start, Fscroll_up, Fscroll_down) | |
8239 | (Fother_window_for_scrolling, Fscroll_other_window) | |
8240 | (Fsave_window_excursion, Fset_window_vscroll) | |
8241 | (syms_of_window) <window-size-fixed>: Doc fixes. | |
8242 | ||
b6189c3b | 8243 | 2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
dda741ec JR |
8244 | |
8245 | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of | |
8246 | ENCODE_SYSTEM for filenames. | |
8247 | ||
bfcf6608 ST |
8248 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8249 | ||
8250 | * mac.c (sys_select): Block input around call to | |
8251 | ReceiveNextEvent to prevent breakage. Correctly handle | |
8252 | blocking on event queue only by calling ReceiveNextEvent | |
8253 | instead of select (since GUI events aren't on an fd). | |
8254 | (sys_read): Remove function | |
8255 | * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON | |
8256 | ||
e082ac9d ST |
8257 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8258 | ||
8259 | * mac.c (sys_select): Redo sys_select to use alarm-based | |
cb7516e5 | 8260 | polling instead of 1 sec timeouts (like solaris). |
e082ac9d | 8261 | |
cb7516e5 | 8262 | * macterm.c (x_make_frame_visible): Comment in polling on |
e082ac9d ST |
8263 | frame creation. |
8264 | ||
8265 | * keyboard.c: Undef SIGIO on Carbon | |
8266 | ||
8267 | * atimer.c (alarm_signal_handler): Call alarm handlers after | |
8268 | scheduling. | |
8269 | ||
8270 | * eval.c (Feval): Remove quit_char test | |
8271 | ||
8272 | * process.c (wait_reading_process_input): Remove clearing | |
8273 | stdin for select call on process input. | |
8274 | ||
4b9da0fb LT |
8275 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> |
8276 | ||
1204e81c LT |
8277 | * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct |
8278 | capitalization error in docstring. | |
4b9da0fb | 8279 | |
26503ad2 JB |
8280 | 2004-07-17 Juanma Barranquero <lektu@terra.es> |
8281 | ||
8282 | * keyboard.c (not_single_kboard_state): Do nothing unless | |
8283 | MULTI_KBOARD is defined. | |
8284 | ||
3751eb00 RS |
8285 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
8286 | ||
8287 | * window.c (coordinates_in_window): Inside the window but outside | |
8288 | its box to the L or R, return ON_VERTICAL_BORDER. | |
8289 | (window_list_1): Rotate the list to start with WINDOW. | |
8290 | ||
8291 | * print.c (print_preprocess): Test for print_depth at limit | |
8292 | before entering in being_printed. | |
8293 | ||
8294 | * keyboard.c (not_single_kboard_state): New function. | |
8295 | (stuff_buffered_input): Now no-op only if no SIGTSTP. | |
8296 | ||
8297 | * frame.c (Fdelete_frame): If we're in single_bboard_state on | |
8298 | this kboard, and we delete its last frame, go to any_kboard_state. | |
8299 | ||
8300 | * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix. | |
8301 | ||
b6189c3b | 8302 | 2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
62eb6ca9 JR |
8303 | |
8304 | * w32fns.c (Fx_file_dialog): Encode strings in system coding | |
8305 | system before passing them to OS functions for display. | |
8306 | ||
0f6af254 DK |
8307 | 2004-07-15 David Kastrup <dak@gnu.org> |
8308 | ||
f9253326 KS |
8309 | * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. |
8310 | Apparently fixes an abort condition. | |
0f6af254 | 8311 | |
386c8f42 LT |
8312 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> |
8313 | ||
8314 | * fileio.c (Fvisited_file_modtime): Return a list of two integers, | |
8315 | instead of a cons. | |
8316 | ||
366511da MB |
8317 | 2004-07-14 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
8318 | ||
8319 | * keyboard.c (echo_dash): Do nothing if there already is a dash | |
8320 | at the end of the echo string. | |
8321 | ||
f85409d3 KS |
8322 | 2004-07-12 Kim F. Storm <storm@cua.dk> |
8323 | ||
8324 | * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value | |
8325 | if GC_MARK_STACK. | |
8326 | ||
0ba2e87b LT |
8327 | 2004-07-10 Luc Teirlinck <teirllm@auburn.edu> |
8328 | ||
da38045d LT |
8329 | * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. |
8330 | ||
9dd28cae | 8331 | * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) |
0ba2e87b LT |
8332 | (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) |
8333 | (Freplace_buffer_in_windows, Fset_window_buffer) | |
8334 | (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. | |
8335 | (syms_of_window): Expand docstring of `display-buffer-function'. | |
8336 | ||
5668fbb8 LT |
8337 | 2004-07-09 Luc Teirlinck <teirllm@auburn.edu> |
8338 | ||
8339 | * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) | |
8340 | (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings | |
8341 | that time values of the type (HIGH . LOW) are considered obsolete. | |
8342 | ||
a085bf9d LT |
8343 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> |
8344 | ||
669de2fb LT |
8345 | * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' |
8346 | docstring. | |
8347 | ||
bac66325 | 8348 | * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. |
a085bf9d | 8349 | |
8e975df9 JPW |
8350 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
8351 | ||
8352 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | |
8353 | ||
fa164e6a JPW |
8354 | * fns.c (Fclear_string): Signal an error if STRING is not a string. |
8355 | ||
2bac9bb1 JD |
8356 | 2004-07-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8357 | ||
8358 | * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList | |
8359 | instead of CGMainDisplayID (only in OSX 10.2 and later). | |
8360 | ||
316ef0dc JPW |
8361 | 2004-07-04 John Paul Wallington <jpw@gnu.org> |
8362 | ||
8363 | * fileio.c (read_file_name_completion_ignore_case): New variable. | |
8364 | (syms_of_fileio): Declare and initialise it. | |
8365 | (Fread_file_name): Bind `completion-ignore-case' to respect it. | |
8366 | ||
2a1a35c6 EZ |
8367 | 2004-07-03 Eli Zaretskii <eliz@gnu.org> |
8368 | ||
8369 | * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects | |
8370 | for event.x and event.y. | |
8371 | ||
33a72331 KH |
8372 | 2004-07-01 Kenichi Handa <handa@m17n.org> |
8373 | ||
8374 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | |
8375 | after getting a new string by pre-write-conversion. | |
8376 | ||
9238467d | 8377 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
07a6ab76 SM |
8378 | |
8379 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | |
8380 | (x_calc_absolute_position): Remove unused var `child'. | |
8381 | ||
8382 | * xfaces.c (x_supports_face_attributes_p) | |
8383 | (Fdisplay_supports_face_attributes_p): YAILOM. | |
8384 | (tty_supports_face_attributes_p): Remove unused var `i'. | |
8385 | ||
8386 | * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and | |
8387 | back_unibyte_ok. | |
8388 | ||
8389 | * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. | |
8390 | ||
8391 | * fontset.c (Fset_fontset_font): Remove unused vars `family' and `registry'. | |
8392 | ||
8393 | * Makefile.in (${etc}DOC): Fix file name of make-docfile. | |
8394 | ||
f96ec754 AS |
8395 | 2004-06-30 Andreas Schwab <schwab@suse.de> |
8396 | ||
8397 | * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. | |
8398 | (Finit_image_library): Pass LIBRARIES through to | |
8399 | CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. | |
8400 | (lookup_image_type): Pass Qnil as second argument to | |
8401 | Finit_image_library. | |
8402 | ||
78819ebb | 8403 | * lisp.h (Finit_image_library): Declare. |
f96ec754 | 8404 | |
59feca74 | 8405 | 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
c8d09ad8 | 8406 | |
31983645 AS |
8407 | * macterm.c (do_window_activate, do_window_deactivate): Remove. |
8408 | (XTread_socket): Send mouse button events to the toolbox | |
8409 | dispatcher even when the mouse is grabbed. Don't process window | |
8410 | activate events for non-Emacs windows. Replace function calls to | |
8411 | do_window_activate and do_window_deactivate with their contents. | |
8412 | Reset mouse grabbing status when a window is deactivated. | |
59feca74 | 8413 | |
c61278bb ST |
8414 | 2004-06-29 Steven Tamm <steventamm@mac.com> |
8415 | ||
8416 | * macterm.c (mac_get_emulated_btn) | |
8417 | (mac_event_to_emacs_modifiers): Fix emulated mouse button | |
8418 | support to correctly mask out modifiers. | |
8419 | ||
c3762cbd DK |
8420 | 2004-06-29 David Kastrup <dak@gnu.org> |
8421 | ||
8422 | * search.c (Fset_match_data): Allow buffer before end of list | |
8423 | which can happen if set-match-data is using a pre-consed list. | |
8424 | ||
c61278bb | 8425 | 2004-06-28 Steven Tamm <steventamm@mac.com> |
e439b925 ST |
8426 | |
8427 | * macterm.c (XTread_socket): Correctly set the frame position | |
8428 | after the window is moved. | |
8429 | ||
74cdfe05 JD |
8430 | 2004-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8431 | ||
8432 | * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on | |
8433 | gpix and gmask just before return to avoid memory leak. | |
03ecb80f JD |
8434 | (xg_get_image_for_pixmap): Add workaround for monochrome displays |
8435 | so insensitive and activated icons look ok. | |
74cdfe05 | 8436 | |
ef544dc8 JR |
8437 | 2004-06-27 Jason Rumney <jasonr@gnu.org> |
8438 | ||
8439 | * w32fns.c (file_dialog_callback): Disable edit control if set | |
8440 | to directories only on CDN_INITDONE message. | |
8441 | (Fx_file_dialog): Default to directories only when prompt starts | |
8442 | with "Dired". | |
8443 | ||
7b7990cc KS |
8444 | 2004-06-25 Kim F. Storm <storm@cua.dk> |
8445 | ||
8446 | * alloc.c (allocate_misc): Update total_free_markers. | |
8447 | (free_misc): New function. | |
8448 | (safe_alloca_unwind, free_marker): Use it. | |
8449 | ||
8450 | * lisp.h (free_misc): Add prototype. | |
8451 | ||
8452 | * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. | |
8453 | ||
d8c379f8 RS |
8454 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
8455 | ||
8456 | * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. | |
8457 | (syms_of_emacs): Lisp variables deleted. | |
8458 | ||
559cdd07 DK |
8459 | 2004-06-23 David Kastrup <dak@gnu.org> |
8460 | ||
94939b84 DK |
8461 | * search.c (Freplace_match): Adjust the match-data more thoroughly |
8462 | when replacing strings in the buffer. | |
8463 | (Fmatch_data): When INTEGERS is non-nil and the last match was in | |
8464 | a buffer, add the buffer as last element to the match data. | |
8465 | (Fset_match_data): If an additional element of the match-data is a | |
8466 | buffer, restore it to last_thing_searched. | |
c8d09ad8 | 8467 | (save_search_regs): Save last_thing_searched as part of the match data. |
559cdd07 DK |
8468 | (restore_match_data): Restore it again. |
8469 | ||
dce417e7 LT |
8470 | 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> |
8471 | ||
8472 | * keymap.c (Ftext_char_description): Doc fix. | |
8473 | * doc.c (Fsnarf_documentation): Doc fix. | |
8474 | ||
ef54b2d0 KS |
8475 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
8476 | ||
b5bc4d05 KS |
8477 | * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. |
8478 | ||
ef54b2d0 KS |
8479 | * lisp.h (struct Lisp_Save_Value): New member dogc. |
8480 | (SAFE_ALLOCA_LISP): Change second arg to number of elements. | |
8481 | Set dogc member in Lisp_Save_Value object so it will be GC'ed. | |
8482 | (SAFE_FREE_LISP): New macro. | |
8483 | ||
8484 | * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. | |
8485 | (make_save_value): Init new dogc member. | |
8486 | (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. | |
8487 | ||
8488 | * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and | |
8489 | SAFE_FREE_LISP macros. | |
8490 | ||
3d33d993 KS |
8491 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
8492 | ||
8493 | * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. | |
8494 | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects | |
8495 | in that memory area are unknown to GC. Add comments. | |
8496 | ||
8497 | * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. | |
8498 | ||
5c917f98 KS |
8499 | 2004-06-21 Kim F. Storm <storm@cua.dk> |
8500 | ||
8501 | * lisp.h (MAX_ALLOCA): Define here. | |
8502 | (safe_alloca_unwind): Add prototype. | |
8503 | (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. | |
8504 | ||
8505 | * alloc.c (safe_alloca_unwind): New function. | |
8506 | ||
8507 | * casefiddle.c (casify_object): Use SAFE_ALLOCA. | |
8508 | ||
8509 | * charset.c (Fstring): Use SAFE_ALLOCA. | |
8510 | ||
8511 | * coding.c (MAX_ALLOCA): Remove define. | |
8512 | ||
8513 | * data.c (MAX_ALLOCA): Remove define. | |
8514 | (Faset): Use SAFE_ALLOCA. | |
8515 | ||
8516 | * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. | |
8517 | ||
8518 | * fns.c (string_make_multibyte, string_to_multibyte) | |
8519 | (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. | |
8520 | (MAX_ALLOCA): Remove define. | |
8521 | (Fbase64_encode_region, Fbase64_encode_string) | |
8522 | (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. | |
8523 | (Fbase64_encode_region, Fbase64_encode_string): Fix potential | |
8524 | memory leak if encoding fails. | |
8525 | ||
8526 | * xdisp.c (add_to_log): Use SAFE_ALLOCA. | |
8527 | ||
9a09408e EZ |
8528 | 2004-06-21 Eli Zaretskii <eliz@gnu.org> |
8529 | ||
8530 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
8531 | ||
376de739 RS |
8532 | 2004-06-20 Richard M. Stallman <rms@gnu.org> |
8533 | ||
8534 | * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. | |
8535 | ||
8536 | * search.c (match_limit): Cleaner err msg when no match data available. | |
8537 | ||
8538 | * window.c (syms_of_window): Doc fix. | |
8539 | ||
8540 | * keyboard.c (command_loop_1): Handle values `only' and `identity' | |
8541 | for Vtransient_mark_mode. | |
8542 | ||
8543 | * buffer.c (syms_of_buffer): Doc fix. | |
8544 | ||
acd81db9 DK |
8545 | 2004-06-21 David Kastrup <dak@gnu.org> |
8546 | ||
8547 | * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding | |
8548 | and unbinding of `case-fold-search' according to | |
8549 | `completion-ignore-case' around calls of string-match and | |
8550 | predicates, respectively. Should give satisfactory performance | |
8551 | in all relevant cases. | |
8552 | ||
f303762d JD |
8553 | 2004-06-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8554 | ||
95911c74 JD |
8555 | * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from |
8556 | clip_x/y_origin. | |
8557 | ||
a6cb6b78 JD |
8558 | * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. |
8559 | ||
f303762d JD |
8560 | * macfns.c (Fx_display_color_cells): Do not limit return value to 256. |
8561 | ||
8562 | * macterm.c (mac_initialize_display_info): Initialize n_planes correctly | |
8563 | on Mac OSX. | |
8564 | ||
bbdb2684 LT |
8565 | 2004-06-16 Luc Teirlinck <teirllm@auburn.edu> |
8566 | ||
8567 | * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. | |
8568 | ||
5ea48b1c KS |
8569 | 2004-06-16 Kim F. Storm <storm@cua.dk> |
8570 | ||
8571 | * dispextern.h (Vimage_types): Remove extern. | |
8572 | ||
803aac3e MB |
8573 | 2004-06-16 Miles Bader <miles@gnu.org> |
8574 | ||
8575 | * image.c (lookup_image_type): Initialize image type if necessary. | |
8576 | ||
cdc97764 KS |
8577 | 2004-06-15 Kim F. Storm <storm@cua.dk> |
8578 | ||
c4a5739c KS |
8579 | * xdisp.c (try_cursor_movement): Exclude header line from scroll |
8580 | margin at top of window. | |
8581 | (try_window_reusing_current_matrix): Calculate proper cursor position | |
8582 | after scrolling up with non-zero scroll margin, as the old cursor | |
8583 | position corresponds to value of PT before executing this command. | |
8584 | (try_window_id): Consider scroll margin at bottom of window too; | |
8585 | otherwise we fail to scroll when hl-line-mode is enabled. | |
8586 | ||
cdc97764 KS |
8587 | * syntax.c (skip_chars): Only recognize [:class:] when it has the |
8588 | proper format and class is a lower-case word. | |
8589 | ||
5b166323 JD |
8590 | 2004-06-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8591 | ||
8592 | * gtkutil.c (xg_get_image_for_pixmap): New function. | |
c8d09ad8 | 8593 | (xg_get_gdk_pixmap_and_mask): Remove. |
5b166323 JD |
8594 | (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of |
8595 | xg_get_gdk_pixmap_and_mask. | |
cdc97764 | 8596 | |
5b166323 JD |
8597 | * xterm.h (struct x_display_info): Typo in comment fixed. |
8598 | ||
1ebd4f78 JB |
8599 | 2004-06-14 Juanma Barranquero <lektu@terra.es> |
8600 | ||
8601 | * dispextern.h (Vimage_types): Make it conditional on | |
8602 | HAVE_WINDOW_SYSTEM. | |
8603 | ||
8604 | * image.c (Vimage_types): Move from xdisp.c. | |
8605 | (Vimage_type_cache): New variable. | |
8606 | (define_image_type): New argument indicating whether an image | |
8607 | library was loaded; cache loaded status and return t on success, | |
8608 | nil otherwise. | |
8609 | (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. | |
8610 | (w32_delayed_load): New function to load an image library from a | |
8611 | list of possible filenames. | |
8612 | (init_xpm_functions, init_png_functions, init_jpeg_functions) | |
8613 | (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. | |
c8d09ad8 | 8614 | (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. |
1ebd4f78 JB |
8615 | (Finit_image_library): New function, extracted from `init_image'. |
8616 | Try to initialize an image library on demand and cache whether we | |
8617 | were successful or not. | |
8618 | (syms_of_image): Initialize `Vimage_types' and | |
8619 | `Vimage_type_cache'. Add recognized image types to Vimage_types. | |
8620 | Export `init-image-library'. | |
8621 | (init_image): Remove initialization of all image types, except xbm | |
8622 | and pbm. | |
8623 | ||
8624 | * xdisp.c (Vimage_types): Delete (moved to image.c). | |
8625 | ||
904ee128 AS |
8626 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
8627 | ||
8628 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
8629 | Avoid calling specbind when completion-regexp-list is empty. | |
8630 | ||
092de21d RS |
8631 | 2004-06-13 Richard M. Stallman <rms@gnu.org> |
8632 | ||
8633 | * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
8634 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
8635 | Non-function definitions moved here from regex.c. | |
1ebd4f78 | 8636 | |
092de21d RS |
8637 | * regex.c (re_wctype, re_iswctype): Function defs longer static. |
8638 | (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
8639 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
8640 | Non-function definitions moved to regex.h. | |
8641 | ||
8642 | * window.c (Fselect_window): Doc fix. | |
8643 | ||
8644 | * syntax.c: Include regex.h. | |
8645 | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. | |
8646 | If requested, make a list of classes, then check the scanned | |
8647 | chars for membership in them. | |
8648 | (in_classes): New function. | |
8649 | Doc fix. | |
8650 | ||
8651 | * keyboard.c (cmd_error): Don't call any_kboard_state | |
8652 | if inside a recursive edit level. | |
8653 | ||
9ba27690 | 8654 | 2004-06-13 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
092de21d RS |
8655 | |
8656 | * keyboard.c (command_loop): Call any_kboard_state before | |
8657 | command_loop_2 when at top level. | |
8658 | ||
3ebc0939 AS |
8659 | 2004-06-13 Andreas Schwab <schwab@suse.de> |
8660 | ||
cea5d0d4 AS |
8661 | * print.c (print_object): Always use %ld for printing EMACS_INT. |
8662 | ||
8663 | * keyboard.c (cancel_hourglass_unwind): Return a value. | |
8664 | (modify_event_symbol): Always use %ld for printing EMACS_INT. | |
8665 | (Fexecute_extended_command): Likewise. | |
8666 | ||
8667 | * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to | |
8668 | avoid clashes. | |
8669 | (SYNTAX): Likewise. | |
8670 | (SYNTAX_WITH_FLAGS): Likewise. | |
8671 | (SYNTAX_MATCH): Likewise. | |
8672 | ||
8673 | * syntax.c (char_quoted): Avoid warning about undefined operation. | |
8674 | (find_defun_start): Likewise. | |
8675 | (scan_lists): Likewise. | |
8676 | (INC_FROM): Likewise. | |
8677 | (scan_sexps_forward): Likewise. | |
8678 | ||
be8c4ce4 AS |
8679 | * image.c: Include <ctype.h>. |
8680 | ||
3ebc0939 AS |
8681 | * xfaces.c (face_attr_equal_p): Declare parameters. |
8682 | ||
6fb41b5b KH |
8683 | 2004-06-13 Kenichi Handa <handa@m17n.org> |
8684 | ||
8685 | * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. | |
8686 | ||
fc3095ce EZ |
8687 | 2004-06-12 Matthew Mundell <matt@mundell.ukfsn.org> |
8688 | ||
8689 | * eval.c (Fdefun): Signal an error if NAME is not a symbol. | |
8690 | ||
66189a40 KH |
8691 | 2004-06-12 Kenichi Handa <handa@m17n.org> |
8692 | ||
8693 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | |
8694 | ccl_prog_stack_struct and update it. | |
8695 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | |
8696 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | |
8697 | ccl->eof_ic on EOF. | |
8698 | (ccl_debug_hook): New function. | |
8699 | (struct ccl_prog_stack): New member eof_ic. | |
8700 | (ccl_driver): Handle EOF in subrountine call correctly. | |
8701 | ||
8702 | 2004-06-11 Kenichi Handa <handa@m17n.org> | |
8703 | ||
a9b43336 | 8704 | * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. |
66189a40 | 8705 | |
1da71023 KS |
8706 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
8707 | ||
8708 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | |
8709 | ||
e9efcef4 JB |
8710 | 2004-06-11 Juanma Barranquero <lektu@terra.es> |
8711 | ||
8712 | * keyboard.c (Fposn_at_point): Doc fix. | |
8713 | ||
9b9ceb61 DK |
8714 | 2004-06-11 David Kastrup <dak@gnu.org> |
8715 | ||
8716 | * search.c (match_limit): Don't flag an error if match-data | |
8717 | exceeding the allocated search_regs.num_regs gets requested, just | |
8718 | return Qnil. | |
8719 | ||
6e87ac8f MB |
8720 | 2004-06-08 Miles Bader <miles@gnu.org> |
8721 | ||
8722 | * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. | |
8723 | ||
0b0dea7b JB |
8724 | 2004-06-07 Juanma Barranquero <lektu@terra.es> |
8725 | ||
8726 | * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) | |
8727 | (Fcurrent_time_string, Fcurrent_time_zone) | |
8728 | (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. | |
8729 | ||
a0a23346 MB |
8730 | 2004-06-07 Miles Bader <miles@gnu.org> |
8731 | ||
08384afd | 8732 | * xfaces.c (struct named_merge_point): New type. |
a0a23346 MB |
8733 | (push_named_merge_point): New function. |
8734 | (merge_named_face): New function. | |
8735 | (merge_face_ref, face_at_buffer_position, face_at_string_position): | |
8736 | Use `merge_named_face'. | |
8737 | (merge_face_inheritance): Function removed. | |
c8d09ad8 | 8738 | (merge_face_ref): Rename from `merge_face_vector_with_property'. |
a0a23346 MB |
8739 | Add new `err_msgs' and `named_merge_points' args. Return error |
8740 | status. Only print error messages if ERR_MSGS is true. Don't try to | |
8741 | do :inherit attribute validation. | |
8742 | (merge_face_heights): Handle `unspecified' in both directions. | |
8743 | (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. | |
8744 | Call `merge_face_ref' instead of `merge_face_inheritance'. | |
8745 | (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) | |
8746 | (compute_char_face, face_at_buffer_position) | |
8747 | (face_at_string_position): Call `merge_face_ref' instead of | |
8748 | `merge_face_vector_with_property'. | |
8749 | ||
12d5b185 KH |
8750 | 2004-06-07 Kenichi Handa <handa@m17n.org> |
8751 | ||
8752 | * coding.c (find_safe_codings): Check NILP (safe_codings) only at | |
8753 | the necessary places. | |
8754 | ||
2e2d7ee6 KS |
8755 | 2004-06-07 Kim F. Storm <storm@cua.dk> |
8756 | ||
8757 | * process.c (Fdelete_process): Undo 2004-05-28 change. | |
8758 | Instead, call status_notify also for network process. | |
8759 | (status_message): Use process instead of status as arg. | |
8760 | Give messages "deleted" or "connection broken by remote peer" for | |
8761 | an exited network process. | |
8762 | (status_notify): Change call to status_message. | |
8763 | (read_process_output): Increase readmax to 4096. Do not increase | |
8764 | buffer size for datagram channels (default is now large enough). | |
8765 | ||
fcf0d299 ST |
8766 | 2004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
8767 | ||
8768 | * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation | |
8769 | problem due to newly defined variable. | |
8770 | ||
0722292b MB |
8771 | 2004-06-06 Miles Bader <miles@gnu.org> |
8772 | ||
8773 | * xfaces.c (Fdisplay_supports_face_attributes_p): Give up | |
8774 | immediately if non-interactive or not initialized. | |
8775 | ||
ddfb8369 RS |
8776 | 2004-06-05 Richard M. Stallman <rms@gnu.org> |
8777 | ||
8778 | * minibuf.c (Fcompleting_read): Doc fix. | |
8779 | ||
57015754 AS |
8780 | 2004-06-05 Andreas Schwab <schwab@suse.de> |
8781 | ||
8782 | * macfns.c (x_create_tip_frame): Fix declaration after statement. | |
8783 | ||
23715ea6 JB |
8784 | 2004-06-05 Juanma Barranquero <lektu@terra.es> |
8785 | ||
8786 | * keymap.c (Fdescribe_vector): Fix docstring. | |
8787 | (Fkey_description, Fglobal_key_binding): Fix typo in docstring. | |
8788 | ||
8e330b22 MB |
8789 | 2004-06-05 Miles Bader <miles@gnu.org> |
8790 | ||
8791 | * xfaces.c (tty_supports_face_attributes_p): Make sure the specified | |
8792 | attributes have different values than the default face. | |
8793 | ||
9742a3a6 EZ |
8794 | 2004-06-04 Eli Zaretskii <eliz@gnu.org> |
8795 | ||
8796 | * xfaces.c (x_supports_face_attributes_p): Make this function | |
8797 | conditional on HAVE_WINDOW_SYSTEM. | |
c8d09ad8 SM |
8798 | (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: |
8799 | Don't call x_supports_face_attributes_p if it was not compiled in. | |
9742a3a6 | 8800 | |
9717e36c MB |
8801 | 2004-06-04 Miles Bader <miles@gnu.org> |
8802 | ||
8803 | * xfaces.c (tty_supports_face_attributes_p): New function, mostly | |
8804 | from Ftty_supports_face_attributes_p. | |
8805 | (x_supports_face_attributes_p): New function. | |
8806 | (Ftty_supports_face_attributes_p): Function deleted. | |
8807 | (Fdisplay_supports_face_attributes_p): New function. | |
8808 | (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. | |
f9711de4 | 8809 | (face_attr_equal_p): New function. |
9717e36c MB |
8810 | (lface_equal_p): Use it. |
8811 | ||
52deb19f JB |
8812 | 2004-06-03 Juanma Barranquero <lektu@terra.es> |
8813 | ||
8814 | * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) | |
8815 | (Vw32_color_map): Fix typo in docstring. | |
8816 | (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) | |
8817 | (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): | |
8818 | Make argument names match their use in docstring. | |
8819 | ||
86d373e6 JB |
8820 | 2004-06-02 Juanma Barranquero <lektu@terra.es> |
8821 | ||
8822 | Work around bugs/problems with MinGW builds of graphics libraries | |
8823 | called from MSVC builds of Emacs. | |
8824 | ||
8825 | * image.c (lookup_image): Make pointer to img static. | |
8826 | (png_read_from_memory): Disable "global" optimization. | |
8827 | ||
2fb0ce67 SM |
8828 | 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
8829 | ||
c8d09ad8 SM |
8830 | * eval.c (Fcondition_case): Fix usage. Simplify. |
8831 | ||
2fb0ce67 SM |
8832 | * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
8833 | ||
50bf7673 ST |
8834 | 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8835 | ||
8836 | * macfns.c: Don't include ccl.h. | |
8837 | [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
86d373e6 JB |
8838 | [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
8839 | TextUtils.h. | |
c8d09ad8 | 8840 | (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
50bf7673 ST |
8841 | (Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
8842 | display height/width. | |
8843 | (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
8844 | (unwind_create_tip_frame, compute_tip_xy): New functions. | |
8845 | (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
8846 | (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
8847 | and last_show_tip_args. | |
2fb0ce67 | 8848 | |
50bf7673 ST |
8849 | * macgui.h [!MAC_OSX]: Include Gestalt.h. |
8850 | (Cursor, No_Cursor): New defines. | |
c8d09ad8 | 8851 | [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
50bf7673 ST |
8852 | [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
8853 | ||
8854 | * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
8855 | ||
8856 | * macterm.c: Don't include Gestalt.h. | |
8857 | (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
8858 | (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
8859 | (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
8860 | (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
8861 | (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
8862 | (construct_mouse_click, XTmouse_position) | |
8863 | (x_scroll_bar_report_motion, x_calc_absolute_position) | |
8864 | (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
8865 | (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
8866 | (note_mouse_movement): Clear the mouse face and reset the pointer | |
8867 | shape when the pointer goes outside the frame without grabbing. | |
8868 | (mac_front_window): New function. | |
8869 | (mac_window_to_frame): New macro. | |
8870 | (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
8871 | (do_window_activate, do_window_deactivate, do_app_resume) | |
8872 | (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
8873 | (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
8874 | (mac_check_for_quit_char): Use mac_front_window and/or | |
8875 | mac_window_to_frame. | |
8876 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
8877 | scroll-bar click event. | |
8878 | (mac_define_frame_cursor): Change the pointer shape. | |
71b7a47f YM |
8879 | (x_free_frame_resources): Reset tip_window to NULL when it is |
8880 | disposed of. | |
50bf7673 | 8881 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
c8d09ad8 | 8882 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
50bf7673 ST |
8883 | (do_window_update): Don't do anything if the updated window is the |
8884 | tooltip window. | |
8885 | (do_mouse_moved): Handle mouse movement events here (previously in | |
8886 | XTread_socket). Clear the mouse face if | |
8887 | dpyinfo->mouse_face_hidden is set. | |
8888 | (do_os_event, do_events): Remove (now in XTread_socket). | |
8889 | (XTread_socket): Immediately return if interrupt_input_blocked. | |
c8d09ad8 SM |
8890 | Loop until all the events in the queue are processed. |
8891 | Rearrange codes for mouse grabbing. Add tooltip support. Include the | |
50bf7673 ST |
8892 | contents of do_os_event and do_events. Remove mouse movement |
8893 | handling (now in do_mouse_moved). Add the case where | |
8894 | Vmouse_highlight has an integer value. | |
8895 | (NewMacWindow): Remove. | |
8896 | (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
8897 | excess initializations. | |
8898 | (make_mac_terminal_frame): Previous initializations in | |
8899 | make_mac_frame are moved here. | |
c8d09ad8 SM |
8900 | (mac_initialize_display_info): |
8901 | Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
50bf7673 ST |
8902 | |
8903 | * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
8904 | (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
8905 | ||
08fd1251 RS |
8906 | 2004-05-29 Richard M. Stallman <rms@gnu.org> |
8907 | ||
8908 | * lisp.h (truncate_undo_list): Update decl. | |
8909 | ||
8910 | * alloc.c (undo_outer_limit): New variable. | |
8911 | (syms_of_alloc): Defvar it. | |
8912 | (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. | |
8913 | ||
8914 | * undo.c (truncate_undo_list): New arg LIMITSIZE. | |
8915 | ||
8916 | * alloc.c (lisp_align_malloc): Check for base == 0 | |
8917 | regardless of HAVE_POSIX_MEMALIGN. | |
8918 | Clean up HAVE_POSIX_MEMALIGN handling of `err'. | |
8919 | ||
227ef0ff SM |
8920 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
8921 | ||
8922 | * alloc.c: Undo Kim's recent changes and fix the same bug differently. | |
8923 | (marker_blocks_pending_free): Remove. | |
8924 | (Fgarbage_collect): Sweep after cleaning up undo-lists. | |
8925 | Mark the undo lists after claning them up. | |
8926 | Don't free block in marker_blocks_pending_free. | |
8927 | (mark_buffer): Don't mark undo_list. | |
8928 | (gc_sweep): Sweep hash-tables and strings first. | |
8929 | Do free marker blocks that are empty. | |
8930 | ||
034a6113 SM |
8931 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
8932 | ||
8933 | * regex.c (print_partial_compiled_pattern): Add missing 'break' | |
8934 | after 'case wordend'. For symbeg and symend, print to stderr, | |
8935 | like the other cases. | |
8936 | ||
33594a8d NF |
8937 | 2004-05-28 Noah Friedman <friedman@splode.com> |
8938 | ||
8939 | * process.c (Fdelete_process): Do not call remove_process. | |
8940 | ||
ce50a847 SM |
8941 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
8942 | ||
8943 | * alloc.c (struct backtrace): Remove. | |
8944 | (Fgarbage_collect): Use the new mark_backtrace. | |
8945 | ||
8946 | * eval.c (mark_backtrace): New function. | |
8947 | ||
8948 | * minibuf.c (run_exit_minibuf_hook): New function. | |
8949 | (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. | |
8950 | (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. | |
8951 | ||
1e8dae36 KS |
8952 | 2004-05-27 Kim F. Storm <storm@cua.dk> |
8953 | ||
8954 | * xdisp.c (back_to_previous_visible_line_start): Skip backwards | |
8955 | over display properties, e.g. images, that replace buffer text. | |
8956 | ||
846faa3b KS |
8957 | 2004-05-25 Kim F. Storm <storm@cua.dk> |
8958 | ||
8959 | * alloc.c (marker_blocks_pending_free): New var. | |
8960 | (gc_sweep): Store free marker blocks on that list. | |
8961 | (Fgarbage_collect): Free them after undo-list cleanup. | |
8962 | ||
8963 | * process.c (wait_reading_process_input): Check connect_wait_mask | |
8964 | before actually accepting connection in case it has already been | |
8965 | accepted due to recursion. | |
8966 | ||
b6189c3b | 8967 | 2004-05-23 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
6239a668 | 8968 | |
ce50a847 SM |
8969 | * coding.c (Fset_safe_terminal_coding_system_internal): |
8970 | Set suppress_error in safe_terminal_coding, not terminal_coding. | |
6239a668 | 8971 | |
71d5a208 RS |
8972 | 2004-05-22 Richard M. Stallman <rms@gnu.org> |
8973 | ||
8974 | * alloc.c (Fmake_string): Doc fix. | |
8975 | ||
8976 | * buffer.c (clone_per_buffer_values): Copy the alist of local vars, | |
8977 | and the alist pairs too. | |
8978 | ||
8979 | * casefiddle.c (casify_object): Return OBJ unchanged if not real char. | |
8980 | ||
51391fb9 RF |
8981 | * emacs.c (main): Update copyright year. |
8982 | ||
71d5a208 RS |
8983 | * fileio.c (Fread_file_name): Expand DIR if not absolute. |
8984 | ||
8985 | * insdel.c (del_range_2, replace_range): Don't write an anchor | |
8986 | if the gap is empty. | |
8987 | ||
8988 | * xdisp.c (try_scrolling): If scroll-up-aggressively or | |
8989 | scroll-down-aggressively is small but positive, put point | |
8990 | near the screen edge. | |
8991 | ||
f63fd14e JB |
8992 | 2004-05-22 Juanma Barranquero <lektu@terra.es> |
8993 | ||
8994 | * keymap.c (Fdefine_key): Doc fix. | |
8995 | ||
4d12067c KS |
8996 | 2004-05-22 Kim F. Storm <storm@cua.dk> |
8997 | ||
8998 | * alloc.c (struct backtrace): Add debug_on_exit member. | |
8999 | (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. | |
9000 | Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of | |
9001 | the removed cons cells. | |
9002 | (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. | |
9003 | (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have | |
9004 | any cons cells pointing to unallocated stings. | |
9005 | Do not lisp_free any marker blocks, as there may still be pointers | |
9006 | to them from buffer undo lists at this stage of GC. | |
9007 | ||
9008 | * keyboard.c (struct backtrace): Add debug_on_exit member. | |
9009 | (Fcommand_execute): Clear it. | |
9010 | ||
931285e2 LT |
9011 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
9012 | ||
9013 | * intervals.c (lookup_char_property): Do not prematurely return nil. | |
9014 | ||
669fa600 SM |
9015 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
9016 | ||
9017 | Add support for new '\_<' and '\_>' regexp operators, matching the | |
f63fd14e | 9018 | beginning and end of symbols. |
4d12067c | 9019 | |
669fa600 SM |
9020 | * regex.c (enum syntaxcode): Add Ssymbol. |
9021 | (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. | |
9022 | (re_opcode_t): New opcodes `symbeg' and `symend'. | |
9023 | (print_partial_compiled_pattern): Print the new opcodes properly. | |
9024 | (regex_compile): Parse the new operators. | |
ce50a847 | 9025 | (analyse_first): Skip sym(beg|end) (they match only the empty string). |
669fa600 SM |
9026 | (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
9027 | \sw; `symbeg' is mutually exclusive with \S_ and \Sw. | |
9028 | (re_match_2_internal): Match symbeg and symend. | |
9029 | ||
9030 | * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. | |
9031 | ||
0d8c2e5c KS |
9032 | 2004-05-19 Kim F. Storm <storm@cua.dk> |
9033 | ||
9034 | * .gdbinit (xsymbol): Fix last change. | |
9035 | ||
669fa600 SM |
9036 | 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
9037 | ||
9038 | * .gdbinit (xprintstr): New fun. | |
9039 | (xstring, xprintsym): Use it. | |
9040 | ||
9041 | * w32proc.c (create_child): Use INTMASK. | |
9042 | ||
9043 | * alloc.c (Fgarbage_collect): Do all the marking before flushing | |
9044 | unmarked elements of the undo list. | |
9045 | ||
9a6a4c40 DP |
9046 | 2004-05-18 David Ponce <david@dponce.com> |
9047 | ||
9048 | * print.c (print): Reset print_depth before to call print_object. | |
9049 | ||
f3c4ec74 JR |
9050 | 2004-05-18 Jason Rumney <jasonr@gnu.org> |
9051 | ||
9052 | * w32console.c: Prefix RIF functions with w32con_ to avoid | |
9053 | namespace clash with functions in term.c and w32term.c. | |
9054 | ||
9055 | * w32menu.c (add_menu_item, w32_menu_display_help) | |
9056 | [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. | |
9057 | ||
0d8c2e5c | 9058 | * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. |
f3c4ec74 | 9059 | |
6be49c3a EZ |
9060 | 2004-05-18 Eli Zaretskii <eliz@gnu.org> |
9061 | ||
4d0b9a0a EZ |
9062 | * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. |
9063 | ||
6be49c3a EZ |
9064 | * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph |
9065 | with make_number. | |
9066 | (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph | |
9067 | with XINT. | |
9068 | ||
0bc90bba KS |
9069 | 2004-05-18 Kim F. Storm <storm@cua.dk> |
9070 | ||
89d19988 KS |
9071 | * blockinput.h (INPUT_BLOCKED_P): New macros. |
9072 | ||
9073 | * keyboard.c (Frecursive_edit): Return immediately if input blocked. | |
9074 | (Ftop_level): Unblock input if blocked. | |
9075 | ||
0bc90bba KS |
9076 | * buffer.h (GET_OVERLAYS_AT): New macro. |
9077 | * msdos.c (IT_note_mouse_highlight): Use it. | |
9078 | * textprop.c (get_char_property_and_overlay): Use it. | |
9079 | * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. | |
9080 | * xfaces.c (face_at_buffer_position): Use it. | |
9081 | ||
9082 | * print.c (print_object): Increase buf size. | |
9083 | ||
653bd0f6 JR |
9084 | 2004-05-17 Jason Rumney <jasonr@gnu.org> |
9085 | ||
9086 | * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) | |
9087 | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from | |
9088 | Lisp_Object using i member. | |
9089 | (w32_quit_key): Rename from Vw32_quit_key, and make an int. | |
9090 | (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int | |
9091 | consistently. | |
9092 | ||
9093 | * w32proc.c (create_child): Use make_number instead of masking pid. | |
9094 | ||
9095 | * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. | |
9096 | (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): | |
9097 | Use EQ to compare Lisp_Objects. | |
9098 | (w32_parse_hot_key): Use int for lisp_modifiers consistently. | |
9099 | ||
9100 | * w32term.c (w32_num_mouse_buttons): Rename from | |
9101 | Vw32_num_mouse_buttons and make it an int. | |
9102 | ||
9103 | * w32.c (init_environment): Use it. | |
9104 | ||
9105 | * w32fns.c (w32_wnd_proc): Likewise. | |
9106 | ||
9107 | * w32proc.c (w32_pipe_read_delay): Rename from | |
9108 | Vw32_pipe_read_delay and make it an int. | |
9109 | ||
9110 | * w32.c (_sys_read_ahead): Use it. | |
9111 | ||
9112 | * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. | |
9113 | ||
9114 | * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. | |
9115 | ||
9116 | * w32inevt.c (w32_console_mouse_position, do_mouse_event) | |
9117 | (key_event): Don't mix Lisp_Object and int. | |
9118 | ||
9119 | * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. | |
9120 | ||
9121 | * keyboard.c (kbd_buffer_get_event): Don't use event->code and | |
9122 | modifiers in language change event. | |
9123 | ||
54b53ba7 KS |
9124 | 2004-05-17 Kim F. Storm <storm@cua.dk> |
9125 | ||
9126 | * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. | |
9127 | Such objects may be freed markers which still exist on an undo list. | |
9128 | ||
6e86a75d JB |
9129 | 2004-05-16 Juanma Barranquero <lektu@terra.es> |
9130 | ||
9131 | * data.c (Fset_default): Make argument names match their use in | |
9132 | docstring. | |
9133 | ||
fc80da24 AS |
9134 | 2004-05-15 Andreas Schwab <schwab@suse.de> |
9135 | ||
9136 | * emacs.c (gdb_array_mark_flag): Define. | |
9137 | * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. | |
9138 | ||
c1380aa6 EZ |
9139 | 2004-05-15 Eli Zaretskii <eliz@gnu.org> |
9140 | ||
9141 | * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use | |
9142 | __attribute__((__aligned__)), so that USE_LSB_TAG would not become | |
9143 | defined for the MS-DOS build. | |
9144 | ||
89458937 SM |
9145 | 2004-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
9146 | ||
9147 | * w32fns.c (Fw32_define_rgb_color): Avoid XSET. | |
9148 | ||
08020f9a KH |
9149 | 2004-05-14 Kenichi Handa <handa@m17n.org> |
9150 | ||
9151 | * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. | |
9152 | ||
a433994a ST |
9153 | 2004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9154 | ||
9155 | * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c | |
9156 | section to frame.c section. | |
9157 | (Fxw_display_color_p, Fx_file_dialog): Declare if | |
89458937 | 9158 | HAVE_WINDOW_SYSTEM defined. |
0d8c2e5c | 9159 | |
a433994a | 9160 | * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. |
0d8c2e5c | 9161 | |
a433994a | 9162 | * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. |
0d8c2e5c | 9163 | |
a433994a ST |
9164 | * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) |
9165 | (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. | |
9166 | (XTread_socket): Fix int/Lisp_Object mixup. | |
9167 | (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. | |
0d8c2e5c | 9168 | |
a433994a ST |
9169 | * macterm.h (struct frame, struct face, struct image) |
9170 | (display_x_get_resource, Fx_display_color_p) | |
89458937 SM |
9171 | (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): |
9172 | Add prototypes. | |
a433994a | 9173 | |
b51a51b9 KS |
9174 | 2004-05-14 Kim F. Storm <storm@cua.dk> |
9175 | ||
9176 | * process.c (wait_reading_process_input): Make reentrant. | |
9177 | Make Available and Connecting non-static. Save and restore value | |
9178 | of waiting_for_user_input_p. | |
9179 | ||
2bde1dd8 KS |
9180 | 2004-05-13 Kim F. Storm <storm@cua.dk> |
9181 | ||
9182 | * keyboard.c (mark_kboards): Don't mark x and y members | |
9183 | that are overloaded in selection request events. | |
9184 | ||
a267ab4d SM |
9185 | 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca> |
9186 | ||
9187 | * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. | |
9188 | ||
eb15ce9e GM |
9189 | 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk> |
9190 | ||
9191 | * window.c (Fdisplay_buffer, Fsplit_window) | |
9192 | (split-height-threshold): Doc fix. | |
9193 | ||
7fc92635 JB |
9194 | 2004-05-13 Juanma Barranquero <lektu@terra.es> |
9195 | ||
9196 | * xfaces.c (Ftty_supports_face_attributes_p) | |
9197 | (Finternal_copy_lisp_face): Fix typo in docstring. | |
9198 | (Finternal_get_lisp_face_attribute): Fix docstring. | |
9199 | ||
1ec2a572 JD |
9200 | 2004-05-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9201 | ||
9202 | * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. | |
9203 | ||
ae9292e0 ST |
9204 | 2004-05-11 Steven Tamm <steventamm@mac.com> |
9205 | ||
9206 | * macfns.c (Fx_create_frame): Default to using tool-bar by | |
9207 | setting tool-bar-lines to 1 in default-frame-alist. | |
9208 | ||
9209 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
ea1aaa6f ST |
9210 | |
9211 | * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) | |
9212 | (xpm_get_color_table_v, xpm_make_color_table_h) | |
9213 | (xpm_put_color_table_h, xpm_get_color_table_h) | |
9214 | (xpm_str_to_color_key, xpm_load_image, xpm_load) | |
9215 | (syms_of_image): Support XPM on Carbon Emacs. Does not | |
a267ab4d | 9216 | depend on libXpm, but only supports XPM version 3 without extensions. |
ea1aaa6f | 9217 | |
fe97e8df ST |
9218 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9219 | ||
a267ab4d | 9220 | * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P |
fe97e8df ST |
9221 | instead of FRAME_X_P |
9222 | ||
b47e779e KS |
9223 | 2004-05-11 Kim F. Storm <storm@cua.dk> |
9224 | ||
9225 | * process.c (read_process_output): Grow decoding_buf when needed; | |
9226 | this could cause a crash in allocate_string and compact_small_strings. | |
9227 | ||
cdc9b845 EZ |
9228 | 2004-04-29 Jim Blandy <jimb@redhat.com> |
9229 | ||
9230 | * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 | |
9231 | against proper opcode. | |
9232 | ||
aa7094ba JB |
9233 | 2004-05-10 Juanma Barranquero <lektu@terra.es> |
9234 | ||
9235 | * process.c (Fstart_process): Fix docstring. | |
9236 | ||
9237 | * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. | |
9238 | (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) | |
9239 | (Fsplit_char, Fchar_charset): Make argument names match their use | |
9240 | in docstring. | |
9241 | ||
e109331a RS |
9242 | 2004-05-10 Richard M. Stallman <rms@gnu.org> |
9243 | ||
9244 | * print.c (print_preprocess): Use being_printed, loop_count and | |
9245 | halftail to detect overdeep nesting and cyclic cdr chains. | |
9246 | ||
9a28b921 AS |
9247 | 2004-05-10 Andreas Schwab <schwab@suse.de> |
9248 | ||
78819ebb | 9249 | * lisp.h (Fmake_symbolic_link): Declare. |
9a28b921 AS |
9250 | |
9251 | * fileio.c (Frename_file): Remove extra argument in call to | |
9252 | Fmake_symbolic_link. | |
9253 | ||
e2c02c1a KS |
9254 | 2004-05-10 Kim F. Storm <storm@cua.dk> |
9255 | ||
9256 | * xdisp.c (calc_line_height_property): Use string position when | |
9257 | object is a string. | |
9258 | ||
cfe9d13e KH |
9259 | 2004-05-10 Kenichi Handa <handa@m17n.org> |
9260 | ||
a57e8159 KH |
9261 | * print.c (temp_output_buffer_setup): Bind inhibit-read-only and |
9262 | inhibit-modification-hooks to t temporarily before calling | |
9263 | Ferase_buffer. | |
9264 | ||
9265 | * xfns.c (x_create_tip_frame): Bind inhibit-read-only and | |
9266 | inhibit-modification-hooks to t temporarily before calling | |
9267 | Ferase_buffer. | |
9268 | ||
9269 | * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and | |
9270 | inhibit-modification-hooks to t temporarily before calling | |
9271 | Ferase_buffer. | |
9272 | ||
cfe9d13e KH |
9273 | * fns.c (count_combining): Delete it. |
9274 | (concat): Don't check combining bytes. | |
9275 | ||
ceb96489 JR |
9276 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
9277 | ||
9278 | * w32fns.c (Vw32_ansi_code_page): New Lisp variable. | |
9279 | (globals_of_w32fns): Set it. | |
9280 | ||
b6189c3b | 9281 | 2004-05-09 Piet van Oostrum <piet@cs.uu.nl> |
b1c661c7 JB |
9282 | |
9283 | * data.c (Fquo): Simplify. | |
9284 | ||
28712a21 JB |
9285 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) |
9286 | ||
9287 | * data.c (Fquo): If any argument is float, do the computation in | |
9288 | floating point. | |
9289 | ||
0f0af7a8 JB |
9290 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
9291 | ||
88214ef6 JB |
9292 | * process.c (Fwaiting_for_user_input_p, Fmake_network_process) |
9293 | (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): | |
9294 | Fix spelling of Emacs on docstring. | |
9295 | (Fset_process_coding_system, Fprocess_coding_system) | |
9296 | (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): | |
9297 | Make argument names match their use in docstring. | |
9298 | (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): | |
9299 | Fix docstring. | |
9300 | ||
0f0af7a8 JB |
9301 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
9302 | use in docstring. | |
9303 | ||
9304 | * syntax.c (Fmodify_syntax_entry): Fix docstring. | |
9305 | ||
2a316a84 ST |
9306 | 2004-05-07 Steven Tamm <steventamm@mac.com> |
9307 | ||
9308 | * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT | |
9309 | around call to ReceiveEvent to avoid certain crashes. | |
9310 | ||
9311 | 2004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
0d8c2e5c | 9312 | |
2a316a84 ST |
9313 | * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) |
9314 | (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) | |
9315 | (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): | |
9316 | Save/restore the current graphics port and device handle when | |
9317 | drawing into an offscreen graphics world. | |
9318 | ||
9319 | * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) | |
9320 | (gif_load): Likewise. | |
9321 | ||
ab80314b JB |
9322 | 2004-05-07 Juanma Barranquero <lektu@terra.es> |
9323 | ||
9324 | * window.c (Fset_window_buffer): Fix docstring. | |
9325 | ||
70646bb5 TTN |
9326 | 2004-05-06 Thien-Thi Nguyen <ttn@gnu.org> |
9327 | ||
9328 | * emacs.c (main) [VMS]: Fix var ref. | |
9329 | ||
b6189c3b | 9330 | 2004-05-06 Romain Francoise <romain@orebokech.com> |
b03a4fdd JB |
9331 | |
9332 | * data.c (Fsetq_default): Fix docstring. | |
9333 | ||
279d3293 JR |
9334 | 2004-05-06 Jason Rumney <jasonr@gnu.org> |
9335 | ||
9336 | * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h | |
9337 | to avoid name clash. | |
9338 | ||
f72b5416 JD |
9339 | 2004-05-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9340 | ||
9341 | * fileio.c (barf_or_query_if_file_exists): Use lstat. | |
9342 | (Frename_file): Handle renaming of symlinks across file systems. | |
440c7d00 | 9343 | (Frename_file): Put symlink handling inside #ifdef S_IFLNK. |
f72b5416 | 9344 | |
6ab66799 KS |
9345 | 2004-05-04 Kim F. Storm <storm@cua.dk> |
9346 | ||
9347 | * xdisp.c (Qtotal): New var. | |
9348 | (syms_of_xdisp): Intern and staticpro it. | |
9349 | (calc_line_height_property): New arg total. Set it if | |
9350 | line-spacing property has format (total . VALUE). | |
9351 | (x_produce_glyphs): Ignore line-spacing if line-height is 0. | |
9352 | Handle total line-spacing property. | |
9353 | ||
ab2d724b JD |
9354 | 2004-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9355 | ||
9356 | * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear | |
9357 | "under" scroll bar when size/position changes. | |
9358 | ||
238add5e JR |
9359 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
9360 | ||
9361 | * makefile.nt: Remove. | |
9362 | ||
1644f4e4 EZ |
9363 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> |
9364 | ||
a267ab4d SM |
9365 | * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): |
9366 | Avoid compiler warnings. | |
05fdbeb8 | 9367 | |
1644f4e4 EZ |
9368 | * Makefile.in (region-cache.o): Depend on config.h. |
9369 | ||
b6189c3b | 9370 | 2004-05-02 Romain Francoise <romain@orebokech.com> |
6cbc951e SM |
9371 | |
9372 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | |
9373 | with continuation lines, too. | |
9374 | ||
2b98b088 TTN |
9375 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
9376 | ||
9377 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | |
9378 | ||
d9bf7950 SM |
9379 | 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
9380 | ||
9381 | * xdisp.c (calc_line_height_property): YAILOM (yet another | |
9382 | int/Lisp_Object mixup). | |
9383 | ||
affa509c EZ |
9384 | 2004-05-01 Eli Zaretskii <eliz@gnu.org> |
9385 | ||
9386 | * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to | |
9387 | undo bad effect of pack(4) in some versions of system headers. | |
9388 | ||
07c07cfe JR |
9389 | 2004-05-01 Jason Rumney <jasonr@gnu.org> |
9390 | ||
9391 | * w32term.c (x_draw_hollow_cursor): Sync with xterm.c | |
9392 | ||
e71caa4e KS |
9393 | 2004-04-30 Kim F. Storm <storm@cua.dk> |
9394 | ||
9395 | * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. | |
b2b55d03 | 9396 | (syms_of_buffer) <cursor-type>: Doc fix. |
e71caa4e KS |
9397 | |
9398 | * dispextern.h (struct it): Remove member use_default_face. | |
9399 | Add members override_ascent, override_descent, override_boff. | |
9400 | ||
9401 | * xdisp.c (init_iterator): Handle line-spacing float value. | |
9402 | Initialize override_ascent member. | |
9403 | (append_space_for_newline): Reset override_ascent. | |
9404 | Remove use_default_face. | |
9405 | (calc_line_height_property): New function to calculate value of | |
9406 | line-height and line-spacing properties. Look at overlays, too. | |
9407 | Set override_ascent, override_descent, override_boff members when | |
9408 | using another face than the current face. Float values are now | |
9409 | relative to the frame default font, by default; accept a cons | |
9410 | of ratio and face name to specify value relative to a specific face. | |
9411 | (x_produce_glyphs): Use calc_line_height_property. | |
9412 | Use override_ascent etc. when set to handle different face heights. | |
9413 | A negative line-spacing property value is interpreted as a total | |
9414 | line height, rather than inter-line spacing. | |
9415 | (note_mouse_highlight): Allocate room for 40 overlays initially. | |
9416 | ||
0fddae66 SM |
9417 | 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
9418 | ||
9419 | * data.c (Fsubr_name): New fun. | |
9420 | (syms_of_data): Defsubr it. | |
9421 | ||
712d23dc KS |
9422 | 2004-04-29 Kim F. Storm <storm@cua.dk> |
9423 | ||
9424 | * xdisp.c (null_glyph_slice): New var. | |
9425 | (append_glyph, append_composite_glyph, append_stretch_glyph): | |
9426 | Use it to initialize glyph slice. | |
9427 | ||
033ad8c6 SM |
9428 | 2004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> |
9429 | ||
9430 | * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. | |
9431 | (on_hot_spot_p): Make sure we always return a value. | |
9432 | (Flookup_image_map): Remove unused var ix and iy. | |
9433 | (note_mode_line_or_margin_highlight): Remove unused var `image'. | |
9434 | ||
93397360 EZ |
9435 | 2004-04-27 Eli Zaretskii <eliz@gnu.org> |
9436 | ||
9437 | * msdos.c (init_environment): If one of the TMP... environment | |
9438 | variables is set to a drive letter without a trailing slash, | |
9439 | append a slash. | |
9440 | ||
0c54865e EZ |
9441 | 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org> |
9442 | ||
9443 | * editfns.c (lisp_time_argument): Provide externally. | |
9444 | ||
9445 | * fileio.c (Fset_file_times): New function. | |
9446 | (syms_of_fileio): Intern and staticpro it. | |
9447 | ||
d3b111bd KS |
9448 | 2004-04-27 Kim F. Storm <storm@cua.dk> |
9449 | ||
07dc1231 KS |
9450 | * xdisp.c (x_produce_glyphs): Fix last change; handle newline in |
9451 | header line strings. | |
9452 | ||
360fe9d2 KS |
9453 | * dispextern.h (struct it): New member use_default_face. |
9454 | ||
d3b111bd KS |
9455 | * xdisp.c (Qline_height): New variable. |
9456 | (syms_of_xdisp): Intern and staticpro it. | |
9457 | (append_space_for_newline): Partially undo 2004-04-25 change; | |
9458 | add default_face_p arg, and restore callers. | |
9459 | Clear it->use_default_face after use. | |
9460 | (x_produce_glyphs): Set default font for ascii char if | |
9461 | it->use_default_font is set. Change line-spacing property to set | |
9462 | just extra line spacing. Handle new line-height property. | |
9463 | ||
0448588b AS |
9464 | 2004-04-26 Andreas Schwab <schwab@suse.de> |
9465 | ||
9466 | * print.c (print_object): Print non-ascii characters in bool | |
9467 | vector representation as octal escapes. | |
9468 | ||
9469 | * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. | |
9470 | * print.c (print_object): Use it instead of BITS_PER_CHAR for | |
9471 | bool vectors. | |
9472 | * lread.c (read1): Likewise. | |
9473 | * alloc.c (Fmake_bool_vector): Likewise. | |
9474 | * data.c (Faref, Faset): Likewise. | |
9475 | * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) | |
9476 | (mapcar1): Likewise. | |
d3b111bd | 9477 | |
536d6baa ST |
9478 | 2004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
9479 | ||
7e26f91b | 9480 | * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. |
536d6baa | 9481 | |
ae11577a MB |
9482 | 2004-04-26 Miles Bader <miles@gnu.org> |
9483 | ||
9484 | * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. | |
9485 | ||
e198ba87 JB |
9486 | 2004-04-26 Juanma Barranquero <lektu@terra.es> |
9487 | ||
9488 | * buffer.c (Fpop_to_buffer): Fix docstring. | |
9489 | ||
f3d5f92d | 9490 | 2004-04-26 Steven Tamm <steventamm@mac.com> |
e198ba87 | 9491 | |
f3d5f92d ST |
9492 | * lread.c (init_lread): Don't display missing lisp directory |
9493 | warnings with Carbon Emacs because self-contained bundled Emacs | |
e198ba87 | 9494 | may be built without correct installation path. |
f3d5f92d | 9495 | |
03e35edc KS |
9496 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
9497 | ||
9ff3aa31 KS |
9498 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
9499 | ||
9500 | * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | |
9501 | ||
03e35edc KS |
9502 | * xdisp.c (append_space_for_newline): Rename from append_space. |
9503 | Remove DEFAULT_FACE_P arg; always use current face. Callers changed. | |
9504 | (x_produce_glyphs): Handle line-spacing property on newline char. | |
9505 | If value is t, adjust ascent and descent to fit current row height. | |
9506 | If value is an integer or float, set extra_line_spacing to integer | |
9507 | value, or to float value x current line height. | |
9508 | ||
f24814e0 KH |
9509 | 2004-04-23 Kenichi Handa <handa@m17n.org> |
9510 | ||
9511 | * fontset.c (Finternal_char_font): If POSITION is nil, return | |
9512 | font for displaying CH with the default face. | |
9513 | ||
d814862a JB |
9514 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
9515 | ||
9516 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
9517 | ||
063a45c5 SM |
9518 | 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9519 | ||
9520 | * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: | |
9521 | Don't make assumptions about the relative place of i and val. | |
9522 | (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. | |
9523 | ||
ae7ab2d3 KS |
9524 | 2004-04-21 Kim F. Storm <storm@cua.dk> |
9525 | ||
9526 | * dispextern.h (struct glyph_slice): New struct. | |
9527 | (struct glyph): New member slice. | |
9528 | (GLYPH_SLICE_EQUAL_P): New macro. | |
9529 | (GLYPH_EQUAL_P): Use it. | |
9530 | (struct glyph_string): New member slice. | |
9531 | (struct it_slice): New struct. | |
9532 | (struct it): New member slice, add member to stack too. | |
9533 | New member constrain_row_ascent_descent_p. | |
9534 | (image_ascent): Add prototype. | |
9535 | ||
9536 | * dispnew.c (buffer_posn_from_coords): Return full image width | |
9537 | and height even for image slices (posn is relative to full image). | |
9538 | (marginal_area_string): Adjust x0,y0 for image slice. | |
9539 | ||
9540 | * image.c (image_ascent): Add slice arg; calculate ascent for | |
9541 | image slice (or full image). | |
9542 | ||
9543 | * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. | |
9544 | (syms_of_keyboard): Defsubr them. | |
9545 | ||
9546 | * lisp.h (pos_visible_p): Fix prototype. | |
9547 | ||
c62aec78 | 9548 | * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. |
ae7ab2d3 KS |
9549 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. |
9550 | (x_draw_image_foreground, x_draw_image_relief) | |
9551 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
9552 | Draw sliced images. | |
9553 | ||
9554 | * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. | |
9555 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
9556 | (x_draw_image_foreground, x_draw_image_relief) | |
9557 | (w32_draw_image_foreground_1, x_draw_image_glyph_string): | |
9558 | Draw sliced images. | |
9559 | ||
9560 | * w32term.h (image_ascent): Remove prototype. | |
9561 | ||
9562 | * window.c (Fpos_visible_in_window_p): Return pixel position if | |
9563 | PARTIALLY arg is non-nil. Simplify. Doc fix. | |
9564 | (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg | |
9565 | to return/set vscroll in pixels. | |
9566 | ||
9567 | * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. | |
9568 | ||
9569 | * xdisp.c (Qslice): New variable. | |
9570 | (syms_of_xdisp): Intern and staticpro it. | |
9571 | (pos_visible_p): Return pixel position in new x and y args. | |
9572 | (init_iterator): Reset it->slice info. | |
9573 | (handle_display_prop): Parse (slice ...) property. | |
9574 | (push_it, pop_it): Save/restore slice info. | |
9575 | (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not | |
9576 | force repositioning of tall row if window is vscrolled, as that | |
9577 | would reset vscroll. | |
9578 | (append_space): Set it->constrain_row_ascent_descent_p to avoid | |
9579 | increasing row height if row is non-empty. | |
9580 | (fill_image_glyph_string): Copy slice info. | |
9581 | (take_vertical_position_into_account): Simplify. | |
9582 | (produce_image_glyph): Handle iterator slice info, setup glyph | |
9583 | slice info. Do not force minimum line height. | |
9584 | (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, | |
9585 | do not increase height (ascent/descent) of non-empty row when | |
9586 | adding normal character glyph; instead reduce glyph ascent/descent | |
9587 | appropriately; if row is higher than current glyph, adjust glyph | |
9588 | descent/ascent to reposition glyph within the existing row. | |
9589 | Likewise, when char is newline, only set ascent/descent if row is | |
9590 | currently empty. | |
9591 | (note_mouse_highlight): Handle hotspots with sliced image. | |
9592 | ||
9593 | * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. | |
9594 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
9595 | (x_draw_image_foreground, x_draw_image_relief) | |
9596 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
9597 | Draw sliced images. | |
9598 | ||
9599 | * xterm.h (image_ascent): Remove prototype. | |
9600 | ||
d58f8753 SM |
9601 | 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9602 | ||
9603 | * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. | |
9604 | ||
4ce2719d JPW |
9605 | 2004-04-20 John Paul Wallington <jpw@gnu.org> |
9606 | ||
9607 | * fns.c (Fassoc, Feql): Fix indentation. | |
9608 | ||
d58f8753 | 9609 | * fontset.c (regularize_fontname): Rename from regulalize_fontname. |
4ce2719d | 9610 | |
95f8c3b9 JPW |
9611 | 2004-04-19 John Paul Wallington <jpw@gnu.org> |
9612 | ||
9613 | * fns.c (Feql): New function. | |
d58f8753 | 9614 | (syms_of_fns): Defsubr it. |
95f8c3b9 | 9615 | |
b7e85537 JR |
9616 | 2004-04-18 Jason Rumney <jasonr@gnu.org> |
9617 | ||
9618 | * w32select.c (Fw32_set_clipboard_data): Get sequence number | |
9619 | after closing the clipboard. | |
9620 | ||
5a72efd4 LT |
9621 | 2004-04-16 Luc Teirlinck <teirllm@auburn.edu> |
9622 | ||
9623 | * buffer.c (Fbuffer_base_buffer): Doc fix. | |
9624 | ||
20dc8583 KS |
9625 | 2004-04-17 Kim F. Storm <storm@cua.dk> |
9626 | ||
60962ec4 KS |
9627 | * keymap.c (Fkey_description): Add optional PREFIX arg. |
9628 | Combine prefix with KEYS to make up the full key sequence to describe. | |
9629 | Correlate meta_prefix_char and following (simple) key to describe | |
9630 | as meta modifier. All callers changed. | |
9631 | (describe_map): Rename arg `keys' to `prefix'. Remove local | |
9632 | `elt_prefix' var. Use Fkey_description with prefix instead of | |
9633 | elt_prefix combined with Fsingle_key_description. | |
9634 | (describe_vector): Declare static. Replace arg `elt_prefix' with | |
9635 | `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it | |
52eb0373 | 9636 | if !KEYMAP_P. Use Fkey_description with prefix instead of |
60962ec4 KS |
9637 | Fsingle_key_description. |
9638 | ||
9639 | * keymap.h (Fkey_description): Fix prototype. | |
9640 | (describe_vector): Remove prototype. | |
9641 | ||
409368b9 KS |
9642 | * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. |
9643 | ||
20dc8583 KS |
9644 | * image.c (PNG_BG_COLOR_SHIFT): Remove. |
9645 | (png_load): Fix calculation of transparent background color on X | |
9646 | and W32 platforms. | |
9647 | ||
75c5501b JB |
9648 | 2004-04-16 Juanma Barranquero <lektu@terra.es> |
9649 | ||
9650 | * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is | |
9651 | not too large before computing how much to scroll. | |
9652 | ||
da879ae8 SM |
9653 | 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
9654 | ||
9655 | * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. | |
9656 | ||
d01ca4a8 LT |
9657 | 2004-04-14 Luc Teirlinck <teirllm@auburn.edu> |
9658 | ||
9659 | * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): | |
9660 | Add hyperlink to Elisp manual to the docstring. | |
9661 | ||
572943b3 SM |
9662 | 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
9663 | ||
9664 | * callint.c (fix_command): Use XDCR. | |
9665 | ||
5e30a0fb NR |
9666 | 2004-04-14 Nick Roberts <nick@nick.uklinux.net> |
9667 | ||
9668 | * window.c (Fget_lru_window): Doc fix. | |
9669 | ||
a27ddfaf KS |
9670 | 2004-04-14 Kim F. Storm <storm@cua.dk> |
9671 | ||
9672 | * editfns.c (Fformat): Fix allocation size of precision array. | |
9673 | ||
9674 | * dispnew.c (update_window): Only set changed_p if | |
9675 | scrolling_window actually did scroll. | |
9676 | (scrolling_window): Only return 1 if we actually did scroll. | |
9677 | ||
9678 | * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor | |
9679 | height to glyph height when cursor row is not fully visible. | |
9680 | (make_cursor_line_fully_visible): Add FORCE_P arg to return | |
9681 | failure in case row is higher than window. Callers changed. | |
9682 | (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). | |
9683 | Try to scroll partially visible, higher-than-window cursor row. | |
9684 | (redisplay_window): Always try to scroll partially visible, | |
9685 | higher-than-window cursor row - both initially and again with | |
9686 | centering_position = 0. | |
9687 | Clear desired matrix before retrying with centering_position = 0. | |
9688 | ||
da879ae8 SM |
9689 | 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
9690 | ||
9691 | * syntax.c (scan_lists): Simplify backward string scan. | |
9692 | Fix off-by-one boundary check for string and comment fences. | |
9693 | ||
5fc16e8e SM |
9694 | 2004-04-13 Joe Buehler <jbuehler@hekimian.com> |
9695 | ||
9696 | * sheap.c, unexcw.c: New files. | |
9697 | ||
c9aac8e6 LT |
9698 | 2004-04-12 Luc Teirlinck <teirllm@auburn.edu> |
9699 | ||
9700 | * buffer.c (Fmake_indirect_buffer): Throw an error if the intended | |
9701 | base buffer has been killed. Correct the error message if the | |
9702 | base buffer does not exist. | |
9703 | ||
1e88a355 SM |
9704 | 2004-04-12 Joe Buehler <jbuehler@hekimian.com> |
9705 | ||
9706 | * s/cygwin.h: Changes for Cygwin unexec() support, changes in | |
9707 | Cygwin itself. Add support for Xaw3d scrollbars. | |
9708 | ||
9709 | * puresize.h: Set up PURE_P() for Cygwin unexec() support. | |
9710 | ||
9711 | * lastfile.c: Define my_endbss[] for Cygwin unexec() support. | |
9712 | ||
9713 | * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), | |
9714 | before Cygwin unexec. | |
9715 | ||
9716 | * Makefile.in: Link changes for Cygwin unexec() support. | |
9717 | ||
8dbff9a0 AS |
9718 | 2004-04-12 Andreas Schwab <schwab@suse.de> |
9719 | ||
9720 | * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. | |
9721 | ||
54dffe35 LT |
9722 | 2004-04-11 Luc Teirlinck <teirllm@auburn.edu> |
9723 | ||
9724 | * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if | |
9725 | IGNORE argument equals NAME. Doc fix. | |
9726 | ||
99a72bdf MY |
9727 | 2004-04-11 Masatake YAMATO <jet@gyve.org> |
9728 | ||
1e88a355 | 9729 | * buffer.c (fix_start_end_in_overlays): Make overlays |
99a72bdf MY |
9730 | empty if they are backwards. |
9731 | ||
40899d7b SM |
9732 | 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
9733 | ||
9734 | * xfaces.c (face_color_supported_p): Fix compilation without X11. | |
9735 | ||
f8f853de SM |
9736 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
9737 | ||
9738 | * doc.c (Fsnarf_documentation): Ignore new file name entries. | |
9739 | ||
c953fe1b KS |
9740 | 2004-04-06 Kim F. Storm <storm@cua.dk> |
9741 | ||
661e85c1 KS |
9742 | * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. |
9743 | (dos_rawgetc): Set mouse_face_hidden after clearing highlight. | |
9744 | ||
9745 | * w32term.c (w32_read_socket): Set mouse_face_hidden after | |
9746 | clearing highlight. | |
9747 | ||
9748 | * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. | |
9749 | ||
9750 | * xterm.c (handle_one_xevent): Set mouse_face_hidden after | |
9751 | clearing highlight. | |
9752 | ||
c953fe1b KS |
9753 | * indent.c (vmotion): Do not reserve one column for continuation |
9754 | marks on window frames. | |
9755 | ||
c1994268 EZ |
9756 | 2004-04-04 Eli Zaretskii <eliz@gnu.org> |
9757 | ||
9758 | * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings | |
9759 | from GCC. | |
9760 | ||
9f691b0d SM |
9761 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> |
9762 | ||
9763 | * .gdbinit-union: Remove. | |
9764 | ||
9765 | * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. | |
9766 | (xgetptr, xgetint, xgettype): New funs. Use them everywhere. | |
9767 | ($nonvalbits): Remove. | |
9768 | ($valmask): Set it by calling xreload to avoid redundancy. | |
9769 | ||
9770 | * emacs.c (gdb_use_union, gdb_use_lsb): New vars. | |
9771 | (gdb_emacs_intbits): Remove. | |
9772 | ||
7a8560d7 JD |
9773 | 2004-03-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9774 | ||
9f691b0d | 9775 | * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. |
7a8560d7 | 9776 | |
3c8111fc KH |
9777 | 2004-03-30 Kenichi Handa <handa@m17n.org> |
9778 | ||
9779 | * editfns.c (Fformat): Fix initialization of the array info. | |
9780 | ||
48a0bce4 KS |
9781 | 2004-03-30 Kim F. Storm <storm@cua.dk> |
9782 | ||
9783 | * xterm.c (x_mouse_click_focus_ignore_position): New var. | |
9784 | (syms_of_xterm): DEFVAR_BOOL it. | |
9785 | (ignore_next_mouse_click_timeout): New var. | |
9786 | (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. | |
9787 | Use it to filter mouse clicks following focus event. | |
9788 | ||
1cd0066c KS |
9789 | 2004-03-29 David Ponce <david@dponce.com> |
9790 | ||
9791 | * callint.c (Fcall_interactively): Fix last change. | |
9792 | ||
adb3b353 SM |
9793 | 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
9794 | ||
9795 | * eval.c (Fcommandp): Simplify. | |
9796 | ||
9797 | * data.c (Finteractive_form): Rename from Fsubr_interactive_form. | |
9798 | Extend to handle all kinds of functions. | |
9799 | ||
9800 | * lisp.h (Finteractive_form): Declare. | |
9801 | ||
9802 | * callint.c (Fcall_interactively): Use it. | |
9803 | ||
6fc4c9c9 KS |
9804 | 2004-03-26 Kim F. Storm <storm@cua.dk> |
9805 | ||
9806 | * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error | |
9807 | to catch errors in calc_pixel_width_or_height during redisplay. | |
9808 | ||
abdb9b83 MY |
9809 | 2004-03-26 Masatake YAMATO <jet@gyve.org> |
9810 | ||
b17856dd | 9811 | * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. |
abdb9b83 | 9812 | |
b17856dd | 9813 | * lisp.h (fix_start_end_in_overlays): Likewise. |
abdb9b83 | 9814 | |
b17856dd | 9815 | * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. |
abdb9b83 | 9816 | |
b17856dd | 9817 | * editfns.c (Ftranspose_regions): Likewise. |
abdb9b83 | 9818 | |
e8a84b6c JD |
9819 | 2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9820 | ||
b17856dd | 9821 | * xterm.c (handle_one_xevent): Do not pass key press events to GTK. |
e8a84b6c | 9822 | |
36a3fd05 RS |
9823 | 2004-03-19 Richard M. Stallman <rms@gnu.org> |
9824 | ||
9825 | * s/sol2-6.h: Delete previous change. | |
9826 | ||
ab24c127 KS |
9827 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
9828 | ||
9829 | * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when | |
9830 | to_charpos corresponds to newline in right fringe. Use local | |
9831 | BUFFER_POS_REACHED_P macro. | |
9832 | ||
992126de JD |
9833 | 2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9834 | ||
9835 | * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM | |
9836 | to compile on non-window system. | |
9837 | ||
45dbfc84 KS |
9838 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
9839 | ||
9840 | * dispextern.h (calc_pixel_width_or_height): Add prototype. | |
9841 | ||
9842 | * image.c (Qcenter): Move to xdisp.c. | |
9843 | ||
9844 | * xdisp.c (Qcenter): Declare here. | |
adb3b353 | 9845 | (syms_of_xdisp): Intern and staticpro it. |
45dbfc84 KS |
9846 | (handle_single_display_prop): Allow space display property on all |
9847 | platforms. | |
9848 | (display_mode_line): Set mode_line_p before displaying line. | |
9849 | (calc_pixel_width_or_height): Declare extern. Add separate :align-to | |
9850 | handling. Remove complex cases for fringes and scroll-bars. | |
52eb0373 | 9851 | Add left, right, and center alignment positions. Add text (area) |
45dbfc84 KS |
9852 | width/height. Return width or height for image specs. |
9853 | (produce_stretch_glyph): Improve handling of :align-to. Is now | |
9854 | relative to left of text area by default, but other base offsets | |
9855 | can be specified -- also for text lines. | |
9856 | ||
9857 | * term.c (produce_glyphs): Handle IT_STRETCH. | |
9858 | (produce_stretch_glyph): New function to handle space width and | |
9859 | align-to display properties on non-window systems. | |
9860 | ||
37264101 SM |
9861 | 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
9862 | ||
9863 | * fileio.c (Fread_file_name): Set completion-ignore-case for | |
9864 | case-insensitive systems. | |
9865 | ||
73bc43da MY |
9866 | 2004-03-14 Masatake YAMATO <jet@gyve.org> |
9867 | ||
9868 | * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE | |
9869 | when keymap and cursor are setup. | |
9870 | ||
d5fb8dab | 9871 | 2004-03-14 Steven Tamm <steventamm@mac.com> |
9062aa89 | 9872 | |
b17856dd | 9873 | * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. |
9062aa89 | 9874 | |
e4b1b5ab KS |
9875 | 2004-03-14 Kim F. Storm <storm@cua.dk> |
9876 | ||
9877 | * dispextern.h (x_find_image_file): Add prototype. | |
9878 | ||
9879 | * image.c (x_find_image_file): Make extern. | |
9880 | ||
9881 | * xfns.c (x_find_image_file): Remove prototype. | |
9882 | ||
a6eeaa81 | 9883 | 2004-03-13 Eli Zaretskii <eliz@gnu.org> |
5109b06a | 9884 | |
37264101 | 9885 | * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. |
5109b06a | 9886 | |
37264101 | 9887 | * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. |
5109b06a | 9888 | |
e69cfac2 RS |
9889 | 2004-03-12 Richard M. Stallman <rms@gnu.org> |
9890 | ||
9891 | * fns.c (internal_equal): New arg PROPS controls comparing | |
9892 | text properties. All callers changed. | |
9893 | (Fequal_including_properties): New function. | |
9894 | (syms_of_fns): defsubr it. | |
9895 | ||
45034953 KS |
9896 | 2004-03-12 Kim F. Storm <storm@cua.dk> |
9897 | ||
9898 | Fix image support on MAC. From YAMAMOTO Mitsuharu. | |
37264101 | 9899 | |
45034953 KS |
9900 | * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. |
9901 | (image_background, image_background_transparent): Fix prototypes. | |
9902 | ||
37264101 | 9903 | * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. |
45034953 KS |
9904 | |
9905 | * macfns.c (x_list_fonts, x_get_font_info, x_load_font) | |
9906 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
9907 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
9908 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
9909 | (mac_draw_line_to_pixmap): Move prototypes to macterm.h. | |
9910 | ||
9911 | * macterm.h (x_list_fonts, x_get_font_info, x_load_font) | |
9912 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
9913 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
9914 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
9915 | (mac_draw_line_to_pixmap): Add prototypes. | |
9916 | ||
9917 | 2004-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
9918 | ||
9919 | * macterm.c (XTread_socket): Fix mouse click on tool bar. | |
9920 | ||
a12d3d87 KS |
9921 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
9922 | ||
d3ab1cf1 KS |
9923 | * dispextern.h: Move image related prototypes from xfns.c section |
9924 | to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than | |
9925 | HAVE_X_WINDOWS. | |
37264101 | 9926 | |
37de9f51 | 9927 | * Makefile.in (XOBJ): Consolidate into one list. Add image.o. |
37264101 | 9928 | Move gtkutil.o to new GTK_OBJ list. |
a12d3d87 KS |
9929 | (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. |
9930 | (GTK_OBJ) [USE_GTK]: New declaration. | |
9931 | (obj): Add $(GTK_OBJ) to list. | |
9932 | ||
d5fb8dab | 9933 | 2004-03-11 Steven Tamm <steventamm@mac.com> |
5109b06a | 9934 | |
7e26f91b | 9935 | * image.c [MAC_OSX]: Include sys/stat.h. |
5243c06a ST |
9936 | |
9937 | * macfns.c (syms_of_macfns): Remove definitions of things now | |
7e26f91b | 9938 | defined in image.c. |
5243c06a | 9939 | |
c0f97789 KS |
9940 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
9941 | ||
9942 | The following changes consolidates the identical/similar image | |
9943 | support code previously found in xfns.c, w32fns.c, and macfns.c | |
9944 | into a new file image.c. | |
9945 | ||
9946 | * makefile.w32-in (OBJ1): Add image.o. | |
9947 | ($(BLD)/image.$(O)): Add dependencies. | |
9948 | ||
9949 | * Makefile.in (XOBJ, MAC_OBJ): Add image.o. | |
9950 | (image.o): Add dependencies. | |
37264101 | 9951 | |
c0f97789 KS |
9952 | * image.c: New file with consolidated image support code. |
9953 | (COLOR_TABLE_SUPPORT): New define to control whether | |
9954 | color table support is available (X only). | |
9955 | (Bitmap_Record): Common name for x_bitmap_record, | |
9956 | w32_bitmap_record, and mac_bitmap_record. | |
9957 | (XImagePtr): Common name for pointer to XImage or equivalent. | |
9958 | (XImagePtr_or_DC): New type to simplify code sharing; equivalent | |
9959 | to XImagePtr on X+MAC, and to HDC on W32. | |
9960 | (GET_PIXEL): Wrapper for XGetPixel or equivalent. | |
9961 | (NO_PIXMAP): Common name for "None" or equivalent. | |
9962 | (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. | |
9963 | (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. | |
9964 | (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). | |
37264101 SM |
9965 | (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): |
9966 | Define with suitable equivalents on W32 and MAC for code sharing. | |
c0f97789 KS |
9967 | (XDrawLine): Define on MAC for code sharing. |
9968 | (Destroy_Image, Free_Pixmap): Wrappers for code sharing. | |
9969 | (IF_LIB_AVAILABLE): Macro to simplify code sharing. | |
9970 | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
9971 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
9972 | (x_reference_bitmap, x_create_bitmap_from_data) | |
9973 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
9974 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
9975 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
9976 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
9977 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
9978 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
9979 | (define_image_type, lookup_image_type, valid_image_p) | |
9980 | (image_error, enum image_value_type, struct image_keyword) | |
9981 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
9982 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
9983 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 9984 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
9985 | (make_image_cache, free_image_cache, clear_image_cache) |
9986 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
9987 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
9988 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
9989 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
9990 | (init_image_func_pointer, image_load_quartz2d) | |
9991 | (struct ct_color, init_color_table, free_color_table) | |
9992 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
9993 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
9994 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
9995 | (x_disable_image, x_build_heuristic_mask) | |
9996 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
9997 | (TIFF support, GIF support, Ghostscript support): Consolidate image | |
9998 | code from xfns.c, w32fns.c, and macfns.c. | |
9999 | (syms_of_image): Consolidate image related symbol setup here. | |
10000 | (init_image): Consolidate image related initializations here. | |
37264101 | 10001 | |
c0f97789 KS |
10002 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image |
10003 | and init_image. Remove call to init_xfns. | |
10004 | ||
37264101 SM |
10005 | * macterm.h (struct mac_bitmap_record): Add file member. |
10006 | Not currently used, but simplifies code sharing. | |
c0f97789 KS |
10007 | |
10008 | * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
10009 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
10010 | (x_reference_bitmap, x_create_bitmap_from_data) | |
10011 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
10012 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
10013 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
10014 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
10015 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
10016 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
10017 | (define_image_type, lookup_image_type, valid_image_p) | |
10018 | (image_error, enum image_value_type, struct image_keyword) | |
10019 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
10020 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
10021 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 10022 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
10023 | (make_image_cache, free_image_cache, clear_image_cache) |
10024 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
10025 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
10026 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
10027 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
10028 | (init_image_func_pointer, image_load_quartz2d) | |
10029 | (struct ct_color, init_color_table, free_color_table) | |
10030 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
10031 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
10032 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
10033 | (x_disable_image, x_build_heuristic_mask) | |
10034 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
10035 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
10036 | code from xfns.c and macfns.c into image.c. | |
10037 | (syms_of_xfns): Move image related symbols to image.c. | |
10038 | (init_external_image_libraries, init_xfns): Remove; initialization | |
10039 | moved to init_image in image.c. | |
10040 | ||
10041 | * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
10042 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
10043 | (x_reference_bitmap, x_create_bitmap_from_data) | |
10044 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
10045 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
10046 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
10047 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
10048 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
10049 | (define_image_type, lookup_image_type, valid_image_p) | |
10050 | (image_error, enum image_value_type, struct image_keyword) | |
10051 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
10052 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
10053 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 10054 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
10055 | (make_image_cache, free_image_cache, clear_image_cache) |
10056 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
10057 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
10058 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
10059 | (struct ct_color, init_color_table, free_color_table) | |
10060 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
10061 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
10062 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
10063 | (x_disable_image, x_build_heuristic_mask) | |
10064 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
10065 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
10066 | code from xfns.c and macfns.c into image.c. | |
10067 | (syms_of_xfns): Move image related symbols to image.c. | |
10068 | (init_external_image_libraries, init_xfns): Remove; initialization | |
10069 | moved to init_image in image.c. | |
10070 | ||
10071 | * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
10072 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
10073 | (x_reference_bitmap, x_create_bitmap_from_data) | |
10074 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
10075 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
10076 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
10077 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
10078 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
10079 | (define_image_type, lookup_image_type, valid_image_p) | |
10080 | (image_error, enum image_value_type, struct image_keyword) | |
10081 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
10082 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
10083 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 10084 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
10085 | (make_image_cache, free_image_cache, clear_image_cache) |
10086 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
10087 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
10088 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
10089 | (struct ct_color, init_color_table, free_color_table) | |
10090 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
10091 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
10092 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
10093 | (x_disable_image, x_build_heuristic_mask) | |
10094 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
10095 | (TIFF support, GIF support, Ghostscript support): Merge with | |
10096 | w32fns.c and macfns.c image code into image.c. | |
10097 | (syms_of_xfns): Move image related symbols to image.c. | |
10098 | (init_xfns): Remove; initialization moved to init_image in image.c. | |
10099 | ||
10100 | * lisp.h (syms_of_image, init_image): Add protoypes. | |
10101 | (init_xfns): Remove prototype. | |
10102 | ||
10103 | * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
10104 | (x_reference_bitmap, x_create_bitmap_from_data) | |
10105 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
10106 | (x_create_bitmap_mask): Move prototypes from dispextern.h. | |
10107 | (gamma_correct) [MAC_OS]: Add prototype. | |
10108 | ||
10109 | * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
10110 | (x_reference_bitmap, x_create_bitmap_from_data) | |
10111 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
10112 | (x_create_bitmap_mask): Move prototypes to dispextern.h. | |
10113 | ||
6eced09c KH |
10114 | 2004-03-09 Kenichi Handa <handa@etlken2> |
10115 | ||
10116 | * coding.c (decode_coding_emacs_mule): Handle insufficent source | |
10117 | correctly. | |
10118 | ||
9a7e95f3 RS |
10119 | 2004-03-04 Richard M. Stallman <rms@gnu.org> |
10120 | ||
04a6e76b RS |
10121 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. |
10122 | ||
9a7e95f3 RS |
10123 | * window.c (Fdisplay_buffer): Doc fix. |
10124 | ||
10125 | * buffer.c (Fpop_to_buffer): Doc fix. | |
10126 | ||
6c2488df KS |
10127 | 2004-03-03 Kim F. Storm <storm@cua.dk> |
10128 | ||
10129 | * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. | |
10130 | ||
d8d95bc7 SM |
10131 | 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca> |
10132 | ||
10133 | * editfns.c (Ftranslate_region): Lisp_Object/int mixup. | |
10134 | ||
357589bf RS |
10135 | 2004-03-02 Richard M. Stallman <rms@gnu.org> |
10136 | ||
10137 | * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. | |
10138 | ||
409949b5 KH |
10139 | 2004-03-02 Kenichi Handa <handa@m17n.org> |
10140 | ||
10141 | * doc.c (Fsubstitute_command_keys): Fix counding bytes. | |
10142 | ||
d24bc50f KS |
10143 | 2004-03-02 Kim F. Storm <storm@cua.dk> |
10144 | ||
10145 | * window.h (struct window): New member overlay_arrow_bitmap. | |
10146 | ||
10147 | * window.c (make_window): Initialize overlay_arrow_bitmap. | |
10148 | ||
10149 | * xdisp.c (Voverlay_arrow_variable_list): New variable to properly | |
10150 | implement and integrate multiple overlay arrows with redisplay. | |
10151 | (syms_of_xdisp): DEFVAR_LISP and initialize it. | |
10152 | (last_arrow_position, last_arrow_string): Replace by properties. | |
10153 | (Qlast_arrow_position, Qlast_arrow_string) | |
10154 | (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. | |
10155 | (syms_of_xdisp): Intern and staticpro them. | |
10156 | (overlay_arrow_string_or_property, update_overlay_arrows) | |
10157 | (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) | |
10158 | (overlay_arrow_at_row): New functions for multiple overlay arrows. | |
10159 | (redisplay_internal): Use them instead of directly accessing | |
10160 | Voverlay_arrow_position etc. for multiple overlay arrows. | |
10161 | (mark_window_display_accurate): Use update_overlay_arrows. | |
10162 | (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. | |
10163 | (try_window_id): Use overlay_arrows_changed_p. | |
10164 | (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. | |
10165 | (display_line): Use overlay_arrow_at_row to check multiple | |
10166 | overlay arrows, and get relevant overlay-arrow-string and | |
d8d95bc7 | 10167 | overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. |
d24bc50f KS |
10168 | (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. |
10169 | (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. | |
10170 | ||
10171 | * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. | |
10172 | (update_window_fringes): Remove unused code. | |
10173 | ||
c1464661 JR |
10174 | 2004-03-01 Jason Rumney <jasonr@gnu.org> |
10175 | ||
10176 | * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. | |
10177 | ||
a64387ee JB |
10178 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
10179 | ||
10180 | * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. | |
10181 | ||
10182 | * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. | |
10183 | ||
334faa08 JD |
10184 | 2004-03-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10185 | ||
10186 | * xfns.c (Fx_display_color_cells): Use number of planes to calculate | |
10187 | how many colors can be displayed. | |
10188 | ||
bb62616f KH |
10189 | 2004-03-01 Kenichi Handa <handa@m17n.org> |
10190 | ||
10191 | * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE | |
10192 | correctly. | |
10193 | ||
0fd16104 KS |
10194 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
10195 | ||
10196 | * dispnew.c (update_window): Update header line also if there are | |
10197 | no other changes in window (move code after set_cursor label). | |
10198 | ||
10199 | * lisp.h (mark_window_display_accurate): Remove prototype. | |
10200 | ||
10201 | * window.c (window_loop, Fforce_window_update): Force mode line | |
10202 | updates by setting prevent_redisplay_optimizations_p and | |
10203 | update_mode_lines. | |
10204 | ||
b59dd9c8 JD |
10205 | 2004-02-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10206 | ||
d8d95bc7 | 10207 | * xfns.c (x_window): Fix indentation. |
b59dd9c8 JD |
10208 | |
10209 | * xterm.c (x_calc_absolute_position): Call x_real_positions | |
10210 | to get WM window sizes and use those to calculate position. | |
d8d95bc7 | 10211 | (x_set_offset): Remove code commented out. |
b59dd9c8 | 10212 | |
a874691c MB |
10213 | 2004-02-28 Miles Bader <miles@gnu.org> |
10214 | ||
10215 | * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. | |
10216 | ||
3e0c6482 KS |
10217 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
10218 | ||
10219 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | |
10220 | an event into kbd fifo, but with special handling of quit event; | |
10221 | a quit event is saved for later, and further events are discarded | |
10222 | until the saved quit event has been processed. | |
10223 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | |
10224 | (gen_help_event): Store help event in kbd fifo. | |
10225 | (NREAD_INPUT_EVENTS): Remove. | |
10226 | (read_avail_input): Adapt to new read_socket_hook interface. | |
10227 | Remove allocation and initialization of local input_event buffer, | |
10228 | as read_socket_hook stores events directly in fifo. Allocate and | |
10229 | initialize local hold_quit event to handle postponed quit event | |
10230 | (and store it if set by kbd_buffer_store_event_hold). | |
10231 | ||
10232 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | |
10233 | (gen_help_event): Fix prototype. | |
10234 | ||
a64387ee | 10235 | * macterm.c (XTread_socket): Remove bufp_r and |
3e0c6482 | 10236 | numcharsp args. Add hold_quit arg. |
f63fd14e | 10237 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
10238 | directly in fifo using kbd_buffer_store_event_hold. |
10239 | ||
10240 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | |
10241 | (read_input_waiting): Adapt to new read_socket_hook interface. | |
10242 | Remove allocation and initialization of local input_event buffer, | |
10243 | as read_socket_hook stores events directly in fifo. Allocate and | |
10244 | initialize local hold_quit event to handle postponed quit event | |
10245 | (and store it if set by kbd_buffer_store_event_hold). | |
10246 | ||
a64387ee | 10247 | * term.c (read_socket_hook): Fix arg list. |
3e0c6482 KS |
10248 | |
10249 | * termhooks.h (read_socket_hook): Fix prototype. | |
10250 | ||
10251 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | |
10252 | numcharsp args. Add hold_quit arg. | |
f63fd14e | 10253 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
10254 | directly in fifo using kbd_buffer_store_event_hold. |
10255 | ||
10256 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | |
10257 | ||
10258 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
10259 | Add hold_quit arg. Rework to use just one, local, inev |
10260 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
10261 | kbd_buffer_store_event_hold. Update count in one place. |
10262 | Postpone call to gen_help_event until inev is stored; use new | |
10263 | local do_help for this. | |
10264 | Remove local emacs_event in handing of ButtonPress event; just use | |
10265 | inev instead (so no reason to copy it later). | |
10266 | ||
10267 | * xsmfns.c (x_session_check_input): Remove numchars arg. | |
10268 | ||
d8d95bc7 SM |
10269 | * xterm.c (x_focus_changed, x_detect_focus_change): |
10270 | Remove numchars arg. Always store event into bufp arg. | |
10271 | Return nothing. Callers changed accordingly. | |
3e0c6482 KS |
10272 | (glyph_rect): Simplify. |
10273 | (STORE_KEYSYM_FOR_DEBUG): New macro. | |
10274 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | |
10275 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | |
10276 | (current_hold_quit) [USE_GTK]: Add. | |
10277 | (event_handler_gdk): Adapt to new handle_one_xevent. | |
10278 | (handle_one_xevent): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
10279 | Add hold_quit arg. Rework to use just one, local, inev |
10280 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
10281 | kbd_buffer_store_event_hold. Update count in one place. |
10282 | Postpone call to gen_help_event until inev is stored; use new | |
10283 | local do_help for this. | |
10284 | Simplify handling of keysyms (consolidate common code). Fix bug | |
10285 | where count was updated with nchars instead of nbytes. | |
10286 | Remove local emacs_event in handing of ButtonPress event; just use | |
10287 | inev instead (so no reason to copy it later). | |
10288 | Remove `out' label. Rename label `ret' to `done'; add various | |
10289 | `goto done' to clarify code flow in deeply nested blocks. | |
10290 | (x_dispatch_event): Simplify as handle_one_xevent now calls | |
10291 | kbd_buffer_store_event itself. | |
f63fd14e | 10292 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit |
3e0c6482 KS |
10293 | arg. Call handle_one_xevent with new arglist. Store event from |
10294 | x_session_check_input in fifo. | |
10295 | [USE_GTK]: Setup current_hold_quit. | |
10296 | Decrement handling_signal before unblocking input. | |
10297 | (x_initialize) [USE_GTK]: Initialize current_count. | |
10298 | ||
10299 | * xterm.h (x_session_check_input): Fix prototype. | |
10300 | ||
e3564461 | 10301 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
a64387ee | 10302 | |
d8d95bc7 | 10303 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. |
a64387ee | 10304 | |
e3564461 ST |
10305 | * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in |
10306 | macgui.h). | |
a64387ee | 10307 | |
e3564461 | 10308 | * emacs.c (main) [HAVE_CARBON]: Call init_xfns. |
a64387ee | 10309 | |
e3564461 ST |
10310 | * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. |
10311 | (mktime, DEBUG, Z, free, malloc, realloc, max, min) | |
10312 | (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h. | |
10313 | [!MAC_OSX]: Include QDOffscreen.h and Controls.h. | |
10314 | (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. | |
10315 | (Bitmap): Remove typedef. | |
10316 | (Pixmap): Change int to GWorldPtr. | |
10317 | ||
d8d95bc7 | 10318 | * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
a64387ee | 10319 | |
d8d95bc7 SM |
10320 | * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
10321 | (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): | |
10322 | New #define to extract 16-bit depth color components from unsigned | |
e3564461 ST |
10323 | long representation. |
10324 | (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel | |
10325 | colors used for masks. | |
10326 | (struct mac_display_info): Add color_p. Remove n_cbits. | |
a64387ee | 10327 | |
e3564461 ST |
10328 | * macfns.c: Include sys/types.h and sys/stat.h. |
10329 | [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). | |
10330 | Include QuickTime/QuickTime.h. | |
10331 | (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
10332 | (XSetForeground, mac_draw_line_to_pixmap): Add externs for | |
10333 | functions defined in macterm.c. | |
10334 | (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. | |
10335 | (ZPixmap): New #define for compatibility with xfns.c. | |
10336 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
10337 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
d8d95bc7 SM |
10338 | (find_image_fsspec, image_load_qt_1, image_load_quicktime): |
10339 | New functions. | |
e3564461 | 10340 | (four_corners_best, x_create_x_image_and_pixmap) |
d8d95bc7 SM |
10341 | (x_destroy_x_image, unwind_create_frame, x_disable_image) |
10342 | (x_edge_detection, init_color_table, colors_in_color_table) | |
e3564461 ST |
10343 | (lookup_rgb_color, lookup_pixel_color, postprocess_image) |
10344 | (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) | |
10345 | (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) | |
10346 | (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). | |
10347 | (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned | |
10348 | long mixup. | |
10349 | (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. | |
10350 | (x_decode_color): Don't use n_cbits (in struct mac_display_info). | |
10351 | (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. | |
10352 | (x_set_cursor_type, Fxw_color_values, valid_image_p) | |
10353 | (image_value_type, parse_image_spec, image_ascent, x_clear_image) | |
10354 | (x_alloc_image_color, clear_image_cache, lookup_image) | |
10355 | (x_find_image_file, xbm_read_bitmap_file_data) | |
10356 | (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) | |
10357 | (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) | |
10358 | (enum pbm_keyword_index, pbm_format, enum png_keyword_index) | |
10359 | (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) | |
10360 | (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) | |
d8d95bc7 | 10361 | (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. |
e3564461 ST |
10362 | (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with |
10363 | #if 0. | |
10364 | (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with | |
10365 | #if 0. Free white_relief.gc and black_relief.gc. | |
d8d95bc7 SM |
10366 | (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): |
10367 | New functions (from xfns.c). | |
e3564461 ST |
10368 | (Fx_create_frame): Record unwind_create_frame. |
10369 | (Fxw_display_color_p): Use dpyinfo->color_p. | |
10370 | (Fx_display_grayscale_p, Fx_display_planes): Don't use | |
10371 | dpyinfo->n_cbits. | |
10372 | (Fx_display_color_cells): Use dpyinfo->n_planes; | |
10373 | (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) | |
10374 | (Qheuristic, cross_disabled_images, emboss_matrix) | |
10375 | (laplace_matrix): New variables (from xfns.c). | |
10376 | (Fimage_size, Fimage_mask_p, four_corners_best, image_background) | |
10377 | (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) | |
10378 | (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) | |
d8d95bc7 SM |
10379 | (image_background_transparent): New function (from xfns.c). |
10380 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
10381 | (image_load_quicktime): Add declaration. |
10382 | [MAC_OSX] (image_load_quartz2d): Likewise. | |
10383 | [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. | |
10384 | [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. | |
d8d95bc7 | 10385 | [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. |
e3564461 ST |
10386 | (xbm_load_image_from_file, x_laplace_read_row) |
10387 | (x_laplace_write_row, pbm_read_file): Remove functions. | |
10388 | [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) | |
10389 | (xpm_load): Sync with xfns.c (although XPM is not supported yet). | |
10390 | (colors_in_color_table): Sync with xfns.c (although not used). | |
10391 | (lookup_rgb_color): Don't lookup color table. Just do gamma | |
10392 | correction. | |
10393 | (COLOR_INTENSITY): New #define (from xfns.c). | |
d8d95bc7 SM |
10394 | (x_disable_image): New function (from xfns.c). |
10395 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
10396 | (x_build_heuristic_mask): Sync with xfns.c. | |
10397 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
10398 | (HAVE_PBM): Remove #ifdef. |
10399 | (pbm_load): Sync with xfns.c. Set img->width and img->height | |
10400 | before IMAGE_BACKGROUND. | |
d8d95bc7 | 10401 | (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. |
e3564461 ST |
10402 | (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): |
10403 | Don't enclose with #if HAVE_PNG. | |
10404 | [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a | |
d8d95bc7 SM |
10405 | symbol _CGImageCreateWithPNGDataProvider is defined. |
10406 | Otherwise use image_load_quicktime. | |
e3564461 | 10407 | [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. |
d8d95bc7 SM |
10408 | [HAVE_PNG] (png_load): Sync with xfns.c. |
10409 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
10410 | (jpeg_image_p, jpeg_load): Don't enclose declarations with #if |
10411 | HAVE_JPEG. | |
10412 | (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) | |
10413 | (jpeg_image_p): Don't enclose with #if HAVE_JPEG. | |
10414 | [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. | |
10415 | [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. | |
10416 | [HAVE_JPEG] (jpeg_load): Sync with xfns.c. | |
10417 | (tiff_image_p, tiff_load): Don't enclose declarations with #if | |
10418 | HAVE_TIFF. | |
10419 | (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) | |
10420 | (tiff_image_p): Don't enclose with #if HAVE_TIFF. | |
10421 | [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. | |
d8d95bc7 SM |
10422 | [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): |
10423 | New functions (from xfns.c). | |
e3564461 | 10424 | [HAVE_TIFF] (tiff_load): Sync with xfns.c. |
d8d95bc7 | 10425 | (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. |
e3564461 ST |
10426 | (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): |
10427 | Don't enclose with #if HAVE_GIF. | |
10428 | [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is | |
10429 | animated gif. Otherwise use image_load_quicktime. | |
10430 | [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as | |
10431 | gif_DrawText to avoid conflict with QuickdrawText.h. | |
10432 | [HAVE_GIF] (gif_load): Sync with xfns.c. | |
10433 | (enum gs_keyword_index, gs_format, gs_image_p, gs_load) | |
10434 | [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although | |
10435 | Ghostscript is not supported yet). | |
10436 | (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, | |
10437 | QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL | |
10438 | cross_disabled_images (from xfns.c). Remove #if 0 for supported | |
10439 | image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
10440 | HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. | |
10441 | (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
d8d95bc7 SM |
10442 | HAVE_PNG. Call EnterMovies to support animated gifs. |
10443 | Call init_image_func_pointer to bind a symbol | |
e3564461 | 10444 | _CGImageCreateWithPNGDataProvider if it is defined. |
a64387ee | 10445 | |
d8d95bc7 | 10446 | * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
e3564461 ST |
10447 | (x_draw_bar_cursor): Sync declaration with xterm.c. |
10448 | (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) | |
10449 | (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen | |
10450 | graphics). | |
10451 | (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. | |
10452 | (mac_draw_line_to_pixmap, XCreatePixmap) | |
10453 | (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) | |
d8d95bc7 SM |
10454 | (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): |
10455 | New functions. | |
10456 | (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: | |
10457 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
10458 | Cast bits to char *. | |
e3564461 ST |
10459 | (reflect_byte): New function (from w32fns.c). |
10460 | (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits | |
10461 | due to byte alignment. | |
d8d95bc7 SM |
10462 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: |
10463 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
e3564461 ST |
10464 | (XSetForeground): Remove static (now used in macfns.c). |
10465 | (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). | |
10466 | (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. | |
10467 | (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) | |
10468 | (x_draw_glyph_string_box, x_draw_image_foreground) | |
10469 | (x_draw_image_foreground_1, x_draw_image_glyph_string) | |
10470 | (x_draw_stretch_glyph_string, x_draw_glyph_string) | |
10471 | (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): | |
10472 | Sync with xterm.c. | |
10473 | (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter | |
10474 | than the xterm.c version when a strictly horizontal or vertical | |
10475 | line is drawn. | |
10476 | (XTset_terminal_window): Add static. | |
10477 | (x_make_frame_visible): Add UNBLOCK_INPUT. | |
10478 | (x_free_frame_resources): New funcion (from xterm.c). | |
10479 | (XTread_socket): Call handle_tool_bar_click if mouse up/down event | |
10480 | occurs in tool bar area. | |
d8d95bc7 SM |
10481 | (mac_initialize_display_info): Remove dpyinfo->n_cbits. |
10482 | Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. | |
e3564461 ST |
10483 | Initialize image cache. |
10484 | (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): | |
10485 | Enclose unused functions with #if 0. | |
10486 | (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. | |
10487 | (decode_mac_font_name): New function to apply code conversions | |
d8d95bc7 | 10488 | from a mac font name to an XLFD font name according to its script code. |
e3564461 | 10489 | (x_font_name_to_mac_font_name): Apply code conversion from an XLFD |
d8d95bc7 | 10490 | font name to a mac font name according to REGISTRY and ENCODING fields. |
e3564461 ST |
10491 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font |
10492 | whose name starts with `.'. | |
10493 | (init_font_name_table): Use decode_mac_font_name. Add both | |
10494 | jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code | |
10495 | of a font is smJapanese. | |
10496 | (mac_do_list_fonts): New function to list fonts that match a given | |
10497 | pattern. | |
10498 | (x_list_fonts, XLoadQueryFont): Use it. | |
10499 | (XLoadQueryFont): Set rbearing field for each variable width | |
10500 | character to avoid needless redraw. | |
10501 | (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. | |
10502 | ||
446f5f3d KS |
10503 | 2004-02-26 Kim F. Storm <storm@cua.dk> |
10504 | ||
af617d0f KS |
10505 | * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 |
10506 | as read_socket_hook handler on X aborts if buffer is too small | |
10507 | and W32 handler doesn't always check buffer limit. | |
10508 | ||
446f5f3d KS |
10509 | * xdisp.c (handle_single_display_prop): Handle left-fringe and |
10510 | right-fringe similar to a display margin image. Specifically, | |
10511 | the characters having the fringe prop are no longer shown, and | |
10512 | we use IT_IMAGE/next_element_from_image with image_id = -1 to | |
10513 | do this. Set fringe bitmap face_id in it->face_id. | |
10514 | (produce_image_glyph): Handle image_id < 0 as "no image" case, but | |
10515 | still realize it->face (i.e. the fringe bitmap face). | |
10516 | ||
7d8a0b55 MB |
10517 | 2004-02-25 Miles Bader <miles@gnu.org> |
10518 | ||
10519 | * xdisp.c (check_it): Check string/string_pos consistency. | |
10520 | (init_iterator): Initialize string-related fields properly. | |
10521 | ||
10522 | 2004-02-11 Miles Bader <miles@gnu.org> | |
10523 | ||
10524 | * xdisp.c (produce_image_glyph): Force negative descents to zero. | |
10525 | ||
10526 | 2004-02-10 Miles Bader <miles@gnu.org> | |
10527 | ||
10528 | * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); | |
10529 | BLOCK_INPUT can be nested, so it doesn't make much sense. | |
10530 | ||
a64387ee | 10531 | 2004-02-24 Michael Mauger <mmaug@yahoo.com> |
ce35edd1 JR |
10532 | |
10533 | * w32fns.c (slurp_file, xbm_scan, xbm_load_image) | |
10534 | (xbm_read_bitmap_data): Use unsigned char for image data. | |
10535 | ||
92f5fba2 LT |
10536 | 2004-02-23 Luc Teirlinck <teirllm@auburn.edu> |
10537 | ||
10538 | * abbrev.c (Finsert_abbrev_table_description): Doc fix. | |
10539 | ||
8565fb3d JR |
10540 | 2004-02-22 Jason Rumney <jasonr@gnu.org> |
10541 | ||
10542 | * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps | |
10543 | correctly over other bitmaps. | |
10544 | ||
a6eeaa81 | 10545 | 2004-02-21 Eli Zaretskii <eliz@gnu.org> |
f8125c39 EZ |
10546 | |
10547 | * emacs.c (USAGE1): Split into two halves. | |
10548 | (USAGE2): Second half of the old USAGE1. | |
d8d95bc7 SM |
10549 | (USAGE3): Rename from USAGE2. |
10550 | (USAGE4): Rename from USAGE3. | |
f8125c39 | 10551 | |
4effffca EZ |
10552 | 2004-02-21 Juri Linkov <juri@jurta.org> |
10553 | ||
10554 | * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. | |
10555 | Fix --multibyte. Move --help, --version to USAGE2. Add alias | |
10556 | --file. Fix -f, -l. Sort options. Untabify. | |
10557 | (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. | |
10558 | ||
923c1e6f LT |
10559 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> |
10560 | ||
10561 | * category.c (Fdefine_category, Fcategory_docstring) | |
10562 | (Fget_unused_category, Fset_category_table) | |
10563 | (Fcategory_set_mnemonics): Doc fixes. | |
10564 | ||
b0e225fd KS |
10565 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
10566 | ||
10567 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | |
10568 | The following changes are relative to the 2004-01-21 revision. | |
10569 | (NREAD_INPUT_EVENTS): Define as max number of input events to read | |
10570 | in one call to read_socket_hook. Value is 8. | |
10571 | (read_avail_input): Separate and rework handling of read_socket_hook | |
10572 | and non-read_socket_hook cases. Use smaller input_event buffer | |
d8d95bc7 SM |
10573 | in read_socket_hook case, and repeat if full buffer is read. |
10574 | Use new local variable 'discard' to skip input after C-g. | |
b0e225fd KS |
10575 | In non-read_socket_hook case, just use a single input_event, and |
10576 | call kbd_buffer_store_event on the fly for each character. | |
10577 | ||
b15aa9f9 SM |
10578 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
10579 | ||
10580 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | |
10581 | Remove unused `gu' alternative. | |
10582 | ||
83c9aa95 AS |
10583 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
10584 | ||
10585 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | |
10586 | warning. | |
10587 | ||
cc808173 KS |
10588 | 2004-02-18 Kim F. Storm <storm@cua.dk> |
10589 | ||
10590 | * xdisp.c (get_window_cursor_type, display_and_set_cursor): | |
10591 | Fix last change. | |
10592 | ||
ab90a54d KS |
10593 | 2004-02-17 Kim F. Storm <storm@cua.dk> |
10594 | ||
b26f249f KS |
10595 | * xdisp.c (fast_find_position): Fix return value of new version; |
10596 | it was inverted compared to the 21.1 version. | |
10597 | (get_window_cursor_type): Don't look at glyph if NULL. | |
10598 | (display_and_set_cursor): Set glyph to NULL if cursor in fringe. | |
0bf7d005 | 10599 | |
ab90a54d KS |
10600 | * keyboard.c: Rework previous change; it didn't consider that the |
10601 | buf array was allocated on the stack. | |
10602 | (prev_read): Remove variable. | |
10603 | (read_avail_input_buf): New static event buffer array. | |
b9568dfc | 10604 | (in_read_avail_input): New static variable to handle re-entrancy. |
ab90a54d | 10605 | (read_avail_input): Change buf to pinter to read_avail_input_buf. |
b9568dfc KS |
10606 | Use in_read_avail_input to handle re-entrance; when re-entered, |
10607 | fully initialize and use tmp_buf array instead of read_avail_input_buf. | |
10608 | Do not initialize read_avail_input_buf in full here; instead assume it | |
ab90a54d KS |
10609 | is always cleared on entry. To ensure that, we clear (just) the |
10610 | entries that were used before we return. | |
10611 | (init_keyboard): Initialize read_avail_input_buf here. | |
10612 | ||
b6189c3b | 10613 | 2004-02-16 Jesper Harder <harder@ifa.au.dk> |
4e039f3f EZ |
10614 | |
10615 | * cmds.c (Fend_of_line): Doc fix. | |
10616 | ||
7b5368c1 EZ |
10617 | 2004-02-16 Dmitry Antipov <dmitry.antipov@mail.ru> (tiny change) |
10618 | ||
10619 | * keyboard.c (prev_read): New static variable. | |
10620 | (read_avail_input): Use it to zero out only those slots in buf[] | |
10621 | that were used last time we were called. | |
10622 | ||
a6eeaa81 | 10623 | 2004-02-16 Eli Zaretskii <eliz@gnu.org> |
ca4bc494 EZ |
10624 | |
10625 | * Makefile.in (obj): Move fringe.o from here... | |
10626 | (XOBJ, MAC_OBJ): ...to here. | |
10627 | ||
159c348e SE |
10628 | 2004-02-16 Stephen Eglen <stephen@gnu.org> |
10629 | ||
10630 | * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. | |
10631 | ||
d2f14999 SM |
10632 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
10633 | ||
b15aa9f9 SM |
10634 | * data.c (Fbyteorder): |
10635 | * fringe.c (Fdefine_fringe_bitmap): | |
10636 | * xdisp.c (handle_single_display_prop): | |
d2f14999 SM |
10637 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
10638 | ||
8d50508a JR |
10639 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
10640 | ||
10641 | * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. | |
10642 | ||
dd4497dc ST |
10643 | 2004-02-15 Steven Tamm <steventamm@mac.com> |
10644 | ||
10645 | * macterm.c (Vmac_emulate_three_button_mouse): New variable for | |
10646 | controlling emulation of a three button mouse with option and | |
10647 | command keys. | |
7e26f91b | 10648 | (Qreverse, mac_get_enumlated_btn): Handle the emulation. |
b15aa9f9 | 10649 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
dd4497dc | 10650 | |
c9159cb3 KS |
10651 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
10652 | ||
2cc52658 KS |
10653 | * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. |
10654 | ||
c9159cb3 KS |
10655 | * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: |
10656 | Perform byte-swapping. | |
10657 | ||
12fde2dc KS |
10658 | 2004-02-14 Kim F. Storm <storm@cua.dk> |
10659 | ||
10660 | * dispextern.h (struct draw_fringe_bitmap_params): Change member | |
10661 | bits from char to short to facilitate wider bitmaps. | |
10662 | (struct redisplay_interface): Fix prototype of define_fringe_bitmap | |
10663 | member. | |
10664 | ||
10665 | * fringe.c (struct fringe_bitmap): Change member bits from char to | |
10666 | short to facilitate 16 bits wide bitmaps. Modify all standard | |
10667 | bitmaps accordingly. | |
10668 | (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. | |
10669 | (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. | |
10670 | (draw_fringe_bitmap): Ditto. | |
10671 | (init_fringe_bitmap) [MAC_OS]: Don't bitswap. | |
10672 | (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to | |
10673 | handle up to 16 bits wide bitmaps. | |
10674 | (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. | |
f21a7192 | 10675 | (Ffringe_bitmaps_at_pos): Add missing arg declarations. |
12fde2dc KS |
10676 | |
10677 | * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. | |
10678 | (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer | |
10679 | need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. | |
10680 | ||
10681 | * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, | |
10682 | so it is no longer necessary to expand them here. | |
10683 | ||
10684 | * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). | |
10685 | ||
9d7271e8 KS |
10686 | 2004-02-12 Kim F. Storm <storm@cua.dk> |
10687 | ||
10688 | * window.c (Fwindow_fringes): Doc fix. | |
10689 | ||
706c1e4f JD |
10690 | 2004-02-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10691 | ||
10692 | * xselect.c (x_get_foreign_selection): Add new optional parameter | |
10693 | time_stamp. | |
10694 | (Fx_get_selection_internal): Ditto, pass time_stamp to | |
10695 | x_get_foreign_selection. | |
10696 | ||
10697 | * data.c (Fbyteorder): New function. | |
10698 | ||
c2d12b5d JD |
10699 | 2004-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10700 | ||
10701 | * atimer.c: Move include stdio.h to same place as in other files. | |
10702 | ||
10703 | * region-cache.c: Ditto. | |
10704 | ||
10705 | * sysdep.c: Ditto. | |
10706 | ||
10707 | * xfaces.c: Ditto. | |
10708 | ||
4c1947b9 SS |
10709 | 2004-02-09 Sam Steingold <sds@gnu.org> |
10710 | ||
89458937 | 10711 | * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. |
4c1947b9 | 10712 | |
82722af3 KS |
10713 | 2004-02-09 Kim F. Storm <storm@cua.dk> |
10714 | ||
10715 | * fringe.c: New file. Move original fringe related declarations | |
10716 | and code from dispextern.h and xdisp.c here. | |
10717 | Rework code to support user defined fringe bitmaps, redefining | |
10718 | standard bitmaps, ability to overlay user defined bitmap with | |
10719 | overlay arrow bitmap, and add faces to bitmaps. | |
10720 | (Voverflow_newline_into_fringe): Declare here. | |
10721 | (enum fringe_bitmap_align): New enum. | |
10722 | (..._bits): All bitmaps are now defined without bitswapping; that | |
10723 | is now done in init_fringe_once (if necessary). | |
10724 | (standard_bitmaps): New array with specifications for the | |
10725 | standard fringe bitmaps. | |
10726 | (fringe_faces): New array. | |
10727 | (valid_fringe_bitmap_id_p): New function. | |
10728 | (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
10729 | (draw_fringe_bitmap): New function which draws fringe bitmap, | |
10730 | possibly overlaying bitmap with cursor in right fringe or the | |
10731 | overlay arrow in the left fringe. | |
10732 | (update_window_fringes): Do not handle overlay arrow here. | |
10733 | Compare and copy fringe bitmap faces. | |
10734 | (init_fringe_bitmap): New function. | |
10735 | (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
10736 | define and destroy user defined fringe bitmaps. | |
10737 | (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
10738 | (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
10739 | (syms_of_fringe): New function. Defsubr new DEFUNs. | |
10740 | DEFVAR_LISP Voverflow_newline_into_fringe. | |
10741 | (init_fringe_once, init_fringe): New functions. | |
10742 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
4c1947b9 | 10743 | |
82722af3 KS |
10744 | * Makefile.in (obj): Add fringe.o. |
10745 | (fringe.o): New dependencies. | |
10746 | ||
10747 | * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
10748 | bits allocated to hold a fringe number. Increase number of bits | |
10749 | from 4 to 8 to allow user defined fringe bitmaps. | |
10750 | (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
10751 | left_user_fringe_face_id, right_user_fringe_bitmap, | |
10752 | right_user_fringe_face_id. | |
10753 | (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
10754 | Move to new file fringe.c. | |
10755 | (MAX_FRINGE_BITMAPS): Define here. | |
10756 | (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
10757 | and overlay_p. Change member which to int. | |
10758 | (struct redisplay_interface): New members define_fringe_bitmap | |
10759 | and destroy_fringe_bitmap. | |
10760 | (valid_fringe_bitmap_id_p): Add prototype. | |
10761 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
10762 | ||
10763 | * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
10764 | arrows. | |
10765 | (update_frame): Do flush_display if force_flush_display_p to | |
10766 | ensure display (specifically fringes) are updated in a timely | |
10767 | manner when resizing the frame by dragging the mouse. | |
10768 | (update_window_line): Update row if overlay arrow changed. | |
10769 | (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
10770 | or overlay arrow changed. | |
10771 | ||
10772 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
10773 | syms_of_fringe, and init_fringe. | |
10774 | ||
10775 | * frame.h (struct frame): New member force_flush_display_p. | |
10776 | ||
10777 | * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
10778 | Add prototypes. | |
10779 | ||
a3993cc8 | 10780 | * macterm.c (mac_draw_bitmap): Add overlay_p arg. |
a64387ee | 10781 | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; |
a3993cc8 KS |
10782 | thanks to YAMAMOTO Mitsuharu for advice on how to do this. |
10783 | Use cursor color for displaying cursor in fringe. | |
82722af3 KS |
10784 | (x_redisplay_interface): Add null handlers for |
10785 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
10786 | ||
10787 | * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
10788 | xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
10789 | for displaying cursor in fringe. | |
10790 | (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
10791 | specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
10792 | (w32_redisplay_interface): Add them to redisplay_interface. | |
10793 | (w32_term_init): Call w32_init_fringe instead of explicitly | |
10794 | defining fringe bitmaps in fringe_bmp array. | |
10795 | (x_delete_display): Call w32_reset_fringes instead of explicitly | |
10796 | destroying fringe bitmaps in fringe_bmp array. | |
10797 | ||
10798 | * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
10799 | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
10800 | (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
10801 | (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
10802 | (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
10803 | (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
10804 | (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
10805 | Move fringe handling vars and code to new file fringe.c. | |
10806 | (handle_display_prop): Handle left-fringe and right-fringe | |
10807 | display properties; store user fringe bitmaps in iterator. | |
10808 | (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
10809 | (clear_garbaged_frames): Set force_flush_display_p if resized. | |
10810 | (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
10811 | (display_line): Handle cursor in fringe at eob. | |
10812 | (display_line): Set row user fringe bitmaps from iterator. | |
10813 | ||
10814 | * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
10815 | Use cursor color for displaying cursor in fringe. | |
10816 | (x_redisplay_interface): Add null handlers for | |
10817 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
10818 | ||
030400eb JD |
10819 | 2004-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10820 | ||
10821 | * macfns.c (Fx_change_window_property): Make doc string and | |
10822 | parameters same as for X version. | |
10823 | ||
10824 | * w32fns.c (Fx_change_window_property): Ditto. | |
10825 | ||
3af55251 KS |
10826 | 2004-02-07 Kim F. Storm <storm@cua.dk> |
10827 | ||
ec110e9e KS |
10828 | * xdisp.c (hscroll_window_tree): Position cursor near to right |
10829 | margin in hscrolled window when jumping to end of line (rather | |
10830 | than centering cursor). | |
10831 | ||
3af55251 KS |
10832 | * process.c (wait_reading_process_input): Don't do adaptive read |
10833 | buffering if waiting for a specific process. | |
10834 | ||
b0c138ce LT |
10835 | 2004-02-05 Luc Teirlinck <teirllm@auburn.edu> |
10836 | ||
10837 | * minibuf.c (Fminibufferp, Fread_from_minibuffer) | |
10838 | (Fread_minibuffer, Feval_minibuffer) | |
10839 | (Fread_string, Fread_no_blanks_input) | |
10840 | (Fcompleting_read): Doc fixes. | |
10841 | (syms_of_minibuf): Doc fixes for minibuffer-completion-table and | |
10842 | completion-regexp-list. Define Qcase_fold_search and staticpro it. | |
10843 | (read_minibuf): Fix initial comment. | |
10844 | (Ftry_completion, Fall_completions, Ftest_completion): Bind | |
e8eeaed8 | 10845 | case-fold-search to the value of completion-ignore-case when |
b0c138ce LT |
10846 | checking completion-regexp-list. |
10847 | (Fdisplay_completion_list): Make it handle arguments that are | |
10848 | symbols. Doc fix. | |
10849 | ||
9676f5ad | 10850 | 2004-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
64d1e373 | 10851 | |
9676f5ad | 10852 | * xterm.h: Add declaration of free_frame_menubar. |
64d1e373 | 10853 | |
9676f5ad JD |
10854 | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. |
10855 | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. | |
b0c138ce | 10856 | (Fx_change_window_property): Add declaration of parameters type and |
9676f5ad | 10857 | format. Remove unused variable cons. |
5b698285 | 10858 | |
9dd28cae | 10859 | * xselect.c: Include stdio.h. |
5b698285 | 10860 | |
fc1d15f6 KH |
10861 | 2004-02-05 Kenichi Handa <handa@m17n.org> |
10862 | ||
ebaff4af KH |
10863 | * fns.c (Fset_char_table_range): Fix previous change. |
10864 | ||
fc1d15f6 KH |
10865 | * buffer.c (Fset_buffer_multibyte): Fix docstring. |
10866 | ||
9676f5ad JD |
10867 | 2004-02-04 Luc Teirlinck <teirllm@auburn.edu> |
10868 | ||
10869 | * editfns.c (Fchar_after, Fchar_before): Doc fixes. | |
10870 | ||
da75761f SM |
10871 | 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca> |
10872 | ||
10873 | * keymap.c (Vmouse_events): Rename from Vmenu_events. | |
10874 | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. | |
10875 | ||
13c5d120 KH |
10876 | 2004-02-04 Kenichi Handa <handa@m17n.org> |
10877 | ||
10878 | * fns.c (Fset_char_table_range): Handle charsets ascii, | |
10879 | eight-bit-control, and eight-bit-graphic correctly. | |
10880 | ||
2883d842 JR |
10881 | 2004-02-03 Jason Rumney <jasonr@gnu.org> |
10882 | ||
10883 | * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. | |
10884 | ||
10885 | * w32fns.c (x_to_w32_font): Likewise. | |
10886 | ||
69eff41f JD |
10887 | 2004-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10888 | ||
10889 | * xterm.h: Add x_handle_dnd_message, x_check_property_data, | |
10890 | x_fill_property_data, x_property_data_to_lisp and check_x_display_info. | |
10891 | ||
10892 | * xterm.c (handle_one_xevent): Call x_handle_dnd_message for | |
10893 | ClientMessages. | |
10894 | ||
10895 | * xselect.c: Include termhooks.h and X11/Xproto.h | |
10896 | (x_check_property_data, x_fill_property_data) | |
10897 | (x_property_data_to_lisp, mouse_position_for_drop) | |
10898 | (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. | |
da75761f | 10899 | (Fx_send_client_event): Move here from xfns.c. |
69eff41f JD |
10900 | (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. |
10901 | ||
da75761f | 10902 | * xfns.c (x-send-client-message): Move to xselect.c |
69eff41f JD |
10903 | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and |
10904 | OUTER_P. | |
10905 | (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, | |
10906 | VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp | |
10907 | if vector_ret_p is true. | |
10908 | (syms_of_xfns): Sx_send_client_message moved to xselect.c. | |
69eff41f | 10909 | |
a6eeaa81 | 10910 | 2004-02-02 Eli Zaretskii <eliz@gnu.org> |
dcdbbb5d EZ |
10911 | |
10912 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | |
10913 | basename of FILE relative to it, not FILE itself. | |
10914 | ||
09721b31 KH |
10915 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
10916 | ||
10917 | * coding.c (coding_restore_composition): Check invalid | |
10918 | composition data more rigidly. | |
10919 | ||
eb996101 LT |
10920 | 2004-01-30 Luc Teirlinck <teirllm@auburn.edu> |
10921 | ||
10922 | * fileio.c (Fread_file_name_internal): Correctly handle the case | |
10923 | where insert-default-directory is nil. | |
10924 | (Fread_file_name): Always return an empty string if the user exits | |
10925 | with an empty minibuffer. Adapt the docstring accordingly. | |
10926 | (syms_of_fileio): Adapt the docstring of insert-default-directory | |
10927 | to the change in Fread_file_name. | |
10928 | ||
a6eeaa81 | 10929 | 2004-01-29 Eli Zaretskii <eliz@gnu.org> |
a0367d42 EZ |
10930 | |
10931 | * alloca.c [!alloca]: Fix the prototype for xfree. | |
10932 | ||
13f52ed8 KH |
10933 | 2004-01-29 Kenichi Handa <handa@m17n.org> |
10934 | ||
10935 | * fns.c (string_char_to_byte): Optimize for ASCII only string. | |
10936 | (string_byte_to_char): Likewise. | |
10937 | ||
d57625a0 JR |
10938 | 2004-01-28 Peter Runestig <peter@runestig.com> |
10939 | ||
10940 | * makefile.w32-in, w32fns.c: Add `default-printer-name' function. | |
10941 | ||
a64387ee | 10942 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
911c78b4 ST |
10943 | |
10944 | * unexmacosx.c (unexec_copy): Do not copy more than was | |
10945 | requested to prevent overwriting during unexec. | |
10946 | ||
eb37b8fd JD |
10947 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10948 | ||
ce38070a JD |
10949 | * process.c (sigchld_handler): Add comment about not calling malloc. |
10950 | ||
eb37b8fd JD |
10951 | * process.h: Add extern to synch_process_termsig. |
10952 | ||
a64387ee | 10953 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
21a3e657 | 10954 | |
da75761f SM |
10955 | * macterm.c (make_mac_frame, make_mac_terminal_frame): |
10956 | Move setting of scroll bars from make_mac_frame to | |
10957 | make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. | |
21a3e657 | 10958 | |
d62a265d RS |
10959 | 2004-01-26 Richard M. Stallman <rms@gnu.org> |
10960 | ||
10961 | * search.c (Freplace_match): Handle nonexistent | |
10962 | back-references properly. | |
10963 | ||
10964 | 2004-01-03 Richard M. Stallman <rms@gnu.org> | |
10965 | ||
10966 | * window.c (decode_any_window): New function. | |
10967 | (Fwindow_height, Fwindow_width, Fwindow_edges) | |
10968 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
10969 | (Fwindow_inside_pixel_edges): Use decode_any_window. | |
10970 | ||
ff236419 JD |
10971 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10972 | ||
10973 | * process.h: synch_process_termsig new variable. | |
10974 | ||
10975 | * callproc.c: Define synch_process_termsig. | |
10976 | (Fcall_process): Initiate synch_process_termsig to zero and | |
10977 | check if non-zero and get signal name after subprocess has ended. | |
10978 | ||
10979 | * process.c (sigchld_handler): Set synch_process_termsig | |
10980 | if terminated by a signal. synch_process_death setting removed. | |
10981 | ||
10982 | * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. | |
10983 | ||
41b867ea AS |
10984 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
10985 | ||
10986 | * print.c (print_preprocess): Declare size as EMACS_INT to not | |
10987 | lose bits. | |
10988 | (print_object): Likewise. | |
10989 | * alloc.c (Fpurecopy): Likewise. | |
10990 | ||
a08084ff LT |
10991 | 2004-01-25 Luc Teirlinck <teirllm@auburn.edu> |
10992 | ||
10993 | * window.c (Fwindow_minibuffer_p): Doc fix. | |
10994 | ||
b19ac475 JY |
10995 | 2004-01-24 Jonathan Yavner <jyavner@member.fsf.org> |
10996 | ||
10997 | * editfns.c (Fformat): Make both passes accept the same set of flags. | |
10998 | ||
fe905025 KH |
10999 | 2004-01-23 Kenichi Handa <handa@m17n.org> |
11000 | ||
11001 | * fns.c (Fmd5): If OBJECT is a buffer different from the current | |
11002 | one, set buffer to OBJECT temporarily. | |
11003 | ||
438fc6c0 SM |
11004 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
11005 | ||
455316e2 SM |
11006 | * keyboard.c (kbd_buffer_gcpro): Remove. |
11007 | (kbd_buffer_store_event, clear_event, Fdiscard_input) | |
11008 | (stuff_buffered_input, init_keyboard, syms_of_keyboard): | |
11009 | Don't initialize and/or maintain the variable any more. It was made | |
11010 | redundant by my commit of 2003-06-15. | |
11011 | ||
438fc6c0 SM |
11012 | * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. |
11013 | ||
5335a4ee JD |
11014 | 2004-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11015 | ||
11016 | * lisp.h: Add undef DECL_ALIGN. | |
11017 | ||
dcdaeebc SM |
11018 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
11019 | ||
11020 | * process.c (wait_reading_process_input) [SYNC_INPUT]: | |
11021 | Check interrupt_input_pending explicitly. | |
11022 | ||
11023 | * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. | |
11024 | ||
11025 | * keyboard.c (handle_async_input): New fun, | |
11026 | extracted from input_available_signal. | |
11027 | (input_available_signal, reinvoke_input_signal): Use it. | |
11028 | ||
9076a823 SM |
11029 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
11030 | ||
d7107586 SM |
11031 | * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. |
11032 | ||
11033 | * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value | |
11034 | manipulation macros for when tags are in the lower bits. | |
11035 | (struct Lisp_Free) [USE_LSB_TAG]: Add padding. | |
11036 | (DECL_ALIGN): New macro. | |
11037 | (DEFUN): Use it. | |
11038 | ||
11039 | * lisp.h [ENABLE_CHECKING]: Don't force union type. | |
11040 | ||
11041 | * s/darwin.h (__attribute__): Remove outdated workaround. | |
11042 | ||
11043 | * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. | |
11044 | ||
11045 | * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: | |
11046 | Don't check range of malloc address. | |
11047 | (pure_alloc) [USE_LSB_TAG]: Enforce alignment. | |
11048 | ||
9076a823 SM |
11049 | * process.c (wait_reading_process_input): Lisp_Object/int mixup. |
11050 | ||
11051 | * dired.c (Ffile_attributes): Lisp_Object/int mixup. | |
11052 | ||
ba029065 KH |
11053 | 2004-01-19 Kenichi Handa <handa@m17n.org> |
11054 | ||
11055 | * fontset.c (fontset_font_pattern): Fix previous change. | |
11056 | ||
7af0e8d7 MB |
11057 | 2004-01-16 Miles Bader <miles@gnu.ai.mit.edu> |
11058 | ||
11059 | * xdisp.c (Voverflow_newline_into_fringe) | |
11060 | (move_it_in_display_line_to, redisplay_internal) | |
11061 | (update_window_fringes, redisplay_window, display_line, window): | |
11062 | Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so | |
11063 | that it compiles without a window-system. | |
11064 | * dispnew.c (direct_output_for_insert, update_window): Likewise. | |
11065 | ||
77a9cf69 KS |
11066 | 2004-01-16 Kim F. Storm <storm@cua.dk> |
11067 | ||
11068 | * buffer.h (struct buffer): New member indicate_buffer_boundaries. | |
11069 | ||
a64387ee | 11070 | * buffer.c (init_buffer_once): Set buffer_defaults and |
77a9cf69 KS |
11071 | buffer_local_flags for indicate_buffer_boundaries. |
11072 | (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro | |
11073 | default- variable for it. | |
11074 | ||
11075 | * dispextern.h (struct glyph_row): New members left_fringe_bitmap, | |
11076 | right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. | |
d7107586 | 11077 | New members exact_window_width_line_p and cursor_in_fringe_p for |
77a9cf69 KS |
11078 | overflowing newlines into right fringe. |
11079 | New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, | |
11080 | and indicate_bottom_line_p for buffer boundaries and scrolling. | |
11081 | (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, | |
11082 | FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, | |
11083 | HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, | |
11084 | and HOLLOW_SQUARE_BITMAP. | |
11085 | (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): | |
11086 | Add prototypes. | |
11087 | ||
11088 | * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps | |
11089 | instead of related indicator fields. | |
11090 | Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. | |
11091 | (direct_output_for_insert): Handle exact width lines like | |
11092 | contined lines. Call update_window_fringes. | |
11093 | (update_window): Call update_window_fringes. | |
11094 | (scrolling_window): Don't skip desired rows with changed bitmaps. | |
11095 | Check if fringe bitmaps changes when assigning scrolled rows. | |
11096 | ||
11097 | * xdisp.c (Voverflow_newline_into_fringe): New variable. | |
11098 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. | |
11099 | (move_it_in_display_line_to): Overflow newline into fringe for | |
11100 | rows that are exactly as wide as the window. | |
11101 | (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) | |
11102 | (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) | |
11103 | (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. | |
11104 | (fringe_bitmaps): Add new bitmaps. | |
11105 | (draw_fringe_bitmap): Make extern. Remove WHICH arg. | |
11106 | Select proper bitmap for cursor in fringe when appropriate. | |
11107 | Handle alignment of bitmap to top or bottom of row. | |
11108 | (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now | |
11109 | done by update_window_fringes. | |
11110 | (update_window_fringes, draw_window_fringes): New functions. | |
11111 | (redisplay_internal): Call update_window_fringes in case only | |
11112 | cursor row is updated. | |
11113 | (redisplay_window): Call update_window_fringes. | |
11114 | Explicitly call draw_window_fringes if redisplay was done using | |
11115 | the current matrix or the overlay arrow is in the window. | |
11116 | (try_window_reusing_current_matrix): Mark scrolled rows for | |
11117 | fringe update (to update buffer-boundaries / scrolling icons). | |
11118 | (find_last_unchanged_at_beg_row): Handle exact width lines line | |
11119 | continued lines. | |
11120 | (display_line): Overflow newline into fringe for rows that are | |
11121 | exactly as wide as the window. Don't append space for newline | |
d7107586 | 11122 | in this case. |
77a9cf69 KS |
11123 | (notice_overwritten_cursor): Explicitly clear cursor bitmap |
11124 | in fringe as if it had been overwritten. | |
11125 | (erase_phys_cursor): Erase cursor bitmap in fringe. | |
d7107586 | 11126 | (syms_of_xdisp): Mark show-trailing-whitespace and |
77a9cf69 KS |
11127 | void-text-area-pointer as user options. |
11128 | DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. | |
d7107586 | 11129 | |
77a9cf69 KS |
11130 | * xterm.c (x_update_window_end): Call draw_window_fringes. |
11131 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
11132 | in row instead of actually drawing fringe bitmaps. | |
11133 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
11134 | (x_draw_window_cursor): Draw cursor in fringe. | |
11135 | ||
11136 | * w32term.c (x_update_window_end): Call draw_window_fringes. | |
11137 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
11138 | in row instead of actually drawing fringe bitmaps. | |
11139 | (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
11140 | (w32_draw_window_cursor): Draw cursor in fringe. | |
11141 | ||
11142 | * macterm.c (x_update_window_end): Call draw_window_fringes. | |
11143 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
11144 | in row instead of actually drawing fringe bitmaps. | |
11145 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
11146 | (mac_draw_window_cursor): Draw cursor in fringe. | |
11147 | ||
a633a954 JD |
11148 | 2004-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11149 | ||
11150 | * xterm.c (handle_one_xevent): Don't handle characters that are part | |
11151 | of an old style (XLookupString) compose sequence. | |
11152 | ||
80460525 KH |
11153 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
11154 | ||
11155 | * search.c (Freplace_match): Use make_multibyte_string or | |
11156 | make_unibyte_string according to the buffer multibyteness. | |
11157 | ||
7fc34f85 SM |
11158 | 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
11159 | ||
11160 | * alloc.c (struct interval_block, struct string_block) | |
11161 | (struct symbol_block, struct marker_block, live_string_p) | |
11162 | (live_cons_p, live_symbol_p, live_float_p, live_misc_p): | |
11163 | Better preserve alignment for objects in blocks. | |
11164 | (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. | |
11165 | ||
11166 | * lread.c (defvar_per_buffer): Remove dead declaration. | |
11167 | ||
11168 | * macterm.c (do_check_ram_size): Don't hardcode the lisp address | |
11169 | space size. | |
11170 | ||
66070bd1 JD |
11171 | 2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11172 | ||
11173 | * xmenu.c (popup_get_selection): Check new parameter down_on_keypress | |
11174 | if a key press should pop down. Only pop down if a key is pressed | |
11175 | outside the menu/dialog. | |
11176 | (create_and_show_popup_menu): Pass 0 for down_on_keypress to | |
11177 | popup_get_selection. | |
11178 | (create_and_show_dialog): Pass 1 for down_on_keypress to | |
11179 | popup_get_selection. | |
11180 | ||
de7515d6 JD |
11181 | 2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11182 | ||
11183 | * alloc.c (allocate_vectorlike): Surround calls to mallopt with | |
11184 | BLOCK/UNBLOCK_INPUT. | |
11185 | ||
160b1b50 JD |
11186 | 2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11187 | ||
11188 | * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are | |
11189 | specified. | |
11190 | ||
3a9f36e6 KH |
11191 | 2004-01-08 Kenichi Handa <handa@m17n.org> |
11192 | ||
11193 | * editfns.c (Fformat): Fix '&' to '&&'. | |
11194 | ||
3803eb32 AS |
11195 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
11196 | ||
11197 | * print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask | |
11198 | size if PSEUDOVECTOR_FLAG is set. | |
11199 | ||
9da88f37 KH |
11200 | 2004-01-07 Kenichi Handa <handa@m17n.org> |
11201 | ||
74ac5074 KH |
11202 | * charset.c (Fdeclare_equiv_charset): Fix docstring. |
11203 | ||
9da88f37 KH |
11204 | * fontset.c (fontset_ref_via_base): Fix previous change. |
11205 | ||
05faee07 KS |
11206 | 2004-01-07 Kim F. Storm <storm@cua.dk> |
11207 | ||
11208 | * process.c (read_process_output): Only activate adaptive | |
11209 | buffering if we read less than 256 bytes at a time. | |
11210 | ||
634910c8 KS |
11211 | 2004-01-06 Kim F. Storm <storm@cua.dk> |
11212 | ||
11213 | * dispnew.c (buffer_posn_from_coords): Return both buffer/string | |
11214 | object and image object. Return glyph width and height. | |
11215 | (mode_line_string, marginal_area_string): Ditto. | |
11216 | ||
11217 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
11218 | (marginal_area_string): Fix prototypes. | |
11219 | ||
11220 | * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from | |
f63fd14e | 11221 | POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. |
634910c8 KS |
11222 | (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. |
11223 | ||
11224 | * keyboard.c (make_lispy_position): Use modified mode_line_string, | |
11225 | buffer_posn_from_coords, and marginal_area_string functions to | |
11226 | include both string object and image object in the lispy position. | |
11227 | Also add actual glyph width and height to position. | |
11228 | (read_key_sequence): Use real buffer position from mouse | |
11229 | event to find keymap property even when click is in marginal area. | |
11230 | ||
11231 | * xdisp.c (note_mode_line_or_margin_highlight): Use modified | |
11232 | mode_line_string and marginal_area_string functions to handle | |
11233 | both string object and image object properties. | |
d7107586 | 11234 | |
57951c2e AS |
11235 | 2004-01-06 Andreas Schwab <schwab@suse.de> |
11236 | ||
11237 | * syntax.c (skip_chars): Treat '-' at end of string as ordinary | |
11238 | character. | |
11239 | ||
181e6a61 AS |
11240 | 2004-01-02 Andreas Schwab <schwab@suse.de> |
11241 | ||
d7107586 SM |
11242 | * macterm.c (emacs_options, x_initialized, same_x_server): |
11243 | Remove unused (and duplicated) definitions. | |
181e6a61 | 11244 | |
31e0fbdd KS |
11245 | 2004-01-02 Kim F. Storm <storm@cua.dk> |
11246 | ||
11247 | * process.h (struct Lisp_Process): New members for adaptive read | |
11248 | buffering: adaptive_read_buffering, read_output_delay, and | |
11249 | read_output_skip. | |
11250 | ||
11251 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | |
11252 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | |
11253 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | |
11254 | (process_output_delay_count, process_output_skip): New vars. | |
11255 | (Vprocess_adaptive_read_buffering): New variable. | |
11256 | (make_process): Initialize adaptive read buffering members. | |
11257 | (Fstart_process): Set adaptive_read_buffering member. | |
11258 | (deactivate_process): Cleanup adaptive read buffering. | |
11259 | (wait_reading_process_input): Temporarily omit delayed | |
11260 | subprocesses from the set of file descriptors to read from; | |
11261 | adjust the select timeout if we skipped any subprocesses. | |
11262 | (read_process_output): Increase adaptive read buffering delay if | |
11263 | we read less than a full buffer; reduce delay when we read a | |
11264 | full buffer. | |
11265 | (send_process): Simplify using local Lisp_Process var. | |
11266 | Reset adaptive read buffering delay after write. | |
11267 | (init_process): Initialize process_output_delay_count and | |
11268 | process_output_skip. | |
11269 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | |
11270 | ||
68c6a789 JR |
11271 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
11272 | ||
d7107586 | 11273 | * w32term.c (w32_text_out): Use s->font, for consistency with callers. |
68c6a789 | 11274 | |
3f70fe82 LT |
11275 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
11276 | ||
11277 | * print.c (Ferror_message_string): Add hyperlink in the docstring | |
11278 | to the definition of `signal' in the Elisp manual. | |
11279 | * eval.c (Fsignal): Ditto. | |
11280 | ||
b6189c3b | 11281 | 2003-12-29 James Clark <jjc@jclark.com> |
c2be49ed EZ |
11282 | |
11283 | * fns.c (internal_equal): Return t for two NaN arguments. | |
11284 | ||
7abd90ea RS |
11285 | 2003-12-29 Richard M. Stallman <rms@gnu.org> |
11286 | ||
11287 | * data.c (store_symval_forwarding): Handle setting | |
11288 | default-fill-column, etc., by changing the value in | |
11289 | buffers that use the default. | |
11290 | ||
11291 | * minibuf.c (Fset_minibuffer_window): Doc fix. | |
11292 | ||
11293 | * fileio.c (choose_write_coding_system): Ignore auto_saving | |
11294 | if using the visited file for auto saves. | |
11295 | (Fwrite_region): Don't update SAVE_MODIFF | |
11296 | if auto-saving in visited file. | |
11297 | ||
3e7cfcdc KH |
11298 | 2003-12-29 Kenichi Handa <handa@m17n.org> |
11299 | ||
11300 | * dispextern.h (face_font_available_p): Extern it. | |
11301 | ||
11302 | * fontset.c (Voverriding_fontspec_alist): New variable. | |
11303 | (lookup_overriding_fontspec): New function. | |
d7107586 | 11304 | (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. |
3e7cfcdc KH |
11305 | (fontset_font_pattern): Likewise. |
11306 | (regulalize_fontname): New function. | |
11307 | (Fset_fontset_font): Call regulalize_fontname. | |
11308 | (Fset_overriding_fontspec_internal): New function. | |
d7107586 SM |
11309 | (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. |
11310 | Defsubr Sset_overriding_fontspec_internal. | |
3e7cfcdc KH |
11311 | |
11312 | * xfaces.c (face_font_available_p): New function. | |
11313 | ||
7abd90ea RS |
11314 | 2003-12-28 Richard M. Stallman <rms@gnu.org> |
11315 | ||
11316 | * buffer.c (Fother_buffer): Don't crash if BUF is nil | |
11317 | or if its name is nil. | |
11318 | ||
11319 | * buffer.c (Fkill_buffer): Don't delete auto-save file | |
11320 | if it's the same as the visited file. | |
11321 | ||
de1d1a40 LT |
11322 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> |
11323 | ||
11324 | * coding.c (Fcheck_coding_system): Doc fix. | |
11325 | ||
204fb75e KS |
11326 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
11327 | ||
11328 | * Makefile.in (eval.o): Depend on dispextern.h. | |
11329 | ||
11330 | * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for | |
11331 | image glyph using image's ascent. | |
11332 | (mode_line_string): Return image glyph as object clicked on. | |
11333 | Adjust y0 for image glyph using image's ascent. | |
11334 | ||
11335 | * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. | |
11336 | (struct glyph): New members, ascent and descent. Used to save | |
11337 | this glyph's ascent and descent, instead of having. | |
11338 | (struct glyph): Declare member face_id using FACE_ID_BITS. | |
11339 | (find_hot_spot): Add prototype. | |
11340 | ||
11341 | * keyboard.c (Qimage): Remove extern (now in lisp.h). | |
11342 | (QCmap): Declare extern. | |
11343 | (make_lispy_position): When position is inside image hot-spot, | |
11344 | use hot-spot element's id as posn element. | |
11345 | ||
11346 | * lisp.h (IMAGEP): New macro to test for image object type. | |
11347 | (Qimage): Declare extern. | |
11348 | ||
11349 | * macfns.c (Qimage): Remove extern (now in lisp.h). | |
11350 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
11351 | ||
11352 | * macterm.c (Qface, Qmouse_face): Remove unused externs. | |
11353 | ||
11354 | * w32fns.c (Qimage): Remove extern (now in lisp.h). | |
11355 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
11356 | ||
11357 | * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. | |
11358 | ||
11359 | * w32term.c (Qface, Qmouse_face): Remove unused externs. | |
11360 | ||
11361 | * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for | |
11362 | pointer types. | |
11363 | (Qrelative_width, Qalign_to): Remove unused variables. | |
11364 | (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. | |
11365 | (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for | |
11366 | image maps. | |
d7107586 | 11367 | (x_y_to_hpos_vpos): Return glyph relative coordinates through |
204fb75e KS |
11368 | new dx and dy args. |
11369 | Remove buffer_only_p arg (always 0). Simplify code accordingly. | |
11370 | (get_glyph_string_clip_rect): Draw cursor using glyph's rather | |
11371 | than row's ascent and height, to get sensible height on tall rows. | |
11372 | (build_desired_tool_bar_string): Remove Qimage extern. | |
11373 | (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. | |
11374 | (produce_image_glyph): Adjust it.ascent to minimum row ascent if | |
11375 | image glyph is alone on the last line. | |
11376 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
d7107586 | 11377 | (append_stretch_glyph): Set glyph's ascent and descent. |
204fb75e | 11378 | (on_hot_spot_p): New function to check if position is inside an |
d7107586 | 11379 | rectangular, circular, or polygon-shaped image hot-spot, |
204fb75e KS |
11380 | (find_hot_spot): New function to search for image hot-spot. |
11381 | (Flookup_image_map): New defun to search for image hot-spot. | |
11382 | (define_frame_cursor1): New aux function to determine frame pointer. | |
11383 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
11384 | Handle `pointer' text property and :pointer image property to | |
11385 | control frame pointer shape. Detect image hot-spots for pointer | |
11386 | and help_echo properties. Use define_frame_cursor1. | |
11387 | (note_mouse_highlight): Use Vvoid_text_area_pointer. | |
f63fd14e | 11388 | (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables. |
204fb75e KS |
11389 | DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void. |
11390 | ||
11391 | * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. | |
11392 | ||
11393 | * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. | |
11394 | (Qimage): Remove extern (now in lisp.h). | |
11395 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
11396 | ||
11397 | * xmenu.c (show_help_event): Remove unused code. | |
11398 | ||
11399 | * xterm.c (Qface, Qmouse_face): Remove unused externs. | |
11400 | (x_draw_hollow_cursor): Draw cursor using glyph's rather than | |
11401 | row's ascent and descent, to get a sensible height on tall rows. | |
11402 | ||
fc052137 LT |
11403 | 2003-12-25 Luc Teirlinck <teirllm@auburn.edu> |
11404 | ||
11405 | * minibuf.c (Fcompleting_read): Undo previous change. | |
11406 | ||
a64387ee | 11407 | 2003-12-25 Lars Hansen <larsh@math.ku.dk> |
b9148500 LH |
11408 | |
11409 | * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): | |
11410 | Arguments GCPRO'ed in call to file name handler. | |
11411 | ||
56ffd194 TTN |
11412 | 2003-12-25 Thien-Thi Nguyen <ttn@gnu.org> |
11413 | ||
11414 | * termcap.c (tgetst1): Scan for "%pN"; if all | |
11415 | N are continuous in [1,9], remove all "%pN". | |
11416 | ||
5202d23d JD |
11417 | 2003-12-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11418 | ||
f26fab36 JD |
11419 | * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. |
11420 | ||
5202d23d JD |
11421 | * xfaces.c (lface_fully_specified_p): Take into account that |
11422 | MAC OS always have unspecified stipple. | |
11423 | ||
8babaa59 TTN |
11424 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
11425 | ||
11426 | * tparam.c (tparam1): Add handling for `%pN', which | |
11427 | means use param N for the next substitution. | |
11428 | ||
2d176448 TTN |
11429 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
11430 | ||
11431 | * xfaces.c (Fcolor_gray_p): Fix omission bug: | |
11432 | In case `frame' is nil, consult the selected frame. | |
11433 | (Fcolor_supported_p): Likewise. | |
11434 | ||
adb0708c LT |
11435 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
11436 | ||
000eeb15 LT |
11437 | * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): |
11438 | Doc fixes. | |
0dc72b11 LT |
11439 | |
11440 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | |
11441 | and an integer. Adapt the introductory comment accordingly. | |
adb0708c LT |
11442 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
11443 | Doc fix. | |
11444 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | |
11445 | read_minibuf. | |
11446 | (Fcompleting_read): Delete code moved into read_minibuf. | |
d7107586 | 11447 | (Ftest_completion): Make it handle obarrays and hash tables correctly. |
adb0708c | 11448 | |
2e4d132b KH |
11449 | 2003-12-03 Kenichi Handa <handa@m17n.org> |
11450 | ||
11451 | * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 | |
11452 | encoding sequence. | |
11453 | ||
3999c705 KH |
11454 | 2003-12-01 Kenichi Handa <handa@m17n.org> |
11455 | ||
11456 | * composite.c (syms_of_composite): Don't make the compostion hash | |
11457 | table week. | |
11458 | ||
d344ecbb LT |
11459 | 2003-11-30 Luc Teirlinck <teirllm@auburn.edu> |
11460 | ||
11461 | * intervals.h: Add EXFUN for Fget_char_property_and_overlay. | |
11462 | * textprop.c (Fget_char_property_and_overlay): New function. | |
11463 | (syms_of_textprop): Defsubr it. | |
11464 | ||
03d6484e JD |
11465 | 2003-11-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11466 | ||
019b1f0e JD |
11467 | * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM |
11468 | to compile on terminal configuration. | |
11469 | ||
03d6484e JD |
11470 | * fileio.c (Fread_file_name): Check use_file_dialog also before |
11471 | calling Fx_file_dialog. | |
11472 | ||
1d1c7e75 | 11473 | * fns.c (use_file_dialog): New variable. |
03d6484e JD |
11474 | (syms_of_fns): DEFVAR_BOOL use-file-dialog. |
11475 | ||
442d3fd0 KS |
11476 | 2003-11-29 Kim F. Storm <storm@cua.dk> |
11477 | ||
11478 | * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. | |
11479 | (syms_of_msdos): Don't intern and staticpro them. | |
11480 | ||
0f6a07a8 KS |
11481 | 2003-11-27 Kim F. Storm <storm@cua.dk> |
11482 | ||
11483 | * dispnew.c (buffer_posn_from_coords): Calculate and return pixel | |
11484 | coordinates relative to glyph at posn. If glyph is an image, | |
11485 | return that as object at posn. Callers changed. | |
11486 | (mode_line_string, marginal_area_string): Calculate and return | |
11487 | pixel coordinates relative to glyph. Callers changed. | |
11488 | ||
11489 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
11490 | (marginal_area_string): Fix prototypes. | |
11491 | (window_box_left_offset, window_box_right_offset): Add prototypes. | |
11492 | ||
11493 | * frame.h (get_specified_cursor_type, get_window_cursor_type): | |
11494 | Remove prototypes. | |
11495 | ||
11496 | * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. | |
11497 | ||
11498 | * keyboard.c (make_lispy_position): Add x and y coordinates | |
11499 | relative to the current glyph as 7th element of position. | |
11500 | If glyph is an image, return it in the object element. | |
11501 | (read_key_sequence): Skip checks for keymap property in cases | |
11502 | where POSN_STRING is not a string (e.g. an image). | |
11503 | ||
11504 | * xdisp.c (Vdisplay_pixels_per_inch): New variable. | |
11505 | (Vshow_text_cursor_in_void): New variable. | |
11506 | (glyph_to_pixel_coords): Don't use negative hpos. | |
11507 | (x_y_to_hpos_vpos): Fix for partially visible first glyph. | |
11508 | (append_stretch_glyph): Change ascent arg to be actual value | |
f63fd14e | 11509 | in pixels rather than ratio to height. Callers changed. |
0f6a07a8 KS |
11510 | (calc_pixel_width_or_height): New aux function, implementing |
11511 | pixel based artihmetic for glyph widths and heights. | |
11512 | (produce_stretch_glyph): Use calc_pixel_width_or_height for | |
11513 | :width, :height, :align-to, and :ascent, thus allowing these to | |
11514 | be specified in pixels as well as multiples of characters. | |
11515 | Don't produce stretch glyphs with zero width or height. | |
11516 | (get_specified_cursor_type): Declare static. | |
11517 | (get_window_cursor_type): Declare static. Add glyph arg to be | |
11518 | able to know when cursor is on an image; always substitute | |
11519 | hollow-box cursor for filled-box cursor on images, to avoid | |
11520 | negative images and flicker when blinking the cursor. | |
11521 | (display_and_set_cursor): Pass glyph to get_window_cursor_type. | |
11522 | (note_mode_line_or_margin_highlight): Use non-text cursor rather | |
11523 | than vertical scroll-bar cursor in display margins. | |
11524 | (note_mouse_highlight): Use non-text cursor rather than text | |
11525 | cursor in fringes and over images in the text area. | |
11526 | Use non-text cursor when mouse pointer is outside editable text, | |
11527 | i.e. in the void after end-of-line or end-of-buffer; this was | |
11528 | already done for W32, but is now standard for all systems -- | |
11529 | user can toggle show-text-cursor-in-void to get old behaviour. | |
11530 | (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and | |
11531 | Vdisplay_pixels_per_inch. | |
11532 | ||
00498bfc AS |
11533 | 2003-11-25 Andreas Schwab <schwab@suse.de> |
11534 | ||
11535 | * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as | |
11536 | EMACS_INT to not lose bits. | |
11537 | (Ffillarray): Don't set bits beyond the size of a bool vector. | |
11538 | ||
edaa824d KS |
11539 | 2003-11-25 Kim F. Storm <storm@cua.dk> |
11540 | ||
11541 | * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not | |
11542 | define this defun on systems that cannot use stderr as lvalue. | |
11543 | ||
74d6f539 GM |
11544 | 2003-11-24 Gerd Moellmann <gerd@gnu.org> |
11545 | ||
11546 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) | |
11547 | [__FreeBSD_version >= 500042]: Define as -znocombreloc because | |
11548 | ld's default is incompatible with unexec. | |
11549 | ||
6a1ff3ba KS |
11550 | 2003-11-23 Kim F. Storm <storm@cua.dk> |
11551 | ||
63dc7c6b KS |
11552 | * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. |
11553 | (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. | |
11554 | (Fforce_window_update): New defun. | |
11555 | (syms_of_window): Defsubr it. | |
11556 | (Fset_window_margins, Fset_window_fringes): Doc fix. | |
11557 | ||
6a1ff3ba KS |
11558 | * print.c (Fredirect_debugging_output): New defun. |
11559 | (syms_of_print): Defsubr it. | |
11560 | ||
aef109b7 LT |
11561 | 2003-11-22 Luc Teirlinck <teirllm@auburn.edu> |
11562 | ||
11563 | * fns.c (Fset_char_table_parent): Doc fix. | |
11564 | ||
6a1ff3ba | 11565 | 2003-11-22 Kim F. Storm <storm@cua.dk> |
63ccbe21 KS |
11566 | |
11567 | * dispnew.c (buffer_posn_from_coords): Return actual row/column | |
11568 | for glyph clicked on, rather than (unused) pixel positions. | |
11569 | (mode_line_string, marginal_area_string): Change X and Y args to | |
11570 | pointers for returning actual row/column for glyph clicked on. | |
11571 | Simplify and optimize loops. | |
11572 | ||
aef109b7 LT |
11573 | * dispextern.h (mode_line_string, marginal_area_string): |
11574 | Update prototypes. | |
63ccbe21 KS |
11575 | |
11576 | * keyboard.c (make_lispy_position): New function for generating | |
11577 | mouse click positions from frame and pixel coordinates. | |
11578 | Enhanced to return buffer position and actual row/column for | |
11579 | events outside the text area using updated mode_line_string and | |
11580 | marginal_area_string functions. | |
11581 | Return left-fringe and right-fringe clicks as such, rather than | |
11582 | clicks in text area. | |
11583 | (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call | |
11584 | pixel_to_glyph_coords, as we never use the results. | |
11585 | (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, | |
11586 | WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. | |
11587 | Eliminate unused code in WHEEL_EVENT handling. | |
11588 | (make_lispy_movement): Use make_lispy_position. | |
11589 | ||
11590 | * window.c (coordinates_in_window): Remove redundant tests. | |
11591 | Fix returned X pixel value for left-margin. | |
11592 | ||
11593 | * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new | |
11594 | mode_line_string and marginal_area_string parameters. | |
11595 | ||
a64387ee | 11596 | 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
930a9995 | 11597 | |
d7107586 SM |
11598 | * w32.c (struct the_group, getgrgid): Add. |
11599 | * mac.c (struct my_group, getgrgid): Add. | |
aef109b7 | 11600 | |
3dbf3426 LT |
11601 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
11602 | ||
11603 | * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. | |
11604 | ||
cae8ddbb | 11605 | 2003-11-21 Lars Hansen <larsh@math.ku.dk> |
ded4064f | 11606 | |
d7107586 SM |
11607 | * dired.c (Ffile_attributes): Add parameter ID-FORMAT and |
11608 | include in call to file name handler. Optionally translate numeric | |
11609 | UID and GID to strings. Update docstring. | |
11610 | (directory_files_internal): Add parameter ID-FORMAT. | |
11611 | (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and | |
11612 | include in call to file name handler and call to | |
11613 | directory_files_internal. Update Docstring. | |
11614 | (Fdirectory_files): Add dummy parameter in call to | |
11615 | directory_files_internal. | |
11616 | * lisp.h (Qinteger): Add. | |
11617 | (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. | |
11618 | (Ffile_attributes): Add parameter. | |
11619 | * data.c (Qinteger): Export. | |
cae8ddbb | 11620 | |
2550b848 LT |
11621 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
11622 | ||
3dbf3426 | 11623 | * fns.c (Freverse, Fnreverse): Doc fixes. |
2550b848 | 11624 | |
88380018 KS |
11625 | 2003-11-19 Kim F. Storm <storm@cua.dk> |
11626 | ||
11627 | * xdisp.c (init_iterator): Initialize it->start to position | |
11628 | before reseating (in case start position is invisible). | |
11629 | (init_to_row_start): Set it->start to row-start. | |
11630 | (redisplay_window): Accept optional_new_start if start position | |
11631 | is invisible (in which case IT_CHARPOS overshoots PT). | |
11632 | (display_line): Setup row->start from it->start (rather than | |
11633 | it->current which is wrong if first char on line is invisible). | |
11634 | When done, reseat it->start to it->current (= start of next row). | |
11635 | (expose_area): Fix exposure of text area when first char (e.g. TAB) | |
11636 | is only partially visible. | |
11637 | ||
11638 | * dispextern.h (struct it): New member start. | |
11639 | ||
854c1a59 SM |
11640 | 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
11641 | ||
455316e2 SM |
11642 | * alloc.c (make_float, Fcons): Clear the markbit at init time. |
11643 | (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment | |
11644 | of block_index outside of the macro call. | |
11645 | (Fgarbage_collect): Remove null code. | |
11646 | ||
11647 | * m/amdx86-64.h: Don't redefine XPNTR. | |
11648 | ||
854c1a59 SM |
11649 | * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
11650 | of VALMASK. | |
11651 | ||
11652 | * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) | |
11653 | (sxhash_string, sxhash): Use INTMASK instead of VALMASK. | |
11654 | (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. | |
11655 | ||
11656 | * lisp.h (VALMASK): Only define for non-union type. | |
11657 | (MARKBIT): Remove. | |
11658 | (ARRAY_MARK_FLAG): Use previous value of MARKBIT. | |
11659 | (XTYPE): Define unconditionally. | |
11660 | (XSETTYPE): Remove one more remnant. | |
11661 | (EQ): Define differently for the union and non-union cases. | |
11662 | (INTMASK): New bit mask. | |
11663 | (struct Lisp_Marker): Move down to prepare for upcoming patch. | |
11664 | (GC_EQ): Delegate to EQ. | |
11665 | ||
11666 | * coding.c (coding_restore_composition): Lisp_Object/int mixup. | |
11667 | ||
a0c6ef2d JD |
11668 | 2003-11-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11669 | ||
11670 | * xterm.c (x_window_to_scroll_bar): Move check of display to | |
11671 | where window_id is compared. | |
11672 | ||
859492c4 KS |
11673 | 2003-11-17 Kim F. Storm <storm@cua.dk> |
11674 | ||
11675 | * dispextern.h (struct it): New member first_vpos. | |
11676 | ||
11677 | * xdisp.c (start_display): Set it->first_vpos. | |
11678 | (try_window_id): Use first_vpos to start display in first _text_ | |
11679 | line if no reusable lines at start of window with header line. | |
11680 | ||
810f2256 JD |
11681 | 2003-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11682 | ||
7c402969 | 11683 | * w32fns.c (XPutPixel): |
854c1a59 SM |
11684 | * w32bdf.c (w32_init_bdf_font): |
11685 | * sunfns.c (sel_read): | |
11686 | * process.c (Fmake_network_process): | |
11687 | * frame.c (store_frame_param): | |
11688 | * fontset.c (Fset_fontset_font): | |
11689 | * emacs.c (shut_down_emacs): | |
a64387ee | 11690 | * ccl.c (ccl_driver): Remove period at end of error message. |
7c402969 | 11691 | |
a32e9bfd JD |
11692 | * config.in: Regenerate. |
11693 | ||
810f2256 JD |
11694 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
11695 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
11696 | (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. | |
11697 | (x_create_bitmap_mask, xg_set_icon, create_frame_xic) | |
11698 | (xic_set_statusarea, x_window, gif_load): Formatting adjustments. | |
11699 | ||
11700 | * xterm.h (struct x_display_info): New field xg_cursor for GTK. | |
11701 | ||
11702 | * xterm.c: Add Display * to x_window_to_scroll_bar declaration. | |
11703 | (XTmouse_position, handle_one_xevent): Pass Display* to | |
11704 | x_window_to_scroll_bar. | |
11705 | (x_window_to_scroll_bar): Take a Display* argument. | |
11706 | Check that display for frame is equal to Display* argument. | |
854c1a59 | 11707 | (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
810f2256 JD |
11708 | x_display_info_for_display instead. Use Display in xev instead |
11709 | of GDK_DISPLAY. | |
11710 | (x_dispatch_event): Call x_display_info_for_display. | |
f63fd14e | 11711 | (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
810f2256 JD |
11712 | (x_connection_closed): Call xg_display_close for GTK. |
11713 | (x_term_init): Call xg_display_open for additional displays. | |
11714 | Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor | |
11715 | for GTK. | |
11716 | ||
11717 | * xmenu.c (single_menu_item, mouse_position_for_popup) | |
11718 | (x_activate_menubar): Formatting adjustments. | |
11719 | ||
11720 | * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting | |
11721 | adjustments. | |
11722 | ||
11723 | * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) | |
11724 | (xg_display_close, xg_create_default_cursor) | |
11725 | (xg_get_gdk_pixmap_and_mask): New functions for multiple display | |
11726 | handling. | |
854c1a59 SM |
11727 | (xg_left_ptr_cursor): Remove. |
11728 | (xg_set_cursor): Change cursor to GdkCursor*. Do not create | |
810f2256 JD |
11729 | cursor here. |
11730 | (xg_win_to_widget): Take Display* argument, call | |
11731 | gdk_xid_table_lookup_for_display. | |
11732 | (xg_create_frame_widgets, xg_get_file_name, create_menus) | |
11733 | (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. | |
11734 | (xg_create_widget, xg_create_scroll_bar): Use xg_cursor | |
11735 | in FRAME_X_DISPLAY_INFO. | |
11736 | (xg_get_scroll_id_for_window): Take Display* argument. | |
11737 | (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. | |
854c1a59 | 11738 | (xg_initialize): Remove xg_left_ptr_cursor. |
810f2256 | 11739 | |
78819ebb KS |
11740 | * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add |
11741 | Display* argument. | |
11742 | (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. | |
810f2256 | 11743 | |
0b03cc78 JD |
11744 | 2003-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11745 | ||
11746 | * xterm.c (x_detect_focus_change): Do not change focus frame for | |
11747 | Enter/LeaveNotify if the current focus frame has explicit focus. | |
11748 | ||
77e688fa KS |
11749 | 2003-11-14 Kim F. Storm <storm@cua.dk> |
11750 | ||
11751 | * dispnew.c (update_text_area): Fix redisplay error when hscroll | |
11752 | is active and first glyph is only partially visible. | |
854c1a59 | 11753 | |
dd429b03 KH |
11754 | 2003-11-13 Kenichi Handa <handa@m17n.org> |
11755 | ||
11756 | * xdisp.c (select_frame_for_redisplay): New function. | |
11757 | (redisplay_internal): Record also selected_frame for | |
11758 | unwind_redisplay. Call select_frame_for_redisplay before | |
11759 | redrawing each frame. | |
11760 | (unwind_redisplay): Argument changed to a cons. | |
11761 | ||
6d9266f4 LT |
11762 | 2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
11763 | ||
11764 | * fns.c (Fstring_to_multibyte): Doc fix. | |
11765 | ||
80060eb3 KH |
11766 | 2003-11-11 Kenichi Handa <handa@m17n.org> |
11767 | ||
11768 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
11769 | ||
74305183 JD |
11770 | 2003-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11771 | ||
11772 | * xfns.c (x_window): Set XtNx and XtNy in shell widget for | |
11773 | program specified positions. | |
11774 | ||
cfda993e JD |
11775 | 2003-11-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11776 | ||
11777 | * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. | |
11778 | ||
df211069 KH |
11779 | 2003-11-08 Kenichi Handa <handa@m17n.org> |
11780 | ||
11781 | * Makefile.in (lisp): Add kannada.el. | |
11782 | (shortlisp): Likewise. | |
11783 | ||
4307d534 KH |
11784 | 2003-11-07 Kenichi Handa <handa@m17n.org> |
11785 | ||
854c1a59 SM |
11786 | * coding.c (coding_allocate_composition_data): |
11787 | Reset coding->composing to COMPOSITION_NO. | |
4307d534 KH |
11788 | (coding_restore_composition): Detect invalid composition data. |
11789 | Give Fstring and Fvector a Lispy integer, not C int. | |
11790 | ||
854c1a59 SM |
11791 | 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
11792 | ||
11793 | * floatfns.c (Flogb): Don't use VALMASK. | |
11794 | ||
11795 | * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. | |
11796 | * m/ia64.h (VALBITS, XINT, XUINT): Remove. | |
11797 | ||
11798 | * lisp.h (XINT): Move the cast to clarify what is going on. | |
11799 | (GCTYPEMASK, XSETTYPE): Remove. | |
11800 | (XGCTYPE): Make it an alias of XTYPE. | |
11801 | ||
d04103a1 JD |
11802 | 2003-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11803 | ||
11804 | * xterm.c (x_term_init): Fix formatting. | |
11805 | ||
da18b5ac JD |
11806 | 2003-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11807 | ||
78819ebb KS |
11808 | * gtkutil.h (xg_have_tear_offs): Declare. |
11809 | (xg_keep_popup, xg_did_tearoff): Remove. | |
da18b5ac JD |
11810 | |
11811 | * gtkutil.c: Remove variable xg_did_tearoff. | |
11812 | (xg_have_tear_offs): New function. | |
11813 | (tearoff_remove): Just decrease xg_detached_menus. | |
11814 | (tearoff_activate): Increase xg_detached_menus and call | |
11815 | tearoff_remove when tearoff is removed. | |
854c1a59 | 11816 | (xg_keep_popup): Remove function. |
da18b5ac JD |
11817 | (create_menus): Give add_tearoff_p as argument to recursive |
11818 | call to create_menus. | |
11819 | (xg_create_widget): Use variables instead of multiple | |
11820 | strcmp. Tell create_menus to create tear off only for | |
11821 | menu bar menus. | |
11822 | (xg_update_menubar): Change title for a detached menu also. | |
11823 | (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless | |
11824 | of deep_p. | |
11825 | (xg_initialize): Initialize xg_detached_menus, remove | |
11826 | initialization of xg_did_tearoff. | |
11827 | ||
11828 | * xmenu.c (set_frame_menubar): For GTK, set deep_p if | |
11829 | xg_have_tear_offs returns non-zero. | |
11830 | (create_and_show_popup_menu): Remove setting of xg_did_tearoff and | |
11831 | call to xg_keep_popup. | |
11832 | ||
64d4923e AC |
11833 | 2003-11-01 Andrew Choi <akochoi@shaw.ca> |
11834 | ||
11835 | * macterm.c (XTread_socket): Handle menubar selection and grow | |
11836 | window only for mouseDown events. | |
854c1a59 | 11837 | |
6cc8bc07 JD |
11838 | 2003-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11839 | ||
11840 | * xterm.c (x_term_init): For GTK part, increase x_initialized | |
11841 | to check for more than one display. Use error instead of return 0. | |
11842 | ||
043131c4 AC |
11843 | 2003-10-31 Andrew Choi <akochoi@shaw.ca> |
11844 | ||
854c1a59 | 11845 | * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
043131c4 AC |
11846 | (copy_dysymtab): Call it. |
11847 | ||
bdda99a1 LT |
11848 | 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
11849 | ||
11850 | * eval.c (Fdefvaralias): Doc fix. | |
11851 | ||
800f42ff | 11852 | 2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
0d11571e LT |
11853 | |
11854 | * data.c (Fsetplist): Doc fix. | |
11855 | ||
ef35b389 LK |
11856 | 2003-10-14 Lute Kamstra <lute@gnu.org> |
11857 | ||
11858 | * window.c (Fset_window_fringes): Clarify docstring. | |
07107abc | 11859 | |
ef35b389 | 11860 | 2003-10-14 Kim F. Storm <storm@cua.dk> |
854c1a59 | 11861 | |
07107abc KS |
11862 | * window.c (Fset_window_margins): Simplify arg checking. |
11863 | ||
f7005886 RS |
11864 | 2003-10-13 Richard M. Stallman <rms@gnu.org> |
11865 | ||
11866 | * regex.c (MAX_BUF_SIZE): Reduce to 2**15. | |
11867 | (print_partial_compiled_pattern): Replace assert with a printout. | |
11868 | (skip_noops, mutually_exclusive_p): Change args, values to re_char *. | |
11869 | ||
11870 | * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. | |
11871 | ||
11872 | * window.c (Fset_window_margins): Allow only integers as args. | |
11873 | (syms_of_window) <special-display-buffer-names, special-display-regexps>: | |
11874 | Doc fixes. | |
11875 | ||
9c0c2af5 LK |
11876 | 2003-10-13 Lute Kamstra <lute@gnu.org> |
11877 | ||
11878 | * window.c (Fset_window_fringes): Elaborate docstring. | |
11879 | ||
3f080e4e AC |
11880 | 2003-10-12 Andrew Choi <akochoi@shaw.ca> |
11881 | ||
854c1a59 | 11882 | * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
a4887377 | 11883 | |
3f080e4e AC |
11884 | * s/darwin.h (GC_MARK_STACK): Define. |
11885 | ||
0aa513ed JD |
11886 | 2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11887 | ||
11888 | * window.c (shrink_windows): New function. | |
11889 | (size_window): Call shrink_windows to calculate window sizes when | |
11890 | shrinking frame with more than one window. | |
11891 | ||
6aa8858a KS |
11892 | 2003-10-12 Kim F. Storm <storm@cua.dk> |
11893 | ||
11894 | * xdisp.c (compute_fringe_widths): Doc fix. | |
11895 | ||
c2164d91 KH |
11896 | 2003-10-08 Kenichi Handa <handa@m17n.org> |
11897 | ||
854c1a59 | 11898 | * coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
c2164d91 | 11899 | |
f82ac129 KH |
11900 | 2003-10-07 Kenichi Handa <handa@m17n.org> |
11901 | ||
11902 | * coding.c (Qcoding_system_define_form): New variable. | |
11903 | (syms_of_coding): Intern and staticpro it. | |
11904 | (Fcheck_coding_system): Try to autoload the definition of | |
11905 | CODING-SYSTEM. | |
11906 | ||
9296c947 LT |
11907 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
11908 | ||
11909 | * fns.c (Frequire): Doc fix. | |
11910 | ||
c1f0671a JD |
11911 | 2003-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11912 | ||
3d8c3826 JD |
11913 | * xfns.c (Fx_send_client_event): New function as a base for |
11914 | manipulating extended window manager hints. | |
6dc15d98 | 11915 | (Fx_send_client_event): Remove unused variable s. |
3d8c3826 | 11916 | |
068ae0fd JD |
11917 | * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, |
11918 | that function is removed. | |
11919 | ||
11920 | * xterm.c (x_set_offset): Use move_offset_left/top instead of | |
11921 | x/y_pixels_outer_diff. | |
11922 | (x_check_expected_move): Calculate move_offset_left/top. | |
11923 | ||
11924 | * xterm.h (struct x_output): New members: move_offset_top/left. | |
11925 | ||
854c1a59 | 11926 | * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
068ae0fd JD |
11927 | call x_set_offset directly. |
11928 | ||
11929 | * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. | |
11930 | ||
96f09305 JD |
11931 | * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. |
11932 | ||
11933 | * xterm.c (x_delete_display): Free font names and font_encoder | |
11934 | in dpyinfo->font_table. | |
11935 | ||
854c1a59 SM |
11936 | * xfns.c (Fx_close_connection): Only call XFreeFont here. |
11937 | Move xfree of font names to x_delete_display. | |
96f09305 | 11938 | |
c1f0671a JD |
11939 | * xterm.h (struct x_display_info): New member, wm_type. |
11940 | (struct x_output): New members, expected_top/left and | |
11941 | check_expected_move. | |
11942 | ||
11943 | * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify | |
11944 | is received. | |
854c1a59 SM |
11945 | (handle_one_xevent): Rename x_check_expected_move from |
11946 | x_check_fullscreen_move. | |
c1f0671a JD |
11947 | (x_set_offset): Only add WM decoration sizes to modified_top/left |
11948 | for X_WMTYPE_A. Set check_expected_move when WM type is unknown. | |
854c1a59 | 11949 | (x_check_expected_move): Rename from x_check_fullscreen_move. |
c1f0671a JD |
11950 | Removed fullscreen specific code. Use check_expected_move, |
11951 | expected_left/top instead. Also, set wm_type. | |
11952 | (x_term_init): Initialize wm_type to unknown. | |
11953 | ||
11954 | * frame.c (x_fullscreen_move): Remove addition of WM decoration | |
11955 | sizes to move_x/y. | |
11956 | ||
be2fdba9 KH |
11957 | 2003-10-03 Kenichi Handa <handa@m17n.org> |
11958 | ||
11959 | * macterm.c (x_load_font): Clear all members of FONTP before start | |
11960 | filling them. | |
11961 | ||
11962 | 2003-10-02 Kenichi Handa <handa@m17n.org> | |
11963 | ||
11964 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | |
11965 | before calling find_ccl_program_func. Call find_ccl_program_func | |
11966 | only when fontp->font_encoder is not NULL. | |
11967 | ||
11968 | * xterm.c (x_load_font): Clear all members of FONTP before start | |
11969 | filling them. | |
11970 | ||
26a6e439 JPW |
11971 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
11972 | ||
11973 | * keymap.c (map_keymap): Don't abort when binding is a vector. | |
11974 | ||
0d4c2dc2 JR |
11975 | 2003-10-02 Jason Rumney <jasonr@gnu.org> |
11976 | ||
854c1a59 SM |
11977 | * makefile.w32-in (emacs.o, coding.o, bytecode.o): |
11978 | Sync dependencies with Makefile.in. | |
a63cf46f JR |
11979 | (alloca.o): Remove. |
11980 | ||
0d4c2dc2 JR |
11981 | * w32fns.c (w32_load_system_font): Clear all members of FONTP before |
11982 | filling them. | |
11983 | ||
11984 | * w32bdf.c (w32_load_bdf_font): Likewise. | |
11985 | ||
ab8f7d5c RS |
11986 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
11987 | ||
11988 | * term.c (set_tty_color_mode): Calculate current_mode_spec | |
11989 | regardless of value of VAL. | |
11990 | ||
854c1a59 | 11991 | * intervals.c (graft_intervals_into_buffer): |
ab8f7d5c RS |
11992 | Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
11993 | Handle over_used when splitting UNDER. | |
11994 | ||
a64387ee | 11995 | 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ab8f7d5c RS |
11996 | |
11997 | * regex.c (regex_compile): Free the stack when returning from function. | |
11998 | ||
3413f972 KH |
11999 | 2003-09-28 Kenichi Handa <handa@m17n.org> |
12000 | ||
12001 | * fontset.c (Finternal_char_font): Change return value to | |
12002 | cons (FONT-NAME . GLYPH-CODE). | |
12003 | ||
a6eeaa81 | 12004 | 2003-09-28 Eli Zaretskii <eliz@gnu.org> |
40409f05 EZ |
12005 | |
12006 | * term.c (tty_setup_colors): Treat any negative argument as -1. | |
12007 | ||
f98ddc99 KH |
12008 | 2003-09-27 Gaute B Strokkenes <biggaute@uwc.net> (tiny change) |
12009 | ||
12010 | * process.c (send_process): Delete unused temp_buf. | |
12011 | ||
66c8f1a8 DL |
12012 | 2003-09-26 Dave Love <fx@gnu.org> |
12013 | ||
12014 | * xterm.c (x_bitmap_mask): Declare. | |
12015 | ||
ca716c26 DL |
12016 | 2003-09-25 Dave Love <fx@gnu.org> |
12017 | ||
12018 | * Makefile.in (fns.o): Depend on md5.h. | |
12019 | ||
fbe57420 KS |
12020 | 2003-09-25 Kim F. Storm <storm@cua.dk> |
12021 | ||
12022 | * window.c (set_window_buffer): Fix redisplay problems when | |
12023 | switching between buffers with different display margin widths. | |
12024 | ||
ef6ae4ff KS |
12025 | 2003-09-23 Kim F. Storm <storm@cua.dk> |
12026 | ||
12027 | * process.c (set_socket_option): Fix :bindtodevice option. | |
12028 | (Fset_network_process_option): Update process contact list when | |
12029 | setting option succeeds. | |
12030 | (Fmake_network_process): Doc fix. | |
12031 | ||
68e03c1c DL |
12032 | 2003-09-23 Dave Love <fx@gnu.org> |
12033 | ||
7146d1c1 | 12034 | * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. |
68e03c1c | 12035 | |
a6eeaa81 | 12036 | 2003-09-22 Eli Zaretskii <eliz@gnu.org> |
2f809aae EZ |
12037 | |
12038 | * term.c (set_tty_color_mode): Use INTEGERP to test whether a | |
12039 | color mode is an integer number (it could be -1). | |
12040 | ||
8fe7d8c8 RS |
12041 | 2003-09-22 Richard M. Stallman <rms@gnu.org> |
12042 | ||
12043 | * intervals.c (graft_intervals_into_buffer): Correct the main loop | |
12044 | in the case where OVER is longer than UNDER. | |
12045 | ||
2f71b5ea MY |
12046 | 2003-09-22 Masatake YAMATO <jet@gyve.org> |
12047 | ||
7146d1c1 | 12048 | * window.c (Fset_window_scroll_bars): Validate the value of |
2f71b5ea | 12049 | `vertical_type'. |
7146d1c1 | 12050 | |
0c4da023 KS |
12051 | 2003-09-21 Kim F. Storm <storm@cua.dk> |
12052 | ||
12053 | * frame.c (Vdefault_frame_scroll_bars): New variable. | |
12054 | (x_set_vertical_scroll_bars): Use it instead of hardcoded values. | |
12055 | (syms_of_frame): DEFVAR_LISP it, and initialize according to | |
12056 | window-system default scroll bar position. | |
12057 | ||
b648413b KS |
12058 | * window.c (Fwindow_scroll_bars): Doc fix. |
12059 | ||
8f5b9e34 JD |
12060 | 2003-09-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12061 | ||
854c1a59 | 12062 | * xterm.c (x_set_offset): Take window manager decorations into account. |
8f5b9e34 | 12063 | |
b0f23edf RS |
12064 | 2003-09-19 Richard M. Stallman <rms@gnu.org> |
12065 | ||
12066 | * atimer.h: Don't include lisp.h. | |
12067 | (P_): Define it here (as well as elsewhere). | |
12068 | ||
12069 | * print.c (Fprin1_to_string): Move the PRINTPREPARE | |
12070 | later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. | |
12071 | ||
12072 | * data.c (Fvariable_binding_locus): New function. | |
12073 | (syms_of_data): defsubr it. | |
12074 | (Flocal_variable_p): Delete duplicate call to indirect_variable. | |
12075 | ||
e1283999 DL |
12076 | 2003-09-18 Dave Love <fx@gnu.org> |
12077 | ||
ad5f3636 DL |
12078 | * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. |
12079 | ||
e1283999 DL |
12080 | * process.c (Fnetwork_interface_info): Fix type error. |
12081 | (Fnetwork_interface_list): Doc fix. | |
12082 | (read_process_output, read_process_output): Delete unused var. | |
12083 | ||
b8c7fd71 KS |
12084 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
12085 | ||
12086 | * process.c (Fnetwork_interface_list, Fnetwork_interface_info): | |
12087 | Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. | |
12088 | (Fnetwork_interface_info): Check that ifreq struct has required | |
12089 | fields before accessing them; this requires that those fields are | |
12090 | defined as macros, which may be too restrictive on some platforms, | |
12091 | but it is better than failing on other platforms. | |
12092 | (syms_of_process): Only defsubr above fns when included. | |
12093 | ||
11e0a411 DL |
12094 | 2003-09-17 Dave Love <fx@gnu.org> |
12095 | ||
12096 | * unexalpha.c: Don't include varargs.h. | |
12097 | ||
e9c50801 KS |
12098 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
12099 | ||
12100 | * process.c (Fset_process_sentinel): Add sentinel to childp plist | |
12101 | for network process. | |
12102 | (socket_options): Add `:' prefix to option names. Add optbit field. | |
12103 | (set_socket_option): Remove no_error arg and special handling of s < 0. | |
12104 | Return 1<<optbit for known option, 0 for unknown. | |
12105 | Do not interpret 0 as false for boolean option (only nil). | |
12106 | Pass failed option and value to report_file_error. | |
7146d1c1 | 12107 | (Fset_network_process_options): Replace by Fset_network_process_option. |
e9c50801 KS |
12108 | (Fset_network_process_option): New function to set just one option. |
12109 | (Fmake_network_process): Allow :coding arg to be a cons. | |
12110 | Allow :server arg to be an integer specifying backlog size. | |
12111 | Remove :options arg, and allow options to be specified directly | |
12112 | as :KEY, VALUE pairs. Parse these options before binding socket. | |
12113 | As before, :reuseaddr t is default for a server process, but this | |
12114 | can now be disabled by specifying :reuseaddr nil. | |
12115 | (Fnetwork_interface_info): Rename from Fget_network_interface_info. | |
12116 | (init_process): Availability of network options is now checked with | |
12117 | simpler syntax (featurep 'make-network-process :OPTION); use loop to | |
12118 | setup features. | |
12119 | (syms_of_process): Fix defsubr's for the replaced functions. | |
12120 | ||
a0fc3644 DL |
12121 | 2003-09-16 Dave Love <fx@gnu.org> |
12122 | ||
12123 | * Makefile.in: Depend on coding.h. | |
12124 | ||
6df2a645 KS |
12125 | 2003-09-14 Kim F. Storm <storm@cua.dk> |
12126 | ||
12127 | * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. | |
12128 | (Fnetwork_interface_list, Fget_network_interface_info): New defuns. | |
12129 | (syms_of_process): Defsubr them. | |
12130 | ||
12131 | * config.in: Regenerate. | |
7146d1c1 SM |
12132 | |
12133 | 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
12134 | ||
12135 | * m/sr2k.h (XMARKBIT, XUNMARK): Remove. | |
12136 | * m/news-r6.h (XUNMARK): Remove. | |
12137 | * m/mips.h (XUNMARK): Remove. | |
12138 | * m/mips-siemens.h (XUNMARK): Remove. | |
12139 | * m/iris4d.h (XUNMARK): Remove. | |
12140 | * m/hp800.h (XMARKBIT, XUNMARK): Remove. | |
12141 | ||
0930c1a1 SM |
12142 | 2003-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
12143 | ||
31003b9e SM |
12144 | * lisp.h (VALBITS): Don't remove 1 for the markbit. |
12145 | (union Lisp_Object): Use unsigned int for types. Remove markbit. | |
12146 | (MARKBIT): Remove 1 from VALBITS so we still use same old val. | |
12147 | (XTYPE): Use unsigned right-shift. | |
12148 | (XMARKBIT, XMARK, XUNMARK): Remove. | |
12149 | ||
0930c1a1 SM |
12150 | * alloc.c (init_intervals, init_symbol, init_marker): |
12151 | Don't preallocate anything. | |
12152 | (Fgarbage_collect, mark_object): Ignore the markbit. | |
12153 | ||
12154 | * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. | |
12155 | ||
19bb0fcd | 12156 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
5df034de LK |
12157 | |
12158 | * xdisp.c (pint2hrstr): New function. | |
12159 | (decode_mode_spec): Add `%i' and `%I' specs. | |
12160 | * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs | |
12161 | for `mode-line-format'. | |
12162 | ||
03bb6a06 AS |
12163 | 2003-09-07 Andreas Schwab <schwab@suse.de> |
12164 | ||
12165 | * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to | |
12166 | avoid warning. | |
12167 | ||
a6eeaa81 | 12168 | 2003-09-07 Eli Zaretskii <eliz@gnu.org> |
2063d89c | 12169 | |
0930c1a1 | 12170 | * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. |
2063d89c | 12171 | |
ed159bbf KS |
12172 | 2003-09-03 Kim F. Storm <storm@cua.dk> |
12173 | ||
12174 | * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 | |
12175 | change (superseded by 2002-08-30 change); the default blink-off | |
12176 | cursor is now again "no cursor". | |
12177 | ||
fe64a394 JR |
12178 | 2003-09-01 Jason Rumney <jasonr@gnu.org> |
12179 | ||
12180 | * makefile.w32-in (alloca.o): Remove. | |
12181 | (coding.o): Depend on intervals.h | |
12182 | (emacs.o, bytecode.o): Depend on window.h | |
12183 | ||
c0175e24 DL |
12184 | 2003-09-01 Dave Love <fx@gnu.org> |
12185 | ||
12186 | * Makefile.in (alloca.o): Remove commands. | |
12187 | (coding.o): Depend on intervals.h composite.h window.h. | |
12188 | (emacs.o): Depend on window.h keyboard.h keymap.h. | |
12189 | (gtkutil.o): Depend on keyboard.h charset.h coding.h. | |
12190 | (bytecode.o): Depend on window.h. | |
12191 | ||
a24d4cb2 JR |
12192 | 2003-08-31 Jason Rumney <jasonr@gnu.org> |
12193 | ||
4bc2315e JR |
12194 | * w32term.c (w32_per_char_metric): Allow cached metrics to be |
12195 | returned even when font_type is unknown. | |
12196 | ||
a24d4cb2 JR |
12197 | * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. |
12198 | ||
9d35adc7 JD |
12199 | 2003-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12200 | ||
12201 | * xterm.c (x_term_init): Initialize new fields in x_display_info. | |
12202 | ||
12203 | * xterm.h (struct x_display_info): Add red/green/blue_bits and | |
12204 | *_offset. | |
12205 | ||
12206 | * xfns.c (lookup_rgb_color): Use new fields in x_display_info to | |
12207 | calculate pixel value. | |
12208 | ||
6f68b035 GM |
12209 | 2003-08-29 Gerd Moellmann <gerd.moellmann@t-online.de> |
12210 | ||
0930c1a1 SM |
12211 | * xdisp.c (redisplay_internal): Fix change of 2003-04-30. |
12212 | Don't tell redisplay display is accurate when it's actually been | |
12213 | paused for pending input. | |
6f68b035 | 12214 | |
4828b4d7 RS |
12215 | 2003-08-29 Richard M. Stallman <rms@gnu.org> |
12216 | ||
12217 | * dispnew.c (adjust_glyph_matrix): Call window_box | |
12218 | whenever W is nonzero. | |
12219 | ||
12220 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
12221 | (Fkill_local_variable, Fmake_variable_frame_local) | |
0930c1a1 | 12222 | (Flocal_variable_p, Flocal_variable_if_set_p): |
4828b4d7 RS |
12223 | Use indirect_variable to trace thru variable aliases. |
12224 | ||
12225 | * config.in: Updated. | |
12226 | ||
12227 | * callint.c (Fcall_interactively): Save and restore | |
12228 | Vthis_command, Vthis_original_command, real_this_command, | |
12229 | and current_kboard->Vlast_command. | |
12230 | ||
12231 | * abbrev.c (Fexpand_abbrev): Insert before deleting. | |
12232 | ||
e019878d GM |
12233 | 2003-08-29 Gerd Moellmann <gerd@gnu.org> |
12234 | ||
12235 | * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. | |
12236 | ||
85478bc6 KH |
12237 | 2003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change) |
12238 | ||
0930c1a1 | 12239 | * coding.c (decode_coding_iso2022): Initialize local variable c2. |
85478bc6 KH |
12240 | (decode_coding_sjis_big5): Likewise. |
12241 | ||
07ce82d3 JR |
12242 | 2003-08-27 Jason Rumney <jasonr@gnu.org> |
12243 | ||
d3703de3 JR |
12244 | * w32.c (sys_pipe): Protect against file descriptor overflow. |
12245 | ||
ee4a01d1 JR |
12246 | * w32fns.c (syms_of_w32fns): Remove non-existent functions. |
12247 | ||
07ce82d3 JR |
12248 | * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. |
12249 | ||
a64387ee | 12250 | 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no> |
72d19c66 LK |
12251 | |
12252 | * xfns.c (Vgtk_version_string): New variable. | |
12253 | (syms_of_xfns): DEFVAR_LISP it. Provide gtk. | |
12254 | ||
a6eeaa81 | 12255 | 2003-08-24 Eli Zaretskii <eliz@gnu.org> |
5459e42a | 12256 | |
0930c1a1 | 12257 | * term.c (term_init): Remove `const' from buffer_size's declaration. |
3d8714e7 | 12258 | |
5459e42a EZ |
12259 | * Makefile.in (msdos.o): Depend on intervals.h. |
12260 | ||
0930c1a1 | 12261 | * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. |
5459e42a | 12262 | |
231d6cfb JD |
12263 | 2003-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12264 | ||
12265 | * xterm.h (struct x_display_info): New fields: client_leader_window | |
12266 | and Xatom_wm_client_leader. | |
12267 | ||
12268 | * xterm.c (x_initialize): Move call to x_session_initialize to ... | |
12269 | (x_term_init): ... here. Initialize client_leader fields in dpyinfo. | |
12270 | ||
12271 | * xsmfns.c (create_client_leader_window): New function. | |
12272 | (x_session_initialize): Call create_client_leader_window, take | |
12273 | dpyinfo as argument. | |
12274 | ||
12275 | * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. | |
12276 | ||
12277 | * Makefile.in (xsmfns.o): Add more depenedencies. | |
12278 | ||
afa88464 DL |
12279 | 2003-08-21 Dave Love <fx@gnu.org> |
12280 | ||
12281 | * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. | |
12282 | ||
f730033e KH |
12283 | 2003-08-21 Kenichi Handa <handa@m17n.org> |
12284 | ||
12285 | * term.c (term_init): Fix previous change; don't rely on the | |
12286 | length of `buffer' if TERMINFO is defined. | |
12287 | ||
6dca786c DL |
12288 | 2003-08-20 Dave Love <fx@gnu.org> |
12289 | ||
12290 | * atimer.h: Include lisp.h. | |
12291 | ||
12292 | * lisp.h (EMACS_LISP_H): New. | |
12293 | (popup_activated_flag): Don't declare. | |
12294 | ||
12295 | * alloca.c: Some merging with gnulib. Change logic and doc | |
12296 | concerning (x)malloc/(x)free -- no longer Emacs-specific. | |
12297 | [DO_BLOCK_INPUT]: Don't include lisp.h. | |
12298 | (xmalloc, xfree): Declare. | |
12299 | (malloc): Don't declare. | |
12300 | ||
0930c1a1 | 12301 | * Makefile.in (LWLIB_OPTIONS): Remove (unused). |
6dca786c DL |
12302 | (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on |
12303 | atimer.h, blockinput.h. | |
12304 | ||
12305 | * alloc.c (lisp_align_malloc): Change type of `aligned'. | |
12306 | ||
78819ebb | 12307 | * alloca.s: Remove. |
6dca786c | 12308 | |
3a06a6d9 RS |
12309 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
12310 | ||
12311 | * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, | |
12312 | use -lncurses. | |
12313 | ||
12314 | * term.c (term_init): Use a buffer of size 4096 for tgetent since | |
12315 | FreeBSD returns something longer than 2044. Abort if the end of | |
12316 | the buffer is overwritten. | |
12317 | ||
27eeee55 MB |
12318 | 2003-08-19 Miles Bader <miles@gnu.org> |
12319 | ||
12320 | * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. | |
12321 | ||
2f297815 GM |
12322 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
12323 | ||
f4446bbf GM |
12324 | * alloc.c (lisp_align_malloc): Check for memory full when |
12325 | allocating ablocks, which also avoids freeing a pointer into an | |
12326 | ablocks structure. | |
12327 | ||
12328 | * puresize.h (BASE_PURESIZE): Increase to 1100000. | |
12329 | ||
0930c1a1 | 12330 | * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. |
2f297815 | 12331 | |
0e7d7aae RS |
12332 | 2003-08-16 Richard M. Stallman <rms@gnu.org> |
12333 | ||
12334 | * editfns.c (Fencode_time): Doc fix. | |
12335 | ||
12336 | 2003-08-16 David Ponce <david@dponce.com> | |
12337 | ||
12338 | * fileio.c (Fwrite_region): Fix conditional expression to issue | |
12339 | the right message. | |
12340 | ||
b6189c3b | 12341 | 2003-08-16 Juri Linkov <juri@jurta.org> |
0e7d7aae RS |
12342 | |
12343 | * syntax.c (Fforward_word): Argument changed to optional. | |
0930c1a1 | 12344 | Set default value to 1. |
0e7d7aae | 12345 | |
5d551295 KH |
12346 | 2003-08-15 Kenichi Handa <handa@m17n.org> |
12347 | ||
12348 | * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not | |
12349 | what autoscaled. | |
12350 | (best_matching_font): Once we find a better scalable font, set | |
12351 | non_scalable_has_exact_height_p to 1. | |
12352 | (try_font_list): Call try_alternative_families to try any family | |
12353 | with the given registry. | |
12354 | ||
1661e56b AS |
12355 | 2003-08-09 Andreas Schwab <schwab@suse.de> |
12356 | ||
f29181dc AS |
12357 | * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. |
12358 | ||
1661e56b AS |
12359 | * print.c (print_string): Fix printing of multibyte string with |
12360 | nontrivial printcharfun. | |
12361 | ||
465aa50a JD |
12362 | 2003-07-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12363 | ||
12364 | * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. | |
12365 | ||
12366 | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. | |
12367 | ||
e430e5ba KH |
12368 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
12369 | ||
12370 | * process.c (read_process_output): Return the actually read bytes | |
12371 | instead of the result of decoding. | |
12372 | ||
97e7188e KH |
12373 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
12374 | ||
12375 | * xterm.h (struct x_bitmap_record): New member have_mask. | |
12376 | ||
12377 | * xfns.c (x_create_bitmap_from_data): Initialize have_mask member | |
12378 | to 0. | |
12379 | (x_create_bitmap_from_file): Likewise. | |
12380 | (x_destroy_bitmap): Check have_mask member before freeing a mask. | |
12381 | (x_destroy_all_bitmaps): Likewise. | |
12382 | (x_create_bitmap_mask): Set have_mask member to 1. | |
12383 | ||
b53094d6 RS |
12384 | 2003-07-30 Richard M. Stallman <rms@gnu.org> |
12385 | ||
12386 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. | |
12387 | ||
631f2082 JD |
12388 | 2003-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12389 | ||
12390 | * gtkutil.c (xg_mark_data): Update calls to mark_object. | |
12391 | ||
c855f2ca RS |
12392 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
12393 | ||
12394 | * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): | |
12395 | Conditionalize XIM code on HAVE_XIM. | |
12396 | ||
12397 | * fns.c (Fclear_string): New function. | |
12398 | (syms_of_fns): defsubr it. | |
12399 | ||
b6189c3b | 12400 | 2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
17e6d491 | 12401 | |
0930c1a1 | 12402 | * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. |
17e6d491 | 12403 | |
29ea8ae9 SM |
12404 | 2003-07-22 Stefan Monnier <monnier@cs.yale.edu> |
12405 | ||
12406 | * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. | |
12407 | ||
12408 | * buffer.c (delete_all_overlays): New function. | |
12409 | * buffer.h (delete_all_overlays): Declare. | |
12410 | * coding.c (run_pre_post_conversion_on_str): | |
12411 | * print.c (temp_output_buffer_setup): | |
12412 | * fileio.c (Finsert_file_contents): | |
12413 | * minibuf.c (get_minibuffer): Use it. | |
12414 | ||
1dd7ccf2 AC |
12415 | 2003-07-22 Andrew Choi <akochoi@shaw.ca> |
12416 | ||
12417 | * unexmacosx.c (unexec_regions_sort_compare): | |
12418 | (unexec_regions_merge): New functions. Sort and merge unexec | |
12419 | regions before dumping them. | |
12420 | ||
f57bd967 DL |
12421 | 2003-07-22 Dave Love <fx@gnu.org> |
12422 | ||
12423 | * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. | |
12424 | ||
7cdee936 SM |
12425 | 2003-07-21 Stefan Monnier <monnier@cs.yale.edu> |
12426 | ||
12427 | * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) | |
12428 | (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than | |
12429 | MARKBIT as the gcmarkbit for strings. | |
12430 | ||
e50886d3 RS |
12431 | 2003-07-21 Richard M. Stallman <rms@gnu.org> |
12432 | ||
12433 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. | |
12434 | ||
29ea8ae9 | 12435 | * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. |
e50886d3 RS |
12436 | (syms_of_fns): Corresponding change. |
12437 | ||
12438 | * alloc.c (syms_of_alloc): Doc fixes. | |
12439 | ||
12440 | 2003-07-20 Han Boetes <han@mijncomputer.nl> (tiny change) | |
12441 | ||
12442 | * s/netbsd.h: Use -Wl syntax. | |
12443 | ||
fdc39b59 RS |
12444 | 2003-07-17 Richard M. Stallman <rms@gnu.org> |
12445 | ||
12446 | * xterm.c (xim_initialize): Redo 6/24 change. | |
12447 | ||
9c53385f SM |
12448 | 2003-07-15 Stefan Monnier <monnier@cs.yale.edu> |
12449 | ||
12450 | * buffer.c (copy_overlays): Use EMACS_INT for positions. | |
12451 | (Fswitch_to_buffer): Don't signal an error when switching to the same | |
12452 | buffer in a dedicated window. | |
12453 | ||
12454 | * alloc.c: Use bitmaps for cons, as was done for floats. | |
12455 | (init_float, init_cons): Let the normal code allocate the first block. | |
12456 | (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. | |
12457 | (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): | |
12458 | New macros. | |
12459 | (struct cons_block): Move conses to the beginning. Add gcmarkbits. | |
12460 | (Fcons): Use lisp_align_malloc and CONS_UNMARK. | |
12461 | (live_cons_p): Check the pointer is not past the `conses' array. | |
12462 | (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. | |
12463 | (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. | |
12464 | (survives_gc_p): Use CONS_MARKED_P and simplify. | |
12465 | (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. | |
12466 | ||
dde13196 PE |
12467 | 2003-07-13 Paul Eggert <eggert@twinsun.com> |
12468 | ||
12469 | GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it | |
12470 | puts it into BSS instead, at least on Solaris 8 and 9. | |
12471 | This is a valid optimization, and it may occur on other platforms, | |
12472 | so Emacs should not assume that initializing a static variable to | |
12473 | zero puts it into data. | |
12474 | * alloc.c (pure, staticvec): | |
12475 | Initialize these arrays to nonzero, so that they're not | |
12476 | put into BSS by that optimization. | |
12477 | ||
a801bc34 SM |
12478 | 2003-07-13 Stefan Monnier <monnier@cs.yale.edu> |
12479 | ||
12480 | * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. | |
12481 | (lisp_align_malloc): Use posix_memalign is available. | |
12482 | (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. | |
12483 | (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK | |
12484 | for consistency. Update users. | |
12485 | ||
0c8b2afa RS |
12486 | 2003-07-13 Richard M. Stallman <rms@gnu.org> |
12487 | ||
12488 | * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. | |
12489 | ||
668c2ab0 JB |
12490 | 2003-07-13 Terje Rosten <terjeros@phys.ntnu.no> |
12491 | ||
9dd28cae | 12492 | * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, |
668c2ab0 JB |
12493 | and use the Gtk+ function gtk_window_icon_from_file if available. |
12494 | ||
12495 | * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to | |
12496 | handle mask of bitmaps. | |
12497 | (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the | |
12498 | mask property. | |
12499 | (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. | |
12500 | ||
12501 | * xterm.h (xg_set_icon): New function. | |
12502 | ||
800bebe3 RS |
12503 | 2003-07-12 Paul Eggert <eggert@twinsun.com> |
12504 | ||
12505 | * unexelf.c (unexec): Consider a section to precede the .bss | |
12506 | section if its addresses overlap that of .bss. | |
12507 | ||
69e38995 RS |
12508 | 2003-07-12 Richard M. Stallman <rms@gnu.org> |
12509 | ||
12510 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. | |
12511 | ||
12512 | * config.in (HAVE_CRTIN): Add #undef. | |
12513 | (INLINE): Really inline only if OPTIMIZE is defined. | |
12514 | ||
12515 | * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, | |
12516 | END_FILES_1. | |
12517 | (START_FILES_1, END_FILES_1): New macros (conditional). | |
a801bc34 | 12518 | (LD_SWITCH_SYSTEM_TEMACS): Define. |
69e38995 RS |
12519 | |
12520 | * s/openbsd.h: Don't include bsd4-3.h. | |
a801bc34 SM |
12521 | (TERMINFO): Define. |
12522 | (LIBS_TERMCAP): Define. | |
12523 | (LD_SWITCH_SYSTEM): Define (two definitions). | |
69e38995 RS |
12524 | |
12525 | * xfns.c: Include libpng/png.h instead of png.h. | |
12526 | ||
f1d0c238 AS |
12527 | 2003-07-11 Andreas Schwab <schwab@suse.de> |
12528 | ||
12529 | * buffer.c (modify_overlay): Update prototype. | |
12530 | * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): | |
12531 | Likewise. | |
12532 | ||
5f6bf5fe SM |
12533 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
12534 | ||
12535 | * lisp.h (VALBITS): Define in terms of GCTYPEBITS. | |
12536 | (struct interval): Move to intervals.h. | |
12537 | (struct Lisp_Marker): Use EMACS_INT for position info. | |
12538 | (forward_point): Remove prototype of defunct function. | |
12539 | (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) | |
12540 | (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) | |
12541 | (syms_of_textprop, set_text_properties): Remove prototypes that are | |
12542 | already in intervals.h. | |
12543 | ||
12544 | * intervals.h (struct interval): Move from lisp.h. | |
12545 | Use EMACS_INT for position and size info. | |
12546 | ||
12547 | * coding.c: Include intervals.h for Fset_text_properties. | |
12548 | ||
12549 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
12550 | position and length information. | |
12551 | ||
2765b457 SM |
12552 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
12553 | ||
12554 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
12555 | position and length information. | |
12556 | ||
2410d73a SM |
12557 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
12558 | ||
12559 | Change overlays_after and overlays_before so the overlays themselves | |
12560 | are linked into lists, rather than using cons cells. After all each | |
12561 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | |
12562 | Lisp_Overlay for free and save up one cons cell per overlay (not | |
12563 | to mention one indirection when traversing the list of overlay). | |
12564 | ||
12565 | * lisp.h (struct Lisp_Overlay): New field `next'. | |
12566 | ||
12567 | * buffer.h (struct buffer): Change overlays_before and overlays_after | |
12568 | from Lisp lists of overlays to pointers to overlays. | |
12569 | ||
12570 | * buffer.c (overlay_strings, recenter_overlay_lists): | |
12571 | Fix typo in eassert in last commit. | |
12572 | (unchain_overlay): New function. | |
12573 | (add_overlay_mod_hooklist): Use AREF. | |
12574 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | |
12575 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | |
12576 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | |
12577 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | |
12578 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | |
12579 | Adjust to new type of overlays_(before|after). | |
12580 | ||
12581 | * alloc.c (mark_object): Mark the new `next' field of overlays. | |
12582 | (mark_buffer): Manually mark the overlays_(after|before) fields. | |
12583 | ||
12584 | * coding.c (run_pre_post_conversion_on_str): | |
12585 | * editfns.c (overlays_around): | |
12586 | * xdisp.c (load_overlay_strings): | |
12587 | * fileio.c (Finsert_file_contents): | |
12588 | * indent.c (current_column): | |
12589 | * insdel.c (signal_before_change, signal_after_change): | |
12590 | * intervals.c (set_point_both): | |
12591 | * print.c (temp_output_buffer_setup): Use new type for | |
12592 | overlays_(before|after). | |
12593 | ||
04812929 SM |
12594 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
12595 | ||
12596 | * buffer.c (report_overlay_modification): Don't run hooks while | |
12597 | traversing the list of overlays. | |
12598 | ||
12599 | * buffer.h (struct buffer): Use an int for overlay_center. | |
12600 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
12601 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
12602 | ||
12603 | * buffer.c (reset_buffer, recenter_overlay_lists) | |
12604 | (adjust_overlays_for_insert, adjust_overlays_for_delete) | |
12605 | (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) | |
12606 | (evaporate_overlays, init_buffer_once): Update use of overlay_center. | |
12607 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
12608 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
12609 | ||
12610 | * xdisp.c (fast_find_position): Remove unused var. | |
12611 | ||
12612 | * cmds.c (Qexpand_abbrev): New sym. | |
12613 | (syms_of_cmds): Initialize it. | |
12614 | (internal_self_insert): Use it to call expand-abbrev. | |
12615 | ||
2e7ecf15 KS |
12616 | 2003-07-09 Kim F. Storm <storm@cua.dk> |
12617 | ||
f9711de4 | 12618 | * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs |
2e7ecf15 | 12619 | was configured with --without-xim. |
42f81f64 | 12620 | (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. |
2e7ecf15 | 12621 | |
c6de56a0 RS |
12622 | 2003-07-07 Richard M. Stallman <rms@gnu.org> |
12623 | ||
12624 | * xdisp.c (reseat_1): Set it->area to TEXT_AREA. | |
12625 | ||
12626 | * alloc.c (Fgarbage_collect): Doc fix. | |
12627 | ||
b6189c3b | 12628 | 2003-07-07 Nozomu Ando <nand@mac.com> |
b93fb365 KH |
12629 | |
12630 | * buffer.c (Fkill_buffer): Clear charpos cache if necessary. | |
12631 | ||
bfe1a3f7 SM |
12632 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
12633 | ||
04812929 SM |
12634 | * minibuf.c (read_minibuf): UNGCPRO before returning. |
12635 | (Ftry_completion, Fall_completions): Doc fix. | |
12636 | ||
bfe1a3f7 SM |
12637 | * alloc.c (live_float_p): Check that p is not past the `floats' array, |
12638 | now that `floats' is not the last element of the struct any more. | |
12639 | ||
ee79d1aa JR |
12640 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
12641 | ||
12642 | * w32term.h (ClipboardSequence_Proc): New type. | |
12643 | ||
12644 | * w32fns.c (clipboard_sequence_fn): New variable. | |
12645 | (globals_of_w32fns): Initialize it. | |
12646 | ||
12647 | * w32select.c (last_clipboard_sequence_number): New variable. | |
12648 | (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence | |
12649 | number if possible. | |
12650 | ||
49723c04 SM |
12651 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
12652 | ||
4698665f SM |
12653 | * m/amdx86-64.h (MARKBIT): |
12654 | * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare | |
12655 | MARKBIT and ARRAY_MARK_FLAG any more. | |
12656 | ||
12657 | * m/hp800.h (XSETMARKBIT): | |
12658 | * m/sr2k.h (XSETMARKBIT): | |
12659 | * lisp.h (XSETMARKBIT): Remove unused macro. | |
12660 | ||
49723c04 SM |
12661 | * lisp.h (mark_object): Change prototype. |
12662 | ||
12663 | * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. | |
12664 | (last_marked): Change accordingly. | |
12665 | (mark_interval, mark_maybe_object, mark_maybe_pointer) | |
12666 | (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) | |
12667 | (mark_buffer): Update calls to mark_object. | |
12668 | ||
12669 | * bytecode.c (mark_byte_stack): | |
12670 | * fns.c (sweep_weak_table): | |
12671 | * keyboard.c (mark_kboards): Update calls to mark_object. | |
12672 | ||
1d660eca JR |
12673 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
12674 | ||
12675 | * alloc.c (struct ablock): Only include padding when there is some. | |
12676 | ||
618b5ae4 SM |
12677 | 2003-07-04 Stefan Monnier <monnier@cs.yale.edu> |
12678 | ||
12679 | * alloc.c (ALIGN): Add casts to simplify usage. | |
12680 | (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) | |
12681 | (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. | |
12682 | (struct ablock, struct ablocks): New types. | |
12683 | (free_ablock): New global var. | |
12684 | (lisp_align_malloc, lisp_align_free): New functions. | |
12685 | (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. | |
12686 | (struct float_block): Reorder and add gcmarkbits. | |
12687 | (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) | |
12688 | (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. | |
12689 | (init_float, make_float): Use lisp_align_malloc. | |
12690 | (free_float, live_float_p): Don't use `type' any more. | |
12691 | (make_float): Use FLOAT_UNMARK to access to mark bit. | |
12692 | (mark_maybe_object, mark_maybe_pointer, survives_gc_p): | |
12693 | Use FLOAT_MARKED_P to access the mark bit. | |
12694 | (pure_alloc): Simplify use of ALIGN. | |
12695 | (mark_object): Use FLOAT_MARK to access the mark bit. | |
12696 | (gc_sweep): Use new macros to access the float's mark bit. | |
12697 | (init_alloc_once): Init free_ablock. | |
12698 | ||
12699 | * lisp.h (struct Lisp_Float): Remove unused field `type'. | |
12700 | ||
3ef06d12 SM |
12701 | 2003-06-27 Stefan Monnier <monnier@cs.yale.edu> |
12702 | ||
12703 | * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. | |
12704 | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). | |
12705 | (allocate_buffer): Move. | |
12706 | (string_bytes): Don't mask markbit of `size_byte'. | |
12707 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
12708 | (mark_object, mark_buffer, survives_gc_p, gc_sweep): | |
12709 | Use the `size' field of buffers (rather than the `name' field) for | |
12710 | the mark bit, as is done for all other vectorlike objects. | |
12711 | Use the new macros to access the mark bit of vectorlike objects. | |
12712 | ||
e81043aa RS |
12713 | 2003-06-26 Richard M. Stallman <rms@gnu.org> |
12714 | ||
12715 | * puresize.h (BASE_PURESIZE): Increment base size. | |
12716 | ||
12717 | * xdisp.c (fast_find_position): Enable Gerd's new definition. | |
12718 | ||
12719 | * xterm.c (xim_initialize): Undo previous change. | |
12720 | ||
2d0834cc SM |
12721 | 2003-06-26 Stefan Monnier <monnier@cs.yale.edu> |
12722 | ||
12723 | * alloc.c (survives_gc_p): Simplify. | |
12724 | ||
12725 | * buffer.c (set_buffer_internal_1): Test CONSP for lists. | |
12726 | ||
12727 | * window.c (Fset_window_dedicated_p): Simplify. | |
12728 | (display_buffer_1): Don't raise the win from which minibuf was entered. | |
12729 | (temp_output_buffer_show): Don't assume BEG == 1. Simplify. | |
12730 | (Fminibuffer_selected_window): Simplify. | |
12731 | ||
12732 | * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. | |
12733 | ||
12734 | * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. | |
12735 | (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. | |
12736 | ||
12737 | * insdel.c (check_markers, adjust_markers_for_delete) | |
12738 | (adjust_markers_for_insert, adjust_markers_for_replace) | |
12739 | (prepare_to_modify_buffer, RESTORE_VALUE): | |
12740 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) | |
12741 | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) | |
12742 | (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): | |
12743 | * alloc.c (Fmake_marker, free_marker, gc_sweep): | |
12744 | * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): | |
12745 | * editfns.c (save_excursion_restore, transpose_markers): | |
12746 | * window.c (delete_window): | |
12747 | * xdisp.c (message_dolog): Update for new types. | |
12748 | ||
d54ae3d8 JD |
12749 | 2003-06-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12750 | ||
a5f696ac JD |
12751 | * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. |
12752 | (realize_default_face): Use default_face_done_p for the force_p | |
2d0834cc | 12753 | argument to set_lface_from_font_name. Set default_face_done_p to one. |
a5f696ac JD |
12754 | |
12755 | * frame.c (make_frame): Initialize default_face_done_p. | |
12756 | ||
12757 | * frame.h (struct frame): Add default_face_done_p. | |
12758 | ||
d54ae3d8 JD |
12759 | * config.in: Add XRegisterIMInstantiateCallback_arg6 so it |
12760 | will be defined. | |
12761 | ||
2336fe58 SM |
12762 | 2003-06-25 Stefan Monnier <monnier@cs.yale.edu> |
12763 | ||
12764 | * alloc.c (make_interval, Fmake_symbol, allocate_misc): | |
12765 | Initialize the new field `gcmarkbit'. | |
12766 | (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. | |
12767 | (mark_interval_tree): Don't mark the tree separately from the nodes. | |
12768 | (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. | |
12769 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
12770 | (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. | |
12771 | ||
12772 | * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) | |
12773 | (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) | |
12774 | (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) | |
12775 | (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) | |
12776 | (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. | |
12777 | ||
bcea31c2 DL |
12778 | 2003-06-24 Dave Love <fx@gnu.org> |
12779 | ||
12780 | * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. | |
12781 | ||
12782 | * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes | |
12783 | from gnulib. | |
12784 | ||
2601f59e RS |
12785 | 2003-06-21 Richard M. Stallman <rms@gnu.org> |
12786 | ||
12787 | * fileio.c (Fwrite_region): Alternate messages | |
12788 | for append and partial write. | |
12789 | ||
12790 | * keyboard.c (read_key_sequence): When converting upcase fn key to | |
12791 | downcase, update fkey and keytran so `backspace' gets translated. | |
12792 | ||
12793 | * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. | |
12794 | ||
12795 | * process.c (wait_reading_process_input): Don't signal SIGIO | |
12796 | in batch mode. | |
12797 | ||
b5d2c621 KH |
12798 | 2003-06-17 Kenichi Handa <handa@m17n.org> |
12799 | ||
12800 | * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, | |
12801 | composite.h. | |
12802 | ||
12803 | * xselect.c: Don't include charset.h, coding.h, composite.h. | |
12804 | (Qforeign_selection): New variable. | |
12805 | (syms_of_xselect): Intern and static it. | |
12806 | (selection_data_to_lisp_data): Return a unibyte string made from | |
12807 | data with `foreign-selection' text property. | |
12808 | ||
6793bc63 SM |
12809 | 2003-06-15 Stefan Monnier <monnier@cs.yale.edu> |
12810 | ||
12811 | * termhooks.h (EVENT_INIT): New macro. | |
12812 | ||
12813 | * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. | |
12814 | ||
12815 | * alloc.c (mark_kboards): Move to keyboard.c. | |
12816 | ||
12817 | * keyboard.c (record_asynch_buffer_change, read_avail_input): | |
12818 | * xterm.c (x_dispatch_event): | |
12819 | * xmenu.c (find_and_call_menu_selection): | |
12820 | * xdisp.c (handle_tool_bar_click): | |
12821 | * w32menu.c (menubar_selection_callback): | |
12822 | * sysdep.c (kbd_input_ast, read_input_waiting): | |
12823 | * msdos.c (dos_rawgetc): | |
12824 | * macterm.c (mac_check_for_quit_char): | |
12825 | * macmenu.c (menubar_selection_callback): | |
12826 | * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized | |
12827 | data to kbd_buffer_store_event. | |
12828 | ||
b3ea810c KS |
12829 | 2003-06-15 Kim F. Storm <storm@cua.dk> |
12830 | ||
12831 | * xdisp.c (x_fix_overlapping_area): Always use area relative X | |
6793bc63 | 12832 | to fix redisplay problem with tall characters (such as \e,AC\e(B). |
b3ea810c | 12833 | |
b8f75eda KG |
12834 | 2003-06-13 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
12835 | ||
12836 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | |
12837 | ||
ba92ce48 KH |
12838 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
12839 | ||
12840 | * fileio.c (Fwrite_region): Save and restore restriction. | |
12841 | ||
b80263be DL |
12842 | 2003-06-12 Dave Love <fx@gnu.org> |
12843 | ||
12844 | * alloca.c (alloca): Declare arg as size_t. | |
12845 | ||
6793bc63 SM |
12846 | * sysdep.c: Remove redundant include of unistd.h, stdlib.h. |
12847 | Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. | |
b80263be | 12848 | |
b23c0a83 DL |
12849 | 2003-06-11 Dave Love <fx@gnu.org> |
12850 | ||
12851 | * search.c (shrink_regexp_cache): Use xrealloc. | |
12852 | (syms_of_search): Use xmalloc. | |
12853 | ||
700e47c2 KS |
12854 | 2003-06-10 Kim F. Storm <storm@cua.dk> |
12855 | ||
12856 | * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. | |
12857 | Adjust phys_cursor.x to be relative to window box, rather than | |
12858 | text area before checking -- to ensure cursor is redrawn when | |
12859 | exposing window. | |
12860 | Note: This also fixes a similar (older) bug if display margins | |
12861 | are present. | |
12862 | ||
f11aa0b2 KH |
12863 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
12864 | ||
12865 | * coding.c (encoding_buffer_size): If coding->type is | |
12866 | coding_type_ccl, double magnification on CRLF encoding. | |
12867 | ||
3d143690 JR |
12868 | 2003-06-06 Jason Rumney <jasonr@gnu.org> |
12869 | ||
12870 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. | |
12871 | (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. | |
12872 | ||
12873 | * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and | |
12874 | Mac too. | |
12875 | ||
f16205ca DL |
12876 | 2003-06-05 Dave Love <fx@gnu.org> |
12877 | ||
b23c0a83 DL |
12878 | * strftime.c: Merge changes from gnulib. |
12879 | ||
f16205ca DL |
12880 | * mktime.c (__mktime_internal): Merge changes from gnulib |
12881 | involving year 69 and dst2. | |
12882 | ||
12883 | Changes to merge with gnulib version and be consistent with the | |
12884 | autoconf test: | |
12885 | ||
6793bc63 SM |
12886 | * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. |
12887 | Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. | |
f16205ca DL |
12888 | [HAVE_LOCALE_H]: Include locale.h. |
12889 | (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. | |
12890 | ||
9b87a0bc KS |
12891 | 2003-06-05 Kim F. Storm <storm@cua.dk> |
12892 | ||
12893 | * window.c (coordinates_in_window): Convert X and Y to window | |
12894 | relative coordinates inside mode-line and header-line parts. | |
12895 | Convert X and Y to margin area relative coordinates inside left | |
12896 | and right display margin parts. | |
12897 | ||
5a8a15ec JR |
12898 | 2003-06-05 Jason Rumney <jasonr@gnu.org> |
12899 | ||
12900 | * w32fns.c (add_system_logical_colors_to_map): New function. | |
12901 | (Fx_open_connection): Use it. | |
12902 | ||
01ed8ff1 SM |
12903 | 2003-06-04 Stefan Monnier <monnier@cs.yale.edu> |
12904 | ||
12905 | * process.c (allocate_pty): Revert part of the previous patch. | |
12906 | (Faccept_process_output): Simplify. | |
12907 | ||
b427b65d JR |
12908 | 2003-06-04 Jason Rumney <jasonr@gnu.org> |
12909 | ||
12910 | * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. | |
12911 | ||
12912 | * keyboard.c (Qmouse_wheel, mouse_wheel_syms) | |
12913 | (lispy_mouse_wheel_names): Remove. | |
12914 | (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. | |
12915 | Always define drag_and_drop_syms. | |
12916 | ||
12917 | * macterm.c (XTread_socket): Map mouse wheel events to Emacs | |
12918 | WHEEL_EVENT events. | |
12919 | ||
914a8c47 SM |
12920 | 2003-06-03 Stefan Monnier <monnier@cs.yale.edu> |
12921 | ||
01ed8ff1 SM |
12922 | * xdisp.c (update_tool_bar): Add missing UNGCPRO. |
12923 | ||
914a8c47 SM |
12924 | * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. |
12925 | ||
adcb132c JD |
12926 | 2003-06-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12927 | ||
12928 | * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL | |
12929 | menu item label. | |
12930 | ||
be781fa7 RS |
12931 | 2003-06-03 Richard M. Stallman <rms@gnu.org> |
12932 | ||
12933 | * window.c (Fwindow_edges): Doc fix. | |
12934 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
12935 | (Fwindow_inside_pixel_edges): New functions. | |
12936 | (syms_of_window): defsubr them. | |
12937 | ||
12938 | * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | |
12939 | (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. | |
12940 | ||
914a8c47 SM |
12941 | 2003-06-02 Stefan Monnier <monnier@cs.yale.edu> |
12942 | ||
12943 | * dispnew.c (Fsit_for): Don't lie about the number of args. | |
12944 | ||
5b07197a DL |
12945 | 2003-06-02 Dave Love <fx@gnu.org> |
12946 | ||
12947 | * callproc.c: Use HAVE_FCNTL_H, not USG5. | |
12948 | (syms_of_callproc) <process-environment>: Doc fix. | |
12949 | ||
12950 | * doc.c: Use HAVE_FCNTL_H, not USG5. | |
12951 | ||
12952 | * xfaces.c (font_rescale_ratio): Fix for K&R. | |
12953 | ||
12954 | * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. | |
12955 | ||
12956 | * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. | |
12957 | ||
12958 | * lread.c [HAVE_FCNTL_H]: Include fcntl.h. | |
12959 | ||
12960 | * gtkutil.c: Include keyboard.h, charset.h, coding.h. | |
12961 | (xg_create_frame_widgets): Use ENCODE_UTF_8. | |
12962 | ||
d7107586 | 12963 | * xterm.c (Qutf_8): Move to coding.c |
5b07197a DL |
12964 | |
12965 | * xmenu.c (ENCODE_MENU_STRING): New. | |
12966 | (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): | |
12967 | Use it. | |
12968 | ||
12969 | * coding.h (ENCODE_UTF_8): New. | |
12970 | (Qutf_8): Declare. | |
12971 | ||
12972 | * coding.c (Qutf_8): New. | |
12973 | (syms_of_coding): Intern it. | |
12974 | ||
12975 | * fns.c: Doc fixes. | |
12976 | ||
7335b336 KH |
12977 | 2003-06-02 Kenichi Handa <handa@m17n.org> |
12978 | ||
12979 | * buffer.c (Fset_buffer_multibyte): Fix previous change. | |
12980 | ||
914a8c47 SM |
12981 | 2003-06-01 Stefan Monnier <monnier@cs.yale.edu> |
12982 | ||
12983 | * lread.c (openp): Make sure STR is a string. | |
12984 | ||
9862c135 JR |
12985 | 2003-06-01 David Ponce <david@dponce.com> |
12986 | ||
cab27d04 | 12987 | * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. |
9862c135 JR |
12988 | Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. |
12989 | ||
12990 | * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. | |
12991 | (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. | |
12992 | (discard_mouse_events): Discard WHEEL_EVENT events too. | |
12993 | (lispy_wheel_names, wheel_syms): New. | |
12994 | (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and | |
cab27d04 | 12995 | staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. |
914a8c47 | 12996 | (make_lispy_event): Add WHEEL_EVENT handler. |
9862c135 JR |
12997 | |
12998 | * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. | |
12999 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
13000 | WHEEL_EVENT events. | |
13001 | ||
f984e73e JPW |
13002 | 2003-05-31 John Paul Wallington <jpw@gnu.org> |
13003 | ||
13004 | * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and | |
13005 | timer are in lisp/emacs-lisp. | |
13006 | ||
1efcd78f KH |
13007 | 2003-05-31 Kenichi Handa <handa@m17n.org> |
13008 | ||
458c8af4 KH |
13009 | * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed |
13010 | region when a buffer is changed to unibyte. | |
13011 | ||
1efcd78f KH |
13012 | * charset.h (VALID_LEADING_CODE_P): New macro. |
13013 | (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. | |
13014 | ||
778e2804 KH |
13015 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags |
13016 | is nonzero, accept multibyte form of eight-bit-control chars. | |
13017 | (decode_composition_emacs_mule): Likewise. | |
13018 | (decode_coding_emacs_mule): Likewise. | |
13019 | (encode_coding_emacs_mule): If coding->flags is nonzero, produce | |
13020 | multibyte form of eight-bit-control chars. | |
13021 | ||
13022 | * fileio.c (Qauto_save_coding, auto_save_coding): New variables. | |
13023 | (Finsert_file_contents): If coding-system-for-read is bound to | |
13024 | Qauto_save_coding, use the coding system emacs-mule with special | |
13025 | setting for recovering a file. | |
13026 | (choose_write_coding_system): On auto saving, use the coding | |
13027 | system emacs-mule with special setting for auto saving. | |
13028 | (syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it. | |
13029 | ||
034060e4 KH |
13030 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
13031 | ||
13032 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
13033 | properly before calling ccl_driver. | |
13034 | ||
778e2804 | 13035 | * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. |
034060e4 | 13036 | |
cab27d04 | 13037 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. |
034060e4 KH |
13038 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. |
13039 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
13040 | ||
595f5aa5 GM |
13041 | 2003-05-29 Glenn Morris <gmorris@ast.cam.ac.uk> |
13042 | ||
13043 | * xfaces.c (realize_default_face): Do not abort if lface is | |
13044 | non-existent - reverts change from 2003-05-19. | |
13045 | ||
103e0180 KH |
13046 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
13047 | ||
13048 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
13049 | sequence of CTEXT extended segment, and retain those bytes as is. | |
13050 | ||
13051 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
13052 | ||
cab27d04 | 13053 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change |
103e0180 KH |
13054 | of CODING_REPLACEMENT_CHARACTER. |
13055 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
13056 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
13057 | check this flag on encoding. | |
cab27d04 SM |
13058 | (encode_coding_sjis_big5): |
13059 | Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
13060 | (Fset_terminal_coding_system_internal): | |
13061 | Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
13062 | instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. | |
13063 | ||
13064 | * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from | |
103e0180 KH |
13065 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
13066 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
13067 | ||
ff6a3bfb | 13068 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 13069 | |
ff6a3bfb RS |
13070 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
13071 | ||
13072 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 13073 | |
1963c428 KS |
13074 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
13075 | ||
13076 | * xdisp.c (expose_window): Fix error in calculation of | |
13077 | window relative coordinates of area to redisplay. | |
13078 | ||
2b5d4601 JR |
13079 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
13080 | ||
13081 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
13082 | ||
1c64a4a2 JB |
13083 | 2003-05-27 David Ponce <david@dponce.com> |
13084 | ||
13085 | Handle W32 mouse wheel events as mouse click events, like in X. | |
13086 | ||
13087 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
13088 | MOUSE_WHEEL_EVENT anymore. | |
13089 | ||
13090 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
13091 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
13092 | button 4 and 5. | |
13093 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
13094 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
13095 | WM_MOUSEWHEEL events. | |
13096 | ||
2d031b89 AS |
13097 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
13098 | ||
20464fdf AS |
13099 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
13100 | ||
2d031b89 AS |
13101 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
13102 | partially visible line. | |
13103 | ||
13104 | * alloc.c (Fgarbage_collect): Fix last change. | |
13105 | ||
97bc76d4 JPW |
13106 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
13107 | ||
13108 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
13109 | ||
56613f06 SM |
13110 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
13111 | ||
13112 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
13113 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
13114 | ||
13115 | * window.h (window_box_text_cols): Declare. | |
13116 | ||
13117 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
13118 | (x_draw_vertical_border): Remove unused var `f'. | |
13119 | ||
13120 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
13121 | pixel_size' warning. | |
13122 | ||
13123 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
13124 | ||
13125 | * unexelf.c (unexec): Remove `unused var n' warning. | |
13126 | ||
13127 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
13128 | unused' warning. | |
13129 | ||
13130 | * process.c (allocate_pty): Remove `unused var stb' and | |
13131 | `cp might be used uninitialized' warnings. | |
13132 | ||
13133 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
13134 | ||
13135 | * coding.c (find_safe_codings): Remove unused var `i'. | |
13136 | ||
13137 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
13138 | ||
13139 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
13140 | ||
13141 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
13142 | ||
93421a1f JD |
13143 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13144 | ||
13145 | * frame.c (make_frame): Condition want_fullscreen with | |
13146 | HAVE_WINDOW_SYSTEM. | |
13147 | ||
c4b8aebc JB |
13148 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
13149 | ||
13150 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
13151 | (Fwindow_scroll_bars): Fix typo in docstring. | |
13152 | ||
0416870b KS |
13153 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
13154 | ||
13155 | The following changes serve several purposes: | |
13156 | ||
13157 | 1) Swap the position of fringes and display margins in windows, i.e. | |
13158 | the fringes are now displayed between the margins and the text area | |
13159 | (by default). | |
13160 | ||
13161 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
13162 | per-window (like display margins). Such settings are now stored | |
13163 | in window configurations, preserved when frames are resized, and | |
9018a88e | 13164 | copied when windows are split vertically or horizontally. |
0416870b KS |
13165 | Several bugs related to display margins have been fixed. |
13166 | ||
13167 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 13168 | |
0416870b KS |
13169 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
13170 | rather than FRAME_WIDTH (FRAME_FONT (f)). | |
13171 | ||
13172 | 5) Introduce a consistent naming of variables, members and macros | |
13173 | depending on whether their value is measured in pixels or in | |
13174 | canonical columns/lines. Pixel dimensions are named *_width and | |
13175 | *_height, while canonical columns/lines are named *_cols and | |
13176 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
13177 | positions are named *_col and *_line. | |
13178 | ||
13179 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
13180 | common data into struct frame, and generalize it for the non-gui | |
13181 | case by using suitable defaults. | |
13182 | ||
13183 | 7) Cleanup and consolidate the macros controlling frame and window | |
13184 | layout into frame.h and window.h, and generalize the use of the | |
13185 | various window_box_* functions (enhanced to handle the new fringe | |
13186 | position and the per-window fringe and scroll bar settings). | |
13187 | ||
13188 | * frame.h (struct frame): Rename members height to text_lines, | |
13189 | width to text_cols, window_height to total_lines, window_width to | |
13190 | total_cols, new_height to new_text_lines, new_width to | |
13191 | new_text_cols. All uses changed. | |
13192 | (struct frame): New members which consolidate common members of | |
13193 | x_output, w32_output, and mac_output structures: left_pos, | |
13194 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
13195 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
13196 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
13197 | want_fullscreen. All uses changed. | |
13198 | (struct frame): New member column_width contaning the canonical | |
13199 | column width, analogue to line_height. All uses changed. | |
13200 | (struct frame): Rename members scroll_bar_pixel_width to | |
13201 | config_scroll_bar_width, and scroll_bar_cols to | |
13202 | config_scroll_bar_cols. All uses changed. | |
13203 | (struct frame): New member scroll_bar_actual_width which | |
13204 | consolidates and renames the vertical_scroll_bar_extra member of | |
13205 | x_output, w32_output, and mac_output structures. All uses changed. | |
cab27d04 | 13206 | (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved |
0416870b KS |
13207 | from x/w32/macterm.h files. All uses changed. Also change code |
13208 | which referred to f->output_data...->pixel_height. | |
cab27d04 | 13209 | (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved |
f63fd14e | 13210 | from x/w32/macterm.h files. All uses changed. Also change code |
0416870b | 13211 | which referred to f->output_data...->pixel_width. |
cab27d04 | 13212 | (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. |
0416870b | 13213 | Also change code which referred to f->height. |
cab27d04 | 13214 | (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. |
0416870b KS |
13215 | Also change code which referred to f->width. |
13216 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
13217 | to update new_text_lines and new_text_cols members directly. | |
cab27d04 | 13218 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from |
0416870b | 13219 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. |
cab27d04 | 13220 | (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from |
0416870b KS |
13221 | FRAME_SCROLL_BAR_COLS. All uses changed. |
13222 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
cab27d04 | 13223 | Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and |
0416870b KS |
13224 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. |
13225 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
13226 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
cab27d04 SM |
13227 | (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. |
13228 | (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. | |
13229 | (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. | |
0416870b KS |
13230 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. |
13231 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
cab27d04 SM |
13232 | (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. |
13233 | Unconditionally return line_height member (it now has proper value | |
13234 | also for non-window frames). | |
13235 | (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally | |
0416870b KS |
13236 | return new column_width member (rather than the default font width). |
13237 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
cab27d04 | 13238 | (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved |
0416870b KS |
13239 | from x/w32/macterm.h files. Unconditionally return corresponding |
13240 | member of frame structure (they now have proper values also for | |
13241 | non-window frames). | |
cab27d04 | 13242 | (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. |
0416870b KS |
13243 | Calculate return value from left and right widths. |
13244 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
13245 | internal_border_width member (has proper value for non-window frame). | |
cab27d04 SM |
13246 | (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. |
13247 | (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. | |
13248 | (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. | |
13249 | (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. | |
13250 | (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, | |
0416870b | 13251 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 13252 | (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, |
0416870b | 13253 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 13254 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from |
0416870b | 13255 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 13256 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from |
0416870b | 13257 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. |
cab27d04 | 13258 | (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW |
0416870b | 13259 | consolidated from x/mac/w32term.h. |
cab27d04 | 13260 | (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL |
0416870b | 13261 | consolidated from x/mac/w32term.h. |
cab27d04 | 13262 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from |
0416870b | 13263 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 13264 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from |
0416870b KS |
13265 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. |
13266 | ||
13267 | * window.h (struct window): Rename members left to left_col, | |
13268 | top to top_line, height to total_lines, width to total_cols, | |
13269 | left_margin_width to left_margin_cols, right_margin_width to | |
13270 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
13271 | orig_top_line. All uses changed. | |
13272 | (struct window): New members left_fringe_width, right_fringe_width, | |
13273 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
13274 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
13275 | New macros primarily used to simplify other macros. | |
13276 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
13277 | referred to XINT (w->width). | |
13278 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
13279 | referred to XINT (w->height). | |
13280 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
13281 | referred to XINT (w->width) * canon_x_unit. | |
13282 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
13283 | referred to XINT (w->height) * canon_y_unit. | |
13284 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
13285 | referred to XINT (w->left). | |
cab27d04 | 13286 | (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change |
0416870b KS |
13287 | all uses and code that referred to XINT (w->left) + XINT (w->width). |
13288 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
13289 | referred to XINT (w->top). | |
13290 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
13291 | referred to XINT (w->top) + XINT (w->height). | |
13292 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
13293 | referred to XINT (w->left) * canon_x_unit. | |
13294 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
13295 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
13296 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
13297 | referred to XINT (w->top) * canon_y_unit. | |
13298 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
13299 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
13300 | (WINDOW_LEFTMOST_P): New macro. | |
cab27d04 | 13301 | (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. |
0416870b | 13302 | All uses changed. |
cab27d04 | 13303 | (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. |
0416870b | 13304 | All uses changed. |
cab27d04 | 13305 | (WINDOW_BOX_LEFT_EDGE_X): Rename from |
0416870b KS |
13306 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. |
13307 | Do not exclude left fringe width. | |
cab27d04 | 13308 | (WINDOW_BOX_RIGHT_EDGE_X): Rename from |
0416870b KS |
13309 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. |
13310 | Do not exclude fringe widths. | |
13311 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
13312 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
13313 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
13314 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
13315 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
13316 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
13317 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
13318 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
13319 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
13320 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
13321 | New macros. Change code which referenced corresponding | |
13322 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
13323 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
13324 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
13325 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
13326 | allow per-window scroll-bar settings. | |
13327 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
13328 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
13329 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
13330 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
13331 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
13332 | FRAME_SCROLL_BAR_WIDTH. | |
13333 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 13334 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
cab27d04 | 13335 | (WINDOW_HEADER_LINE_HEIGHT): Rename from |
0416870b | 13336 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
cab27d04 | 13337 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from |
0416870b | 13338 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. |
cab27d04 | 13339 | (WINDOW_BOX_TEXT_HEIGHT): Rename from |
0416870b KS |
13340 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. |
13341 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
13342 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
cab27d04 SM |
13343 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. |
13344 | (WINDOW_LEFT_MARGIN_WIDTH): Rename from | |
0416870b | 13345 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
cab27d04 | 13346 | (WINDOW_RIGHT_MARGIN_WIDTH): Rename from |
0416870b KS |
13347 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
13348 | (window_from_coordinates): Update prototype. | |
13349 | (Fset_window_buffer): Update EXFUN. | |
13350 | (set_window_buffer): Update prototype. | |
9018a88e | 13351 | |
0416870b | 13352 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 13353 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
13354 | changed. |
13355 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
13356 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
13357 | internal_border_width is now set to 0 for non-window frames. | |
13358 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
13359 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
13360 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
13361 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
13362 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
13363 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
13364 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
13365 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
13366 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 13367 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
13368 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
13369 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
13370 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
13371 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
13372 | (frame_update_line_height): Remove prototype. |
13373 | ||
13374 | * buffer.h (struct buffer): Rename members measured in columns: | |
13375 | left_margin_width to left_margin_cols, right_margin_width to | |
13376 | right_margin_cols. All uses changed. | |
13377 | New members left_fringe_width, right_fringe_width, | |
13378 | fringes_outside_margins for per-buffer fringe settings. | |
13379 | New members scroll_bar_width and vertical_scroll_bar_type for | |
13380 | per-buffer scroll bar settings. | |
13381 | ||
13382 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
13383 | buffer_local_flags for new buffer-local variables | |
13384 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
13385 | scroll_bar_width, and vertical_scroll_bar_type. | |
13386 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
13387 | default-* variables for them. | |
13388 | ||
13389 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
13390 | new macros in dispextern.h, frame.h and window.h. | |
13391 | (mode_line_string): No need to adjust width for mode lines, as it | |
13392 | is already adjusted by the caller. | |
13393 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 13394 | |
0416870b KS |
13395 | * frame.c: Make (many) trivial substitutions for renamed and |
13396 | new macros in dispextern.h, frame.h and window.h. | |
13397 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
13398 | fringe_cols, scroll_bar_actual_width, border_width, | |
13399 | internal_border_width, column_width, line_height, x_pixels_diff, | |
13400 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
13401 | members with values suitable for a non-window frames. | |
13402 | ||
13403 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
13404 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 13405 | |
0416870b KS |
13406 | * indent.c: Make (few) trivial substitutions for renamed and |
13407 | new macros in dispextern.h, frame.h and window.h. | |
13408 | ||
13409 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
13410 | new macros in dispextern.h, frame.h and window.h. | |
13411 | (make_lispy_event): Use window positions returned from | |
13412 | window_from_coordinates when constructing the lisp event for | |
13413 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
13414 | (incorrect) values locally. | |
13415 | (make_lispy_movement): Use window positions returned from | |
13416 | window_from_coordinates when constructing the lisp event, rather | |
13417 | than calculating (incorrect) values locally. | |
13418 | ||
13419 | * scroll.c: Make (some) trivial substitutions for renamed and | |
13420 | new macros in dispextern.h, frame.h and window.h. | |
13421 | ||
13422 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
13423 | scroll-bars. | |
13424 | ||
13425 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
13426 | new macros in dispextern.h, frame.h and window.h. | |
13427 | ||
13428 | * term.c: Make (some) trivial substitutions for renamed and | |
13429 | new macros in dispextern.h, frame.h and window.h. | |
13430 | ||
13431 | * widget.c: Make (few) trivial substitutions for renamed and | |
13432 | new macros in dispextern.h, frame.h and window.h. | |
13433 | ||
13434 | * window.c: Make (many) trivial substitutions for renamed and | |
13435 | new macros in dispextern.h, frame.h and window.h. | |
13436 | (make_window): Initialize new members | |
13437 | left_margin_cols, right_margin_cols, left_fringe_width, | |
13438 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
13439 | and vertical_scroll_bar_type. | |
cab27d04 | 13440 | (coordinates_in_window): Adapt to new fringe/margin positions |
9018a88e | 13441 | and per-window fringes and scroll-bars. |
0416870b | 13442 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 13443 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
13444 | the internal_border_width is typically 0 or 1 pixel, but very |
13445 | noticeable for an internal_border_width of e.g. 25 pixels). | |
13446 | Upon successful return (other than ON_NOTHING), the coordinates | |
13447 | are now always properly converted to window relative for the | |
13448 | given display element. | |
13449 | (window_from_coordinates): Add new parameters wx and wy to | |
13450 | return the window relative x and y position in the returned | |
13451 | window and part. A null arg means, don't return the position. | |
13452 | All callers changed. | |
13453 | (adjust_window_margins): New function which may reduce the width | |
13454 | of the display margins if a window's text area is too small after | |
13455 | resizing or splitting windows. | |
13456 | (size_window): Fix bug that did not account for display margin | |
13457 | widths when checking the minimum width of a window; use | |
13458 | adjust_window_margins. | |
13459 | (set_window_buffer): Call Fset_window_fringes and | |
13460 | Fset_window_scroll_bars to setup per-window elements. | |
13461 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
13462 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
13463 | (e.g. after splitting a window or resizing the frame). |
13464 | All callers changed. | |
0416870b KS |
13465 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
13466 | (Fsplit_window): Duplicate original window's display margin, | |
13467 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
13468 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
13469 | window to only preserve the display margins in one of the windows. | |
c4b8aebc | 13470 | When splitting horizontally, call adjust_window_margins on both |
0416870b | 13471 | windows to ensure that the text area of the new windows is non too |
f9711de4 | 13472 | narrow. This fixes a bug which could cause Emacs to trap if the |
0416870b KS |
13473 | width of the split window was less than the width of the display |
13474 | margins. | |
cab27d04 | 13475 | (window_box_text_cols): Rename from window_internal_width. |
9018a88e | 13476 | All uses changed. Adapt to per-window fringes and scroll bars. |
0416870b KS |
13477 | Fix bug that caused vertical separator to be subtracted also on |
13478 | window frames. Fix another bug that did not reduce the returned | |
13479 | value by the columns used for display margins. | |
13480 | (window_scroll_line_based): Fix bug related to scrolling too much | |
13481 | when display margins are present (implicitly fixed by the fix to | |
13482 | window_box_text_cols). | |
13483 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
13484 | by default when display margins are present (implicitly fixed by | |
13485 | the fix to window_box_text_cols). | |
13486 | (struct saved_window): Rename members left to left_col, top to | |
13487 | top_line, width to total_cols, height to total_lines, orig_top to | |
13488 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
13489 | New members left_margin_cols, right_margin_cols, | |
13490 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
13491 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
13492 | per-window display elements. | |
13493 | (Fset_window_configuration): Restore display margins, fringes, | |
13494 | and scroll bar settings. This fixes a bug which caused display | |
13495 | margins to be discarded when saving and restoring a window | |
13496 | configuration. | |
13497 | (save_window_save): Save display margins, fringes, and scroll bar | |
13498 | settings. This fixes a bug which caused display margins to be | |
13499 | discarded when saving and restoring a window configuration. | |
13500 | (Fset_window_margins): Do nothing if display margins are not | |
13501 | really changed. Otherwise, call adjust_window_margins to ensure | |
13502 | the text area doesn't get too narrow. This fixes a bug which | |
f9711de4 | 13503 | could cause Emacs to trap if setting display margins wider than |
0416870b KS |
13504 | the width of the window. |
13505 | (Fset_window_fringes): New defun to allow user to specifically set | |
13506 | this window's fringe widths and position vs. display margins. | |
cab27d04 | 13507 | (Fwindow_fringes): New defun to return window's actual fringe settings. |
0416870b KS |
13508 | (Fset_window_scroll_bars): New defun to allow user to specifically |
13509 | set this window's scroll bar width and position. | |
13510 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
13511 | bar settings. | |
13512 | (compare_window_configurations): Also compare display margins, | |
13513 | fringes, and scroll bar settings. | |
13514 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
13515 | ||
13516 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
13517 | new macros in dispextern.h, frame.h and window.h. | |
13518 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
f63fd14e | 13519 | and new fringe vs. display margin position. Note that returned |
0416870b KS |
13520 | value is no longer guaranteed to be a whole multiple of the frame |
13521 | column width, since per-window fringes may now be any width. | |
13522 | (window_box_left_offset): New function like window_box_left, but | |
13523 | value is relative to left border of window (rather than frame). | |
13524 | (window_box_right_offset): New function like window_box_right, | |
13525 | but value is relative to left border of window. | |
13526 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
13527 | and new fringe vs. display margin position. Simplify by using | |
13528 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
13529 | (window_box): Allow null args for unnecessary return values; | |
13530 | change/simplify relevant callers. | |
13531 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
13532 | and new fringe vs. display margin position. |
13533 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 13534 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
13535 | scroll bars, and new fringe vs. display margin position. |
13536 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
13537 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
13538 | fringe vs. display margin position. | |
13539 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
a64387ee JB |
13540 | (redisplay_window): Adapt to per-window scroll bars. |
13541 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
13542 | bars, and new fringe vs. display margin position. |
13543 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
a64387ee | 13544 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
0416870b KS |
13545 | bars, and new fringe vs. display margin position. Fix bug which |
13546 | increased total width of full_width rows by width of scroll bars | |
13547 | although window's total width already includes that. | |
13548 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
13549 | (expose_area): Simplify using window_box_left_offset. | |
13550 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
13551 | mixing windows with left, right and no scroll bars. | |
13552 | ||
13553 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
13554 | where it's used in x_list_fonts (for clarity). | |
13555 | (frame_update_line_height): Remove unused function; functionality | |
13556 | is now done directly when setting the default font in x_set_font. | |
13557 | ||
13558 | * xfns.c: Make (many) trivial substitutions for renamed and | |
13559 | new macros in dispextern.h, frame.h and window.h. | |
13560 | ||
13561 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
13562 | new macros in dispextern.h, frame.h and window.h. | |
13563 | ||
13564 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
13565 | border_width, pixel_height, pixel_width, line_height, | |
13566 | internal_border_width, vertical_scroll_bar_extra, | |
13567 | left_fringe_width, right_fringe_width, fringe_cols, | |
13568 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
13569 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
13570 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
13571 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
13572 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
13573 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 13574 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
13575 | frame.h and renamed [see frame.h changes]. |
13576 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
13577 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 13578 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 13579 | and renamed [see frame.h changes]. |
9018a88e | 13580 | |
0416870b KS |
13581 | * xterm.c: Make (several) trivial substitutions for renamed and |
13582 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 13583 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
13584 | (scroll_run): Adapt to new fringe position. |
13585 | (glyph_rect): Use window coordinates returned from | |
13586 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
13587 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
13588 | scroll-bars. | |
13589 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
13590 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
13591 | (fringes are now inside margins, i.e. always in the clipping area). | |
13592 | All callers changed. | |
13593 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
13594 | directly, then call compute_fringe_widths. Don't call | |
13595 | frame_update_line_height. | |
13596 | ||
13597 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
13598 | border_width, pixel_height, pixel_width, line_height, | |
13599 | internal_border_width, vertical_scroll_bar_extra, | |
13600 | left_fringe_width, right_fringe_width, fringe_cols, | |
13601 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
13602 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
13603 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
13604 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
13605 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
13606 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 13607 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
13608 | frame.h and renamed [see frame.h changes]. |
13609 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
13610 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 13611 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 13612 | and renamed [see frame.h changes]. |
9018a88e | 13613 | |
0416870b KS |
13614 | * w32term.c: Make (several) trivial substitutions for renamed and |
13615 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 13616 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
13617 | (glyph_rect): Use window coordinates returned from |
13618 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
13619 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
13620 | scroll-bars. | |
13621 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
13622 | (fringes are now inside margins, i.e. always in the clipping area). | |
13623 | All callers changed. | |
13624 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
13625 | directly, then call compute_fringe_widths. Don't call | |
13626 | frame_update_line_height. | |
13627 | ||
13628 | * w32console.c: Make (few) trivial substitutions for renamed and | |
13629 | new macros in dispextern.h, frame.h and window.h. | |
13630 | ||
13631 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
13632 | new macros in dispextern.h, frame.h and window.h. | |
13633 | ||
13634 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
13635 | new macros in dispextern.h, frame.h and window.h. | |
13636 | ||
13637 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
13638 | border_width, pixel_height, pixel_width, line_height, | |
13639 | internal_border_width, vertical_scroll_bar_extra, | |
13640 | left_fringe_width, right_fringe_width, fringe_cols, | |
13641 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
13642 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
13643 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
13644 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
13645 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
13646 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 13647 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
13648 | frame.h and renamed [see frame.h changes]. |
13649 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
13650 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 13651 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 13652 | and renamed [see frame.h changes]. |
9018a88e | 13653 | |
0416870b KS |
13654 | * macterm.c: Make (several) trivial substitutions for renamed and |
13655 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 13656 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
13657 | (glyph_rect): Use window coordinates returned from |
13658 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
13659 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
13660 | scroll-bars. | |
13661 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
13662 | (fringes are now inside margins, i.e. always in the clipping area). | |
13663 | All callers changed. | |
13664 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
13665 | directly, then call compute_fringe_widths. Don't call | |
13666 | frame_update_line_height. | |
13667 | ||
13668 | * macfns.c: Make (several) trivial substitutions for renamed and | |
13669 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 13670 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
13671 | |
13672 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
13673 | new macros in dispextern.h, frame.h and window.h. | |
13674 | ||
13675 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
13676 | and line_height, and use corresponding new members in struct | |
13677 | frame. All uses changed. | |
13678 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
13679 | superseeded by corresponding macros in frame.h. | |
13680 | ||
13681 | * msdos.c: Make (several) trivial substitutions for renamed and | |
13682 | new macros in dispextern.h, frame.h and window.h. | |
13683 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 13684 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
13685 | (internal_terminal_init): No need to initialize line_height here; |
13686 | it now defaults to 1. | |
13687 | ||
9018a88e SM |
13688 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
13689 | ||
13690 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
13691 | dropping `down' events. | |
13692 | ||
016bd3c0 AS |
13693 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
13694 | ||
13695 | * coding.c (find_safe_codings): Fix last change. | |
13696 | ||
4dacadcc TTN |
13697 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
13698 | ||
13699 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
13700 | ||
319830ce SM |
13701 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
13702 | ||
9018a88e SM |
13703 | * xdisp.c (display_mode_element): Increase max depth. |
13704 | Simplify the error handling code. Use a different error string | |
13705 | for the case where we hit the depth limit. | |
13706 | ||
319830ce SM |
13707 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
13708 | ||
13709 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
13710 | ||
13711 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
13712 | ||
13713 | * intervals.c (get_local_map): Don't get char-property of previous | |
13714 | point any more: get_pos_property already does it and better. | |
13715 | ||
c67de8ba DL |
13716 | 2003-05-21 Dave Love <fx@gnu.org> |
13717 | ||
13718 | [Merged from unicode branch.] | |
13719 | ||
13720 | * xfns.c (x_window, x_window): Use use_xim. | |
13721 | ||
13722 | * xterm.c (use_xim): Initialize. | |
13723 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
13724 | (x_term_init): Maybe set use_xim. | |
13725 | ||
13726 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
13727 | ||
edd3ff1d JR |
13728 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
13729 | ||
13730 | * unexw32.c (_start): Remove _fmode initialization. | |
13731 | ||
13732 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
13733 | ||
463f55ee DL |
13734 | 2003-05-20 Dave Love <fx@gnu.org> |
13735 | ||
13736 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
13737 | ||
af253914 RS |
13738 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
13739 | ||
13740 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
13741 | as value for QCfont attribute. | |
13742 | (realize_default_face): lface should already exist; crash if not. | |
13743 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
13744 | ||
13745 | * frame.c (Fignore_event): Doc fix. | |
13746 | ||
1d211019 KH |
13747 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
13748 | ||
13749 | * coding.c (decode_coding_string): Handle post-read-conversion | |
13750 | even if the coding doesn't require decoding. | |
13751 | ||
4dd68254 RS |
13752 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
13753 | ||
13754 | * callproc.c (Fcall_process_region): Doc fix. | |
13755 | ||
14d87dc9 SM |
13756 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
13757 | ||
deca5d96 SM |
13758 | * lread.c (Fload): Print a message if package is obsolete. |
13759 | ||
14d87dc9 SM |
13760 | * window.c (Fselect_window): Add optional `norecord' arg. |
13761 | (select_window_1): Fold into Fselect_window. | |
13762 | (select_window_norecord): New function. | |
13763 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
13764 | ||
13765 | * window.h (Fselect_window): Update declaration. | |
13766 | ||
13767 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
13768 | * minibuf.c (read_minibuf): | |
13769 | * macterm.c (x_new_focus_frame): | |
13770 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
13771 | * callint.c (Fcall_interactively): | |
13772 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
13773 | ||
13774 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
13775 | ||
78f52183 DK |
13776 | 2003-05-17 David Kastrup <dak@gnu.org> |
13777 | ||
13778 | * process.c (read_process_output): Back out change from 2003-03-09. | |
13779 | ||
14d87dc9 SM |
13780 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
13781 | ||
13782 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
13783 | ||
13784 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
13785 | ||
13786 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
13787 | (get_pos_property): Declare. | |
13788 | ||
13789 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
13790 | stickiness and empty overlays. | |
13791 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
13792 | (merge_properties, intervals_equal, merge_properties_sticky): | |
13793 | Use XCAR, XCDR. | |
13794 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
13795 | ||
1fd1cc2f RS |
13796 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
13797 | ||
4f9f637a RS |
13798 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
13799 | in the history. | |
13800 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
13801 | of its real position. | |
13802 | ||
13803 | * fns.c (map_char_table): Fix previous change. | |
13804 | ||
1fd1cc2f RS |
13805 | * syntax.c (find_defun_start): |
13806 | When open_paren_in_column_0_is_defun_start, | |
13807 | return beginning of buffer. | |
13808 | ||
13809 | * lisp.h (map_char_table): Declare added arg. | |
13810 | ||
13811 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
13812 | All calls changed. | |
13813 | Process default and inheritance, resorting to Faref if necessary. | |
13814 | ||
13815 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
13816 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
13817 | ||
13818 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
13819 | ||
13820 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
13821 | ||
13822 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
13823 | ||
13824 | * lisp.h (specbinding_func): New typedef. | |
13825 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
13826 | in the right place. | |
13827 | ||
13828 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
13829 | to avoid GCC warning. | |
14d87dc9 | 13830 | |
b6189c3b | 13831 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> |
b4bd27c5 | 13832 | |
14d87dc9 | 13833 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 13834 | |
35fb885d SM |
13835 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
13836 | ||
13837 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
13838 | ||
9a274fbd SM |
13839 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
13840 | ||
c55b5fad SM |
13841 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
13842 | ||
9a274fbd SM |
13843 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
13844 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
13845 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
13846 | (Fset_window_configuration, Fcurrent_window_configuration) | |
13847 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
13848 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
13849 | (window_internal_height, window_internal_width, Frecenter) | |
13850 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
13851 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
13852 | (syms_of_window, keys_of_window): Move from lisp.h. | |
13853 | * lisp.h: Move window.c declarations to window.h. | |
13854 | ||
13855 | * bytecode.c: Include window.h. | |
13856 | * emacs.c: Include window.h. | |
13857 | ||
14d87dc9 | 13858 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
13859 | (keyremap): Add `parent' field. |
13860 | (keyremap_step): Use it. Remove `parent' argument. | |
13861 | (read_key_sequence): Setup and use the new `parent' field. | |
13862 | ||
fd93e331 SM |
13863 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
13864 | ||
13865 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
13866 | ||
1c4001a1 SM |
13867 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
13868 | ||
13869 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
13870 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
13871 | duplicated handling of function-key-map and key-translation-map | |
13872 | in read_key_sequence. | |
13873 | (read_key_sequence): Use them. | |
13874 | ||
13875 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
13876 | to the non-sticky end of an invisible property. | |
13877 | ||
13878 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
13879 | property intangible as well. | |
13880 | ||
780379b1 AS |
13881 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
13882 | ||
13883 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
13884 | avoid warning. | |
13885 | ||
ca2de342 RS |
13886 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
13887 | ||
13888 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
13889 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
13890 | Rename local `tem' to `save_deactivate_mark'. | |
13891 | ||
13892 | * eval.c (specpdl_ptr): Declare volatile. | |
13893 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
13894 | before doing the work of unbinding it. | |
13895 | ||
13896 | * lisp.h (struct specbinding): Declare elements volatile. | |
13897 | (specpdl_ptr): Declare volatile. | |
13898 | ||
13899 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
13900 | ||
13901 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
13902 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
13903 | ||
347003be DL |
13904 | 2003-05-08 Dave Love <fx@gnu.org> |
13905 | ||
13906 | * coding.c (Vlast_coding_system_used): Doc fix. | |
13907 | ||
5adcec23 JR |
13908 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
13909 | ||
13910 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
13911 | when system does not support them. | |
13912 | ||
5fe3b8a4 SM |
13913 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
13914 | ||
13915 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
13916 | (build_annotations): Use it to process the global part of the hook. | |
13917 | (syms_of_fileio): Init and staticpro it. | |
13918 | ||
13919 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
13920 | silently ignoring the error. | |
13921 | ||
13922 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
13923 | ||
13924 | * keyboard.c (input_available_signal): Mark static. | |
13925 | (menu_bar_items): Use map_keymap. | |
13926 | (menu_bar_one_keymap): Remove. | |
13927 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
13928 | Properly hide a second binding when not both are keymaps. | |
13929 | ||
13930 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
13931 | (single_keymap_panes): Use it and map_keymap. | |
13932 | (single_menu_item): Use skp as well. | |
13933 | ||
13934 | * keymap.h (map_keymap_function_t): New type. | |
13935 | (map_keymap): Declare. | |
13936 | ||
13937 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
13938 | (map_keymap_call, Fmap_keymap): New functions. | |
13939 | (syms_of_keymap): Defsubr map-keymap. | |
13940 | ||
4b1b4443 JD |
13941 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13942 | ||
13943 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
13944 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
13945 | ..._with_mnemonic functions for menu items. | |
13946 | ||
1f816871 KH |
13947 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
13948 | ||
13949 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
13950 | function. | |
13951 | (find_safe_codings): Pay attention to | |
13952 | the property tranlsation-table-for-encode of each codings. | |
13953 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
13954 | ||
5ed6ba5b SM |
13955 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
13956 | ||
13957 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
13958 | ||
32c06229 SM |
13959 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
13960 | ||
13961 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
13962 | ||
13963 | * lisp.h (CHECK): Wrap args in parenthesis. | |
13964 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
13965 | ||
13966 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
13967 | Use Fprogn rather than 0 and Qnil. | |
13968 | ||
13969 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
13970 | `double', and `triple' modifiers as well. | |
13971 | ||
ed3c3314 RS |
13972 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
13973 | ||
13974 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
13975 | ||
13976 | * alloc.c (abort_on_gc): New variable. | |
13977 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
13978 | ||
13979 | * lisp.h (abort_on_gc): Add decl. | |
13980 | ||
13981 | * eval.c (Fsignal): Clear abort_on_gc. | |
13982 | ||
13983 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 13984 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
13985 | |
13986 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
13987 | even if nlines is 0. | |
13988 | ||
13989 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
13990 | even if redisplay is suspended by input. | |
13991 | ||
0b325c12 AC |
13992 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
13993 | ||
13994 | * macterm.c (x_list_fonts): Return all fonts that match if | |
13995 | maxnames = -1. | |
13996 | ||
4e837cd0 KH |
13997 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
13998 | ||
13999 | * syntax.c (skip_chars): Fix previous change. | |
14000 | ||
9af7511a KH |
14001 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
14002 | ||
14003 | * syntax.c (skip_chars): Make the code faster by using the common | |
14004 | technique of *p, *stop, and *endp. | |
14005 | ||
e3b2c21f JD |
14006 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14007 | ||
14008 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 14009 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
14010 | being updated. |
14011 | ||
32c06229 SM |
14012 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
14013 | ||
14014 | * eval.c (Fapply): Undo last change and add a comment about why. | |
14015 | ||
c6464167 MB |
14016 | 2003-04-18 Miles Bader <miles@gnu.org> |
14017 | ||
14018 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
14019 | pickier PARSE_MULTIBYTE_SEQ. | |
14020 | ||
e509f168 SM |
14021 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
14022 | ||
14023 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
14024 | Use XCDR, XCAR, CONSP. | |
14025 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
14026 | (Fapply): Remove unnecessary GCPRO. | |
14027 | ||
14028 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
14029 | ||
14030 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
14031 | ||
14032 | * buffer.h: Don't hardcode BEG==1. | |
14033 | ||
14034 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
14035 | ||
5ceea398 RS |
14036 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
14037 | ||
14038 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
14039 | When at end of window, set window_end_pos to Z-ZV. | |
14040 | ||
14041 | * buffer.c (Foverlay_recenter): Doc fix. | |
14042 | ||
e509f168 SM |
14043 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
14044 | ||
14045 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
14046 | ||
d243e605 AC |
14047 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
14048 | ||
14049 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
14050 | once a second. | |
14051 | ||
6901b111 SM |
14052 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
14053 | ||
14054 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
14055 | specially, so that they can't hide an implicit switch-frame event. | |
14056 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
14057 | (head_table): Use switch-frame as event_kind for select-window. | |
14058 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
14059 | ||
14060 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
14061 | (format2): Remove unused var numargs. | |
14062 | ||
e301806f | 14063 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 14064 | |
6901b111 | 14065 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
14066 | (Qafter_insert_file_set_coding): New variable. |
14067 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
14068 | for after-insert-file-adjust-coding-function. | |
14069 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
14070 | instead of Vafter_insert_file_adjust_coding_function. | |
14071 | ||
38914424 KH |
14072 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
14073 | ||
14074 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
14075 | ||
14076 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
14077 | string. Callers changed. | |
14078 | ||
14079 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 14080 | |
6901b111 | 14081 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 14082 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
14083 | (Finsert_file_contents): |
14084 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
14085 | decode-format. |
14086 | ||
f979dc05 JD |
14087 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14088 | ||
14089 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
14090 | get GtkAdjustment as widget now is a GtkRange. | |
14091 | ||
14092 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
14093 | GtkRange to avoid memory leak. | |
14094 | ||
f8c6b4c2 | 14095 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 14096 | |
50ebc53d KH |
14097 | * xfaces.c (Vface_font_rescale_alist): New variable. |
14098 | (struct font_name): New member rescale_ratio. | |
14099 | (font_rescale_ratio): New function. | |
6901b111 | 14100 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
14101 | (better_font_p): On comparing point sized, pay attention to |
14102 | recale_ratio member of fonts. | |
14103 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
14104 | font name. | |
6901b111 | 14105 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 14106 | |
cb98871c KH |
14107 | * lread.c (read1): Before calling index, check if the 2nd |
14108 | arguemnt is in ASCII range. | |
14109 | ||
4773b8ca RS |
14110 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
14111 | ||
b0ada147 RS |
14112 | * fileio.c (Ffile_symlink_p): Doc fix. |
14113 | ||
14114 | * editfns.c (Fformat): Translate positions of text properties | |
14115 | in the format string to apply them to the result. | |
14116 | ||
4773b8ca RS |
14117 | * fileio.c (Finsert_file_contents): Doc fix. |
14118 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
14119 | ||
14120 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 14121 | |
4773b8ca RS |
14122 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
14123 | ||
e8f25745 | 14124 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 14125 | |
e8f25745 ST |
14126 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
14127 | that self-contained application finds libexec files. | |
14128 | ||
f8c6b4c2 | 14129 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 14130 | |
6901b111 SM |
14131 | * coding.c (code_convert_region_unwind): |
14132 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
14133 | (code_convert_region): If post-read-conversion function changed |
14134 | the value of last-coding-sytem, keep the new value in | |
14135 | coding->symbol so that it won't be overridden. | |
14136 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
14137 | (coding_system_accept_latin_extra_p): New function. |
14138 | (find_safe_codings): Pay attention to characters registered in | |
14139 | latin-extra-code-table. | |
2310d84c | 14140 | |
39c9a034 TTN |
14141 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
14142 | ||
14143 | * Makefile.in (md5.o): Add missing dependency info. | |
14144 | ||
eb67c5d6 RS |
14145 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
14146 | ||
14147 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
14148 | ||
14149 | * marker.c (verify_bytepos): New function. | |
14150 | ||
14151 | * intervals.c (set_intervals_multibyte_1): When becoming | |
14152 | multibyte, adjust right and left child sizes to a whole set of | |
14153 | characters. If an interval gets zero total-length, delete it. | |
14154 | If an interval consists of just its children, delete one of them. | |
14155 | ||
14156 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
14157 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 14158 | |
52eb0373 | 14159 | * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. |
eb67c5d6 RS |
14160 | All calls deleted. |
14161 | (lisp_malloc): Do the work here directly. | |
14162 | ||
b1f81fc5 JB |
14163 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
14164 | ||
14165 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
14166 | char tables. | |
14167 | ||
14168 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
14169 | |
14170 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
14171 | destructively change "%S" to "%s". | |
14172 | ||
774666fb MB |
14173 | 2003-04-03 Miles Bader <miles@gnu.org> |
14174 | ||
14175 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
14176 | always set. | |
14177 | ||
19c37f01 DL |
14178 | 2003-04-01 Dave Love <fx@gnu.org> |
14179 | ||
14180 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
14181 | ||
2f4b24c3 AC |
14182 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
14183 | ||
14184 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
14185 | parent window ID. | |
14186 | ||
14187 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
14188 | ||
14189 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
14190 | y_pixels_diff. | |
b1f81fc5 | 14191 | |
9443fcf6 JB |
14192 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
14193 | ||
14194 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
14195 | blockinput.h and files included from it. | |
14196 | ||
e072891b KS |
14197 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
14198 | ||
14199 | The following changes consolidates the common code related to | |
14200 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
14201 | files into frame.c. | |
9443fcf6 | 14202 | |
e072891b KS |
14203 | * frame.c: Include blockinput.h. |
14204 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
14205 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
14206 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
14207 | related vars here. | |
14208 | (struct frame_parm_table, frame_parms): New table for describing | |
14209 | frame parameters and their associated Q-variable. | |
14210 | The order of the parameters corresponds to the sequence of the | |
14211 | frame_parm_handlers table in redisplay_interface. | |
14212 | (x_fullscreen_move, x_set_frame_parameters) | |
14213 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
14214 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
14215 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
14216 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
14217 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
14218 | Generic functions for processing of frame parameters. | |
14219 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
14220 | (display_x_get_resource, x_get_resource_string): Functions for | |
14221 | generic access to X resources. | |
14222 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
14223 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
14224 | access to frame parameters. | |
6901b111 SM |
14225 | (x_figure_window_size): Generic calculation of frame size. |
14226 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
14227 | (syms_of_frame): Intern and staticpro frame parameter variables. |
14228 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
14229 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 14230 | |
e072891b KS |
14231 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
14232 | parameter related vars defined in frame.c. | |
14233 | (EMACS_CLASS): Define here. | |
14234 | (enum FULLSCREEN_*): Define here. | |
14235 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
14236 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
14237 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
14238 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
14239 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
14240 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
14241 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
14242 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
14243 | (x_figure_window_size): Add prototypes. | |
14244 | ||
14245 | * dispextern.h (frame_parm_handler): New typedef. | |
14246 | (struct redisplay_interface): New member frame_parm_handlers. | |
14247 | (enum resource_types): Move declaration here. | |
14248 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
14249 | (x_default_parameter): Add prototypes. | |
14250 | ||
14251 | * window.c: Remove extern decl for frame parameter vars. | |
14252 | (change_window_heights): New generic function; | |
14253 | replaces x_change_window_heights. All users changed. | |
14254 | ||
14255 | * window.h (change_window_heights): Add prototype. | |
14256 | ||
14257 | * xfaces.c: Remove extern decl for frame parameter vars. | |
14258 | ||
14259 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
14260 | (struct w32_display_info): Fix type of xrdb member. | |
14261 | (enum FULLSCREEN_*): Remove. | |
14262 | Remove prototypes for generic functions (in frame.h). | |
14263 | ||
14264 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
14265 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 14266 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
14267 | (enum x_frame_parms): Remove (bogus, unused enum). |
14268 | (check_x_display_info): Make non-static (for frame.c). | |
14269 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
14270 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
14271 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
14272 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
14273 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
14274 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
14275 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
14276 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
14277 | Remove. Use generic functions instead. | |
14278 | (enum resource_types): Remove. | |
14279 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
14280 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
14281 | toolbar and setup size_hint_flags. | |
14282 | (x_frame_parm_handlers): New table for redisplay_interface. | |
14283 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 14284 | |
e072891b | 14285 | * xterm.c: Remove unnecessary extern declarations. |
f63fd14e | 14286 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
14287 | (x_redisplay_interface): Add x_frame_parm_handlers member. |
14288 | ||
14289 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
14290 | ||
14291 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
14292 | (struct w32_display_info): Fix type of xrdb member. | |
14293 | (enum FULLSCREEN_*): Remove. | |
14294 | (x_fullscreen_adjust): Remove prototype. | |
14295 | ||
14296 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
14297 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 14298 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
14299 | (enum x_frame_parms): Remove (bogus, unused enum). |
14300 | (check_x_display_info): Make non-static (for frame.c). | |
14301 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
14302 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
14303 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
14304 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
14305 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
14306 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
14307 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
14308 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
14309 | Remove. Use generic functions instead. | |
14310 | (enum resource_types): Remove. | |
14311 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
14312 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
14313 | toolbar and setup size_hint_flags. | |
14314 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
14315 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 14316 | |
e072891b | 14317 | * w32term.c: Remove unnecessary extern declarations. |
52eb0373 | 14318 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
14319 | (x_redisplay_interface): Add w32_frame_parm_handlers member. |
14320 | ||
14321 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
14322 | ||
14323 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
14324 | ||
14325 | * macterm.h (EMACS_CLASS): Remove. | |
14326 | (struct mac_display_info): Add xrdb member. | |
14327 | (struct mac_output): Add want_fullscreen member. | |
14328 | ||
14329 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
14330 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 14331 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
14332 | (check_x_display_info): Make non-static (for frame.c). |
14333 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
14334 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
14335 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
14336 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
14337 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
14338 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
14339 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
14340 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
14341 | Remove. Use generic functions instead. | |
14342 | (enum resource_types): Remove. | |
14343 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
14344 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
14345 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 14346 | |
e072891b KS |
14347 | * macterm.c: Remove unnecessary extern declarations. |
14348 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
14349 | ||
3e6a560b KS |
14350 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
14351 | included from it (atimer.h and systime.h). | |
14352 | ||
7b7b454e AS |
14353 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
14354 | ||
14355 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
14356 | parameters for shift_glyphs_for_insert. | |
14357 | ||
14358 | * macterm.c (x_redisplay_interface): Add missing entry for | |
14359 | draw_vertical_window_border. | |
14360 | ||
beb402de KG |
14361 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
14362 | ||
14363 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
14364 | expanding, look again for a handler and invoke it. This is needed | |
14365 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
14366 | expansion produces "/user@host:/bar/../baz" which needs to be | |
14367 | expanded again for the finame result "/user@host:/baz". | |
14368 | ||
b676f356 JD |
14369 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14370 | ||
14371 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
14372 | of area to be redrawn for better performance. | |
14373 | ||
3c671a56 SM |
14374 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
14375 | ||
14376 | * xterm.c (take_vertical_position_into_account): Remove. | |
14377 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
14378 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
14379 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
14380 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
14381 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
14382 | (XTread_socket): Remove unused var. | |
14383 | (x_make_frame_invisible): Replace goto with else. | |
14384 | ||
14385 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
14386 | (redisplay_window): Use it. | |
14387 | ||
84f2e615 RS |
14388 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
14389 | ||
14390 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
14391 | update_mode_lines is set. Set w->update_mode_line | |
14392 | only if the tool bar contents actually change. | |
14393 | (update_menu_bar): Undo previous change. | |
14394 | ||
70b6104c JD |
14395 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14396 | ||
5fd6f727 JD |
14397 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
14398 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
14399 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
14400 | (xg_separator_p): Check for all documented separator types. | |
14401 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
14402 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
14403 | ||
70b6104c JD |
14404 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
14405 | so tool bar gets updated. | |
14406 | ||
d9b36d19 SM |
14407 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
14408 | ||
14409 | * data.c (store_symval_forwarding): Re-instate part of the code | |
14410 | that was deleted with too much enthusiasm. | |
14411 | ||
14412 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
14413 | ||
14414 | * data.c (store_symval_forwarding): Delete special read-only | |
14415 | hack for type == -1, since we now use ->constant instead. | |
14416 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
14417 | ||
14418 | * buffer.c (overlays_in): Declare static. | |
14419 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
14420 | `constant' field rather than the variable's `type' field. | |
14421 | ||
365fa1b3 AC |
14422 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
14423 | ||
14424 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
14425 | ||
14426 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
14427 | ||
14428 | * fns.c [MAC_OSX]: Do not redefine vector. | |
14429 | ||
14430 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
14431 | ||
14432 | * macgui.h: Remove definition of No_Cursor. | |
14433 | ||
d9b36d19 | 14434 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
14435 | |
14436 | * xdisp.c: Define No_Cursor. | |
14437 | (x_write_glyphs, notice_overwritten_cursor) | |
14438 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
14439 | (note_mouse_highlight): Remove Mac-specific code. | |
14440 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 14441 | |
c0bcce6f JPW |
14442 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
14443 | ||
14444 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
14445 | empty, then redisplay it like other windows. | |
14446 | ||
a526b96c KS |
14447 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
14448 | ||
14449 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
14450 | ||
37ab321e KH |
14451 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
14452 | ||
a526b96c KS |
14453 | * alloc.c (make_string_from_bytes, make_specified_string): |
14454 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
14455 | |
14456 | * lisp.h (make_string_from_bytes, make_specified_string): | |
14457 | Prototypes adjusted. | |
14458 | ||
7863d625 JD |
14459 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14460 | ||
a526b96c | 14461 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif |
fd4c9408 | 14462 | |
7863d625 JD |
14463 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
14464 | (XG_SB_RANGE): New define. | |
14465 | ||
14466 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
14467 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
14468 | expose events. | |
14469 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
14470 | of scroll bar including borders. | |
14471 | Clear left and right part outside scroll bar separately as some | |
14472 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 14473 | Don't set reallocate_redraws, don't call |
7863d625 JD |
14474 | gdk_window_process_all_updates. |
14475 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
14476 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
14477 | ||
d9b36d19 SM |
14478 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
14479 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
14480 | xg_update_scrollbar_pos. |
14481 | ||
af0ad939 TTN |
14482 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
14483 | ||
14484 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
14485 | ||
b22139fd KS |
14486 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
14487 | ||
14488 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
14489 | Add generic versions here. Remove system specific versions | |
14490 | defined elsewhere. | |
14491 | ||
14492 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
14493 | Add prototypes. | |
14494 | ||
6e6410cf KS |
14495 | * xterm.h (STORE_NATIVE_RECT): New macro. |
14496 | ||
5c9cc435 KS |
14497 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
14498 | ||
00c64fab SM |
14499 | * xdisp.c (get_glyph_string_clip_rect): |
14500 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
14501 | |
14502 | * dispextern.h (struct redisplay_interface): Add active_p | |
14503 | argument to draw_window_cursor member. All uses changed. | |
14504 | ||
acd37560 KS |
14505 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
14506 | ||
14507 | The following changes consolidate code related to writing and | |
14508 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
14509 | the output cursor, and help echo from xterm.c, w32term.c and | |
14510 | macterm.c into xdisp.c. It also generalizes the use of the | |
14511 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 14512 | |
acd37560 KS |
14513 | * xdisp.c: Consolidate gui-independent code here. |
14514 | Include keymap.h. | |
14515 | (Qhelp_echo): Import. | |
14516 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
14517 | (help_echo_string, help_echo_window, help_echo_object) | |
14518 | (previous_help_echo_string, help_echo_pos): Declare here. | |
14519 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
14520 | (estimate_mode_line_height): Define here. Handle windowing | |
14521 | systems directly (without using estimate_mode_line_height_hook). | |
14522 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
14523 | (update_window_cursor, update_cursor_in_window_tree) | |
14524 | (fast_find_position, fast_find_string_pos) | |
14525 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
14526 | (expose_area, expose_line, expose_overlaps, expose_window) | |
14527 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
14528 | declared static as they are only used locally in xdisp.c. | |
14529 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
14530 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
14531 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
14532 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 14533 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
14534 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
14535 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
14536 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
14537 | (note_mouse_highlight, x_clear_window_mouse_face) | |
14538 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
14539 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
14540 | and GUI front-ends. | |
14541 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
14542 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
14543 | ||
14544 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
14545 | (NativeRectangle): Generic typedef for rectangle type. | |
14546 | (enum window_part): Move here from window.c. | |
14547 | (struct redisplay_interface): New members flush_display_optional, | |
14548 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
14549 | draw_vertical_window_border, shift_glyphs_for_insert. | |
14550 | Rename member clear_mouse_face to clear_window_mouse_face. | |
14551 | (estimate_mode_line_height_hook): Remove hook. | |
14552 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
14553 | (tool_bar_item_info): Remove prototype. | |
14554 | (help_echo_string, help_echo_window, help_echo_object) | |
14555 | (previous_help_echo_string, help_echo_pos) | |
14556 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
14557 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
14558 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
14559 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
14560 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
14561 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
14562 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
14563 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
14564 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
14565 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
14566 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
14567 | Add prototypes. | |
14568 | (mode_line_string, marginal_area_string): Fix prototypes. | |
14569 | ||
14570 | * window.c (enum window_part): Move to dispextern.h. | |
14571 | (coordinates_in_window): Use enum window_part member names | |
14572 | instead of numbers to describe return value. | |
14573 | (struct check_window_data): Change part member to window_part. | |
14574 | (check_window_containing): Return window_part unaltered. | |
14575 | (window_from_coordinates): Change part arg from int to enum | |
14576 | window_part. Allow part arg to be null. All users changed. | |
14577 | ||
14578 | * window.h (window_from_coordinates): Fix prototype. | |
14579 | ||
14580 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
14581 | ||
14582 | * keyboard.c (make_lispy_event): Use enum window_part. | |
14583 | ||
14584 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
14585 | window_part instead of int in arg list. Users changed. | |
14586 | ||
14587 | * xterm.h (No_Cursor): Declare as None for X. | |
14588 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 14589 | |
acd37560 KS |
14590 | * xterm.c: Remove consolidated defines and code. |
14591 | (BETWEEN): Remove unused macro. | |
14592 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
14593 | (x_define_frame_cursor, x_clear_frame_area) | |
14594 | (x_draw_window_cursor): New X-specific functions for RIF. | |
14595 | (x_redisplay_interface): Add new members. | |
14596 | ||
14597 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
14598 | ||
14599 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
14600 | ||
14601 | * w32term.c: Remove consolidated defines and code. | |
14602 | (BETWEEN): Remove unused macro. | |
14603 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
14604 | (w32_define_frame_cursor, w32_clear_frame_area) | |
14605 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
14606 | (w32_redisplay_interface): Add new members. | |
14607 | ||
a64387ee | 14608 | * w32gui.h (No_Cursor): Define as 0 for W32. |
acd37560 KS |
14609 | (XRectangle): Add X compatible rectangle type. |
14610 | (NativeRectangle): Declare as RECT for W32. | |
14611 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
14612 | ||
14613 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
14614 | ||
14615 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 14616 | |
acd37560 KS |
14617 | * msdos.h (Display_Info): Add generic typedef. |
14618 | ||
14619 | * msdos.c: Remove consolidated defines and code. | |
14620 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
14621 | ||
14622 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
14623 | hand_cursor. | |
14624 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
14625 | ||
14626 | * macterm.c: Remove consolidated defines and code. | |
14627 | (BETWEEN): Remove unused macro. | |
14628 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
14629 | (mac_define_frame_cursor, mac_clear_frame_area) | |
14630 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
14631 | (x_redisplay_interface): Add new members. | |
14632 | ||
14633 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
14634 | (XRectangle): Add X compatible rectangle type. | |
14635 | (NativeRectangle): Declare as Rect for Mac. | |
14636 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
14637 | ||
204ccab1 KS |
14638 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
14639 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 14640 | |
9443fcf6 | 14641 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
14642 | included from it. Add dependency on keymap.h. |
14643 | ||
14644 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
14645 | ||
8ba01a70 | 14646 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
14647 | |
14648 | * fileio.c (Fexpand_file_name): Fix previous change. | |
14649 | ||
8ba01a70 | 14650 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
14651 | |
14652 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
14653 | make_specified_string. | |
14654 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
14655 | (Fdirectory_file_name, Fexpand_file_name) | |
14656 | (Fsubstitute_in_file_name): Likewise. | |
14657 | (Fread_file_name): Compare decoded homedir with DIR and | |
14658 | DEFAULT_FILENAME. | |
14659 | ||
14660 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
14661 | the number of characters. | |
14662 | ||
19536747 JD |
14663 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14664 | ||
de38ae5a JD |
14665 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
14666 | all widgets. | |
14667 | ||
19536747 JD |
14668 | * gtkutil.h: Removed xg_ignore_next_thumb. |
14669 | ||
37ab321e | 14670 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
14671 | |
14672 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
14673 | (Vcoding_system_safe_chars): New variable. | |
14674 | (intersection): Remove this function. | |
14675 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
14676 | all codings in SAFE_CODINGS. | |
00c64fab | 14677 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
14678 | find_safe_codings. Get generic coding systems from |
14679 | Vcoding_system_safe_chars. | |
14680 | (Fdefine_coding_system_internal): New function. | |
14681 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
14682 | Initialize and staticpro Vcoding_system_safe_chars. | |
14683 | ||
17097258 JD |
14684 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14685 | ||
2a2071c3 JD |
14686 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
14687 | equal old values before updating. | |
14688 | ||
17097258 JD |
14689 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
14690 | ||
14691 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
14692 | ||
14693 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
14694 | ||
14695 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
14696 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
14697 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
14698 | (scroll_bar_button_cb): Set bar->dragging to NIL on button release. | |
14699 | (xg_create_scroll_bar): Pass bar to button event callback. | |
14700 | (xg_find_top_left_in_fixed): New function. | |
14701 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
14702 | whole scroll bar area. Get old position with | |
14703 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
14704 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
14705 | dragging is in progress. Calculate whole as for Motif. | |
14706 | Remove code that saved last values. Call gtk_range functions to | |
14707 | set scroll bar sizes. | |
14708 | ||
14709 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
14710 | ||
8cb9dfbf JB |
14711 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
14712 | ||
14713 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
14714 | and files included from it. | |
14715 | ||
00c64fab SM |
14716 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
14717 | ||
14718 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
14719 | multiple occurrences of the same keymap under different prefixes. | |
14720 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
14721 | ||
c45bb3b2 JR |
14722 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
14723 | ||
14724 | * w32gui.h: Use HDC for Display. | |
14725 | ||
14726 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
14727 | crashing Emacs. | |
14728 | ||
14729 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
14730 | as binary. | |
14731 | ||
2a6d0874 JB |
14732 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
14733 | ||
14734 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
14735 | ||
03eb5fab KS |
14736 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
14737 | ||
14738 | The following changes consolidate some of the gui-independent | |
14739 | parts of the processing and drawing of "glyph strings" from | |
14740 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 14741 | |
03eb5fab KS |
14742 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
14743 | 21 bits (this reduces number of faces from 4M to 2M). | |
14744 | Replace W32 specific w32_font_type member (2 bits) by generic | |
14745 | font_type member (3 bits) for portability. | |
14746 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
14747 | (enum draw_glyphs_face): Define here. | |
14748 | (struct glyph_string): Define here. Merge W32 and X versions. | |
14749 | (struct redisplay_interface): New members per_char_metric, | |
14750 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
14751 | (VCENTER_BASELINE_OFFSET): Define here. | |
14752 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
14753 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
14754 | ||
14755 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
14756 | (dump_glyph_string): Moved here. | |
14757 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
14758 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
14759 | (fill_composite_glyph_string, fill_glyph_string) | |
14760 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
14761 | (left_overwritten, left_overwriting, right_overwritten) | |
14762 | (right_overwriting, get_char_face_and_encoding) | |
14763 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
14764 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
14765 | (take_vertical_position_into_account, append_stretch_glyph) | |
14766 | (produce_stretch_glyph): New generic functions (based on X version). | |
14767 | Call platform specific functions through rif. | |
14768 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
14769 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
14770 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
14771 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
14772 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
14773 | (notice_overwritten_cursor): | |
14774 | Generic functions exported to platform modules. Users changed. | |
14775 | ||
14776 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
14777 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
14778 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 14779 | New macros for consolidated code. |
2a6d0874 | 14780 | |
03eb5fab KS |
14781 | * xterm.c: Remove consolidated defines and code. |
14782 | (x_per_char_metric, x_encode_char) | |
14783 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
14784 | (x_redisplay_interface): Add new members. | |
14785 | ||
14786 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
14787 | (XChar2b): Define alias for wchar_t for consolidation. | |
14788 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
14789 | ||
14790 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 14791 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
14792 | New macros for consolidation. |
14793 | ||
fad49844 | 14794 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
14795 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
14796 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
14797 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
14798 | (w32_encode_char): Return int according to RIF requirements. | |
14799 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
14800 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
14801 | x_get_glyph_overhangs. | |
14802 | (w32_redisplay_interface): Add new members. | |
14803 | ||
14804 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
14805 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
14806 | ||
14807 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
14808 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
14809 | consolidation. | |
14810 | ||
14811 | * macterm.c: Remove consolidated defines and code. | |
14812 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 14813 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
14814 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
14815 | (x_redisplay_interface): Add new members. | |
14816 | ||
00c64fab SM |
14817 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
14818 | ||
14819 | * keymap.c (Vmenu_events): New var. | |
14820 | (syms_of_keymap): Initialize it. | |
14821 | (where_is_internal): Check more carefully what is a menu event. | |
14822 | ||
225c7a07 RS |
14823 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
14824 | ||
14825 | * lread.c (read1): After #!, exit loop on eof. | |
14826 | ||
cea9be54 JD |
14827 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14828 | ||
9ea0e54d JD |
14829 | * gtkutil.h: Add declaration for xg_frame_cleared. |
14830 | ||
0cb35f4e JD |
14831 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
14832 | ||
cea9be54 JD |
14833 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
14834 | (handle_fixed_child): New function. | |
14835 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
14836 | and force a redraw on them. | |
14837 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
14838 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
14839 | so we can avoid unneeded redraws. | |
14840 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
14841 | and force a redraw on the scroll bar. | |
14842 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
14843 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 14844 | (xg_frame_cleared): New function. |
cea9be54 | 14845 | |
20b853f3 KH |
14846 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
14847 | ||
14848 | * coding.c (Fdetect_coding_region): Fix docstring. | |
14849 | (Fdetect_coding_string): Fix docstring. | |
14850 | ||
7a555aff AS |
14851 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
14852 | ||
25cc0080 AS |
14853 | * gtkutil.c: Add prototype for create_menus. |
14854 | ||
30225431 AS |
14855 | * data.c (long_to_cons): Fix type of top. |
14856 | ||
14857 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
14858 | long for an integer of size 4. | |
14859 | ||
7a555aff | 14860 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 14861 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 14862 | |
a3e4741f AS |
14863 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
14864 | ||
14865 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
14866 | ||
9668be7c KS |
14867 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
14868 | ||
03eb5fab | 14869 | The following changes consolidate the fringe handling from |
9668be7c | 14870 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 14871 | |
9668be7c KS |
14872 | * xdisp.c: Consolidate fringe handling code here. |
14873 | (left_bits, right_bits, continued_bits, continuation_bits) | |
14874 | (ov_bits, zv_bits): Define fringe bitmaps. | |
14875 | (fringe_bitmaps): New array holding fringe bitmaps. | |
14876 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
14877 | specific drawing routine via rif->draw_fringe_bitmap. | |
14878 | (draw_row_fringe_bitmaps): Generic replacement for | |
14879 | x_draw_row_fringe_bitmaps; all callers changed. | |
14880 | (compute_fringe_widths): Generic replacement for | |
14881 | x_compute_fringe_widths; all callers changed. | |
14882 | ||
14883 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
14884 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
14885 | (fringe_bitmaps): Declare extern. | |
14886 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
14887 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
14888 | ||
14889 | * xterm.c: Remove generic fringe code. | |
14890 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
14891 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
14892 | ||
14893 | * w32term.c: Remove generic fringe code. | |
14894 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
14895 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 14896 | |
9668be7c KS |
14897 | * macterm.c: Remove generic fringe code. |
14898 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
14899 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
14900 | ||
00a88f32 SM |
14901 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
14902 | ||
14903 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
14904 | ||
1d1de695 DK |
14905 | 2003-03-09 David Kastrup <dak@gnu.org> |
14906 | ||
14907 | * process.c (read_process_output): We have allocated enough space | |
14908 | for readmax and carryover, so actually use the alloted space. | |
14909 | ||
257f40f2 JD |
14910 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14911 | ||
14912 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
14913 | toolkit scrollbar click. | |
14914 | ||
14915 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
14916 | for USE_GTK. | |
14917 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
14918 | also. | |
1d1c7e75 | 14919 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit |
257f40f2 | 14920 | scrollbar and control is pressed, call x_scroll_bar_handle_click. |
00a88f32 | 14921 | |
78819ebb | 14922 | * gtkutil.h (xg_get_scroll_id_for_window): Declare. |
257f40f2 JD |
14923 | |
14924 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
14925 | (xg_tool_bar_item_expose_callback): New function. | |
14926 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
14927 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
14928 | on the tool bar widget. | |
14929 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
14930 | to expose on the tool bar item widgets. | |
14931 | ||
15213141 JD |
14932 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14933 | ||
26b74a0b | 14934 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 14935 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
14936 | deleted from the image cache). |
14937 | ||
15213141 JD |
14938 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
14939 | the event isn't for a frame (i.e. for dialogs). | |
14940 | ||
20b853f3 | 14941 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
14942 | |
14943 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
14944 | composition components reaches the limit, terminate composing. | |
14945 | (COMPOSITION_OK): New macro. | |
00a88f32 | 14946 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
14947 | composition is found. |
14948 | (coding_restore_composition): Adjust the number of composition | |
14949 | components if it is not sane. | |
14950 | ||
c9029fe5 JB |
14951 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
14952 | ||
14953 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
14954 | passing resources via -xrm on Windows. | |
14955 | ||
14956 | * w32term.c (w32_make_rdb): New function. | |
14957 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
14958 | struct. Delete leftover code. | |
14959 | ||
14960 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
14961 | for resources passed on the command line. | |
14962 | ||
14963 | * w32reg.c (w32_get_rdb_resource): New function. | |
14964 | (x_get_string_resource): Use it, so resources passed with -xrm | |
14965 | supercede the ones in the registry. | |
14966 | ||
9d00001f JD |
14967 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14968 | ||
14969 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
14970 | instead of x_top_window_to_frame. | |
14971 | ||
ca2417b9 JD |
14972 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14973 | ||
14974 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
14975 | when restarting Emacs. | |
14976 | ||
5b20caf0 RS |
14977 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
14978 | ||
14979 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
14980 | to run kill-buffer-query-functions. | |
14981 | (Qkill_buffer_query_functions): New var. | |
14982 | (syms_of_buffer): Init and staticpro it. | |
14983 | ||
58e91b77 JD |
14984 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14985 | ||
14986 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
14987 | ||
932357b4 KS |
14988 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
14989 | ||
14990 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
14991 | If centering point failed to make whole line visible and vscroll | |
14992 | is non-zero, disable vscroll and try centering point again. | |
14993 | ||
14994 | * lread.c (read1): Accept `single space' syntax like (? x). | |
14995 | ||
bb8db7e1 JD |
14996 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14997 | ||
14998 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
14999 | #ifdef HAVE_X_WINDOWS | |
15000 | ||
47d77aab KH |
15001 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
15002 | ||
15003 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
15004 | process only when "subprocesses" is defined. | |
15005 | ||
6a097c0c SM |
15006 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
15007 | ||
15008 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
15009 | ||
0b063c27 JB |
15010 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
15011 | ||
d1135afc JB |
15012 | * callint.c (fix_command): Declare as static void and move before |
15013 | Fcall_interactively. | |
15014 | ||
0b063c27 JB |
15015 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
15016 | (syms_of_xdisp): Don't initialize Qwhen. | |
15017 | ||
0af912f0 JD |
15018 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15019 | ||
15020 | * keyboard.c (cancel_hourglass_unwind): New function. | |
15021 | (command_loop_1): Cancel hourglass with unwind-protect. | |
15022 | ||
120d0a23 RS |
15023 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
15024 | ||
15025 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
15026 | Detect (when ... (region-beginning)) etc. | |
15027 | (Fcall_interactively): Call fix_command. | |
15028 | (Qif, Qwhen): New variables. | |
15029 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 15030 | |
120d0a23 RS |
15031 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
15032 | ||
4ece81a6 KG |
15033 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
15034 | ||
15035 | * dired.c (directory_files_internal): Don't expand directory. | |
15036 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
15037 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
15038 | ||
e52bd6b7 SM |
15039 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
15040 | ||
15041 | * fns.c (string_to_multibyte): Remove unused var i. | |
15042 | (Flanginfo): Fix int/Lisp_Object mixup. | |
15043 | (void_call2): New fun. | |
15044 | (Fmap_char_table): Use it in place of call2. | |
15045 | ||
15046 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
15047 | ||
15048 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
15049 | ||
15050 | * keymap.c (copy_keymap_1): Make it static. | |
15051 | ||
15052 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
15053 | ||
c33ef7c4 JB |
15054 | 2003-02-22 David Ponce <david@dponce.com> |
15055 | ||
15056 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
15057 | ||
16782258 JD |
15058 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15059 | ||
15060 | * process.h: Removed subtty field from struct Lisp_Process. | |
15061 | ||
15062 | * process.c (create_process): Remove setting of subtty. | |
15063 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
15064 | (Fprocess_running_child_p, process_send_signal): |
15065 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
15066 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
15067 | ||
3abeca61 KG |
15068 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
15069 | ||
15070 | * keymap.c (Fdefine_key): Doc fix. | |
15071 | ||
92a8ce63 JB |
15072 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
15073 | ||
15074 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
15075 | ||
15076 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
15077 | POLLING_PROBLEM_IN_SELECT. | |
15078 | ||
15079 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
15080 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
15081 | ||
15082 | * s/hpux10-20.h: New file. | |
15083 | ||
e52bd6b7 SM |
15084 | * process.c (wait_reading_process_input): |
15085 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 15086 | |
20f1ef2e KH |
15087 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
15088 | ||
32d0a9dc KH |
15089 | * fontset.c (check_fontset_name): If NAME is nil, return the |
15090 | default fontset. | |
15091 | (override_font_info): New function. | |
e52bd6b7 | 15092 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
15093 | (Ffontset_info): If FONTSET is not the default fontset, merge |
15094 | FONTSET onto the copy of the default fontset, and work on that | |
15095 | copy. Document that NAME nil means the default fontset. | |
15096 | (Ffontset_font): Document that NAME nil means the default fontset. | |
15097 | ||
20f1ef2e KH |
15098 | * process.c (setup_process_coding_systems): If the process's |
15099 | in/out descriptor is -1, do nothing. | |
15100 | ||
77d1daf2 AS |
15101 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
15102 | ||
e52bd6b7 SM |
15103 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
15104 | Add prototypes. | |
77d1daf2 | 15105 | |
f9a45bb3 KH |
15106 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
15107 | ||
15108 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
15109 | Vscalable_fonts_allowed is not Qt. | |
15110 | ||
72ecb43c JD |
15111 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15112 | ||
15113 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
15114 | ||
ee5be7c3 JD |
15115 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15116 | ||
15117 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
15118 | names. | |
15119 | ||
15120 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 15121 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
15122 | x_face_list_fonts. |
15123 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
15124 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
15125 | ||
4cd519a7 KS |
15126 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
15127 | ||
068f9882 KS |
15128 | * lread.c (read1): Fix last change. |
15129 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 15130 | |
7290a344 AC |
15131 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
15132 | ||
15133 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
15134 | ||
1f7fa69b AS |
15135 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
15136 | ||
15137 | * window.c (window_scroll_pixel_based): Move outside a | |
15138 | multi-glyph character before setting new window start. | |
15139 | ||
15140 | * xdisp.c (in_display_vector_p): New function. | |
15141 | * dispextern.h (in_display_vector_p): Declare. | |
15142 | ||
23e21195 KS |
15143 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
15144 | ||
15145 | * lread.c (read1): Fix and relax read syntax. | |
15146 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
15147 | Only recognize "," after dotted-pair dot if inside backquote. | |
15148 | Never include "`" or "," (inside backquote) in a symbol. | |
15149 | Allow dotted-pair dot after a character constant. | |
15150 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 15151 | |
f098b121 JD |
15152 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15153 | ||
15154 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
15155 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
15156 | icons. Set name of tool bar to emacs-toolbar. | |
15157 | (update_frame_tool_bar): Connect expose event to | |
15158 | xg_tool_bar_expose_callback. | |
15159 | ||
63020c46 RS |
15160 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
15161 | ||
15162 | * keyboard.c (this_command_key_count_reset): New variable. | |
15163 | Initiatize to 0 where this_command_key_count is set. | |
15164 | (read_char): Save and restore this_command_key_count_reset | |
15165 | around input method code. | |
15166 | (read_char): If this_command_key_count_reset, echo reread commands. | |
15167 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
15168 | ||
fb4452cc KH |
15169 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
15170 | ||
15171 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
15172 | ||
bd11cc09 JR |
15173 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
15174 | ||
e52bd6b7 SM |
15175 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
15176 | Negative max_fonts parameter means list all. | |
bd11cc09 | 15177 | |
4cdf4bde DL |
15178 | 2003-02-14 Dave Love <fx@gnu.org> |
15179 | ||
15180 | * fns.c (Flanginfo): Doc fix. | |
15181 | ||
023b93f6 KS |
15182 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
15183 | ||
37cd4238 KS |
15184 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
15185 | for \s-X in a character constant which still is the super modifier. | |
15186 | (read1): Signal an `invalid read syntax' error if a character | |
15187 | constant is immediately followed by a digit or symbol character. | |
15188 | ||
140a6b7e KS |
15189 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
15190 | match-data is undefined if last search failed. | |
15191 | ||
3419757d | 15192 | * keymap.c (Fcommand_remapping): Rename from Fremap_command. |
023b93f6 KS |
15193 | All uses changed. |
15194 | ||
7d5c86e5 JB |
15195 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
15196 | ||
15197 | * eval.c (Fdefmacro): Fix typo. | |
15198 | ||
295fff2c KS |
15199 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
15200 | ||
15201 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
15202 | macro is a string, convert meta modifiers in string when copying | |
15203 | the string into a vector. | |
15204 | ||
60f3202d KS |
15205 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
15206 | ||
15207 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
15208 | ||
61cb0b53 KH |
15209 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
15210 | ||
15211 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
15212 | ||
7392e23c KS |
15213 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
15214 | ||
15215 | * process.c: Doc fixes. | |
15216 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
15217 | ||
ce4254bd KH |
15218 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
15219 | ||
9c7a329a KH |
15220 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
15221 | ||
ce4254bd KH |
15222 | * process.c (QCfilter_multibyte): New variable. |
15223 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
15224 | (Fset_process_buffer, Fset_process_filter): |
15225 | Call setup_process_coding_systems. | |
ce4254bd KH |
15226 | (Fstart_process): Initialize the member `filter_multibyte' of |
15227 | struct Lisp_Process. | |
15228 | (create_process): Call setup_process_coding_systems. | |
15229 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
15230 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
15231 | Call setup_process_coding_systems. | |
15232 | (server_accept_connection): Call setup_process_coding_systems. | |
15233 | (read_process_output): If the process has a filter, decide the | |
15234 | multibyteness of a string to given to the filter by | |
15235 | `filter_multibyte' member of the process. If the process doesn't | |
15236 | have a filter and the result of conversion is unibyte, use | |
15237 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
15238 | multibyte form. | |
15239 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
15240 | (Fset_process_filter_multibyte): New function. | |
15241 | (Fprocess_filter_multibyte_p): New function. | |
15242 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
15243 | Defsubr Sset_process_filter_multibyte and | |
15244 | Sprocess_filter_multibyte_p. | |
15245 | ||
15246 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
15247 | ||
15248 | * lisp.h (setup_process_coding_systems): Add prototype. | |
15249 | ||
15250 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
15251 | process, update coding systems for the process. | |
15252 | ||
b08d5f59 KH |
15253 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
15254 | ||
15255 | * fns.c (string_to_multibyte): New function. | |
15256 | (Fstring_to_multibyte): New function. | |
15257 | (syms_of_fns): Defsubr it. | |
15258 | ||
0dfd93c0 AS |
15259 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
15260 | ||
15261 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
15262 | instead of the substitution. | |
15263 | ||
7b76ca1c JD |
15264 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15265 | ||
15266 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
15267 | ||
15268 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
15269 | the menu is fully visible. | |
7b76ca1c | 15270 | |
2436a4e4 JD |
15271 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15272 | ||
15273 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
15274 | (x_make_frame_invisible, x_wm_set_icon_position): |
15275 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
15276 | |
15277 | * xfns.c (x_set_name, x_set_title): Ditto. | |
15278 | ||
37d1e680 RS |
15279 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
15280 | ||
15281 | * keyboard.c (echo_now): Update before_command_echo_length. | |
15282 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
15283 | immediately rather than arranging to do it later. | |
15284 | (before_command_key_count_1, before_command_echo_length_1) | |
15285 | (before_command_restore_flag): Vars deleted. | |
15286 | (add_command_key): Don't handle before_command_restore_flag. | |
15287 | (read_char, record_menu_key): Don't update before_command_key_count or | |
15288 | before_command_echo_length. | |
15289 | (read_char): Don't handle before_command_restore_flag. | |
15290 | ||
15291 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
15292 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
15293 | ||
578846a3 KS |
15294 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
15295 | ||
15296 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
15297 | ||
49853a4d JD |
15298 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15299 | ||
15300 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
15301 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
15302 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
15303 | on list returned from gtk_container_get_children to avoid memory leak. | |
15304 | ||
8b53dc06 JR |
15305 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
15306 | ||
5d54d177 JR |
15307 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
15308 | local malloc. | |
15309 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
15310 | definitions in xpm.h. | |
15311 | (init_xpm_functions): New function. | |
f63fd14e | 15312 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
5d54d177 JR |
15313 | (init_external_image_libraries): Try to load libXpm.dll. |
15314 | ||
8b53dc06 JR |
15315 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
15316 | timestamp. | |
15317 | ||
b222e415 DL |
15318 | 2003-01-31 Dave Love <fx@gnu.org> |
15319 | ||
15320 | * syntax.c (Fskip_chars_forward) | |
15321 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
15322 | ||
c60ee5e7 JB |
15323 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
15324 | ||
15325 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
15326 | preprocessor tests). | |
15327 | ||
15328 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
15329 | ||
15330 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
15331 | ||
15332 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
15333 | ||
15334 | * s/cygwin.h: Added for Cygwin port. | |
15335 | ||
53b37591 JB |
15336 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
15337 | ||
15338 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
15339 | when including gif_lib.h. | |
fe929957 | 15340 | (init_gif_functions, init_tiff_functions): New functions. |
f63fd14e JB |
15341 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
15342 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 15343 | through pointers determined at runtime. |
fe929957 JB |
15344 | (init_external_image_libraries): Try to load libungif.dll and |
15345 | libtiff.dll. | |
53b37591 | 15346 | |
45415a8f KH |
15347 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
15348 | ||
15349 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 15350 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 15351 | |
a97e4138 JD |
15352 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15353 | ||
e52bd6b7 | 15354 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 15355 | |
6eed9bed DL |
15356 | 2003-01-30 Dave Love <fx@gnu.org> |
15357 | ||
15358 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
15359 | (Fgarbage_collect): Use them. | |
15360 | (init_alloc, syms_of_alloc): Set them up. | |
15361 | ||
100dcd40 JB |
15362 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
15363 | ||
15364 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
15365 | ||
fbd852af JR |
15366 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
15367 | ||
15368 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
15369 | an alternative name for jpeg.dll. | |
15370 | ||
8a2d8020 KH |
15371 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
15372 | ||
15373 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
15374 | properties. | |
15375 | ||
058c18c7 AC |
15376 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
15377 | ||
15378 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
15379 | <escape>. | |
15380 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
15381 | (XTread_socket): Drop special case for backspace. | |
15382 | ||
385f11cf AC |
15383 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
15384 | ||
15385 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
15386 | values in old-style RGB specs. | |
15387 | ||
c922a224 JB |
15388 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
15389 | ||
15390 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
15391 | jpeg dll. | |
15392 | ||
0a1d6de0 JD |
15393 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15394 | ||
15395 | * gtkutil.c (create_dialog, xg_separator_p) | |
15396 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
15397 | before calling strcmp or strlen. | |
15398 | ||
a97e4138 | 15399 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
15400 | |
15401 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
15402 | and handle image load failure. | |
15403 | ||
28908312 JR |
15404 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
15405 | ||
15406 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
15407 | New functions. | |
f63fd14e JB |
15408 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
15409 | Disable color table lookups. Call jpeg library functions | |
28908312 JR |
15410 | through pointers determined at runtime. |
15411 | (init_external_image_libraries): Try to load jpeg.dll. | |
15412 | ||
84e47416 RS |
15413 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
15414 | ||
15415 | * lisp.h: Declare format2 instead of format1. | |
15416 | ||
15417 | * fileio.c (barf_or_query_if_file_exists): | |
15418 | Call format2 instead of format1. | |
15419 | ||
15420 | * editfns.c (format2): New function, replaces format1 | |
15421 | but takes exactly two Lisp Objects as format args. | |
15422 | ||
15423 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
15424 | ||
a97e4138 | 15425 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
15426 | |
15427 | * xterm.h: Change to return value of x_dispatch_event to int. | |
15428 | ||
15429 | * xterm.c (x_filter_event): New function. | |
15430 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
15431 | (x_dispatch_event): Change to return value of finish. | |
15432 | (event_handler_gdk): Use return value from x_dispatch_event. | |
15433 | ||
15434 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
15435 | initialize input methods. | |
15436 | ||
15437 | * gtkutil.h: Add (void) prototypes. | |
15438 | ||
15439 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
15440 | the right. | |
15441 | ||
54eefef1 JR |
15442 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
15443 | ||
15444 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
15445 | [HAVE_PNG]: Sync with xfns.c version. | |
f63fd14e JB |
15446 | (png_load): Adjust colors for Windows. Use Windows |
15447 | bitmaps. Disable color table lookups. | |
c262430d JR |
15448 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
15449 | (init_png_functions): New function. | |
15450 | (png_read_from_memory, png_load): Call png library functions | |
15451 | through pointers determined at runtime. | |
15452 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
15453 | (init_external_image_libraries): New function. | |
15454 | (init_xfns): Call it. | |
54eefef1 | 15455 | |
1a9e275b AS |
15456 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
15457 | ||
15458 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
15459 | ||
a97e4138 | 15460 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
15461 | |
15462 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
15463 | of static initializer. | |
15464 | ||
422eec7e DL |
15465 | 2003-01-24 Dave Love <fx@gnu.org> |
15466 | ||
15467 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
15468 | architectures. | |
15469 | ||
15470 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
15471 | Use __alignof__. | |
15472 | ||
2a026b04 KH |
15473 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
15474 | ||
15475 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 15476 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
15477 | (command_loop_1): Call adjust_point_for_property with proper |
15478 | second arg. | |
15479 | ||
a18bb28d JR |
15480 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
15481 | ||
15482 | Sync changes with xterm.c and xfns.c. | |
15483 | ||
15484 | * w32term.c (x_draw_glyph_string_foreground) | |
15485 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
15486 | ||
15487 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
15488 | phys_cursor's hpos is overwritten. This is still not completely | |
15489 | correct, as it doesn't really make sense to use hpos at all to | |
15490 | get the cursor glyph (as that is relative to the width of the | |
15491 | characters on the line, which may have changed during the update). | |
15492 | ||
15493 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
15494 | of the cursor being in the first blank non-text line at the | |
15495 | end of a window. | |
15496 | ||
15497 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
15498 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
15499 | Compute from the x position returned by x_draw_glyphs. | |
15500 | ||
15501 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
15502 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
15503 | contain what its name suggests. | |
15504 | (notice_overwritten_cursor): Consider the cursor image erased if | |
15505 | the output area intersects the cursor image in y-direction. | |
15506 | ||
6a097c0c SM |
15507 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
15508 | note_mode_line_highlight and extend. | |
a18bb28d JR |
15509 | |
15510 | * w32term.c (last_window): New variable. | |
15511 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
15512 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
15513 | ||
15514 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
15515 | not update_mode_lines, and always set it to 1. | |
15516 | ||
ac6e47ef JR |
15517 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
15518 | ||
15519 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
15520 | ||
15521 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
15522 | ||
15523 | * w32term.h (struct w32_output): New member hand_cursor. | |
15524 | (WM_EMACS_SETCURSOR): New message definition. | |
15525 | ||
15526 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
15527 | function w32_define_cursor. | |
15528 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
15529 | position, change member name output_data.x to output_data.w32 and | |
15530 | add function w32_define_cursor. | |
15531 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
15532 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
15533 | (w32_initialize_display_info): |
15534 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
15535 | |
15536 | * w32fns.c (Vx_hand_shape): New variable. | |
15537 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
15538 | WM_EMACS_SETCURSOR. | |
15539 | (x-create-frame): Setup Cursor types. | |
15540 | ||
ceb39a17 JB |
15541 | 2003-01-21 David Ponce <david@dponce.com> |
15542 | ||
ac6e47ef | 15543 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
52eb0373 JB |
15544 | ccl->reg[2] to -1 before calling ccl_driver. |
15545 | (Sync. with xterm.c x_encode_char change by Kenichi Handa | |
15546 | <handa@m17n.org> on 2002-09-30.) | |
ac6e47ef JR |
15547 | (w32_draw_relief_rect): Declare all args. |
15548 | (w32_define_cursor): New. | |
15549 | ||
15550 | * w32fns.c (w32_load_cursor): New function. | |
15551 | (w32_init_class): Use it. | |
15552 | (x_put_x_image): Declare all args. | |
15553 | ||
b6189c3b | 15554 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> |
46cf0bed JB |
15555 | |
15556 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
15557 | ||
a97e4138 | 15558 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
15559 | |
15560 | * gtkutil.c: Must include stdio.h before termhooks.h | |
15561 | ||
83fc9c63 DL |
15562 | 2003-01-21 Dave Love <fx@gnu.org> |
15563 | ||
15564 | * alloc.c (Fgc_status): Print zombie list. | |
15565 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
15566 | Fix assignment of zombies. | |
15567 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
15568 | Don't take car of non-cons. | |
15569 | ||
15570 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
15571 | ||
15572 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
15573 | ||
fe04b8c8 JR |
15574 | 2003-01-20 David Ponce <david@dponce.com> |
15575 | ||
15576 | * w32menu.c (digest_single_submenu): Declare all args. | |
15577 | ||
15578 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
15579 | changes in xmenu.c: | |
15580 | ||
15581 | (parse_single_submenu): Use individual keymap's prompt | |
15582 | string as pane name, if there is one. | |
15583 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
15584 | parse_single_submenu and use it when calling digest_single_submenu. | |
15585 | ||
539e69a9 ST |
15586 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
15587 | ||
7e26f91b | 15588 | * macterm.c (XTread_socket): Check for valid, visible window |
539e69a9 ST |
15589 | before sending a scroll-wheel event. |
15590 | ||
675d000f RS |
15591 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
15592 | ||
15593 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
15594 | a minibuffer, then redisplay it like other windows. | |
15595 | ||
a97e4138 | 15596 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
15597 | |
15598 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
15599 | external tool bar before setting tool bar height. | |
15600 | ||
048addec JD |
15601 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15602 | ||
15603 | * xterm.c (handle_one_xevent): Surround popup_activated | |
15604 | with #ifdef:s for non-toolkit version. | |
15605 | ||
15606 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK | |
15607 | (gtkutil.o): New file. | |
15608 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
15609 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
15610 | ||
15611 | * gtkutil.c: New file for GTK version. | |
15612 | ||
15613 | * gtkutil.h: New file for GTK version. | |
15614 | ||
15615 | * xterm.h: Add xt_or_gtk_widget. | |
15616 | Include gtk files for USE_GTK. | |
15617 | (struct x_output): Add toolbar_height. | |
15618 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
15619 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
15620 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
15621 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
15622 | ||
15623 | * xterm.c: Include gtkutil.h for USE_GTK. | |
78819ebb | 15624 | (free_frame_menubar): Declare extern void for USE_GTK. |
048addec JD |
15625 | (note_mouse_highlight): Check popup_activated for USE_GTK. |
15626 | (xt_action_hook): Don't compile if USE_GTK. | |
15627 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
15628 | (xg_scroll_callback): New function. | |
15629 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
15630 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
15631 | for USE_GTK. | |
15632 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
15633 | xg_show_scroll_bar for USE_GTK. | |
15634 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
15635 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
15636 | (event_handler_gdk): New function for USE_GTK. | |
15637 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
15638 | (handle_one_xevent): Make sure widget is mapped before | |
15639 | calling x_real_positions for USE_GTK. | |
15640 | (XTread_socket): Add GTK event loop for USE_GTK. | |
15641 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
15642 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
15643 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
15644 | (x_iconify_frame): Add code for USE_GTK. | |
15645 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
15646 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
15647 | is in gtkutil.c. | |
15648 | (x_term_init): Add initialization for GTK. | |
15649 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
15650 | ||
15651 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
15652 | (Fx_popup_menu): Use current position if x and y is NIL. | |
6bdb309a SM |
15653 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
15654 | Check for USE_GTK. | |
048addec JD |
15655 | (popup_widget_loop): New function for USE_GTK. |
15656 | (x_activate_menubar): Add code for USE_GTK. | |
15657 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
15658 | (menu_highlight_callback, menubar_selection_callback): |
15659 | Add USE_GTK versions. | |
048addec JD |
15660 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
15661 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
15662 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
15663 | is in gtkutil.c. | |
15664 | (popup_selection_callback): New version for USE_GTK. | |
15665 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 15666 | one USE_X_TOOLKIT version. |
048addec JD |
15667 | (xmenu_show): Call create_and_show_popup_menu. |
15668 | (dialog_selection_callback): New version for USE_GTK. | |
15669 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 15670 | one USE_X_TOOLKIT version. |
048addec JD |
15671 | (xdialog_show): Call create_and_show_dialog. |
15672 | ||
15673 | * xfns.c: Include gtkutil for USE_GTK. | |
15674 | (x_window_to_frame, x_any_window_to_frame) | |
15675 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
15676 | (x_top_window_to_frame): Add code for USE_GTK. | |
15677 | (x_set_background_color): Call xg_set_background_color for GTK. | |
15678 | (x_set_menu_bar_lines): Check for USE_GTK. | |
15679 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
15680 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
15681 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
15682 | (Fx_create_frame): Check for USE_GTK | |
15683 | (Fx_file_dialog): New implementation for USE_GTK. | |
15684 | ||
15685 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
15686 | (update_menu_bar): Add check for USE_GTK. | |
15687 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
15688 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
15689 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
15690 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
15691 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
15692 | (display_menu_bar): Add check for USE_GTK | |
15693 | ||
78819ebb | 15694 | * lisp.h (Vx_resource_name): Declare extern. |
048addec | 15695 | |
a64387ee | 15696 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT |
048addec JD |
15697 | for USE_GTK. |
15698 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
15699 | ||
15700 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
15701 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
15702 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
15703 | ||
15704 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
15705 | ||
6bdb309a SM |
15706 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
15707 | Add check for USE_GTK. | |
048addec JD |
15708 | |
15709 | * config.in: Added HAVE_GTK | |
15710 | ||
15711 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
15712 | ||
15713 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
15714 | ||
15715 | * charset.h (Funibyte_char_to_multibyte): Export. | |
15716 | ||
15717 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
15718 | ||
15719 | * xmenu.c (mouse_position_for_popup): New function. | |
15720 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
15721 | mouse_position_hook for others. | |
15722 | ||
15723 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
15724 | ||
15725 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
15726 | `string-as-multibyte' in doc string. | |
15727 | ||
15728 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
15729 | ||
15730 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 15731 | |
048addec JD |
15732 | * editfns.c (Fformat): Convert an unibyte char argument that is |
15733 | formatted by "%c" to multibyte if the total result must be a | |
15734 | multibyte string. | |
cd7df9c0 | 15735 | |
048addec | 15736 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 15737 | |
048addec JD |
15738 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
15739 | of string argument. | |
56210ecd | 15740 | |
048addec | 15741 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 15742 | |
048addec | 15743 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 15744 | |
048addec JD |
15745 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
15746 | (re_search_2): Likewise. | |
6df8b9fe | 15747 | |
048addec | 15748 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 15749 | |
048addec JD |
15750 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
15751 | buffer is unibyte. | |
292ddc31 | 15752 | |
048addec | 15753 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 15754 | |
048addec | 15755 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 15756 | |
048addec JD |
15757 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
15758 | (Fprevious_char_property_change) | |
15759 | (Fnext_single_char_property_change) | |
15760 | (Fprevious_single_char_property_change, Fnext_property_change) | |
15761 | (Fnext_single_property_change, Fprevious_property_change) | |
15762 | (Fprevious_single_property_change, Fadd_text_properties) | |
15763 | (Fput_text_property, Fset_text_properties) | |
15764 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
15765 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 15766 | |
048addec | 15767 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 15768 | |
048addec JD |
15769 | * process.h (struct Lisp_Process): New member plist replaces old |
15770 | member private_vars. All uses changed. | |
63e4e4c6 | 15771 | |
048addec | 15772 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 15773 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 15774 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 15775 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 15776 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 15777 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 15778 | |
048addec | 15779 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 15780 | |
6bdb309a | 15781 | * m/delta.h: Remove (obsolete). |
e833850f | 15782 | |
048addec | 15783 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 15784 | |
048addec JD |
15785 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
15786 | behaviour in front of symlinks. | |
15787 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 15788 | |
048addec | 15789 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 15790 | |
048addec | 15791 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 15792 | |
048addec | 15793 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 15794 | |
048addec JD |
15795 | * minibuf.c (minibuffer_completion_contents): |
15796 | Error if point is inside prompt. | |
3e8cf2ea | 15797 | |
048addec JD |
15798 | * keyboard.c (command_loop_1): Don't redisplay directly |
15799 | if there's a post-command-hook. | |
3e8cf2ea | 15800 | |
048addec JD |
15801 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
15802 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 15803 | |
048addec | 15804 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 15805 | |
048addec | 15806 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 15807 | |
048addec JD |
15808 | * process.c (QCvars): New variable. |
15809 | (syms_of_process): Intern and staticpro it. | |
15810 | (Fset_process_contact): Removed function. | |
15811 | (Fprocess_variable, Fset_process_variable): New functions. | |
15812 | (syms_of_process): Defsubr them. | |
15813 | (Fstart_process): Initialize private_vars plist to nil. | |
15814 | (Fmake_network_process): New arg :vars to setup the private | |
15815 | variables for new network process. | |
15816 | (server_accept_connection): Copy server's private variables to | |
15817 | client process. | |
2c10f029 | 15818 | |
048addec JD |
15819 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
15820 | crashes). Code rewritten and simplified. Now directly aligns the | |
15821 | pointer and recalculates pure_bytes_used, rather than aligning the | |
15822 | size and adjusting the pointer. | |
b8a76c6c | 15823 | |
048addec | 15824 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 15825 | |
048addec JD |
15826 | * process.c (Fset_process_contact): New function. |
15827 | (syms_of_process): defsubr it. | |
15828 | (make-network-process): Update doc. | |
3a8d0899 | 15829 | |
048addec | 15830 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 15831 | |
048addec JD |
15832 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
15833 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 15834 | |
048addec | 15835 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 15836 | |
048addec | 15837 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 15838 | |
048addec | 15839 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 15840 | |
048addec JD |
15841 | * process.c (Fmake_network_process): Convert new port number |
15842 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 15843 | |
048addec | 15844 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 15845 | |
048addec JD |
15846 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
15847 | instead of XtAppProcessEvent. | |
bf338245 | 15848 | |
048addec JD |
15849 | * xterm.c (handle_one_xevent): New function. |
15850 | (x_dispatch_event): New function. | |
15851 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 15852 | |
048addec | 15853 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 15854 | |
048addec JD |
15855 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
15856 | call XQueryPointer to get coordinates. | |
15857 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
15858 | let popup_deactivate_callback do that. Needed for Motif. | |
15859 | Call x_dispatch_event instead of XtDispatchEvent. | |
15860 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 15861 | |
048addec | 15862 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 15863 | |
6bdb309a | 15864 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
15865 | connection's local address in :local property of contact info. |
15866 | (Fmake_network_process): Record local network address for new | |
15867 | client processes in :local property of contact info. | |
6bdb309a | 15868 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 15869 | |
048addec | 15870 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 15871 | |
048addec | 15872 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 15873 | |
048addec | 15874 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 15875 | |
048addec | 15876 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 15877 | |
048addec JD |
15878 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
15879 | use the same test as for custom-variable-p. | |
8c6d74c6 | 15880 | |
048addec | 15881 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 15882 | |
048addec JD |
15883 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
15884 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
15885 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
15886 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 15887 | |
048addec JD |
15888 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
15889 | scroll_conservatively case. If scrolling that much doesn't change | |
15890 | STARTP, move it down one line. | |
e833850f | 15891 | |
048addec JD |
15892 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
15893 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 15894 | |
048addec JD |
15895 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
15896 | selected frame. | |
8c6d74c6 | 15897 | |
048addec | 15898 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
3419757d | 15899 | (syms_of_keymap): Staticpro them. |
048addec JD |
15900 | (Fapropos_internal): Initialize them and clear them out. |
15901 | Don't GCPRO them. | |
8c6d74c6 | 15902 | |
048addec JD |
15903 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: |
15904 | Doc fixes. | |
8c6d74c6 | 15905 | |
048addec JD |
15906 | * lisp.h: New misc type Lisp_Save_Value. |
15907 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
15908 | (XSAVE_VALUE): New macro. | |
15909 | (struct Lisp_Save_Value): New data type. | |
15910 | (union Lisp_Misc): Add u_save_value alternative. | |
78819ebb | 15911 | (make_save_value): Declare. |
8c6d74c6 | 15912 | |
048addec | 15913 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 15914 | |
048addec JD |
15915 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
15916 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 15917 | |
048addec | 15918 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 15919 | |
048addec | 15920 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 15921 | |
048addec JD |
15922 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
15923 | in direct action cases for Qforward_char and Qbackward_char. | |
15924 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 15925 | |
b6189c3b | 15926 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> |
8c6d74c6 | 15927 | |
048addec JD |
15928 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
15929 | type definition of size_t. | |
8c609cff | 15930 | |
048addec | 15931 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 15932 | |
048addec JD |
15933 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
15934 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 15935 | |
048addec | 15936 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 15937 | |
048addec JD |
15938 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
15939 | to default to t. | |
fa634a5e | 15940 | |
048addec | 15941 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 15942 | |
048addec | 15943 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 15944 | |
048addec | 15945 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 15946 | |
7e26f91b | 15947 | * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to |
048addec JD |
15948 | allow building in a different directory than source. Uses some |
15949 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 15950 | |
048addec | 15951 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 15952 | |
048addec JD |
15953 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
15954 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
15955 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
15956 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 15957 | |
048addec | 15958 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 15959 | |
048addec JD |
15960 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
15961 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 15962 | |
048addec JD |
15963 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
15964 | string as pane name, if there is one. | |
15965 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
15966 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 15967 | |
048addec JD |
15968 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
15969 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 15970 | |
048addec | 15971 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 15972 | |
048addec JD |
15973 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
15974 | (mac_menu_show): Add support for hierarchical popup menus. | |
15975 | (add_menu_item): Remove indentation support. | |
15976 | (fill_submenu, fill_menu): Create hierarchical menus | |
15977 | instead of using indentation. | |
0b17a217 | 15978 | |
048addec | 15979 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 15980 | |
048addec JD |
15981 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
15982 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 15983 | |
048addec | 15984 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 15985 | |
048addec | 15986 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 15987 | |
048addec JD |
15988 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
15989 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
7e26f91b | 15990 | being treated like C-%. Do not look for shift key to deal |
048addec | 15991 | with masking off control-key with mac-reverse-ctrl-meta. |
f02cac82 | 15992 | |
048addec | 15993 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 15994 | |
048addec JD |
15995 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
15996 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
15997 | the events that were read ahead. | |
15998 | (popup_get_selection_unwind): New subroutine. | |
15999 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
16000 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
16001 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
16002 | Use an unwind-protect to pop down the dialog box. | |
16003 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 16004 | |
048addec JD |
16005 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
16006 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 16007 | |
048addec JD |
16008 | * lread.c (load_error_handler): New function. |
16009 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
16010 | Don't expect Fsignal to return. | |
f02cac82 | 16011 | |
048addec JD |
16012 | * eval.c: Errors and throws work right with interrupt blocking. |
16013 | (struct catchtag): New elt interrupt_input_blocked. | |
16014 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
16015 | (internal_catch, Fcondition_case, internal_condition_case) | |
16016 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
16017 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 16018 | |
048addec | 16019 | * editfns.c (Fformat): Add parens. |
f02cac82 | 16020 | |
048addec JD |
16021 | * dired.c (file_name_completion): Fix that change. |
16022 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 16023 | |
b6189c3b | 16024 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> |
f02cac82 | 16025 | |
048addec JD |
16026 | * dired.c (file_name_completion): Close directory on error |
16027 | just as in directory_files_internal. | |
1a590729 | 16028 | |
048addec | 16029 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 16030 | |
048addec JD |
16031 | * window.c (Fset_window_configuration): Set old_point to correct |
16032 | value when new_current_buffer == current_buffer. | |
f02cac82 | 16033 | |
048addec | 16034 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 16035 | |
048addec JD |
16036 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
16037 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
16038 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 16039 | |
048addec JD |
16040 | These changes were in part based upon suggestions made by Peter |
16041 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 16042 | |
f4a5a485 SM |
16043 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) |
16044 | (g_b_init_get_token_information, g_b_init_lookup_account_sid) | |
16045 | (g_b_init_get_sid_identifier_authority ): Add several static | |
048addec | 16046 | global variables. |
9785d95b | 16047 | |
048addec JD |
16048 | * w32.c (globals_of_w32): New function. Used to initialize those |
16049 | global variables that must always be initialized on startup even | |
16050 | when the global variable initialized is non zero. Its primary | |
16051 | purpose at this time is to set the global variables | |
16052 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
16053 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
16054 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
16055 | Called from main. | |
9785d95b | 16056 | |
048addec JD |
16057 | * w32.c (is_windows_9x): Perform initialization only if |
16058 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
16059 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 16060 | |
048addec JD |
16061 | * w32.c (open_process_token): Perform initialization only if |
16062 | g_b_init_open_process_token is equal to 0. On initialization set | |
16063 | g_b_init_open_process_token equal to 1. | |
2308af15 | 16064 | |
048addec JD |
16065 | * w32.c (get_token_information): Perform initialization only if |
16066 | g_b_init_get_token_information is equal to 0. On initialization | |
16067 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 16068 | |
048addec JD |
16069 | * w32.c (lookup_account_sid): Perform initialization only if |
16070 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
16071 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 16072 | |
048addec JD |
16073 | * w32.c (get_sid_identifier_authority): Perform initialization |
16074 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
16075 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 16076 | |
f63fd14e | 16077 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
048addec JD |
16078 | those global variables that must always be initialized on startup |
16079 | even when the global variable initialized is non zero. | |
16080 | Its primary purpose at this time is to initialize the global variable | |
16081 | track_mouse_event_fn. | |
9785d95b | 16082 | |
a64387ee | 16083 | * w32fns.c (w32_wnd_proc): Remove initialization of |
048addec | 16084 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b | 16085 | |
048addec | 16086 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 16087 | |
f63fd14e | 16088 | * w32menu.c (globals_of_w32menu): New function. Used to |
048addec JD |
16089 | initialize those global variables that must always be initialized |
16090 | on startup even when the global variable initialized is non zero. | |
16091 | Its primary purpose at this time is to initialize the global | |
16092 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 16093 | |
048addec JD |
16094 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
16095 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 16096 | |
048addec | 16097 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 16098 | |
048addec JD |
16099 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
16100 | Declare them. | |
9785d95b | 16101 | |
048addec JD |
16102 | * emacs.c (main): Call globals_of_w32 prior to calling |
16103 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
16104 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
16105 | is defined. | |
9785d95b | 16106 | |
048addec JD |
16107 | * w32term.c (x_update_window_begin): Fix Windows API error |
16108 | detected by BoundsChecker. Test to determine if | |
16109 | w32_system_caret_hwnd is NULL prior to attempting to use | |
16110 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 16111 | |
048addec JD |
16112 | * w32term.c (x_update_window_end): Fix Windows API error |
16113 | detected by BoundsChecker. Test to determine if | |
16114 | w32_system_caret_hwnd is NULL prior to attempting to use | |
16115 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 16116 | |
048addec | 16117 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 16118 | |
048addec JD |
16119 | * coding.c (coding_system_require_warning): New variable. |
16120 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 16121 | |
048addec | 16122 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 16123 | |
048addec JD |
16124 | * fileio.c (choose_write_coding_system): Even if |
16125 | Vcoding_system_for_write is non-nil, if | |
16126 | coding_system_require_warning is nonzero, call | |
16127 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 16128 | |
048addec | 16129 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 16130 | |
048addec JD |
16131 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
16132 | (lisp): Add font-core. | |
2c568af5 | 16133 | |
048addec | 16134 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 16135 | |
048addec JD |
16136 | * textprop.c (text_read_only): New arg `propval'. |
16137 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
16138 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 16139 | |
048addec | 16140 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 16141 | |
048addec | 16142 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 16143 | |
048addec | 16144 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 16145 | |
048addec JD |
16146 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
16147 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
16148 | Be more careful about when help_events are generated. | |
96720f09 | 16149 | |
048addec | 16150 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 16151 | |
048addec JD |
16152 | * macterm.c (mac_check_for_quit_char): Correctly set the |
16153 | modifiers of the event to 0. | |
16154 | * mac.c (sys_select): Duplicate rfds before calling select to | |
16155 | ensure that rfds survive the while loop. | |
e5ae1c49 | 16156 | |
048addec | 16157 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 16158 | |
048addec JD |
16159 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
16160 | row_containing_pos returned NULL. | |
2eb46b2d | 16161 | |
048addec | 16162 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 16163 | |
6bdb309a | 16164 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 16165 | non-blocking. |
6bdb309a | 16166 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 16167 | the one given. |
b11f1d8a | 16168 | |
048addec | 16169 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 16170 | |
048addec | 16171 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 16172 | |
048addec | 16173 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 16174 | |
048addec JD |
16175 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
16176 | as the last thing. | |
a4ac5b17 | 16177 | |
048addec | 16178 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 16179 | |
048addec | 16180 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 16181 | |
048addec | 16182 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 16183 | |
048addec JD |
16184 | * editfns.c (Fformat): Handle precision in string conversion |
16185 | specifiers like libc functions do (ie, print at most that many | |
16186 | characters). | |
85cce843 | 16187 | |
048addec | 16188 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 16189 | |
048addec JD |
16190 | * xdisp.c (row_containing_pos): Check more carefully |
16191 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 16192 | |
048addec | 16193 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 16194 | |
048addec | 16195 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 16196 | |
048addec JD |
16197 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
16198 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 16199 | |
048addec JD |
16200 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
16201 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 16202 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 16203 | in the OS event queue. |
b11f1d8a | 16204 | |
048addec JD |
16205 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
16206 | while blocking on select. | |
0d4d26a7 | 16207 | |
048addec JD |
16208 | * mac.c (sys_read): Use sys_select to test for input first |
16209 | before calling read, to allow C-g to break. | |
9252f7bc | 16210 | |
048addec | 16211 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 16212 | |
048addec | 16213 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 16214 | |
048addec | 16215 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 16216 | |
048addec | 16217 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 16218 | |
048addec JD |
16219 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
16220 | autoload. | |
9252f7bc | 16221 | |
048addec | 16222 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 16223 | |
048addec | 16224 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 16225 | |
048addec | 16226 | 2002-12-06 Francesco Potorti` <pot@gnu.org> |
bfa261c0 | 16227 | |
048addec | 16228 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 16229 | |
048addec | 16230 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 16231 | |
048addec | 16232 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 16233 | |
048addec | 16234 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 16235 | |
048addec | 16236 | * alloca.c: Don't use #error. |
02d588e2 | 16237 | |
048addec | 16238 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 16239 | |
048addec JD |
16240 | * buffer.c (Qucs_set_table_for_input): New. |
16241 | (Fget_buffer_create): Use it. | |
16242 | (Qset_buffer_major_mode_hook): Deleted. | |
16243 | (Fset_buffer_major_mode): Revert previous change. | |
16244 | (init_buffer_once): Intern ucs-set-table-for-input. | |
16245 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
16246 | Add &Qucs_set_table_for_input. | |
451e2697 | 16247 | |
048addec | 16248 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 16249 | |
048addec JD |
16250 | * callint.c (Fcall_interactively): Use next_event only if less |
16251 | than key_count. | |
72742a99 | 16252 | |
048addec | 16253 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 16254 | |
048addec JD |
16255 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
16256 | names to 255 characters. | |
72742a99 | 16257 | |
048addec JD |
16258 | * macterm.c (XTread_socket): If all frames have been collapsed, |
16259 | expand the first one before handling drag-and-drop events. | |
72742a99 | 16260 | |
048addec JD |
16261 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
16262 | which is detected by autoconf. | |
40e6ff95 | 16263 | |
048addec | 16264 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 16265 | |
048addec JD |
16266 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
16267 | offset in two hints table to allow prebinding to be redone and | |
16268 | allow the executable to be stripped. | |
c02138c6 | 16269 | |
048addec | 16270 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 16271 | |
048addec JD |
16272 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
16273 | already provided. | |
0e47bbf7 | 16274 | |
048addec | 16275 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 16276 | |
048addec JD |
16277 | * xdisp.c (start_display): Check more intelligently for |
16278 | whether the line is continued. | |
16279 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 16280 | |
048addec | 16281 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 16282 | |
048addec JD |
16283 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
16284 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 16285 | |
048addec | 16286 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 16287 | |
048addec JD |
16288 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
16289 | more descriptive error output from lread.c:Fload upon most require | |
16290 | cycles during boostrapping. | |
1637fd2c | 16291 | |
048addec | 16292 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 16293 | |
048addec JD |
16294 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
16295 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 16296 | |
048addec JD |
16297 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
16298 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 16299 | |
048addec | 16300 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 16301 | |
048addec | 16302 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 16303 | |
048addec JD |
16304 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
16305 | Test GETPGRP_VOID instead. | |
16306 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 16307 | |
048addec JD |
16308 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
16309 | Don't define. | |
16310 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 16311 | |
048addec | 16312 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 16313 | |
048addec | 16314 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 16315 | |
048addec JD |
16316 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
16317 | supported. | |
4042a81a | 16318 | |
048addec | 16319 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 16320 | |
048addec | 16321 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 16322 | |
048addec | 16323 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 16324 | |
048addec | 16325 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 16326 | |
048addec | 16327 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 16328 | |
048addec | 16329 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 16330 | |
048addec JD |
16331 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
16332 | determine the size of pointers alloced in unexed space instead | |
16333 | of using possibly invalid emacs_zone pointers. This fixes the | |
16334 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 16335 | |
048addec | 16336 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 16337 | |
048addec | 16338 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 16339 | |
048addec JD |
16340 | * callint.c (Fcall_interactively): If a command fails because |
16341 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
16342 | record it anyway if the args don't actually do tty input. | |
5598c32e | 16343 | |
048addec | 16344 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 16345 | |
048addec | 16346 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 16347 | |
048addec JD |
16348 | * keyboard.c (interrupt_signal): Provide forward declaration. |
16349 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 16350 | |
048addec | 16351 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 16352 | |
048addec | 16353 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 16354 | |
048addec JD |
16355 | * eval.c (interactive_p): Skip any number of bytecode |
16356 | and special form frames, in any order. | |
516eea8e | 16357 | |
048addec | 16358 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 16359 | |
048addec JD |
16360 | * w32fns.c (convert_mono_to_color_image): New function. |
16361 | (xbm_load, xbm_load_image): Use it when foreground or background | |
16362 | is explicitly set. | |
04dbfa08 | 16363 | |
048addec | 16364 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 16365 | |
048addec | 16366 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 16367 | |
048addec | 16368 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 16369 | |
048addec JD |
16370 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
16371 | (XPutPixel): Swap blue and red. | |
16372 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
16373 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
16374 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
16375 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 16376 | |
048addec | 16377 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 16378 | |
048addec | 16379 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 16380 | |
048addec | 16381 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 16382 | |
048addec | 16383 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 16384 | |
048addec JD |
16385 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
16386 | malloc, realloc, calloc. | |
d824beee | 16387 | |
048addec JD |
16388 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
16389 | (bcmp): Don't define. | |
d824beee | 16390 | |
048addec | 16391 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 16392 | |
048addec | 16393 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 16394 | |
048addec | 16395 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 16396 | |
048addec | 16397 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 16398 | |
048addec JD |
16399 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
16400 | Don't include alloca.h. | |
d824beee | 16401 | |
048addec | 16402 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 16403 | |
048addec | 16404 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 16405 | |
048addec | 16406 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 16407 | |
048addec | 16408 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 16409 | |
048addec | 16410 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 16411 | |
048addec | 16412 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 16413 | |
048addec | 16414 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 16415 | |
048addec JD |
16416 | * dispextern.h (struct face): Add `overstrike' field. |
16417 | * xterm.c (x_draw_glyph_string_foreground) | |
16418 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
16419 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
16420 | result from choose_face_font. | |
16421 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
16422 | argument, and use it to return whether overstriking is desirable | |
16423 | for this face/font combo. | |
16424 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 16425 | |
048addec | 16426 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 16427 | |
048addec JD |
16428 | This change is my fix for the following entry in etc/PROBLEMS: |
16429 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
16430 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 16431 | |
048addec JD |
16432 | * w32.c: Added wrapper functions around the win32 API functions |
16433 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
16434 | GetSidIdentifierAuthority. These wrapper functions serve two | |
16435 | purposes: | |
16436 | 1. They ensure that the wrapped function can never be called | |
16437 | when Emacs is running on an operating system on which they are | |
16438 | not supported (Microsoft Windows 95 / 98 / ME). | |
16439 | 2. They call the wrapped functions via function pointers rather | |
16440 | than calling them directly. This avoids taking advantage of the | |
16441 | undocumented fact that although these functions are not supported | |
16442 | in the 9x branch of Microsoft Windows, the functions do exist in | |
16443 | the version of advapi32.dll that is found in the 9x branch of | |
16444 | Microsoft Windows. | |
f60ae425 | 16445 | |
6bdb309a | 16446 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
16447 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
16448 | and GetSidIdentifierAuthority with calls to the newly added | |
16449 | wrapper functions. | |
f60ae425 | 16450 | |
048addec JD |
16451 | * w32.h: Added extern declarations for the following functions: |
16452 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
16453 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 16454 | |
6bdb309a | 16455 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
16456 | function pointer track_mouse_event_fn in the handler for the |
16457 | WM_SETFOCUS message. | |
3582b6a3 | 16458 | |
6bdb309a | 16459 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
16460 | reinitialize the function pointers set_menu_item_info and |
16461 | get_menu_item_info. | |
f60ae425 | 16462 | |
048addec | 16463 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 16464 | |
048addec JD |
16465 | * sound.c: Added a partial implementation of play-sound-internal |
16466 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
16467 | code blocks to separate the code that will compile under | |
9fed2905 | 16468 | Microsoft Windows from the code that is specific to GNU/Linux. |
048addec | 16469 | Moved several blocks of code around to make this separation of code |
9fed2905 | 16470 | into Windows compatible and GNU/Linux compatible code blocks easier. |
f60ae425 | 16471 | |
048addec | 16472 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 16473 | |
048addec JD |
16474 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
16475 | added support for play-sound-internal under Windows would be | |
16476 | included in the build of Emacs. | |
517f42a0 | 16477 | |
048addec | 16478 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 16479 | |
048addec | 16480 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 16481 | |
048addec | 16482 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 16483 | |
048addec | 16484 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 16485 | |
048addec JD |
16486 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
16487 | (adjust_point_for_property): Move out of display and invisible even if | |
16488 | we were already inside before (in case a property was added while | |
16489 | we weren't looking). Be more careful when handling invisible props. | |
16490 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 16491 | |
048addec | 16492 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 16493 | |
048addec JD |
16494 | * w32term.c (x_draw_image_foreground) |
16495 | (w32_draw_image_foreground_1): Use standard copy and invert | |
16496 | operations to draw images. | |
aab83f91 | 16497 | |
048addec JD |
16498 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
16499 | depth of 1. | |
16500 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
16501 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 16502 | |
048addec | 16503 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 16504 | |
048addec JD |
16505 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
16506 | (w32_draw_image_foreground_1): Handle image masks. | |
16507 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 16508 | |
048addec JD |
16509 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
16510 | (x_from_xcolors): Adjust RGB values for W32. | |
16511 | (image_background, image_background_transparent) | |
16512 | (postprocess_image, x_to_xcolors, x_disable_image) | |
16513 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
16514 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
16515 | (xbm_load): Remove unused variable. | |
03670a65 | 16516 | |
048addec | 16517 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 16518 | |
048addec | 16519 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 16520 | |
048addec | 16521 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 16522 | |
048addec | 16523 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 16524 | |
048addec JD |
16525 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
16526 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
16527 | * xfns.c (x_put_x_image): | |
16528 | * xdisp.c (message2_nolog, set_message): | |
16529 | * undo.c (record_point): | |
16530 | * terminfo.c (tparam): | |
16531 | * syntax.c (scan_sexps_forward): | |
16532 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
16533 | * composite.c (update_compositions): | |
16534 | * cm.c (calccost, cmgoto): | |
16535 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 16536 | |
048addec | 16537 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 16538 | |
048addec JD |
16539 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
16540 | Don't declare. | |
59daa29a | 16541 | |
048addec | 16542 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 16543 | |
048addec JD |
16544 | * fns.c (Fcopy_sequence): Doc fix. |
16545 | (Fmap_char_table): Cast `call2'. | |
3947677c | 16546 | |
048addec JD |
16547 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
16548 | ||
16549 | * s/sol2-8.h: New file. | |
16550 | ||
16551 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
16552 | ||
16553 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
16554 | dependency on `risky-local-variable' and the :propertize form. | |
16555 | ||
16556 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
16557 | ||
16558 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
16559 | ||
16560 | * syntax.c (scan_sexps_forward): Undo last patch. | |
16561 | Use a more obvious fix: check eob before updating the syntax table. | |
16562 | ||
16563 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
16564 | ||
16565 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
16566 | a char rather than after so we don't update the table past eob. | |
16567 | ||
16568 | 2002-11-09 Dave Love <fx@gnu.org> | |
16569 | ||
16570 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
16571 | ||
16572 | * regex.c (regexec): Fix pmatch declaration. | |
16573 | ||
16574 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
16575 | ||
16576 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
16577 | to self-inserting characters. | |
16578 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
16579 | ||
16580 | * coding.c (Vtranslation_table_for_input): New. | |
16581 | (syms_of_coding): DEFVAR it. | |
16582 | ||
16583 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
16584 | ||
16585 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
16586 | window. | |
16587 | ||
16588 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16589 | ||
6bdb309a | 16590 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
16591 | cp, and i. |
16592 | ||
16593 | 2002-11-06 Dave Love <fx@gnu.org> | |
16594 | ||
16595 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
16596 | (Fset_buffer_major_mode): Use it. | |
16597 | ||
16598 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
16599 | ||
16600 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
16601 | and stop_polling. | |
16602 | ||
16603 | * process.c (wait_reading_process_input): | |
16604 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
16605 | Avoid initialization for auto Lisp_Object var. | |
16606 | ||
16607 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
16608 | ||
16609 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
16610 | ||
16611 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
16612 | ||
16613 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
16614 | ||
16615 | * callint.c (Fcall_interactively): New local filter_specs. | |
16616 | (Fcall_interactively): Check for progn as well as let. | |
16617 | Add a gcpro. | |
16618 | (Qprogn): New variable. | |
16619 | (syms_of_callint): Staticpro and init Qprogn. | |
16620 | ||
16621 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
16622 | ||
16623 | * lread.c (Feval_buffer): Doc fix. | |
16624 | ||
16625 | 2002-11-04 Dave Love <fx@gnu.org> | |
16626 | ||
16627 | * keyboard.c (read_char): Always translate iff | |
16628 | Vkeyboard_translate_table is a char table and c is valid. | |
16629 | ||
16630 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
16631 | and fix C types. | |
16632 | ||
16633 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
16634 | ||
16635 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
16636 | ||
16637 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
16638 | ||
16639 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
16640 | overlays. Also handle `invisible' prop. | |
16641 | ||
16642 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
16643 | ||
16644 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
16645 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
16646 | ||
16647 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
16648 | ||
16649 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
16650 | ||
16651 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
16652 | ||
16653 | * xmenu.c (unuse_menu_items): New fun. | |
16654 | (menu_items_inuse): New var. | |
16655 | (syms_of_xmenu): Initialize it. | |
16656 | (init_menu_items): Use it to detect re-entrance. | |
16657 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
16658 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
16659 | ||
16660 | * editfns.c (find_field): Make an exception for nil fields. | |
16661 | ||
16662 | 2002-11-01 Dave Love <fx@gnu.org> | |
16663 | ||
16664 | * m/gec63.h: Deleted. | |
16665 | ||
16666 | 2002-10-31 Dave Love <fx@gnu.org> | |
16667 | ||
16668 | * xterm.c (XTread_socket): Fix last change. | |
16669 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
16670 | ||
16671 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
16672 | ||
16673 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
16674 | ||
16675 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
16676 | ||
16677 | * editfns.c (overlays_around, get_pos_property): New funs. | |
16678 | (find_field): Use them. | |
16679 | Also be careful not to modify POS before its last use. | |
16680 | (Fmessage): Don't Fformat if there's nothing to format. | |
16681 | ||
16682 | 2002-10-30 Dave Love <fx@gnu.org> | |
16683 | ||
16684 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
16685 | [HAVE_PTY_H]; Include pty.h. | |
16686 | ||
16687 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
16688 | ||
16689 | * xterm.c (Qeql): Declare. | |
16690 | (Vx_keysym_table): New. | |
16691 | (syms_of_xterm): Initialize it. | |
16692 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
16693 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
16694 | ||
16695 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
16696 | (lispy_kana_keys): Comment out. | |
16697 | (make_lispy_event) [XK_kana_A]: Comment out. | |
16698 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
16699 | Fix sprintf call. | |
16700 | ||
16701 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
16702 | regexp.h change). | |
16703 | (TERMINFO, LIBS_TERMCAP): Define. | |
16704 | ||
16705 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
16706 | (bcmp): Define conditional on HAVE_BCMP. | |
16707 | (NO_SIOCTL_H): Don't define. | |
16708 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
16709 | ||
16710 | * s/sol2-5.h: Don't include strings.h. | |
16711 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
16712 | ||
16713 | * s/irix6-0.h (IRIX6): Don't define. | |
16714 | (bcopy, bcmp, bzero): Don't undef. | |
16715 | ||
16716 | * s/irix6-5.h: Don't include strings.h. | |
16717 | (IRIX6): Don't define. | |
16718 | (bcopy, bcmp, bzero): Don't undef. | |
16719 | ||
16720 | * syntax.c (Fforward_comment): Doc fix. | |
16721 | ||
16722 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
16723 | ||
16724 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
16725 | name in addition to pid (as integer or string). | |
16726 | ||
16727 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
16728 | ||
16729 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
16730 | environments. | |
16731 | ||
16732 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
16733 | ||
16734 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
16735 | ||
16736 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
16737 | ||
16738 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
16739 | ||
16740 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
16741 | ||
16742 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
16743 | ||
16744 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
16745 | ||
16746 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
16747 | ||
16748 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
16749 | (x_set_title): Likewise. | |
16750 | ||
16751 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
16752 | ||
16753 | * macgui.h: | |
16754 | * w32gui.h: Remove definition of XColor. | |
16755 | ||
16756 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
16757 | ||
16758 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
16759 | ||
16760 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
16761 | Callers changed (supply dummy arg). | |
16762 | ||
16763 | * lisp.h (get_window_cursor_type): Update prototype. | |
16764 | ||
16765 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
16766 | get_window_cursor_type to track system caret. | |
16767 | ||
16768 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
16769 | ||
16770 | * process.c (Fformat_network_address): New function. | |
16771 | (syms_of_process): Defsubr it. | |
16772 | (list_processes_1): Use it to format :local/:remote address if | |
f9711de4 | 16773 | service/host is not set; before Emacs would crash in that case. |
048addec JD |
16774 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
16775 | to setup coding system if host or service is not set. | |
16776 | ||
16777 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
16778 | ||
16779 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
16780 | ||
16781 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
16782 | COLORREF. | |
16783 | ||
16784 | * macgui.h: | |
16785 | * w32gui.h: Add definition of XColor. | |
16786 | ||
16787 | * macfns.c: | |
16788 | * w32fns.c: | |
16789 | * xfaces.c: Remove definition of XColor. | |
16790 | ||
16791 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
16792 | ||
16793 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
16794 | ||
16795 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
16796 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
16797 | window if it is dedicated. | |
16798 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
16799 | (Vspecial_display_function): Update docstring. | |
16800 | ||
16801 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
16802 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
16803 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
16804 | ||
16805 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
16806 | ||
16807 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
16808 | of a word when at the beginning. | |
16809 | ||
16810 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
16811 | ||
16812 | * lread.c (syms_of_lread): Fix typos. | |
16813 | ||
16814 | 2002-10-17 Dave Love <fx@gnu.org> | |
16815 | ||
16816 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
16817 | ||
16818 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
16819 | ||
16820 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
16821 | ||
16822 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
16823 | ||
16824 | * w16select.c (syms_of_win16select): Fix docstring for | |
16825 | `selection-coding-system'. | |
16826 | ||
16827 | * w32select.c (syms_of_w32select): Likewise. | |
16828 | ||
16829 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
16830 | ||
16831 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
16832 | a backslash-quoted char. | |
16833 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
16834 | ||
16835 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
16836 | ||
16837 | * window.c (window_scroll): Set immediate_quit. | |
16838 | ||
16839 | * print.c (print): When backquote form is the car of a list, | |
16840 | output in old style. Use old_backquote_output to output all | |
16841 | comma forms inside it in old style too. | |
16842 | ||
16843 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
16844 | ||
16845 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
16846 | ||
16847 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
16848 | batch mode). | |
16849 | ||
16850 | * lread.c (Fload): Doc fix (load-suffixes). | |
16851 | ||
16852 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
16853 | ||
16854 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
16855 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
16856 | Also switch the default to Qnil from Qt. | |
16857 | ||
16858 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
16859 | ||
16860 | * coding.c (code_convert_region): When we need more GAP for | |
16861 | conversion, pay attention to the case that coding->produced is not | |
16862 | greater than coding->consumed. | |
16863 | ||
16864 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
16865 | ||
16866 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
16867 | ||
16868 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
16869 | ||
16870 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
16871 | menu_item_selection to it to find selected item. | |
16872 | ||
16873 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
16874 | ||
16875 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
16876 | cases. The correct fix is to pass ReparentNotify to Xt. | |
16877 | The shell widget interprets ConfigureNotify differently depending | |
16878 | on if it has been reparented or not. | |
16879 | ||
16880 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
16881 | ||
16882 | * editfns.c (Fformat_time_string): Doc fix. | |
16883 | ||
16884 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
16885 | ||
16886 | * fns.c (Flength): Doc fix. | |
16887 | ||
16888 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
16889 | ||
16890 | * keyboard.c (keyremap): New struct. | |
16891 | (read_key_sequence): Use it: globally replace keytran_foo with | |
16892 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
16893 | keytran_next and fkey_next to just `next'. | |
16894 | ||
16895 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
16896 | ||
16897 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
16898 | treated like an X keysym. | |
16899 | ||
16900 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
16901 | ||
16902 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
16903 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
16904 | This is to also handle x/y changes that occur because of a resize. | |
16905 | ||
16906 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
16907 | ||
16908 | * frame.c (Vdelete_frame_functions): New variable. | |
16909 | (syms_of_frame): Initialize and defvar it. | |
16910 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
16911 | it when frame's `tooltip' parameter is non-nil. | |
16912 | ||
16913 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
16914 | ||
16915 | * w32fns.c (x_create_tip_frame): Likewise. | |
16916 | ||
16917 | * macfns.c (x_create_tip_frame): Likewise. | |
16918 | ||
16919 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
16920 | ||
16921 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
16922 | -1 before calling ccl_driver. | |
16923 | ||
16924 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
16925 | Only when it is non-nil, handle composition sequence. | |
16926 | (setup_coding_system) <0>: Don't force composition handling. | |
16927 | ||
16928 | * Makefile.in (lisp, shortlisp): Add utf-16.elc | |
16929 | ||
16930 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
16931 | ||
16932 | * search.c (Freplace_match): Adjust match data for the substitution | |
16933 | just made in the buffer. | |
16934 | ||
16935 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
16936 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
16937 | ||
16938 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
16939 | ||
16940 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
16941 | (read_char): Use them. Do all exits thru the end of the function. | |
16942 | ||
16943 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
16944 | ||
16945 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
16946 | is nil. | |
16947 | ||
16948 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
16949 | ||
16950 | * regex.h (__restrict_arr): Don't define if already defined. | |
16951 | ||
16952 | * coding.c (run_pre_post_conversion_on_str): | |
16953 | Save and restore Vdeactivate_mark. | |
16954 | ||
16955 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
16956 | ||
16957 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
16958 | ||
16959 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
16960 | ||
16961 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
16962 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
16963 | (choose_face_font): If C is a single byte char or latin-1, call | |
16964 | try_font_list with PREFER_FACE_FAMILY 1. | |
16965 | ||
16966 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
16967 | ||
16968 | * window.c (select_window_1): Don't select frame. | |
16969 | Set frame's selected window only when frame itself is selected. | |
16970 | (Fselect_window): Doc fix. | |
16971 | ||
16972 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
16973 | ||
16974 | * process.c (make-network-process): Doc fix (there is no | |
16975 | network-server-log-function hook). | |
16976 | ||
16977 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
16978 | ||
16979 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
16980 | (syms_of_print): Doc fix for `print-number-table'. | |
16981 | ||
16982 | * unexelf.c (unexec): Undo previous change. | |
16983 | ||
16984 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
16985 | ||
16986 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
16987 | ||
16988 | 2002-09-16 Dave Love <fx@gnu.org> | |
16989 | ||
16990 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
16991 | 25-08-1999. | |
16992 | ||
16993 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
16994 | ||
16995 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
16996 | ||
16997 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
16998 | ||
16999 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
17000 | ||
17001 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
17002 | ||
17003 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
17004 | ||
17005 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
17006 | ||
17007 | * unexsol.c: Don't use report_file_error; do it by hand | |
17008 | using dlerror. | |
17009 | ||
17010 | * process.c (wait_reading_process_input, both versions): | |
17011 | Before calling turn_on_atimers, call stop_polling. | |
17012 | ||
17013 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
17014 | ||
17015 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
17016 | we go to too_near_end, call clear_glyph_matrix. | |
17017 | (redisplay_window): After make_cursor_line_fully_visible, | |
17018 | call clear_glyph_matrix and bypass `goto done'. | |
17019 | ||
17020 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
17021 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
17022 | ||
17023 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
17024 | ||
17025 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
17026 | Only call push_message if we need to. | |
17027 | At the same time, make an unwind-protect to pop it. | |
17028 | Rename local message_p to old_message_p. | |
17029 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
17030 | (do_auto_save_unwind): Don't call pop_message. | |
17031 | ||
17032 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
17033 | ||
17034 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
17035 | ||
17036 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
17037 | ||
17038 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
17039 | ||
17040 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
17041 | ||
17042 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
17043 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
17044 | (re_match_2_internal): Be more careful with infinite loops. | |
17045 | ||
17046 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
17047 | ||
17048 | * macros.c (end_kbd_macro): New function. | |
17049 | (Fend_kbd_macro): Use it. | |
17050 | ||
17051 | * macros.h (end_kbd_macro): Declare extern. | |
17052 | ||
17053 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
17054 | end and save it instead of discarding it. | |
17055 | ||
17056 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
17057 | ||
17058 | * s/sol2-6.h: Fix typo. Add comment. | |
17059 | ||
17060 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
17061 | ||
17062 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
17063 | ||
17064 | * s/sol2-6.h: New file. | |
17065 | ||
17066 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
17067 | ||
17068 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
17069 | ||
17070 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
9dd28cae | 17071 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). |
048addec JD |
17072 | |
17073 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
17074 | ||
17075 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
17076 | ||
17077 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
17078 | ||
17079 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
17080 | ||
17081 | * coding.c (syms_of_coding): Fix spacing. | |
17082 | ||
17083 | * composite.c (Fcompose_region_internal) | |
17084 | (Fcompose_string_internal): Likewise. | |
17085 | ||
17086 | * data.c (Flsh): Likewise. | |
17087 | ||
17088 | * fontset.c (Fset_fontset_font): Likewise. | |
17089 | ||
17090 | * macfns.c (Fx_server_max_request_size): Likewise. | |
17091 | ||
17092 | * w16select.c (syms_of_win16select): Likewise. | |
17093 | ||
17094 | * w32select.c (syms_of_w32select): Likewise. | |
17095 | ||
17096 | * xselect.c (syms_of_xselect): Likewise. | |
17097 | ||
17098 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
17099 | ||
17100 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
17101 | call EXTEND_RANGE_TABLE and return a proper value. | |
17102 | (set_image_of_range): Don't call set_image_of_range_1 | |
17103 | if no TRANSLATE or if range includes all of Latin-1. | |
17104 | Only call it for the Latin-1 part of the range. | |
17105 | For other cases, make two separate ranges, | |
17106 | one for the original specified characters and one for | |
17107 | their case-conversions. | |
17108 | ||
17109 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
17110 | ||
17111 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
17112 | ||
17113 | * window.c (displayed_window_lines): Correct for one-off bug | |
17114 | in HEIGHT on non-window displays. | |
17115 | ||
17116 | * regex.c (set_image_of_range_1): New function. | |
17117 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
17118 | Return a value to indicate running out of memory. | |
17119 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
17120 | (extend_range_table_work_area): New subroutine. | |
17121 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
17122 | Different calling conventions, and used from set_image_of_range{,_1}. | |
17123 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
17124 | ||
17125 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
17126 | ||
17127 | * makefile.w32-in: All dependencies updated. | |
17128 | ||
17129 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
17130 | ||
17131 | * unexsol.c: New file. | |
17132 | ||
17133 | * xfns.c (Qbox): Declare external, don't define. | |
17134 | ||
17135 | * xdisp.c (redisplay_window) <force-start case>: | |
17136 | If point is on semi-visible last line, reposition | |
17137 | it at previous line. | |
17138 | ||
17139 | * alloc.c (display_malloc_warning): Use display-warning. | |
17140 | (malloc_warning_1): Function deleted. | |
17141 | ||
17142 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
17143 | ||
17144 | * lread.c (read1): Handle #! by skipping the line. | |
17145 | ||
17146 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
17147 | ||
17148 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
17149 | Don't include LDFLAGS. | |
17150 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
17151 | ||
17152 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
17153 | ||
17154 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
17155 | member of x_display_info unless we compile for some window system. | |
17156 | ||
17157 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
17158 | ||
17159 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
17160 | (get_window_cursor_type): Don't use them. | |
17161 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
17162 | ||
17163 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
17164 | ||
17165 | * xdisp.c (get_next_display_element): Fix previous change. | |
17166 | ||
17167 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
17168 | ||
17169 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
17170 | (expose_window): Use it to fix the display of overlapping | |
17171 | rows (merge code from xterm.c). | |
17172 | ||
17173 | * macfns.c (Qbox): Add extern declaration. | |
17174 | ||
17175 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
17176 | ||
17177 | * w32fns.c (Qbox): Make extern. | |
17178 | (syms_of_w32fns): Remove initialization of Qbox. | |
17179 | ||
17180 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
17181 | ||
17182 | * xfns.c (Fx_open_connection): Fix error message. | |
17183 | ||
17184 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
17185 | ||
17186 | The following changes consolidates the handling of the cursor | |
17187 | type in xdisp.c, moving duplicate code and functionality from | |
17188 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
17189 | ||
17190 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
17191 | Added DEFAULT_CURSOR value. | |
17192 | (struct frame) <desired_cursor, cursor_width> | |
17193 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
17194 | Consolidated from output_x, output_w32 and output_mac structs. | |
17195 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
17196 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
17197 | ||
17198 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
17199 | Variables consolidated here. | |
17200 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
17201 | (Vcursor_in_non_selected_windows): Renamed from | |
17202 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
17203 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
17204 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
17205 | consolidated here. Recognize Qhollow setting. | |
17206 | (set_frame_cursor_types): New function to set frame cursor types | |
17207 | based on the frame parameters. | |
17208 | (get_window_cursor_type): New function to calculate new cursor | |
17209 | type and width for the specified window. Based on duplicated | |
17210 | code consolidated here. | |
17211 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
17212 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
17213 | before using built-in blink off methods. | |
17214 | ||
17215 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
17216 | ||
17217 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
17218 | (get_specified_cursor_type, get_window_cursor_type) | |
17219 | (set_frame_cursor_types): Added prototypes. | |
17220 | ||
17221 | * macfns.c (x_specified_cursor_type): Removed. | |
17222 | (x_set_cursor_type): Use set_frame_cursor_types. | |
17223 | (Qbar, Qbox): Removed. | |
17224 | (syms_of_macfns): Don't intern or staticpro them. | |
17225 | ||
17226 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
17227 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
17228 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
17229 | Remove unused local variables cursor_non_selected, active_cursor. | |
17230 | Redraw cursor if hbar cursor width changes. | |
17231 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
17232 | ||
17233 | * macterm.h (enum text_cursor_kinds): Removed. | |
17234 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
17235 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
17236 | (FRAME_DESIRED_CURSOR): Macro removed. | |
17237 | ||
17238 | * w32fns.c (Vblink_cursor_alist): Removed. | |
17239 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
17240 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
17241 | (x_specified_cursor_type): Removed. | |
17242 | (x_set_cursor_type): Use set_frame_cursor_types. | |
17243 | ||
17244 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
17245 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
17246 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
17247 | Remove unused local variables cursor_off_state. | |
17248 | Redraw cursor if hbar cursor width changes. | |
17249 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
17250 | ||
17251 | * w32term.h (enum text_cursor_kinds): Removed. | |
17252 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
17253 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
17254 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
17255 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
17256 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
17257 | w32_highlight_frame. | |
17258 | ||
17259 | * xfns.c (Vblink_cursor_alist): Removed. | |
17260 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
17261 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
17262 | (x_specified_cursor_type): Removed. | |
17263 | (x_set_cursor_type): Use set_frame_cursor_types. | |
17264 | ||
17265 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
17266 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
17267 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
17268 | Remove unused local variables cursor_off_state. | |
17269 | Redraw cursor if hbar cursor width changes. | |
17270 | ||
17271 | * xterm.h (enum text_cursor_kinds): Removed. | |
17272 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
17273 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
17274 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
17275 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
17276 | (x_specified_cursor_type): Remove prototype. | |
17277 | ||
17278 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
17279 | ||
17280 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
17281 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
17282 | (Vblink_cursor_alist): New variable. | |
17283 | (syms_of_w32fns): Initialize and defvar it. | |
17284 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
17285 | Exceptions are hollow boxes. | |
17286 | (Qbox, Qhollow): New variables. | |
17287 | (syms_of_w32fns): Initialize and staticpro them. | |
17288 | ||
17289 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
17290 | New macros. | |
17291 | (struct w32_output): New fields blink_off_cursor, | |
17292 | blink_off_cursor_width. | |
17293 | (FRAME_CURSOR_WIDTH): New macro. | |
17294 | ||
17295 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
17296 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
17297 | ||
17298 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
17299 | for bar cursor. | |
17300 | ||
17301 | * w32term.c (expose_overlaps): New function. | |
17302 | (expose_window): Use it to fix the display of overlapping rows. | |
17303 | ||
17304 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
17305 | ||
17306 | * xfns.c (Fx_open_connection): Improve help when X connection | |
17307 | fails, xhost is insecure and xauth is better. | |
17308 | ||
17309 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
17310 | ||
17311 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
17312 | composite.h. | |
17313 | ||
17314 | * emacs.c (USAGE1): Add missing newline. | |
17315 | ||
17316 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
17317 | ||
17318 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
17319 | ||
17320 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
17321 | ||
17322 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
17323 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
17324 | (Vblink_cursor_alist): New variable. | |
17325 | (syms_of_xfns): Initialize and defvar it. | |
17326 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
17327 | Exceptions are hollow boxes. | |
17328 | (Qbox, Qhollow): New variables. | |
17329 | (syms_of_xfns): Initialize and staticpro them. | |
17330 | ||
17331 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
17332 | New macros. | |
17333 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
17334 | ||
17335 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
17336 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
17337 | ||
17338 | * emacs.c (main): Handle --script. | |
17339 | (USAGE1): Mention --script. | |
17340 | (standard_args): Define sort order for --script. | |
17341 | ||
17342 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17343 | ||
17344 | * xdisp.c (redisplay_updating_p): Variable removed. | |
17345 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
17346 | New variables. | |
17347 | (init_iterator): Don't free realized faces if | |
17348 | inhibit_free_realized_faces is set. | |
17349 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
17350 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
17351 | initialize Qinhibit_free_realized_faces. | |
17352 | ||
17353 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
17354 | when iterator is adding glyphs to a glyph matrix. | |
17355 | ||
17356 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
17357 | ||
17358 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
17359 | octal form for such eight-bit characters that can be converted to | |
17360 | multibyte char. | |
17361 | ||
17362 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
17363 | ||
b6189c3b KS |
17364 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize |
17365 | foreground and background colors. From Joe Buehler. | |
048addec JD |
17366 | |
17367 | 2002-08-26 Miles Bader <miles@gnu.org> | |
17368 | ||
17369 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
17370 | ||
17371 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
17372 | ||
17373 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
17374 | defined instead of MAC_OSX. | |
17375 | ||
17376 | * s/darwin.h (select): Define select to sys_select only if | |
17377 | HAVE_CARBON is defined. | |
17378 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
17379 | (DONT_REOPEN_PTY): #def it. | |
17380 | ||
17381 | * macterm.c (XTread_socket): Remove code to call | |
17382 | SendEventToEventTarget for keys with command modifiers when | |
17383 | mac_command_key_is_meta is nil. | |
17384 | ||
17385 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
17386 | ||
17387 | * eval.c (Fdefvar): Fix last change. | |
17388 | ||
17389 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
17390 | ||
17391 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
17392 | Record variables in load history as (defvar . VAR). | |
17393 | (Fdefvar): Don't record in load history if no initial value. | |
17394 | (Qdefvar): New variable. | |
17395 | (syms_of_eval): Init and staticpro it. | |
17396 | ||
17397 | * lread.c (syms_of_lread): Doc fix. | |
17398 | (build_load_history): Use Fmember to see if a definition | |
17399 | is already in the Vload_history element. | |
17400 | ||
17401 | * process.c (Fstart_process): Remove /: from program name. | |
17402 | ||
17403 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
17404 | has a `safe-magic' property. | |
17405 | ||
17406 | * callproc.c (Fcall_process): Remove /: from program name. | |
17407 | ||
17408 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
17409 | ||
17410 | * regex.c (PATFETCH): Remove the translating fetch. | |
17411 | (PATFETCH_RAW): Rename to PATFETCH. | |
17412 | (set_image_of_range): New fun. | |
17413 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
17414 | (regex_compile): Don't translate the pattern chars so eagerly. | |
17415 | Only do it when inserting an `exactn' bytecode or when handling | |
17416 | a char-range. | |
17417 | (mutually_exclusive_p): Avoid empty statement. | |
17418 | ||
17419 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
17420 | ||
17421 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
17422 | end up on a partially visible line; this reverts a specific part | |
17423 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
17424 | display error which has been reported several times now. | |
17425 | However it introduces the problem that changes was supposed to fix. | |
17426 | See my comments in the source if you want to debug this further. | |
17427 | ||
17428 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
17429 | ||
17430 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
17431 | ||
17432 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
17433 | ||
17434 | * msdos.c (croak): Add `void' to definition. | |
17435 | ||
c1380aa6 | 17436 | * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: |
048addec JD |
17437 | Don't define them, they are defined in msdos.c. |
17438 | ||
17439 | * mem-limits.h [MSDOS]: Declare etext. | |
17440 | ||
17441 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
17442 | `const' since CORRECT_DIR_SEPS modifies its target. | |
17443 | ||
17444 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
17445 | ||
2fb0ce67 | 17446 | * keyboard.c (Fclear_this_command_keys): Add optional arg |
048addec JD |
17447 | KEEP-RECORD to avoid clearing lossage when we just want to clear |
17448 | the current key sequence (kmacro needs this). | |
17449 | ||
17450 | 2002-08-19 Kenichi Handa <handa@localhost> | |
17451 | ||
17452 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
17453 | ||
17454 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
17455 | cons, return Qnil. | |
17456 | ||
17457 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
17458 | ||
17459 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
17460 | ||
17461 | * sysdep.c [!VMS]: Include sys/files.h. | |
17462 | ||
17463 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
17464 | ||
17465 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
17466 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
17467 | ||
17468 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
17469 | ||
17470 | * mac.c (init_mac_osx_environment): New function. | |
17471 | ||
17472 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
17473 | ||
17474 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
17475 | ||
17476 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
17477 | executing macro before appending to it (when used from Lisp). | |
17478 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
17479 | which is called prior to each iteration of macro (for kmacro.el). | |
17480 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
17481 | ||
17482 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
17483 | ||
17484 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
17485 | ||
17486 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
17487 | ||
17488 | * xselect.c (QUTF8_STRING): New variable. | |
17489 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
17490 | (x_atom_to_symbol): Likewise. | |
17491 | (x_get_local_selection): New argument local_request. If it is | |
17492 | nonzero, call handler_fn with the second arg nil. | |
17493 | (x_handle_selection_request): Call x_get_local_selection with | |
17494 | local_request 0. | |
17495 | (lisp_data_to_selection_data): Don't encode the string here. | |
17496 | (Fx_get_selection_internal): Call x_get_local_selection with | |
17497 | local_request 1. | |
17498 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
17499 | ||
17500 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
17501 | ||
17502 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
17503 | ||
17504 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
17505 | ||
17506 | * minibuf.c (Fminibufferp): New function. | |
17507 | (syms_of_minibuf): Defsubr it. | |
17508 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
17509 | ||
17510 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17511 | ||
17512 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
17513 | ||
17514 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
17515 | ||
17516 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
17517 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
17518 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
17519 | already. | |
17520 | ||
17521 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
17522 | ||
17523 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
17524 | ||
17525 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
17526 | (Vmac_pass_command_to_system): New variable. | |
17527 | (Vmac_pass_control_to_system): New variable. | |
17528 | (do_mouse_moved): Check wp with is_emacs_window. | |
17529 | (XTread_socket): Check window_ptr with is_emacs_window. | |
17530 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
17531 | events back to Mac Toolbox for processing, depending on values of | |
17532 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
17533 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
17534 | Vmac_pass_control_to_system. | |
17535 | ||
17536 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
17537 | ||
17538 | * coding.c (unencodable_char_position): New function. | |
17539 | (Funencodable_char_position): New function. | |
17540 | (syms_of_coding): Defsubr Funencodable_char_position. | |
17541 | ||
17542 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
17543 | ||
17544 | * mac.c (sys_select) [MAC_OSX]: New function. | |
17545 | ||
17546 | * macterm.c (MakeMeTheFrontProcess): New function. | |
17547 | (mac_initialize): Call MakeMeTheFrontProcess. | |
17548 | ||
17549 | * s/darwin.h: Define select to sys_select. | |
17550 | ||
17551 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
17552 | ||
17553 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
17554 | ||
17555 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17556 | ||
17557 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
17558 | end of the buffer. | |
17559 | ||
88fde92a | 17560 | 2002-08-08 Ken Raeburn <raeburn@gnu.org> |
048addec JD |
17561 | |
17562 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
17563 | ||
17564 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
17565 | ||
17566 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
17567 | ||
17568 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
17569 | VISIT is a filename, make it the target. | |
17570 | ||
17571 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
17572 | ||
17573 | * alloc.c (mark_object): Detect long lists for debugging. | |
17574 | (mark_object_loop_halt): New variable. | |
17575 | ||
17576 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
17577 | ||
17578 | * data.c (Fmake_variable_frame_local): Doc fix. | |
17579 | ||
17580 | 2002-08-01 David Ponce <david@dponce.com> | |
17581 | ||
17582 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
17583 | (malloc_widget_value, free_widget_value) | |
17584 | (w32_free_submenu_strings): Use them. | |
17585 | ||
17586 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
17587 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
17588 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
17589 | (single_submenu, set_frame_menubar) | |
17590 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
17591 | ||
17592 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
17593 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
17594 | ||
17595 | * w32menu.c: Changes adapted from xmenu.c | |
17596 | (set_frame_menubar): First parse all submenus, | |
17597 | then make widget_value trees from them. | |
17598 | Don't allocate any widget_value objects | |
17599 | until we are done with the parsing. | |
17600 | (parse_single_submenu): New function. | |
17601 | (digest_single_submenu): New function. | |
17602 | (single_submenu): Function deleted, replaced by those two. | |
17603 | ||
17604 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
17605 | ||
17606 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
17607 | returns a valid window pointer before proceeding for keyDown and | |
17608 | autoKey events. | |
17609 | ||
17610 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
17611 | ||
17612 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
17613 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
17614 | (x_iconify_frame): Call CollapseWindow. | |
17615 | (Vmac_reverse_ctrl_meta): New variable. | |
17616 | (Vmac_wheel_button_is_mouse_2): New variable. | |
17617 | (init_mac_drag_n_drop): New function. | |
17618 | (mac_do_receive_drag): New function. | |
17619 | (mac_handle_service_event): New function. | |
17620 | (init_service_handler): New function. | |
17621 | (mac_to_emacs_modifiers): New function. | |
17622 | (mac_event_to_emacs_modifiers): New function. | |
17623 | (mac_get_mouse_btn): New function. | |
17624 | (mac_convert_event_ref): New function. | |
17625 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
17626 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
17627 | mac_get_mouse_btn. | |
17628 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
17629 | ||
17630 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
17631 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
17632 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
17633 | TOOL_BAR_EVENT for MAC_OS as well. | |
17634 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
17635 | as for WINDOWS_NT. | |
17636 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
17637 | ||
17638 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
17639 | ||
17640 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17641 | ||
17642 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
17643 | lead to a newline being skipped. | |
17644 | ||
17645 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
17646 | ||
17647 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
17648 | ||
17649 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
17650 | ||
17651 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
17652 | ||
17653 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
17654 | ||
17655 | * macfns.c: #undef init_process before #define-ing it. | |
17656 | ||
17657 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
17658 | HAVE_CARBON is defined. | |
17659 | ||
17660 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
17661 | ||
17662 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
17663 | then make widget_value trees from them. | |
17664 | Don't allocate any widget_value objects | |
17665 | until we are done with the parsing. | |
17666 | (parse_single_submenu): New function. | |
17667 | (digest_single_submenu): New function. | |
17668 | (single_submenu): Function deleted, replaced by those two. | |
17669 | ||
17670 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
17671 | ||
17672 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
17673 | `w32-get-true-file-attributes'. | |
17674 | ||
17675 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
17676 | ||
17677 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
17678 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
17679 | ||
17680 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
17681 | ||
17682 | * keyboard.c (make_lispy_event): | |
17683 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
17684 | Explicitly clear up_modifier in event->modifiers. | |
17685 | ||
17686 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
17687 | ||
17688 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
17689 | ||
17690 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
17691 | for bar cursor. | |
17692 | ||
17693 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
17694 | ||
17695 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
17696 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
17697 | it in the normal loop. | |
17698 | ||
17699 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17700 | ||
17701 | * xterm.c (expose_overlaps): New function. | |
17702 | (expose_window): Use it to fix the display of overlapping rows. | |
17703 | ||
17704 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
17705 | ||
17706 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
17707 | ||
17708 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
17709 | since it only depends on XUINT. | |
17710 | ||
17711 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
17712 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
17713 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
17714 | Macros deleted. | |
3947677c | 17715 | |
77d1daf2 AS |
17716 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
17717 | its value over other approaches. | |
17718 | * sysdep.c (start_of_data): Don't define the function if a macro | |
17719 | form has been defined. | |
8a8e19a3 | 17720 | |
048addec JD |
17721 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
17722 | ||
17723 | * xdisp.c (redisplay_updating_p): New variable. | |
17724 | (init_iterator): Don't free realized faces when | |
17725 | redisplay_updating_p is set. | |
17726 | (redisplay_internal): Set redisplay_updating_p while updating | |
17727 | the display. | |
17728 | ||
17729 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
17730 | ||
17731 | * editfns.c (Fmessage): Treat "" like nil. | |
17732 | ||
17733 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
17734 | ||
17735 | * xdisp.c (face_before_or_after_it_pos): | |
17736 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
17737 | ||
17738 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
17739 | ||
17740 | * callproc.c (init_callproc) [DOS_NT]: | |
17741 | Initialize Vshared_game_score_directory to nil. | |
17742 | (syms_of_callproc) [DOS_NT]: Likewise. | |
17743 | ||
17744 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
17745 | ||
17746 | * xdisp.c (display_line): Replace an abort with xassert. | |
17747 | ||
17748 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
17749 | ||
17750 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
17751 | and END_UNCHANGED when setting buffer_unchanged_p. | |
17752 | Use current_matrix_up_to_date_p to decide whether to use | |
17753 | try_cursor_movement. | |
17754 | ||
17755 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
17756 | ||
17757 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
17758 | ||
17759 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
17760 | Set to nil if dir does not exist. | |
17761 | (syms_of_callproc): Init unconditionally and simply. | |
17762 | ||
17763 | * buffer.c (Fbuffer_list): Doc fix. | |
17764 | ||
17765 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
17766 | ||
17767 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
17768 | ||
17769 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
17770 | pages to unmap is rounded towards zero. | |
17771 | ||
17772 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
17773 | (XSETINT): Deleted. | |
17774 | ||
17775 | * m/att3b.h (XINT): Don't define. | |
17776 | (VALBITS, VALMASK, XTYPE): Deleted. | |
17777 | (DATA_SEG_BITS): Define. | |
17778 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
17779 | ARRAY_MARK_FLAG): Deleted. | |
17780 | (DATA_SEG_BITS): Define. | |
17781 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
17782 | (DATA_SEG_BITS): Define. | |
17783 | ||
17784 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
17785 | ||
17786 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
17787 | Calls changed. | |
17788 | ||
17789 | * lisp.h (print_error_message): Declare new args. | |
17790 | ||
17791 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
17792 | and CONTEXT to print_error_message, don't print them here. | |
17793 | For a Quit, don't use Vsignaling_function. | |
17794 | Call message_log_maybe_newline. | |
17795 | ||
17796 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
17797 | ||
17798 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
17799 | ||
17800 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
17801 | ||
17802 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
17803 | ||
17804 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
17805 | point to const. | |
17806 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
17807 | const. | |
17808 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
17809 | * coding.c (encode_eol, detect_coding, detect_eol): | |
17810 | (decode_coding, encode_coding, detect_coding_system): | |
17811 | Source strings now treated as const. | |
17812 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
17813 | modify Lisp string contents. | |
17814 | * coding.h (decode_coding, encode_coding, detect_coding, | |
17815 | detect_eol): Declarations updated. | |
17816 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
17817 | as const. | |
17818 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
17819 | * lisp.h (STRING_COPYIN): New macro. | |
17820 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
17821 | (internal_with_output_to_temp_buffer): Declarations updated. | |
17822 | * print.c (temp_output_buffer_setup): | |
17823 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
17824 | pointer to const. | |
17825 | * sound.c (struct sound_device): Function pointer field "write" | |
17826 | buffer argument now points to const. | |
17827 | (vox_write): Buffer argument points to const. | |
17828 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
17829 | contents as const. | |
17830 | * sysdep.c (emacs_write): Buffer pointer now const. | |
17831 | * term.c (encode_terminal_code): Buffer pointer now const. | |
17832 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
17833 | (x_face_list_fonts, x_update_menu_appearance): | |
17834 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
17835 | ||
17836 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
17837 | ||
048addec JD |
17838 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
17839 | ||
17840 | * fileio.c (syms_of_fileio): Likewise. | |
c62aec78 JB |
17841 | (Ffile_name_as_directory): Fix argument name in docstring. |
17842 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
048addec JD |
17843 | |
17844 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
17845 | ||
17846 | * data.c (Fdefalias): Doc fix. | |
17847 | ||
17848 | 2002-07-17 Dave Love <fx@gnu.org> | |
17849 | ||
17850 | * intervals.h (text_property_stickiness): Use P_. | |
17851 | ||
17852 | * ccl.c: Remove `emacs' conditionals. | |
17853 | (ccl_backtrace_table): Fix size spec. | |
17854 | (ccl_driver): Fix type errors. | |
17855 | ||
17856 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
17857 | ||
17858 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
17859 | (make_multibyte_string, build_string): String pointer args now | |
17860 | point to const. | |
17861 | * charset.c (find_charset_in_text, c_string_width): | |
17862 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
17863 | * fileio.c (report_file_error): | |
17864 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
17865 | (count_combining_before, count_combining_after, insert_1_both): | |
17866 | (insert, insert_and_inherit, insert_string): | |
17867 | (insert_before_markers, insert_before_markers_and_inherit): | |
17868 | * lread.c (intern, oblookup, hash_string): | |
17869 | * minibuf.c (temp_echo_area_glyphs): | |
17870 | * search.c (fast_c_string_match_ignore_case): | |
17871 | * sysdep.c (emacs_open, set_file_times): | |
17872 | * xfaces.c (xstricmp): | |
17873 | * xdisp.c (store_frame_title, string_char_and_length): | |
17874 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
17875 | (set_message_1): Cast message string argument to const pointer. | |
17876 | * editfns.c (general_insert_function): Insertion function now | |
17877 | takes pointer to const for input data. | |
17878 | * charset.h (find_charset_in_text, c_string_width): | |
17879 | (parse_str_as_multibyte): Declarations updated. | |
17880 | * dispextern.h (xstricmp): Declaration updated. | |
17881 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
17882 | (count_size_as_multibyte, count_combining_before): | |
17883 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
17884 | (insert, insert_and_inherit, insert_before_markers) | |
17885 | (insert_before_markers_and_inherit, set_message, message2): | |
17886 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
17887 | (make_multibyte_string, intern, oblookup, report_file_error): | |
17888 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
17889 | (emacs_open, xstrdup): Declarations updated. | |
17890 | * systime.h (set_file_times): Declaration updated. | |
17891 | ||
17892 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
17893 | for pointer to lisp string data. | |
17894 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
17895 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
17896 | * coding.c (Ffind_coding_systems_region_interval): | |
17897 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
17898 | (Fmake_directory_internal, Fdelete_directory): | |
17899 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
17900 | * fontset.c (font_family_registry, fs_query_fontset): | |
17901 | (list_fontsets): | |
17902 | * frame.c (Fframe_parameter): | |
17903 | * keyboard.c (cmd_error_internal): | |
17904 | * keymap.c (Fdescribe_buffer_bindings): | |
17905 | * lread.c (complete_filename_p, openp): | |
17906 | * minibuf.c (Fminibuffer_complete_word): | |
17907 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
17908 | (face_before_or_after_it_pos, next_element_from_string): | |
17909 | (get_overlay_arrow_glyph_row, display_mode_element): | |
17910 | (decode_mode_spec_coding): | |
17911 | * xterm.c (same_x_server): Likewise. | |
17912 | ||
17913 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
17914 | settings of non-existent fields. | |
17915 | ||
17916 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
17917 | copy a lisp value. | |
17918 | ||
17919 | * lread.c (Fintern_soft): Use string macros instead of | |
17920 | Lisp_String fields. | |
17921 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
17922 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
17923 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
17924 | ||
17925 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
17926 | ||
17927 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
17928 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
17929 | XSTRING()->size_byte. | |
17930 | ||
17931 | * lisp.h (SDATA, SREF): Produce rvalue. | |
17932 | (SSET): New macro. | |
17933 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
17934 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
17935 | a string. | |
17936 | * casefiddle.c (casify_object): Use SSET. | |
17937 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
17938 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
17939 | address of string contents. | |
17940 | * data.c (Faref): Use SDATA. | |
17941 | (Faset): Use SDATA, SSET. | |
17942 | * dired.c (directory_files_internal): Use SSET. | |
17943 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
17944 | (Fread_file_name): Use SREF, SSET. | |
17945 | * fns.c (concat): Use SSET. | |
17946 | (concat, Fdelete): Use SDATA. | |
17947 | * insdel.c (insert_from_string_1): Use SDATA. | |
17948 | * keyboard.c (Fevent_convert_list): Use SREF. | |
17949 | * lread.c (Fload): Use SDATA, SSET. | |
17950 | * macfns.c (validate_x_resource_name): Use SSET. | |
17951 | * process.c (status_message): Use SSET. | |
17952 | * search.c (wordify): Use SDATA. | |
17953 | (Freplace_match): Use SREF. | |
17954 | * w32fns.c (validate_x_resource_name): Use SSET. | |
17955 | * xfns.c (validate_x_resource_name): Use SSET. | |
17956 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
17957 | ||
17958 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
17959 | ||
17960 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
17961 | ||
17962 | * xdisp.c (reconsider_clip_changes): | |
17963 | Don't test prevent_redisplay_optimizations_p. | |
17964 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
17965 | along with clip_changed in some cases. | |
17966 | (try_window_id): Likewise. | |
17967 | (redisplay_window): New local var buffer_unchanged_p. | |
17968 | ||
17969 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
17970 | ||
17971 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
17972 | (process_send_signal): Clean up handling of GID. | |
17973 | Detect errors in ioctls meant to set GID. | |
17974 | ||
17975 | * window.c (temp_output_buffer_show): | |
17976 | Don't set prevent_redisplay_optimizations_p. | |
17977 | ||
17978 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
17979 | ||
17980 | * eval.c (Fdefvaralias): Add docstring argument. | |
17981 | ||
17982 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
17983 | ||
17984 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
17985 | (STRING_SET_INTERVALS): New macro. | |
17986 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
17987 | * fns.c (Fstring_as_multibyte): Likewise. | |
17988 | * intervals.c (balance_possible_root_interval, delete_interval) | |
17989 | (create_root_interval, copy_intervals_to_string): Likewise. | |
17990 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
17991 | instead of 0. | |
17992 | ||
17993 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
17994 | ||
17995 | * lisp.h (STRING_SET_CHARS): New macro. | |
17996 | (SCHARS, SBYTES): Produce rvalues. | |
17997 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
17998 | * fns.c (concat): Likewise. | |
17999 | * lread.c (read_vector): Likewise. | |
18000 | ||
3419757d | 18001 | * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. |
048addec | 18002 | (STRING_SET_UNIBYTE): New macro. |
3419757d | 18003 | (SET_STRING_BYTES): Delete. Callers (all of which supplied a |
048addec JD |
18004 | length of -1) changed to use STRING_SET_UNIBYTE. |
18005 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
18006 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
18007 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
18008 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
18009 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
18010 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
18011 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
18012 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
18013 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
18014 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
18015 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
18016 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
18017 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
18018 | unchanged for now. | |
18019 | ||
18020 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
18021 | ||
18022 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
18023 | ||
18024 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
18025 | ||
18026 | * fileio.c (Fwrite_region): Doc fix. | |
18027 | ||
18028 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
18029 | ||
18030 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
18031 | (command_loop_1): Avoid certain actions after memory-full error. | |
18032 | ||
18033 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
18034 | For a memory-full error, don't call Vsignal_hook_function | |
18035 | and don't set Vsignaling_function. | |
18036 | ||
18037 | * process.c (process_send_signal): Add abort call. | |
18038 | ||
18039 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
18040 | ||
18041 | * keymap.c (Fkey_binding): Fix typo. | |
18042 | ||
18043 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
18044 | ||
18045 | * alloc.c (Vmemory_full): New variable. | |
3419757d | 18046 | (Vmemory_signal_data): Rename from memory_signal_data. |
048addec JD |
18047 | Uses changed. |
18048 | (syms_of_alloc): Defvar them. | |
18049 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
18050 | ||
18051 | * lisp.h (Vmemory_full): Add declaration. | |
18052 | (current_column, indented_beyond_p): Change declaration. | |
18053 | ||
18054 | * indent.c (last_known_column): Declare as double, not float. | |
18055 | (current_column, current_column_1, string_display_width) | |
18056 | (position_indentation): Return `double'. | |
18057 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
18058 | ||
18059 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
18060 | (back_to_previous_visible_line_start) | |
18061 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
18062 | Use `double', not `float', when calling indented_beyond_p. | |
18063 | ||
3419757d | 18064 | * s/hpux11.h (BROKEN_SA_RESTART): Define. |
048addec JD |
18065 | |
18066 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
18067 | ||
18068 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
18069 | ||
18070 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
f9711de4 JB |
18071 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
18072 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
18073 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
18074 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
18075 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
048addec JD |
18076 | |
18077 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
18078 | ||
d814862a JB |
18079 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. |
18080 | All callers changed. | |
048addec JD |
18081 | |
18082 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
18083 | ||
18084 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
18085 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
18086 | ||
18087 | * composite.c (HASH_VALUE, HASH_KEY): | |
18088 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
18089 | ||
18090 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
18091 | ||
18092 | * callproc.c (Fcall_process): Fix previous change. | |
18093 | ||
18094 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
18095 | ||
18096 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
18097 | Add support for hash-tables. | |
18098 | (Ftry_completion): Return t even if the string appears multiple times. | |
18099 | ||
18100 | * fns.c (Fnconc): Use XCDR. | |
18101 | (Fprovide): Use CONSP and XCDR. | |
18102 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
18103 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
18104 | (Fmake_hash_table): Accept `:size nil'. | |
18105 | (Fmakehash): Delete: moved to subr.el. | |
18106 | (syms_of_fns): Don't defsubr makehash. | |
18107 | ||
18108 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
18109 | (HASH_TABLE_SIZE): Move from fns.c. | |
18110 | ||
18111 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
18112 | ||
18113 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
18114 | Instead just return 0 when there is something to be done. | |
18115 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
18116 | retry scrolling as if cursor were off the bottom. | |
18117 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
18118 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
18119 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
18120 | go to try_to_scroll. | |
18121 | ||
18122 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
18123 | so we get the up-to-date value for the binding that is loaded. | |
18124 | ||
18125 | * eval.c (Fdefmacro): Doc fix. | |
18126 | ||
18127 | 2002-07-05 Dave Love <fx@gnu.org> | |
18128 | ||
18129 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
18130 | correctly. | |
18131 | ||
18132 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
18133 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
18134 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
18135 | CCL_LookupCharConstTbl. | |
18136 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
18137 | ||
18138 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18139 | ||
18140 | * xdisp.c: Remove unused variable `face'. | |
18141 | ||
18142 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
18143 | ||
18144 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
18145 | obsolescence information. | |
18146 | ||
18147 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
18148 | ||
18149 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
18150 | pattern. Search cache first. | |
18151 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
18152 | for Japanese font. | |
18153 | (XLoadQueryFont): Use it. | |
18154 | ||
18155 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
18156 | ||
18157 | * keymap.c (Fdefine_key): Doc fix. | |
18158 | ||
18159 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
18160 | ||
18161 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
18162 | ||
18163 | * keymap.c (syms_of_keymap): Fix typo. | |
18164 | ||
18165 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
18166 | ||
18167 | * s/darwin.h: Define POSIX_SIGNALS. | |
18168 | ||
18169 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
18170 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
18171 | Posix pathname. | |
18172 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
18173 | Call init_required_apple_events and disable the `Quit' menu item | |
18174 | provided automatically by the Carbon Toolbox. | |
18175 | ||
18176 | 2002-07-01 Dave Love <fx@gnu.org> | |
18177 | ||
18178 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
18179 | for K&R. | |
18180 | ||
18181 | * xterm.c: Fix prototype for K&R. | |
18182 | ||
18183 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
18184 | ||
18185 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
18186 | ||
18187 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
18188 | (timer_start_idle): Set that. | |
18189 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
18190 | to previous value. | |
18191 | ||
18192 | * window.c (Frecenter): With arg, set optional_new_start. | |
18193 | ||
18194 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
18195 | ||
18196 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
18197 | buffer for completion. | |
18198 | ||
18199 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
18200 | ||
18201 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
18202 | ||
18203 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
18204 | ||
18205 | * keyboard.c (readable_filtered_events): New function that filters | |
18206 | FOCUS_IN_EVENT depending on parameter. | |
18207 | (readable_events): Calls readable_filtered_events, not filtering | |
18208 | FOCUS_IN_EVENT. | |
18209 | (get_filtered_input_pending): New function, filtering parameter passed | |
18210 | to readable_filtered_events. | |
18211 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
18212 | FOCUS_IN_EVENT. | |
18213 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
18214 | FOCUS_IN_EVENT. | |
18215 | ||
18216 | * xterm.h (struct x_output): Add focus_state. | |
18217 | ||
18218 | * xterm.c (x_focus_changed): New function. | |
18219 | (x_detect_focus_change): New function. | |
18220 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
18221 | EnterNotify and LeaveNotify to track X focus changes. | |
18222 | ||
18223 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
18224 | ||
18225 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
18226 | ||
18227 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
18228 | ||
52eb0373 | 18229 | * xdisp.c (mode_line_string_list, mode_line_string_face) |
048addec JD |
18230 | (mode_line_string_face_prop): New variables. |
18231 | (store_mode_line_string): New function. | |
18232 | (display_mode_element): Use store_mode_line_string to | |
18233 | add mode-line string elements to mode_line_string_list | |
18234 | when mode_line_string_list is non-nil. | |
18235 | (Fformat_mode_line): Now returns propertized string by | |
18236 | default. New arg NO-PROPS to ignore properties. | |
18237 | (decode_mode_spec): Only add two dashes for %- in propertized | |
18238 | mode-line string. | |
18239 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
18240 | ||
18241 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
18242 | ||
18243 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
18244 | ||
18245 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
18246 | ||
18247 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
18248 | ||
18249 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
18250 | ||
18251 | * fileio.c (read_file_name_cleanup): Add missing return. | |
18252 | ||
18253 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
18254 | ||
18255 | * window.c (Frecenter): Don't set force_start flag. | |
18256 | ||
18257 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
18258 | (Fminibuffer_completion_help): Complete just the text before point. | |
18259 | (minibuffer_completion_contents): New function. | |
18260 | ||
18261 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
18262 | ||
18263 | * frame.c (frames_bury_buffer): Function deleted. | |
18264 | ||
18265 | 2002-06-25 Miles Bader <miles@gnu.org> | |
18266 | ||
18267 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
18268 | the end of callint_message, allow for a terminating '\0'. | |
18269 | ||
18270 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
18271 | ||
52eb0373 | 18272 | * w32select.c: Include composite.h. |
048addec JD |
18273 | |
18274 | * w16select.c: Likewise. | |
18275 | ||
18276 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
18277 | ||
18278 | * callproc.c (Fcall_process): If code detection is necessary, | |
18279 | call detect_coding directly here. | |
18280 | ||
18281 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
18282 | ||
18283 | * w16select.c (Fw16_get_clipboard_data): | |
18284 | * w32fns.c (w32_to_x_font): | |
18285 | * w32select.c (Fw32_get_clipboard_data): | |
18286 | * xselect.c (selection_data_to_lisp_data): | |
18287 | * xterm.c (XTread_socket): Disable composition handling. | |
18288 | ||
18289 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
18290 | ||
18291 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
18292 | ||
18293 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
18294 | ||
18295 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
18296 | ||
18297 | * xfns.c (check_x_display_info): Use check_x_frame. | |
18298 | ||
18299 | * .gdbinit (xprintsym): Use the new `xname' field. | |
18300 | (xsymbol): Use it. | |
18301 | ||
18302 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
18303 | ||
18304 | * w32fns.c (file_dialog_callback): New function. | |
18305 | (Fx_file_dialog): Allow selecting directories as well as files. | |
18306 | ||
18307 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18308 | ||
18309 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
f63fd14e | 18310 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
048addec JD |
18311 | |
18312 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
18313 | ||
18314 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
18315 | black and white before scrolling. Restore frame background and | |
18316 | foreground color after scrolling. | |
18317 | (do_window_update): Call XClearWindow before calling expose_frame. | |
18318 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
18319 | FRAME_FOREGROUND_PIXEL of frame. | |
18320 | ||
18321 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
18322 | test Mac command key as <ALT> key. | |
18323 | ||
18324 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
18325 | ||
18326 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
18327 | ||
18328 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
18329 | Lookup keys in function-key-map immediately so that key-translation-map | |
18330 | can be applied earlier. | |
18331 | Remove function_key_possible and key_translation_possible, replaced | |
18332 | by checking `keytran_start < t'. | |
18333 | ||
18334 | * .gdbinit (xsymbol): Use the new `xname' field. | |
18335 | ||
18336 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
18337 | ||
18338 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
18339 | test Mac command key as <ALT> key. | |
18340 | ||
18341 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
18342 | when first called. Dispose of result_desc only when there is no error. | |
18343 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
18344 | ||
18345 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
18346 | ||
18347 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
18348 | of FrontWindow for cases keyDown and autoKey. | |
18349 | ||
18350 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
18351 | Vdefault_fontset to Monaco with mac-roman coding. | |
18352 | ||
18353 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
18354 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
18355 | ||
18356 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
18357 | cursor_gc. | |
18358 | (add_font_name_table_entry): New function. | |
18359 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
18360 | bold, and bold-italic entries for truetype fonts. | |
18361 | ||
18362 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
18363 | for Mac too. | |
18364 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
18365 | fonts with any registry matching face_family. | |
18366 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
18367 | ||
18368 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
18369 | LIBS_TERMCAP to -lncurses to use it. | |
18370 | ||
18371 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
18372 | ||
18373 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
18374 | ||
18375 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
18376 | ||
18377 | * window.c (Fset_window_configuration): Explicitly preserve | |
18378 | the point value that new_current_buffer had at the start. | |
18379 | ||
18380 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
18381 | ||
18382 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
18383 | Fix typos. | |
18384 | ||
18385 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
18386 | ||
18387 | * insdel.c (insert_1_both, insert_from_string_1) | |
18388 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
18389 | insert happened in the end_unchanged region. Otherwise, the | |
18390 | redisplay may be confused and duplicate the last line in the | |
18391 | buffer [seen after save-buffer when require-final-newline==t]. | |
18392 | ||
18393 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
18394 | ||
18395 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
18396 | (stat): Swap _S_IFDIR and _S_IFREG. | |
18397 | ||
18398 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18399 | ||
18400 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
18401 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
18402 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
18403 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
18404 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
18405 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
18406 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
18407 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
18408 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
18409 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
18410 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
18411 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
18412 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
18413 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
18414 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
18415 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
18416 | no_event to NO_EVENT. | |
18417 | ||
18418 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18419 | ||
18420 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
18421 | ||
18422 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
18423 | ||
18424 | * intervals.c (textget): Don't forget to `return'. | |
18425 | (lookup_char_property): Use XCAR/XCDR. | |
18426 | ||
18427 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
18428 | ||
18429 | * xdisp.c (Fformat_mode_line): Fix typo. | |
18430 | ||
18431 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
18432 | ||
18433 | * xdisp.c (Fformat_mode_line): New function. | |
18434 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
18435 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
18436 | (init_xdisp): Defsubr Fformat_mode_line. | |
18437 | Initialize frame_title_buf etc. unconditionally. | |
18438 | ||
18439 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
18440 | ||
18441 | * keyboard.c (read_key_sequence): | |
18442 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
18443 | things through those maps after downcasing events. | |
18444 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
18445 | applies after function-key-map. | |
18446 | Make sure that keytran can be done in the middle in the sequence. | |
18447 | Be careful not to throw away events past the one we downcase. | |
18448 | ||
18449 | * lread.c (read_integer): Remove unused var `tem'. | |
18450 | (read1): Fix int/Lisp_Object mixup. | |
18451 | ||
18452 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
18453 | ||
18454 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
18455 | ||
18456 | * keyboard.c (readable_events): Ignore any number of | |
18457 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
18458 | ||
18459 | 2002-06-09 Miles Bader <miles@gnu.org> | |
18460 | ||
18461 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
18462 | (parse_rgb_list, tty_lookup_color): New functions. | |
18463 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
18464 | (color_distance, Fcolor_distance): New functions. | |
18465 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
18466 | (Qtty_color_standard_values): New variable. | |
18467 | (syms_of_xfaces): Initialize new vars & functions. | |
18468 | ||
18469 | 2002-06-08 Colin Walters <walters@verbum.org> | |
18470 | ||
18471 | * textprop.c (Vchar_property_alias_alist): New variable. | |
18472 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
18473 | ||
18474 | * intervals.c (lookup_char_property): New function for looking up | |
18475 | overlay and text properties, created from textget. | |
18476 | (textget): Use it. | |
18477 | ||
18478 | * intervals.h (lookup_char_property): Declare. | |
18479 | (Vchar_property_alias_alist): Declare. | |
18480 | ||
18481 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
18482 | ||
18483 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
18484 | ||
18485 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
18486 | *data_ret is not a Lisp string, while unibyte_string is. | |
18487 | ||
18488 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
18489 | ||
18490 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
18491 | set size_ret. | |
18492 | ||
18493 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
18494 | ||
18495 | * m/amdx86-64.h: New file. | |
18496 | ||
18497 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
18498 | ||
18499 | * fns.c (Fstring_make_unibyte): Doc fix. | |
18500 | ||
18501 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
18502 | is STRING, call string_make_unibyte to encode the selected text | |
18503 | as a string. | |
18504 | ||
18505 | * window.c (Fset_window_hscroll): Doc fix. | |
18506 | ||
18507 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18508 | ||
18509 | * fileio.c (choose_write_coding_system): | |
18510 | Call select-safe-coding-system properly. | |
18511 | ||
18512 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
18513 | ||
18514 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
18515 | ||
18516 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
18517 | ||
18518 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
18519 | Vselect_safe_coding_system_function. | |
18520 | ||
18521 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
18522 | ||
18523 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
18524 | ||
18525 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
18526 | ||
18527 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
18528 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
18529 | * keymap.c (describe_command): Likewise. | |
18530 | * minibuf.c (read_minibuf): Likewise. | |
18531 | ||
18532 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
18533 | Cast `current_column' return value to int. | |
18534 | (back_to_previous_visible_line_start) | |
18535 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
18536 | Cast `indented_beyond_p' 3rd arg to float. | |
18537 | ||
18538 | * indent.c (last_known_column): Now a float. | |
18539 | (current_column_1, position_indentation, current_column) | |
18540 | (string_display_width): Return float. | |
18541 | (Fcurrent_column): Cast `current_column' return value to int. | |
18542 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
18543 | (indented_beyond_p): Third arg now a float. | |
18544 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
18545 | ||
18546 | * lisp.h (current_column): Now returns float. | |
18547 | (indented_beyond_p): 3rd arg now a float. | |
18548 | ||
18549 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
18550 | ||
18551 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
18552 | is Qcompound_text_with_extensions. | |
18553 | ||
18554 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
18555 | type as string if x_encode_text returns streingp non-NULL. | |
18556 | ||
18557 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
18558 | ||
18559 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
18560 | ||
18561 | * window.c (Fset_window_configuration): Correct the handling | |
18562 | of point in current buffer, to work with multiple windows. | |
18563 | ||
18564 | 2002-05-29 Colin Walters <walters@verbum.org> | |
18565 | ||
18566 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
18567 | for C function parameters. | |
18568 | ||
18569 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
18570 | ||
18571 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
18572 | way for blinked-off state and for a nonselected window. | |
18573 | ||
18574 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
18575 | instead, see if the new start pos is at beginning of line. | |
18576 | ||
18577 | * fileio.c (Fwrite_region): If START is a string, don't | |
18578 | make any annotations. | |
18579 | ||
18580 | * eval.c (syms_of_eval): Doc fix. | |
18581 | ||
18582 | 2002-05-28 Colin Walters <walters@debian.org> | |
18583 | ||
18584 | * emacs.c (USAGE1): Add --no-splash. | |
18585 | (standard_args): Ditto. | |
18586 | ||
18587 | 2002-05-28 Colin Walters <walters@gnu.org> | |
18588 | ||
18589 | * lread.c (readchar_count): New variable. | |
18590 | (readchar): Increment it. | |
18591 | (unreadchar): Decrement it. | |
18592 | (read_multibyte): Decrement it. | |
18593 | (Vread_with_symbol_positions): New variable. | |
18594 | (Vread_symbol_positions_list): New variable. | |
18595 | (read_internal_start): New function, created from Fread and | |
18596 | Fread_from_string. Handle Vread_symbol_positions_list and | |
18597 | Vread_with_symbol_positions. | |
18598 | (readevalloop, Fread, Fread_from_string): Use it. | |
18599 | (read1): Use readchar_count to add symbol positions to | |
18600 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
18601 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
18602 | ||
18603 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
18604 | (substitute_object_recurse, substitute_object_in_subtree) | |
18605 | (substitute_in_interval): Prototype. | |
18606 | (read_multibyte): Return c if it's less than zero. | |
18607 | ||
18608 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
18609 | ||
18610 | * fileio.c (Fread_file_name_internal): Added brute-force | |
18611 | speed up for using predicate file-directory-p. | |
18612 | ||
18613 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
18614 | ||
18615 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
18616 | New variables. | |
18617 | (syms_of_fileio): DEFVAR_LISP them. | |
18618 | (read_file_name_cleanup): New unwind function. | |
18619 | (Fread_file_name_internal): Only return completions satifying | |
18620 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
18621 | default-directory while checking completions against the predicate. | |
18622 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
18623 | Vread_file_name_predicate during completion. | |
18624 | Call Vread_file_name_function to read the file name if non-nil. | |
18625 | ||
18626 | * lisp.h (Fread_file_name): Now has 6 args. | |
18627 | ||
18628 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
18629 | predicate for Fread_file_name when reading directory name. | |
18630 | Supply Qnil for predicate in other calls to Fread_file_name. | |
18631 | ||
18632 | 2002-05-26 Miles Bader <miles@gnu.org> | |
18633 | ||
18634 | * term.c (tty_capable_p): New function. | |
18635 | * dispextern.h (tty_capable_p): New function declaration. | |
18636 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
18637 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
18638 | ||
18639 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
18640 | ||
18641 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
18642 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
18643 | (Vwrite_region_annotate_functions): Docstring fix. | |
18644 | ||
18645 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
18646 | ||
18647 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
18648 | phys_cursor's hpos is overwritten. This is still not completely | |
18649 | correct, as it doesn't really make sense to use hpos at all to | |
18650 | get the cursor glyph (as that is relative to the width of the | |
18651 | characters on the line, which may have changed during the update). | |
18652 | ||
18653 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
18654 | ||
18655 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
18656 | Lisp_Object. | |
18657 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
18658 | Use modified enumfont_t struct. | |
18659 | ||
18660 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
18661 | ||
18662 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
18663 | Handle the `hbar' cursor type. | |
18664 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
18665 | ||
18666 | * w32fns.c (Qhbar): New variable. | |
18667 | (x_specified_cursor_type): Use it. | |
18668 | ||
18669 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
18670 | ||
18671 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
18672 | now, when the address is needed. | |
18673 | ||
18674 | 2002-05-21 Colin Walters <walters@gnu.org> | |
18675 | ||
18676 | * Makefile.in (shortlisp): Add font-core.el. | |
18677 | ||
18678 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
18679 | ||
18680 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
18681 | ||
18682 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
18683 | equivalent key bindings here. | |
18684 | ||
18685 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
18686 | ||
18687 | Change symbol structure to contain a lisp object for the symbol | |
18688 | name: | |
18689 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
18690 | object field named "xname". | |
18691 | (SYMBOL_NAME): New macro. | |
18692 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
18693 | name field. | |
18694 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
18695 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
18696 | instead of name field. | |
18697 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
18698 | SYMBOL_NAME instead of XSYMBOL and name field. | |
18699 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
18700 | instead of XSYMBOL and name field. | |
18701 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
18702 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
18703 | * coding.c (Fread_coding_system, code_convert_region1) | |
18704 | (code_convert_string1, code_convert_string_norecord) | |
18705 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
18706 | XSYMBOL and name field. | |
18707 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
18708 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
18709 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
18710 | of XSYMBOL and name field. | |
18711 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
18712 | XSYMBOL and name field. | |
18713 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
18714 | instead of XSYMBOL and name field. | |
18715 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
18716 | XSYMBOL and name field. | |
18717 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
18718 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
18719 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
18720 | instead of XSYMBOL and name field. | |
18721 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
18722 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
18723 | (parse_solitary_modifier, Fexecute_extended_command): | |
18724 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
18725 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
18726 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
18727 | of XSYMBOL and name field. | |
18728 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
18729 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
18730 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
18731 | instead of XSYMBOL and name field. | |
18732 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
18733 | name field and XSETSTRING. | |
18734 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
18735 | of XSYMBOL and name field. | |
18736 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
18737 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
18738 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
18739 | XSTRING instead of XSYMBOL and name field. | |
18740 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
18741 | and XSTRING instead of XSYMBOL and name field. | |
18742 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
18743 | and XSTRING instead of XSYMBOL and name field. | |
18744 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
18745 | XSTRING instead of XSYMBOL and name field. | |
18746 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
18747 | of XSYMBOL and name field. | |
18748 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
18749 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
18750 | ||
18751 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
18752 | ||
18753 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
18754 | and XCDR real rvalues in most configurations. | |
18755 | ||
18756 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
18757 | Don't take the address of the cdr part of a cons cell; instead, track | |
18758 | the parent cell and call XSETCDR, or set the variable for the head | |
18759 | of the list if we haven't started down the list yet. | |
18760 | ||
18761 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
18762 | ||
18763 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
18764 | ||
18765 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
18766 | ||
18767 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
18768 | (xbm_load_image): Use it. | |
18769 | (xbm_load): Ditto. | |
18770 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
18771 | From David Ponce <david@dponce.com>. | |
18772 | ||
18773 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
18774 | ||
18775 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
18776 | 2.02 and later. | |
18777 | ||
18778 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
18779 | ||
18780 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
18781 | ||
18782 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
18783 | ||
18784 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
18785 | meaningful test. | |
18786 | (read_char_minibuf_menu_prompt): Fix typo. | |
18787 | ||
18788 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
18789 | ||
18790 | * eval.c (Fcommandp): Doc fix. | |
18791 | ||
18792 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
18793 | ||
18794 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
18795 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
18796 | (Fset_keymap_parent): Gcpro a bit more. | |
18797 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
18798 | (get_keyelt): Gcpro when following indirect references. | |
18799 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
18800 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
18801 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
18802 | Remove useless ad-hoc remap code. | |
18803 | ||
18804 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
18805 | ||
18806 | * search.c (search_buffer): Give up boyer moore search if inverse | |
18807 | translation change charset_base. | |
18808 | ||
18809 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
18810 | ||
18811 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
18812 | characters is carried over from the previous block of text, adjust | |
18813 | coding->produced to account for the extra character. | |
18814 | ||
18815 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
18816 | ||
18817 | * coding.c (intersection): Keep the elements of the returned list | |
18818 | in the same order as in the first list. | |
18819 | ||
18820 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
18821 | ||
3419757d | 18822 | * keymap.c (current_minor_maps): Fix resizing of cmm_maps; |
048addec JD |
18823 | only update cmm_size if realloc actually succeeds. |
18824 | Testing with initial size of 2 elements revealed that using | |
18825 | realloc on GNU/Linux would cause a random trap in xmalloc | |
18826 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
18827 | of realloc. | |
18828 | ||
18829 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
18830 | ||
18831 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
18832 | ||
18833 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
18834 | ||
18835 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
18836 | parens, to ensure correct evaluation order. | |
18837 | ||
18838 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
18839 | ||
18840 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
18841 | (syms_of_keymap): DEFVAR_LISP it. | |
18842 | (current_minor_maps): Process keymap alists in that list before | |
18843 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
18844 | ||
18845 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
18846 | ||
18847 | * search.c (Freplace_match): Doc fix. | |
18848 | ||
18849 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
18850 | ||
18851 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
18852 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
18853 | ||
18854 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
18855 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
18856 | ||
18857 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
18858 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
18859 | ||
18860 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
18861 | ||
18862 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
18863 | type if comes from the Lisp object's car. If the selection | |
18864 | contains a pure ASCII text, always return QSTRING as its type. | |
18865 | ||
18866 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18867 | ||
18868 | * mac.c (mac-cut-function): Doc fix. | |
18869 | ||
18870 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
18871 | ||
18872 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
18873 | ||
18874 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
18875 | ||
18876 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
18877 | for event-click-count. | |
18878 | ||
18879 | * process.c (init_process): Only add server subfeature if we can | |
18880 | use non-blocking I/O. | |
18881 | ||
18882 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
18883 | ||
18884 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
18885 | repeatedly. | |
18886 | ||
18887 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
18888 | ||
18889 | * process.c (Fmake_network_process): Only support server sockets | |
18890 | when we can make them non-blocking. | |
18891 | ||
18892 | * s/ms-w32.h (HAVE_SELECT): Define. | |
18893 | ||
18894 | * w32.h (FILE_NDELAY): New flag. | |
18895 | ||
18896 | * w32.c (sys_getpeername, fcntl): New functions. | |
18897 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
18898 | ||
2d4713aa | 18899 | * w32proc.c: Include sys/file.h. |
048addec JD |
18900 | |
18901 | 2002-05-03 Colin Walters <walters@verbum.org> | |
18902 | ||
18903 | * callproc.c (Vgame_score_directory): Renamed to | |
18904 | Vshared_game_score_directory. | |
18905 | ||
18906 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
18907 | ||
18908 | * s/gnu.h [emacs]: Include stdio.h. | |
18909 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
18910 | ||
18911 | * eval.c (do_autoload): Error if called while preparing to dump. | |
18912 | ||
18913 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
18914 | ||
18915 | 2002-04-28 Colin Walters <walters@verbum.org> | |
18916 | ||
18917 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
18918 | Default to "~/.emacs.d/games". | |
18919 | ||
18920 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
18921 | ||
18922 | * lread.c (openp): Change arg exec_only to predicate. | |
18923 | (build_load_history): Use XCAR/XCDR. | |
18924 | (Flocate_file_internal): New fun. | |
18925 | (syms_of_lread): Defsubr it. | |
18926 | (Fload): Update call to openp. | |
18927 | ||
18928 | * lisp.h (openp): Update prototype. | |
18929 | ||
18930 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
18931 | * w32proc.c (sys_spawnve): | |
18932 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
18933 | * w32.c (check_windows_init_file): | |
18934 | * sound.c (Fplay_sound_internal): | |
18935 | * process.c (Fstart_process): | |
18936 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
18937 | * mac.c (run_mac_command): | |
18938 | * emacs.c (init_cmdargs): | |
18939 | * callproc.c (Fcall_process): Update call to openp. | |
18940 | ||
18941 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
18942 | ||
18943 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
18944 | ||
18945 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
18946 | ||
18947 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
18948 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
18949 | ||
18950 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
18951 | ||
18952 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
18953 | ||
18954 | * eval.c (Fcommandp): New arg for_call_interactively. | |
18955 | * lisp.h (Fcommandp): Declare new arg. | |
18956 | ||
18957 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
18958 | ||
18959 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
18960 | ||
18961 | * w32.c (stat, fstat): Use file index information to generate | |
18962 | inodes for directories where available. | |
18963 | ||
18964 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
18965 | ||
18966 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
18967 | [HAVE_CARBON]: Include Mac object files. | |
18968 | ||
18969 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
18970 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
18971 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
18972 | MAC_OSX, and MAC_OS instead of macintosh. | |
18973 | ||
18974 | * editfns.c [MAC_OS8]: Include stdio.h. | |
18975 | ||
18976 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
18977 | ||
18978 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
18979 | Apple Monaco. | |
18980 | ||
78819ebb | 18981 | * process.c (QCfamily, QCfilte): Declare extern. |
048addec JD |
18982 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before |
18983 | calling select. | |
18984 | ||
18985 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
18986 | ||
18987 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
18988 | ||
18989 | * config.in [HAVE_CARBON]: Add. | |
18990 | ||
18991 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
18992 | Move here from mac/src and mac/inc. | |
18993 | ||
18994 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
18995 | ||
18996 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
18997 | ||
18998 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
18999 | Compute phys_cursor_width from the x position returned | |
19000 | by x_draw_glyhs, which is cheaper. | |
19001 | (x_display_and_set_cursor): Compute the buffer-local value | |
19002 | of `cursor-in-non-selected-windows' only when needed. | |
19003 | ||
19004 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
19005 | ||
19006 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
19007 | cursor on a stretch glyph has a width that depends on | |
19008 | x_stretch_cursor_p. | |
19009 | ||
19010 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19011 | ||
19012 | * abbrev.c (abbrev-start-location): Doc fix. | |
19013 | ||
19014 | * indent.c (Fvertical_motion): Fix last change. | |
19015 | ||
19016 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
19017 | ||
19018 | * indent.c (Fvertical_motion): Move to the start of the line | |
19019 | containing PT before moving up or down. | |
19020 | ||
19021 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
19022 | ||
19023 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
19024 | case of writing a whole row, more or less analogous to the case of | |
19025 | writing only parts of a row. | |
19026 | ||
19027 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
19028 | 0 for NO_CURSOR. | |
19029 | ||
19030 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
19031 | ||
19032 | 2002-04-23 Colin Walters <walters@verbum.org> | |
19033 | ||
19034 | * buffer.c (syms_of_buffer): Doc fix. | |
19035 | ||
19036 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
19037 | ||
19038 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
19039 | of the cursor being in the first blank non-text line at the | |
19040 | end of a window. | |
19041 | ||
19042 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
19043 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
19044 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
19045 | bar cursors only, to make phys_cursor_width contain what its name | |
19046 | suggests. | |
19047 | (notice_overwritten_cursor): Consider the cursor image erased if | |
19048 | the output area intersects the cursor image in y-direction. | |
19049 | ||
19050 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
19051 | ||
19052 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
19053 | to XC_hand2. | |
19054 | ||
19055 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19056 | ||
19057 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
19058 | ||
19059 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
19060 | ||
19061 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
19062 | ||
19063 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
19064 | ||
19065 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
19066 | ||
19067 | * window.c (make_window): Initialize height_fixed_p, | |
19068 | last_cursor_off_p, and p->cursor_off_p slots. | |
19069 | ||
19070 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19071 | ||
19072 | * fns.c (use-dialog-box): Doc fix. | |
19073 | ||
19074 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19075 | ||
19076 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
19077 | variables `row', `i' and `area'. | |
19078 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
19079 | toolkit library. | |
19080 | ||
19081 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
19082 | ||
19083 | * xfaces.c (clear_font_table): Don't free the default font of | |
19084 | a frame even if it's on another display. | |
19085 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
19086 | that could be Qt. | |
19087 | ||
19088 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
19089 | ||
19090 | * indent.c (Fmove_to_column): Remove unused local variable | |
19091 | `next_boundary_byte'. | |
19092 | (current_column_1): Likewise. | |
19093 | ||
19094 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
19095 | ||
19096 | * msdos.c (Qhbar): New variable. | |
19097 | (syms_of_msdos): Intern and staticpro it. | |
19098 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
19099 | cursor type. | |
19100 | ||
19101 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
19102 | ||
19103 | Theses change implement an underscore-like (`hbar') cursor. | |
19104 | ||
19105 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
19106 | ||
19107 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
19108 | Handle the `hbar' cursor type. | |
19109 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
19110 | ||
19111 | * xfns.c (Qhbar): New variable. | |
19112 | (syms_of_xfns): Intern and staticpro it. | |
19113 | (x_specified_cursor_type): Handle `hbar' cursor. | |
19114 | ||
19115 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
19116 | not defined. | |
19117 | ||
19118 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
19119 | ||
19120 | * textprop.c (remove_properties): New arg LIST allows scanning | |
19121 | either a list or a plist. | |
19122 | (interval_has_some_properties_list): New function, like | |
19123 | interval_has_some_properties using list instead of plist. | |
19124 | All callers changed. | |
19125 | (Fremove_list_of_text_properties): New function. | |
19126 | (syms_of_textprop): Defsubr it. | |
19127 | ||
19128 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
19129 | ||
19130 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
19131 | ||
19132 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
19133 | ||
19134 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
19135 | ||
19136 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
19137 | ||
19138 | * window.c (coordinates_in_window): Don't report on margin area | |
19139 | if its width is zero. | |
19140 | ||
19141 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
19142 | ||
19143 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
19144 | ||
19145 | * w32term.c (construct_drag_n_drop): Likewise. | |
19146 | ||
19147 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
19148 | ||
19149 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
19150 | store load-history in pure space. | |
19151 | ||
19152 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
19153 | ||
19154 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
19155 | ||
19156 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
19157 | (syms_of_xterm): Initialize them. | |
19158 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
19159 | decoding the output of X*LookupString. | |
19160 | Always use latin-1 to decode the output of XLookupString. | |
19161 | Try Xutf8LookupString if XmbLookupString failed. | |
19162 | ||
19163 | * region-cache.c (new_region_cache): Use BEG. | |
19164 | ||
19165 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
19166 | ||
19167 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
19168 | configuration files. | |
19169 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
19170 | returns 0. | |
19171 | ||
19172 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
19173 | ||
19174 | * config.in: Regenerated using autoheader. | |
19175 | ||
19176 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
19177 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
19178 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
19179 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
19180 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
19181 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
19182 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
19183 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
19184 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
19185 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
19186 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
19187 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
19188 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
19189 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
19190 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
19191 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
19192 | STACK_DIRECTION, now set by autoconf. | |
19193 | ||
19194 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19195 | ||
19196 | * dispnew.c (marginal_area_string): Sort arguments. | |
19197 | ||
19198 | * dispextern.h (marginal_area_string): Add prototype. | |
19199 | ||
19200 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
19201 | ||
19202 | * fileio.c (Finsert_file_contents): | |
19203 | Don't call temp_output_buffer_setup--do just part, by hand. | |
19204 | ||
19205 | * coding.c (run_pre_post_conversion_on_str): | |
19206 | Don't call temp_output_buffer_setup--do just part, by hand. | |
19207 | ||
19208 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
19209 | or cancel_hourglass when executing a macro. | |
19210 | ||
19211 | * marker.c (count_markers): New function. | |
19212 | ||
19213 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
19214 | grow without limit. Move recently used elements to the front. | |
19215 | ||
19216 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
19217 | ||
19218 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
19219 | ||
19220 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
19221 | ||
19222 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
19223 | rows marginal areas. | |
19224 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
19225 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
19226 | ||
19227 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
19228 | ||
19229 | 2002-04-12 Dave Love <fx@gnu.org> | |
19230 | ||
19231 | * dispnew.c (marginal_area_string): New. | |
19232 | ||
19233 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
19234 | (Qleft_margin, Qright_margin): Declare. | |
19235 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
19236 | ||
19237 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
19238 | note_mode_line_highlight and extended. | |
19239 | ||
19240 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
19241 | (make_lispy_event): Deal with mouse events in margins. | |
19242 | ||
19243 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
19244 | ||
19245 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
19246 | ||
19247 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
19248 | than deactivating the mark if tmm is set to `lambda'. | |
19249 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
19250 | Use a single event for HELP_EVENT. | |
19251 | (Fexecute_extended_command): Save last_point_position. | |
19252 | ||
19253 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19254 | ||
19255 | * lisp.h (Fpropertize): Add prototype. | |
19256 | ||
19257 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
19258 | ||
19259 | 2002-04-10 Colin Walters <walters@verbum.org> | |
19260 | ||
19261 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
19262 | ||
52eb0373 | 19263 | * callproc.c (Vgame_score_directory): New variable. |
048addec JD |
19264 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. |
19265 | ||
19266 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
19267 | ||
19268 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
19269 | ||
19270 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
19271 | ||
19272 | * minibuf.c (read_minibuf): Use empty_string. | |
19273 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
19274 | Short-circuit the search as soon as it "failed". | |
19275 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
19276 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
19277 | when require_match is nil. | |
19278 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
19279 | Call the predicate also when alist is a list. | |
19280 | Obey Vcompletion_regexp_list. | |
19281 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
19282 | (Fassoc_string): Rename from `assoc_for_completion'. | |
19283 | Allow list of strings as well and export to elisp. | |
19284 | ||
19285 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
19286 | ||
19287 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
19288 | ||
19289 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
19290 | ||
19291 | * w32.c (sys_accept): Don't hide variable `s'. | |
19292 | ||
19293 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
19294 | ||
19295 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
19296 | NUMBERP for checking Vhistory_length. | |
19297 | ||
19298 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19299 | ||
19300 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
19301 | Doc fix to reflect it. | |
19302 | ||
19303 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
19304 | ||
19305 | * xdisp.c (display_mode_element): New arg RISKY. | |
19306 | Disregard text props found or specified within a variable | |
19307 | that isn't marked risky-local-variable. | |
19308 | (Qrisky_local_variable): New variable. | |
19309 | (syms_of_xdisp): Init and staticpro it. | |
19310 | ||
19311 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
19312 | ||
19313 | * undo.c (record_point): New fun. | |
19314 | (record_delete, record_insert): Use it. | |
19315 | ||
19316 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
19317 | ||
19318 | * doc.c (Fdocumentation): Add missing parentheses. | |
19319 | (Fdocumentation_property): Likewise. | |
19320 | ||
19321 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
19322 | ||
19323 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
19324 | data is 0, just return nil. | |
19325 | ||
19326 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
19327 | ||
19328 | * msdos.c (syms_of_msdos): Fix last change with | |
19329 | mouse_autoselect_window. | |
19330 | ||
19331 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19332 | ||
19333 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
19334 | mouse_autoselect_window. | |
19335 | ||
19336 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
19337 | ||
19338 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
19339 | with system-specific keysyms. Use it also for unknown function keys. | |
19340 | ||
19341 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
19342 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
19343 | if the doc is 0 and only ask once. | |
19344 | ||
19345 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
19346 | ||
19347 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
19348 | ||
19349 | * keyboard.c (read_char): If the event was Qselect_window, | |
19350 | restore timer_idleness_start_time to its previous value. | |
19351 | ||
19352 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
19353 | ||
19354 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
19355 | ||
19356 | * region-cache.c (new_region_cache): Use BEG. | |
19357 | ||
19358 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
19359 | Use BEG and BEG_BYTE. | |
19360 | ||
19361 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
19362 | (reread_doc_file): New fun. | |
19363 | (Fdocumentation, Fdocumentation_property): | |
19364 | Call it if get_doc_string fails. | |
19365 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
19366 | ||
19367 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
19368 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
19369 | ||
19370 | * charset.c (Fstring): Allow 0 arguments. | |
19371 | ||
19372 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
19373 | ||
19374 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
19375 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
19376 | (Fset_network_process_options, server_accept_connection): | |
19377 | Fix some int/Lisp_Object confusions (thank you union types). | |
19378 | ||
19379 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19380 | ||
19381 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
19382 | ||
19383 | * w32term.c: Likewise. | |
19384 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
19385 | ||
19386 | * keyboard.c (Qselect_window): New symbol. | |
19387 | (head_table): Use it. | |
19388 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
19389 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
19390 | ||
19391 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
19392 | (last_window): New variable. | |
19393 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
19394 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
19395 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
19396 | Emacs windows. | |
19397 | ||
19398 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
19399 | ||
19400 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
19401 | ||
19402 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
19403 | Callers changed. | |
19404 | ||
19405 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
19406 | ||
19407 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
19408 | loop whenever it stops making progress. | |
19409 | ||
19410 | * widget.c (set_frame_size): Don't call change_frame_size. | |
19411 | ||
19412 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
19413 | ||
19414 | * dispnew.c (direct_output_for_insert): | |
19415 | Call mark_window_display_accurate. | |
19416 | ||
19417 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
19418 | ||
19419 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
19420 | ||
19421 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
19422 | ||
19423 | * Makefile.in (lread.o): Depend on coding.h. | |
19424 | ||
19425 | * lread.c (openp, Fload): Encode the file name before passing it | |
19426 | to `stat', `access', and `emacs_open'. | |
19427 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
19428 | strings unnecessarily. | |
19429 | ||
19430 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
19431 | ||
19432 | * fns.c (Flax_plist_put): Doc fix. | |
19433 | ||
19434 | 2002-03-28 Miles Bader <miles@gnu.org> | |
19435 | ||
19436 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
19437 | ||
19438 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19439 | ||
19440 | * process.c (set-network-process-options): Add usage. | |
19441 | (make-network-process): Doc fix. | |
19442 | ||
19443 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
19444 | ||
19445 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
19446 | ||
19447 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
19448 | ||
19449 | * fns.c (Fsubstring_no_properties): New function. | |
19450 | (Flax_plist_get, Flax_plist_put): New functions. | |
19451 | (syms_of_fns): defsubr them. | |
19452 | ||
19453 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
19454 | don't test or alter w->update_mode_line. | |
19455 | ||
19456 | * window.c (Fdisplay_buffer): Doc fix. | |
19457 | ||
19458 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
19459 | ||
19460 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
19461 | ||
19462 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
19463 | ||
19464 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
19465 | (Fdefmacro): Handle `(declare ...)'. | |
19466 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
19467 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
19468 | ||
19469 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
19470 | ||
19471 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
19472 | (xbm_file_p): Add prototypes. | |
19473 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
19474 | (reflect_byte): New function. | |
19475 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
19476 | (xbm_load_image): Create bitmaps with a depth of 1. | |
19477 | (init_xfns): Enable XBM images. | |
19478 | ||
19479 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
19480 | ||
19481 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
19482 | correctly. Do not pass up_modifier to keyboard buffer. | |
19483 | ||
19484 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
19485 | ||
19486 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
19487 | ||
19488 | * Makefile.in (bootstrapclean): New target. | |
19489 | (bootstrap-temacs, bootstrap-doc): Remove. | |
19490 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
19491 | Don't bother to build a DOC file. | |
19492 | ||
19493 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
19494 | ||
19495 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
19496 | in temacs even if !CANNOT_DUMP. | |
19497 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
19498 | ||
19499 | * alloc.c (check_pure_size): Only output a warning. | |
19500 | ||
19501 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
19502 | ||
19503 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
19504 | supported. | |
19505 | ||
19506 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
19507 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
19508 | (syms_of_w32term): Define x-use-underline-position-properties. | |
19509 | ||
19510 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
19511 | (clear_image_cache): Block input, fix logic, clear matrices in | |
19512 | all frames that share this cache. | |
19513 | ||
19514 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
19515 | ||
19516 | * emacs.c (main): Update the Copyright year in the blurb printed | |
19517 | by "emacs --version". | |
19518 | ||
19519 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
19520 | ||
19521 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
19522 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
19523 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
19524 | ||
19525 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
19526 | ||
19527 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
19528 | menu-bar bindings in keymap and local-map properties _are_ used. | |
19529 | But try keymap property first in accordance with 2002-01-03 patch. | |
19530 | Added comment describing why this is not always reliable. | |
19531 | (tool_bar_items): Ditto for tool-bar. | |
19532 | ||
19533 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
19534 | ||
19535 | * w32fns.c (x_clear_image_1): Disable color table code. | |
19536 | ||
19537 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
19538 | ||
19539 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
19540 | removed the wrong version of the DEFUN macro; fixed it. | |
19541 | ||
19542 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
19543 | Fmember rather than Fmemq). | |
19544 | (Fprovide): Check that subfeatures is a list. | |
19545 | ||
19546 | * process.c (QCfeature, QCdatagram): Removed variables. | |
19547 | (QCtype, Qdatagram): New variables. | |
19548 | (network_process_featurep): Removed function. | |
19549 | (Fmake_network_process): Removed :feature check. | |
19550 | Use :type 'datagram instead of :datagram t to create a datagram | |
19551 | socket. This allows us to add other connection types (e.g. raw | |
19552 | sockets) later in a consistent manner. | |
19553 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
19554 | supported subfeatures for feature make-network-process. | |
19555 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
19556 | Intern and staticpro QCtype and Qdatagram. | |
19557 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
19558 | ||
9dd28cae | 19559 | * xfns.c (QCtype): Remove duplicate declaration and |
048addec JD |
19560 | initialization (is now declared in process.c). |
19561 | ||
9dd28cae | 19562 | * w32fns.c (QCtype): Remove duplicate declaration and |
048addec JD |
19563 | initialization (is now declared in process.c). |
19564 | ||
19565 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
19566 | ||
19567 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
19568 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
19569 | when jumping to `fail' to avoid undoing reg changes in the | |
19570 | last iteration of the loop. | |
19571 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
19572 | ||
19573 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
19574 | Depend on process.h. | |
19575 | ||
19576 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
19577 | ||
19578 | Most of the following changes are still conditional on HAVE_IMAGES | |
19579 | which is not set by default on Windows. | |
19580 | ||
19581 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
19582 | ||
19583 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
19584 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
19585 | (four_corners_best, x_clear_image_1, x_clear_image) | |
19586 | (x_alloc_image_color, postprocess_image) | |
19587 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
19588 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
19589 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
19590 | ||
19591 | * w32gui.h (struct XImage): Define. | |
19592 | ||
19593 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
19594 | extract mouse co-ordinates. | |
19595 | ||
19596 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
19597 | ||
19598 | * w32.c (init_winsock): Dynamically load new server and UDP | |
19599 | socket functions. | |
19600 | (socket_to_fd): New function. | |
19601 | (sys_socket): Use it. | |
19602 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
19603 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
19604 | ||
19605 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
19606 | and initialization. | |
19607 | ||
19608 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
19609 | ||
19610 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
19611 | ||
19612 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
19613 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
19614 | machines. | |
19615 | ||
19616 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19617 | ||
19618 | * bytecode.c (Fbyte_code): Revert last change. | |
19619 | ||
19620 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
19621 | ||
19622 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
19623 | From David Ponce <dponce@voila.fr>. | |
19624 | ||
19625 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19626 | ||
19627 | * process.c (wait_reading_process_input): Move variables `pname' | |
19628 | and `pnamelen' down where they are used. | |
19629 | ||
19630 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
19631 | prevent gcc warning. | |
19632 | ||
19633 | * lisp.h (Fplist_member): Add prototype. | |
19634 | ||
19635 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
19636 | ||
19637 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
19638 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
19639 | ||
19640 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
19641 | Remove explicit GNU_LINUX settings for datagram support. | |
19642 | ||
19643 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19644 | ||
19645 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
19646 | Doc fix. Add usage:. | |
19647 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
19648 | ||
19649 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
19650 | ||
19651 | * xdisp.c (cursor_type_changed): New variable. | |
19652 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
19653 | Clear it when clearing windows_or_buffers_changed. | |
19654 | (try_cursor_movement, redisplay_window, try_window_id) | |
19655 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
19656 | along with windows_or_buffers_changed. | |
19657 | ||
19658 | * window.h (cursor_type_changed): New variable. | |
19659 | ||
19660 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
19661 | not update_mode_lines, and always set it to 1. | |
19662 | ||
19663 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
19664 | if no frames needed redrawing. | |
19665 | ||
19666 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
19667 | ||
19668 | The following changes add support for network server processes, | |
19669 | datagram connections, and local (unix) sockets. | |
19670 | ||
19671 | * process.h (struct Lisp_Process): New member log. | |
19672 | Doc fix: Member command used to indicate stopped network process. | |
19673 | Doc fix: Member childp contains plist for network process. | |
19674 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
19675 | ||
19676 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
9dd28cae | 19677 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) |
048addec JD |
19678 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): |
19679 | New variables. | |
19680 | (NETCONN1_P): New macro. | |
19681 | (DATAGRAM_SOCKETS): New conditional symbol. | |
19682 | (datagram_address): New array. | |
19683 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
19684 | (status_message): Use concat3. | |
19685 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
19686 | for a stopped network process. | |
19687 | (Fset_process_buffer): Update contact plist for network process. | |
19688 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
19689 | network processes. Server must listen, even if filter is t. | |
19690 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
19691 | New functions. | |
19692 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
19693 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
19694 | (list_processes_1): Optionally show only processes with the query | |
19695 | on exit flag set. Dynamically adjust column widths. Omit tty | |
19696 | column if not needed. Report stopped network processes. | |
19697 | Identify server and datagram network processes. | |
19698 | (Flist_processes): New optional arg `query-only'. | |
19699 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
19700 | (conv_lisp_to_sockaddr, set_socket_options) | |
19701 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
19702 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
19703 | (Fset_network_process_options): New lisp functions. | |
19704 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
19705 | (Fmake_network_process): New lisp function. Code is based on previous | |
19706 | Fopen_network_stream, but heavily reworked with new property list based | |
19707 | argument list, support for datagrams, server processes, and local | |
19708 | sockets in addition to old client-only functionality. | |
19709 | (server_accept_connection): New function. | |
19710 | (wait_reading_process_input): Use it to handle incoming connects. | |
19711 | Do not enable input on a new connection if process is stopped. | |
f63fd14e | 19712 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. |
048addec JD |
19713 | (send_process): Handle datagram sockets. |
19714 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
19715 | network process is indicated by setting command field to t . | |
19716 | (Fprocess_send_eof): No-op if datagram connection. | |
19717 | (Fstatus_notify): Don't read input for a stream server socket or a | |
19718 | stopped network process. | |
19719 | (init_process): Initialize datagram_address array. | |
19720 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
19721 | functions. | |
19722 | ||
19723 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
19724 | ||
19725 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
19726 | startup case. | |
19727 | ||
19728 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
19729 | ||
19730 | * xdisp.c (redisplay_internal, redisplay_windows): | |
19731 | Use list_of_error to call internal_condition_case_1. | |
19732 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
19733 | so as to catch all errors with no possibility of debugger redisplay. | |
19734 | (list_of_error): New variable. | |
19735 | (syms_of_xdisp): Init and staticpro it. | |
19736 | ||
19737 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
19738 | ||
19739 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
19740 | ||
19741 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
19742 | until its implementation is fixed. | |
19743 | ||
19744 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19745 | ||
19746 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
19747 | ||
19748 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
19749 | ||
19750 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
19751 | ||
19752 | 2002-03-14 Miles Bader <miles@gnu.org> | |
19753 | ||
19754 | * intervals.c (adjust_for_invis_intang): New function. | |
19755 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
19756 | work for dealing with invisible+intangible regions. Do so before | |
19757 | and after both forward and backward movements, to handle both | |
19758 | front-sticky and rear-sticky cases. | |
19759 | * textprop.c (text_property_stickiness): Function moved here from | |
19760 | `editfns.c'. | |
19761 | * intervals.h (text_property_stickiness): New declaration. | |
19762 | * editfns.c (char_property_eq): Function removed. | |
19763 | (text_property_stickiness): Function moved to `textprop.c'. | |
19764 | ||
19765 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
19766 | ||
19767 | * config.in: Add STRFTIME_NO_POSIX2. | |
19768 | ||
19769 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
19770 | and %OX when underlying strftime does not. | |
19771 | ||
19772 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
19773 | ||
19774 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
19775 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
19776 | line) to avoid annoying flicker. | |
19777 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
19778 | (XTread_socket): Mark it static. | |
19779 | ||
19780 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
19781 | ||
19782 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
19783 | ||
19784 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
19785 | ||
19786 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
19787 | ||
19788 | * editfns.c (syms_of_editfns): Fix typo. | |
19789 | ||
19790 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
19791 | ||
19792 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
19793 | Include termopt.h for interrupt_input. | |
19794 | ||
19795 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
19796 | ||
19797 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
19798 | ||
19799 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
19800 | ||
19801 | * xterm.c (note_mouse_movement): Put code for | |
19802 | x_autoselect_window_p in #if 0. | |
19803 | ||
19804 | * lread.c (Fload): Don't assume that message_with_string uses the | |
19805 | string it is given like a C string. | |
19806 | ||
19807 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
19808 | ||
78819ebb | 19809 | * xterm.h (x_session_check_input, x_session_initialize): Declare. |
048addec | 19810 | |
52eb0373 | 19811 | * xterm.c (XTread_socket): Add call to x_session_check_input and |
048addec JD |
19812 | x_session_have_connection. |
19813 | (x_initialize): Add call to x_session_initialize. | |
19814 | ||
19815 | * termhooks.h (enum event_kind): Add save_session_event. | |
19816 | ||
19817 | * keyboard.c: Add Emacs event save_session_event. | |
19818 | ||
19819 | * emacs.c (main): Add call to syms_of_xsmfns. | |
19820 | ||
78819ebb | 19821 | * lisp.h (syms_of_xsmfns): Declare extern. |
048addec JD |
19822 | |
19823 | * config.in: Add HAVE_X_SM. | |
19824 | ||
19825 | * Makefile.in (LIBXT): Add -lSM -lICE | |
19826 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
19827 | (XOBJ): New file xsmfns.c added. | |
19828 | ||
19829 | * xsmfns.c: New file for X session management. | |
19830 | ||
19831 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
19832 | ||
19833 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
19834 | read-only when setting modified time. | |
19835 | ||
19836 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
19837 | ||
19838 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
19839 | when moving forward by lines, treat terminal frames specially. | |
19840 | ||
19841 | * keyboard.c (echo_char): Make sure to add a separator between | |
19842 | keys even if echo_dash hasn't been called. | |
19843 | ||
19844 | * xdisp.c: Use new string macros. | |
19845 | (update_echo_area): Pass number of bytes to message3 instead of | |
19846 | number of chars. | |
19847 | (set_message_1): Don't access a string's size_byte directly. | |
19848 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
19849 | instead number of chars. | |
19850 | ||
19851 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
19852 | ||
19853 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
19854 | ||
19855 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
19856 | 24-bit. | |
19857 | ||
19858 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
19859 | ||
19860 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
19861 | ||
19862 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
19863 | ||
19864 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
19865 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
19866 | work with new kboard definition. | |
19867 | (echo_now): Use message3_nolog instead of message2_nolog. | |
19868 | ||
19869 | * alloc.c (mark_kboards): Mark echo_string. | |
19870 | ||
19871 | * keyboard.h (ECHOBUFSIZE): Removed. | |
19872 | (struct kboard): Member echoptr removed, member echobuf renamed | |
19873 | to echo_string. | |
19874 | ||
19875 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
19876 | message3 instead of message2 to display the message using STRING's | |
19877 | text properties. | |
19878 | ||
19879 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
19880 | ||
19881 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
19882 | ||
19883 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
19884 | ||
19885 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
19886 | affect existing frames. | |
19887 | ||
19888 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
19889 | ||
19890 | * indent.c (skip_invisible): Fix my brain fart. | |
19891 | ||
19892 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
19893 | ||
19894 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
19895 | ||
19896 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
19897 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
19898 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
19899 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
19900 | and variables to use EMACS_INT instead of just int. | |
19901 | ||
19902 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
19903 | ||
19904 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
19905 | ||
19906 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
19907 | environment, pass it down with corrected value. | |
19908 | ||
19909 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
19910 | ||
19911 | * lread.c (read_filtered_event): Do not call start_hourglass | |
19912 | before returning. | |
19913 | ||
19914 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
19915 | ||
19916 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
19917 | ||
19918 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
19919 | ||
19920 | * fileio.c (Fmake_temp_name): Doc fix. | |
19921 | ||
19922 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
19923 | ||
19924 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
19925 | libtermcap, for binary compatibility. | |
19926 | ||
19927 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
19928 | ||
19929 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
19930 | ||
19931 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
19932 | ||
19933 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
19934 | only if it is an integer. | |
19935 | ||
19936 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
19937 | If png_get_sRGB gives an answer, call png_set_gamma | |
19938 | using the default image gamma value. | |
19939 | ||
19940 | * lread.c (read1): When reading from a file, default string to | |
19941 | multibyte only if it has some multibyte characters. | |
19942 | ||
19943 | * print.c (print_object): Output multibyte chars 128...255 | |
19944 | using \x even if ! print_escape_multibyte. | |
19945 | ||
19946 | * xdisp.c (display_mode_element): Move the places where | |
19947 | bytepos, charpos, this, and lisp_string are set. | |
19948 | Use lisp_string to set bytepos. | |
19949 | ||
19950 | * xdisp.c (redisplay_internal): | |
19951 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
19952 | ||
19953 | * xdisp.c (display_mode_element): Merge properties specified with | |
19954 | :propertize onto those that come with the string. | |
19955 | ||
19956 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
19957 | ||
19958 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
19959 | automatic-hscrolling. Users changed. | |
19960 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
19961 | Users changed. | |
19962 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
19963 | ||
19964 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
19965 | ||
19966 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
19967 | ||
19968 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
19969 | ||
19970 | * window.c (Fminibuffer_selected_window): New function. | |
19971 | (syms_of_window): Defsubr it. | |
19972 | ||
19973 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
19974 | ||
19975 | * window.h (struct window): New member phys_cursor_width. | |
19976 | ||
19977 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
19978 | ||
19979 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
19980 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
19981 | ||
19982 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
19983 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
19984 | ||
19985 | * lisp.h (GCPRO6): New macro. | |
19986 | ||
19987 | * process.c (Fopen_network_stream): Use GCPRO6. | |
19988 | ||
19989 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
19990 | ||
19991 | * process.c (Qconnect, Qfailed): New variables. | |
19992 | (syms_of_process): Intern and staticpro them. | |
19993 | (Fprocess_status): Document connect and failed return values. | |
19994 | [NON_BLOCKING_CONNECT]: New conditional. | |
19995 | (connect_wait_mask, num_pending_connects): New variables. | |
19996 | (status_message): Convert Qfailed status. | |
19997 | (Fopen_network_stream): Added support for non-blocking connect. | |
19998 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
19999 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
20000 | (deactivate_process): Handle pending non-blocking connect. | |
20001 | (wait_reading_process_input): Poll for status of non-blocking | |
20002 | connects. Exec sentinel directly when connect succeeds. | |
20003 | (status_notify): Don't read process output if not yet connected. | |
20004 | ||
20005 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
20006 | ||
9dd28cae | 20007 | * window.c (minibuf_selected_window): Renamed from |
048addec JD |
20008 | Vminibuf_selected_window. Users changed. |
20009 | (syms_of_window): Staticpro it. | |
20010 | ||
20011 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
20012 | ||
20013 | The following changes add a new Vminibuf_selected_window variable | |
20014 | which is similar to Vminibuf_scroll_window, but which is only set | |
20015 | on entry to the minibuffer (from a non-minibuffer window): | |
20016 | ||
9dd28cae | 20017 | * window.c (Vminibuf_selected_window): New variable. |
048addec JD |
20018 | (struct save_window_data): New member minibuf_selected_window. |
20019 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
20020 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
20021 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
20022 | (compare_window_configurations): Compare minibuf_selected_window. | |
20023 | ||
9dd28cae | 20024 | * window.h (Vminibuf_selected_window): Declare extern. |
048addec JD |
20025 | |
20026 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
20027 | entry to minibuffer or on entry from a non-minibuffer window. | |
20028 | ||
20029 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
20030 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
20031 | ||
20032 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
20033 | instead of Vminibuf_scroll_window when deciding in which window | |
20034 | the region should be highlighted. Consequently, the region remains | |
20035 | highlighteded even when a completion buffer is also displayed. | |
20036 | ||
20037 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
20038 | ||
20039 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
20040 | ||
20041 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
20042 | Qcompound_text_no_extensions. | |
20043 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
20044 | ||
20045 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
20046 | ||
20047 | * w32proc.c (syms_of_ntproc): Doc fix. | |
20048 | ||
20049 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
20050 | ||
20051 | * intervals.h: Include "dispextern.h" unconditionally. | |
20052 | ||
20053 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
20054 | ||
20055 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
20056 | and disp-table.elc. | |
20057 | (lisp): Add emacs-lisp/backquote.elc. | |
20058 | ||
20059 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
20060 | ||
3419757d | 20061 | * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: |
048addec JD |
20062 | The validation of the event type was too strict as it didn't |
20063 | allow string events; buffer names are used in bindings for | |
20064 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
20065 | ||
20066 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
20067 | ||
20068 | The following changes rework my patch of 2002-02-06 which | |
20069 | added command remapping by entering the commands directly into | |
20070 | the keymaps. Now, command remapping uses an explicit `remap' | |
20071 | prefix in the keymaps, i.e. [remap COMMAND]. | |
20072 | ||
20073 | * keymap.c (Qremap, remap_command_vector): New variables. | |
3419757d | 20074 | (is_command_symbol): Remove function. |
048addec JD |
20075 | (Fdefine_key): No longer accept a symbol for KEY. |
20076 | Added validation of [remap COMMAND] argument for KEY. | |
20077 | The DEF is no longer required to be a symbol when remapping a command. | |
20078 | (Fremap_command): New function to remap command through keymaps. | |
20079 | (Flookup_key): Perform command remapping initiated by | |
20080 | Fremap_command directly for speed. | |
20081 | (Fkey_binding): Use Fremap_command for command remapping. | |
20082 | (where_is_internal): Handle new command remapping representation. | |
20083 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
20084 | staticpro them. Defsubr Fremap_command. | |
20085 | ||
20086 | * keymap.h (Fremap_command): Declare extern. | |
20087 | (is_command_symbol): Remove extern. | |
20088 | ||
20089 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
20090 | remapping; now try command remapping for all symbols. | |
20091 | ||
20092 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
20093 | ||
20094 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
20095 | ||
20096 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
20097 | ||
20098 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
20099 | on the string before encoding it. | |
20100 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
20101 | after decoding it. | |
20102 | ||
20103 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
20104 | ||
20105 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
20106 | ||
20107 | * w32term.c (enter_timestamp): Remove unused static variable to | |
20108 | prevent warning. | |
20109 | ||
20110 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
20111 | ||
20112 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
20113 | ||
20114 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
20115 | ||
20116 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
20117 | ||
20118 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
20119 | ||
20120 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
20121 | ||
20122 | * w32menu.c (menubar_selection_callback): Free the menu and | |
20123 | clear the menu_command_in_progress flag. | |
20124 | ||
20125 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
20126 | (menu_free_timer): New variable. | |
20127 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
20128 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
20129 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
20130 | menu command is in progress. | |
20131 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
20132 | Kill any menu_free_timer that is running. | |
20133 | ||
20134 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
20135 | Call ExtTextOutA rather than ExtTextOut. | |
20136 | ||
20137 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
20138 | ||
20139 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
20140 | ||
20141 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
20142 | ||
20143 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
20144 | on the string before encoding it. | |
20145 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
20146 | after decoding it. | |
20147 | ||
20148 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
20149 | ||
9dd28cae | 20150 | Support for ICCCM Extended Segments in X selections: |
048addec JD |
20151 | |
20152 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
20153 | (syms_of_xselect): Intern and staticpro it. | |
20154 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
20155 | selection text. | |
20156 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
20157 | compound-text-no-extensions, set the type of selection to be | |
20158 | compound-text. | |
20159 | ||
20160 | * xterm.h (x_encode_text): Update prototype. | |
20161 | ||
20162 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
20163 | callers changed. If SELECTIONP is non-zero, run the | |
20164 | pre-write-conversion function before encoding the selection text. | |
20165 | ||
20166 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
20167 | ||
20168 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
20169 | ||
20170 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
20171 | Correct composing of language-change event. | |
20172 | ||
20173 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
20174 | ||
20175 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
20176 | bindings at PT when building menu (the menu is not updated often | |
20177 | enough for this to work reliable). | |
20178 | (tool_bar_items): Likewise. | |
20179 | (current_active_maps): Removed unused (and buggy) function. | |
20180 | ||
20181 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
20182 | ||
20183 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
20184 | ||
20185 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
20186 | ||
20187 | * floatfns.c (Fatan): Accept an optional second arg and call | |
20188 | atan2 if passed 2 args. | |
20189 | ||
20190 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
20191 | ||
20192 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
20193 | ||
20194 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
20195 | ||
20196 | * w32term.c (x_autoselect_window_p): New variable. | |
20197 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
20198 | (note_mouse_movement): Use it. | |
20199 | ||
20200 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
20201 | ||
20202 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
20203 | ||
20204 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
20205 | New variables. | |
20206 | (syms_of_w32fns): Intern and staticpro them. | |
20207 | (x_frame_parms) <"fullscreen">: New parameter. | |
20208 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
20209 | (x_set_frame_parameters): Support Qfullscreen. | |
20210 | (x_real_positions): Save x/y_pixels_diff frame params. | |
20211 | (x_figure_window_size): Support full-screen frames. | |
20212 | (Fx_create_frame): Default the fullscreen parameter. | |
20213 | ||
20214 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
20215 | (x_fullscreen_adjust): New functions. | |
20216 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | |
20217 | fullscreen. Call x_check_fullscreen_move, and set the | |
20218 | want_fullscreen member of output_data.w32 | |
20219 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
20220 | ||
20221 | * w32term.h: New enum for FULLSCREEN_* constants. | |
20222 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
20223 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
20224 | (x-fullscreen-adjust): New prototype. | |
20225 | ||
20226 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
20227 | ||
52eb0373 | 20228 | * frame.c (Vmouse_highlight): New variable. |
048addec JD |
20229 | (syms_of_frame): DEFVAR_LISP it. |
20230 | ||
52eb0373 | 20231 | * frame.h (Vmouse_highlight): Declare extern. |
8a8e19a3 | 20232 | |
048addec | 20233 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 20234 | |
048addec JD |
20235 | * xterm.c (disable_mouse_highlight): Removed variable. |
20236 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
20237 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
20238 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
20239 | and on after keyboard input. | |
20240 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 20241 | |
048addec | 20242 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 20243 | |
048addec JD |
20244 | * msdos.c (disable_mouse_highlight): Removed variable. |
20245 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
20246 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
20247 | (internal_terminal_init): Initialize mouse_face_hidden. | |
20248 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
20249 | and on after keyboard input. | |
4f1b1854 | 20250 | |
048addec | 20251 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 20252 | |
048addec JD |
20253 | * w32term.c (disable_mouse_highlight): Removed variable. |
20254 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
20255 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
20256 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
20257 | and on after keyboard input. | |
20258 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 20259 | |
048addec | 20260 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 20261 | |
048addec JD |
20262 | * msdos.c (last_mouse_window): New variable. |
20263 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
20264 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 20265 | |
048addec | 20266 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 20267 | |
048addec JD |
20268 | * msdos.c (x_autoselect_window_p): New variable. |
20269 | (syms_of_msdos): Defvar it. | |
20270 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
20271 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 20272 | |
048addec JD |
20273 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
20274 | New variables. | |
20275 | (syms_of_xdisp): DEVFAR them. | |
20276 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
20277 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 20278 | |
048addec | 20279 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 20280 | |
048addec JD |
20281 | * xterm.c (x-autoselect-window): New variable. |
20282 | (note_mouse_movement): Use it. | |
9f696a00 | 20283 | |
048addec | 20284 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 20285 | |
048addec | 20286 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 20287 | |
bfa02563 | 20288 | * puresize.h (PURESIZE_RATIO): Increase to 9/5. |
d57966d7 | 20289 | |
048addec | 20290 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 20291 | |
048addec | 20292 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 20293 | |
048addec | 20294 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 20295 | |
048addec JD |
20296 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
20297 | (Vx_super_keysym): New variables. | |
20298 | (syms_of_xterm): DEFVAR_LISP them. | |
20299 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
20300 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 20301 | |
048addec | 20302 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 20303 | |
9dd28cae | 20304 | * window.c (Vmode_line_in_non_selected_windows): Removed. |
048addec JD |
20305 | (mode_line_in_non_selected_windows): New variable. |
20306 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 20307 | |
048addec JD |
20308 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
20309 | Use mode_line_in_non_selected_windows. | |
20310 | (mode_line_in_non_selected_windows): Declare extern. | |
20311 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 20312 | |
048addec | 20313 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 20314 | |
048addec JD |
20315 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
20316 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
20317 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 20318 | |
048addec JD |
20319 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
20320 | (update_face_from_frame_parameter): Increment face_change_count | |
20321 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 20322 | |
048addec JD |
20323 | * xdisp.c (QCpropertize): New variable. |
20324 | (mode_line_proptrans_alist): New variable. | |
20325 | (display_mode_element): New arg PROPS; all calls changed. | |
20326 | Implement this, for strings. | |
20327 | Handle literal output of strings by sharing the | |
20328 | main-line code for strings, using local var `literal'. | |
20329 | Handle :propertize feature. | |
20330 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
20331 | mode_line_proptrans_alist. | |
0b1e6b54 | 20332 | |
048addec | 20333 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 20334 | |
9dd28cae | 20335 | * window.c (Vmode_line_in_non_selected_windows): New variable. |
048addec | 20336 | (syms_of_window): DEFVAR_LISP it. |
7f2cddf3 | 20337 | |
048addec JD |
20338 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
20339 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
20340 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 20341 | |
048addec JD |
20342 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
20343 | to get mode line face. | |
e17144de | 20344 | |
048addec | 20345 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 20346 | |
048addec JD |
20347 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
20348 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 20349 | |
048addec | 20350 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 20351 | |
048addec JD |
20352 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
20353 | reduction. This fixes a display problem where stray newlines were | |
20354 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 20355 | |
048addec | 20356 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 20357 | |
048addec | 20358 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 20359 | |
048addec | 20360 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 20361 | |
048addec | 20362 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 20363 | |
048addec JD |
20364 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
20365 | match each other. | |
20366 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
20367 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 20368 | |
048addec | 20369 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 20370 | |
048addec JD |
20371 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
20372 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
20373 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 20374 | |
048addec JD |
20375 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
20376 | (pos_visible_p, handle_face_prop): Likewise. | |
20377 | (display_mode_lines): Likewise, but for the real selected window. | |
20378 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 20379 | |
048addec JD |
20380 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
20381 | in non-selected windows. | |
20382 | (realize_basic_faces): Realize it. | |
20383 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 20384 | |
048addec | 20385 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 20386 | |
048addec JD |
20387 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
20388 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 20389 | |
048addec | 20390 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 20391 | |
048addec JD |
20392 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
20393 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 20394 | |
048addec | 20395 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 20396 | |
048addec | 20397 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 20398 | |
048addec | 20399 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 20400 | |
048addec | 20401 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 20402 | |
048addec | 20403 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 20404 | |
048addec | 20405 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 20406 | |
048addec JD |
20407 | * keymap.c (where_is_internal): Only check whether definition is |
20408 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 20409 | |
048addec | 20410 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 20411 | |
048addec | 20412 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 20413 | |
048addec | 20414 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 20415 | |
048addec | 20416 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 20417 | |
048addec JD |
20418 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
20419 | defining command remapping. Doc updated. | |
20420 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
20421 | (is_command_symbol): New function. | |
20422 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
20423 | Doc updated. Callers changed. Perform command remapping via | |
20424 | recursive call unless that arg is non-nil. | |
20425 | (where_is_internal): New argument no_remap. Callers changed. | |
20426 | Call recursively to find original key bindings for a remapped | |
20427 | comand unless that arg is non-nil. | |
20428 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
20429 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 20430 | |
048addec | 20431 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
3419757d | 20432 | (is_command_symbol): Add prototype. |
0d8466cc | 20433 | |
048addec JD |
20434 | * keyboard.c (Vthis_original_command): New variable. |
20435 | (syms_of_keyboard): DEFVAR_LISP it. | |
20436 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 20437 | |
048addec | 20438 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 20439 | |
048addec | 20440 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 20441 | |
048addec | 20442 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 20443 | |
048addec | 20444 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 20445 | |
048addec | 20446 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 20447 | |
048addec | 20448 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 20449 | |
048addec | 20450 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 20451 | |
048addec | 20452 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 20453 | |
048addec | 20454 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 20455 | |
048addec | 20456 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 20457 | |
048addec JD |
20458 | * lread.c (read1): Redesign strategy for force_multibyte and |
20459 | force_singlebyte. Now is_multibyte records whether read_buffer | |
20460 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 20461 | |
048addec | 20462 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 20463 | |
048addec JD |
20464 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
20465 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 20466 | |
048addec | 20467 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 20468 | |
048addec JD |
20469 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
20470 | latter never being defined on GNU/Linux. | |
749f499f | 20471 | |
048addec | 20472 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 20473 | |
048addec JD |
20474 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
20475 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 20476 | |
048addec | 20477 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 20478 | |
048addec JD |
20479 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
20480 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 20481 | |
048addec JD |
20482 | * eval.c (Fsignal): Remove duplicated declaration of |
20483 | the variable `display_hourglass_p'. | |
b4c45162 | 20484 | |
048addec | 20485 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 20486 | |
048addec | 20487 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 20488 | |
048addec JD |
20489 | * coding.c (decode_composition_emacs_mule): |
20490 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 20491 | |
048addec JD |
20492 | * callint.c (check_mark): New arg to specify clearer error message. |
20493 | Callers changed. | |
c95eaa61 | 20494 | |
048addec | 20495 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 20496 | |
048addec | 20497 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 20498 | |
048addec | 20499 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 20500 | |
048addec JD |
20501 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
20502 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
20503 | Fix doc-strings. | |
c95eaa61 | 20504 | |
048addec | 20505 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 20506 | |
048addec | 20507 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 20508 | |
048addec JD |
20509 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
20510 | and scroll_up_aggressively. | |
c95eaa61 | 20511 | |
048addec | 20512 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 20513 | |
048addec | 20514 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 20515 | |
048addec | 20516 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 20517 | |
048addec JD |
20518 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
20519 | (Fprevious_property_change, Fprevious_single_property_change): | |
20520 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 20521 | |
048addec | 20522 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 20523 | |
048addec JD |
20524 | * term.c (Ftty_display_color_cells): New function. |
20525 | (syms_of_term): Defsubr it. | |
20526 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
20527 | argument name to DISPLAY. Doc fix. | |
bf794306 | 20528 | |
048addec JD |
20529 | * dispextern.h: Add prototype for set_tty_color_mode and |
20530 | tty_setup_colors. | |
bf794306 | 20531 | |
048addec | 20532 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 20533 | |
048addec JD |
20534 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
20535 | If region left to draw is not what was expected, mark the frame as | |
20536 | garbaged. | |
62582985 | 20537 | |
048addec JD |
20538 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
20539 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 20540 | |
048addec | 20541 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 20542 | |
048addec JD |
20543 | * w32term.c (x_update_window_begin): Only hide caret if |
20544 | w32_use_visible_system_caret is set. | |
20545 | (x_update_window_end): Only show caret if | |
20546 | w32_use_visible_system_caret is set. | |
20547 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 20548 | |
048addec | 20549 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 20550 | |
048addec | 20551 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 20552 | |
048addec JD |
20553 | * unexelf.c (unexec): Define n so as to cause compilation error |
20554 | for the code where people have often written n instead of nn. | |
1e9a6186 | 20555 | |
048addec | 20556 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 20557 | |
048addec | 20558 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 20559 | |
048addec | 20560 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 20561 | |
048addec | 20562 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 20563 | |
048addec JD |
20564 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
20565 | if fullscreen is being set. | |
7c75be36 | 20566 | |
048addec | 20567 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 20568 | |
048addec JD |
20569 | * minibuf.c (Fminibuffer_contents) |
20570 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
20571 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 20572 | |
048addec | 20573 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 20574 | |
048addec | 20575 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 20576 | |
048addec | 20577 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 20578 | |
048addec JD |
20579 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
20580 | height before comparison. | |
20581 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 20582 | |
048addec | 20583 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 20584 | |
048addec JD |
20585 | * w32term.c (w32_system_caret_width): Remove. |
20586 | (w32_use_visible_system_caret): New user flag. | |
20587 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
20588 | Windows reports a screen reader running. | |
20589 | (x_update_window_begin): Hide the system caret. | |
20590 | (x_update_window_end): Show the system caret. | |
20591 | (x_display_and_set_cursor): Don't draw a cursor when | |
20592 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 20593 | |
048addec JD |
20594 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
20595 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
20596 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
20597 | the user requests it. Use system default width when creating. | |
20598 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 20599 | |
048addec JD |
20600 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
20601 | New window messages. | |
905cc05a | 20602 | |
048addec | 20603 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 20604 | |
048addec | 20605 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 20606 | |
048addec | 20607 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 20608 | |
048addec | 20609 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 20610 | |
048addec | 20611 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 20612 | |
048addec | 20613 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 20614 | |
048addec | 20615 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 20616 | |
048addec JD |
20617 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
20618 | that Windows returns. If a double check fails, try to guess how | |
20619 | ExtTextOut is going to act. | |
4d0fa4f3 | 20620 | |
048addec JD |
20621 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
20622 | in place of stricmp. | |
20623 | (w32_list_synthesized_fonts): Removed. | |
20624 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
20625 | (struct enumfont_t): New element; list. | |
20626 | (enum_font_cb2): List all style and charset variations of a font. | |
20627 | (Fw32_select_font): New optional argument; include_proportional. | |
20628 | Exclude vertical fonts. Exclude proportional fonts unless | |
20629 | include_proportional is non-nil. | |
20630 | (w32_enable_synthesized_fonts): Change to a boolean. | |
20631 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 20632 | |
048addec | 20633 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 20634 | |
048addec JD |
20635 | * dispnew.c (update_frame): Move the variable `tem' to the block |
20636 | where it is used. | |
4971e491 | 20637 | |
048addec | 20638 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 20639 | |
048addec JD |
20640 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
20641 | call to face-set-after-frame-default. | |
4971e491 | 20642 | |
048addec | 20643 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 20644 | |
048addec JD |
20645 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
20646 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 20647 | |
048addec | 20648 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 20649 | |
048addec JD |
20650 | * window.c (enlarge_window): When exceeding size of parent, |
20651 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 20652 | |
048addec | 20653 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 20654 | |
048addec | 20655 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 20656 | |
048addec | 20657 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 20658 | |
048addec | 20659 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 20660 | |
048addec | 20661 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 20662 | |
048addec JD |
20663 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
20664 | is invisible. This can happen if cursor is on top line of a | |
20665 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 20666 | |
048addec | 20667 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 20668 | |
048addec | 20669 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 20670 | |
048addec JD |
20671 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
20672 | `dont_resize' only when used. | |
61e3b944 | 20673 | |
048addec | 20674 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 20675 | |
048addec | 20676 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 20677 | |
048addec JD |
20678 | * xdisp.c (display_mode_element): When computing charpos, depend |
20679 | on multibyteness of elt, not the text in field. | |
8af01033 | 20680 | |
048addec | 20681 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 20682 | |
048addec JD |
20683 | * buffer.c (Fkill_all_local_variables): |
20684 | Increment `update_mode_lines' only once. | |
7363986a | 20685 | |
048addec | 20686 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 20687 | |
048addec JD |
20688 | * lisp.h (adjust_after_replace_noundo) |
20689 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 20690 | |
048addec | 20691 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 20692 | |
048addec | 20693 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 20694 | |
048addec JD |
20695 | Support for the --color command-line argument and tty-color-mode |
20696 | frame parameter: | |
f1a85b89 | 20697 | |
048addec JD |
20698 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
20699 | (set_tty_color_mode): New functions. | |
20700 | (term_init): Call tty_default_color_capabilities. | |
20701 | (Qtty_color_mode_alist): New variable. | |
20702 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 20703 | |
048addec JD |
20704 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
20705 | frames. | |
20706 | (do_switch_frame): For termcap frames, switch the tty | |
20707 | color mode as specified by the frame's parameters. | |
20708 | (Qtty_color_mode): New variable. | |
20709 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 20710 | |
048addec JD |
20711 | * emacs.c (USAGE2): Add the --color option. |
20712 | (standard_args): Ditto. | |
72244db2 | 20713 | |
048addec JD |
20714 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20715 | ||
20716 | * xterm.h (struct x_output): New members want_fullscreen, | |
20717 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
20718 | y_pixels_outer_diff. | |
20719 | New enum for FULLSCREEN_* constants. | |
20720 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
20721 | is NULL. | |
20722 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 20723 | |
048addec JD |
20724 | * emacs.c (USAGE2): Add the new full-screen arguments. |
20725 | (standard_args): Ditto. | |
3a62677f | 20726 | |
048addec JD |
20727 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
20728 | New variables. | |
20729 | (syms_of_xfns): Intern and staticpro them. | |
20730 | (x_frame_parms) <"fullscreen">: New parameter. | |
20731 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
20732 | (x_set_frame_parameters): Support for Qfullscreen. | |
20733 | (x_real_positions): More accurate computation of the frame position. | |
20734 | (x_figure_window_size): Support full-screen frames. | |
20735 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 20736 | |
048addec JD |
20737 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
20738 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
20739 | <ConfigureNotify>: Don't resize to fullscreen. | |
20740 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
20741 | output_data.x. | |
3a62677f | 20742 | |
048addec | 20743 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 20744 | |
048addec JD |
20745 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
20746 | for mice with more than 3 buttons. | |
b8523839 | 20747 | |
048addec JD |
20748 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
20749 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 20750 | |
048addec JD |
20751 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
20752 | (syms_of_w32fns): DEFVAR_BOOL it. | |
20753 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 20754 | |
048addec | 20755 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 20756 | |
048addec | 20757 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 20758 | |
048addec | 20759 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 20760 | |
048addec | 20761 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 20762 | |
048addec | 20763 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 20764 | |
048addec JD |
20765 | * .gdbinit (xbuffer): Remove address operator since data is now a |
20766 | pointer. | |
c93674bb | 20767 | |
048addec | 20768 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 20769 | |
048addec | 20770 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 20771 | |
048addec | 20772 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 20773 | |
048addec | 20774 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 20775 | |
048addec JD |
20776 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
20777 | when checking for multiple frames. | |
91175673 | 20778 | |
048addec | 20779 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 20780 | |
048addec JD |
20781 | * window.c (delete_window): Rewrite the code for changing the |
20782 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 20783 | |
048addec | 20784 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 20785 | |
048addec JD |
20786 | * process.c (send_process): Set src_multibyte to 1 after the call |
20787 | top setup_coding_system, not before the call. | |
e0fead5d | 20788 | |
048addec | 20789 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 20790 | |
048addec JD |
20791 | * xmenu.c (set_frame_menubar, xmenu_show): |
20792 | (xdialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 20793 | |
048addec JD |
20794 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
20795 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 20796 | |
048addec | 20797 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 20798 | |
048addec | 20799 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 20800 | |
048addec | 20801 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 20802 | |
048addec | 20803 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 20804 | |
048addec | 20805 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 20806 | |
048addec JD |
20807 | * insdel.c (make_gap_larger): Make sure buffer size does not |
20808 | overflow range of int. | |
62854fe2 | 20809 | |
048addec | 20810 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 20811 | |
048addec JD |
20812 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
20813 | OVERLAPS_P. | |
656f46bb | 20814 | |
048addec | 20815 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 20816 | |
048addec JD |
20817 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
20818 | to the left or to the right of the pointer, put it against | |
20819 | the left screen edge. | |
20820 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 20821 | |
048addec JD |
20822 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
20823 | background color if it doesn't have a Pixmap. | |
20824 | (notice_overwritten_cursor): Don't depend on | |
20825 | output_cursor and updated_area. Compare pixel coordinates with | |
20826 | window's cursor pixel coordinates. | |
20827 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
20828 | Call notice_overwritten_cursor with new arg list. | |
20829 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
20830 | unconditionally. | |
20831 | (x_draw_image_relief): Use predefined macro instead of | |
20832 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 20833 | |
048addec | 20834 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 20835 | |
048addec | 20836 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 20837 | |
048addec | 20838 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 20839 | |
048addec | 20840 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 20841 | |
048addec JD |
20842 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
20843 | (Fkey_binding): Try the `keymap' property map first. | |
20844 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
20845 | minor mode bindings. | |
90647b07 | 20846 | |
048addec | 20847 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 20848 | |
3419757d | 20849 | * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. |
ace9b298 | 20850 | |
048addec | 20851 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 20852 | |
048addec JD |
20853 | * keyboard.c (read_key_sequence): Handle the keymap property |
20854 | before minor mode maps. | |
9fbc32aa | 20855 | |
048addec JD |
20856 | * editfns.c (Fformat): Update thissize from field_width |
20857 | based on the actual width, in the string case. | |
036e218d | 20858 | |
048addec | 20859 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 20860 | |
048addec JD |
20861 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
20862 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 20863 | |
048addec JD |
20864 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
20865 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 20866 | |
048addec | 20867 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 20868 | |
048addec JD |
20869 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
20870 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
20871 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 20872 | |
048addec | 20873 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 20874 | |
048addec JD |
20875 | * print.c (print_object): Test print_escape_nonascii only for |
20876 | unibyte strings. | |
20877 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
20878 | when outputting to a multibyte buffer. | |
9fbc32aa | 20879 | |
048addec | 20880 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 20881 | |
048addec JD |
20882 | * print.c (print_object): In multibyte string, use hex escapes. |
20883 | Use octal only for unibyte strings. | |
20884 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 20885 | |
048addec JD |
20886 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
20887 | escape forces unibyte or multibyte. | |
20888 | (read1): When reading a string, take note of that info. | |
0142178a | 20889 | |
048addec | 20890 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 20891 | |
048addec JD |
20892 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
20893 | comparison to test lisp value returned by Fget. | |
d4824a5d | 20894 | |
048addec | 20895 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 20896 | |
048addec | 20897 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 20898 | |
048addec | 20899 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 20900 | |
048addec JD |
20901 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
20902 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 20903 | |
048addec | 20904 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 20905 | |
048addec JD |
20906 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
20907 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
20908 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
20909 | Update calls to Fdefine_abbrev. | |
20910 | (write_abbrev): Update for changed data format. | |
20911 | Don't list "system" abbrevs. | |
20912 | (Fexpand_abbrev): Update use count with new data format. | |
20913 | (describe_abbrev): Update for changed data format. | |
20914 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 20915 | |
048addec | 20916 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 20917 | |
048addec | 20918 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 20919 | |
048addec JD |
20920 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
20921 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 20922 | |
048addec JD |
20923 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
20924 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
20925 | (exclude_key): New variable. | |
59a86c99 | 20926 | |
048addec | 20927 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 20928 | |
048addec JD |
20929 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
20930 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 20931 | |
048addec JD |
20932 | * xterm.c (notice_overwritten_cursor): Don't depend on |
20933 | output_cursor and updated_area. Compare pixel coordinates with | |
20934 | window's cursor pixel coordinates. | |
20935 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
20936 | Call notice_overwritten_cursor with new arg list. | |
20937 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
20938 | unconditionally. | |
eb77a5f4 | 20939 | |
048addec JD |
20940 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
20941 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 20942 | |
048addec | 20943 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 20944 | |
048addec JD |
20945 | * intervals.c (set_point_both): The position after an invisible, |
20946 | intangible character is not an acceptable stopping point. | |
bb313871 | 20947 | |
048addec | 20948 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 20949 | |
048addec JD |
20950 | * window.c (enlarge_window): In new preserve_before code, convert |
20951 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 20952 | |
048addec | 20953 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 20954 | |
048addec | 20955 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 20956 | |
048addec | 20957 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 20958 | |
048addec JD |
20959 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
20960 | separated by mouse-movement. When tracking mouse, only record | |
20961 | first and last mouse-movement event in same window. | |
20962 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 20963 | |
048addec | 20964 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 20965 | |
048addec JD |
20966 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
20967 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 20968 | |
048addec JD |
20969 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
20970 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 20971 | |
048addec | 20972 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 20973 | |
048addec | 20974 | The following changes remove mocklisp support: |
9fabb2f5 | 20975 | |
048addec | 20976 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 20977 | |
048addec JD |
20978 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
20979 | `Qmocklisp' and `Qmocklisp_arguments'. | |
20980 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 20981 | |
048addec | 20982 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 20983 | |
048addec JD |
20984 | * callint.c: Do not include mocklisp.h. |
20985 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 20986 | |
048addec JD |
20987 | * eval.c: Remove variables `Qmocklisp_arguments', |
20988 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
20989 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
20990 | Do not test for mocklisp case. | |
20991 | (Fwhile): Remove unused variable `tem'. | |
20992 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 20993 | |
048addec | 20994 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 20995 | |
048addec | 20996 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 20997 | |
048addec | 20998 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 20999 | |
048addec | 21000 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 21001 | |
048addec JD |
21002 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
21003 | to the left or to the right of the pointer, put it against | |
21004 | the left screen edge. | |
6108b49c | 21005 | |
048addec | 21006 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 21007 | |
048addec JD |
21008 | * Makefile.in (distclean): Remove .gdbinit if we are building |
21009 | outside the source tree. | |
5eea19a4 | 21010 | |
048addec | 21011 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 21012 | |
048addec | 21013 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 21014 | |
048addec | 21015 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 21016 | |
048addec JD |
21017 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
21018 | of the current drive as the fallback for default_directory. | |
438e57dd | 21019 | |
048addec JD |
21020 | * dired.c (file_name_completion): Run the elements of |
21021 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 21022 | |
048addec JD |
21023 | * lisp.h (scmp): Remove prototype, since it's now a static |
21024 | function private to dired.c. | |
c88e5347 | 21025 | |
048addec | 21026 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 21027 | |
048addec JD |
21028 | * dired.c (scmp): Function moved from minibuf.c. |
21029 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 21030 | |
048addec | 21031 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 21032 | |
048addec | 21033 | * fns.c (merge): Add QUIT call. |
59ce1461 | 21034 | |
048addec | 21035 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 21036 | |
048addec JD |
21037 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
21038 | language/georgian.el. | |
8727d588 | 21039 | |
048addec | 21040 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 21041 | |
048addec JD |
21042 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
21043 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 21044 | |
048addec | 21045 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 21046 | |
048addec JD |
21047 | * xdisp.c (window_box_height): Do not return negative values. |
21048 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 21049 | |
048addec | 21050 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 21051 | |
048addec | 21052 | * term.c (keys): Likewise. |
deece6f5 | 21053 | |
048addec | 21054 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 21055 | |
048addec | 21056 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 21057 | |
048addec JD |
21058 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
21059 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 21060 | |
048addec | 21061 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 21062 | |
048addec | 21063 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 21064 | |
048addec JD |
21065 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
21066 | before calling decode_coding. | |
9b46de40 | 21067 | |
048addec | 21068 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 21069 | |
048addec JD |
21070 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
21071 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 21072 | |
048addec | 21073 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 21074 | |
048addec | 21075 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 21076 | |
048addec | 21077 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 21078 | |
048addec JD |
21079 | * buffer.h (struct buffer): New field `display_error_modiff'. |
21080 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 21081 | |
048addec | 21082 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 21083 | |
048addec JD |
21084 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
21085 | Call redisplay_window, but not if display_error_modiff field says no. | |
21086 | (redisplay_window_error): New function. | |
21087 | (displayed_buffer): New variable. | |
21088 | (redisplay_internal, redisplay_windows): Call the new functions | |
21089 | instead of redisplay_window directly. | |
2cd23960 | 21090 | |
048addec | 21091 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 21092 | |
048addec | 21093 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 21094 | |
048addec | 21095 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 21096 | |
048addec | 21097 | * makefile.w32-in (EMACSLOADPATH): Define. |
f9711de4 | 21098 | ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. |
048addec | 21099 | (bootstrap-temacs): Remove dependency on bootstrap-clean. |
a4184c1c | 21100 | |
048addec | 21101 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 21102 | |
048addec JD |
21103 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
21104 | parameter have a numeric value all the time. | |
f6fa0866 | 21105 | |
048addec | 21106 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 21107 | |
048addec | 21108 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 21109 | |
048addec | 21110 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 21111 | |
048addec JD |
21112 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
21113 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 21114 | |
048addec | 21115 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 21116 | |
048addec JD |
21117 | * xdisp.c (move_it_vertically_backward): Change heuristic |
21118 | for the case that we didn't move far enough initially. | |
91c153e2 | 21119 | |
048addec JD |
21120 | * window.c (Frecenter): Simplify computation in the case of window |
21121 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 21122 | |
048addec | 21123 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 21124 | |
048addec JD |
21125 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
21126 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 21127 | |
048addec | 21128 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 21129 | |
048addec JD |
21130 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
21131 | arg is negative. | |
be676094 | 21132 | |
048addec | 21133 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 21134 | |
048addec JD |
21135 | * m/hp800.h: Split the __hpux conditional into the parts |
21136 | that are right for GNU/Linux too and the parts that are not. | |
21137 | Use the former if GNU_LINUX. | |
21138 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 21139 | |
048addec | 21140 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 21141 | |
048addec | 21142 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 21143 | |
048addec JD |
21144 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
21145 | `new style' [w/`doc:' keyword]. | |
032a857d | 21146 | |
048addec | 21147 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 21148 | |
048addec JD |
21149 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
21150 | before using. | |
b6270150 | 21151 | |
048addec | 21152 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 21153 | |
048addec JD |
21154 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
21155 | keyword]. | |
98cbb9fa | 21156 | |
048addec | 21157 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 21158 | |
048addec | 21159 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 21160 | |
048addec | 21161 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 21162 | |
048addec | 21163 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 21164 | |
048addec | 21165 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
78819ebb | 21166 | Add comment to explain where the struct came from. |
048addec JD |
21167 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
21168 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
21169 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
21170 | Lisp_Object. | |
21171 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 21172 | |
048addec | 21173 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 21174 | |
048addec | 21175 | * COPYING: Moved back. |
fa336b91 | 21176 | |
048addec JD |
21177 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
21178 | Add parentheses around && within ||. | |
077907d4 | 21179 | |
048addec | 21180 | * indent.c (compute_motion): Likewise. |
aa2af83a | 21181 | |
048addec | 21182 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 21183 | |
048addec JD |
21184 | * coding.c (setup_coding_system, shrink_encoding_region) |
21185 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 21186 | |
048addec | 21187 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 21188 | |
048addec JD |
21189 | * xdisp.c (display_mode_element): Don't read past end of string if |
21190 | it ends with '%'. | |
60a653f1 | 21191 | |
048addec JD |
21192 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
21193 | can hold. | |
60a653f1 | 21194 | |
048addec JD |
21195 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
21196 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
21197 | type changed to Lisp_Object. | |
21198 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 21199 | |
048addec | 21200 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21201 | |
048addec JD |
21202 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
21203 | location whenever Emacs was run uninstalled. | |
60a653f1 | 21204 | |
048addec | 21205 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 21206 | |
048addec JD |
21207 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
21208 | * process.c (create_process): | |
21209 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
21210 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
21211 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
21212 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
21213 | * m/intel386.h (HAVE_VFORK): Likewise. | |
21214 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
21215 | * m/mips.h (HAVE_VFORK): Likewise. | |
21216 | * s/freebsd.h (vfork): Remove #define. | |
21217 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
21218 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 21219 | |
048addec | 21220 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21221 | |
048addec JD |
21222 | * s/hpux10.h (random): Add undef. |
21223 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 21224 | |
048addec | 21225 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21226 | |
048addec | 21227 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 21228 | |
048addec | 21229 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 21230 | |
048addec JD |
21231 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
21232 | scroll bars of the frame before deleting the frame itself. If the | |
21233 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
21234 | not call XDestroyWindow before that. | |
60a653f1 | 21235 | |
048addec | 21236 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 21237 | |
048addec | 21238 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 21239 | |
048addec | 21240 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 21241 | |
048addec | 21242 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 21243 | |
048addec JD |
21244 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
21245 | excessively large. | |
60a653f1 | 21246 | |
048addec JD |
21247 | * insdel.c (make_gap_larger): New function. |
21248 | (make_gap_smaller): New function. | |
21249 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
21250 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 21251 | |
048addec | 21252 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21253 | |
048addec JD |
21254 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
21255 | Pass a dummy argument when calling interrupt_signal. | |
21256 | (parse_menu_item): Mark disabled items before checking for empty def. | |
21257 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
21258 | (read_key_sequence): Add a `first_unbound' variable. | |
21259 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
21260 | unbound prefix as soon as we can detect it. | |
60a653f1 | 21261 | |
048addec JD |
21262 | * doc.c (Fsnarf_documentation): Add prototype. |
21263 | (get_doc_string): Handle negative arguments. | |
21264 | (Fdocumentation): Use AREF and ASIZE. | |
21265 | Move the calls to get_doc_string to a single place. | |
21266 | Don't confuse an interactive-spec for a docstring reference. | |
21267 | (Fdocumentation_property): Take advantage of the fact that | |
21268 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 21269 | |
048addec | 21270 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 21271 | |
048addec | 21272 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21273 | |
a64387ee | 21274 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. |
60a653f1 | 21275 | |
048addec | 21276 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21277 | |
048addec JD |
21278 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
21279 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 21280 | |
048addec | 21281 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21282 | |
048addec JD |
21283 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
21284 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 21285 | |
048addec | 21286 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 21287 | |
048addec | 21288 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21289 | |
048addec | 21290 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 21291 | |
048addec | 21292 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 21293 | |
048addec | 21294 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 21295 | |
048addec | 21296 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21297 | |
f63fd14e | 21298 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 21299 | |
048addec JD |
21300 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
21301 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 21302 | |
048addec JD |
21303 | * w32menu.c (current_popup_menu, get_menu_item_info): |
21304 | (set_menu_item_info): New vars. | |
21305 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
21306 | (w32_menu_show): Set current_popup_menu. | |
21307 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
21308 | and help strings. | |
21309 | Use owner-draw for disabled menu items again. | |
21310 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
21311 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 21312 | |
048addec JD |
21313 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
21314 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
21315 | <WM_EXITMENULOOP>: Free menu strings. | |
21316 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
21317 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 21318 | |
048addec JD |
21319 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
21320 | and mouse face. | |
60a653f1 | 21321 | |
048addec | 21322 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 21323 | |
048addec JD |
21324 | The following changes add left-fringe and right-fringe |
21325 | frame parameters to adjust fringe widths, or remove one or | |
21326 | both fringes. | |
60a653f1 | 21327 | |
048addec JD |
21328 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
21329 | trunc_area_cols fields. | |
21330 | (Qleft_fringe, Qright_fringe): Declare. | |
21331 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 21332 | |
048addec JD |
21333 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
21334 | (syms_of_frame): Initialize them. | |
60a653f1 | 21335 | |
048addec JD |
21336 | * window.c (coordinates_in_window): Handle separate left and right |
21337 | fringe widths. | |
60a653f1 | 21338 | |
048addec JD |
21339 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
21340 | and fringe_cols fields. | |
21341 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
21342 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
21343 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
21344 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
21345 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
21346 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 21347 | |
048addec JD |
21348 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
21349 | fill fringe evenly with small dashes. | |
f63fd14e | 21350 | (x_draw_fringe_bitmap): Clear background if necessary. Align and |
048addec JD |
21351 | clip the new ZV bitmap to avoid jitter between rows. |
21352 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
21353 | background. Don't draw fringe bitmaps if fringe width is zero. | |
21354 | (x_compute_fringe_widths): New function. | |
21355 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 21356 | |
048addec JD |
21357 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
21358 | (x_set_frame_parameters): Process `font' parameter before other | |
21359 | parameters as fringe widths depend on it. | |
21360 | (x_set_fringe_width): New function. | |
21361 | (x_figure_window_size): Use x_compute_fringe_widths. | |
21362 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
21363 | parameters. | |
60a653f1 | 21364 | |
048addec JD |
21365 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
21366 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 21367 | |
048addec JD |
21368 | * w32term.h: Merged changes from xterm.h. |
21369 | * w32term.c: Merged changes from xterm.c. | |
21370 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 21371 | |
048addec | 21372 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21373 | |
048addec | 21374 | * COPYING: Removed. |
60a653f1 | 21375 | |
048addec | 21376 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 21377 | |
048addec JD |
21378 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
21379 | extra extra slot. | |
21380 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 21381 | |
048addec | 21382 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21383 | |
048addec JD |
21384 | * fileio.c (file-name-coding-system) |
21385 | (default-file-name-coding-system): Doc fix (links to referenced | |
21386 | variables added). | |
60a653f1 | 21387 | |
048addec | 21388 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21389 | |
048addec JD |
21390 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
21391 | Add dummy uses of gcproN variables. | |
60a653f1 | 21392 | |
048addec JD |
21393 | * category.c (describe_category, describe_category_1) |
21394 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
21395 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 21396 | |
048addec | 21397 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21398 | |
048addec | 21399 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 21400 | |
048addec JD |
21401 | * Makefile.in (lispdir): New variable, referring to build dir. |
21402 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 21403 | |
048addec | 21404 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 21405 | |
048addec JD |
21406 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
21407 | OWNER. | |
60a653f1 | 21408 | |
048addec | 21409 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21410 | |
048addec JD |
21411 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
21412 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
21413 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
21414 | conditionally. | |
f63fd14e | 21415 | (w32_menu_display_help): New argument OWNER. Rewritten to store a |
048addec | 21416 | help event in the owner frame's keyboard buffer. |
60a653f1 | 21417 | |
048addec JD |
21418 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
21419 | (Fx_show_tip): Don't subtract last width from row width. | |
21420 | ||
21421 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
21422 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 21423 | |
048addec | 21424 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 21425 | |
048addec JD |
21426 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
21427 | OVERLAPS_P. | |
60a653f1 | 21428 | |
048addec | 21429 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21430 | |
048addec JD |
21431 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
21432 | `gcpro3' and `gcpro4'. | |
60a653f1 | 21433 | |
048addec | 21434 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 21435 | |
048addec | 21436 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21437 | |
048addec | 21438 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 21439 | |
048addec | 21440 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21441 | |
048addec JD |
21442 | * lisp.h (run_hook_list_with_args): Remove. |
21443 | (LIST_END_P): Fix call to wrong_type_argument. | |
21444 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 21445 | |
048addec | 21446 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21447 | |
048addec JD |
21448 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
21449 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 21450 | |
048addec JD |
21451 | * eval.c: Use AREF and ASIZE. |
21452 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 21453 | |
048addec JD |
21454 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
21455 | which match the end of the file-name. | |
21456 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
21457 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 21458 | |
048addec JD |
21459 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
21460 | Make nil bindings in char-tables transparent. | |
21461 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 21462 | |
048addec | 21463 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21464 | |
048addec JD |
21465 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
21466 | Do nothing if range is empty. | |
60a653f1 | 21467 | |
048addec | 21468 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 21469 | |
048addec JD |
21470 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
21471 | (clean): Not here. | |
60a653f1 | 21472 | |
048addec | 21473 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21474 | |
048addec JD |
21475 | * textprop.c (set_text_properties_1): Clearly mark that the |
21476 | interval should not be empty. | |
60a653f1 | 21477 | |
048addec JD |
21478 | * intervals.c (graft_intervals_into_buffer): |
21479 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 21480 | |
048addec | 21481 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21482 | |
048addec | 21483 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 21484 | |
048addec JD |
21485 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
21486 | don't lose the data in it. | |
60a653f1 | 21487 | |
048addec | 21488 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 21489 | |
048addec | 21490 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 21491 | |
c62aec78 | 21492 | * buffer.c (Fkill_buffer): Likewise. |
60a653f1 | 21493 | |
c62aec78 | 21494 | * print.c (temp_output_buffer_setup): Likewise. |
60a653f1 | 21495 | |
048addec | 21496 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21497 | |
048addec | 21498 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 21499 | |
048addec | 21500 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 21501 | |
048addec JD |
21502 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
21503 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 21504 | |
048addec | 21505 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21506 | |
048addec | 21507 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 21508 | |
048addec JD |
21509 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
21510 | (Fx_show_tip): Block input during frame creation. | |
21511 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 21512 | |
048addec | 21513 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21514 | |
048addec JD |
21515 | * lread.c (Fload): Detect recursive load error for more than 3 |
21516 | nestings of the same file. | |
21517 | (Vrecursive_load_depth_limit): Variable deleted. | |
21518 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 21519 | |
048addec | 21520 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21521 | |
048addec JD |
21522 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
21523 | mouse position if either left or top is not specified. | |
60a653f1 | 21524 | |
048addec JD |
21525 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
21526 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
21527 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
21528 | (my_create_tip_window): Assign tip_window. | |
21529 | (x_create_tip_frame): Use same defaults as X. | |
21530 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
f63fd14e | 21531 | (Fx_show_tip): Do not double height. Call ShowWindow directly. |
60a653f1 | 21532 | |
048addec JD |
21533 | * w32term.c (x_after_update_window_line): Doc fix. |
21534 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
21535 | frames. | |
21536 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 21537 | |
048addec JD |
21538 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
21539 | for all Windowed systems. | |
60a653f1 | 21540 | |
048addec | 21541 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 21542 | |
048addec JD |
21543 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
21544 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 21545 | |
048addec | 21546 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21547 | |
048addec JD |
21548 | * textprop.c (Fset_text_properties): Remove unused variables |
21549 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 21550 | |
048addec JD |
21551 | * search.c (Freplace_match): Remove unused variable `inslen'. |
21552 | ||
21553 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
21554 | ||
21555 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
21556 | ||
21557 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
21558 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
21559 | (my_create_tip_window): New function. | |
21560 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
21561 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
21562 | ||
21563 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
21564 | ||
21565 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
21566 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
21567 | ||
21568 | * w32fns.c (Vw32_system_coding_system): Remove. | |
21569 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
21570 | ||
21571 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
21572 | ||
21573 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
21574 | after build_annotations. | |
21575 | ||
21576 | * syntax.c (describe_syntax): Add dummy arg. | |
21577 | (describe_syntax_1): Update call to describe_vector. | |
21578 | ||
21579 | * category.c (describe_category): Add dummy arg. | |
21580 | (describe_category_1): Update call to describe_vector. | |
21581 | ||
21582 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
21583 | (describe_command, describe_translation): Add dummy second param. | |
21584 | (describe_map): Call elt_describer with two arguments. | |
21585 | (describe_vector_princ): Add `fun' parameter. | |
21586 | Call it instead of the hardcoded `princ'. | |
21587 | (describe_vector): Add arg `args'. | |
21588 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 21589 | |
048addec | 21590 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 21591 | |
048addec JD |
21592 | * frame.c: Don't include keymap.h any more. |
21593 | (keys_of_frame): Remove. | |
60a653f1 | 21594 | |
048addec | 21595 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 21596 | |
048addec | 21597 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 21598 | |
048addec | 21599 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 21600 | |
048addec JD |
21601 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
21602 | if defined, 0 otherwise. | |
21603 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
21604 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 21605 | |
048addec | 21606 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21607 | |
048addec | 21608 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 21609 | |
048addec | 21610 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21611 | |
048addec JD |
21612 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
21613 | (x_draw_bar_cursor): If the background color of the glyph under | |
21614 | the cursor equals the frame's cursor color, use the glyph's | |
21615 | foreground color for drawing the bar cursor. | |
21616 | (x_after_update_window_line): Clear internal border in different | |
21617 | circumstances. | |
21618 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
21619 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
21620 | (x_set_glyph_string_background_width): | |
21621 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
21622 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
21623 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
21624 | if cursor_in_non_selected_windows is false. | |
21625 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
21626 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
21627 | Notice if cursor gets overwritten. | |
21628 | (notice_overwritten_cursor): Renamed from | |
21629 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
21630 | into account, and to take X positions as parameters. | |
21631 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
21632 | around call to x_draw_glyphs. | |
21633 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
21634 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
21635 | color to use for image glyph reliefs. | |
21636 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
21637 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 21638 | |
048addec JD |
21639 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
21640 | some items. | |
21641 | (x_set_internal_border_width): Set frame garbaged when window | |
21642 | doesn't exist yet. | |
21643 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
21644 | (x_clear_image_1, four_corners_best, image_background) | |
21645 | (image_background_transparent): New functions. | |
21646 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
21647 | (gs_format): Add `:background' entry. | |
21648 | (lookup_image): Set IMG's background color if specified. | |
21649 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
21650 | when appropriate. | |
21651 | (x_clear_image_1): Reset `background_valid' and | |
21652 | `background_transparent_valid' fields. | |
21653 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
21654 | calculating it here. Set IMG's background_transparent field. | |
21655 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
21656 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
21657 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
21658 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
21659 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
21660 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
21661 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
21662 | Pre-calculate image background color where necessary. | |
21663 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
21664 | Use display info's n_cbits entry for screen depth. | |
21665 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
21666 | `left', `max_width' and `max_height'. | |
60a653f1 | 21667 | |
048addec | 21668 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 21669 | |
048addec | 21670 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 21671 | |
048addec | 21672 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 21673 | |
048addec | 21674 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 21675 | |
048addec | 21676 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 21677 | |
048addec | 21678 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21679 | |
048addec JD |
21680 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
21681 | (message_dolog_marker3): New static variables hold three markers. | |
21682 | (syms_of_xdisp): Initialize and staticpro them. | |
21683 | (message_dolog): Use message_dolog_marker1..3 instead of | |
21684 | allocating markers each time. Unchain them when done. | |
60a653f1 | 21685 | |
048addec | 21686 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21687 | |
048addec | 21688 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 21689 | |
048addec | 21690 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 21691 | |
048addec | 21692 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 21693 | |
048addec | 21694 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21695 | |
048addec | 21696 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 21697 | |
048addec | 21698 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 21699 | |
048addec | 21700 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 21701 | |
048addec | 21702 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 21703 | |
048addec JD |
21704 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
21705 | with invalid position. | |
60a653f1 | 21706 | |
048addec | 21707 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 21708 | |
048addec | 21709 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 21710 | |
048addec JD |
21711 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
21712 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
21713 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 21714 | |
048addec | 21715 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 21716 | |
048addec | 21717 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 21718 | |
048addec JD |
21719 | * fileio.c (build_annotations): Split off the tail. |
21720 | (build_annotations_2): New fun. Extracted from build_annotations. | |
21721 | (Fwrite_region): Split the call to build_annotations into two | |
21722 | calls to build_annotations and build_annotations_2. | |
077907d4 | 21723 | |
048addec | 21724 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 21725 | |
048addec JD |
21726 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
21727 | clear_waiting_for_input with argument. | |
1756e2fb | 21728 | |
048addec | 21729 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 21730 | |
048addec | 21731 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 21732 | |
048addec | 21733 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 21734 | |
048addec | 21735 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 21736 | |
048addec | 21737 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 21738 | |
048addec JD |
21739 | * fileio.c (choose_write_coding_system): New fun, extracted |
21740 | from Fwrite_region. | |
21741 | (Fwrite_region): Use it. | |
fa336b91 | 21742 | |
048addec JD |
21743 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
21744 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
21745 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 21746 | |
048addec | 21747 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 21748 | |
048addec | 21749 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 21750 | |
048addec JD |
21751 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
21752 | Required for ISC 4.1. | |
fa336b91 | 21753 | |
048addec | 21754 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 21755 | |
52eb0373 | 21756 | * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
048addec | 21757 | Andrew Wiseman <a.wiseman@btclick.com>. |
fa336b91 | 21758 | |
048addec | 21759 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 21760 | |
048addec JD |
21761 | The following changes are made to clean up the various internal |
21762 | references to the fringes to actually use the term `fringe' for | |
21763 | them. Previously, they were called `flags areas', `bitmap areas', | |
21764 | `left/right side of windows', or implicitly as `flags' or | |
21765 | `bitmaps': | |
fa336b91 | 21766 | |
048addec | 21767 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
f63fd14e | 21768 | Comments fixed. Use renamed symbols. |
06e8f738 | 21769 | |
f63fd14e | 21770 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 21771 | |
048addec JD |
21772 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
21773 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
21774 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 21775 | |
048addec | 21776 | * msdos.c: Comment fix. |
9ce647f4 | 21777 | |
048addec | 21778 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 21779 | |
f63fd14e | 21780 | * w32term.c: Comment fixes. Use renamed symbols. |
048addec JD |
21781 | (fringe_bitmap_type): Renamed from bitmap_type. |
21782 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
21783 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
21784 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 21785 | |
f63fd14e | 21786 | * w32term.h: Comment fixes. Use renamed symbols. |
048addec JD |
21787 | (fringes_extra): Renamed from flags_areas_extra. |
21788 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
21789 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
21790 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
21791 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
21792 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
21793 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
21794 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
21795 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 21796 | |
048addec | 21797 | * widget.c: Use renamed symbols. |
9f7e52b4 | 21798 | |
f63fd14e | 21799 | * window.c: Comment fixes. Use renamed symbols. |
048addec | 21800 | (coordinates-in-window-p): Doc fix. |
fa336b91 | 21801 | |
f63fd14e | 21802 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 21803 | |
048addec | 21804 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 21805 | |
048addec | 21806 | * xfns.c: Use renamed symbols. |
89512fcd | 21807 | |
f63fd14e | 21808 | * xterm.c: Comment fixes. Use renamed symbols. |
048addec JD |
21809 | (fringe_bitmap_type): Renamed from bitmap_type. |
21810 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
21811 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
21812 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 21813 | |
f63fd14e | 21814 | * xterm.h: Comment fixes. Use renamed symbols. |
048addec JD |
21815 | (fringes_extra): Renamed from flags_areas_extra. |
21816 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
21817 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
21818 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
21819 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
21820 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
21821 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
21822 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
21823 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
21824 | ||
21825 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
21826 | ||
21827 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
21828 | work for most menu items. From David Ponce | |
21829 | <david.ponce@wanadoo.fr>. | |
21830 | ||
21831 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
21832 | ||
21833 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
21834 | Some x_set_* function expect to be called even if old and new | |
21835 | value are equal. | |
21836 | ||
21837 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
21838 | tool_bar_button_relief. | |
21839 | ||
21840 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
21841 | ||
21842 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
21843 | ||
21844 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
21845 | glyph under the cursor equals the frame's cursor color, use | |
21846 | the glyph's foreground color for drawing the bar cursor. | |
21847 | ||
21848 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
21849 | position comparison. | |
7d18891d | 21850 | |
048addec | 21851 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 21852 | |
048addec JD |
21853 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
21854 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
21855 | Update arguments to find_field. | |
21856 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
21857 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
21858 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
21859 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 21860 | |
048addec | 21861 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 21862 | |
048addec | 21863 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 21864 | |
048addec JD |
21865 | * dispextern.h (image_background, image_background_transparent): |
21866 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 21867 | |
048addec | 21868 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 21869 | |
048addec | 21870 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 21871 | |
048addec | 21872 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 21873 | |
048addec | 21874 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 21875 | |
048addec | 21876 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 21877 | |
048addec | 21878 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 21879 | |
048addec | 21880 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 21881 | |
048addec | 21882 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 21883 | |
048addec | 21884 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 21885 | |
048addec | 21886 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 21887 | |
048addec | 21888 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 21889 | |
048addec | 21890 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 21891 | |
048addec | 21892 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 21893 | |
048addec | 21894 | * print.c (prin1, print): Doc fix. |
e3059a5d | 21895 | |
048addec | 21896 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 21897 | |
048addec JD |
21898 | * fontset.h: Remove declarations of variables |
21899 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 21900 | |
048addec JD |
21901 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
21902 | `Vclip_large_size_font'. | |
eae936e2 | 21903 | |
048addec | 21904 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 21905 | |
048addec | 21906 | * w32fns.c: Doc fix. |
ddb67bdc | 21907 | |
048addec | 21908 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 21909 | |
048addec | 21910 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 21911 | |
048addec | 21912 | * fns.c: Doc fix. |
6e1b91d7 | 21913 | |
048addec | 21914 | * emacs.c: Doc fix. |
1c1d3d69 | 21915 | |
048addec | 21916 | * coding.c: Doc fix. |
1c1d3d69 | 21917 | |
048addec JD |
21918 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
21919 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
21920 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 21921 | |
048addec | 21922 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 21923 | |
048addec JD |
21924 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
21925 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
21926 | (x_display_and_set_cursor): Do display hollow cursors in active | |
21927 | minibuffer windows when they are not selected. | |
b6f4c7ba | 21928 | |
048addec | 21929 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 21930 | |
048addec | 21931 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
f63fd14e JB |
21932 | * w32term.c: Change doc-string comments to `new style' |
21933 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 21934 | |
048addec JD |
21935 | * w32fns.c: Don't define max. |
21936 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 21937 | |
048addec | 21938 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 21939 | |
048addec JD |
21940 | * ccl.c: Change macros to use do-while block instead of if-else. |
21941 | Use braces to follow GNU Coding Standards. | |
eafb659a | 21942 | |
048addec | 21943 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 21944 | |
048addec | 21945 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 21946 | |
048addec | 21947 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 21948 | |
048addec JD |
21949 | * insdel.c (replace_range): Use adjust_markers_for_replace |
21950 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 21951 | |
78819ebb | 21952 | * intervals.h (set_text_properties, set_text_properties_1): Declare. |
a4cd0cd7 | 21953 | |
048addec JD |
21954 | * textprop.c (set_text_properties_1): New subroutine |
21955 | broken out of set_text_properties. | |
21956 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 21957 | |
048addec JD |
21958 | * intervals.c (graft_intervals_into_buffer): |
21959 | Use set_text_properties_1 to clear out properties. | |
91823618 | 21960 | |
048addec JD |
21961 | * search.c (Freplace_match): Use replace_range to insert |
21962 | and delete. Don't request property inheritance from | |
21963 | surrounding text. | |
86928dfb | 21964 | |
048addec | 21965 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 21966 | |
048addec | 21967 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
f63fd14e | 21968 | vertical fonts. Allow them if face name is explicitly specified. |
048addec | 21969 | Do not give up if we find a font that cannot be converted to an xlfd. |
40ef1eda | 21970 | |
048addec | 21971 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 21972 | |
048addec JD |
21973 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
21974 | instead of malloc/free. | |
a78e0303 | 21975 | |
048addec | 21976 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 21977 | |
048addec JD |
21978 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
21979 | Coding Standards. | |
21980 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 21981 | |
048addec | 21982 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 21983 | |
048addec | 21984 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 21985 | |
048addec JD |
21986 | * coding.c (encode_coding): Use precomputed value of `src'. |
21987 | (encode_coding): Remove unused variable `src_end'. | |
21988 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 21989 | |
048addec | 21990 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 21991 | |
048addec JD |
21992 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
21993 | if cursor_glyph is NULL. | |
55c6d645 | 21994 | |
048addec | 21995 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 21996 | |
048addec | 21997 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 21998 | |
048addec | 21999 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 22000 | |
048addec | 22001 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 22002 | |
048addec | 22003 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 22004 | |
048addec JD |
22005 | * intervals.c (graft_intervals_into_buffer): |
22006 | Remove #ifdef'd-out code. | |
22007 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 22008 | |
048addec JD |
22009 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
22010 | code (eval-current-buffer). | |
22011 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 22012 | |
048addec | 22013 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 22014 | |
048addec | 22015 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 22016 | |
048addec | 22017 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 22018 | |
048addec | 22019 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 22020 | |
048addec JD |
22021 | * keyboard.c (make_lispy_event): Check integerness and fix |
22022 | Lisp_Object/int mixup. | |
17893c65 | 22023 | |
048addec | 22024 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 22025 | |
048addec | 22026 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 22027 | |
048addec JD |
22028 | * fontset.c (fontset_font_pattern): Remove unused variable |
22029 | `family_registry'. | |
d5360cc7 | 22030 | |
048addec | 22031 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 22032 | |
048addec | 22033 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 22034 | |
048addec | 22035 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 22036 | |
048addec JD |
22037 | * buffer.c (Fkill_buffer): Don't delete auto save file |
22038 | if buffer is modified. | |
d9d54213 | 22039 | |
048addec | 22040 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 22041 | |
048addec JD |
22042 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
22043 | CHECK_NUMBER_CDR. | |
b116830b | 22044 | |
048addec | 22045 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 22046 | |
048addec | 22047 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 22048 | |
048addec | 22049 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 22050 | |
048addec | 22051 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 22052 | |
048addec | 22053 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 22054 | |
048addec | 22055 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 22056 | |
048addec | 22057 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 22058 | |
048addec JD |
22059 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
22060 | the program image directly. | |
982f6c7e | 22061 | |
048addec | 22062 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 22063 | |
048addec | 22064 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 22065 | |
048addec | 22066 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 22067 | |
048addec JD |
22068 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
22069 | and CHECK_BUFFER. | |
d31053f9 | 22070 | |
048addec JD |
22071 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
22072 | (record_char): Likewise. | |
d31053f9 | 22073 | |
048addec JD |
22074 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
22075 | move to a different buffer position. Instead, check for moving at | |
22076 | least double_click_fuzz. | |
982f6c7e | 22077 | |
048addec | 22078 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 22079 | |
048addec | 22080 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 22081 | |
048addec JD |
22082 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
22083 | for display-table glyphs from the code for buffer text, to fix | |
22084 | bugs in the former. | |
830047fd | 22085 | |
048addec | 22086 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 22087 | |
048addec JD |
22088 | * buffer.c (Fbuffer_local_value): New function. |
22089 | (syms_of_buffer): Defsubr it. | |
2df5238c | 22090 | |
048addec JD |
22091 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
22092 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 22093 | |
048addec JD |
22094 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
22095 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
22096 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 22097 | |
048addec | 22098 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 22099 | |
048addec | 22100 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 22101 | |
048addec JD |
22102 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
22103 | keyword]. | |
3ecaf7e5 | 22104 | |
048addec JD |
22105 | * eval.c (top_level_value, top_level_set): Remove commented and |
22106 | #ifdef'd-out code. | |
22107 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 22108 | |
048addec | 22109 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 22110 | |
048addec | 22111 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 22112 | |
048addec | 22113 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 22114 | |
048addec | 22115 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 22116 | |
048addec | 22117 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 22118 | |
048addec JD |
22119 | * lisp.h (CHECK_STRING_CAR): New macro. |
22120 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
22121 | treating XCAR and XCDR as lvalues. | |
22122 | (openp): Use CHECK_STRING_CAR. | |
22123 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 22124 | |
048addec | 22125 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 22126 | |
048addec JD |
22127 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
22128 | (SIGMASKTYPE): Define. | |
1b1acc13 | 22129 | |
048addec | 22130 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 22131 | |
048addec | 22132 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 22133 | |
048addec JD |
22134 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
22135 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
22136 | Fix typos in comments. | |
6cb16f95 | 22137 | |
048addec JD |
22138 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
22139 | and #ifdef'd-out code. | |
22140 | Fix and reindent comments. | |
6cb16f95 | 22141 | |
048addec | 22142 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 22143 | |
048addec JD |
22144 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
22145 | argument `i' in macros. | |
6cb16f95 | 22146 | |
048addec JD |
22147 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
22148 | `i' in macros. | |
7e9d3c2f | 22149 | |
048addec JD |
22150 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
22151 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
22152 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
22153 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
22154 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
22155 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
22156 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
22157 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
22158 | in macros. | |
7e9d3c2f | 22159 | |
048addec JD |
22160 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
22161 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
22162 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
22163 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
22164 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
22165 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
22166 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
22167 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
22168 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
22169 | (remove unused second argument). | |
7e9d3c2f | 22170 | |
048addec | 22171 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 22172 | |
048addec JD |
22173 | * syntax.c (describe_syntax): New wrapper. |
22174 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
22175 | Don't insert space at front and \n at the end. | |
22176 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 22177 | |
048addec JD |
22178 | * regex.c (re_wctype): Try to fix some warnings. |
22179 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 22180 | |
048addec | 22181 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 22182 | |
048addec | 22183 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 22184 | |
048addec | 22185 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 22186 | |
048addec | 22187 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 22188 | |
048addec | 22189 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 22190 | |
048addec | 22191 | * callint.c (Finteractive): Ditto. |
9271ed2c | 22192 | |
048addec | 22193 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 22194 | |
048addec JD |
22195 | * macros.c: Don't include keymap.h any more. |
22196 | ||
22197 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
22198 | ||
22199 | * data.c (Fmake_local_variable): Doc fix. | |
22200 | ||
22201 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
22202 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 22203 | |
048addec | 22204 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
22205 | bindings along with or instead of the buffer local map. |
22206 | Make the overriding maps override what they should. | |
22207 | ||
f00691a3 | 22208 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
22209 | |
22210 | * window.c (grow_mini_window): Fix typo in comment. | |
22211 | ||
27188d11 GM |
22212 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
22213 | ||
7b49b9d2 GM |
22214 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
22215 | (XTset_vertical_scroll_bar): Likewise. | |
22216 | ||
43f7c3ea GM |
22217 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
22218 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 22219 | |
b350c2e5 GM |
22220 | * xfns.c (four_corners_best): Reindent. |
22221 | ||
c22e59e1 | 22222 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
22223 | Handle :box so that it is possible to specify sexprs. |
22224 | ||
bf00d461 EZ |
22225 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
22226 | ||
22227 | * s/hpux11.h: New file. | |
22228 | ||
f00691a3 | 22229 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 22230 | |
2b209b97 PJ |
22231 | * emacs.c (USAGE1): Show command line option --no-window-system |
22232 | instead of --no-windows in usage. | |
22233 | (standard_args): Rename --no-windows to --no-window-system. | |
22234 | (bug_reporting_address): Follow Emacs coding conventions. | |
22235 | ||
9dbc9081 PJ |
22236 | * eval.c (Fcommandp): Doc fix. |
22237 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
22238 | ||
4e10df59 PJ |
22239 | * frame.c (Fframe_live_p): Doc fix. |
22240 | ||
22241 | * buffer.c (selective-display-ellipses): Doc fix. | |
22242 | ||
dd387b25 GM |
22243 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
22244 | ||
fe957e65 GM |
22245 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
22246 | ||
dd387b25 GM |
22247 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
22248 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
22249 | members which have a different meaning. | |
22250 | (free_face_colors): Do nothing for a face whose colors have been | |
22251 | copied bitwise. | |
22252 | ||
c22e59e1 | 22253 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 22254 | |
f00691a3 | 22255 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 22256 | |
687784e8 PJ |
22257 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
22258 | [w/`doc:' keyword]. | |
2e1280f8 | 22259 | |
b9d9a9b9 GM |
22260 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
22261 | ||
22262 | * fns.c (require_unwind): Return Lisp_Object. | |
22263 | ||
f00691a3 | 22264 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 22265 | |
fa1361cb PJ |
22266 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
22267 | (last-input-char): Revert doc-string to be the same as the | |
22268 | doc-string of `last-input-event'. | |
22269 | ||
6c465a15 | 22270 | * xdisp.c: Fix typos in comments. |
48400103 | 22271 | |
eafa3196 GM |
22272 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
22273 | ||
22274 | * window.c (grow_mini_window): Handle case that the root | |
22275 | window is already smaller than the nominal mininum height. | |
22276 | ||
747d3f2a SM |
22277 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
22278 | ||
bf9bb76f SM |
22279 | * emacs.c (main): Don't call keys_of_macros any more. |
22280 | ||
22281 | * lisp.h (keys_of_macros): Remove. | |
22282 | ||
22283 | * macros.c (keys_of_macros): Remove. | |
22284 | ||
747d3f2a SM |
22285 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
22286 | ||
5e905a57 JR |
22287 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
22288 | ||
22289 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
22290 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
22291 | ||
3a426197 RS |
22292 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
22293 | ||
22294 | * keyboard.c (Finput_pending_p): Doc fix. | |
22295 | ||
a742d646 GM |
22296 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
22297 | ||
259cf6bc GM |
22298 | * xterm.c (x_after_update_window_line): Don't run the code |
22299 | clearing in borders for rows whose visible height is 0. | |
22300 | ||
3f99f948 GM |
22301 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
22302 | resized_p flag is set. If not set, use the much less flickering | |
22303 | method previously used. | |
22304 | ||
22305 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
22306 | ||
22307 | * frame.h (struct frame) <resized_p>: New member. | |
22308 | ||
b4a3be43 GM |
22309 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
22310 | as large as the number of bytes to convert. | |
747d3f2a | 22311 | |
a742d646 GM |
22312 | * lread.c (to_multibyte): New function. |
22313 | (read1): Use it. | |
22314 | ||
cacbb9e9 EZ |
22315 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
22316 | ||
22317 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
22318 | ||
99cb6b2f GM |
22319 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
22320 | ||
327f42ee | 22321 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
22322 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
22323 | if the row's fill_line_p is set and drawing the last glyph with | |
22324 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 22325 | |
99cb6b2f GM |
22326 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
22327 | ||
8e8223e2 SM |
22328 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
22329 | ||
22330 | * xmenu.c: Include coding.h and charset.h. | |
22331 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
22332 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
22333 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
22334 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
22335 | (menu_help_callback): Use empty_string. | |
22336 | ||
22337 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
22338 | (Fx_popup_dialog): Explicitly init f. | |
22339 | (w32_menu_display_help): Use empty_string. | |
22340 | ||
4d083a8f RS |
22341 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
22342 | ||
b2304472 RS |
22343 | * fns.c (Frequire): Detect recursive try to require the same |
22344 | feature 3 or more levels deep, and get error. | |
22345 | (require_unwind): New subroutine. | |
22346 | (require_nesting_list): New variable. | |
22347 | (syms_of_fns): Init and staticpro it. | |
22348 | ||
4d083a8f RS |
22349 | * print.c (print_object): Clarify indication of insertion type. |
22350 | ||
2fe41216 EZ |
22351 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
22352 | ||
90480000 EZ |
22353 | * coding.c (syms_of_coding): Document that locale-coding-system is |
22354 | used for decoding input on X. | |
22355 | ||
2fe41216 EZ |
22356 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
22357 | ||
f00691a3 | 22358 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
22359 | |
22360 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
22361 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
22362 | ||
60ebcfe8 GM |
22363 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
22364 | ||
9a7bdceb GM |
22365 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
22366 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
22367 | ||
3f08fcd2 GM |
22368 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
22369 | the slant attribute if FRAME is t. | |
22370 | ||
0ccfdad2 GM |
22371 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
22372 | when X window doesn't exist yet. | |
22373 | ||
ef253080 GM |
22374 | * xterm.c (x_after_update_window_line): Clear internal border |
22375 | in different circumstances. | |
b116830b | 22376 | |
60ebcfe8 GM |
22377 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
22378 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
22379 | <handa@etl.go.jp>. | |
22380 | ||
73d25f9c EZ |
22381 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
22382 | ||
22383 | * m/ibms390.h: New file. From Adam Thornton | |
22384 | <athornton@sinenomine.net>. | |
22385 | ||
cac1daf0 GM |
22386 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
22387 | ||
053b3256 | 22388 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 22389 | |
cac1daf0 GM |
22390 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
22391 | a loop counter. | |
22392 | ||
f00691a3 | 22393 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 22394 | |
f9711de4 | 22395 | * emacs.c: Use argv[0] instead of "emacs" when -t was specified. |
186486eb | 22396 | |
4707d2d0 PJ |
22397 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
22398 | keyword]. | |
22399 | Fix typos in comments. | |
b116830b | 22400 | |
d883731c PJ |
22401 | * emacs.c (bug_reporting_address): New function. |
22402 | Use it when displaying usage message. | |
22403 | ||
04012254 PJ |
22404 | * minibuf.c (read_minibuf): Remove unused external declaration of |
22405 | variable `Qread_only'. | |
22406 | ||
13b1a09c PJ |
22407 | * keymap.c (access_keymap): Remove unused variable `charset'. |
22408 | ||
5bbf4378 MB |
22409 | 2001-10-28 Miles Bader <miles@gnu.org> |
22410 | ||
22411 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
22412 | Remove #ifdef'd-out code. | |
22413 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
22414 | (syms_of_xfaces): Initialize them. | |
22415 | ||
1ce1e4ee JR |
22416 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
22417 | ||
22418 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
22419 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
22420 | position using the system caret. | |
22421 | ||
22422 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
22423 | (w32_system_caret_height, w32_system_caret_x) | |
22424 | (w32_system_caret_y): New variables for tracking system caret. | |
22425 | (w32_initialize): Initialize them. | |
c2d53558 | 22426 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 22427 | |
c2d53558 SM |
22428 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
22429 | New messages types. | |
1ce1e4ee JR |
22430 | |
22431 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
22432 | ||
f00691a3 | 22433 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 22434 | |
bb4600a4 PJ |
22435 | * xterm.c: Fix typo in a comment. |
22436 | ||
7db35a48 PJ |
22437 | * emacs.c: Fix typos in comments. |
22438 | Remove unnecessary spaces. | |
22439 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
22440 | (USAGE2): Fix typos in usage string. | |
22441 | ||
a7248e4f PJ |
22442 | * xterm.c: Fix typo in a comment. |
22443 | ||
52eb0373 | 22444 | * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in |
4e30ce42 PJ |
22445 | emacs.c. |
22446 | ||
62725a92 GM |
22447 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
22448 | ||
798dbe1f | 22449 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 22450 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
22451 | farther backward when target_y was not reached. |
22452 | ||
62725a92 GM |
22453 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
22454 | Display errno only if non-zero. | |
22455 | (sound_warning): New function. | |
22456 | (vox_configure): Don't treat failing to set sample rate as error. | |
22457 | (various places): Improve error messages. | |
22458 | ||
d4e34d24 EZ |
22459 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
22460 | ||
944e6f60 EZ |
22461 | * fileio.c (Faccess_file): Run the argument filename through |
22462 | Fexpand_file_name, before using it. | |
22463 | ||
d4e34d24 EZ |
22464 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
22465 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
22466 | ||
38d2af0c GM |
22467 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
22468 | ||
da80a8d5 GM |
22469 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
22470 | ||
38d2af0c GM |
22471 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
22472 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 22473 | |
45de4a6f | 22474 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
22475 | |
22476 | * w32gui.h (XImage): Add a dummy typedef. | |
22477 | ||
fbd5ceb2 GM |
22478 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
22479 | ||
c2d53558 | 22480 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 22481 | |
b23236fb EZ |
22482 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
22483 | ||
22484 | * frame.c (Fframe_parameter): Fix last change. | |
22485 | ||
5d991fc4 EZ |
22486 | * fileio.c: Revert last change (which removed old commented-out |
22487 | version of expand-file-name). Add a comment that explains why | |
22488 | this old version should not be removed. | |
22489 | ||
879eadc3 GM |
22490 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
22491 | ||
75700ff2 GM |
22492 | * frame.c (Fframe_parameter): Fix a bug whereby some |
22493 | ``artificial'' frame parameters, like `minibuffer' were not | |
22494 | obtained by calling Fframe_parameters. | |
22495 | ||
dfe92a6a GM |
22496 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
22497 | cursor differently. | |
22498 | ||
879eadc3 GM |
22499 | * xdisp.c (move_it_vertically_backward): Compute line height |
22500 | differently. Add heuristic to try to be more compatible to 20.x. | |
22501 | ||
e1010ebe SM |
22502 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
22503 | ||
d73a471b SM |
22504 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
22505 | ||
d6da5a06 GM |
22506 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
22507 | boolean. | |
e1010ebe | 22508 | |
f66bd220 MB |
22509 | 2001-10-25 Miles Bader <miles@gnu.org> |
22510 | ||
22511 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
22512 | BG is a pointer to a structure, not a structure. | |
22513 | (gif_format, png_format): Add missing commas. | |
22514 | ||
d436d538 RS |
22515 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
22516 | ||
22517 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 22518 | (syms_of_xfaces): Defsubr it. |
d436d538 | 22519 | |
f00691a3 | 22520 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
22521 | |
22522 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
22523 | variable `area'. | |
22524 | ||
f00691a3 | 22525 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 22526 | |
c2d53558 | 22527 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 22528 | |
e2a57b34 MB |
22529 | 2001-10-25 Miles Bader <miles@gnu.org> |
22530 | ||
22531 | * dispextern.h (struct image): Add `background', | |
22532 | `background_valid', and `background_transparent' fields. | |
22533 | (image_background, image_background_transparent): New declarations. | |
22534 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
22535 | * xfns.c (image_background, image_background_transparent) | |
22536 | (four_corners_best): New functions. | |
c2d53558 | 22537 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
22538 | (gs_format): Add `:background' entry. |
22539 | (lookup_image): Set IMG's background color if specified. | |
22540 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
22541 | when appropriate. | |
22542 | (x_clear_image_1): Reset `background_valid' and | |
22543 | `background_transparent_valid' fields. | |
22544 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
22545 | calculating it here. Set IMG's background_transparent field. | |
22546 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
22547 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
22548 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
22549 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
22550 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
22551 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 22552 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
22553 | Pre-calculate image background color where necessary. |
22554 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
22555 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
22556 | color to use for image glyph reliefs. | |
22557 | ||
b547b6e8 GM |
22558 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
22559 | ||
d9e3b8c6 GM |
22560 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
22561 | in full-width rows. | |
c2d53558 | 22562 | |
b547b6e8 GM |
22563 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
22564 | Fix clearing of area not covered by scroll bar. | |
22565 | ||
f00691a3 | 22566 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 | 22567 | |
52eb0373 | 22568 | * xterm.c (x_insert_glyphs): Remove unused variables `real_end' |
2beb36f9 | 22569 | and `real_start'. |
c2d53558 | 22570 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
22571 | (glyph_rect): Remove unused variable `area'. |
22572 | ||
76cb5e06 GM |
22573 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
22574 | ||
bdbdebff | 22575 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
22576 | |
22577 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
22578 | (row_containing_pos): Take additional argument DY. | |
22579 | Treat rows ending in middle of char differently. | |
62e33982 GM |
22580 | (display_line): Handle tabs on window systems differently. |
22581 | ||
22582 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
22583 | with additional argument. | |
22584 | ||
22585 | * dispextern.h (row_containing_pos): Adjust prototype. | |
22586 | ||
76cb5e06 GM |
22587 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
22588 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
22589 | (try_window_id, try_window_reusing_current_matrix) | |
22590 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 22591 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 22592 | |
f00691a3 | 22593 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 22594 | |
c9e60620 PJ |
22595 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
22596 | gnuemacs). | |
22597 | (HAVE_BOXES): Fix typo in comment. | |
22598 | (push_menu_pane): Fix typo in comment. | |
22599 | ||
52eb0373 | 22600 | * xdisp.c (display_prop_string_p): Remove unused local declaration |
3b552d56 PJ |
22601 | of `Qwhen'. |
22602 | (single_display_prop_string_p): Remove unused local declarations | |
22603 | of `Qwhen' and `Qmargin'. | |
22604 | (string_buffer_position): Remove unused variable `around'. | |
22605 | (store_frame_title): Remove unused variable `width'. | |
22606 | ||
15c565ac PJ |
22607 | * window.c: Don't define max. |
22608 | (coordinates_in_window): Remove unused variable `uy'. | |
22609 | ||
a8818eb9 PJ |
22610 | * widget.c: Don't define max. |
22611 | ||
996fee11 PJ |
22612 | * process.c: Don't define max. |
22613 | (create_process): Remove unused variable `buffer'. | |
22614 | ||
496e1a5b GM |
22615 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
22616 | ||
c2d53558 | 22617 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 22618 | |
5905ae8b EZ |
22619 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
22620 | ||
22621 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
22622 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
22623 | frame is on a windowed display. | |
22624 | ||
24db49fb GM |
22625 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
22626 | ||
c2d53558 SM |
22627 | * dispnew.c (sync_window_with_frame_matrix_rows): |
22628 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
22629 | of marginal areas. |
22630 | ||
c2d53558 | 22631 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 22632 | |
f0487f05 EZ |
22633 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
22634 | ||
22635 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
22636 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
22637 | ||
f0a48a01 GM |
22638 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
22639 | ||
c2d53558 | 22640 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
22641 | REAL_END. Notice if cursor gets overwritten. |
22642 | (notice_overwritten_cursor): Take X positions as parameters. | |
22643 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
22644 | around call to x_draw_glyphs. | |
22645 | ||
f00691a3 | 22646 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 22647 | |
fc11dff0 PJ |
22648 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
22649 | instead of C) and usage. | |
a50a10a0 | 22650 | |
fc11dff0 PJ |
22651 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
22652 | of C) and usage. | |
a50a10a0 PJ |
22653 | |
22654 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
22655 | `left', `max_width' and `max_height'. | |
22656 | ||
8738febd GM |
22657 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
22658 | ||
22659 | * xdisp.c (display_line): For a tab continued to the next line, | |
22660 | set row's ends_in_middle_of_char_p. | |
22661 | ||
653c329b GM |
22662 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
22663 | ||
22664 | * xdisp.c (display_line): Fix computation of continuation lines | |
22665 | width for TABs. | |
22666 | ||
f00691a3 | 22667 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 22668 | |
7ba51063 PJ |
22669 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
22670 | `Qlaplace'. | |
22671 | ||
f958c5ac PJ |
22672 | * fileio.c: Remove unused code. |
22673 | ||
eb360291 MB |
22674 | 2001-10-22 Miles Bader <miles@gnu.org> |
22675 | ||
22676 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
22677 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
22678 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
22679 | ||
98515cf0 JR |
22680 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
22681 | ||
22682 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
22683 | ||
93026d88 EZ |
22684 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
22685 | ||
22686 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
22687 | (Finsert_string): Avoid the multi-line string literals warning. | |
22688 | ||
c9a95b79 MB |
22689 | 2001-10-22 Miles Bader <miles@gnu.org> |
22690 | ||
22691 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
22692 | (Fdocumentation): Don't use it. | |
22693 | (syms_of_doc): Don't initialize it. | |
22694 | ||
22695 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
22696 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
22697 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 22698 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 22699 | (Fsave_restriction): Likewise. |
c2d53558 SM |
22700 | * eval.c (Frun_hooks, Frun_hook_with_args) |
22701 | (Frun_hook_with_args_until_failure) | |
22702 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
22703 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
22704 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
22705 | (Funwind_protect, Fcondition_case): Likewise. |
22706 | * coding.c (Ffind_operation_coding_system): Likewise. | |
22707 | * keyboard.c (Ftrack_mouse): Likewise. | |
22708 | ||
a3b10252 MB |
22709 | 2001-10-21 Miles Bader <miles@gnu.org> |
22710 | ||
c2d53558 | 22711 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
22712 | (Fmake_hash_table): Add usage: string to doc string. |
22713 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 22714 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
22715 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
22716 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
22717 | (Fml_prefix_argument_loop): Likewise. | |
22718 | ||
f00691a3 | 22719 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 22720 | |
c2d53558 | 22721 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 22722 | |
c6f73eec PJ |
22723 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
22724 | style' [w/`doc:' keyword]. | |
22725 | ||
22726 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
22727 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
22728 | comments to `new style' [w/`doc:' keyword]. | |
22729 | ||
3cf3436e JR |
22730 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
22731 | ||
22732 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
22733 | ||
c169b8f1 JR |
22734 | * w32term.c (remember_mouse_glyph): New function. |
22735 | (w32_mouse_position): Use it. | |
22736 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
22737 | its new position. | |
c2d53558 | 22738 | |
4fdd691b JR |
22739 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
22740 | (w32_display_info): Add mouse_face_overlay. | |
22741 | ||
c169b8f1 JR |
22742 | * w32term.c (notice_overwritten_cursor): Renamed from |
22743 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
22744 | account. | |
22745 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
22746 | (fast_find_string_pos): New function. | |
22747 | (fast_find_position): Return the correct vpos. Add parameter | |
22748 | STOP. In the final row, stop before glyphs having STOP as object. | |
22749 | Don't consider glyphs that are not from a buffer. | |
22750 | (fast_find_position) [0]: Add a presumably more correct version | |
22751 | for after 21.1. | |
22752 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
22753 | (expose_window): Do it here instead. | |
22754 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
22755 | overwriting mouse-face. | |
22756 | (expose_window): If W is the window currently being updated, mark | |
22757 | the frame garbaged. | |
22758 | (expose_frame): If mouse-face was overwritten, redo it. | |
22759 | (x_use_underline_position_properties): New variable. | |
22760 | (syms_of_xterm): DEFVAR_BOOL it. | |
22761 | (x_draw_glyph_string): Add comment to use it in future. | |
22762 | (x_draw_glyph_string): Restore clipping after drawing box. | |
22763 | Fix a computation of the underline position. | |
22764 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
22765 | (x_fill_stretch_glyph_string): Remove an assertion. | |
22766 | (x_produce_glyphs): Don't convert multibyte characters | |
22767 | to unibyte characters in unibyte buffers. | |
22768 | (cursor_in_mouse_face_p): New function. | |
22769 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
22770 | when drawing a cursor within highlighted text. Don't draw | |
22771 | background again if it has already been drawn. | |
22772 | (x_draw_glyph_string_box): Don't draw a full-width | |
22773 | box just because the glyph row's full_width_p flag is set. | |
22774 | (x_draw_glyphs): Fix computation of rightmost x for | |
22775 | full-width rows. | |
22776 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
22777 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
f63fd14e | 22778 | change bottom shadow accordingly. Some cleanup. |
c169b8f1 JR |
22779 | (x_update_window_end): Handle overwritten mouse face |
22780 | also for tool bar windows. | |
22781 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
22782 | DRAW is DRAW_IMAGE_RAISED. | |
22783 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
22784 | actually redrawn. Make the function static. |
22785 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
22786 | optimize away highlighting if we pass over that same overlay again. |
22787 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
22788 | to detect a case where we have to highlight a different region | |
22789 | despite not having left the currently highlighted region. | |
22790 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
22791 | mouse pointer shape when show_mouse_face has already done it, or | |
22792 | there is no need. Handle mouse-face and help-echo in strings. | |
22793 | (glyph_rect): New function. | |
22794 | (w32_mouse_position): Use it to raise the threshold for mouse | |
22795 | movement event generation. | |
22796 | (w32_initialize_display_info): Initialize the x_display_info's | |
22797 | mouse_face_overlay. | |
22798 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
22799 | or width area. | |
22800 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
22801 | a widget to zero height. | |
22802 | ||
3cf3436e | 22803 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 22804 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
22805 | equivalents in menu_items. |
22806 | (w32_menu_show): Don't overwrite an item's name with its key | |
22807 | description in case the description is a multibyte string. | |
22808 | (single_submenu): Some cleanup. | |
22809 | ||
22810 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
22811 | (postprocess_image): New function. | |
22812 | (lookup_image): Call it for all image types except PostScript. | |
22813 | (x_kill_gs_process): Call postprocess_image. | |
22814 | (tiff_error_handler, tiff_warning_handler): New functions. | |
22815 | (tiff_load): Install them as handlers. | |
22816 | (x_kill_gs_process): Recognize if someone has cleared the image | |
22817 | cache under us. | |
22818 | (valid_image_p): Protect better against invalid image | |
22819 | specifications. Previous code could signal an error. | |
22820 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
22821 | (Fv_max_tooltip_size): New variable. | |
22822 | (syns_of_xfns): DEFVAR_LISP it. | |
22823 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
f63fd14e | 22824 | window buffer to *tip* right after creating the frame. Set frame's |
3cf3436e JR |
22825 | window_width. Use a maximum tooltip size specified by |
22826 | Vx_max_tooltip_size, if that has valid contents. | |
22827 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
22828 | Make sure the tooltip is completely visible. | |
22829 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
22830 | (Fx_create_frame): Adjust the frame's height for presence | |
22831 | of the tool bar before calling x_figure_window_size. | |
22832 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
22833 | when the window gets smaller. | |
22834 | (x_set_foreground_color): Set frame's cursor_pixel. | |
22835 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
22836 | (x_set_font): Handle case of x_new_fontset returning the same name | |
22837 | as before, although there was a change in fontsets. | |
22838 | ||
386ca361 MB |
22839 | 2001-10-21 Miles Bader <miles@gnu.org> |
22840 | ||
c2d53558 | 22841 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
22842 | (Flogxor): Add usage: string to doc string. |
22843 | * charset.c (Fstring): Likewise. | |
22844 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
22845 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
22846 | ||
f00691a3 | 22847 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 22848 | |
03be2694 PJ |
22849 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
22850 | ||
22851 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
22852 | ||
22853 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
22854 | ||
14ff1ee0 PJ |
22855 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
22856 | keyword]. | |
22857 | ||
2f147815 | 22858 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
22859 | |
22860 | ;; Local Variables: | |
49b3bd82 | 22861 | ;; coding: iso-2022-7bit |
6922b018 | 22862 | ;; End: |
2a34a036 | 22863 | |
aaef169d TTN |
22864 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
22865 | 2006 Free Software Foundation, Inc. | |
2a34a036 GM |
22866 | Copying and distribution of this file, with or without modification, |
22867 | are permitted provided the copyright notice and this notice are preserved. | |
ab5796a9 MB |
22868 | |
22869 | ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 |