Commit | Line | Data |
---|---|---|
07c5948c YM |
1 | 2005-08-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2 | ||
3 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. All | |
4 | uses changed. | |
5 | [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common | |
6 | cases. | |
7 | (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. | |
8 | [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. Use | |
9 | posix_pathname_to_fsspec. | |
10 | [MAC_OS] (xpm_load_image): Fill in background_transparent field | |
11 | while we have mask. | |
12 | ||
13 | * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. | |
14 | ||
15 | * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. | |
16 | ||
5a774522 SM |
17 | 2005-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
18 | ||
19 | * syntax.c (update_syntax_table): Properly reproduce the special +1 | |
20 | setting of e_property at the end of the buffer when bumping into the | |
21 | INTERVALS_AT_ONCE limit. | |
22 | ||
0fb57cc0 EZ |
23 | 2005-08-27 Eli Zaretskii <eliz@gnu.org> |
24 | ||
25 | * emacs.c (USAGE1): Fix the description of the -Q option. | |
26 | ||
5a774522 SM |
27 | 2005-08-26 Stefan Monnier <monnier@iro.umontreal.ca> |
28 | ||
29 | * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). | |
30 | ||
4e6b8c5a KS |
31 | 2005-08-26 Kim F. Storm <storm@cua.dk> |
32 | ||
33 | * xdisp.c (resize_mini_window): Fix 2005-08-20 change. | |
34 | Don't move PT to new window start. | |
35 | ||
1f98fbb4 YM |
36 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
37 | ||
38 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | |
39 | ICONIFY/DEICONIFY_EVENT. | |
40 | ||
5a774522 SM |
41 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): |
42 | Restore background color. | |
1f98fbb4 YM |
43 | (mac_handle_visibility_change): New function. |
44 | (x_make_frame_invisible, x_iconify_frame) | |
45 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | |
46 | [USE_CARBON_EVENTS] (mac_handle_window_event) | |
07c5948c | 47 | (install_window_handler): Handle visibility change events. |
1f98fbb4 YM |
48 | (x_make_frame_visible): Don't reposition window if it is iconified |
49 | or asked for visible before. Select and uncollapse window when it | |
50 | is made visible. | |
51 | (x_make_frame_invisible): Don't reset x_highlight_frame. | |
52 | (x_iconify_frame): Likewise. Make invisible frame visible before | |
53 | it is iconified. | |
54 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | |
55 | (do_window_update): Don't change visibility of invisible frame. | |
56 | ||
16691d29 JL |
57 | 2005-08-22 Juri Linkov <juri@jurta.org> |
58 | ||
59 | * term.c (turn_on_face): Check for TS_set_foreground and | |
60 | TS_set_background depending on standout_mode. Simplify. | |
61 | ||
7c3f805b KS |
62 | 2005-08-21 Kim F. Storm <storm@cua.dk> |
63 | ||
0f467468 KS |
64 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM |
65 | bitmaps on fully visible rows. | |
66 | ||
7c3f805b KS |
67 | * fringe.c (update_window_fringes): Replace FORCE_P arg with |
68 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | |
69 | and return 0. | |
70 | ||
71 | * xdisp.c (redisplay_window): Call update_window_fringes with | |
72 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | |
73 | ||
40b388f9 RS |
74 | 2005-08-20 Richard M. Stallman <rms@gnu.org> |
75 | ||
76 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | |
77 | (resize_mini_window): Set w->start, and PT, so as to display the tail | |
78 | end of the buffer, if it doesn't all fit. | |
79 | ||
581360f0 KS |
80 | 2005-08-18 Kim F. Storm <storm@cua.dk> |
81 | ||
82 | * xdisp.c (calc_pixel_width_or_height): Use actual display | |
83 | resolution when available instead of Vdisplay_pixels_per_inch. | |
84 | ||
0eefa6fb KS |
85 | 2005-08-17 Kim F. Storm <storm@cua.dk> |
86 | ||
87 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | |
88 | ||
89 | * dispnew.c (buffer_posn_from_coords): Check that target row is | |
90 | within matrix. | |
91 | ||
ada192ba JD |
92 | 2005-08-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
93 | ||
94 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | |
95 | xg_set_frame_icon and call it. | |
96 | ||
97 | * gtkutil.c (xg_set_frame_icon): New function. | |
98 | ||
0eefa6fb | 99 | * gtkutil.h (xg_set_frame_icon): Declare it. |
ada192ba | 100 | |
ab89a403 KS |
101 | 2005-08-16 Kim F. Storm <storm@cua.dk> |
102 | ||
103 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | |
104 | ||
105 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | |
106 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | |
107 | ||
8d34b5e1 RS |
108 | 2005-08-15 Richard M. Stallman <rms@gnu.org> |
109 | ||
110 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | |
111 | ||
71e37f3c KS |
112 | 2005-08-15 Kim F. Storm <storm@cua.dk> |
113 | ||
0781c303 KS |
114 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. |
115 | ||
71e37f3c KS |
116 | * process.c (deactivate_process, status_notify, read_process_output) |
117 | (update_status, status_convert, decode_status, allocate_pty) | |
118 | (make_process, remove_process, list_processes_1) | |
119 | (create_process_1, unwind_request_sigio, read_process_output) | |
120 | (send_process, keyboard_bit_set): Declare static. | |
121 | (Fdelete_process): Simplify. Pass process to status_notify, so we | |
122 | don't try to read output from it. | |
123 | (status_notify): New arg deleting_process--don't try to read | |
124 | output from that process. | |
125 | ||
126 | * lisp.h (deactivate_process, status_notify, read_process_output): | |
127 | Remove prototypes. | |
128 | ||
0bf14bfd RS |
129 | 2005-08-14 Richard M. Stallman <rms@gnu.org> |
130 | ||
131 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling define_image_type. | |
132 | ||
6c7eb721 JD |
133 | 2005-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
134 | ||
135 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | |
136 | (xg_get_image_for_pixmap): Move some code to | |
137 | xg_get_pixbuf_from_pix_and_mask, and call it. | |
138 | ||
139 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | |
140 | ||
141 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | |
142 | to get an GTK icon and set it with GTK functions to avoid having GTK | |
143 | override an icon set with just X functions. | |
144 | ||
6e2d14c8 RS |
145 | 2005-08-11 Richard M. Stallman <rms@gnu.org> |
146 | ||
147 | * image.c (syms_of_image): Init image_types here, and call define_image_type. | |
148 | (init_image): Not here. | |
149 | ||
61298e17 RS |
150 | 2005-08-09 Richard M. Stallman <rms@gnu.org> |
151 | ||
152 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | |
153 | ||
154 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | |
155 | ||
5a9807a8 TTN |
156 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> |
157 | ||
158 | * floatfns.c (Fexpt): Use floats for negative exponent. | |
159 | ||
93469010 JD |
160 | 2005-08-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
161 | ||
162 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | |
163 | should not be there, causing menu display errors with GTK 2.6.9. | |
164 | ||
44edd521 RS |
165 | 2005-08-07 Richard M. Stallman <rms@gnu.org> |
166 | ||
8b6a9551 RS |
167 | * floatfns.c (Fexpt): Undo previous change. |
168 | ||
44edd521 RS |
169 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg |
170 | so it can be used with various state vectors. | |
171 | ||
172 | * emacs.c (endif): Convert -script into -scriptload. | |
173 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | |
174 | ||
175 | * fns.c (syms_of_fns): Add `emacs' to features. | |
176 | ||
177 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | |
178 | output newlines to scroll the old screen contents off the screen. | |
179 | ||
cac87e30 TTN |
180 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> |
181 | ||
2a205424 TTN |
182 | * floatfns.c (Fexpt): Use floats for negative exponent. |
183 | Reported by D Goel. | |
cac87e30 | 184 | |
31b7cc74 JB |
185 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
186 | ||
187 | * frame.c (Fframe_char_width): Doc fix. | |
188 | ||
e2b64074 JB |
189 | 2005-07-30 Juanma Barranquero <lekktu@gmail.com> |
190 | ||
191 | * xdisp.c (syms_of_xdisp) <redisplay-end-trigger-functions>: | |
192 | Defvar it. | |
193 | ||
0962822d JB |
194 | 2005-07-28 Juanma Barranquero <lekktu@gmail.com> |
195 | ||
196 | * w32fns.c (my_set_window_pos, my_show_window): Don't declare. | |
197 | (my_create_window, my_create_tip_window): Make static. | |
198 | ||
199 | * w32term.c (my_show_window, my_set_window_pos, my_set_focus) | |
200 | (my_set_foreground_window, my_destroy_window): Make static. | |
201 | ||
9eff9fe3 PE |
202 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
203 | ||
204 | Merge gnulib getopt implementation into Emacs. | |
205 | ||
206 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | |
207 | now part of lib-src. | |
208 | ||
1c9916a1 SM |
209 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
210 | ||
211 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | |
212 | ||
94c7f257 JR |
213 | 2005-07-25 Jason Rumney <jasonr@gnu.org> |
214 | ||
215 | * w32menu.c (w32_menu_display_help): Suppress tooltip when | |
216 | navigating menus with the keyboard. | |
217 | ||
bf0bf758 RS |
218 | 2005-07-23 Richard M. Stallman <rms@gnu.org> |
219 | ||
220 | * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. | |
221 | ||
222 | * bytecode.c (MAYBE_GC): Test gc_cons_threshold and | |
223 | gc_relative_threshold, one by one. | |
224 | ||
225 | * keyboard.c (read_char): Test gc_cons_threshold. | |
226 | (syms_of_keyboard): staticpro Qecho_area_clear_hook. | |
227 | ||
228 | * eval.c (Feval, Ffuncall): Test gc_cons_threshold and | |
229 | gc_relative_threshold, one by one. | |
230 | ||
231 | * alloc.c (gc_cons_threshold): Not static. | |
232 | (gc_cons_combined_threshold): Var deleted. | |
233 | (gc_relative_threshold): New variable. | |
234 | (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold | |
235 | instead of gc_cons_combined_threshold. | |
236 | ||
1c9916a1 | 237 | * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. |
bf0bf758 RS |
238 | (gc_cons_combined_threshold): Declaration deleted. |
239 | ||
99f963e4 YM |
240 | 2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
241 | ||
242 | * mac.c: Don't include stdlib.h or string.h. | |
243 | (Fdo_applescript, Fmac_file_name_to_posix) | |
244 | (Fmac_file_name_to_posix): Doc fixes. | |
245 | [TARGET_API_MAC_CARBON] (Fmac_get_preference) | |
246 | (Fmac_code_convert_string): Likewise. | |
247 | [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode | |
248 | if the executable is not contained in a bundle. | |
249 | ||
250 | * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. | |
251 | (gray_width, gray_height): Remove defines. | |
252 | (gray_bits, gray_bitmap_width, gray_bitmap_height) | |
253 | (gray_bitmap_bits): Remove variables. | |
254 | (lispy_function_keys): Remove extern. | |
255 | (free_frame_menubar): Add extern. | |
256 | (x_window_to_frame): Remove function. | |
257 | (unwind_create_tip_frame): Add declaration. | |
258 | (x_set_name_internal): New function. | |
259 | (x_set_name, x_set_title): Use it. | |
260 | (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) | |
261 | (Fx_display_pixel_height, Fx_display_planes) | |
262 | (Fx_display_color_cells, Fx_server_max_request_size) | |
263 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
264 | (Fx_display_mm_height, Fx_display_mm_width) | |
265 | (Fx_display_backing_store, Fx_display_visual_class) | |
266 | (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. | |
267 | ||
268 | * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
269 | ||
270 | * macselect.c (Fx_own_selection_internal): Follow error | |
271 | conventions. | |
272 | (Fx_get_selection_internal, Fx_selection_owner_p) | |
273 | (Fx_selection_exists_p): Doc fixes. | |
274 | (syms_of_macselect) <selection-converter-alist>: Likewise. | |
275 | ||
1d256714 JB |
276 | 2005-07-21 Juanma Barranquero <lekktu@gmail.com> |
277 | ||
278 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
279 | ||
280 | * ccl.c (Fregister_ccl_program): Fix typos in docstring. | |
281 | (Fccl_execute_on_string): Likewise; add usage info. | |
282 | ||
283 | * composite.c (Fcompose_region_internal) | |
284 | (Fcompose_string_internal): | |
285 | Improve argument/docstring consistency. | |
286 | ||
287 | * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): | |
288 | Fix typos in docstrings. | |
289 | ||
290 | * textprop.c (Fnext_char_property_change) | |
291 | (Fprevious_char_property_change): Doc fixes. | |
292 | ||
293 | * window.c (Fset_window_margins, Fset_window_fringes): | |
294 | Improve argument/docstring consistency. | |
295 | ||
296 | * xfaces.c (Finternal_lisp_face_p): Doc fix. | |
297 | ||
538f78c3 AS |
298 | 2005-07-21 Andreas Schwab <schwab@suse.de> |
299 | ||
300 | * eval.c (restore_stack_limits): Return a value. | |
301 | ||
a5b5bf44 JB |
302 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> |
303 | ||
304 | * eval.c (Fdefvar): Doc fix. | |
305 | ||
ae643123 KS |
306 | 2005-07-20 Kim F. Storm <storm@cua.dk> |
307 | ||
0ed4bf15 KS |
308 | * fileio.c (Fdo_auto_save, do_auto_save_unwind): |
309 | Use make_save_value to unwind protect stream. | |
310 | ||
311 | * lread.c (Fload, load_unwind): | |
312 | Use make_save_value to unwind protect stream. | |
ae643123 | 313 | |
82fc29a1 JB |
314 | 2005-07-19 Juanma Barranquero <lekktu@gmail.com> |
315 | ||
316 | * eval.c (Fprog2, Fcalled_interactively_p), | |
317 | (syms_of_eval) <debug-on-quit>: Doc fixes. | |
318 | (syms_of_eval) <max-specpdl-size>: | |
319 | (Finteractive_p): Fix typos in docstrings. | |
320 | ||
73b90087 KS |
321 | 2005-07-19 Kim F. Storm <storm@cua.dk> |
322 | ||
323 | * w32fns.c (Vx_hand_shape): Variable removed. | |
324 | (syms_of_w32fns): Intern and staticpro Qw32_charset_default. | |
325 | ||
dfc434d0 KH |
326 | 2005-07-19 Kenichi Handa <handa@m17n.org> |
327 | ||
328 | * fns.c (Fstring_as_multibyte): Escape backslashes in the | |
329 | docstring. | |
330 | ||
bcd98331 SM |
331 | 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
332 | ||
333 | * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). | |
334 | ||
2a85a754 KS |
335 | 2005-07-18 Kim F. Storm <storm@cua.dk> |
336 | ||
337 | * frame.h (struct frame): New member already_hscrolled_p. | |
338 | ||
339 | * xdisp.c (redisplay_internal): Only try to hscroll each frame once | |
340 | to avoid redisplay looping hscrolling back and forth ad infinitum. | |
341 | ||
426179e1 JL |
342 | 2005-07-18 Juri Linkov <juri@jurta.org> |
343 | ||
344 | * buffer.c (scroll-up-aggressively, scroll-down-aggressively): | |
345 | * keymap.c (Fminor_mode_key_binding): | |
346 | * macterm.c (mac-emulate-three-button-mouse): | |
347 | Delete duplicate duplicate words. | |
348 | ||
9f4a578d KR |
349 | 2005-07-18 Ken Raeburn <raeburn@gnu.org> |
350 | ||
351 | * minibuf.c (Ftest_completion): Fix odd syntax in test. | |
352 | ||
d005338b YM |
353 | 2005-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
354 | ||
bcd98331 | 355 | * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. |
d005338b YM |
356 | |
357 | * macgui.h (struct _XGC): New struct. | |
358 | (GC): Use it. | |
359 | (GCForeground, GCBackground, GCFont): Use X11 mask values. | |
360 | (XCreateGC, XParseGeometry): Move externs to macterm.h. | |
361 | ||
bcd98331 | 362 | * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. |
d005338b | 363 | (XSetFont): Add declaration. |
bcd98331 SM |
364 | (mac_set_forecolor, mac_set_backcolor, mac_set_colors): |
365 | Remove functions. | |
366 | (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): | |
367 | New defines. | |
d005338b YM |
368 | (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) |
369 | (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) | |
bcd98331 SM |
370 | (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): |
371 | Use them. | |
d005338b YM |
372 | (mac_erase_rectangle): New function. |
373 | (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) | |
374 | (x_draw_stretch_glyph_string): Use it. | |
375 | (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) | |
376 | (XSetBackground, XSetFont): Adjust for new GC implementation. | |
377 | (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. | |
378 | (XTset_vertical_scroll_bar): Clear area under scroll bar. | |
379 | ||
380 | * macterm.h (struct mac_display_info): Change types of | |
381 | scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. | |
382 | (XCreateGC, XParseGeometry): Move externs from macgui.h. | |
383 | ||
384 | * xfaces.c [MAC_OS] (XCreateGC): Remove extern. | |
385 | ||
9b0c2c56 RS |
386 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
387 | ||
388 | * buffer.c (Fmake_overlay): Doc fix. | |
389 | ||
2e9c1c6d EZ |
390 | 2005-07-16 Eli Zaretskii <eliz@gnu.org> |
391 | ||
392 | * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, | |
393 | Vw32_valid_locale_ids, and Vw32_valid_codepages. | |
394 | ||
407289a4 YM |
395 | 2005-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
396 | ||
bcd98331 SM |
397 | * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): |
398 | Use Fstring_as_unibyte instead of string_make_unibyte. | |
407289a4 | 399 | |
e4b477a1 RS |
400 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
401 | ||
402 | * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. | |
403 | ||
a8613adf KS |
404 | 2005-07-15 Kim F. Storm <storm@cua.dk> |
405 | ||
406 | * xdisp.c: Fix redisplay loop in last change. | |
407 | (IT_POS_VALID_AFTER_MOVE_P): New macro. | |
408 | (move_it_vertically_backward, move_it_by_lines): Use it. | |
409 | ||
2d5324c5 JR |
410 | 2005-07-14 Jason Rumney <jasonr@gnu.org> |
411 | ||
412 | * w32.c (init_environment): Default HOME directory to user's | |
413 | appdata directory if possible. | |
414 | ||
3ed70dc4 KS |
415 | 2005-07-14 Kim F. Storm <storm@cua.dk> |
416 | ||
7b9389b0 KS |
417 | * .gdbinit (pitx): Fix output format. Print string charpos. |
418 | ||
3ed70dc4 KS |
419 | * lread.c (syms_of_lread): Initialize seen_list. |
420 | ||
421 | * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. | |
422 | ||
423 | * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. | |
424 | Staticpro re_match_object. | |
425 | ||
ef029e5a YM |
426 | 2005-07-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
427 | ||
428 | * macselect.c (get_scrap_target_type_list): Avoid NULL pointer | |
429 | dereference. | |
430 | ||
431 | * macterm.c (mac_window_to_frame): Remove duplicate define. | |
432 | ||
16ef9c56 KH |
433 | 2005-07-14 Kenichi Handa <handa@m17n.org> |
434 | ||
435 | * coding.c (code_convert_region_unwind): ARG is changed to a cons. | |
bcd98331 | 436 | (code_convert_region): Adjust for the above change. |
16ef9c56 KH |
437 | (set_conversion_work_buffer): If the work buffer is already in |
438 | use, generate a new buffer and return it. Otherwise return Qnil. | |
bcd98331 | 439 | (run_pre_post_conversion_on_str): Adjust for the above change. |
16ef9c56 KH |
440 | (run_pre_write_conversin_on_c_str): Likewise. |
441 | ||
098e1273 KS |
442 | 2005-07-13 Kim F. Storm <storm@cua.dk> |
443 | ||
010b9a45 KS |
444 | * xdisp.c (start_display): Don't reseat to next visible line start |
445 | if current start position is in a string or image. | |
446 | (move_it_vertically_backward): Be sure to move out of strings and | |
447 | images when moving it2 forward. | |
448 | (move_it_by_lines): When moving forward, move to next buffer | |
449 | position if we end up in a string or image. When moving backward, | |
450 | count rows moved over when moving to start of current row in case | |
451 | row starts in middle of a string or image. Also move further | |
452 | backward if we end up in a string or image. | |
bcd98331 | 453 | (try_cursor_movement): If overlay string spans multiple lines, |
010b9a45 KS |
454 | move backward to set cursor on start of an overlay string. |
455 | (cursor_row_p): Row is ok if cursor is at newline from string, but | |
456 | string starts on this line (so we always position cursor at start | |
457 | of string). | |
458 | ||
459 | * indent.c (Fvertical_motion): If start position is on an image, | |
460 | don't move back if we move too far (that's almost certain to happen). | |
461 | ||
098e1273 KS |
462 | * xdisp.c (cursor_row_fully_visible_p): Allow partially visible |
463 | row in minibuffer windows. | |
464 | (try_window): Don't check margins in minibuffer windows. | |
465 | ||
c229fb15 YM |
466 | 2005-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
467 | ||
468 | * macterm.c: Don't include stdlib.h or composite.h. | |
469 | (x_use_underline_position_properties, last_mouse_press_frame) | |
470 | (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. | |
471 | (syms_of_macterm, mac_initialize): Don't initialize them. | |
472 | (waiting_for_input, initial_argv, initial_argc) | |
473 | (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) | |
474 | (set_frame_menubar, path_from_vol_dir_name): Remove externs. | |
475 | (extra_keyboard_modifiers): Fix type in extern. | |
476 | (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. | |
477 | (x_scroll_bar_report_motion): Add argument types to declaration. | |
478 | (mac_compute_glyph_string_overhangs): Add declaration. | |
479 | (disable_mouse_highlight): Remove unused variable. | |
480 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) | |
481 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
bcd98331 SM |
482 | (x_scroll_bar_handle_drag): Remove argument `timestamp'. |
483 | All callers changed. | |
c229fb15 YM |
484 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set |
485 | timestamp. | |
486 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. | |
487 | (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar | |
488 | only when its width is less than the height. | |
489 | (XTredeem_scroll_bar): Sync with xterm.c. | |
bcd98331 SM |
490 | (font_name_table, font_name_table_size, font_name_count): |
491 | Make static. | |
c229fb15 YM |
492 | (drag_and_drop_file_list): Remove variable. Previous use is now |
493 | local to function. | |
494 | (do_ae_open_documents): Move DRAG_N_DROP event construction part | |
495 | from XTread_socket. | |
bcd98331 SM |
496 | (XTread_socket): Consolidate setting of event timestamp. |
497 | Move DRAG_N_DROP event construction part to do_ae_open_documents. | |
c229fb15 YM |
498 | Support extra_keyboard_modifiers. |
499 | ||
500 | * xfaces.c (try_font_list) [MAC_OS]: Try font family name | |
501 | beginning with that for ASCII. | |
502 | ||
69d05d83 SM |
503 | 2005-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
504 | ||
505 | * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. | |
506 | (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. | |
507 | (syms_of_alloc): Declare gc-cons-percentage. | |
508 | ||
509 | * eval.c (Feval, Ffuncall): | |
510 | * keyboard.c (read_char): | |
511 | * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. | |
512 | ||
513 | * lisp.h (gc_cons_combined_threshold): Declare. | |
514 | ||
5c7f9de1 KS |
515 | 2005-07-12 Kim F. Storm <storm@cua.dk> |
516 | ||
517 | * coding.c (Qprocess_argument): | |
518 | * coding.h (Qprocess_argument): Remove unused var. | |
519 | ||
520 | * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. | |
521 | ||
c37efb7a YM |
522 | 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
523 | ||
524 | * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and | |
525 | Endian.h. | |
526 | [!MAC_OSX] (fchmod, fchown): New functions. | |
527 | (mac_get_code_from_arg): Don't accept Lisp integer as argument. | |
528 | Use SBYTES and EndianU32_BtoN. | |
529 | (mac_get_object_from_code): Return 4 byte string even if argument | |
530 | is 0. Use make_unibyte_string and EndianU32_NtoB. | |
531 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
532 | (Fmac_set_file_type): Fix documents and argument declarations. | |
533 | Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. | |
534 | ||
a4429c5b SM |
535 | 2005-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
536 | ||
537 | * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). | |
538 | ||
a2d7e722 JD |
539 | 2005-07-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
540 | ||
541 | * xfaces.c (x_update_menu_appearance): Use fontSet resource for | |
542 | Lucid if X_I18N, font otherwise. | |
543 | ||
9a4183e9 ST |
544 | 2005-07-10 Steven Tamm <steventamm@mac.com> |
545 | ||
a4429c5b SM |
546 | * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. |
547 | (Fmac_set_file_type, Fmac_set_file_creator): Add. | |
548 | (mac_get_object_from_code, mac_get_code_from_arg): Add. | |
9a4183e9 | 549 | |
51f74c37 RS |
550 | 2005-07-10 Richard M. Stallman <rms@gnu.org> |
551 | ||
552 | * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. | |
553 | (syms_of_lread): Set up eval-buffer-list. | |
554 | (Feval_buffer, Feval_region): Bind eval-buffer-list. | |
555 | ||
93c7da4c RS |
556 | 2005-07-08 Richard M. Stallman <rms@gnu.org> |
557 | ||
558 | * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. | |
559 | ||
64af5917 KS |
560 | 2005-07-08 Kim F. Storm <storm@cua.dk> |
561 | ||
562 | * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. | |
563 | (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. | |
564 | ||
a96b333c KS |
565 | 2005-07-07 Kim F. Storm <storm@cua.dk> |
566 | ||
567 | * window.c (Frecenter): Fix last change (set iarg before use). | |
568 | ||
dc2204be RS |
569 | 2005-07-06 Richard M. Stallman <rms@gnu.org> |
570 | ||
571 | * window.c (Frecenter): When arg is inside the scroll margin, | |
572 | move it out of the margin. | |
573 | ||
3fb1d72b JR |
574 | 2005-07-06 Jason Rumney <jasonr@gnu.org> |
575 | ||
576 | * w32console.c (initialize_w32_display): Detect when the console | |
577 | dimensions are insane, and default to 80x25 instead. | |
a4429c5b | 578 | (w32_use_full_screen_buffer): Default to NIL. |
3fb1d72b | 579 | |
dd15724d YM |
580 | 2005-07-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
581 | ||
582 | * macterm.c (mac_draw_vertical_window_border): Use foreground of | |
583 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
584 | (mac_encode_char): Call check_ccl_update in advance. | |
585 | (mac_to_x_fontname, x_font_name_to_mac_font_name) | |
a4429c5b SM |
586 | (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): |
587 | Don't assume that font family length is less than 32. | |
dd15724d YM |
588 | (x_compute_min_glyph_bounds): Make static. |
589 | (x_load_font): Never set fonts_changed_p to zero. | |
a96b333c | 590 | |
68003d6b LK |
591 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
592 | ||
dc2204be | 593 | * Update FSF's address in GPL notices. |
68003d6b | 594 | |
3d393029 RS |
595 | 2005-07-03 Richard M. Stallman <rms@gnu.org> |
596 | ||
597 | * xdisp.c (try_window): Fix previous change in how it handles | |
598 | a partially-visible line or one only partly past the margin. | |
599 | ||
600 | * window.c (window_scroll_pixel_based): Take account | |
601 | of this_scroll_margin when finding point when scrolling up. | |
602 | ||
603 | 2005-06-29 Ralf Angeli <angeli@iwi.uni-sb.de> | |
604 | ||
605 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
606 | Handle `scroll-preserve-screen-position' non-nil, non-t specially. | |
607 | (syms_of_window): <scroll-preserve-screen-position>: Doc fix. | |
608 | ||
d6951bb4 EZ |
609 | 2005-07-02 Juri Linkov <juri@jurta.org> |
610 | ||
611 | * w32term.c (w32_draw_vertical_window_border): Use foreground of | |
612 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
613 | ||
b016179b EZ |
614 | 2005-07-02 Eli Zaretskii <eliz@gnu.org> |
615 | ||
616 | * fileio.c (Fcopy_file): Rearrange the code that calls fchown and | |
617 | fchmod so that chmod doesn't get called on MSDOS before the file | |
618 | is closed. | |
619 | ||
c2baa2b6 JR |
620 | 2005-07-01 Jason Rumney <jasonr@gnu.org> |
621 | ||
622 | * w32term.c (cleartype_active): New flag for enabling sub-pixel | |
623 | workaround. | |
624 | (w32_initialize): Initialize it. | |
625 | (w32_native_per_char_metric): Allow a couple of extra pixels when | |
626 | Cleartype is active. | |
627 | ||
628 | * w32term.c (w32_initialize): Move check for screen reader here | |
629 | from syms_of_w32term. | |
630 | ||
a6d0ae55 JD |
631 | 2005-06-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
632 | ||
633 | * xterm.c (handle_one_xevent): bzero compose_status when nbytes | |
634 | is not zero. | |
635 | ||
711877f3 MY |
636 | 2005-07-01 Masatake YAMATO <jet@gyve.org> |
637 | ||
a4429c5b | 638 | * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. |
711877f3 | 639 | |
63f7ffb3 JL |
640 | 2005-06-30 Juri Linkov <juri@jurta.org> |
641 | ||
642 | * xdisp.c (x_draw_vertical_border): If left fringe is not present | |
643 | decrease x coord of vertical border by 1 pixel to not occupy text | |
644 | area of the right window. | |
645 | ||
646 | * xterm.c (x_draw_vertical_window_border): Use foreground of | |
647 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
648 | ||
649 | * term.c (turn_on_face): In standout mode apply specified | |
650 | fg to bg, and specified bg to fg (this makes the logic of | |
651 | inversion on terminal consistent with X). | |
652 | ||
b26860ad JB |
653 | 2005-06-29 Juanma Barranquero <lekktu@gmail.com> |
654 | ||
655 | * eval.c (user_variable_p_eh): New function. | |
656 | (Fuser_variable_p): Use it. Clarify docstring. | |
657 | Return t for aliases of user options, nil for alias loops. | |
658 | ||
3a1f1d79 RS |
659 | 2005-06-27 Richard M. Stallman <rms@gnu.org> |
660 | ||
661 | * eval.c (Fdefvar): Improve error message. | |
662 | ||
92de1e01 YM |
663 | 2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
664 | ||
665 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last | |
666 | change. | |
667 | ||
69410484 JB |
668 | 2005-06-27 Juanma Barranquero <lekktu@gmail.com> |
669 | ||
670 | * eval.c (Fdefvar): Don't try to set constant symbols. | |
671 | ||
09352e8f RS |
672 | 2005-06-25 Richard M. Stallman <rms@gnu.org> |
673 | ||
a68d870b RS |
674 | * macfns.c (Fx_show_tip): Pass new arg to try_window. |
675 | ||
676 | * w32fns.c (Fx_show_tip): Pass new arg to try_window. | |
677 | ||
678 | * xfns.c (Fx_show_tip): Pass new arg to try_window. | |
679 | ||
680 | * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. | |
681 | (redisplay_window): Handle try_window reporting point in scroll margin. | |
682 | ||
683 | * dispextern.h (try_window): Declare new arg. | |
684 | ||
685 | * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. | |
686 | Use fchmod to copy the file modes. | |
687 | (Frename_file): Don't copy UID and GID here; | |
688 | instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. | |
689 | ||
df13531d RS |
690 | * eval.c (call_debugger): Take full care of extending stack limits |
691 | to make space for the debugger, and restore the change afterward. | |
692 | Bind debug-on-error to nil. | |
693 | (restore_stack_limits): New subroutine. | |
694 | (Fsignal): Extend specpdl bound along with eval depth bound, | |
695 | for calling edebug. Don't do either one, for calling debugger. | |
696 | (find_handler_clause): Don't bind debug-on-error here. | |
697 | Don't unbind anything either. | |
698 | Temporarily advance max_specpdl_size for calling | |
699 | internal_with_output_to_temp_buffer. | |
700 | (grow_specpdl): Don't alter max_specpdl_size before signaling | |
701 | an error. | |
702 | (syms_of_eval) <max-specpdl-size>: Doc fix. | |
703 | ||
09352e8f RS |
704 | * lread.c (read1): 0.0e+NaN should make a "positive" NaN. |
705 | ||
90296dd3 EZ |
706 | 2005-06-24 Eli Zaretskii <eliz@gnu.org> |
707 | ||
708 | * fileio.c (Frename_file): Undo last change: no need to ifdef away | |
709 | chown on DOS_NT platforms. | |
710 | ||
711 | * w32.c (sys_chown): New function. | |
712 | ||
713 | * s/ms-w32.h (chown): New; define to sys_chown. | |
714 | ||
c4f6ca24 JB |
715 | 2005-06-24 Juanma Barranquero <lekktu@gmail.com> |
716 | ||
3338c0ad JB |
717 | * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix. |
718 | (syms_of_xdisp) <void-text-area-pointer>: Doc fix. | |
719 | ||
9a1505e9 | 720 | * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. |
c4f6ca24 | 721 | |
528b6abc RS |
722 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
723 | ||
724 | * xdisp.c (get_next_display_element): Finish reversing the tests of | |
725 | Vnobreak_char_display. | |
726 | ||
9a1505e9 | 727 | * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. |
528b6abc | 728 | All uses changed. |
9a1505e9 | 729 | (Qnobreak_space): Rename from Qno_break_space. All uses changed. |
528b6abc RS |
730 | (syms_of_xdisp): Define nobreak-char-display and nobreak-space. |
731 | ||
732 | * fileio.c (Frename_file): Preserve owner and group, if possible, | |
733 | when copying. | |
734 | ||
1d1c7e75 JB |
735 | 2005-06-23 Juanma Barranquero <lekktu@gmail.com> |
736 | ||
253b2298 JB |
737 | * abbrev.c (Funexpand_abbrev): |
738 | * category.c (Fmake_category_set): | |
739 | * dispnew.c (Fsleep_for, Fsit_for): | |
740 | * editfns.c (Fsubst_char_in_region): | |
741 | * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): | |
742 | * frame.c (make_frame_without_minibuffer): | |
743 | * lread.c (read_vector): | |
744 | * macfns.c (check_x_frame): | |
745 | * process.c (Fstop_process, Fcontinue_process): | |
746 | * search.c (Freplace_match): | |
747 | * syntax.c (Fstring_to_syntax): | |
748 | * w32fns.c (check_x_frame, check_x_display_info): | |
749 | * xfaces.c (x_supports_face_attributes_p): | |
750 | * xselect.c (Fx_own_selection_internal): Follow error conventions. | |
751 | ||
1d1c7e75 JB |
752 | * image.c (fn_png_init_io): Don't define it. |
753 | (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. | |
754 | (png_read_from_file): New function, based on png_read_from_memory. | |
755 | (png_load): Use it, instead of fn_png_init_io. | |
756 | ||
d1fab151 KS |
757 | 2005-06-23 Kim F. Storm <storm@cua.dk> |
758 | ||
759 | * search.c (Fmatch_data): Remove evaporate option. | |
9d12e52b | 760 | (Fset_match_data): Do not mention evaporate option in doc string. |
d1fab151 KS |
761 | Add commentary explaining evaporate arg (for internal use only). |
762 | (unwind_set_match_data): Add comment on evaporate use. | |
763 | ||
53abc3bf MB |
764 | 2005-06-22 Miles Bader <miles@gnu.org> |
765 | ||
a4429c5b | 766 | * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. |
53abc3bf MB |
767 | (realize_basic_faces, syms_of_xfaces): Update references to it. |
768 | * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' | |
769 | to `VERTICAL_BORDER_FACE_ID'. | |
770 | * dispnew.c (build_frame_matrix_from_leaf_window): Update references. | |
771 | ||
36a3b076 JL |
772 | 2005-06-21 Juri Linkov <juri@jurta.org> |
773 | ||
774 | * dispextern.h: Add extern Qframe_set_background_mode. | |
775 | ||
776 | * xfaces.c: Rename obsolete function Qframe_update_face_colors to | |
777 | Qframe_set_background_mode. | |
778 | ||
779 | * frame.c (Fmodify_frame_parameters): | |
780 | Call frame-set-background-mode after changing the background color | |
781 | on non-window non-dos branch. | |
782 | ||
23873c96 JB |
783 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
784 | ||
785 | * fns.c (Fchar_table_range): | |
786 | * process.c (Fmake_network_process): Fix spellings. | |
787 | ||
b7d1f38f KS |
788 | 2005-06-20 Kim F. Storm <storm@cua.dk> |
789 | ||
790 | * fns.c (Fsort): Doc fix. | |
791 | ||
b4e49aee MB |
792 | 2005-06-20 Miles Bader <miles@gnu.org> |
793 | ||
794 | * xfaces.c (Qvertical_divider): New variable. | |
795 | (realize_basic_faces): Realize its face. | |
796 | (syms_of_xfaces): Initialize it. | |
797 | ||
798 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | |
799 | ||
800 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | |
801 | window-separator on ttys using `vertical-divider' face by default. | |
802 | ||
b7da00ba RS |
803 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
804 | ||
a4429c5b SM |
805 | * xdisp.c (get_next_display_element): |
806 | Reverse test of Vshow_nonbreak_escape. | |
b7da00ba RS |
807 | |
808 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | |
f19b57e3 RS |
809 | (Ftty_no_underline): New function. |
810 | (syms_of_term): defsubr it. | |
b7d1f38f | 811 | |
b7da00ba RS |
812 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
813 | ||
814 | * dispnew.c (spec_glyph_lookup_face): New function. | |
815 | (build_frame_matrix_from_leaf_window): Use it. | |
816 | ||
817 | * dispextern.h (spec_glyph_lookup_face): Add declaration. | |
818 | ||
819 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
820 | ||
821 | 2005-06-12 Richard M. Stallman <rms@gnu.org> | |
822 | ||
823 | * keyboard.c (read_char): After catching a longjmp, | |
824 | call restore_getcjmp. | |
825 | ||
289824a3 JB |
826 | 2005-06-17 Juanma Barranquero <lekktu@gmail.com> |
827 | ||
828 | * xselect.c (lisp_data_to_selection_data): Fix spelling. | |
829 | ||
95085023 YM |
830 | 2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
831 | ||
832 | * macterm.c (mac_compute_glyph_string_overhangs): Don't set | |
833 | overhangs unless the given glyph type is noncomposite CHAR_GLYPH. | |
834 | [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down | |
835 | events. | |
836 | (XTread_socket): Don't pass keyboard events with the option | |
837 | modifier to the system when Vmac_command_key_is_meta is nil or | |
838 | Vmac_option_modifier is non-nil. | |
839 | [USE_CARBON_EVENTS] (read_socket_inev): New variable. | |
840 | [USE_CARBON_EVENTS] (init_command_handler): Fix argument. | |
841 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event | |
842 | handler function. | |
843 | (install_window_handler) [USE_CARBON_EVENTS]: Install it. | |
844 | (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event | |
845 | handler part to mac_handle_mouse_event. | |
846 | ||
4a9308b8 JB |
847 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
848 | ||
849 | * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to | |
850 | NEW-ALIAS and BASE-VARIABLE, respectively. | |
851 | ||
5aa6db57 SM |
852 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
853 | ||
854 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
855 | (get_phys_cursor_geometry, format_mode_line_unwind_data) | |
856 | (get_line_height_property, x_produce_glyphs): Remove unused vars. | |
857 | ||
858 | * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. | |
859 | ||
0e0dddda EZ |
860 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
861 | ||
862 | * w32term.c (x_use_underline_position_properties): New variable. | |
863 | (x_draw_glyph_string): Remind in a comment to change doc string of | |
864 | x-use-underline-position-properties if/when underline positioning | |
865 | is implemented. | |
866 | (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, | |
867 | and initialize it to nil. | |
868 | ||
7f2b4738 JR |
869 | 2005-06-12 Jason Rumney <jasonr@gnu.org> |
870 | ||
871 | * w32fns.c (NEWOPENFILENAME): New struct. | |
872 | (Fx_file_dialog): Use it to trick the system into giving us up to | |
873 | date dialogs on systems that are documented to support it. | |
874 | Do not set OFN_FILEMUSTEXIST flag if looking for a directory. | |
875 | ||
a1e8cad6 EZ |
876 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
877 | ||
878 | * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of | |
879 | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. | |
880 | ||
099a3eea EZ |
881 | 2005-06-11 Eli Zaretskii <eliz@gnu.org> |
882 | ||
2e09fef1 EZ |
883 | * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg |
884 | to CreateDIBSection to avoid a compiler warning. | |
885 | (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler | |
886 | warning. | |
887 | (png_load): Cast return values of fn_png_create_read_struct and | |
888 | fn_png_create_info_struct, to avoid compiler warnings on W32. | |
889 | Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent | |
890 | to avoid compiler warnings. | |
891 | (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a | |
892 | compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to | |
893 | avoid a compiler warning. | |
894 | (tiff_load): Cast return values of fn_TIFFOpen and | |
895 | fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg | |
896 | to IMAGE_BACKGROUND to avoid a compiler warning. | |
897 | (gif_load): Cast return values of fn_DGifOpenFileName and | |
898 | fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to | |
899 | IMAGE_BACKGROUND to avoid a compiler warning. | |
900 | (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef | |
901 | before redefining. | |
902 | ||
099a3eea EZ |
903 | * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in |
904 | the call to CreateDIBSection, to avoid a compiler warning. | |
905 | ||
d11f8e1a JR |
906 | 2005-06-11 Jason Rumney <jasonr@gnu.org> |
907 | ||
908 | * w32fns.c (Fx_file_dialog): Unblock input before falling back to | |
909 | minibuffer. | |
910 | * macfns.c (Fx_file_dialog): Likewise. | |
911 | ||
cd4344a3 EZ |
912 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
913 | ||
914 | * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. | |
915 | ||
578c1340 JB |
916 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
917 | ||
918 | * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: | |
919 | * w32fns.c (syms_of_w32fns): Fix spellings. | |
920 | ||
4162f25f EZ |
921 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
922 | ||
923 | * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument | |
5aa6db57 SM |
924 | `verbose'; print diagnostic messages only if it is non-zero. |
925 | All callers changed to pass a zero value unless DEBUG_DUMP is defined | |
4162f25f EZ |
926 | in the environment. |
927 | (copy_executable_and_dump_data): Print section names with %.8s. | |
928 | ||
121c59a3 MY |
929 | 2005-06-10 Masatake YAMATO <jet@gyve.org> |
930 | ||
931 | * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face | |
932 | when mouse_face is not given. | |
121c59a3 | 933 | |
c869384d LT |
934 | 2005-06-09 Luc Teirlinck <teirllm@auburn.edu> |
935 | ||
936 | * window.c (Fselect_window): Adapt call to Fselect_frame. | |
937 | ||
938 | * lisp.h: Update EXFUN of Fselect_frame. | |
939 | ||
940 | * keyboard.c (command_loop_1): Adapt call to Fselect_frame. | |
941 | ||
6ecf436d LT |
942 | * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg |
943 | no_enter. | |
944 | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): | |
c869384d LT |
945 | Adapt to above change. |
946 | ||
c14ec135 JB |
947 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
948 | ||
949 | * fns.c (Fmemq, Fmaphash): Doc fixes. | |
950 | ||
9fed2905 JB |
951 | 2005-06-09 Juanma Barranquero <lekktu@gmail.com> |
952 | ||
953 | * xfaces.c (Fdisplay_supports_face_attributes_p): | |
954 | Fix typo in docstring. | |
955 | ||
427c5b1b ST |
956 | 2005-06-08 Steven Tamm <steventamm@mac.com> |
957 | ||
958 | * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section | |
959 | used by gcc4 on intel mac. | |
960 | ||
b7aae902 KS |
961 | 2005-06-09 Kim F. Storm <storm@cua.dk> |
962 | ||
963 | * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers | |
964 | in REUSE list if non-nil; free them if equal to evaporate. | |
965 | (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST | |
966 | if non-nil; free them if equal to evaporate. Use XCAR/XCDR. | |
967 | (restore_search_regs): Rename from restore_match_data. Uses changed. | |
968 | (unwind_set_match_data): New function. | |
969 | (record_unwind_save_match_data): New function like save-match-data. | |
970 | ||
971 | * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. | |
972 | (record_unwind_save_match_data): Add prototype. | |
973 | (restore_search_regs): Rename from restore_match_data. | |
974 | ||
975 | * composite.c (compose_chars_in_text): | |
976 | * eval.c (do_autoload): | |
977 | * macmenu.c (set_frame_menubar): | |
978 | * process.c (read_process_output, exec_sentinel): | |
979 | * xmenu.c (set_frame_menubar): | |
980 | * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): | |
981 | * w32menu.c (set_frame_menubar): | |
982 | Use record_unwind_save_match_data. | |
983 | ||
547d2b37 RS |
984 | 2005-06-08 Richard M. Stallman <rms@gnu.org> |
985 | ||
986 | * xdisp.c (get_next_display_element): Alter previous change: | |
987 | Distinguish Vshow_nonbreak_escape = t or not t. | |
988 | For t, use escape_glyph once again, as before previous change. | |
989 | Use space or hyphen for display, instead of the non-ASCII char. | |
990 | (syms_of_xdisp) <show-nonbreak-escape>: Doc fix. | |
991 | ||
992 | * process.c (Fstart_process): Don't touch command_channel_p slot. | |
993 | ||
99598737 | 994 | * process.h (struct process): Delete command_channel_p. |
547d2b37 | 995 | |
602907ae MY |
996 | 2005-06-07 Masatake YAMATO <jet@gyve.org> |
997 | ||
5aa6db57 SM |
998 | * xdisp.c (note_mode_line_or_margin_highlight): |
999 | Check the overlapping of re-rendering area to avoid flickering. | |
b7aae902 | 1000 | (note_mouse_highlight): Call clear_mouse_face if PART |
602907ae MY |
1001 | is not ON_MODE_LINE nor ON_HEADER_LINE. |
1002 | ||
8b793bed KS |
1003 | 2005-06-07 Kim F. Storm <storm@cua.dk> |
1004 | ||
1005 | * process.c: Improve commentary for adaptive read buffering. | |
1006 | ||
3d031334 SM |
1007 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> |
1008 | ||
1009 | * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars | |
1010 | if available. | |
1011 | ||
16d2e704 JD |
1012 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1013 | ||
5aa6db57 SM |
1014 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): |
1015 | New functions for popping down menus on C-g. | |
16d2e704 JD |
1016 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. |
1017 | ||
1018 | * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode | |
1019 | non-static. | |
1020 | ||
9fed2905 | 1021 | * config.in: Add HAVE_CANCELMENUTRACKING. |
16d2e704 | 1022 | |
b6cc2ad0 EZ |
1023 | 2005-06-06 Eli Zaretskii <eliz@gnu.org> |
1024 | ||
9a1505e9 | 1025 | * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. |
b6cc2ad0 | 1026 | |
5aa6db57 | 1027 | * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. |
b6cc2ad0 EZ |
1028 | |
1029 | * w32proc.c (RVA_TO_PTR): New macro. | |
1030 | ||
1031 | * w32heap.c (RVA_TO_PTR): No need to #undef now. | |
1032 | ||
1033 | * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): | |
1034 | Depend on w32heap.h. | |
1035 | ||
24e55feb LT |
1036 | 2005-06-06 Luc Teirlinck <teirllm@auburn.edu> |
1037 | ||
1038 | * keyboard.c (command_loop_1): Update Vthis_original_command. | |
1039 | ||
ce6e10af RS |
1040 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
1041 | ||
1042 | * xmenu.c (popup_get_selection): Undo previous change. | |
1043 | ||
c476bcb0 JL |
1044 | 2005-06-06 Juri Linkov <juri@jurta.org> |
1045 | ||
1046 | * xdisp.c (Qno_break_space): New variable. | |
1047 | (syms_of_xdisp): Initialize it. | |
1048 | (get_next_display_element): Add no-break space and soft hypen | |
1049 | codes for iso8859-2 and iso8859-5. Don't add `\' for them. | |
1050 | Use `no-break-space' face for no-break spaces. | |
1051 | ||
5494d7bc JD |
1052 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1053 | ||
1054 | * window.c (delete_window): Handle the case where a h/vchild has | |
1055 | a h/vchild. | |
1056 | ||
a0c38328 EZ |
1057 | 2005-06-05 Eli Zaretskii <eliz@gnu.org> |
1058 | ||
1059 | * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the | |
1060 | call to pfn_setsockopt, cast optval to `const char *'. | |
1061 | ||
91018229 EZ |
1062 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
1063 | ||
1a8fb426 EZ |
1064 | * w32.c (gettimeofday): Use struct _timeb, not struct timeb. |
1065 | (open_unc_volume): Cast return value of map_w32_filename, to avoid | |
1066 | compiler warnings. | |
1067 | ||
b6f0a397 EZ |
1068 | * s/ms-w32.h (fileno): Don't define if already defined. |
1069 | ||
17a7c5c2 | 1070 | * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. |
d01a9710 | 1071 | |
91018229 EZ |
1072 | * makefile.w32-in (DOC): Define to point to the generated DOC-X. |
1073 | ||
196ac78c RS |
1074 | 2005-06-04 Richard M. Stallman <rms@gnu.org> |
1075 | ||
1076 | * xmenu.c (popup_get_selection): Click not in menu deactivates menu. | |
1077 | ||
b8987570 JD |
1078 | 2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1079 | ||
1080 | * macmenu.c (cleanup_popup_menu): New function. | |
1081 | (Fx_popup_menu): unwind protect cleanup_popup_menu in case | |
1082 | mac_menu_show Quit:s. | |
1083 | (mac_menu_show): Quit on cancel if not popped up on click (i.e. | |
1084 | a dialog). | |
1085 | ||
555228aa KS |
1086 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
1087 | ||
1088 | * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. | |
1089 | ||
1090 | * callproc.c (Fcall_process): Don't use alloca to gradually | |
1091 | increase size of buf, as it effectively uses twice the necessary | |
1092 | space on the stack. Instead, pre-allocate buf of full size, and | |
1093 | gradually increase the read size. | |
1094 | ||
1095 | * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. | |
1096 | ||
1097 | * eval.c (unbind_to): Preserve value of Vquit_flag. | |
1098 | ||
1099 | * xterm.c (handle_one_xevent): Also ignore mouse motion just | |
1100 | before a button release event. | |
1101 | ||
6312e5f7 JB |
1102 | 2005-06-03 Juanma Barranquero <lekktu@gmail.com> |
1103 | ||
1104 | * xfaces.c (Finternal_lisp_face_equal_p): Really report | |
1105 | on faces in a frame, if the argument FRAME is non-nil. | |
1106 | Improve argument/docstring consistency. | |
1107 | ||
0493f7be KS |
1108 | 2005-06-02 Kim F. Storm <storm@cua.dk> |
1109 | ||
1110 | * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. | |
1111 | (x_consider_frame_title, Fformat_mode_line): Save offset into | |
1112 | mode_line_noprop_buf rather than pointer, in case buffer is relocated. | |
1113 | ||
89fe657e KS |
1114 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
1115 | ||
1116 | * fns.c (mapcar1): Maybe exit loop if original sequence was modified. | |
1117 | ||
02a6375c YM |
1118 | 2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1119 | ||
1120 | * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD | |
1121 | resolution fields for scalable fonts to 0. | |
1122 | ||
1123 | * xfaces.c (build_scalable_font_name): Round pixel size to the | |
1124 | nearest integer. | |
1125 | ||
95d4fad8 KS |
1126 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
1127 | ||
1128 | * xdisp.c (display_mode_line): Support nested calls to redisplay | |
1129 | and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. | |
1130 | ||
3c1b433a SM |
1131 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
1132 | ||
1133 | * fileio.c (Finsert_file_contents): | |
1134 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
1135 | ||
13cc7d61 KS |
1136 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
1137 | ||
1138 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | |
1139 | (mode_line_noprop_ptr): Rename from frame_title_*. | |
1140 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | |
1141 | (store_mode_line_noprop): Rename from store_frame_title. | |
3c1b433a | 1142 | (mode_line_target): New enum to specify current output target |
13cc7d61 KS |
1143 | for mode line formatting. |
1144 | (display_mode_element): Test it rather than frame_title_ptr and | |
1145 | mode_line_string_list to determine where output should go. | |
1146 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | |
1147 | (Vmode_line_unwind_vector): New variable. | |
3c1b433a SM |
1148 | (format_mode_line_unwind_data, unwind_format_mode_line): |
1149 | New functions for unwind protection in mode line formatting. | |
13cc7d61 | 1150 | (x_consider_frame_title): Use them and new local var 'title_start' |
5aa6db57 SM |
1151 | to support nested calls to format-mode-line and redisplay. |
1152 | Set mode_line_target to MODE_LINE_TITLE. | |
13cc7d61 | 1153 | (Fformat_mode_line): Use them and new local var 'string_start' to |
5aa6db57 SM |
1154 | support nested calls to format-mode-line and redisplay. |
1155 | Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. | |
95d4fad8 | 1156 | Don't trim trailing dashes. |
13cc7d61 KS |
1157 | (decode_mode_spec): Don't make infinite number of trailing dashes |
1158 | for MODE_LINE_NOPROP and MODE_LINE_STRING targets. | |
1159 | (syms_of_xdisp): Initialize and staticpro mode_line_string_face, | |
1160 | mode_line_string_face_prop, and Vmode_line_unwind_vector. | |
1161 | (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. | |
1162 | Initialize mode_line_target to MODE_LINE_DISPLAY. | |
1163 | ||
c16b1394 RS |
1164 | 2005-05-29 Richard M. Stallman <rms@gnu.org> |
1165 | ||
1166 | * buffer.c (Fbuffer_local_value): Call indirect_variable. | |
1167 | ||
edfaeb4e MY |
1168 | 2005-05-28 Masatake YAMATO <jet@gyve.org> |
1169 | ||
1170 | * xdisp.c (note_mode_line_or_margin_highlight): Change the | |
1171 | pointer to a hand cursor when hoovering over a mouse-face. | |
1172 | ||
7cf49add KH |
1173 | 2005-05-27 Kenichi Handa <handa@m17n.org> |
1174 | ||
1175 | * xterm.c (x_encode_char): Call check_ccl_update in advance. | |
1176 | ||
1177 | * ccl.c: Now an element of Vccl_program_table is a vector of | |
1178 | length 4, not 3. | |
3c1b433a SM |
1179 | (ccl_get_compiled_code): New arg idx. Caller changed. |
1180 | Adjust for the change of Vccl_program_table. | |
1181 | (setup_ccl_program): Adjust for the change of Vccl_program_table. | |
7cf49add KH |
1182 | (check_ccl_update): New function. |
1183 | (Fregister_ccl_program): Use ASET to set an element of a vector. | |
1184 | Adjusted for the change of Vccl_program_table. | |
1185 | ||
1186 | * ccl.h (struct ccl_program): New member idx. | |
1187 | (check_ccl_update): Extern it. | |
1188 | ||
5e2ad10b JB |
1189 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
1190 | ||
3c1b433a | 1191 | * image.c (Vimage_library_alist): Move from image.el. |
d5e1a786 JB |
1192 | (syms_of_image): Defvar it. |
1193 | (lookup_image_type): Use it. | |
1194 | ||
5e2ad10b JB |
1195 | * buffer.c (Fbuffer_local_value): Make argument name match its use |
1196 | in docstring. | |
1197 | ||
6e604a9b JB |
1198 | 2005-05-26 Juanma Barranquero <lekktu@gmail.com> |
1199 | ||
1200 | * keyboard.c (Frecursive_edit): Fix typo in docstring. | |
1201 | (Fposn_at_x_y): Make argument name match its use in docstring. | |
1202 | ||
59244a3f LK |
1203 | 2005-05-26 Lute Kamstra <lute@gnu.org> |
1204 | ||
1205 | * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. | |
1206 | ||
55ce5058 MY |
1207 | 2005-05-24 Masatake YAMATO <jet@gyve.org> |
1208 | ||
1209 | * xdisp.c (note_mode_line_or_margin_highlight): Use b and e | |
1210 | as loop sentinels. | |
1211 | ||
cb5db137 NR |
1212 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
1213 | ||
1214 | * xmenu.c (Fx_popup_dialog): Add a third boolean argument to | |
1215 | select frame title ("Question"/"Information"). | |
1216 | (xdialog_show): Use it. | |
1217 | ||
13dcfc35 NR |
1218 | * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. |
1219 | ||
1220 | * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. | |
1221 | ||
d3393daa NR |
1222 | * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with |
1223 | a third argument (Qnil). | |
1224 | ||
1225 | * lisp.h: x-popup-dialog can have three arguments. | |
cb5db137 NR |
1226 | |
1227 | * editfns.c (Fmessage_box): Use "Information" for frame title. | |
1228 | ||
71d4fba1 TTN |
1229 | 2005-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
1230 | ||
1231 | * termcap.c [VMS]: Include <starlet.h>. | |
1232 | ||
359e4563 MY |
1233 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
1234 | ||
6e604a9b JB |
1235 | * xdisp.c (note_mode_line_or_margin_highlight): Add code |
1236 | for mouse-face. Change the type of the first argument from `window' | |
1237 | to `Lisp_Object'. | |
359e4563 MY |
1238 | (note_mouse_highlight): Call note_mode_line_or_margin_highlight with |
1239 | window instead of w. | |
1240 | ||
edceb51c AS |
1241 | 2005-05-22 Andreas Schwab <schwab@suse.de> |
1242 | ||
41c4895c | 1243 | * process.c (send_process): Move misplaced volatile. |
edceb51c | 1244 | |
5c213fcc RS |
1245 | 2005-05-21 Richard M. Stallman <rms@gnu.org> |
1246 | ||
1247 | * xdisp.c (display_mode_element): If we're processing a list and | |
1248 | padding is specified, put it after the last element. | |
1249 | ||
aa4060b9 EZ |
1250 | 2005-05-21 Eli Zaretskii <eliz@gnu.org> |
1251 | ||
1252 | * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support | |
1253 | "superroot" on DOS_NT systems. | |
1254 | ||
a2c9aee6 EZ |
1255 | 2005-05-21 David Hunter <hunterd42@comcast.net> (tiny change) |
1256 | ||
1257 | * process.c (send_process): Restore the SIGPIPE handler if we | |
1258 | catch a SIGPIPE. | |
1259 | ||
09e8eb5b JB |
1260 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> |
1261 | ||
1262 | * image.c (lookup_image, png_read_from_memory): Remove hacks (and | |
1263 | misleading comments). | |
1264 | (DEF_IMGLIB_FN): Use C calling convention for image libraries. | |
1265 | ||
f3fbdb1f LK |
1266 | 2005-05-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
1267 | ||
1268 | * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): | |
1269 | Correct the right value. | |
1270 | ||
639ec765 NR |
1271 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
1272 | ||
240d926e | 1273 | * keyboard.c (syms_of_keyboard): Remove Lisp variables |
639ec765 NR |
1274 | post-command-idle-hook and post-command-idle-delay. |
1275 | (command_loop_1): Don't try to execute post-command-idle-hook. | |
1276 | ||
03d42907 KS |
1277 | 2005-05-16 Kim F. Storm <storm@cua.dk> |
1278 | ||
1cb83e13 KS |
1279 | * xdisp.c (handle_display_prop): Handle empty replacement. |
1280 | (handle_single_display_spec): Return -1 for empty replacement. | |
1281 | ||
1282 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | |
1283 | ||
03d42907 KS |
1284 | * .gdbinit (pitx): Print more info about iterator. |
1285 | ||
0da46b6e AS |
1286 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
1287 | ||
3c1b433a | 1288 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
0da46b6e | 1289 | |
d06ba294 RS |
1290 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
1291 | ||
1292 | * xdisp.c (message3): Call cancel_echoing. | |
1293 | ||
1294 | * alloc.c (Fmemory_full_p): New function. | |
1295 | (syms_of_alloc): defsubr it. | |
1296 | ||
1297 | * process.c (send_process_trap): Unblock SIGPIPE. | |
1298 | (send_process): Reset SIGPIPE handler before reporting error. | |
1299 | ||
90713743 NR |
1300 | 2005-05-14 Nick Roberts <nickrob@snap.net.nz> |
1301 | ||
1302 | * emacs.c (syms_of_emacs): Fix doc string for system-type. | |
1303 | ||
68780e2a RS |
1304 | 2005-05-13 Richard M. Stallman <rms@gnu.org> |
1305 | ||
1306 | * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. | |
1307 | (Finsert_file_contents): If we read 0 bytes from a special file, | |
1308 | unlock the visited file if we locked it. | |
1309 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | |
03d42907 | 1310 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
68780e2a | 1311 | |
5063dbbf YM |
1312 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1313 | ||
1314 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | |
1315 | ||
3c1b433a SM |
1316 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
1317 | Regard toolkit scroll bar thumb drag events as squeezable and prevent | |
5063dbbf YM |
1318 | redisplay from being paused by them. |
1319 | ||
1320 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | |
1321 | [!MAC_OSX] (target_ticks): Remove variable. | |
1322 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | |
1323 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | |
1324 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | |
3c1b433a | 1325 | event occurs before timeout, behave as if the function were interrupted. |
5063dbbf YM |
1326 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
1327 | handling using Time Manager routines. | |
3c1b433a SM |
1328 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
1329 | New variables. | |
5063dbbf YM |
1330 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
1331 | (setitimer): New functions. | |
1332 | ||
1333 | * macfns.c, macmenu.c: Don't include signal.h. | |
1334 | ||
1335 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): | |
1336 | Rename from get_control_part_bound. All callers changed. | |
1337 | (x_scroll_bar_clear): New function. | |
1338 | (x_clear_frame): Use it. | |
1339 | (XTset_vertical_scroll_bar): Don't call Draw1Control. | |
1340 | (x_scroll_bar_handle_click): Change type of second argument from | |
1341 | int to ControlPartCode. | |
1342 | (check_alarm): Remove declaration. | |
02a6375c YM |
1343 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. |
1344 | (XTread_socket): Use ControlPartCode instead of SInt16. | |
5063dbbf YM |
1345 | |
1346 | 2005-05-13 Nozomu Ando <nand@mac.com> | |
1347 | ||
1348 | * unexmacosx.c: Include assert.h. | |
1349 | (MACOSX_MALLOC_MULT16): New define. | |
1350 | [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether | |
1351 | ptr is in unexec regions by checking it is multiple of 16. | |
1352 | (unexec_malloc_header_t): New typedef. | |
1353 | (unexec_malloc, unexec_realloc, unexec_free): Store and use | |
1354 | allocated size information in unexec_malloc_header. | |
1355 | ||
d101bf56 RS |
1356 | 2005-05-10 Richard M. Stallman <rms@gnu.org> |
1357 | ||
1358 | * xterm.c (noinclude): Add #undef. | |
1359 | ||
1360 | * image.c, xfns.c, xmenu.c: Don't include signal.h. | |
1361 | ||
2f60660a JB |
1362 | 2005-05-09 Juanma Barranquero <lekktu@gmail.com> |
1363 | ||
f1701e65 JB |
1364 | * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) |
1365 | (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): | |
1366 | Doc fixes. | |
1367 | ||
2f60660a JB |
1368 | * dired.c (Ffile_name_completion): Make argument name |
1369 | match its use in docstring. | |
1370 | ||
9f29e806 LT |
1371 | 2005-05-08 Luc Teirlinck <teirllm@auburn.edu> |
1372 | ||
1373 | * eval.c (Fdefvaralias): Remove any pre-existing | |
1374 | variable-documentation property of the alias. | |
1375 | ||
a790bcd4 TTN |
1376 | 2005-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
1377 | ||
1378 | * xfns.c (start_hourglass): Do nothing when running on a tty. | |
1379 | ||
d5fb8dab JB |
1380 | 2005-05-07 Juanma Barranquero <lekktu@gmail.com> |
1381 | ||
1382 | * fns.c (Fchar_table_range): Fix typos in docstring. | |
1383 | ||
7ec64183 SM |
1384 | 2005-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
1385 | ||
1386 | * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. | |
1387 | ||
6ff95f1d EZ |
1388 | 2005-05-06 Eli Zaretskii <eliz@gnu.org> |
1389 | ||
2c6b25c7 EZ |
1390 | * lread.c (Flocate_file_internal): Doc fix. |
1391 | ||
6ff95f1d EZ |
1392 | * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. |
1393 | ||
17d28d26 YM |
1394 | 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1395 | ||
1396 | * macselect.c (x_own_selection): Accept Lisp string as result of | |
1397 | selection converter function. | |
1398 | (x_clear_frame_selections): Don't call x-lost-selection-functions | |
1399 | if Emacs is not owner of the selection. | |
1400 | (Vmac_services_selection): Put variable and initialization in | |
1401 | #ifdef MAC_OSX. | |
1402 | (syms_of_macselect) [MAC_OSX]: Set default value of | |
1403 | Vmac_services_selection to PRIMARY. | |
1404 | ||
7ec64183 SM |
1405 | * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. |
1406 | (mac_handle_tool_bar_click): Remove unused function and declaration. | |
17d28d26 YM |
1407 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) |
1408 | (install_scroll_bar_timer, set_scroll_bar_timer) | |
1409 | (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) | |
1410 | (get_control_part_bound, x_scroll_bar_handle_press) | |
1411 | (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) | |
1412 | (x_set_toolkit_scroll_bar_thumb): New functions and declarations. | |
1413 | [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) | |
1414 | (scroll_bar_timer_event_posted_p): New variables. | |
1415 | [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) | |
1416 | (SCROLL_BAR_CONTINUOUS_DELAY): New macros. | |
1417 | (x_scroll_bar_create): Set control reference with NewControl. | |
7ec64183 SM |
1418 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
1419 | Initialize track_top and track_height to nil. | |
1420 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement): | |
1421 | Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. | |
17d28d26 YM |
1422 | (XTset_vertical_scroll_bar): Don't make space between scroll bar |
1423 | and associated window. | |
1424 | (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width | |
1425 | from window config. | |
7ec64183 SM |
1426 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
1427 | Set track_top and track_height to nil when scroll bar size is changed. | |
17d28d26 YM |
1428 | Recalculate them if they are nil. |
1429 | (XTread_socket) [MAC_OSX]: Use control kind to determine if the | |
1430 | clicked control is a scroll bar. | |
1431 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar | |
1432 | event handler functions. Don't add modifiers to scroll bar click | |
7ec64183 | 1433 | events. Call scroll bar release handler when window is deactivated. |
17d28d26 | 1434 | (mac_initialize): Remove unused code for X toolkit. |
7ec64183 SM |
1435 | (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: |
1436 | Initialize Vx_toolkit_scroll_bars to nil. | |
17d28d26 | 1437 | |
7ec64183 SM |
1438 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
1439 | New members track_top and track_height. | |
17d28d26 YM |
1440 | |
1441 | * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine | |
1442 | init_process when including sys/select.h. | |
1443 | ||
643b4cf5 LT |
1444 | 2005-05-05 Luc Teirlinck <teirllm@auburn.edu> |
1445 | ||
1446 | * eval.c (Fdefvaralias): Doc fix. | |
1447 | ||
1448 | * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
1449 | ||
99bda128 KS |
1450 | 2005-05-05 Kim F. Storm <storm@cua.dk> |
1451 | ||
1452 | * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows | |
1453 | default value. | |
1454 | (syms_of_buffer): Add default-cursor-in-non-selected-windows. | |
1455 | Fix type of cursor-in-non-selected-windows. | |
1456 | ||
3a3563e9 JD |
1457 | 2005-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1458 | ||
1459 | * mac.c: #undef init_process so not to conflict with system headers. | |
1460 | ||
0124c5bd RS |
1461 | 2005-05-02 Richard M. Stallman <rms@gnu.org> |
1462 | ||
1463 | * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. | |
1464 | ||
1465 | * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. | |
1466 | ||
1467 | * xdisp.c (Vcursor_in_non_selected_windows) | |
1468 | (Qcursor_in_non_selected_windows): Vars deleted. | |
1469 | (syms_of_xdisp): Don't initialize them. | |
1470 | (get_window_cursor_type): Use cursor_in_non_selected_windows | |
1471 | buffer slot. | |
1472 | ||
4b3f161f KS |
1473 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
1474 | ||
e40527dc KS |
1475 | * macros.c (executing_kbd_macro_index): Rename from |
1476 | executing_macro_index. All uses changed. | |
1477 | (executing_kbd_macro_iterations): Rename from | |
1478 | executing_macro_iterations. All uses changed. | |
1479 | (executing_kbd_macro): Rename from executing_macro. | |
1480 | All uses changed. | |
1481 | (syms_of_macros): Rename Lisp var executing-macro-index to | |
1482 | executing-kbd-macro-index. | |
1483 | ||
4b3f161f KS |
1484 | * xdisp.c (move_it_in_display_line_to): Fix last change. |
1485 | ||
4d49edf6 LT |
1486 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
1487 | ||
f6b1b15a LT |
1488 | * xmenu.c (Fx_popup_menu): Doc fix. |
1489 | ||
4d49edf6 LT |
1490 | * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. |
1491 | ||
4a766fe6 JR |
1492 | 2005-05-02 Jason Rumney <jasonr@gnu.org> |
1493 | ||
1494 | * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. | |
1495 | ||
c924d3ff TTN |
1496 | 2005-05-02 Nozomu Ando <nand@mac.com> |
1497 | ||
1498 | * sysselect.h: Fix typo. | |
1499 | ||
b161ea4e | 1500 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> |
5c2e5a5e | 1501 | |
b161ea4e NR |
1502 | * charset.c (Fchars_in_region): Remove as obsolete. |
1503 | ||
d37e919d | 1504 | 2005-05-01 Kim F. Storm <storm@cua.dk> |
b161ea4e NR |
1505 | |
1506 | * xdisp.c (move_it_in_display_line_to): Stop if we move beyond | |
7ec64183 | 1507 | TO_CHARPOS. This may happen if last glyphs was an image or stretch |
b161ea4e | 1508 | glyph. |
5c2e5a5e | 1509 | |
bec0b768 LT |
1510 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
1511 | ||
1512 | * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. | |
1513 | ||
ebbfa918 RS |
1514 | 2005-05-01 Richard M. Stallman <rms@gnu.org> |
1515 | ||
1516 | * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): | |
1517 | If user cancels the menu, quit unless FOR_CLICK. | |
1518 | ||
7ec64183 | 1519 | * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. |
ebbfa918 RS |
1520 | All uses changed. |
1521 | (syms_of_macros): Define only executing-kbd-macro, not executing-macro. | |
1522 | * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. | |
1523 | * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. | |
1524 | * commands.h (Vexecuting_kbd_macro): Likewise. | |
1525 | ||
a72c2d97 TTN |
1526 | 2005-05-01 Thien-Thi Nguyen <ttn@gnu.org> |
1527 | ||
1528 | * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. | |
1529 | ||
7e995a23 RS |
1530 | 2005-04-30 Richard M. Stallman <rms@gnu.org> |
1531 | ||
1532 | * fileio.c (Ffind_file_name_handler): Handle the `operations' | |
1533 | property of the file name handler. | |
1534 | (Qoperations): New variable. | |
1535 | (syms_of_fileio): Initialize and staticpro it. | |
1536 | ||
1537 | * xdisp.c (set_message_1): Delete xassert. | |
1538 | ||
7a92caf8 YM |
1539 | 2005-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1540 | ||
7ec64183 | 1541 | * mac.c: Don't include time.h. Include sysselect.h after systime.h. |
7a92caf8 YM |
1542 | |
1543 | * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. | |
1544 | ||
1545 | * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime | |
1546 | before/after including Carbon.h if there is a working mktime. | |
1547 | ||
5ae91803 KS |
1548 | 2005-04-28 Kim F. Storm <storm@cua.dk> |
1549 | ||
1550 | * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. | |
1551 | Fix cyclic alias check. If alias loop is detected, signal | |
1552 | circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. | |
1553 | ||
d79b6c21 LK |
1554 | 2005-04-28 Lute Kamstra <lute@gnu.org> |
1555 | ||
1556 | * eval.c (do_autoload): Record only autoloads in the autoload | |
1557 | property of symbols. | |
1558 | ||
8c75afbf NR |
1559 | 2005-04-28 Nick Roberts <nickrob@snap.net.nz> |
1560 | ||
1561 | * emacs.c (USAGE1): Add --basic-display and --quick options. | |
1562 | ||
832e294f KS |
1563 | 2005-04-27 Kim F. Storm <storm@cua.dk> |
1564 | ||
1565 | * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. | |
1566 | ||
f03f317a RS |
1567 | 2005-04-26 Richard M. Stallman <rms@gnu.org> |
1568 | ||
c019856e RS |
1569 | * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. |
1570 | (syms_of_window): Doc fixes. | |
1571 | ||
f03f317a RS |
1572 | * indent.c (Fvertical_motion): Undo previous change. |
1573 | ||
38f60cd9 KH |
1574 | 2005-04-26 Kenichi Handa <handa@m17n.org> |
1575 | ||
1576 | * fns.c (char_table_range): New function. | |
1577 | (Fchar_table_range): Signal an error if characters in the range | |
1578 | have inconsistent values. Don't check the parent. | |
1579 | ||
87ede5a1 KH |
1580 | 2005-04-25 Kenichi Handa <handa@m17n.org> |
1581 | ||
1582 | * fontset.c (fontset_set): Fix previous change. | |
1583 | ||
a6390474 RS |
1584 | 2005-04-24 Richard M. Stallman <rms@gnu.org> |
1585 | ||
1586 | * indent.c (Fvertical_motion): Bind fontification-functions to nil. | |
1587 | ||
7fce7dfe EZ |
1588 | 2005-04-24 Eli Zaretskii <eliz@gnu.org> |
1589 | ||
cf1982d9 EZ |
1590 | * regex.c (re_search_2, re_match_2_internal): Convert second arg |
1591 | of RE_TRANSLATE to int, to shut up GCC warnings. | |
1592 | ||
7fce7dfe EZ |
1593 | * fileio.c (Fcopy_file): Doc fix. |
1594 | [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and | |
1595 | not needed. | |
1596 | ||
49ed33c7 YM |
1597 | 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1598 | ||
1599 | * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. | |
1600 | (SOME_MACHINE_OBJECTS): Likewise. | |
1601 | (mac.o): Depend on ccl.h. | |
1602 | (macselect.o): New target. | |
1603 | ||
7ec64183 SM |
1604 | * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: |
1605 | Call syms_of_macselect. | |
49ed33c7 YM |
1606 | |
1607 | * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. | |
1608 | ||
7ec64183 | 1609 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. |
49ed33c7 YM |
1610 | (QCLIPBOARD): Remove variable. |
1611 | (syms_of_mac): Don't initialize it. | |
1612 | (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): | |
1613 | Remove functions. | |
1614 | (syms_of_mac): Don't defsubr them. | |
1615 | [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) | |
1616 | (QHFS_plus_D, QHFS_plus_C): New variables. | |
1617 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
1618 | [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) | |
1619 | (cfstring_create_normalized): New functions. | |
1620 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. | |
1621 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
1622 | ||
7ec64183 SM |
1623 | * macterm.c (handling_window_update, terminate_flag): |
1624 | Remove variables. | |
1625 | (do_window_update, do_ae_quit_application, XTread_socket): | |
1626 | Don't use them. | |
49ed33c7 YM |
1627 | (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. |
1628 | [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) | |
1629 | (init_service_handler): Move to macselect.c. Remove declarations. | |
1630 | [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. | |
1631 | (Qapplication, Qabout): New variables. | |
1632 | (syms_of_mac): Initialize them. | |
1633 | [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) | |
1634 | (Qperform): New variables. | |
1635 | (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. | |
7a92caf8 | 1636 | (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. |
49ed33c7 YM |
1637 | (do_menu_choice): Unhighlight menu bar also when menu_id is 0. |
1638 | (mac_store_application_menu_event, init_menu_bar): New functions. | |
1639 | [USE_CARBON_EVENTS] (mac_handle_command_event) | |
1640 | (init_command_handler): New functions. | |
1641 | (mac_handle_window_event): Return noErr on window update event. | |
1642 | (do_ae_quit_application): Call mac_store_application_menu_event. | |
1643 | (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler | |
1644 | and init_menu_bar. | |
1645 | ||
1646 | * macterm.h (x_clear_frame_selections): Add extern. | |
1647 | ||
1648 | * macselect.c: New file for selection processing on Mac OS. | |
1649 | ||
469bc679 RS |
1650 | 2005-04-23 Richard M. Stallman <rms@gnu.org> |
1651 | ||
1652 | * fileio.c (Fcopy_file): New arg MUSTBENEW. | |
1653 | (Frename_file): Pass new arg to Fcopy_file. | |
1654 | ||
1655 | * window.c (window_size_fixed): Variable deleted. | |
1656 | (syms_of_window): Initialize window-size-fixed to nil. | |
1657 | But don't DEFVAR window_size_fixed. | |
1658 | ||
d379c558 AS |
1659 | 2005-04-23 Andreas Schwab <schwab@suse.de> |
1660 | ||
1661 | * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. | |
1662 | (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to | |
1663 | use lib64 instead of lib. | |
1664 | (_LP64) [_ARCH_PPC64]: Define if not defined. | |
1665 | ||
007d105b TTN |
1666 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
1667 | ||
1668 | * s/ms-w32.h (HAVE_PWD_H): Define. | |
1669 | ||
b9c15916 KH |
1670 | 2005-04-22 Kenichi Handa <handa@m17n.org> |
1671 | ||
1672 | * fns.c (copy_sub_char_table): Explicitly copy the default value | |
1673 | of the sub-chartable. | |
1674 | ||
1675 | * fontset.c (fontset_set): When a sub-chartable is created, | |
1676 | explicitly sets the defalt value. | |
1677 | ||
1ba52906 KS |
1678 | 2005-04-22 Kim F. Storm <storm@cua.dk> |
1679 | ||
1680 | * fns.c (Fplist_get): Replace by Fsafe_plist_get. | |
1681 | (Fsafe_plist_get): Rename to Fplist_get. | |
1682 | (Fsafe_get): Remove, as Fget now uses safe Fplist_get. | |
1683 | (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. | |
1684 | ||
1685 | * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. | |
1686 | ||
1687 | * xdisp.c (store_mode_line_string, produce_stretch_glyph) | |
1688 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
1689 | Use Fplist_get instead of Fsafe_plist_get. | |
1690 | ||
1691 | * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. | |
1692 | ||
e235145c MB |
1693 | 2005-04-21 Miles Bader <miles@gnu.org> |
1694 | ||
1695 | * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. | |
1696 | ||
766c5349 TTN |
1697 | 2005-04-20 Thien-Thi Nguyen <ttn@gnu.org> |
1698 | ||
c164a7e6 TTN |
1699 | * sysdep.c: Remove reference to defunct vms-pwd.h. |
1700 | * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. | |
1701 | * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. | |
1702 | ||
766c5349 TTN |
1703 | * config.in: Regenerate. |
1704 | ||
2b048bf5 KH |
1705 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
1706 | ||
1707 | * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. | |
1708 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. | |
1709 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. | |
1710 | ||
1711 | * alloc.c (make_sub_char_table): Argument changed to initial | |
1712 | value of the slots. | |
1713 | ||
1714 | * data.c (Faref): Handle special slots used as default values of | |
1715 | ascii, eight-bit-control, eight-bit-control. Don't ignore a | |
1716 | default value set for a group of characters. | |
1717 | (Faset): Signal an error if IDXVAL is not a valid character code. | |
1718 | Make a sub-chartable with correct initial value. | |
1719 | ||
1720 | * fns.c (Fset_char_table_range): Don't set slots used as default | |
7ec64183 SM |
1721 | values for ascii, eight-bit-control, eight-bit-graphic. |
1722 | Don't call Faref with charset-id. | |
2b048bf5 KH |
1723 | (Fset_char_table_default): Document how to treat normal character |
1724 | argument. Handle special slots used as default values of ascii, | |
1725 | eight-bit-control, eight-bit-control. Make a sub chartable if | |
1726 | necessary. | |
1727 | ||
b0a35939 KH |
1728 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
1729 | ||
1730 | * search.c (boyer_moore): Fix previous change. | |
1731 | ||
98dde726 KS |
1732 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
1733 | ||
1734 | * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default | |
1735 | face unless last visible char and first invisible char have the | |
1736 | same face. Also use default face if saved_face_id is undefined. | |
1737 | ||
327a3376 YM |
1738 | 2005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1739 | ||
1740 | * macgui.h (MacFontStruct): Remove member `fontname'. Add member | |
1741 | `full_name'. | |
1742 | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for | |
1743 | mac_scriptcode member. | |
1744 | ||
1745 | * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. | |
1746 | (syms_of_mac): Don't initialize them. | |
1747 | (Vmac_charset_info_alist): New variable. | |
1748 | (syms_of_mac): Defvar it. | |
1749 | (create_text_encoding_info_alist): New function. | |
1750 | (decode_mac_font_name, mac_to_x_fontname) | |
1751 | (x_font_name_to_mac_font_name, init_font_name_table): Don't hard | |
1752 | code the correspondence among XLFD charsets, Mac script codes, and | |
1753 | Emacs coding systems. Use Vmac_charset_info_alist and result of | |
1754 | create_text_encoding_info_alist instead. | |
1755 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager | |
1756 | routines also on Mac OS Classic. | |
7ec64183 SM |
1757 | (init_font_name_table) [!TARGET_API_MAC_CARBON]: |
1758 | Use add_font_name_table_entry. | |
327a3376 YM |
1759 | (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as |
1760 | specified. Derive unspecified scalable fields from specified one. | |
1761 | (x_list_fonts): Consider Valternate_fontname_alist. | |
1762 | (kDefaultFontSize): Change value from 9 to 12. | |
1763 | (XLoadQueryFont): Get decoded font family, font face, and charset | |
1764 | from x_font_name_to_mac_font_name. Set full name of loaded font. | |
1765 | (mac_unload_font): Free `full_name' member. | |
1766 | (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns | |
1767 | NULL. Copy full_name member of struct MacFontStruct to that of | |
1768 | struct font_info. | |
1769 | ||
d0636839 KS |
1770 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
1771 | ||
5827e9d4 KS |
1772 | * xdisp.c (handle_stop): Set saved_face_id to current face if |
1773 | selective_display_ellipsis_p so ellipsis will be shown in same | |
1774 | face as preceding text. | |
1775 | (setup_for_ellipsis): Don't set saved_face_id here. | |
1776 | (next_element_from_display_vector): Default to saved_face_id. | |
1777 | ||
d0636839 KS |
1778 | * fns.c (Fsafe_get): New function. |
1779 | (syms_of_fns): Defsubr it. | |
1780 | ||
1781 | * lisp.h (Fsafe_get): EXFUN it. | |
1782 | ||
1783 | * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay | |
1784 | loops in case of bad face property lists. Limit number of face | |
1785 | alias lookups to 10 (in case of face alias loops). | |
1786 | ||
e5c78c9d KS |
1787 | 2005-04-18 Kim F. Storm <storm@cua.dk> |
1788 | ||
1789 | * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. | |
1790 | It replaces the corresponding member from struct window, as a | |
1791 | window may now show multiple overlay arrows. | |
1792 | Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. | |
1793 | ||
1794 | * dispnew.c (row_equal_p, update_window_line, scrolling_window): | |
1795 | Compare overlay_arrow_bitmap than overlay_arrow_p members. | |
1796 | ||
1797 | * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row | |
1798 | rather than from window. | |
1799 | (update_window_fringes): Compare overlay_arrow_bitmap rather than | |
1800 | overlay_arrow_p members. | |
1801 | (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name | |
1802 | if not default. | |
1803 | ||
1804 | * window.h (struct window): Remove member overlay_arrow_bitmap. | |
1805 | ||
1806 | * window.c (make_window): Don't initialize overlay_arrow_bitmap. | |
1807 | ||
1808 | * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. | |
1809 | Calls changed. Don't check for overlay-arrow-bitmap property here. | |
1810 | (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left | |
1811 | fringe is present, return Lisp integer for bitmap (or -1 for default). | |
1812 | Fix value of overlay-arrow-bitmap property to be a symbol, use | |
1813 | lookup_fringe_bitmap to parse it. | |
1814 | (display_line): Change call to overlay_arrow_at_row. Store integer | |
1815 | return value as overlay bitmap in row rather than window. | |
1816 | Only show overlay arrow if row displays text, or if no other overlay | |
1817 | arrow is seen in window (if overlay marker is at point-max). | |
1818 | ||
7d603e3f TTN |
1819 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
1820 | ||
1821 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | |
1822 | ||
9942fa0c LK |
1823 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
1824 | ||
1825 | * lread.c (Vloads_in_progress): Static. | |
1826 | * fns.c (Vloads_in_progress): Remove extern. | |
1827 | (load_in_progress): Add extern. | |
1828 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | |
1829 | ||
999cdb8f TTN |
1830 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
1831 | ||
1832 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | |
1833 | ||
3f4413f8 YM |
1834 | 2005-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1835 | ||
1836 | * macterm.c (XTread_socket): Don't beep on keyboard input even if | |
1837 | no frame is visible. | |
1838 | ||
60ec7b7e DN |
1839 | 2005-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
1840 | ||
1841 | * term.c (struct keys): Add support for shifted keys. | |
1842 | ||
a8a1c0ee RS |
1843 | 2005-04-16 Richard M. Stallman <rms@gnu.org> |
1844 | ||
1845 | * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. | |
1846 | (set_message): Call with_echo_area_buffer with WHICH = 0. | |
1847 | (set_message_1): Erase the echo area buffer first thing. | |
1848 | (echo_area_display): Don't clear echo_message_buffer. | |
1849 | ||
f3cf04d3 YM |
1850 | 2005-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1851 | ||
1852 | * Makefile.in (mac.o): Depend on charset.h and coding.h. | |
1853 | ||
1854 | * mac.c: Include charset.h and coding.h. | |
1855 | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. | |
7ec64183 | 1856 | [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. |
f3cf04d3 YM |
1857 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. |
1858 | ||
1859 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
1860 | ||
1861 | * image.c [MAC_OSX] (image_load_quartz2d): Likewise. | |
1862 | ||
1863 | * macterm.c (x_autoselect_window_p): Remove variable. | |
1864 | (last_window): New variable. | |
7ec64183 SM |
1865 | (XTreassert_line_highlight, x_change_line_highlight): |
1866 | Remove declarations. | |
f3cf04d3 YM |
1867 | (mac_focus_changed, x_detect_focus_change): New functions and |
1868 | declarations. | |
1869 | (XTextExtents16, front_emacs_window): Remove function. | |
1870 | (mac_focus_frame): New function. | |
1871 | (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) | |
1872 | (mac_check_for_quit_char): Use it instead of front_emacs_window. | |
1873 | (x_scroll_bar_report_motion): Obtain window from control owner. | |
1874 | (x_make_frame_invisible): Set window manager size hint. | |
1875 | (do_mouse_moved): Remove function. | |
1876 | (XTread_socket): Move its contents here. Generate select-window | |
1877 | event on mouse movement if needed. Use x_detect_focus_change on | |
1878 | activate/deactivate events. Don't deiconify frame or invalidate | |
7ec64183 SM |
1879 | window rectangle when dnd items are dropped. |
1880 | Don't activate/deactivate root control. | |
f3cf04d3 YM |
1881 | (frame_highlight, frame_unhighlight): Activate/deactivate root |
1882 | control here. | |
1883 | (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. | |
1884 | ||
1885 | * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: | |
1886 | New extern. | |
1887 | ||
9e5b2858 LT |
1888 | 2005-04-15 Luc Teirlinck <teirllm@auburn.edu> |
1889 | ||
1890 | * Makefile.in: Define new macro TOOLTIP_SUPPORT. | |
1891 | (lisp): Use it. | |
1892 | (SOME_MACHINE_LISP): Add tooltip. | |
1893 | ||
42c6741e YM |
1894 | 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1895 | ||
7ec64183 SM |
1896 | * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. |
1897 | Don't include TextEncodingConverter.h. | |
42c6741e YM |
1898 | (mac_system_script_code, Vmac_system_locale): New variables. |
1899 | (syms_of_mac): Defvar them. | |
1900 | (mac_get_system_locale): New function. | |
1901 | ||
7ec64183 SM |
1902 | * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: |
1903 | Use ENCODE_SYSTEM to encode title bar string. | |
42c6741e | 1904 | (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. |
7ec64183 SM |
1905 | (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: |
1906 | Use CFStringGetSystemEncoding to get system default string encoding. | |
42c6741e YM |
1907 | |
1908 | * macterm.c [!TARGET_API_MAC_CARBON]: Don't include | |
1909 | TextEncodingConverter.h. | |
1910 | ||
0614c575 ST |
1911 | 2005-04-13 Steven Tamm <steventamm@mac.com> |
1912 | ||
7e26f91b KS |
1913 | * macterm.c (syms_of_macterm): Remove redundant definition of |
1914 | mac-pass-control-to-system. | |
0614c575 | 1915 | |
203eb0aa SM |
1916 | 2005-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
1917 | ||
1918 | * window.c (Fset_window_configuration): Be careful when you choose | |
1919 | among several possible points for the new_current_buffer. | |
1920 | ||
a56e6111 YM |
1921 | 2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1922 | ||
1923 | * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call | |
1924 | poll_for_input_1. Set interrupt_input_pending to 1 instead. | |
b7461be9 YM |
1925 | (Qlanguage_change) [MAC_OS]: New variable. |
1926 | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. | |
203eb0aa | 1927 | (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. |
b7461be9 YM |
1928 | |
1929 | * macterm.c (mac_keyboard_text_encoding) | |
1930 | (current_mac_keyboard_text_encoding): Remove variables. | |
7e26f91b KS |
1931 | (XTread_socket): Store language-change event if keyboard script change |
1932 | is detected. Don't convert input to `mac_keyboard_text_encoding'. | |
203eb0aa | 1933 | (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. |
b7461be9 | 1934 | |
7e26f91b | 1935 | * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. |
a56e6111 | 1936 | |
6695c528 RS |
1937 | 2005-04-10 Richard M. Stallman <rms@gnu.org> |
1938 | ||
1939 | * emacs.c (standard_args): Rename --bare-bones to --quick. | |
1940 | Add -D aka --basic-display. | |
1941 | ||
1942 | * buffer.c (Fmake_indirect_buffer): Clear out some local variables. | |
1943 | ||
18e2d91f RS |
1944 | 2005-04-09 Richard M. Stallman <rms@gnu.org> |
1945 | ||
1946 | * keymap.c (where_is_internal): Convert a string used as event type | |
1947 | into "(any string)". | |
1948 | ||
1949 | * lread.c (Vloads_in_progress): Not static. | |
18e2d91f RS |
1950 | * fns.c (Vloads_in_progress): Add extern. |
1951 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | |
1952 | ||
1953 | 2005-04-09 Thien-Thi Nguyen <ttn@surf.glug.org> | |
1954 | ||
1955 | * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. | |
1956 | ||
1cf21850 LK |
1957 | 2005-04-09 Lute Kamstra <lute@gnu.org> |
1958 | ||
1959 | * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is | |
1960 | within the accessible part of the buffer. | |
1961 | ||
bfd93240 KS |
1962 | 2005-04-09 Kim F. Storm <storm@cua.dk> |
1963 | ||
1964 | * lread.c (readevalloop): Add args START and END as region in | |
1965 | current buffer to read. Callers changed. | |
1966 | When specified, narrow to this region only when reading, | |
1967 | not during eval. Track next point to read from during eval. | |
1968 | Also restore point to "real" buffer position before eval. | |
1969 | (Feval_region): Don't save excursion and restriction here, and | |
1970 | don't narrow to region. Just pass region to readevalloop. | |
1971 | Note: Point is now preserved even when PRINTFLAG is nil. | |
1972 | ||
9ba27690 KS |
1973 | 2005-04-08 Kim F. Storm <storm@cua.dk> |
1974 | ||
1975 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | |
1976 | ||
73f0d996 KS |
1977 | 2005-04-06 Kim F. Storm <storm@cua.dk> |
1978 | ||
1979 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | |
1980 | ||
369f76bb YM |
1981 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1982 | ||
1983 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | |
1984 | (Fmac_get_preference): Doc fix. | |
1985 | ||
203eb0aa SM |
1986 | * macfns.c (Fx_create_frame, x_create_tip_frame): |
1987 | Add "fontset-mac" to fallback font/fontsets. | |
369f76bb | 1988 | |
2ba613a6 KS |
1989 | 2005-04-04 Kim F. Storm <storm@cua.dk> |
1990 | ||
4d5ddddc KS |
1991 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. |
1992 | ||
2ba613a6 KS |
1993 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. |
1994 | Call it again after autoload. | |
1995 | ||
1673df2e JD |
1996 | 2005-04-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1997 | ||
1998 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | |
1999 | mallopt. | |
2000 | ||
2001 | * ralloc.c (r_alloc_init): Ditto. | |
2002 | ||
41639988 KH |
2003 | 2005-04-01 Kenichi Handa <handa@m17n.org> |
2004 | ||
1cf21850 LK |
2005 | * lisp.h (Vascii_upcase_table, Vascii_canon_table) |
2006 | (Vascii_eqv_table): Extern them. | |
41639988 KH |
2007 | |
2008 | * casetab.c (set_case_table): If standard is nonzero, setup | |
2009 | Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. | |
2010 | ||
2011 | * search.c (looking_at_1): Use current_buffer->case_canon_table, | |
2012 | not DOWNCASE_TABLE. | |
2013 | (string_match_1): Likewise. | |
2014 | (fast_c_string_match_ignore_case): Use Vascii_canon_table, not | |
2015 | Vascii_downcase_table. | |
2016 | (fast_string_match_ignore_case): Likewise. | |
2017 | (search_buffer): Fix checking of boyer-moore usability. | |
203eb0aa SM |
2018 | (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. |
2019 | No need of tranlating characters in PAT. Fix calculation of | |
41639988 KH |
2020 | simple_translate. |
2021 | ||
6ca53601 SM |
2022 | 2005-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
2023 | ||
2024 | * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. | |
2025 | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. | |
2026 | Use XtNtopShadowPixel and XtNbottomShadowPixel. | |
2027 | (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't | |
2028 | really work and that breaks with some versions of Xaw3d. | |
2029 | ||
fafbb99d | 2030 | 2005-03-31 Kenichi Handa <handa@m17n.org> |
bf762c98 KH |
2031 | |
2032 | * coding.c (syms_of_coding): Fix previous change. | |
2033 | ||
6ca53601 SM |
2034 | 2005-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
2035 | ||
2036 | * fileio.c (search_embedded_absfilename): Fix last change. | |
2037 | ||
bf762c98 KH |
2038 | 2005-03-25 Kenichi Handa <handa@m17n.org> |
2039 | ||
2040 | * coding.c (syms_of_coding): Suggest to use set-coding-category in | |
2041 | the docstring of coding-category-list. | |
2042 | ||
f793f885 KS |
2043 | 2005-03-31 Kim F. Storm <storm@cua.dk> |
2044 | ||
2045 | * keyboard.c (Qmouse_fixup_help_message): New var. | |
2046 | (syms_of_keyboard): Intern and staticpro it. | |
2047 | (show_help_echo): Apply mouse-fixup-help-message to help string. | |
2048 | ||
c364fe19 KS |
2049 | 2005-03-30 Kim F. Storm <storm@cua.dk> |
2050 | ||
2051 | * xdisp.c (display_line): Allow multiple overlay arrows in window. | |
2052 | ||
c70a4df6 SM |
2053 | 2005-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2054 | ||
2055 | * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. | |
2056 | (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. | |
2057 | (Ffile_name_absolute_p): Use it. | |
2058 | (search_embedded_absfilename): New fun, extracted from | |
2059 | Fsubstitute_in_file_name. Use file_name_absolute_p. | |
2060 | Free the pw data after use. | |
2061 | (Fsubstitute_in_file_name): Use it. | |
2062 | After cutting a prefix, re-check file-name-handler. | |
2063 | ||
6e7d0438 JR |
2064 | 2005-03-26 Lennart Borgman <lennart.borgman.073@student.lu.se> |
2065 | ||
6ca53601 | 2066 | * w32term.h (x_output): Add focus_state. |
6e7d0438 JR |
2067 | |
2068 | * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. | |
2069 | (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change. | |
2070 | ||
65671706 SM |
2071 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
2072 | ||
2073 | * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): | |
2074 | Use Fexit_minibuffer. | |
2075 | (Fexit_minibuffer): Mark it as no-return, deactivate the mark. | |
2076 | ||
0de4dad4 SM |
2077 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
2078 | ||
781da985 SM |
2079 | * dired.c (Ffile_attributes): Add a missing gcpro. |
2080 | ||
0de4dad4 SM |
2081 | * alloc.c (make_number): The arg can be bigger than `int'. |
2082 | * lisp.h (make_number): Make prototype more precise. | |
2083 | ||
2084 | * process.c, dired.c (Vfile_name_coding_system) | |
2085 | (Vdefault_file_name_coding_system): | |
2086 | * callproc.c (Vdoc_file_name, Vfile_name_coding_system) | |
2087 | (Vdefault_file_name_coding_system): Remove unused declarations. | |
2088 | ||
ff18668f JD |
2089 | 2005-03-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2090 | ||
2091 | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | |
2092 | if it failed to pop up (Gnome "show pointer on ctrl" option makes | |
2093 | menus fail to pop up). | |
2094 | ||
0de4dad4 | 2095 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
66347da7 SM |
2096 | |
2097 | * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. | |
0de4dad4 | 2098 | Just prepend a backslash without replacing the NBSP by an SPC. |
66347da7 | 2099 | |
8df0ffbe KS |
2100 | 2005-03-22 Kim F. Storm <storm@cua.dk> |
2101 | ||
2102 | * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. | |
2103 | * dispextern.h (lookup_derived_face): Fix prototype. | |
2104 | * msdos.c (XMenuActivate): Fix call to lookup_derived_face. | |
2105 | ||
2106 | * xdisp.c (handle_single_display_spec): Derive left-fringe and | |
2107 | right-fringe face from fringe face. | |
2108 | ||
2109 | * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): | |
2110 | Derive face from fringe face. | |
2111 | ||
6ca30ba4 JD |
2112 | 2005-03-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2113 | ||
2114 | * xrdb.c (x_load_resources): Undo previous change (2005-03-18). | |
2115 | ||
d615870a DK |
2116 | 2005-03-22 David Kastrup <dak@gnu.org> |
2117 | ||
2118 | * textprop.c (Fnext_char_property_change) | |
66347da7 | 2119 | (Fprevious_char_property_change): Allow marker as limit. |
d615870a DK |
2120 | (Fnext_single_char_property_change) |
2121 | (Fprevious_single_char_property_change): Check that limit is a | |
2122 | number in strings. | |
2123 | (Fnext_single_char_property_change): Coerce position to integer. | |
2124 | (Fprevious_single_char_property_change): Same here. | |
2125 | ||
32b939ea TTN |
2126 | 2005-03-21 Thien-Thi Nguyen <ttn@gnu.org> |
2127 | ||
2128 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. | |
2129 | ||
6027e473 SM |
2130 | 2005-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
2131 | ||
2132 | * frame.c (Fignore_event): Remove. | |
2133 | (syms_of_frame): Don't defsubr it. | |
2134 | ||
2135 | * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the | |
2136 | redundant `ignore-event'. | |
2137 | ||
730f4d72 EZ |
2138 | 2005-03-19 Eli Zaretskii <eliz@gnu.org> |
2139 | ||
2140 | * unexec.c (write_segment, unexec): Move these functions to avoid | |
2141 | forward references (which cause errors with "gcc -gcoff"). | |
2142 | ||
c7f6afd5 JD |
2143 | 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2144 | ||
6027e473 | 2145 | * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so |
9188be47 | 2146 | that it doesn't become "tooltip". The specbind is enough. |
8d5980cf | 2147 | |
c7f6afd5 JD |
2148 | * xrdb.c (x_load_resources): Use different char *helv when I18N |
2149 | is present. | |
2150 | ||
db328182 KH |
2151 | 2005-03-17 Kenichi Handa <handa@m17n.org> |
2152 | ||
66347da7 | 2153 | * coding.c (syms_of_coding): Docstring of coding-category-list fixed. |
db328182 | 2154 | |
211f2210 SM |
2155 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
2156 | ||
2157 | * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: | |
2158 | Use xic_create_fontsetname even for non-Motif menus. | |
2159 | Don't forget to free the fontsetname. | |
2160 | ||
2161 | * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. | |
2162 | ||
c7bd5d57 RS |
2163 | 2005-03-17 Richard M. Stallman <rms@gnu.org> |
2164 | ||
2165 | * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. | |
2166 | ||
2167 | * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) | |
2168 | (Fmake_symbolic_link): Use G to read the new file name. | |
2169 | ||
2170 | * callint.c (Finteractive): Document G option. | |
2171 | (Fcall_interactively): Implement G option. | |
2172 | ||
2173 | * buffer.c (buffer_lisp_local_variables): New function, | |
2174 | broken out from Fbuffer_local_variables. | |
2175 | (clone_per_buffer_values): Use buffer_lisp_local_variables. | |
2176 | ||
888953f1 SM |
2177 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
2178 | ||
3c916d65 SM |
2179 | * xfns.c (xic_create_fontsetname): Add `motif' argument. |
2180 | Always return a freshly allocated string. | |
2181 | (xic_create_xfontset): Adjust call. | |
2182 | ||
2183 | * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: | |
2184 | Use xic_create_fontsetname to create a fontset so utf-8 locales work. | |
2185 | (dump_realized_face): Fix warning. | |
2186 | ||
9f9e5275 SM |
2187 | * emacs.c (Fkill_emacs): YAILOM. |
2188 | ||
888953f1 SM |
2189 | * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. |
2190 | ||
48502d68 YM |
2191 | 2005-03-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2192 | ||
2193 | * mac.c (HASHKEY_TERMINAL): Remove. | |
2194 | (HASHKEY_MAX_NID): New macro. | |
2195 | (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra | |
2196 | argument. | |
888953f1 | 2197 | (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. |
48502d68 YM |
2198 | (xrm_create_database, xrm_q_put_resource) |
2199 | (xrm_merge_string_database, xrm_q_get_resource_1) | |
2200 | (xrm_q_get_resource): Change resource database representation so | |
2201 | that it may not use multiple hash tables for a single database. | |
2202 | [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. | |
2203 | ||
d5161e8c SM |
2204 | 2005-03-16 Stefan Monnier <monnier@iro.umontreal.ca> |
2205 | ||
11a646cd SM |
2206 | * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. |
2207 | ||
2208 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the | |
2209 | locale-coding-system, as was already done for WINDOWSNT. | |
2210 | ||
d5161e8c SM |
2211 | * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta |
2212 | translation for chars in the 0-255 range. | |
2213 | ||
568b6e41 LK |
2214 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
2215 | ||
2216 | * floatfns.c (Ffloor): Doc fix. | |
2217 | ||
469fb3cf YM |
2218 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2219 | ||
2220 | * mac.c: Include macterm.h instead of directly including Carbon.h. | |
2221 | [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) | |
2222 | (Qarray, Qdictionary): New variables. | |
2223 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
2224 | [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. | |
2225 | [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. | |
2226 | [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used | |
2227 | in callback for CFDictionaryApplyFunction. | |
2228 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
2229 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
2230 | (cfobject_desc_to_lisp, cfdictionary_add_to_list) | |
2231 | (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. | |
2232 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. | |
2233 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
2234 | (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. | |
3d454340 | 2235 | (skip_white_space, parse_comment, parse_include_file) |
469fb3cf YM |
2236 | (parse_binding, parse_component, parse_resource_name, parse_value) |
2237 | (parse_resource_line, xrm_create_database, xrm_q_put_resource) | |
2238 | (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) | |
d5161e8c SM |
2239 | (xrm_cfproperty_list_to_value, xrm_get_preference_database): |
2240 | New functions. | |
469fb3cf YM |
2241 | |
2242 | * macfns.c (mac_get_rdb_resource): Remove function. | |
2243 | (x_get_string_resource): Use xrm_get_resource. | |
2244 | ||
2245 | * macgui.h (XrmDatabase): Typedef to Lisp_Object. | |
2246 | ||
2247 | * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of | |
2248 | name_list_element. | |
2249 | (mac_make_rdb): Create resource database from preferences and | |
2250 | argument string. | |
2251 | (mac_term_init): Save resource database to cddr part of | |
2252 | name_list_element. | |
2253 | ||
2254 | * macterm.h (xrm_merge_string_database, xrm_get_resource) | |
2255 | (xrm_get_preference_database): Add externs. | |
2256 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
2257 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
2258 | (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. | |
2259 | ||
2260 | * process.c (init_process): Change `#ifdef DARWIN' to `#if | |
2261 | defined (DARWIN) || defined (MAC_OSX)' | |
2262 | ||
2263 | * s/darwin.h (DARWIN): Don't define. | |
2264 | ||
6a3fac90 YM |
2265 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2266 | ||
2267 | * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): | |
2268 | Remove unused variables. | |
2269 | (syms_of_macfns): Don't initialize them. Likewise for | |
2270 | Qface_set_after_frame_default. Defvar and initialize | |
2271 | Vx_window_horizontal_drag_shape. | |
2272 | (x_set_mouse_color): Change mouse pointer shape. | |
2273 | (mac_window) [!MAC_OSX]: Create root control. | |
469fb3cf | 2274 | (Fx_create_frame): Remove initializations of mouse pointer shapes. |
6a3fac90 YM |
2275 | (hourglass_started): New function (from xfns.c). |
2276 | (start_hourglass, cancel_hourglass): Put function body in #ifdef | |
2277 | MAC_OSX. | |
2278 | (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress | |
2279 | indicator for each non-tooltip frame if needed, and show it. | |
d5161e8c | 2280 | (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. |
6a3fac90 YM |
2281 | |
2282 | * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and | |
2283 | Controls.h. Use ThemeCursor instead of CursHandle. | |
2284 | ||
d5161e8c SM |
2285 | * macterm.c (activate_scroll_bars, deactivate_scroll_bars): |
2286 | Remove functions and declarations. | |
2287 | (mac_set_colors): Take argument for saving background color. | |
2288 | All callers changed. | |
6a3fac90 YM |
2289 | (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) |
2290 | (mac_draw_rectangle, mac_draw_string_common): Save and Restore | |
2291 | background color. | |
2292 | (x_update_end, mac_do_track_drag): Don't reset background color. | |
d5161e8c SM |
2293 | (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: |
2294 | Use SetThemeCursor. | |
6a3fac90 YM |
2295 | (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress |
2296 | indicator control to the upper-right corner of the window. | |
2297 | (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. | |
2298 | (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. | |
2299 | (do_window_update): Update controls after updating content area. | |
2300 | (mac_handle_window_event): Remove unused extern. | |
2301 | (XTread_socket): Check both control handle and control part code | |
2302 | to determine whether a scroll bar is clicked. Activate/deactivate | |
2303 | root control instead of contained scroll bar controls. | |
2304 | (make_mac_terminal_frame): Use ThemeCursor constants. | |
2305 | ||
d5161e8c SM |
2306 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: |
2307 | New member hourglass_control. | |
6a3fac90 | 2308 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. |
d5161e8c | 2309 | (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. |
6a3fac90 | 2310 | |
a7321976 YM |
2311 | 2005-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2312 | ||
2313 | * macterm.c (keycode_to_xkeysym_table): Change mapping so that it | |
6a3fac90 | 2314 | coincides with that in Apple X11 except `clear', `enter' on |
a7321976 YM |
2315 | laptops, and fn + `enter' on laptops. |
2316 | ||
f7b758bd SM |
2317 | 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
2318 | ||
2319 | * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | |
2320 | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. | |
2321 | (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | |
2322 | ||
2323 | * xfns.c (xic_defaut_fontset): New constant. | |
2324 | (xic_create_fontsetname): New function. | |
2325 | Extracted from create_frame_xic. Try to generate a slightly | |
2326 | better fontset. | |
2327 | (xic_create_xfontset): Use it. | |
2328 | (create_frame_xic): Simplify. | |
2329 | ||
dac24db4 SM |
2330 | 2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
2331 | ||
2332 | * fileio.c (Fmake_symbolic_link): Fix last change. | |
2333 | ||
e0402468 RS |
2334 | 2005-03-11 Richard M. Stallman <rms@gnu.org> |
2335 | ||
2336 | * fileio.c (Frename_file, Fadd_name_to_file) | |
2337 | (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, | |
2338 | expand the basename of FILE relative to it. | |
2339 | ||
fa815b14 KH |
2340 | 2005-03-11 Kenichi Handa <handa@m17n.org> |
2341 | ||
2342 | * fileio.c (Finsert_file_contents): Call Fcheck_coding_system | |
2343 | before calling setup_coding_system so that autoloading of a coding | |
2344 | system work. | |
2345 | ||
817d354b JD |
2346 | 2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2347 | ||
68a505ef JD |
2348 | * xfns.c (hourglass_started): New function. |
2349 | ||
2350 | * dispextern.h: Declare hourglass_started. | |
2351 | ||
2352 | * keyboard.c (Fexecute_extended_command): Restart hourglass | |
2353 | after call to Fcompleting_read if already started. | |
2354 | ||
817d354b JD |
2355 | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the |
2356 | GTK main loop is entered in xterm.c, thus doing the redraw. | |
2357 | ||
b0a6f45c KS |
2358 | 2005-03-10 Kim F. Storm <storm@cua.dk> |
2359 | ||
2360 | * xdisp.c (pos_visible_p): Fix X value in last line of buffer. | |
2361 | ||
ee5d57b0 KH |
2362 | 2005-03-08 Kenichi Handa <handa@m17n.org> |
2363 | ||
2364 | * frame.c (x_set_font): Call set_default_ascii_font if an | |
2365 | available font is found. | |
2366 | ||
2367 | * fontset.c (set_default_ascii_font): New function. | |
dac24db4 | 2368 | (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. |
ee5d57b0 KH |
2369 | |
2370 | * fontset.h (set_default_ascii_font): Extern it. | |
2371 | ||
f30c4a5c KS |
2372 | 2005-03-07 Kim F. Storm <storm@cua.dk> |
2373 | ||
3fb26a86 KS |
2374 | * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. |
2375 | (clear_image_cache_count): New var. | |
2376 | (redisplay_internal): Don't clear face and image caches in the | |
2377 | middle of redisplay; do it afterwards. | |
2378 | ||
a54595d4 KS |
2379 | * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. |
2380 | ||
f30c4a5c KS |
2381 | * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos |
2382 | is valid. If not, clear phys_cursor_on_p and return. | |
2383 | ||
3d182f9d AS |
2384 | 2005-03-07 Andreas Schwab <schwab@suse.de> |
2385 | ||
2386 | * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. | |
2387 | ||
85d964de RS |
2388 | 2005-03-06 Richard M. Stallman <rms@gnu.org> |
2389 | ||
2390 | * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. | |
2391 | ||
2392 | * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. | |
2393 | (Feval, Ffuncall): Use CHECK_CONS_LIST. | |
2394 | ||
2395 | * lisp.h (CHECK_CONS_LIST): New macro (two definitions). | |
2396 | ||
2397 | * blockinput.h (UNBLOCK_INPUT_TO): New macro. | |
2398 | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. | |
2399 | ||
3ff96c81 JL |
2400 | 2005-03-05 Juri Linkov <juri@jurta.org> |
2401 | ||
2402 | * emacs.c (USAGE1): Replace Info node name "command arguments" | |
2403 | with "emacs invocation". | |
2404 | (USAGE3): Fix usage of `--color=MODE' which actually doesn't | |
2405 | allow arguments `--color' and `MODE' to be separated by space. | |
2406 | Add --no-blinking-cursor, -nbc. | |
2407 | (standard_args): Add -nbc, --no-blinking-cursor. | |
2408 | ||
64eb0083 TTN |
2409 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
2410 | ||
2411 | * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. | |
2412 | * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. | |
2413 | * fileio.c (Fexpand_file_name) [VMS]: | |
2414 | Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. | |
2415 | * doc.c (munge_doc_file_name) [VMS]: Likewise. | |
2416 | (Fsnarf_documentation): Call munge_doc_file_name. | |
2417 | ||
ad708ae5 TTN |
2418 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
2419 | ||
2420 | * s/vms.h (FILE_SYSTEM_CASE): New macro. | |
2421 | * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name | |
2422 | "manually"; this is now handled generally via FILE_SYSTEM_CASE. | |
2423 | ||
ba025f6d YM |
2424 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2425 | ||
2426 | * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if | |
2427 | defined (MAC_OSX) && defined (HAVE_CARBON)'. | |
ad708ae5 | 2428 | |
dac24db4 | 2429 | * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. |
ba025f6d YM |
2430 | |
2431 | * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
2432 | [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. | |
dac24db4 | 2433 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. |
ba025f6d YM |
2434 | (mac_clear_font_name_table): Move extern to macterm.h. |
2435 | ||
2436 | * macfns.c (install_window_handler): Move extern to macterm.h. | |
2437 | (Fx_file_dialog): Check STRINGP (default_filename) to see it is | |
2438 | valid. Don't check !NILP (dir) because it is already checked with | |
2439 | CHECK_STRING. | |
2440 | (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for | |
dac24db4 | 2441 | specifying the default location and obtaining the selected filename. |
ba025f6d YM |
2442 | |
2443 | * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
2444 | ||
2313f861 | 2445 | * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that |
ba025f6d YM |
2446 | are included via Carbon.h. |
2447 | ||
dac24db4 SM |
2448 | * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: |
2449 | Define USE_CARBON_EVENTS to 1. | |
2313f861 | 2450 | (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. |
ba025f6d YM |
2451 | (x_free_frame_resources): Call remove_window_handler for |
2452 | non-tooltip windows. | |
2453 | [TARGET_API_MAC_CARBON]: Don't include headers that are included | |
2454 | via Carbon.h. | |
2455 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
2456 | (mac_do_receive_dragUPP): New variables. | |
2457 | (mac_handle_service_event, init_service_handler): Put declarations | |
2458 | and definitions in #ifdef MAC_OSX. | |
2459 | (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for | |
2460 | drag-and-drop handler functions and register them. | |
2461 | (remove_window_handler): New function. | |
dac24db4 SM |
2462 | (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: |
2463 | Use fsspec_to_posix_pathname. | |
ba025f6d YM |
2464 | (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. |
2465 | (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. | |
dac24db4 SM |
2466 | [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: |
2467 | Set default cursors. | |
ba025f6d YM |
2468 | (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call |
2469 | init_service_handler or init_quit_char_handler. | |
2470 | (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. | |
2471 | ||
2472 | * macterm.h (install_window_handler, remove_window_handler) | |
2473 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) | |
2474 | (mac_clear_font_name_table): New externs. | |
ad708ae5 | 2475 | |
c1558952 TTN |
2476 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
2477 | ||
2478 | * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. | |
2479 | (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. | |
2480 | (Fexpand_file_name): Likewise. | |
2481 | ||
fa439170 TTN |
2482 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
2483 | ||
2484 | * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; | |
2485 | no longer special-case VMS. Add bogus return value. | |
2486 | ||
db2dacf6 KS |
2487 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
2488 | ||
2489 | * dispextern.h (XASSERTS): Define to 0 if not already defined. | |
2490 | (xassert) [!XASSERTS]: Define dummy version. | |
2491 | ||
0870514c KS |
2492 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
2493 | ||
2494 | * xdisp.c (redisplay_window): YABX (yet another bogus xassert). | |
2495 | Reported by David Kastrup. | |
2496 | ||
6b640092 KS |
2497 | 2005-03-01 Ehud Karni <ehud@unix.mvs.co.il> |
2498 | ||
2499 | * xdisp.c (get_next_display_element): Fix control and escape | |
2500 | glyph from display vector. | |
2501 | ||
f4a5a485 SM |
2502 | 2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca> |
2503 | ||
2504 | * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. | |
2505 | ||
85d964de RS |
2506 | 2005-02-27 Richard M. Stallman <rms@gnu.org> |
2507 | ||
2508 | * xdisp.c (fast_find_position): Rename END to BEG. | |
2509 | (syms_of_xdisp) <menu-bar-update-hook>: Doc fix. | |
2510 | ||
6e8db3ea JD |
2511 | 2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2512 | ||
f4a5a485 | 2513 | * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to |
6e8db3ea JD |
2514 | gtk_window_resize and x_wm_set_size_hint. |
2515 | ||
0f465b55 KS |
2516 | 2005-02-25 Kim F. Storm <storm@cua.dk> |
2517 | ||
2518 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | |
2519 | ||
2520 | * xdisp.c (init_from_display_pos): Don't read past end of | |
2521 | it->overlay_strings array. | |
2522 | ||
d5fb8dab | 2523 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) |
845a78b4 LK |
2524 | |
2525 | * buffer.c (syms_of_buffer): Fix typo. | |
2526 | ||
b02c3eed LK |
2527 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
2528 | ||
2529 | * buffer.c (Foverlay_buffer): Doc fix. | |
2530 | ||
c8500765 KS |
2531 | 2005-02-22 Kim F. Storm <storm@cua.dk> |
2532 | ||
b686dd59 KS |
2533 | * minibuf.c (Ftry_completion, Fall_completions): Allow both string |
2534 | and symbol keys in alists and hash tables. | |
2535 | ||
c8500765 KS |
2536 | * xdisp.c (fast_find_position): Fix search for start of overlay. |
2537 | ||
81c85b53 KS |
2538 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
2539 | ||
2540 | * window.c (window_scroll_pixel_based): When scrolling backwards, | |
2541 | handle partial visible line at end of window even when we hit PT. | |
2542 | ||
f4a5a485 | 2543 | 2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9df747e1 SM |
2544 | |
2545 | * keymap.h: Declare Fcurrent_active_maps, used in doc.c. | |
2546 | ||
0dd5a842 KS |
2547 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
2548 | ||
2549 | * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. | |
2550 | I think those asserts are bogus if buffer contains invisible text | |
2551 | or images. | |
2552 | ||
d5fb8dab | 2553 | 2005-02-21 David Kastrup <dak@gnu.org> |
19e05d1f KS |
2554 | |
2555 | * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. | |
2556 | ||
0fba9f25 KS |
2557 | 2005-02-20 Kim F. Storm <storm@cua.dk> |
2558 | ||
2559 | * xdisp.c (pos_visible_p): Be sure to move to the specified | |
2560 | position. Always get the full ascent / descent of the | |
2561 | corresponding row, to return reliable rtop and rbot values. | |
2562 | (back_to_previous_visible_line_start): Fix 2005-01-18 change. | |
2563 | Must look one character back, as back_to_previous_line_start | |
2564 | returns position after the newline. | |
2565 | (move_it_vertically_backward): Fix heuristic for when to move further | |
2566 | back in case line_height * 2/3 is larger than window height. | |
2567 | (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p | |
2568 | as it does not do anything anymore. Add arg current_matrix_p to | |
2569 | use current matrix rather than desired matrix when set. | |
2570 | (try_cursor_movement): Don't scroll to make cursor row fully | |
2571 | visible if cursor didn't move. This avoids unexpected recentering | |
2572 | in case of blinking cursor or accepting process output. | |
2573 | Use current matrix to check cursor row visibility. | |
2574 | (redisplay_window): Fix whether to recenter or move to top in case | |
2575 | cursor line is taller than window height. | |
2576 | (find_first_unchanged_at_end_row): Stop search if we reach a row | |
2577 | which not enabled (instead of abort). | |
2578 | ||
b1c2adc3 KS |
2579 | 2005-02-18 Kim F. Storm <storm@cua.dk> |
2580 | ||
c2ee48fb KS |
2581 | * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property |
2582 | to be nil in a :box attribute value list; customize prints that | |
2583 | as lisp value when no box color is specified. | |
2584 | ||
b1c2adc3 KS |
2585 | * .gdbinit (pitx, pit): Pretty print display iterator. |
2586 | (prowx, prow): Pretty print glyph row. | |
2587 | (pcursorx, pcursor): Pretty print a window cursor. | |
2588 | (pwinx, pwin): Pretty print struct window. | |
2589 | ||
f102186f SM |
2590 | 2005-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
2591 | ||
2592 | * alloc.c (BLOCK_BYTES): Harmless typo. | |
2593 | ||
9b516537 AS |
2594 | 2005-02-17 Andreas Schwab <schwab@suse.de> |
2595 | ||
2596 | * xfns.c (hack_wm_protocols): Use correct type for last parameter | |
2597 | of XGetWindowProperty to avoid aliasing issues. | |
2598 | (Fx_window_property): Likewise. | |
2599 | ||
2600 | * xselect.c (Fx_disown_selection_internal): Use union of struct | |
f4a5a485 | 2601 | input_event and struct selection_input_event to avoid aliasing issues. |
9b516537 AS |
2602 | |
2603 | * xterm.c (handle_one_xevent): Use union of struct input_event and | |
2604 | struct selection_input_event to avoid aliasing issues. | |
2605 | (SET_SAVED_MENU_EVENT): Adapt reference to inev. | |
2606 | ||
886b1418 KS |
2607 | 2005-02-17 Kim F. Storm <storm@cua.dk> |
2608 | ||
2609 | * dispextern.h (enum it_method): New enum. | |
2610 | (GET_FROM_*): Its members. | |
2611 | (struct it): Change member method from function pointer to enum. | |
2612 | ||
2613 | * xdisp.c (check_it, init_from_display_pos, handle_stop) | |
2614 | (setup_for_ellipsis, handle_single_display_spec) | |
2615 | (handle_composition_prop, next_overlay_string) | |
2616 | (get_overlay_strings, reseat_1, reseat_to_string) | |
2617 | (next_element_from_ellipsis, BUFFER_POS_REACHED_P) | |
2618 | (in_display_vector_p, display_line, get_next_display_element): | |
2619 | Change it->method from function pointer to enum. | |
2620 | (get_next_element): New array to map it->method to function. | |
2621 | (get_next_display_element): Use it. | |
2622 | (set_iterator_to_next): Use switch instead of if/else chain. | |
2623 | ||
99ee2c6a | 2624 | 2005-02-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
52c7f9ee JR |
2625 | |
2626 | * w32select.c: Summary: Thorough rework to implement Unicode | |
2627 | clipboard operations and delayed rendering. | |
2628 | ||
2629 | Drop last_clipboard_text and related code, keep track of | |
f4a5a485 | 2630 | ownership via clipboard_owner instead. Drop old #if0 sections. |
52c7f9ee JR |
2631 | |
2632 | (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) | |
2633 | (clipboard_owner, modifying_clipboard, cfg_coding_system) | |
2634 | (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) | |
2635 | (current_coding_system, current_requires_encoding) | |
f4a5a485 SM |
2636 | (current_num_nls, current_clipboard_type, current_lcid): |
2637 | New static variables. | |
52c7f9ee JR |
2638 | |
2639 | (convert_to_handle_as_ascii, convert_to_handle_as_coded) | |
2640 | (render, render_all, run_protected, lisp_error_handler) | |
2641 | (owner_callback, create_owner, setup_config) | |
f4a5a485 SM |
2642 | (enum_locale_callback, cp_from_locale, coding_from_cp): |
2643 | New local functions. | |
52c7f9ee JR |
2644 | |
2645 | (term_w32select, globals_of_w32select): New global functions. | |
2646 | ||
2647 | (Fw32_set_clipboard_data): Ignore parameter FRAME, use | |
2648 | clipboard_owner instead. Use delayed rendering and provide | |
2649 | all text formats. Provide CF_LOCALE if necessary. | |
2650 | ||
2651 | (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and | |
2652 | CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not | |
2653 | available. Force DOS line-ends for decoding. | |
2654 | ||
2655 | (Fx_selection_exists_p): Handle CF_UNICODETEXT. | |
2656 | ||
2657 | (syms_of_w32select): Init and register new variables. | |
2658 | ||
2659 | * w32.h: Add prototypes for globals_of_w32select and | |
2660 | term_w32select. Make the neighboring K&R declarations into | |
2661 | prototypes, too. | |
2662 | ||
2663 | * emacs.c: Include w32.h to get function prototypes. | |
2664 | (main): Call globals_of_w32select. | |
2665 | ||
886b1418 | 2666 | * w32.c (term_ntproc): Call term_w32select. |
52c7f9ee JR |
2667 | |
2668 | * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. | |
2669 | ||
86e61586 KS |
2670 | 2005-02-16 Kim F. Storm <storm@cua.dk> |
2671 | ||
2672 | * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and | |
2673 | at end of display vector. | |
2674 | ||
6407f07b RS |
2675 | 2005-02-15 Richard M. Stallman <rms@gnu.org> |
2676 | ||
2677 | * xdisp.c (get_next_display_element): Fix escape-glyph criterion | |
2678 | for mode and header lines. | |
2679 | ||
2680 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
2681 | ||
2682 | * keymap.h (describe_map_tree): Change decl. | |
2683 | ||
2684 | * keyboard.c (command_loop_1): Always use safe_run_hooks | |
2685 | to run Qdeferred_action_function. | |
2686 | ||
2687 | * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. | |
2688 | (describe_map, describe_vector): Likewise. When it's 1, | |
2689 | don't omit shadowed bindings, instead mark them as shadowed. | |
2690 | ||
2691 | * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps | |
2692 | for describe_map_tree. Pass 1 for MENTION_SHADOW. | |
2693 | ||
2694 | * data.c (Fsetq_default): Allow no arg case. | |
2695 | ||
3bb917bf KH |
2696 | 2005-02-14 Kenichi Handa <handa@m17n.org> |
2697 | ||
2698 | * coding.c (encode_coding_string): Always return a unibyte string. | |
2699 | If NOCOPY is nonzero and there's no need of encoding, make STR | |
2700 | unibyte directly. | |
2701 | ||
2702 | * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII | |
2703 | multibyte string, signal an error instead of aborting. | |
2704 | ||
e31d908f DN |
2705 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> |
2706 | ||
2707 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | |
2708 | ||
48e029b6 KS |
2709 | 2005-02-12 Kim F. Storm <storm@cua.dk> |
2710 | ||
2711 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | |
2712 | ||
c10bb00a KS |
2713 | 2005-02-10 Kim F. Storm <storm@cua.dk> |
2714 | ||
2715 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | |
2716 | if it moves outside window or it doesn't display text. | |
2717 | ||
9ca0f64a KS |
2718 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
2719 | ||
2720 | * undo.c (Fprimitive_undo): Check that undo function does not | |
2721 | switch buffer. | |
2722 | ||
b8d6f4af JD |
2723 | 2005-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2724 | ||
2725 | * xselect.c (selection_data_to_lisp_data): For the special case | |
2726 | type == XA_ATOM, data contains array of int, not array of Atom. | |
d5161e8c SM |
2727 | (x_property_data_to_lisp, selection_data_to_lisp_data): |
2728 | Comment update: data must be array of int for format == 32. | |
b8d6f4af | 2729 | |
3419757d SM |
2730 | 2005-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
2731 | ||
2732 | * undo.c (Fprimitive_undo): Check veracity of delta,start,end. | |
2733 | ||
3a441526 JD |
2734 | 2005-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2735 | ||
fc34503b JD |
2736 | * xfns.c (Fx_change_window_property): Use long array when format is 32. |
2737 | (Fx_window_property): If format is 32 and long is bigger than 32 bits, | |
2738 | convert long array returned from XGetWindowProperty to an int array. | |
bae45dc3 JD |
2739 | (x_set_tool_bar_lines): Check that width and height is greater than |
2740 | zero before clearing area. | |
fc34503b JD |
2741 | |
2742 | * xselect.c (x_reply_selection_request): Pass long array to | |
2743 | XChangeProperty so that 64 bit longs are handeled correctly. | |
2744 | (x_get_window_property): If format is 32 and long is bigger than 32 | |
2745 | bits convert data from XGetWindowProperty from long array to int array. | |
2746 | (lisp_data_to_selection_data): When the input is a vector and the | |
2747 | format is 32, allocate a long array even if long is bigger than 32 bits. | |
2748 | (x_fill_property_data): Use char, short and long as the man page | |
2749 | for XChangeProperty specifies. This way the data returned is OK for | |
2750 | both 32 and 64 bit machines. | |
2751 | (x_handle_dnd_message): Calculate size correctly even for 64 bit | |
2752 | machines. | |
2753 | (Fx_send_client_event): Undo change from 2005-02-05, | |
2754 | x_fill_property_data now handles that case. | |
2755 | ||
3419757d | 2756 | * xfns.c (Fx_backspace_delete_keys_p): Add comment about the |
3a441526 JD |
2757 | reason for the approach in the code. |
2758 | ||
82ec225b KS |
2759 | 2005-02-07 Kim F. Storm <storm@cua.dk> |
2760 | ||
2761 | * undo.c (Fprimitive_undo): Record max one dummmy apply element. | |
2762 | ||
ba2c991c RS |
2763 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
2764 | ||
2765 | * eval.c (Frun_hook_with_args) | |
2766 | (Frun_hook_with_args_until_success) | |
2767 | (Frun_hook_with_args_until_failure): Doc fixes. | |
2768 | ||
e120ea40 AS |
2769 | 2005-02-05 Andreas Schwab <schwab@suse.de> |
2770 | ||
3419757d | 2771 | * sysdep.c (sys_subshell): Properly terminate execlp argument list. |
e120ea40 | 2772 | |
31f16913 JD |
2773 | 2005-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2774 | ||
2775 | * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle | |
2776 | the longs in a XClientMessageEvent correctly when long is 64 bits. | |
2777 | ||
6082a820 EZ |
2778 | 2005-02-05 Eli Zaretskii <eliz@gnu.org> |
2779 | ||
2780 | * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM | |
2781 | instead of HAVE_X_WINDOWS, for non-X windowed sessions. | |
2782 | ||
0e95095b JD |
2783 | 2005-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2784 | ||
2785 | * xmenu.c (menubar_selection_callback): Force out GTK buffered | |
2786 | events so the menu event comes after them. This is to prevent sit-for | |
2787 | from exiting on buffered events directly after a menu selection, | |
2788 | lisp code for Help => About Emacs uses sit-for. | |
2789 | ||
2790 | * gtkutil.c (create_menus): Connect selection-done event instead of | |
2791 | the deactivate event to deactivate_cb. This will make the last | |
2792 | leave event come before the call to deactivate_cb, so the leave | |
2793 | event does not make sit-for exit after a menu selection. | |
2794 | ||
5bb6a3c1 KS |
2795 | 2005-02-03 Kim F. Storm <storm@cua.dk> |
2796 | ||
2797 | * dispnew.c (build_frame_matrix_from_leaf_window) | |
2798 | [!GLYPH_DEBUG]: Fix xassert. | |
2799 | ||
2800 | * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. | |
2801 | ||
2802 | * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
2803 | ||
e9859e26 YM |
2804 | 2005-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2805 | ||
2806 | * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by | |
2807 | the compiling OS version. | |
2808 | ||
2809 | * macfns.c (x_create_tip_frame): Likewise. | |
2810 | ||
3419757d | 2811 | * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. |
e9859e26 | 2812 | |
4e07258f RS |
2813 | 2005-02-03 Richard M. Stallman <rms@gnu.org> |
2814 | ||
2815 | * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. | |
2816 | ||
2817 | * xdisp.c (echo_area_display): Clear echo_message_buffer. | |
2818 | ||
2819 | * buffer.c (Fbury_buffer): Doc fix. | |
2820 | ||
4a34b529 ST |
2821 | 2005-02-02 Steven Tamm <steventamm@mac.com> |
2822 | ||
7e26f91b | 2823 | * macfns.c (unwind_create_frame): Fix compile error due to |
f6c62d96 | 2824 | xassert being uncondition, but predicate is. |
7e26f91b | 2825 | * dispnew.c (update_window): Fix compile error due to |
f6c62d96 | 2826 | xassert being uncondition, but predicate is. |
4a34b529 | 2827 | |
d78f30b8 MB |
2828 | 2005-02-02 Miles Bader <miles@gnu.org> |
2829 | ||
2830 | * dispextern.h (xassert): Enable unconditionally. | |
2831 | ||
b044278d KS |
2832 | 2005-02-02 Kim F. Storm <storm@cua.dk> |
2833 | ||
2834 | * undo.c (Fprimitive_undo): Fix dummy apply undo entry. | |
2835 | ||
56072160 KH |
2836 | 2005-02-02 Kenichi Handa <handa@m17n.org> |
2837 | ||
2838 | * casefiddle.c (casify_object): Enable changing characters of | |
2839 | different byte length. | |
2840 | (casify_region): Fix loop condition, args to replace_range_2, and | |
2841 | update opoint_byte. | |
2842 | ||
f4a5a485 | 2843 | * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. |
56072160 | 2844 | |
5e1674c5 KS |
2845 | 2005-02-01 Kim F. Storm <storm@cua.dk> |
2846 | ||
2847 | * xdisp.c (back_to_previous_visible_line_start): Reset iterator | |
2848 | stack before calling handle_display_prop. | |
2849 | ||
fb89c330 KS |
2850 | 2005-01-31 Kim F. Storm <storm@cua.dk> |
2851 | ||
2852 | * undo.c (Qapply): New lisp var. | |
2853 | (syms_of_undo): Intern and staticpro it. | |
2854 | (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and | |
2855 | (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). | |
2856 | ||
2857 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
2858 | ||
7bf72fa6 JH |
2859 | 2005-01-30 Jesper Harder <harder@phys.au.dk> |
2860 | ||
a050b1a9 KS |
2861 | * macterm.c (syms_of_macterm) <mac-reverse-ctrl-meta> |
2862 | <mac-emulate-three-button-mouse>: Fix docstring indentation. | |
7bf72fa6 | 2863 | |
03c64f2e LT |
2864 | 2005-01-29 Luc Teirlinck <teirllm@auburn.edu> |
2865 | ||
2866 | * undo.c (syms_of_undo) <undo-outer-limit>: Doc update. | |
6de38aa3 | 2867 | Increase value to 3 Meg. |
03c64f2e | 2868 | |
49b8b5dc JD |
2869 | 2005-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2870 | ||
2871 | * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, | |
2872 | button events are not received otherwise. | |
2873 | ||
5a92a9eb RS |
2874 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
2875 | ||
2876 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
2877 | ||
2878 | * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. | |
2879 | ||
5c243ee4 SM |
2880 | 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2881 | ||
2882 | * keymap.c (access_keymap): YAILOM. | |
2883 | ||
caf533af KS |
2884 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
2885 | ||
2886 | * xdisp.c (get_phys_cursor_geometry): New function to calculate | |
2887 | phys cursor position and size for hollow cursor. Position is | |
2888 | aligned with get_glyph_string_clip_rect and ensures that a hollow | |
2889 | cursor is shown, even when the actual glyph is not visible. | |
2890 | ||
2891 | * dispextern.h (get_phys_cursor_geometry): Add prototype. | |
2892 | ||
2893 | * xterm.c (x_clip_to_row): Ensure y >= 0. | |
2894 | (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
2895 | ||
2896 | * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
2897 | ||
2898 | * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
2899 | ||
043f7f73 SM |
2900 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
2901 | ||
2902 | * xterm.c (x_error_quitter): Add a prototype. Make it static again. | |
2903 | ||
889f3641 KS |
2904 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
2905 | ||
2906 | * xdisp.c (get_glyph_string_clip_rect): Always show a cursor | |
2907 | glyph, even when row is only partially visible and actual cursor | |
2908 | position is not visible. | |
2909 | ||
29099c2f RS |
2910 | 2005-01-24 Richard M. Stallman <rms@gnu.org> |
2911 | ||
2912 | * xterm.c (x_error_quitter): No longer static, and moved after | |
2913 | x_error_handler. | |
2914 | ||
6adb6f01 KS |
2915 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
2916 | ||
2917 | * xdisp.c (move_it_by_lines): If we move forward after going too | |
2918 | far back, cancel move if end position is same as start position. | |
2919 | ||
4d904fa0 ST |
2920 | 2005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2921 | ||
2922 | * dispextern.h (struct glyph_string): New members clip_head and | |
2923 | clip_tail. | |
6adb6f01 | 2924 | |
4d904fa0 ST |
2925 | * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip |
2926 | region to the area between clip_head and clip_tail. | |
2927 | (draw_glyphs): Record the area that need to be actually redrawn to | |
2928 | the new variables clip_head and clip_tail when there are | |
2929 | overhangs. Set values of these variables to the corresponding | |
2930 | members in struct glyph_string. Refine x coordinates for | |
2931 | notice_overwritten_cursor using clip_head and clip_tail. | |
6adb6f01 | 2932 | |
4d904fa0 ST |
2933 | * macgui.h (STORE_XCHARSETSTRUCT): New macro. |
2934 | ||
2935 | * macterm.c (mac_compute_glyph_string_overhangs): Implement with | |
2936 | QDTextBounds. | |
2937 | (x_draw_glyph_string): Don't fill the background of the successor | |
6adb6f01 | 2938 | of a glyph with a right overhang if the successor will draw a cursor. |
4d904fa0 | 2939 | (XLoadQueryFont): Obtain font metrics using QDTextBounds. |
6adb6f01 | 2940 | (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. |
4d904fa0 | 2941 | |
f2417699 KS |
2942 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
2943 | ||
6f67f013 KS |
2944 | * window.c (window_scroll_pixel_based): Fix scrolling in the wrong |
2945 | direction if window height was smaller than next-screen-context-lines. | |
2946 | Now always scroll at least one line in the requested direction. | |
2947 | Ensure that we actually do scroll backwards when requested to do so. | |
2948 | ||
f2417699 KS |
2949 | * xdisp.c (redisplay_window): Only try to make cursor line fully |
2950 | visible once (to avoid redisplay loop). | |
2951 | ||
a354b72c KS |
2952 | 2005-01-23 Kim F. Storm <storm@cua.dk> |
2953 | ||
6b3d88f7 | 2954 | * window.c (Fpos_visible_in_window_p): Simplify return value for |
8f958b40 | 2955 | partially visible rows. |
6b3d88f7 KS |
2956 | (window_scroll_pixel_based): Adapt to that change. |
2957 | ||
5c20cae2 KS |
2958 | * window.c (window_scroll_pixel_based): Force moving to next line |
2959 | if scrolling doesn't move start point, e.g. if looking at tall image. | |
2960 | ||
a354b72c | 2961 | * xdisp.c (pos_visible_p): Return 0 if non-interactive. |
5c20cae2 KS |
2962 | Clear last_height before calling line_bottom_y to get real height. |
2963 | Fix calculation of y. | |
a354b72c | 2964 | |
d9e7c622 ST |
2965 | 2005-01-22 Steven Tamm <steventamm@mac.com> |
2966 | ||
2967 | * s/darwin.h: Removed PTY_ITERATION from here. | |
043f7f73 | 2968 | (DARWIN): Define. |
7e26f91b | 2969 | |
d9e7c622 ST |
2970 | * process.c (init_process): Default process-connection-type to |
2971 | nil on darwin 6 or less, t if it is 7 or higher. This way the | |
2972 | broken pty behavior is still allowed on darwin 6 for interactive | |
2973 | processes for people that know what they are doing. | |
2974 | ||
d00e399a KS |
2975 | 2005-01-22 Kim F. Storm <storm@cua.dk> |
2976 | ||
2977 | * window.c (auto_window_vscroll_p): New boolean. | |
2978 | (syms_of_window): DEFVAR_BOOL it. | |
2979 | (Fpos_visible_in_window_p): Extend return value to include RTOP | |
2980 | and RBOT values if FULLY is nil. | |
2981 | (window_scroll_pixel_based): Adjust vscroll for partially visible | |
2982 | rows if auto_window_vscroll_p is set. | |
2983 | (Fset_window_vscroll): Do nothing if vscroll is not modified. | |
2984 | ||
2985 | * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args | |
2986 | to return number of partially invisible pixels at top and bottom | |
2987 | of the dislay row at POS. | |
2988 | ||
2989 | * lisp.h (pos_visible_p): Fix prototype. | |
2990 | ||
f95a20e7 RS |
2991 | 2005-01-21 Richard M. Stallman <rms@gnu.org> |
2992 | ||
2993 | * fileio.c (Fcopy_file): Doc fix. | |
2994 | ||
eee141ce JD |
2995 | 2005-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2996 | ||
2997 | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | |
2998 | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to | |
2999 | start of function for older compilers. | |
3000 | ||
6f771c32 RS |
3001 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
3002 | ||
3003 | * editfns.c (Fmessage): If arg is "", return "" (as before). | |
3004 | ||
3005 | * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. | |
3006 | ||
3007 | * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp | |
3008 | variable. | |
3009 | ||
a15252fd ST |
3010 | 2005-01-20 Steven Tamm <steventamm@mac.com> |
3011 | ||
043f7f73 | 3012 | * editfns.c (Voperating_system_release): Add. |
a15252fd ST |
3013 | (init_editfns): Assign new variable operating-system-release |
3014 | based on call to uname if available. | |
043f7f73 | 3015 | (get_operating_system_release): Add function to |
d00e399a | 3016 | allow c-level access to operating system release. |
a15252fd ST |
3017 | |
3018 | * config.h: Regenerated. | |
3019 | ||
043f7f73 SM |
3020 | * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. |
3021 | (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for | |
a15252fd ST |
3022 | using ptys as '7'. |
3023 | ||
3d6a4b2d KS |
3024 | 2005-01-20 Kim F. Storm <storm@cua.dk> |
3025 | ||
62fc9b0f KS |
3026 | * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. |
3027 | ||
c310aca4 KS |
3028 | * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. |
3029 | Thanks to Chong Yidong <cyd@stupidchicken.com> for debugging this. | |
3030 | ||
3031 | * macterm.c (x_draw_glyph_string_box): Likewise. | |
3032 | ||
3033 | * w32term.c (x_draw_glyph_string_box): Likewise. | |
3034 | ||
3d6a4b2d KS |
3035 | * indent.c (Fvertical_motion): Temporarily disable selective display. |
3036 | ||
27c8be45 KS |
3037 | 2005-01-19 Kim F. Storm <storm@cua.dk> |
3038 | ||
77db5cf3 KS |
3039 | * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer |
3040 | image property. | |
3041 | ||
27c8be45 KS |
3042 | * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. |
3043 | ||
81f498dc KS |
3044 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
3045 | ||
3046 | * xdisp.c (fast_find_position): Backtrack to find first row if | |
3047 | charpos is inside a display overlay that spans multiple lines. | |
3048 | ||
1cdb0707 KH |
3049 | 2005-01-18 Kenichi Handa <handa@m17n.org> |
3050 | ||
3051 | * coding.c (decode_coding_iso2022): Translate invalid codes if | |
3052 | translation-table is specified. | |
3053 | ||
677159ce KS |
3054 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
3055 | ||
3056 | * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 | |
3057 | change. If handle_display_prop indicates newline is replaced by | |
3058 | image or text, move back to start of relevant overlay or interval | |
3059 | and continue scan from there. Simplify. | |
3060 | ||
977284cc KS |
3061 | 2005-01-17 Kim F. Storm <storm@cua.dk> |
3062 | ||
043f7f73 SM |
3063 | * dispnew.c (mode_line_string, marginal_area_string): |
3064 | Fix off-by-one error in search for glyph. | |
977284cc | 3065 | |
e24531b7 KS |
3066 | 2005-01-16 Kim F. Storm <storm@cua.dk> |
3067 | ||
3068 | * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. | |
3069 | ||
5ddd7664 ST |
3070 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
3071 | ||
043f7f73 | 3072 | * macterm.c (mac_to_x_fontname): Remove spurious argument. |
5ddd7664 | 3073 | |
fc2ff44b AS |
3074 | 2005-01-16 Andreas Schwab <schwab@suse.de> |
3075 | ||
3076 | * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. | |
3077 | ||
50af5100 JD |
3078 | 2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3079 | ||
3080 | * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning | |
3081 | fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. | |
3082 | ||
a2d5fca0 JD |
3083 | 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3084 | ||
3085 | * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) | |
e24531b7 KS |
3086 | (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): |
3087 | New flags for readable_events. | |
043f7f73 | 3088 | (get_filtered_input_pending, readable_filtered_events): Remove. |
a2d5fca0 JD |
3089 | (tracking_off): Call readable_events and get_input_pending with |
3090 | flag READABLE_EVENTS_DO_TIMERS_NOW. | |
3091 | (readable_events): Move code from old readable_filtered_events here, | |
3092 | but check new READABLE_EVENTS_* in argument flags instead of previous | |
3093 | two boolean arguments do_timers_now and filter_events. | |
3094 | If we are doing mouse tracking and the mouse moved, return only if | |
3095 | READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. | |
3096 | (swallow_events): Call get_input_pending with flag | |
3097 | READABLE_EVENTS_DO_TIMERS_NOW. | |
e24531b7 | 3098 | (get_input_pending): Move code from old get_filtered_input_pending |
a2d5fca0 JD |
3099 | here. Replace boolean arguments do_timers_now, filter_events with |
3100 | flags, and pass flags to readable_events. Document new | |
3101 | READABLE_EVENTS_* flags. | |
3102 | (detect_input_pending_ignore_squeezables): New function. | |
3103 | (detect_input_pending_run_timers): Call get_input_pending with flag | |
3104 | READABLE_EVENTS_DO_TIMERS_NOW. | |
3105 | (Finput_pending_p): Call get_input_pending with flags | |
3106 | READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. | |
3107 | ||
3108 | * dispnew.c (update_window, update_frame_1): Replace calls to | |
3109 | detect_input_pending with detect_input_pending_ignore_squeezables | |
e24531b7 | 3110 | so that redisplay is not paused if the event queue contains only |
a2d5fca0 JD |
3111 | mouse movements. |
3112 | ||
3113 | * lisp.h: Declare detect_input_pending_ignore_squeezables. | |
3114 | ||
42afbcda ST |
3115 | 2005-01-15 Steven Tamm <steventamm@mac.com> |
3116 | ||
e24531b7 KS |
3117 | * macterm.c (Vmac_use_core_graphics): Declare variable for |
3118 | mac-allow-anti-aliasing. | |
3119 | (syms_of_macterm): DEFVAR_LISP and initialize it. | |
743d0696 | 3120 | (mac_draw_string_common): Use core graphics text rendering if |
0530c679 | 3121 | mac-allow-anti-aliasing is enabled. |
743d0696 | 3122 | |
42afbcda ST |
3123 | * macfns.c (Fx_file_dialog): Save As dialog includes only the |
3124 | file name in the text box. | |
3125 | ||
9cdd4884 ST |
3126 | 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3127 | ||
043f7f73 SM |
3128 | * macfns.c (x_set_foreground_color, x_set_background_color): |
3129 | Sync with xfns.c. | |
9cdd4884 ST |
3130 | (mac_window, x_create_tip_frame): Use XSetWindowBackground. |
3131 | * macterm.c (XSetBackground, XSetWindowBackground): New functions. | |
3132 | * macterm.h (XSetBackground, XSetWindowBackground): Add externs. | |
3133 | ||
88948d55 KS |
3134 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
3135 | ||
3136 | * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. | |
3137 | ||
20d6de82 RS |
3138 | 2005-01-13 Richard M. Stallman <rms@gnu.org> |
3139 | ||
3140 | * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map | |
3141 | if Voverriding_terminal_local_map is non-nil. | |
3142 | ||
3143 | * keyboard.c (syms_of_keyboard): Doc fix. | |
3144 | ||
f75a592e KS |
3145 | 2005-01-13 Kim F. Storm <storm@cua.dk> |
3146 | ||
3147 | * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg | |
52eb0373 | 3148 | (specify 0 for FACE instead). Reorder arg list. Doc fix. |
f75a592e | 3149 | |
28f94a34 RS |
3150 | 2005-01-12 Richard M. Stallman <rms@gnu.org> |
3151 | ||
3152 | * xdisp.c (Fformat_mode_line): New arg FACE specifies a default | |
3153 | face property for characters that don't specify one. | |
3154 | ||
3155 | * fns.c (Frequire): Record in load-history unconditionally. | |
3156 | ||
57a230b1 KS |
3157 | 2005-01-10 Kim F. Storm <storm@cua.dk> |
3158 | ||
3159 | * dispextern.h (merge_faces): Rename from merge_into_realized_face. | |
3160 | ||
3161 | * xfaces.c (merge_faces): Rename from merge_into_realized_face. | |
3162 | Callers changed. | |
3163 | Add support to merge with lisp face id too (if face_name is t). | |
3164 | ||
3165 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
3166 | Don't lookup lface_id from display table glyphs here; instead use | |
3167 | merge_faces to merge the lisp face id into current face. | |
3168 | ||
8ab2c119 KS |
3169 | 2005-01-09 Kim F. Storm <storm@cua.dk> |
3170 | ||
3171 | * dispextern.h (struct it): New member dpvec_face_id. | |
3172 | (merge_into_realized_face): Add prototype. | |
3173 | ||
3174 | * xfaces.c (merge_into_realized_face): New function. Used to | |
3175 | merge escape-glyph face or face from display table into current face. | |
3176 | ||
3177 | * xdisp.c (Vshow_nonbreak_escape): New lisp var. | |
3178 | (syms_of_xdisp): DEFVAR_LISP it. | |
3179 | (escape_glyph_face): Remove var. | |
3180 | (redisplay_window): Don't initialize it. | |
3181 | (setup_for_ellipsis, get_next_display_element): | |
3182 | Set it->dpvec_face_id to -1. | |
3183 | (get_next_display_element): Test Vshow_nonbreak_escape. | |
3184 | Do not setup escape_glyph_face. | |
3185 | Properly merge escape-glyph face or face from display table with | |
043f7f73 SM |
3186 | current face for escape and control characters. |
3187 | Set it->dpvec_face_id to relevant face id instead of adding it to each | |
8ab2c119 KS |
3188 | element of display vector. |
3189 | (next_element_from_display_vector): If it->dpvec_face_id is set, | |
3190 | use that instead of lface_id from glyph itself. | |
3191 | ||
e0910857 JD |
3192 | 2005-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3193 | ||
3194 | * xterm.h (struct x_output): New member, toolbar_detached. | |
3195 | ||
3196 | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to | |
3197 | 38. | |
3198 | (xg_tool_bar_detach_callback): Set toolbar_detached to 1. | |
3199 | (xg_tool_bar_attach_callback): Set toolbar_detached to 0. | |
3200 | (xg_create_tool_bar): Initialize toolbar_detached. | |
3201 | (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if | |
3202 | toolbar_detached is zero. | |
3203 | ||
ff59904a JD |
3204 | 2005-01-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3205 | ||
9b85e63d JD |
3206 | * xmenu.c (create_and_show_popup_menu): Pass zero as button to |
3207 | gtk_menu_popup if not for_click, so callbacks for the menu are called. | |
3208 | ||
ff59904a JD |
3209 | * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) |
3210 | (xg_tool_bar_callback, xg_tool_bar_help_callback) | |
043f7f73 | 3211 | (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. |
ff59904a JD |
3212 | |
3213 | * xselect.c (x_get_foreign_selection, x_fill_property_data) | |
8ab2c119 | 3214 | (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with |
ff59904a JD |
3215 | XFLOAT_DATA to get extract number from Lisp object. |
3216 | ||
f9a23a6f KS |
3217 | 2005-01-07 Kim F. Storm <storm@cua.dk> |
3218 | ||
3219 | * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. | |
3220 | Set stop_charpos to current charpos instead of 0. | |
3221 | ||
28f94a34 RS |
3222 | 2005-01-06 Nick Roberts <nickrob@snap.net.nz> |
3223 | ||
3224 | * xdisp.c (Fformat_mode_line): First arg now required. | |
3225 | ||
a6fffcdc ST |
3226 | 2005-01-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3227 | ||
3228 | * macterm.c (XLoadQueryFont): Correctly handle 0 size | |
3229 | font widths that are returned from some Japanese fonts. | |
3230 | ||
c35b0c6b KS |
3231 | 2005-01-06 Kim F. Storm <storm@cua.dk> |
3232 | ||
3233 | * fringe.c (fringe_faces): Change to Lisp_Object pointer. | |
3234 | (draw_fringe_bitmap_1): Lookup user defined fringe faces here. | |
3235 | (destroy_fringe_bitmap): Set fringe_faces element to nil. | |
3236 | (Fdefine_fringe_bitmap, init_fringe): Change allocation of | |
3237 | fringe_faces array and init elements to nil. | |
3238 | (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of | |
3239 | non-persistent face id. | |
3240 | (mark_fringe_data): New function for GC. | |
3241 | ||
3242 | * alloc.c (mark_fringe_data): Declare extern. | |
3243 | (Fgarbage_collect): Call mark_fringe_data. | |
3244 | ||
3245 | * alloc.c (overrun_check_free): Invalidate freed memory if | |
3246 | XMALLOC_CLEAR_FREE_MEMORY is defined. | |
3247 | ||
e0e76ab9 ST |
3248 | 2005-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3249 | ||
3250 | * macfns.c: Include sys/param.h. | |
3251 | [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration | |
3252 | and function. | |
3253 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | |
3254 | of filename string. Set event callback function when creating | |
3255 | dialog boxes. Add code conversions for filenames. Don't dispose | |
3256 | apple event descriptor record if failed to create it. | |
3257 | ||
3258 | * macterm.c: Include sys/param.h. | |
3259 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | |
3260 | kEventWindowUpdate. | |
3261 | (install_window_handler) [USE_CARBON_EVENTS]: Register it. | |
3262 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead | |
3263 | of FSSpec from apple event descriptor record. | |
3264 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for | |
3265 | size of filename string. | |
3266 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. | |
3267 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a | |
3268 | file dialog is in action. | |
043f7f73 SM |
3269 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. |
3270 | Reject only when there are no filename items. Set background color | |
e0e76ab9 | 3271 | before (un)highlighting the window below the dragged items. |
2313f861 | 3272 | (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. |
e0e76ab9 | 3273 | |
043bc640 KH |
3274 | 2005-01-05 Romain Francoise <romain@orebokech.com> |
3275 | ||
3276 | * term.c (encode_terminal_code): Fix buffer size computation. | |
3277 | ||
dd496df6 RS |
3278 | 2005-01-04 Richard M. Stallman <rms@gnu.org> |
3279 | ||
3280 | * xdisp.c (Fformat_mode_line): Doc fix. | |
3281 | ||
026cdede SM |
3282 | 2005-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
3283 | ||
3284 | * alloc.c (refill_memory_reserve): Move. | |
3285 | (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) | |
3286 | (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. | |
3287 | ||
d57c7572 RS |
3288 | 2005-01-03 Richard M. Stallman <rms@gnu.org> |
3289 | ||
3290 | * window.c (window_scroll_pixel_based): Don't correct preserve_y | |
3291 | for CURRENT_HEADER_LINE_HEIGHT when moving backwards. | |
3292 | ||
b14f868c JR |
3293 | 2005-01-03 Jason Rumney <jasonr@gnu.org> |
3294 | ||
3295 | * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and | |
3296 | fontp->space_width to FONT_WIDTH so they are valid. | |
3297 | ||
3298 | * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not | |
52eb0373 | 3299 | average width. Set fontp->average_width and fontp->space_width to |
b14f868c JR |
3300 | their appropriate values. |
3301 | ||
3302 | * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
3303 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
3304 | fontp->space_width. | |
3305 | ||
e169f939 ST |
3306 | 2005-01-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3307 | ||
3308 | * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. | |
3309 | (x_font_min_bounds, XLoadQueryFont): Use the correct font width | |
3310 | metrics for max and min bounds. | |
3311 | (x_load_font): Correctly calculate average font width metrics. | |
3312 | ||
19996af4 RS |
3313 | 2005-01-02 Richard M. Stallman <rms@gnu.org> |
3314 | ||
3315 | * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. | |
3316 | ||
42d02da0 JD |
3317 | 2004-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3318 | ||
3319 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | |
3320 | ||
1db7dd46 RS |
3321 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
3322 | ||
b437860a RS |
3323 | * xdisp.c (setup_for_ellipsis, get_next_display_element): |
3324 | Set it->ellipsis_p to 1 or 0. | |
3325 | (display_line): Record whether row ends in mid-ellipsis. | |
52eb0373 | 3326 | (set_cursor_from_row): If ends in ellipsis, find start of it. |
b437860a RS |
3327 | (cursor_row_p): If PT's at the end of the ellipsis the row |
3328 | ends within, don't display cursor on this row. | |
3329 | ||
3330 | * dispextern.h (struct it): New element ellipsis_p. | |
3331 | (struct glyph_row): New element ends_in_ellipsis_p. | |
3332 | ||
3333 | * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified | |
3334 | position if we're reading from something other than the buffer. | |
3335 | ||
1db7dd46 RS |
3336 | * window.c (window_scroll_pixel_based): Only look at |
3337 | Vscroll_preserve_screen_position if the old PT can't be kept. | |
3338 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. | |
3339 | ||
1225f637 KS |
3340 | 2004-12-30 Kim F. Storm <storm@cua.dk> |
3341 | ||
3342 | * xdisp.c (get_line_height_property): New function extracted from | |
3343 | original calc_line_height_property. | |
3344 | (calc_line_height_property): Rework. Handle t and (nil . ratio). | |
3345 | (x_produce_glyphs): Use them to handle line-height and | |
3346 | line-spacing according to new height spec. | |
3347 | (Qtotal): Remove. | |
33b2f4ea | 3348 | (syms_of_xdisp): Remove intern and staticpro for Qtotal. |
1225f637 | 3349 | |
c243063e KH |
3350 | 2004-12-30 Kenichi Handa <handa@m17n.org> |
3351 | ||
3352 | * fileio.c (Finsert_file_contents): Don't use | |
3353 | current_buffer->buffer_file_coding_system even if REPLACE is | |
043f7f73 | 3354 | non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. |
c243063e KH |
3355 | |
3356 | * fontset.h (struct font_info): New members space_width and | |
3357 | average_width. | |
3358 | ||
3359 | * frame.h (struct frame): New member space_width. | |
3360 | (FRAME_SPACE_WIDTH): New macro. | |
3361 | ||
3362 | * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. | |
3363 | ||
3364 | * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
3365 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
b14f868c | 3366 | fontp->space_width. |
043f7f73 | 3367 | (x_load_font): Calculate fontp->space_width and fontp->average_width. |
c243063e KH |
3368 | (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. |
3369 | ||
3370 | * xdisp.c (x_produce_glyphs): Calculate tab width by | |
3371 | FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. | |
3372 | ||
456e761b ST |
3373 | 2004-12-29 Sanghyuk Suh <han9kin@mac.com> |
3374 | ||
3375 | * macterm.c (SelectionRange): Add Xcode position apple event struct. | |
043f7f73 | 3376 | (do_ae_open_documents): Handle Xcode-style file position open events. |
456e761b | 3377 | |
188577ce LT |
3378 | 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> |
3379 | ||
3380 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. | |
3381 | ||
99ec74b9 RS |
3382 | 2004-12-29 Richard M. Stallman <rms@gnu.org> |
3383 | ||
3384 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Doc fix. | |
3385 | ||
30c92fab ST |
3386 | 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3387 | ||
3388 | * macfns.c (install_window_handler): Modify extern to return OSErr | |
3389 | value. | |
3390 | (mac_window): Handle return value of install_window_handler. | |
3391 | ||
3392 | * macterm.c (reflect_byte): Remove function. | |
3393 | (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. | |
3394 | Lookup table instead. | |
3395 | (mac_do_font_lists): Simplify calculation of the longest | |
3396 | nonspecial string. | |
3397 | (init_mac_drag_n_drop): Remove function and declaration. | |
3398 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
3399 | init_mac_drag_n_drop. | |
3400 | (mac_do_track_drag): New function and declaration. | |
3401 | (install_window_handler): Return OSErr value. | |
043f7f73 SM |
3402 | (install_window_handler) [TARGET_API_MAC_CARBON]: |
3403 | Register handlers for tracking/receiving drag-and-drop items. | |
30c92fab | 3404 | (do_ae_open_documents): Generate unibyte strings for filenames. |
043f7f73 SM |
3405 | (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise. |
3406 | Reject only non-filename items. Set event modifiers, and return value. | |
30c92fab | 3407 | |
4b982924 DN |
3408 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
3409 | ||
3410 | * coding.c (decode_coding): Fix previous change. | |
3411 | ||
93fdf45f RS |
3412 | 2004-12-28 Richard M. Stallman <rms@gnu.org> |
3413 | ||
3414 | * xdisp.c (back_to_previous_visible_line_start): | |
3415 | Don't call handle_display_prop. | |
3416 | ||
5bdca8af DN |
3417 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
3418 | ||
3419 | * coding.c (decode_coding_XXX, decode_composition_emacs_mule) | |
3420 | (decode_coding_emacs_mule, encode_coding_emacs_mule) | |
3421 | (decode_coding_iso2022, encode_designation_at_bol) | |
3422 | (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) | |
3423 | (decode_coding): Constify arguments and local vars. | |
3424 | ||
33385c6f JD |
3425 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3426 | ||
3427 | * xmenu.c (popup_get_selection): Only pop down dialogs | |
3428 | on C-g and Escape. | |
95bdef2e | 3429 | (popup_get_selection): Remove parameter down_on_keypress. |
043f7f73 SM |
3430 | (create_and_show_popup_menu, create_and_show_dialog): |
3431 | Remove parameter down_on_keypress to popup_get_selection. | |
33385c6f | 3432 | |
b15325b2 ST |
3433 | 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3434 | ||
3435 | * dispextern.h: Change HAVE_CARBON to MAC_OS. | |
3436 | (struct glyph_string): Likewise. | |
a2c7e69a | 3437 | |
b15325b2 ST |
3438 | * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of |
3439 | mac_initialize. | |
a2c7e69a | 3440 | |
b15325b2 ST |
3441 | * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): |
3442 | Change TARGET_API_MAC_CARBON to HAVE_CARBON. | |
a2c7e69a | 3443 | |
b15325b2 | 3444 | * fns.c (vector): Change MAC_OSX to MAC_OS. |
a2c7e69a | 3445 | |
b15325b2 ST |
3446 | * frame.c (x_set_frame_parameters, x_report_frame_params) |
3447 | (x_set_fullscreen): Remove #ifndef HAVE_CARBON. | |
043f7f73 SM |
3448 | (x_set_border_width, Vdefault_frame_scroll_bars): |
3449 | Change HAVE_CARBON to MAC_OS. | |
a2c7e69a | 3450 | |
b15325b2 ST |
3451 | * image.c [MAC_OS]: Include sys/stat.h. |
3452 | [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and | |
3453 | QuickTimeComponents.h. | |
a2c7e69a | 3454 | |
b15325b2 ST |
3455 | * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. |
3456 | [!MAC_OSX] (select): Use mac_wait_next_event. | |
043f7f73 | 3457 | [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. |
b15325b2 ST |
3458 | [!MAC_OSX] (select, run_mac_command): Change `#ifdef |
3459 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
3460 | (mac_clear_font_name_table): Add extern. | |
3461 | (Fmac_clear_font_name_table): New defun. | |
3462 | (syms_of_mac): Defsubr it. | |
3463 | [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. | |
3464 | [MAC_OSX] (select_and_poll_event): New function. | |
3465 | [MAC_OSX] (sys_select): Use it. | |
3466 | [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. | |
3467 | [MAC_OSX && SELECT_USE_CFSOCKET] | |
3468 | (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. | |
3469 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and | |
3470 | RunLoop for simultaneously monitoring two kinds of inputs, window | |
3471 | events and process outputs, without periodically polling. | |
a2c7e69a | 3472 | |
b15325b2 ST |
3473 | * macfns.c (mac_initialized): Remove extern. |
3474 | (stricmp): Put in #if 0. All callers changed to use xstricmp in | |
3475 | xfaces.c. | |
043f7f73 SM |
3476 | (strnicmp): Decrement `n' at the end of each loop, not the beginning. |
3477 | (check_mac): Use the term "Mac native windows" instead of "Mac OS". | |
b15325b2 ST |
3478 | (check_x_display_info, x_display_info_for_name): Sync with xfns.c. |
3479 | (mac_get_rdb_resource): New function (from w32reg.c). | |
3480 | (x_get_string_resource): Use it. | |
3481 | (install_window_handler): Add extern. | |
3482 | (mac_window): New function. | |
043f7f73 SM |
3483 | (Fx_create_frame): Use it instead of make_mac_frame. |
3484 | Set parameter for Qfullscreen. Call x_wm_set_size_hint. | |
b15325b2 ST |
3485 | (Fx_open_connection, Fx_close_connection): New defuns. |
3486 | (syms_of_macfns): Defsubr them. | |
043f7f73 SM |
3487 | (x_create_tip_frame) [TARGET_API_MAC_CARBON]: |
3488 | Add kWindowNoUpdatesAttribute to the window attribute. | |
b15325b2 ST |
3489 | (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. |
3490 | (x_create_tip_frame): Don't call ShowWindow. | |
3491 | (Fx_show_tip): Call ShowWindow. | |
3492 | (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if | |
3493 | TARGET_API_MAC_CARBON'. | |
3494 | (mac_frame_parm_handlers): Set handlers for Qfullscreen. | |
3495 | (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. | |
a2c7e69a | 3496 | |
043f7f73 | 3497 | * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. |
b15325b2 ST |
3498 | (Window): Typedef to WindowPtr and move outside `#if |
3499 | TARGET_API_MAC_CARBON'. | |
3500 | (XSizeHints): New struct. | |
a2c7e69a | 3501 | |
b15325b2 ST |
3502 | * macterm.c (x_update_begin, x_update_end) |
3503 | [TARGET_API_MAC_CARBON]: Disable screen updates during update of a | |
3504 | frame. | |
3505 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
3506 | [MAC_OS8]: Use XDrawImageString/XDrawImageString16. | |
3507 | (construct_mouse_click): Put in #if 0. | |
3508 | (x_check_fullscreen, x_check_fullscreen_move): Remove decls. | |
3509 | (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef | |
3510 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
3511 | (activate_scroll_bars, deactivate_scroll_bars) | |
3512 | [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. | |
3513 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window | |
3514 | if the position is neither user-specified nor program-specified. | |
3515 | (x_free_frame_resources): Free size_hints. | |
043f7f73 | 3516 | (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. |
b15325b2 ST |
3517 | (mac_clear_font_name_table): New function. |
3518 | (mac_do_list_fonts): Initialize font_name_table if needed. | |
3519 | (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT | |
3520 | around mac_do_list_fonts. | |
3521 | (mac_unload_font): New function. | |
3522 | (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. | |
3523 | (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations | |
3524 | and definitions with #if TARGET_API_MAC_CARBON. | |
3525 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. | |
3526 | (install_window_handler): Add decl. | |
3527 | (do_window_update): Add BeginUpdate/EndUpdate for the tooltip | |
3528 | window. Use UpdateControls. Get the rectangle that should be | |
3529 | updated and restrict the target of expose_frame to it. | |
043f7f73 | 3530 | (do_grow_window): Set minimum height/width according to size_hints. |
b15325b2 ST |
3531 | (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. |
3532 | (do_zoom_window): Don't use x_set_window_size. | |
3533 | [USE_CARBON_EVENTS] (mac_handle_window_event): New function. | |
3534 | (install_window_handler): New function. | |
3535 | [!USE_CARBON_EVENTS] (mouse_region): New variable. | |
3536 | [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. | |
3537 | (XTread_socket) [USE_CARBON_EVENTS]: Move call to | |
3538 | GetEventDispatcherTarget inside BLOCK_INPUT. | |
3539 | (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. | |
3540 | Update mouse_region when mouse is moved. | |
3541 | (make_mac_frame): Remove. | |
043f7f73 SM |
3542 | (make_mac_terminal_frame): Put in #ifdef MAC_OS8. |
3543 | Initialize mouse pointer shapes. Change values of f->left_pos and | |
3544 | f->top_pos. Don't use make_mac_frame. Use NewCWindow. | |
3545 | Don't call ShowWindow. | |
b15325b2 ST |
3546 | (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from |
3547 | Vinvocation_name and Vsystem_name. | |
3548 | (mac_make_rdb): New function (from w32term.c). | |
3549 | (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has | |
3550 | already been opened. Don't pass argument to | |
3551 | mac_initialize_display_info. Don't set dpyinfo->height/width. | |
3552 | Add entries to x_display_list and x_display_name_list. | |
3553 | (x_delete_display): New function. | |
3554 | (mac_initialize): Don't call mac_initialize_display_info. | |
a2c7e69a KS |
3555 | (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. |
3556 | ||
b15325b2 ST |
3557 | * macterm.h (check_mac): Add extern. |
3558 | (struct mac_output): New member size_hints. | |
3559 | (FRAME_SIZE_HINTS): New macro. | |
3560 | (mac_unload_font): Add extern. | |
a2c7e69a | 3561 | |
b15325b2 | 3562 | * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. |
a2c7e69a | 3563 | |
1d1c7e75 | 3564 | * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. |
b15325b2 | 3565 | |
92d2947b RS |
3566 | 2004-12-27 Richard M. Stallman <rms@gnu.org> |
3567 | ||
043f7f73 | 3568 | * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). |
ebbd14f1 RS |
3569 | (syms_of_buffer): Don't defsubr it. |
3570 | ||
3571 | * process.c (list_processes_1): Set undo_list instead | |
3572 | of calling Fbuffer_disable_undo. | |
3573 | ||
043f7f73 | 3574 | * xdisp.c (single_display_spec_string_p): Rename from |
92d2947b | 3575 | single_display_prop_string_p. |
043f7f73 | 3576 | (single_display_spec_intangible_p): Rename from |
92d2947b | 3577 | single_display_prop_intangible_p. |
043f7f73 | 3578 | (handle_single_display_spec): Rename from handle_single_display_prop. |
92d2947b RS |
3579 | Rewritten to be easier to understand. |
3580 | ||
a2c7e69a | 3581 | Change in load-history format. Functions now get (defun . NAME), |
92d2947b RS |
3582 | and variables get just NAME. |
3583 | ||
3584 | * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
3585 | ||
3586 | * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
3587 | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. | |
3588 | (Qdefvar): Var deleted. | |
3589 | (syms_of_eval): Don't initialze it. | |
3590 | ||
3591 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
3592 | ||
9f6fcdc5 JD |
3593 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3594 | ||
3595 | * xmenu.c (popup_get_selection): Pop down on C-g. | |
3596 | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that | |
3597 | pops down menu on C-g. | |
3598 | (xdialog_show): If dialog popped down and no button in the dialog was | |
3599 | pushed, call Fsignal to quit. | |
3600 | (xmenu_show): In no toolkit version, if menu returns NO_SELECT call | |
3601 | Fsignal to quit. | |
3602 | ||
1d1c7e75 | 3603 | * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. |
9f6fcdc5 JD |
3604 | |
3605 | * gtkutil.c (xg_initialize): Install bindings for C-g so that | |
3606 | dialogs and menus pop down. | |
3607 | ||
d8ca23a0 KH |
3608 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
3609 | ||
3610 | * coding.c (code_convert_region): Fix calculation of `ratio'. | |
3611 | ||
857ae68b JD |
3612 | 2004-12-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3613 | ||
133c0116 JD |
3614 | * gtkutil.c (update_frame_tool_bar): Make the value of |
3615 | tool-bar-button-margin control margins of images in tool bar. | |
3616 | ||
857ae68b JD |
3617 | * alloc.c (check_depth): New variable. |
3618 | (overrun_check_malloc, overrun_check_realloc): Only add | |
3619 | overhead and write check pattern if check_depth is 1 (to handle | |
3620 | recursive calls). Increase/decrease check_depth in entry/exit. | |
3621 | (overrun_check_free): Only check for overhead if check_depth is 1. | |
3622 | Increase/decrease check_depth in entry/exit. | |
3623 | ||
bd55c35c JD |
3624 | 2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3625 | ||
3626 | * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK | |
3627 | before touching input_available_clear_time, to avoid accessing it | |
3628 | from multiple threads. | |
3629 | ||
66354420 JR |
3630 | 2004-12-23 Jason Rumney <jasonr@gnu.org> |
3631 | ||
3632 | * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour | |
3633 | of JPEG library. | |
3634 | ||
55f4edbc RS |
3635 | 2004-12-22 Richard M. Stallman <rms@gnu.org> |
3636 | ||
3637 | * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. | |
3638 | ||
3639 | * lisp.h (Vundo_outer_limit): Fix decl. | |
3640 | ||
3641 | * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. | |
3642 | Uses changed. | |
3643 | (syms_of_undo): Initialize appropriately. | |
3644 | (truncate_undo_list): If it's nil, there's no limit. | |
3645 | ||
7a0ea9e3 KH |
3646 | 2004-12-22 Kenichi Handa <handa@m17n.org> |
3647 | ||
3648 | * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. | |
3649 | ||
fda2922a RS |
3650 | 2004-12-21 Richard M. Stallman <rms@gnu.org> |
3651 | ||
3652 | * eval.c (unwind_to_catch): Clear immediate_quit. | |
3653 | ||
3654 | * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad | |
3655 | specially as `\ ' and `\-'. | |
3656 | ||
3657 | * keyboard.c (kbd_buffer_store_event_hold): | |
3658 | In the code for while-no-input, handle immediate_quit. | |
3659 | ||
3660 | * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. | |
3661 | Call that at the very start. | |
043f7f73 | 3662 | (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. |
fda2922a RS |
3663 | (syms_of_alloc): Don't define undo-limit, |
3664 | undo-strong-limit and undo-outer-limit here. | |
3665 | ||
3666 | * undo.c (truncate_undo_list): Return void. | |
3667 | Take just one argument, the buffer. | |
3668 | Make it current, and inhibit recursive GC. | |
3669 | Access and update the undo list directly; return void. | |
3670 | Refer to the undo...limit variables directly. | |
3671 | Test undo_outer_limit only after counting the whole current command. | |
3672 | When it's exceeded, call the function in undo-outer-limit-function. | |
3673 | (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. | |
3674 | (Vundo_outer_limit_function): New variable. | |
3675 | (syms_of_undo): Define undo-limit, undo-strong-limit | |
3676 | and undo-outer-limit here, and undo-outer-limit-function. | |
3677 | Doc fixes. | |
3678 | ||
3679 | * lisp.h (truncate_undo_list): Update decl. | |
3680 | ||
3681 | 2004-12-21 Piet van Oostrum <piet@cs.uu.nl> | |
3682 | ||
3683 | * fileio.c (Fread_file_name): Delete duplicates in | |
3684 | file-name-history when history_delete_duplicates is true. | |
3685 | ||
68c69027 ST |
3686 | 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3687 | ||
3688 | * macterm.c (mac_do_list_fonts): Fix memory leak | |
3689 | ||
134579f2 RS |
3690 | 2004-12-20 Richard M. Stallman <rms@gnu.org> |
3691 | ||
3692 | * regex.c (re_match_2_internal) <symend, wordend>: | |
3693 | Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
3694 | ||
fbe6152f ST |
3695 | 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3696 | ||
043f7f73 SM |
3697 | * macterm.c (endif, x_font_name_to_mac_font_name): |
3698 | Use maccentraleurroman instead of maccentraleuropean | |
fbe6152f ST |
3699 | (mac_c_string_match, mac_do_list_fonts): Speed up font search by |
3700 | quickly finding a specific font without needing regexps. | |
3701 | ||
fecad3f6 JD |
3702 | 2004-12-15 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3703 | ||
333f1b6f JD |
3704 | * syssignal.h: Declare main_thread. |
3705 | (SIGNAL_THREAD_CHECK): New macro. | |
3706 | ||
3707 | * keyboard.c (input_available_signal): Move thread checking code | |
3708 | to macro SIGNAL_THREAD_CHECK and call that macro. | |
3709 | (interrupt_signal): Call SIGNAL_THREAD_CHECK. | |
3710 | ||
3711 | * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. | |
3712 | ||
3713 | * emacs.c: Define main_thread. | |
3714 | (main): Initialize main_thread. | |
3715 | (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) | |
3716 | (memory_warning_signal): Call SIGNAL_THREAD_CHECK. | |
3717 | ||
3718 | * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. | |
3719 | ||
3720 | * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. | |
3721 | ||
3722 | * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. | |
3723 | ||
043f7f73 SM |
3724 | * process.c (send_process_trap, sigchld_handler): |
3725 | Call SIGNAL_THREAD_CHECK. | |
333f1b6f JD |
3726 | |
3727 | * data.c (arith_error): Call SIGNAL_THREAD_CHECK. | |
3728 | ||
3729 | * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. | |
3730 | ||
fecad3f6 JD |
3731 | * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before |
3732 | returning when xg_ignore_gtk_scrollbar is true. | |
3733 | ||
2a84c6da KS |
3734 | 2004-12-14 Kim F. Storm <storm@cua.dk> |
3735 | ||
3736 | * keyboard.c (read_char): Save and restore echo_string when | |
3737 | handling input method. | |
3738 | ||
d9c1ce9d RS |
3739 | 2004-12-13 Richard M. Stallman <rms@gnu.org> |
3740 | ||
3741 | * eval.c (syms_of_eval) <quit-flag>: Doc fix. | |
3742 | ||
3743 | * keyboard.c (Vthrow_on_input): New variable. | |
3744 | (syms_of_keyboard): Defvar and initialize it. | |
3745 | (kbd_buffer_store_event_hold): Handle Vthrow_on_input. | |
3746 | ||
3747 | * lisp.h (QUIT): Check for Vthrow_on_input. | |
3748 | (Vthrow_on_input): Declare it. | |
3749 | ||
a6495ed5 KS |
3750 | 2004-12-13 Kim F. Storm <storm@cua.dk> |
3751 | ||
3752 | * xdisp.c (set_iterator_to_next): Reset stop_charpos after display | |
3753 | vector. | |
3754 | ||
24a0e22f RS |
3755 | 2004-12-12 Richard M. Stallman <rms@gnu.org> |
3756 | ||
3757 | * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. | |
3758 | ||
3759 | * minibuf.c (Fall_completions): Add var `zero' and use it in loop. | |
3760 | (Ftry_completion): Really use outer `zero'; eliminate inner one. | |
3761 | ||
d6d31e57 KH |
3762 | 2004-12-12 Kenichi Handa <handa@m17n.org> |
3763 | ||
3764 | * term.c (encode_terminal_code): Fix previous change. | |
3765 | ||
6f8ffb88 SM |
3766 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
3767 | ||
fb6f5cbf SM |
3768 | * keyboard.c (handle_async_input): Remove pthread mutex handling. |
3769 | (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. | |
3770 | ||
6f8ffb88 SM |
3771 | * syntax.c (Fforward_word): Avoid non-idempotent side-effects |
3772 | in macro arguments. | |
3773 | ||
3774 | * minibuf.c (Ftry_completion, Fall_completions): Don't use | |
3775 | XFASTINT blindly. | |
3776 | ||
3777 | * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. | |
3778 | ||
c83c9f9d JD |
3779 | 2004-12-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3780 | ||
2f25767f JD |
3781 | * w32term.c (x_calc_absolute_position): Remove calculation of |
3782 | difference between inner and outer window. Don't subtract difference | |
3783 | for left and top calculations. | |
3784 | ||
c83c9f9d JD |
3785 | * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff |
3786 | for left and top calculations. Remove call to x_real_positions. | |
24a0e22f | 3787 | [Bug report by Drew Adams in November] |
c83c9f9d JD |
3788 | (x_check_expected_move): Do not set change_gravity to 1 when calling |
3789 | x_set_offset. | |
3790 | ||
cc1caa4e RS |
3791 | 2004-12-08 Richard M. Stallman <rms@gnu.org> |
3792 | ||
3793 | * xdisp.c (get_next_display_element): Use `escape-glyph' for | |
3794 | control chars and escaped octal codes. | |
3795 | (Qescape_glyph): New variable. | |
3796 | (syms_of_xdisp): Initialize it. | |
3797 | (escape_glyph_face): New variable. | |
3798 | (redisplay_window): Initialize it. | |
3799 | ||
e0e30823 RS |
3800 | 2004-12-07 Paul Eggert <eggert@cs.ucla.edu> |
3801 | ||
3802 | * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) | |
3803 | (init_image): Use 1 rather than TRUE. TRUE's not always defined. | |
3804 | ||
f415cacd JD |
3805 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3806 | ||
cf435f39 JD |
3807 | * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around |
3808 | reset_malloc_hooks. | |
3809 | ||
6f8ffb88 SM |
3810 | * keyboard.c (handle_async_input, input_available_signal): |
3811 | Add ! defined (SYSTEM_MALLOC) around thread code. | |
cf435f39 | 3812 | |
f415cacd JD |
3813 | * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. |
3814 | ||
043f7f73 | 3815 | 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca> |
19b1f29a SM |
3816 | |
3817 | * eval.c (init_eval_once): Increase max_specpdl_size to 1000. | |
3818 | ||
3819 | * config.in: Regenerate. | |
3820 | ||
ded997c1 JD |
3821 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3822 | ||
453a4f1b JD |
3823 | * xmenu.c (Fx_popup_menu): Correct documentation about position. |
3824 | (xmenu_show): Do not call XTranslateCoordinates. Adjust position | |
3825 | if not given by a mouse click to correspond with x-popup-menu | |
3826 | documentation. | |
3827 | ||
9a38524c JD |
3828 | * config.in: Regenerate. |
3829 | ||
aa477689 JD |
3830 | * gtkutil.c: Include signal.h and syssignal.h. |
3831 | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. | |
3832 | ||
3833 | * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, | |
3834 | new variables main_thread and alloc_mutex, | |
3835 | define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect | |
3836 | emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. | |
3837 | If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same as | |
3838 | (UN)BLOCK_INPUT. | |
3839 | (emacs_blocked_free, emacs_blocked_malloc) | |
3840 | (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. | |
3841 | (uninterrupt_malloc): Initialize main_thread and alloc_mutex. | |
3842 | (reset_malloc_hooks): New function. | |
3843 | ||
3844 | * lisp.h: Declare reset_malloc_hooks. | |
3845 | ||
3846 | * emacs.c (Fdump_emacs): Call reset_malloc_hooks. | |
3847 | ||
3848 | * keyboard.c: Conditionally include pthread.h | |
6f8ffb88 | 3849 | (handle_async_input, input_available_signalt): If not in the main |
aa477689 JD |
3850 | thread, block signal, send signal to main thread and return. |
3851 | ||
ded997c1 | 3852 | * gtkutil.c (xg_get_file_with_chooser): Handle local files only. |
6f8ffb88 | 3853 | Set current folder in file chooser if default_filename is a directory. |
ded997c1 | 3854 | |
c72b0edd SM |
3855 | 2004-12-05 Stefan Monnier <monnier@iro.umontreal.ca> |
3856 | ||
3857 | * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. | |
3858 | Remove redundant correctness checks. | |
3859 | (regex_compile): Fix up error codes for \{..\} expressions. | |
3860 | ||
c721eee5 RS |
3861 | 2004-12-05 Richard M. Stallman <rms@gnu.org> |
3862 | ||
3863 | * regex.c (regex_compile): Fix end-of-pattern case for space. | |
3864 | ||
d8f96db8 ST |
3865 | 2004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3866 | ||
6108209e KS |
3867 | * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. |
3868 | * mac.c (cfstring_create_with_utf8_cstring): Add to prevent | |
d8f96db8 | 3869 | crashes with invalid characters. |
6108209e KS |
3870 | * macmenu.c (add_menu_item): Use it. |
3871 | * image.c (image_load_quartz2d): Likewise. | |
3872 | * macfns.c (x_set_name, x_set_title): Likewise. | |
3873 | (Fx_file_dialog): Likewise. Use constant CFRefs instead of | |
3874 | creating them each time for labels. | |
d8f96db8 | 3875 | |
ab67e8b6 RS |
3876 | 2004-12-02 Richard M. Stallman <rms@gnu.org> |
3877 | ||
3878 | * config.in (RE_TRANSLATE_P): If make_number is not a macro, | |
3879 | don't use it here. | |
3880 | ||
3881 | * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. | |
3882 | (interactive_p): Skip Scalled_interactively_p frames | |
3883 | like Sinteractive_p frames. | |
b8217ea6 | 3884 | (unwind_to_catch): Clear handling_signal. |
ab67e8b6 RS |
3885 | |
3886 | * data.c (Fmake_variable_buffer_local): Doc fix. | |
3887 | (Fmake_local_variable): Doc fix. | |
3888 | ||
3889 | * insdel.c (insert_from_string_before_markers) | |
3890 | (insert_from_string): Don't modify buffer on empty insertion. | |
3891 | ||
3892 | * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. | |
3893 | ||
f86bdc80 ST |
3894 | 2004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3895 | ||
3896 | * macmenu.c (add_menu_item): Fallback on MacRoman if encoding | |
3897 | menu text as UTF8 fails. | |
3898 | ||
1cae6d39 KS |
3899 | 2004-12-01 Kim F. Storm <storm@cua.dk> |
3900 | ||
3901 | * alloc.c: Add commentary for last change. | |
3902 | (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle | |
3903 | sizeof(size_t) != 4. | |
3904 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | |
3905 | Use them. Also clear header and trailer of freed memory. | |
3906 | (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. | |
3907 | (string_overrun_cookie): Rename from string_overrun_pattern. | |
3908 | (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. | |
3909 | ||
77ea0764 AS |
3910 | 2004-12-01 Andreas Schwab <schwab@suse.de> |
3911 | ||
3912 | * lisp.h: Declare string_to_multibyte. | |
3913 | ||
2d5cd4e6 KH |
3914 | 2004-12-01 Kenichi Handa <handa@m17n.org> |
3915 | ||
3916 | * w32console.c (w32con_write_glyphs): Decide coding here. | |
3917 | Adjusted for the change of encode_terminal_code. | |
3918 | ||
3919 | * term.c (encode_terminal_code): Don't make it "static". | |
3920 | ||
25a0994a KH |
3921 | 2004-11-30 Kenichi Handa <handa@m17n.org> |
3922 | ||
19b1f29a | 3923 | * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. |
25a0994a | 3924 | (encode_terminal_code): Argument changed. Encode all |
19b1f29a SM |
3925 | characters at once, and return a pointer to the result of encoding. |
3926 | (write_glyphs): Decide coding here. Adjusted for the above change. | |
25a0994a KH |
3927 | (insert_glyphs): Likewise. |
3928 | (term_init): Initialize encode_terminal_bufsize to 0. | |
3929 | ||
3930 | * coding.c (Vcode_conversion_workbuf_name): New variable. | |
3931 | (syms_of_coding): Initialize and staticpro it. | |
3932 | (set_conversion_work_buffer): New function. | |
3933 | (run_pre_post_conversion_on_str): Use it. | |
3934 | (run_pre_write_conversin_on_c_str): New function. | |
3935 | ||
3936 | * coding.h (run_pre_write_conversin_on_c_str): Extern it. | |
3937 | ||
fc7a70cc ST |
3938 | 2004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3939 | ||
3940 | * keyboard.c: Don't undef SIGIO | |
3941 | * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon | |
3942 | * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. | |
3943 | (macfns.o): Don't depend on ccl.h. | |
3944 | * macfns.c (mac_frame_parm_handlers): Set handlers for | |
3945 | Qleft_fringe and Qright_fringe. | |
3946 | * macterm.c (mac_fill_rectangle_to_pixmap) | |
3947 | (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) | |
3948 | (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): | |
3949 | Put in #if 0. | |
3950 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. | |
3951 | (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. | |
3952 | (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. | |
3953 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
3954 | [!MAC_OS8]: Added ifdef'd out code for os8. Don't use | |
3955 | XDrawImageString. Always draw background and foreground separately. | |
3956 | (x_draw_image_foreground): Use clipping instead of computing the | |
3957 | intersection rectangle. | |
3958 | (x_draw_image_glyph_string): Don't draw an image with mask to a | |
3959 | pixmap. | |
3960 | (x_redisplay_interface): Set flush_display_optional member to 0. | |
3961 | (XTread_socket): Correctly reset the TEConverter | |
3962 | object. | |
3963 | ||
fc368889 KS |
3964 | 2004-11-30 Kim F. Storm <storm@cua.dk> |
3965 | ||
3966 | * lisp.h: New defines to enable buffer overrun checking. | |
3967 | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) | |
3968 | (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. | |
3969 | ||
3970 | * alloc.c: Add more checks for buffer overruns. | |
3971 | (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) | |
3972 | xmalloc_overrun_check_trailer, overrun_check_malloc) | |
3973 | overrun_check_realloc, overrun_check_free): Add. | |
3974 | (GC_STRING_EXTRA, string_overrun_pattern): Add. | |
3975 | (check_sblock, allocate_string_data, compact_small_strings): | |
3976 | Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. | |
3977 | (check_cons_list): Condition on GC_CHECK_CONS_LIST. | |
3978 | (check_string_free_list): Add. | |
3979 | (allocate_string, sweep_strings): Call check_string_free_list. | |
3980 | ||
3981 | * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if | |
3982 | XMALLOC_OVERRUN_CHECK to avoid crash during load. | |
3983 | ||
0af8cfe1 KS |
3984 | 2004-11-29 Kim F. Storm <storm@cua.dk> |
3985 | ||
3986 | * fns.c (concat): Use SAFE_ALLOCA. | |
3987 | ||
77220eeb SM |
3988 | 2004-11-29 Stefan Monnier <monnier@iro.umontreal.ca> |
3989 | ||
3990 | * sysdep.c (emacs_write): Don't use QUIT. | |
3991 | ||
a778cf63 KH |
3992 | 2004-11-29 Kenichi Handa <handa@m17n.org> |
3993 | ||
3994 | * buffer.c (init_buffer): Set current_buffer->directory to a | |
3995 | multibyte string made by string_to_multibyte. | |
3996 | ||
77220eeb | 3997 | * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. |
a778cf63 | 3998 | |
e3177e43 AS |
3999 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
4000 | ||
4001 | * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. | |
4002 | ||
4003 | * s/gnu-linux.h: Enable no-op gcpros on ia64. | |
4004 | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. | |
4005 | ||
77220eeb SM |
4006 | * filelock.c (lock_file_1): Call get_boot_time early. |
4007 | Increase buffer size. | |
e3177e43 | 4008 | |
ca5e6fef EZ |
4009 | 2004-11-27 Eli Zaretskii <eliz@gnu.org> |
4010 | ||
4011 | * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN | |
4012 | is not defined. | |
4013 | ||
e2811828 KS |
4014 | 2004-11-27 Kim F. Storm <storm@cua.dk> |
4015 | ||
4016 | * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' | |
4017 | marker out of doc string. | |
4018 | ||
7a262394 SM |
4019 | 2004-11-26 Stefan Monnier <monnier@iro.umontreal.ca> |
4020 | ||
4021 | * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, | |
4022 | which was not mentioned in the log. | |
4023 | ||
f33cc5a9 KS |
4024 | 2004-11-26 Kim F. Storm <storm@cua.dk> |
4025 | ||
048bb03f KS |
4026 | * fringe.c (update_window_fringes): Prefer truncation bitmaps over |
4027 | angle bitmaps at top/bottom line. | |
4028 | ||
52eb0373 | 4029 | * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, |
f33cc5a9 KS |
4030 | set it when it->method is set to next_element_from_display_vector. |
4031 | (setup_for_ellipsis): Add LEN argument. Callers changed. | |
4032 | Set it->saved_face_id. | |
4033 | (get_next_display_element): Use loop instead of recursion. | |
4034 | Set it->saved_face_id. Combine duplicate code for ctr chars. | |
4035 | (next_element_from_display_vector): Do not set it->saved_face_id. | |
4036 | (next_element_from_ellipsis): Use setup_for_ellipsis. | |
4037 | ||
670e8906 EZ |
4038 | 2004-11-26 Eli Zaretskii <eliz@gnu.org> |
4039 | ||
4040 | * eval.c (Fdefvar): Declare pdl from last change as `volatile' to | |
4041 | prevent compiler warnings. | |
4042 | ||
275464e7 SM |
4043 | 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> |
4044 | ||
1bf0e604 SM |
4045 | * keyboard.c (command_loop_1): Print a message describing the key |
4046 | the user just pressed when this key has no binding. | |
4047 | ||
275464e7 SM |
4048 | * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. |
4049 | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. | |
4050 | ||
4051 | * lread.c (readchar): Check QUIT when `getc' is interrupted. | |
4052 | ||
261b01c6 RS |
4053 | 2004-11-24 Richard M. Stallman <rms@gnu.org> |
4054 | ||
4055 | * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. | |
4056 | ||
4057 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. | |
4058 | ||
a5bd504e KS |
4059 | 2004-11-24 Kim F. Storm <storm@cua.dk> |
4060 | ||
4061 | * xdisp.c (move_it_in_display_line_to, display_line): | |
4062 | Restore saved_face_id also when truncate-lines or hscrolled. | |
4063 | ||
255e4140 JD |
4064 | 2004-11-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4065 | ||
4066 | * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to | |
4067 | x-use-old-gtk-file-dialog. | |
4068 | ||
4069 | * xfns.c: Define x_use_old_gtk_file_dialog. | |
4070 | (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it | |
4071 | outside ifdef USE_GTK. | |
4072 | ||
cab27d04 SM |
4073 | 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca> |
4074 | ||
4075 | * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): | |
4076 | Don't use XFASTINT blindly. | |
4077 | ||
4078 | * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. | |
4079 | ||
4080 | * indent.c (skip_invisible): Avoid non-idempotent side-effects | |
4081 | in macro arguments. | |
4082 | ||
4083 | * keymap.c (Flookup_key): Check INTEGERP before XINT. | |
4084 | ||
4085 | * lread.c (oblookup): Don't use XFASTINT blindly. | |
4086 | ||
4087 | * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. | |
4088 | (decode_next_window_args, window_loop): Don't use XFASTINT blindly. | |
4089 | ||
11e0be49 KS |
4090 | 2004-11-23 Kim F. Storm <storm@cua.dk> |
4091 | ||
4d721114 KS |
4092 | * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) |
4093 | (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. | |
4094 | ||
11e0be49 KS |
4095 | * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if |
4096 | signal_p is zero and face name is unknown. | |
4097 | (Fx_list_fonts): Don't signal error in lookup_named_face. | |
4098 | (Fface_font): Signal error in lookup_named_face. | |
4099 | (ascii_face_of_lisp_face): Likewise. | |
4100 | ||
4101 | * dispextern.h (lookup_named_face): Fix prototype. | |
4102 | ||
4103 | * xdisp.c (handle_single_display_prop): Don't signal error in | |
4104 | lookup_named_face for unknown fringe face name. | |
4105 | (highlight_trailing_whitespace): Don't signal error in | |
4106 | lookup_named_face if trailing-whitespace face unknown. | |
4107 | (calc_line_height_property): Don't signal error in | |
4108 | lookup_named_face if specified face name is unknown. | |
4109 | ||
4110 | * fringe.c (update_window_fringes): Show top row indicator if | |
4111 | window has header-line. Don't show arrow at bob and eob | |
4112 | if the boundary indicators are not used. | |
4113 | (Fset_fringe_bitmap_face): Signal error in lookup_named_face. | |
4114 | ||
4115 | * window.c (set_window_buffer): Clear display_error_modiff. | |
4116 | ||
0960a582 KS |
4117 | 2004-11-22 Kim F. Storm <storm@cua.dk> |
4118 | ||
4119 | * fringe.c (update_window_fringes): Provide sensible fall-back | |
4120 | value for non-nil indicate-buffer-boundaries setting. | |
4121 | ||
b0e9bb28 MR |
4122 | 2004-11-22 Markus Rost <rost@ias.edu> |
4123 | ||
4124 | * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. | |
4125 | ||
d0bce91e SM |
4126 | 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
4127 | ||
4128 | * eval.c (Fdefvar): Warn when var is let-bound but globally void. | |
4129 | ||
e1814672 KS |
4130 | 2004-11-21 Kim F. Storm <storm@cua.dk> |
4131 | ||
b7fd3518 KS |
4132 | * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. |
4133 | ||
4134 | * xterm.c (x_clip_to_row): Add area arg. Callers changed. | |
4135 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
4136 | ||
4137 | * w32term.c (w32_clip_to_row): Add area arg. Callers changed. | |
4138 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
4139 | ||
4140 | * macterm.c (x_clip_to_row): Add area arg. Callers changed. | |
4141 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
4142 | ||
d0bce91e SM |
4143 | * xdisp.c (move_it_in_display_line_to, display_line): |
4144 | Restore saved_face_id if overflow-newline-into-fringe is enabled and | |
4145 | line is continued before or in middle of element from display vector. | |
f01d4d05 | 4146 | |
f1a61389 KS |
4147 | * indent.c (Fvertical_motion): Fix last change. Use another |
4148 | method to detect if iterator moved too far ahead after reseat. | |
4149 | ||
e1814672 KS |
4150 | * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not |
4151 | expand matrix width for overflow in zero-width area. | |
4152 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
4153 | (append_stretch_glyph): Use it to avoid loop in redisplay. | |
4154 | (note_mode_line_or_margin_highlight): Don't let help-echo from | |
4155 | string override help-echo from image map. | |
4156 | ||
2dafe1c9 LT |
4157 | 2004-11-20 Luc Teirlinck <teirllm@auburn.edu> |
4158 | ||
d0bce91e | 4159 | * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. |
2dafe1c9 LT |
4160 | * callint.c (Fcall_interactively): Ditto. |
4161 | ||
fd6866c8 | 4162 | 2004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9961365e RS |
4163 | |
4164 | * minibuf.c (Fminibuffer_complete_and_exit): | |
4165 | Fixup the case of the completed value, for case-indep completion. | |
4166 | ||
dedbac89 RS |
4167 | 2004-11-20 Richard M. Stallman <rms@gnu.org> |
4168 | ||
fd6866c8 RS |
4169 | * lisp.h (Fread_from_minibuffer): Add arg in decl. |
4170 | ||
9d00469f | 4171 | * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. |
ce8dd7ca | 4172 | (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. |
9d00469f | 4173 | |
dedbac89 | 4174 | * search.c (Vsearch_spaces_regexp): |
d0bce91e | 4175 | Rename from Vsearch_whitespace_regexp. All uses changed. |
dedbac89 | 4176 | |
2f672bb5 TTN |
4177 | 2004-11-20 Thien-Thi Nguyen <ttn@gnu.org> |
4178 | ||
4179 | * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. | |
4180 | ||
f31a9a68 RS |
4181 | 2004-11-19 Richard M. Stallman <rms@gnu.org> |
4182 | ||
4183 | * search.c (Vsearch_whitespace_regexp): New variable. | |
4184 | (syms_of_search): Defvar it. | |
4185 | (compile_pattern_1): Call re_set_whitespace_regexp with it. | |
4186 | (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp | |
4187 | is non-nil. | |
6de891db RS |
4188 | (struct regexp_cache): New element whitespace_regexp. |
4189 | (syms_of_search): Initialize whitespace_regexp elements. | |
4190 | (compile_pattern): Compare whitespace_regexp elements. | |
4191 | (compile_pattern_1): Set whitespace_regexp elements. | |
f31a9a68 RS |
4192 | |
4193 | * regex.c (regex_compile): Substitute whitespace_regexp | |
4194 | for spaces, if it is nonzero. | |
4195 | (whitespace_regexp): New variable. | |
4196 | (re_set_whitespace_regexp): New function. | |
4197 | ||
cbc34cb3 KS |
4198 | 2004-11-19 Kim F. Storm <storm@cua.dk> |
4199 | ||
4200 | * indent.c (Fvertical_motion): Fix last change. | |
4201 | ||
b54a7539 KS |
4202 | 2004-11-18 Kim F. Storm <storm@cua.dk> |
4203 | ||
4204 | * indent.c (Fvertical_motion): Undo 2004-11-16 change. | |
4205 | Instead, move back again if reseating moves too far ahead. | |
4206 | ||
4207 | 2004-11-17 Luc Teirlinck <teirllm@auburn.edu> | |
802c6e56 LT |
4208 | |
4209 | * xdisp.c (message3): Call clear_message. | |
4210 | ||
5ff504fe KS |
4211 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
4212 | ||
4213 | * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. | |
4214 | ||
5ae53dcf JD |
4215 | 2004-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4216 | ||
d0bce91e | 4217 | * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. |
724cde0d | 4218 | |
6abf3a27 | 4219 | * xmenu.c (x_menu_in_use): Remove. |
5ae53dcf JD |
4220 | (x_menu_set_in_use): Also set popup_activated_flag. |
4221 | ||
5ff504fe | 4222 | * xfns.c (Fx_file_dialog): Call popup_activated instead of |
5ae53dcf JD |
4223 | x_menu_in_use. Call x_menu_set_in_use in Motif version also. |
4224 | ||
52eb0373 | 4225 | * xterm.h (x_menu_in_use): Remove. |
5ae53dcf | 4226 | |
ee31cd78 RS |
4227 | 2004-11-16 Richard M. Stallman <rms@gnu.org> |
4228 | ||
6abf3a27 SM |
4229 | * keymap.c (Fmap_keymap): New arg SORT-FIRST. |
4230 | Use map-keymap-internal to implement that. | |
ee31cd78 RS |
4231 | |
4232 | * indent.c (Fvertical_motion): In batch mode, use vmotion directly. | |
4233 | ||
6abf3a27 SM |
4234 | 2004-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
4235 | ||
4236 | * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's | |
4237 | a window before using XWINDOW. | |
4238 | ||
4239 | * window.c (make_window, Fselect_window, make_dummy_parent) | |
4240 | (save_window_save): | |
4241 | * frame.c (make_frame): | |
4242 | * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. | |
4243 | ||
4244 | * lisp.h (NILP): Use EQ rather than XFASTINT. | |
4245 | ||
b4d61105 KS |
4246 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
4247 | ||
6abf3a27 | 4248 | * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. |
dda01a4c | 4249 | |
b4d61105 KS |
4250 | * indent.c (Fvertical_motion): Fix last change. Only reseat when |
4251 | moving backwards. | |
4252 | ||
4253 | 2004-11-16 Luc Teirlinck <teirllm@auburn.edu> | |
ce2bbf6a LT |
4254 | |
4255 | * dispextern.h: Extern reseat_at_previous_visible_line_start. | |
4256 | ||
ab5b02b0 KH |
4257 | 2004-11-16 Kenichi Handa <handa@m17n.org> |
4258 | ||
4259 | * xdisp.c (display_mode_element): Fix previous change (calculate | |
4260 | end position of substring to display correctly). | |
4261 | ||
c482cf97 KS |
4262 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
4263 | ||
4264 | * keyboard.c (Fposn_at_point): Remove extra */ after doc string. | |
4265 | Reported by Andrew M. Scott. | |
4266 | ||
9f89426b KS |
4267 | 2004-11-15 Kim F. Storm <storm@cua.dk> |
4268 | ||
4269 | * fns.c (Fsafe_plist_get): New defun. | |
4270 | (syms_of_fns): Defsubr it. | |
4271 | ||
4272 | * lisp.h (Fsafe_plist_get): Add EXFUN. | |
4273 | ||
4274 | * xdisp.c (store_mode_line_string, produce_stretch_glyph): | |
4275 | Use Fsafe_plist_get. | |
4276 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
4277 | Fix image map element parsing. Use Fsafe_plist_get. | |
4278 | ||
27418463 RS |
4279 | 2004-11-15 Richard M. Stallman <rms@gnu.org> |
4280 | ||
4281 | * xdisp.c (get_next_display_element): Fix previous change. | |
4282 | ||
a130b901 JD |
4283 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4284 | ||
ef614e04 JD |
4285 | * window.c (shrink_windows): Handle special case of one window left |
4286 | when trying to shrink the final reminder. Grow windows if | |
4287 | total_removed is less than total_shrink. | |
4288 | ||
a130b901 JD |
4289 | * xmenu.c (pop_down_menu): Remove global variable current_menu, |
4290 | extract pointer from arg with XSAVE_VALUE. | |
46303896 KS |
4291 | (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): |
4292 | Construct arg to record_unwind_protect with make_save_value. | |
a130b901 | 4293 | |
d9a03ad2 RS |
4294 | 2004-11-13 Richard M. Stallman <rms@gnu.org> |
4295 | ||
4296 | * xdisp.c (reseat_at_previous_visible_line_start): No longer static. | |
4297 | (get_next_display_element): Fix previous change to apply only to \n. | |
4298 | ||
4299 | * indent.c (Fvertical_motion): Scan to PT from start of line to | |
4300 | make iterator consistent. | |
4301 | ||
4302 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
4303 | ||
b3935289 JD |
4304 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4305 | ||
4306 | * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. | |
4307 | ||
4308 | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | |
4309 | Record unwind with clean_up_file_dialog. | |
4310 | ||
78819ebb KS |
4311 | * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): |
4312 | Declare. | |
b3935289 JD |
4313 | |
4314 | * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | |
4315 | ||
af89e871 JD |
4316 | 2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4317 | ||
457a8155 | 4318 | * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) |
6abf3a27 | 4319 | (xg_file_sel_destroy): Remove. |
46303896 KS |
4320 | (xg_file_response_cb, pop_down_file_dialog) |
4321 | (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): | |
457a8155 | 4322 | New functions. |
6abf3a27 SM |
4323 | (xg_get_file_with_chooser, xg_get_file_with_selection): |
4324 | Take new arg func, set it to xg_get_file_name_from_chooser/selector. | |
457a8155 JD |
4325 | Move common code to xg_get_file_name. Return widget created. |
4326 | (xg_get_file_name): Set name, transient for, modal and destroy | |
4327 | with parent here. Connect response signal to xg_file_response_cb, | |
4328 | connect delete-event to gtk_true. Record pop_down_file_dialog | |
4329 | for unwind. Do event loop and call x_menu_wait_for_event in loop. | |
4330 | (xg_create_widget): Make dialogs modal. | |
4331 | ||
af89e871 JD |
4332 | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type |
4333 | Lisp_Object. | |
4334 | (popup_get_selection): Move unwind protect ... | |
4335 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
4336 | Move destroy of widget to pop_down_menu. | |
4337 | (popup_widget_loop): Move unwind protect ... | |
4338 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
4339 | Move destroy of widget to pop_down_menu. | |
4340 | (pop_down_menu): BLOCK_INPUT and destroy widget/window. | |
6abf3a27 | 4341 | (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, |
af89e871 JD |
4342 | x_mouse_leave and grabbed = 0 to pop_down_menu. |
4343 | ||
5596fbf1 KS |
4344 | 2004-11-13 Kim F. Storm <storm@cua.dk> |
4345 | ||
4346 | * xdisp.c (make_cursor_line_fully_visible_p): New variable. | |
4347 | (syms_of_xdisp): DEFVAR_BOOL it. | |
4348 | (make_cursor_line_fully_visible, try_cursor_movement) | |
4349 | (try_window_id): Use it. | |
4350 | ||
b9de078a KS |
4351 | 2004-11-12 Kim F. Storm <storm@cua.dk> |
4352 | ||
381f7091 KS |
4353 | * dispextern.h (struct glyph_row): New member extra_line_spacing. |
4354 | (struct it): New member max_extra_line_spacing. | |
4355 | (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
4356 | (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
4357 | (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
4358 | part of last line is only extra line spacing (so the text on the | |
52eb0373 | 4359 | line is fully visible). Use helper macros. |
381f7091 KS |
4360 | Add W arg (to use them). All callers changed. |
4361 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
4362 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
4363 | ||
6abf3a27 SM |
4364 | * window.c (window_scroll_pixel_based, Frecenter): |
4365 | Use move_it_vertically_backward directly. | |
381f7091 KS |
4366 | (Frecenter): Fix calculation of new start pos for negative arg. |
4367 | Before, the new start pos was sometimes chosen too far back, so | |
4368 | the last line became only partially visible, and thus would be | |
4369 | either only semi-visible or automatically scrolled to the middle | |
4370 | of the window by redisplay. | |
4371 | ||
4372 | * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
4373 | (move_it_vertically_backward): Don't recure to move further back. | |
4374 | (move_it_vertically): Remove superfluous condition. | |
4375 | (move_it_by_lines): Clear last_height when moved 0 lines. | |
6abf3a27 | 4376 | (resize_mini_window): Use it.max_extra_line_spacing. |
381f7091 KS |
4377 | (display_tool_bar_line): Clear row->extra_line_spacing. |
4378 | (try_scrolling): Use move_it_vertically_backward directly. | |
4379 | (redisplay_window): Likewise. | |
4380 | (compute_line_metrics): Set row->extra_line_spacing. | |
4381 | (display_line, display_string): Likewise. | |
4382 | (x_produce_glyphs): Update it->max_extra_line_spacing. | |
4383 | ||
b9de078a KS |
4384 | * xmenu.c (pop_down_menu): Return nil. |
4385 | ||
c3438661 JD |
4386 | 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4387 | ||
4388 | * xmenu.c (x_menu_wait_for_event): New function. | |
1d1c7e75 | 4389 | (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event |
c3438661 | 4390 | to handle timers. |
df00f436 JD |
4391 | (popup_widget_loop): Add argument do_timers. |
4392 | (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for | |
4393 | do_timers to popup_widget_loop. | |
c3438661 JD |
4394 | (xmenu_show): Call XMenuActivateSetWaitFunction so that |
4395 | x_menu_wait_for_event is called by XMenuActivate. | |
b9de078a | 4396 | (create_and_show_popup_menu): Pass 1 for do_timers to |
df00f436 | 4397 | popup_get_selection. |
f1d1cd24 JD |
4398 | (pop_down_menu): New function. |
4399 | (popup_get_selection, popup_widget_loop): Unwind protect to | |
4400 | pop_down_menu. | |
4401 | (popup_widget_loop): Add argument widget. | |
4402 | (create_and_show_popup_menu, create_and_show_dialog): Pass new | |
4403 | argument widget to popup_widget_loop. | |
c3438661 | 4404 | |
32e2fb04 SM |
4405 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
4406 | ||
4407 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | |
4408 | ||
0faf6806 KS |
4409 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
4410 | ||
4411 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | |
4412 | Fix various comments referring to XEvents instead of input events. | |
4413 | (x_queue_event): Fix format strings. | |
4414 | (x_stop_queuing_selection_requests): Likewise. | |
4415 | ||
4416 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | |
4417 | (pint2hrstr): Add extra braces to silence compiler. | |
4418 | ||
4419 | * print.c (print_object): Fix format string. | |
4420 | ||
4421 | * lread.c (read1): Fix next_char matching. | |
4422 | ||
4423 | * lisp.h (Fdelete): Add EXFUN. | |
4424 | (replace_range_2): Add prototype. | |
4425 | ||
4426 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | |
4427 | ||
4428 | * intervals.h (NULL_INTERVAL_P): Add separate version when | |
4429 | ENABLE_CHECKING is not defined to silence compiler. | |
4430 | (compare_string_intervals): Add prototype. | |
4431 | ||
4432 | * fringe.c (destroy_fringe_bitmap): Fix return type. | |
4433 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | |
4434 | ||
4435 | * emacs.c (Fdump_emacs): Fix format string. | |
4436 | ||
4437 | * doc.c: Include <ctype.h>. | |
4438 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | |
4439 | ||
4440 | * data.c (store_symval_forwarding): Remove unused variables. | |
4441 | ||
4442 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | |
4443 | ||
16bf4e32 JD |
4444 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4445 | ||
4446 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | |
4447 | to ${OLDXMENU}. | |
4448 | ||
cdb805a9 KS |
4449 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
4450 | ||
4451 | * process.c (Fmake_network_process): Remove kludge for interrupted | |
4452 | connects on BSD. If connect is interrupted, just close socket and | |
4453 | start over rather than sleeping and retry with same socket. | |
4454 | ||
d87a9ab8 | 4455 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0faf6806 | 4456 | |
a8b16c80 JD |
4457 | * .cvsignore: Add buildobj.lst. |
4458 | ||
d87a9ab8 JD |
4459 | * doc.c: New variable Vbuild_files. |
4460 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | |
e7427ac1 | 4461 | file names from buildobj.lst. Only attach docstrings from files |
d87a9ab8 JD |
4462 | that are in Vbuild_files. |
4463 | (syms_of_doc): Defvar Vbuild_files. | |
4464 | ||
4465 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | |
4466 | and w32*.o. | |
4467 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | |
6abf3a27 | 4468 | (mostlyclean): Rm buildobj.lst |
d87a9ab8 JD |
4469 | |
4470 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | |
4471 | is linked. | |
4472 | ||
b6709e77 KS |
4473 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
4474 | ||
4475 | * fringe.c (update_window_fringes): Update fringe bitmaps if | |
4476 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | |
4477 | also update previous row to get rid of misc. artifacts. | |
4478 | ||
bae9677d KS |
4479 | 2004-11-08 Kim F. Storm <storm@cua.dk> |
4480 | ||
4481 | * xdisp.c (fast_find_position): Fix start pos if header line present. | |
b7127aa8 | 4482 | (note_mouse_highlight): Clear mouse face if we move out of text area. |
bae9677d | 4483 | |
3f8ea68c EZ |
4484 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
4485 | ||
4486 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | |
4487 | Don't include <sys/time.h> explicitly. | |
4488 | Include <stdio.h> unconditionally, not just on MacOS. | |
4489 | ||
a653f812 KH |
4490 | 2004-11-08 Kenichi Handa <handa@m17n.org> |
4491 | ||
4492 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | |
4493 | don't pay attention to '\' before '*'. | |
4494 | (fontset_pattern_regexp): Change the meaning of the second arg. | |
4495 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | |
4496 | (check_fontset_name): Try NAME as literal at first, and if it | |
4497 | failes, try NAME as pattern. | |
4498 | ||
c37caf9d JD |
4499 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4500 | ||
4501 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | |
4502 | ||
b72915a7 AS |
4503 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
4504 | ||
78819ebb KS |
4505 | * lisp.h (Fmsdos_downcase_filename): Declare. |
4506 | * dired.c (Fmsdos_downcase_filename): Don't declare here. | |
b72915a7 AS |
4507 | * fileio.c: Likewise. |
4508 | ||
238a44a8 JD |
4509 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4510 | ||
4511 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | |
4512 | comparisons with integers instead of Lisp_Object address. | |
4513 | (Fmsdos_set_keyboard): Declare argument allkeys. | |
4514 | ||
4515 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | |
4516 | ||
78819ebb | 4517 | * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid |
238a44a8 JD |
4518 | int/Lisp_Object mixup. |
4519 | ||
4520 | * fileio.c: Ditto. | |
4521 | ||
31141c13 ST |
4522 | 2004-11-06 Steven Tamm <steventamm@mac.com> |
4523 | ||
4524 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | |
4525 | ||
f28c1bd9 RS |
4526 | 2004-11-06 Richard M. Stallman <rms@gnu.org> |
4527 | ||
4528 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | |
4529 | ||
4530 | * xfaces.c (merge_named_face): GCPRO the face_name in the | |
4531 | named_merge_point struct that we make. | |
4532 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | |
4533 | ||
4534 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | |
4535 | before deciding whether to inactivate mark. | |
4536 | ||
59dede22 EZ |
4537 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> |
4538 | ||
4539 | * config.in: Regenerate (add HAVE_GETRUSAGE). | |
6159c232 EZ |
4540 | * editfns.c (Fget_internal_run_time): New function. |
4541 | (syms_of_data): Defsubr it. | |
4542 | * fns.c (sxhash): As far as possible, merge calculation of | |
4543 | hash code for symbols and strings. | |
59dede22 | 4544 | |
27540e81 EZ |
4545 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> |
4546 | ||
4547 | * frame.c (syms_of_frame): Fix the example in the doc string. | |
4548 | ||
df470e3b JD |
4549 | 2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4550 | ||
4551 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | |
4552 | ||
4553 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | |
4554 | (create_and_show_dialog): Revert change from 2004-10-31. | |
bae9677d | 4555 | |
4cc8522c LT |
4556 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> |
4557 | ||
4558 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | |
4559 | ||
d4a42098 KS |
4560 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
4561 | ||
a8490886 KS |
4562 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. |
4563 | ||
d4a42098 KS |
4564 | * fileio.c (Ffile_modes): Doc fix. |
4565 | (auto_save_1): Check for Ffile_modes nil value. | |
4566 | ||
36a2b04c KS |
4567 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
4568 | ||
4569 | * xselect.c (struct selection_event_queue, selection_queue) | |
4570 | (x_queue_selection_requests, x_queue_event) | |
4571 | (x_start_queuing_selection_requests) | |
4572 | (x_stop_queuing_selection_requests): Add new queue for selection | |
4573 | input events to replace previous XEvent queue in xterm.c. | |
4574 | (queue_selection_requests_unwind): Adapt to new queue. | |
32e2fb04 SM |
4575 | (x_reply_selection_request): Adapt to new queue. |
4576 | Unexpect wait_object in case of x errors (memory leak). | |
36a2b04c KS |
4577 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
4578 | (x_handle_selection_event): New function. May queue selection events. | |
4579 | (wait_for_property_change_unwind): Use save_value instead of cons. | |
4580 | Clear property_change_reply_object. | |
4581 | (wait_for_property_change): Abort if already waiting. | |
4582 | Use save_value instead of cons for unwind data. | |
4583 | (x_handle_property_notify): Skip events already arrived, but don't | |
4584 | free them, as "arrived" field is checked by wait_for_property_change, | |
4585 | and it will be freed by unwind or explicit unexpect_property_change. | |
4586 | (x_get_foreign_selection): Add to new queue. | |
4587 | (receive_incremental_selection): Don't unexpect wait_object when done | |
4588 | as it has already been freed by previous wait_for_property_change. | |
4589 | ||
4590 | * xterm.h (x_start_queuing_selection_requests) | |
4591 | (x_stop_queuing_selection_requests, x_handle_selection_request) | |
4592 | (x_handle_selection_clear): Remove prototypes. | |
4593 | (x_handle_selection_event): Add prototype. | |
4594 | ||
4595 | * xterm.c (handle_one_xevent): Don't queue X selection events | |
4596 | here, it may be too late if we start queuing after we have already | |
4597 | stored some selection events into the kbd buffer. | |
4598 | (struct selection_event_queue, queue, x_queue_selection_requests) | |
4599 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | |
4600 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | |
4601 | (x_catch_errors_unwind): Block input around final XSync. | |
4602 | ||
4603 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | |
4604 | ||
4605 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | |
4606 | (kbd_buffer_unget_event): New function. | |
4607 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | |
4608 | and use x_handle_selection_event. | |
4609 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | |
4610 | ||
9c3ad9e1 JD |
4611 | 2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4612 | ||
4613 | * xselect.c (TRACE3): New debug macro. | |
4614 | (x_reply_selection_request): Use it. | |
4615 | (receive_incremental_selection): In call to TRACE0, the name of | |
4616 | a symbol is in xname. | |
4617 | ||
a33b89de KS |
4618 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
4619 | ||
4620 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | |
4621 | ||
a872928c JD |
4622 | 2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4623 | ||
88208bb8 JD |
4624 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. |
4625 | ||
78819ebb | 4626 | * gtkutil.h (use_old_gtk_file_dialog): Declare. |
0a4f23f3 JD |
4627 | |
4628 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | |
32e2fb04 | 4629 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
0a4f23f3 JD |
4630 | * xfns.c (syms_of_xfns): ... to here. |
4631 | ||
a872928c JD |
4632 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
4633 | it doesn't start with /. | |
4634 | ||
b912921c KH |
4635 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
4636 | ||
4637 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | |
4638 | treat it as a literal character. | |
4639 | ||
c524d9a6 KS |
4640 | 2004-11-03 Kim F. Storm <storm@cua.dk> |
4641 | ||
4642 | * .gdbinit (ppt): New function. | |
4643 | ||
8cfd0f36 JD |
4644 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4645 | ||
a11e1dce JD |
4646 | * xterm.c (x_window_to_scroll_bar): Only call |
4647 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | |
4648 | ||
8cfd0f36 JD |
4649 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
4650 | of save. | |
4651 | ||
a93563fd AS |
4652 | 2004-11-02 Andreas Schwab <schwab@suse.de> |
4653 | ||
4654 | * window.c (Fscroll_right): Fix last change. | |
4655 | ||
2b2d59d8 KS |
4656 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
4657 | ||
4658 | * Makefile.in (callproc.o): Depend on blockinput.h atimer.h systime.h. | |
4659 | ||
4660 | 2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
4661 | ||
4662 | * callproc.c (Fcall_process): Block input around vfork. | |
4663 | ||
ca28104d KS |
4664 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
4665 | ||
4666 | * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. | |
4667 | (syms_of_eval): Defsubr it. | |
4668 | ||
29bb7127 RS |
4669 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
4670 | ||
4671 | * insdel.c (replace_range_2): New function. | |
4672 | ||
4673 | * casefiddle.c (casify_region): Handle changes in byte-length | |
4674 | using replace_range_2. | |
4675 | ||
4676 | * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. | |
4677 | ||
b6189c3b | 4678 | * xdisp.c (back_to_previous_visible_line_start): |
29bb7127 RS |
4679 | Subtract 1 from pos when checking previous newline for invisibility. |
4680 | ||
4681 | * window.c (window_scroll_pixel_based): Update preserve_y | |
4682 | for header line if any. | |
4683 | (Fscroll_left, Fscroll_right): Don't call interactive_p; | |
4684 | use a new second argument instead. | |
4685 | ||
4686 | * eval.c (Fcall_interactive_p): New function. | |
4687 | (interactive_p): Don't test INTERACTIVE here. | |
4688 | (Finteractive_p): Doc fix. | |
4689 | ||
4690 | * eval.c (Feval): Abort if INPUT_BLOCKED_P. | |
4691 | ||
b6189c3b | 4692 | 2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
a3fe4aaf JR |
4693 | |
4694 | * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for | |
b6189c3b | 4695 | comparing font names. |
a3fe4aaf | 4696 | |
2a00cdb4 JD |
4697 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4698 | ||
f9d64bb3 JD |
4699 | * fileio.c (Fread_file_name): Pass Qt as fifth parameter to |
4700 | Fx_file_dialog if only directories should be read. | |
4701 | ||
4702 | * lisp.h: Fx_file_dialog takes 5 parameters. | |
4703 | ||
32e2fb04 SM |
4704 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
4705 | Add parameter only_dir_p. | |
f9d64bb3 JD |
4706 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
4707 | dialog, just text field part. Do not add DEFAULT_FILENAME | |
4708 | to list of files if it isn't there. | |
4709 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | |
4710 | ||
32e2fb04 SM |
4711 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
4712 | Check only_dir_p instead of comparing prompt to "Dired". When using | |
f9d64bb3 JD |
4713 | a save dialog, add option kNavDontConfirmReplacement, change title |
4714 | to "Enter name", change text for save button to "Ok". | |
4715 | ||
32e2fb04 SM |
4716 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
4717 | Check only_dir_p instead of comparing prompt to "Dired". | |
f9d64bb3 JD |
4718 | |
4719 | * gtkutil.c (xg_get_file_with_chooser) | |
4720 | (xg_get_file_with_selection): New functions, only defined ifdef | |
4721 | HAVE_GTK_FILE_CHOOSER_DIALOG_NEW and HAVE_GTK_FILE_SELECTION_NEW | |
4722 | respectively. | |
4723 | (xg_get_file_name): Add parameter only_dir_p. | |
4724 | Call xg_get_file_with_chooser or xg_get_file_with_selection | |
4725 | depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. | |
4726 | (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. | |
4727 | ||
4728 | * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. | |
4729 | ||
2a00cdb4 JD |
4730 | * config.in: Rebuild (added HAVE_GTK_FILE_*). |
4731 | ||
f6749d5d KS |
4732 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
4733 | ||
32e2fb04 SM |
4734 | * process.c (connect_wait_mask, num_pending_connects): |
4735 | Only declare and use them if NON_BLOCKING_CONNECT is defined. | |
bad49fc7 | 4736 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
f6749d5d KS |
4737 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
4738 | (wait_reading_process_output): Only declare and use local vars | |
4739 | Connecting and check_connect when NON_BLOCKING_CONNECT is defined. | |
f6749d5d | 4740 | |
1a99fe1a JR |
4741 | 2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change) |
4742 | ||
4743 | * w32term.c (x_scroll_run): Delete region objects after use. | |
4744 | ||
fcdb28b4 JD |
4745 | 2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4746 | ||
495ef86b JD |
4747 | * xmenu.c: Add prototypes for forward function declarations. |
4748 | (popup_get_selection): Remove parameter do_timers, remove call to | |
4749 | timer_check. | |
32e2fb04 SM |
4750 | (create_and_show_popup_menu, create_and_show_dialog): |
4751 | Remove parameter do_timers from call to popup_get_selection. | |
495ef86b | 4752 | |
12e6566a JD |
4753 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
4754 | tool_bar_items and assign the result to f->tool_bar_items if | |
4755 | not equal. Move BLOCK/UNBLOCK_INPUT from around call to | |
4756 | tool_bar_items to assignment of result. | |
4757 | ||
fcdb28b4 JD |
4758 | * atimer.c (alarm_signal_handler): Do not call set_alarm if |
4759 | pending_atmers is non-zero. | |
4760 | ||
1a1a0c4c KS |
4761 | 2004-10-31 Kim F. Storm <storm@cua.dk> |
4762 | ||
4763 | * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. | |
4764 | ||
a36f1680 JW |
4765 | 2004-10-28 Will <will@glozer.net> |
4766 | ||
1d1c7e75 | 4767 | * macterm.c: Allow user to assign key modifiers to the Mac Option |
a36f1680 JW |
4768 | key via a 'mac-option-modifier' variable. |
4769 | ||
32e2fb04 | 4770 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2d586478 SM |
4771 | |
4772 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | |
4773 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | |
4774 | (x_handle_selection_request, x_handle_selection_clear) | |
4775 | (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. | |
4776 | ||
4f71c13f RS |
4777 | 2004-10-28 Richard M. Stallman <rms@gnu.org> |
4778 | ||
4779 | * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
4780 | ||
4781 | * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
4782 | ||
068f3848 SM |
4783 | 2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca> |
4784 | ||
4785 | * syntax.c (scan_sexps_forward): Give precedence to a 2-char | |
4786 | comment-starter over a 1-char one. | |
4787 | ||
4660a9e3 RS |
4788 | 2004-10-27 Richard M. Stallman <rms@gnu.org> |
4789 | ||
4790 | * xdisp.c (get_next_display_element): In mode lines, | |
4791 | treat newline and tab like other control characters. | |
4792 | ||
4793 | * editfns.c (Fmessage): Doc fix. | |
4794 | ||
4795 | * indent.c (vmotion): When moving up, check the newline before. | |
4796 | Make prevline an int, not a Lisp_Object. | |
4797 | ||
233f3db6 KS |
4798 | 2004-10-27 Kim F. Storm <storm@cua.dk> |
4799 | ||
4800 | * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. | |
4801 | Only allocate info and discarded tables once. | |
4802 | ||
4803 | * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. | |
4804 | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. | |
4805 | (SAFE_FREE): Test it to determine if we need to unwind to free. | |
4806 | Remove size arg. All users changed. | |
4807 | (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. | |
4808 | ||
1442465d JD |
4809 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4810 | ||
4811 | * gtkutil.c: Put empty line between comment and function body. | |
068f3848 SM |
4812 | (xg_destroy_widgets): Rename from remove_from_container. |
4813 | Just destroy all widgets in list. Argument wcont removed. | |
1442465d JD |
4814 | (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets |
4815 | instead of remove_from_container. | |
4816 | (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) | |
4817 | (free_frame_tool_bar): Add comment. | |
4818 | ||
4819 | * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME | |
4820 | is not NULL before strcmp. | |
4821 | ||
c8636435 KS |
4822 | 2004-10-26 Kim F. Storm <storm@cua.dk> |
4823 | ||
4824 | * callint.c (Fcall_interactively): Add 'U' code to get the | |
4825 | up-event discarded by a previous 'k' or 'K' argument. | |
4826 | ||
5629f29b DK |
4827 | 2004-10-26 David Kastrup <dak@gnu.org> |
4828 | ||
4829 | * buffer.c (syms_of_buffer): Fix a few typos. | |
4830 | ||
4f2f546e JD |
4831 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4832 | ||
4833 | * xsmfns.c: Put empty line between comment and function body. | |
4834 | Use two spaces before comment end. | |
4835 | ||
fc1062f5 KH |
4836 | 2004-10-25 Kenichi Handa <handa@m17n.org> |
4837 | ||
4838 | * fontset.c (fontset_pattern_regexp): Optimize for the case that | |
4839 | PATTERN is full XLFD. | |
4840 | ||
be13f5e5 KH |
4841 | 2004-10-24 Kenichi Handa <handa@m17n.org> |
4842 | ||
4843 | * regex.h (enum reg_errcode_t): New value REG_ERANGEX. | |
4844 | ||
4845 | * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. | |
4846 | (regex_compile): Return REG_ERANGEX if appropriate. | |
4847 | ||
d0ee2ed3 KH |
4848 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
4849 | ||
4850 | * editfns.c (Ftranslate_region_internal): New function. | |
4851 | (syms_of_editfns): Defsubr it. | |
4852 | ||
63ea8ea5 JD |
4853 | 2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4854 | ||
4855 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | |
4856 | ||
9ba27690 | 4857 | 2004-10-21 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
c27ed90a | 4858 | |
068f3848 SM |
4859 | * xterm.h (x_output): New member `xic_base_fontname'. |
4860 | (FRAME_XIC_BASE_FONTNAME): New macro. | |
4861 | (xic_free_xfontset): Declare. | |
c27ed90a | 4862 | |
068f3848 SM |
4863 | * xfns.c (xic_create_xfontset): Share fontsets between frames |
4864 | based on base_fontname. | |
4865 | (xic_free_xfontset): New function. | |
4866 | (free_frame_xic): Use it. | |
4867 | (xic_set_xfontset): Ditto. | |
c27ed90a | 4868 | |
068f3848 | 4869 | * xterm.c (xim_destroy_callback): Ditto. |
c27ed90a JD |
4870 | |
4871 | ||
59508699 JR |
4872 | 2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) |
4873 | ||
4874 | * w32term.c (x_draw_glyph_string): Use overline_color for overlines. | |
4875 | ||
dede2792 JD |
4876 | 2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4877 | ||
3aca2078 JD |
4878 | * xterm.h (XSync): If USE_GTK, define XSync as process_all and then |
4879 | XSync. | |
4880 | ||
dede2792 JD |
4881 | * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): |
4882 | New variables and constant. | |
4883 | (main): Calculate heap_bss_diff. If we are dumping and the | |
4884 | heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 | |
4885 | and exec ourself again. | |
4886 | (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF | |
4887 | print a warning. | |
4888 | ||
4889 | * lastfile.c: Make my_endbss and my_endbss_static available on all | |
4890 | platforms. | |
4891 | ||
4892 | * Makefile.in (RUN_TEMACS): Remove @SETARCH@. | |
4893 | * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. | |
4894 | ||
1dc5ba01 LT |
4895 | 2004-10-19 Luc Teirlinck <teirllm@auburn.edu> |
4896 | ||
4897 | * data.c (Flocal_variable_if_set_p): Doc fix. | |
4898 | ||
950090be JR |
4899 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
4900 | ||
4901 | * w32.c (init_environment): Set emacs_dir correctly when running | |
4902 | emacs from the build directory. | |
4903 | ||
8550b998 RS |
4904 | 2004-10-19 Richard M. Stallman <rms@gnu.org> |
4905 | ||
4906 | * editfns.c (Fdelete_and_extract_region): | |
4907 | If region is empty, return null string. | |
4908 | ||
08dedea6 JD |
4909 | 2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4910 | ||
1dc5ba01 | 4911 | * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left |
08dedea6 | 4912 | and canon_width. |
068f3848 | 4913 | (xg_frame_cleared): Remove. |
08dedea6 | 4914 | |
068f3848 SM |
4915 | * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) |
4916 | (xg_find_top_left_in_fixed): Remove. | |
08dedea6 JD |
4917 | (xg_create_scroll_bar): Put an event box widget between |
4918 | the scroll bar widget and the edit widget. | |
4919 | (xg_show_scroll_bar): Show the parent widget (the event box). | |
4920 | (xg_remove_scroll_bar): Destroy parent (the event box) also. | |
4921 | (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. | |
4922 | Move the parent (the event box) widget inside the fixed widget. | |
4923 | Move window clear to xterm.c. | |
4924 | ||
068f3848 | 4925 | * gtkutil.h (xg_frame_cleared): Remove. |
1dc5ba01 | 4926 | |
08dedea6 | 4927 | * xterm.c (x_clear_frame): Remove call to xg_frame_cleared |
068f3848 SM |
4928 | (x_scroll_bar_create, XTset_vertical_scroll_bar): |
4929 | Remove arguments left and width to xg_update_scrollbar_pos. | |
08dedea6 JD |
4930 | (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. |
4931 | ||
8550b998 | 4932 | 2004-10-19 Kenichi Handa <handa@m17n.org> |
e3e55463 KS |
4933 | |
4934 | * xdisp.c (display_mode_element): Fix display of wide chars. | |
e3e55463 | 4935 | |
84338890 JD |
4936 | 2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4937 | ||
4938 | * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to | |
4939 | gdk_window_clear and move gdk_window_process_all_updates after | |
4940 | clear so events are sent to the X server in correct order. | |
4941 | ||
6e1b0d8c KH |
4942 | 2004-10-18 Kenichi Handa <handa@m17n.org> |
4943 | ||
4944 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case for | |
4945 | comparing font names. | |
8550b998 | 4946 | (fs_query_fontset): Use fast_string_match for comparing fontset names. |
6e1b0d8c KH |
4947 | (list_fontsets): Likewise. |
4948 | ||
4949 | * search.c (fast_string_match_ignore_case): New function. | |
4950 | ||
4951 | * lisp.h (fast_string_match_ignore_case): Extern it. | |
4952 | ||
345e75a8 KS |
4953 | 2004-10-17 Kim F. Storm <storm@cua.dk> |
4954 | ||
4955 | * xdisp.c (overlay_arrow_at_row): Return overlay string rather | |
4956 | than bitmap if there is not left fringe. | |
4957 | (get_overlay_arrow_glyph_row): Also used on windows system. | |
4958 | (display_line): Display overlay string if no left fringe. | |
4959 | ||
be13cbb7 JR |
4960 | 2004-10-16 Jason Rumney <jasonr@gnu.org> |
4961 | ||
4962 | * w32fns.c (w32_font_match): Encode font name being matched. | |
4963 | ||
c2e2ede7 RS |
4964 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
4965 | ||
4966 | * window.c (Fspecial_display_p): Doc fix. | |
4967 | ||
043f7f73 | 4968 | 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
3584d95d SM |
4969 | |
4970 | * doc.c (Fsubstitute_command_keys): Fix remap-handling. | |
4971 | Don't ignore menus, because where-is-internal already does it for us. | |
4972 | ||
699a0392 KS |
4973 | 2004-10-15 Kim F. Storm <storm@cua.dk> |
4974 | ||
b3c7a89b KS |
4975 | * xdisp.c (redisplay_window): Only update fringes and vertical |
4976 | border on window frames. | |
699a0392 | 4977 | |
4e382b0f AS |
4978 | 2004-10-14 Andreas Schwab <schwab@suse.de> |
4979 | ||
4980 | * m/ia64.h (DATA_SEG_BITS): Don't define. | |
4981 | ||
329a7be2 KS |
4982 | 2004-10-14 Kim F. Storm <storm@cua.dk> |
4983 | ||
4984 | * xterm.h: Include Xutil.h after keysym.h to work around bug | |
dbb37962 | 4985 | in some X versions. |
329a7be2 | 4986 | |
982241b1 SM |
4987 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
4988 | ||
4989 | * fns.c (map_char_table): Add missing gcpros. | |
4990 | ||
9238467d SM |
4991 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
4992 | ||
4993 | * keymap.c (get_keymap): An autoload form is not a keymap. | |
4994 | ||
4995 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | |
4996 | ||
4440e3ca KS |
4997 | 2004-10-13 Kim F. Storm <storm@cua.dk> |
4998 | ||
7cfdabde KS |
4999 | * callproc.c (Fcall_process): Simplify handling of display arg. |
5000 | Resume `display_on_the_fly' once a coding system is determined. | |
5001 | ||
4440e3ca KS |
5002 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. |
5003 | ||
1c8dec6a KS |
5004 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
5005 | ||
5006 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | |
5007 | caller, such as call-process, is not going to poll for input. | |
5008 | (calc_line_height_property): Handle case where it->object is nil. | |
5009 | ||
5010 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | |
5011 | ||
170b174c KH |
5012 | 2004-10-12 Kenichi Handa <handa@m17n.org> |
5013 | ||
9238467d SM |
5014 | * xdisp.c (get_next_display_element): |
5015 | If unibyte_display_via_language_environment is zero, display 8-bit | |
170b174c KH |
5016 | chars in octal in unibyte buffer. |
5017 | ||
b583964c KS |
5018 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
5019 | ||
5020 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | |
5021 | are no ordinary bindings. | |
5022 | ||
29fabd8c JD |
5023 | 2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5024 | ||
9238467d | 5025 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
29fabd8c | 5026 | |
c3f4c690 ST |
5027 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5028 | ||
9238467d SM |
5029 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
5030 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. | |
c3f4c690 | 5031 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
9238467d SM |
5032 | terminal frame. |
5033 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. | |
5034 | * macgui.h (mktime): Use emacs_mktime. | |
c3f4c690 ST |
5035 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
5036 | Make a cancel file-open dialog be like C-g. | |
9238467d SM |
5037 | * mac.c (mktime): Use emacs_mktime. |
5038 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. | |
5039 | (Fmac_paste_function): Add better error handling for carbon cut/paste. | |
c3f4c690 | 5040 | |
9688f9eb KS |
5041 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
5042 | ||
5043 | * keyboard.c (timer_resume_idle): New function to resume idle | |
5044 | timer without resetting timers on the idle list. | |
52eb0373 | 5045 | (read_char): Use timer_resume_idle. Remove local var last_idle_start. |
9688f9eb KS |
5046 | (timer_start_idle, timer_stop_idle): Declare static. |
5047 | (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. | |
5048 | ||
5049 | * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. | |
5050 | ||
f7f3a65f ST |
5051 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
5052 | ||
9238467d | 5053 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
f7f3a65f | 5054 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
9238467d | 5055 | NULL where 0 should be used. |
f7f3a65f ST |
5056 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
5057 | objc/malloc.h | |
9238467d | 5058 | * mac.c: Include time.h for Tiger compatibility. |
f7f3a65f | 5059 | |
3c7d999a KS |
5060 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
5061 | ||
5062 | * xdisp.c (redisplay_window): Fix flicker on vertical line between | |
5063 | windows. Update vertical line after drawing window fringes, but | |
5064 | only if actually drawing any bitmaps--or there is no fringe. | |
5065 | ||
5066 | * xterm.c (x_update_window_end): Likewise. | |
5067 | * macterm.c (x_update_window_end): Likewise. | |
5068 | * w32term.c (x_update_window_end): Likewise. | |
5069 | ||
5070 | * fringe.c (draw_window_fringes): Return value now indicates if | |
5071 | any fringe bitmaps were redrawn (or there are no fringes). | |
5072 | ||
5073 | * dispextern.h (draw_window_fringes): Update prototype. | |
5074 | ||
bf06c82f ST |
5075 | 2004-10-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5076 | ||
5077 | * macfns.c (mac_get_window_bounds): Add extern. | |
5078 | (x_real_positions): Use mac_get_window_bounds. | |
5079 | ||
5080 | * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for | |
5081 | xmenu.c (YAILOM). | |
3c7d999a | 5082 | |
bf06c82f ST |
5083 | * macterm.c [!MAC_OSX]: Include Windows.h. |
5084 | (front_emacs_window): Rename from mac_front_window. All uses | |
5085 | changed. Return the frontmost non-tooltip emacs window. | |
5086 | (mac_get_window_bounds): New function. | |
5087 | (x_calc_absolute_position): Use the difference of width and height | |
5088 | between the inner and outer window. | |
5089 | (x_set_offset): Specify window position by the coordinae of the | |
5090 | outer window. Adjust the position if the title bar is completely | |
5091 | outside the screen. | |
5092 | (app_is_suspended, app_sleep_time): Remove unused variables. | |
5093 | (do_app_resume, do_app_suspend): Remove their contents because | |
5094 | window-activate/deactivate events will do the job. | |
5095 | (do_zoom_window): Remove unused variables. Make compliant to the | |
5096 | standard way of zooming. Set f->left_pos and f->top_pos. | |
5097 | (XTread_socket): Don't use argument `expected'. Don't use | |
5098 | FrontWindow to determine the clicked window. Exclude unprocessed | |
5099 | mouseUp cases in the early stage. Add parentheses to fix operator | |
5100 | precedence. | |
5101 | (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. | |
5102 | ||
4cbbf6b7 | 5103 | 2004-10-05 Jan Dj\e,Ad\e(Brv. <jan.h.d@swipnet.se> |
d8b43276 JD |
5104 | |
5105 | * config.in: Regenerate. | |
5106 | ||
5107 | * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of | |
5108 | HAVE_EXECSHIELD. | |
5109 | ||
b90ee8b5 JD |
5110 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5111 | ||
5112 | * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for | |
5113 | a row if Alt or Meta has been found for that row. Also stop scanning | |
5114 | for Keysyms for that row. | |
5115 | ||
904db1a2 KS |
5116 | 2004-10-04 Kim F. Storm <storm@cua.dk> |
5117 | ||
0207b8ad KS |
5118 | * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons |
5119 | to list. Include overlay arrow bitmap in return value. | |
5120 | ||
25f7220c KS |
5121 | * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll |
5122 | bars with fractional column width. If scroll bar separates two | |
5123 | windows, move it towards the window it belongs to. Only update | |
5124 | the padding area below the scroll bar widget when necessary, | |
5125 | i.e. when scroll bar widget is created, moved, or resized. | |
5126 | ||
562020fe KS |
5127 | * xdisp.c (define_frame_cursor1): Do not change frame cursor |
5128 | while tracking/dragging mouse. | |
5129 | (x_draw_vertical_border): Do not draw line if frame has scroll bars. | |
5130 | ||
37e34af7 KS |
5131 | * window.c (coordinates_in_window): Relax check for cursor |
5132 | on vertial border between mode lines. | |
5133 | (Fset_window_fringes): Do not allow negative widths. | |
5134 | (Fset_window_scroll_bars): Likewise. | |
5135 | ||
904db1a2 KS |
5136 | * .gdbinit (pp): Shorthand for p ARG + pr. |
5137 | (ff): New command: flush frame updates (X only). | |
5138 | ||
38fe4f64 MA |
5139 | 2004-10-03 Michael Albinus <michael.albinus@gmx.de> |
5140 | ||
5141 | * fileio.c (auto_save_1) Call Ffile_modes for remote files. | |
5142 | ||
9de36315 KH |
5143 | 2004-09-30 Kenichi Handa <handa@m17n.org> |
5144 | ||
07c381ad | 5145 | * process.c (send_process): Free composition data. |
9de36315 | 5146 | |
07c381ad | 5147 | * fileio.c (Finsert_file_contents): Free composition data. |
9de36315 KH |
5148 | |
5149 | * coding.c (code_convert_region): Don't skip ASCIIs if there are | |
07c381ad KH |
5150 | compositions to encode. |
5151 | (encode_coding_string): Likewise. Free composition data. | |
5152 | ||
d5fb8dab | 5153 | 2004-09-30 Florian Weimer <fw@deneb.enyo.de> |
07c381ad KH |
5154 | |
5155 | * coding.c (code_convert_region): Free composition data. | |
9de36315 | 5156 | |
f2a54fbc KS |
5157 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
5158 | ||
dc5d6435 KS |
5159 | * fringe.c: Remove limit on number of bitmaps. |
5160 | (fringe_bitmaps, fringe_faces): Change to pointers. | |
5161 | (max_fringe_bitmaps): New var. | |
5162 | (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. | |
5163 | (init_fringe): Allocate fringe_bitmaps and fringe_faces. | |
5164 | ||
5165 | * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). | |
5166 | (struct glyph_row): Reorder fringe_bitmap related fields. | |
5167 | (struct it): Likewise. | |
5168 | ||
5169 | * w32term.c (fringe_bmp): Change to pointer. | |
5170 | (max_fringe_bmp): New var. | |
5171 | (w32_define_fringe_bitmap): Expand fringe_bmp. | |
5172 | (w32_draw_fringe_bitmap): Check max_fringe_bmp. | |
5173 | (w32_destroy_fringe_bitmap): Likewise. | |
5174 | ||
5175 | 2004-09-29 Kim F. Storm <storm@cua.dk> | |
5176 | ||
5177 | * fringe.c: Simplify last change. | |
f2a54fbc KS |
5178 | (lookup_fringe_bitmap): New function. |
5179 | (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. | |
5180 | (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. | |
5181 | Keep standard bitmaps in Vfringe_bitmaps. | |
5182 | (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. | |
5183 | (Fset_fringe_bitmap_face): Likewise. | |
5184 | ||
5185 | * dispextern.h (lookup_fringe_bitmap): Add prototype. | |
5186 | (valid_fringe_bitmap_p): Remove prototype. | |
5187 | ||
5188 | * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. | |
5189 | ||
841a8bca KS |
5190 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
5191 | ||
1f2da365 KS |
5192 | * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) |
5193 | (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). | |
5194 | ||
841a8bca KS |
5195 | * dispextern.h (valid_fringe_bitmap_p): Fix prototype. |
5196 | ||
5197 | * fringe.c (Vfringe_bitmaps): New variable. | |
5198 | (syms_of_fringe): DEFVAR_LISP it. | |
5199 | (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. | |
5200 | Change arg to Lisp_Object and fail if not an integer. | |
5201 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | |
5202 | (destroy_fringe_bitmap): New functions. | |
9238467d SM |
5203 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
5204 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | |
841a8bca KS |
5205 | clear its fringe property. |
5206 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | |
5207 | Fdestroy_fringe_bitmap. | |
5208 | (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing | |
5209 | bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps | |
5210 | and set fringe property. Signal error if no free slots. | |
5211 | (Fset_fringe_bitmap_face): Change arg to bitmap symbol. | |
5212 | (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. | |
5213 | ||
5214 | * xdisp.c (handle_single_display_prop): Fringe bitmaps are now | |
5215 | symbols with a fringe property. | |
5216 | ||
4d965590 KS |
5217 | 2004-09-27 Kim F. Storm <storm@cua.dk> |
5218 | ||
5219 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: | |
5220 | Doc fix. Format may now be a symbol or alist, not a cons. | |
5221 | ||
5222 | * fringe.c (update_window_fringes): Handle new formats of | |
5223 | indicate-buffer-boundaries (symbol or alist). No longer | |
5224 | allow a simple cons. | |
5225 | (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. | |
5226 | ||
e888c2b3 JD |
5227 | 2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5228 | ||
9238467d | 5229 | * config.in: Rebuild. |
e888c2b3 | 5230 | |
83f1cb94 JD |
5231 | 2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5232 | ||
5233 | * config.in: Rebuild. | |
5234 | ||
dd3b1d60 | 5235 | * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. |
83f1cb94 | 5236 | |
2c51754c SM |
5237 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
5238 | ||
5239 | * xterm.c (x_term_init): Work around a bug in some X servers. | |
5240 | ||
3df5f8aa RS |
5241 | 2004-09-18 Richard M. Stallman <rms@gnu.org> |
5242 | ||
557ca2c1 RS |
5243 | * buffer.c (syms_of_buffer) <default-major-mode>: Doc fix. |
5244 | ||
3df5f8aa RS |
5245 | * xdisp.c (try_window_reusing_current_matrix): |
5246 | Handle the case where we reach the old displayed text, | |
5247 | out of sync with the old line boundary. | |
5248 | ||
9238467d | 5249 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
4b70e2c9 SM |
5250 | |
5251 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | |
5252 | narrowed buffer. | |
5253 | ||
bfa02563 KS |
5254 | 2004-09-14 Kim F. Storm <storm@cua.dk> |
5255 | ||
a25fe164 KS |
5256 | * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. |
5257 | ||
bfa02563 KS |
5258 | * xfaces.c (Qface_no_inherit): New var. |
5259 | (syms_of_xfaces): Intern and staticpro it. | |
5260 | (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) | |
5261 | (Finternal_copy_lisp_face, update_face_from_frame_parameter): | |
5262 | Don't increment face_change_count when face has non-nil | |
5263 | face-no-inherit property. | |
5264 | ||
126f9c02 SM |
5265 | 2004-09-13 Stefan Monnier <monnier@iro.umontreal.ca> |
5266 | ||
892a8eb5 SM |
5267 | * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. |
5268 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | |
5269 | ||
126f9c02 | 5270 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
9238467d | 5271 | before doing the mark_stack_check_gcpros since they're not on the stack. |
126f9c02 | 5272 | |
c0ad3b38 KS |
5273 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
5274 | ||
5275 | * editfns.c (Fformat): Handle format strings with multiple text | |
5276 | properties. Reverse text property list from the format string, | |
5277 | so the positions are in increasing order. | |
5278 | ||
844fc085 JD |
5279 | 2004-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5280 | ||
5281 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | |
5282 | x_uncatch_errors so that possible protocol errors are delivered. | |
5283 | ||
b106731c EZ |
5284 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> |
5285 | ||
21065c92 EZ |
5286 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and |
5287 | blockinput.h. | |
5288 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | |
5289 | charset.h, and coding.h | |
9238467d | 5290 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
21065c92 EZ |
5291 | (term.o): Depend on window.h and keymap.h. |
5292 | (abbrev.o): Depend on syntax.h. | |
5293 | (callint.o): Depend on keymap.h. | |
5294 | (casefiddle.o): Depend on charset.h and keymap.h. | |
5295 | (category.o): Depend on keymap.h. | |
5296 | (coding.o): Depend on dispextern.h. | |
5297 | (cmds.o): Depend on keyboard.h and keymap.h. | |
5298 | (dispnew.o): Depend on indent.h and intervals.h. | |
5299 | (doc.o): Depend on keymap.h. | |
5300 | (editfns.o): Depend on frame.h. | |
5301 | (emacs.o): Depend on dispextern.h. | |
5302 | (fileio.o): Don't depend on ccl.h. | |
5303 | (filelock.o): Depend on charset.h and coding.h. | |
5304 | (frame.o): Depend on w32term.h and macterm.h. | |
5305 | (insdel.o): Depend on region-cache.h. | |
5306 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | |
5307 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | |
5308 | (search.o): Depend on $(INTERVALS_SRC). | |
5309 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | |
5310 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | |
5311 | xterm.h, w32term.h, and macterm.h. | |
5312 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | |
5313 | w32term.h, and macterm.h. | |
5314 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | |
5315 | region-cache.h, xterm.h, w32term.h, and macterm.h. | |
5316 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | |
5317 | (data.o): Depend on frame.h. | |
5318 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | |
5319 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | |
5320 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | |
5321 | (intervals.o): Depend on keymap.h. | |
5322 | ||
9238467d SM |
5323 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
5324 | Add debugging print-out to termscript. | |
b106731c | 5325 | |
64b7122d RS |
5326 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
5327 | ||
5328 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | |
5329 | ||
5670531e RS |
5330 | 2004-09-08 Richard M. Stallman <rms@gnu.org> |
5331 | ||
6cb4a892 RS |
5332 | * window.c (Fset_window_buffer): Doc fix. |
5333 | ||
5670531e RS |
5334 | * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. |
5335 | ||
7e388eb7 JL |
5336 | 2004-09-08 Dan Nicolaescu <dann@ics.uci.edu> |
5337 | ||
5338 | * minibuf.c (history_delete_duplicates): New variable. | |
5339 | (read_minibuf): Use it. | |
5340 | (syms_of_minibuf): Create the corresponding lisp variable. | |
5341 | ||
370e3587 KS |
5342 | 2004-09-08 Kim F. Storm <storm@cua.dk> |
5343 | ||
5344 | * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in | |
5345 | overlay just before point. | |
5346 | ||
f844ba4e LT |
5347 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
5348 | ||
5349 | * buffer.h (struct buffer): Add auto_save_file_format field. | |
9238467d SM |
5350 | * buffer.c (reset_buffer, init_buffer_once): |
5351 | Handle auto_save_file_format field. | |
f844ba4e LT |
5352 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
5353 | `buffer-auto-save-file-format'. | |
f844ba4e LT |
5354 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
5355 | (build_annotations): Adapt to replacement of | |
5356 | `auto-save-file-format' with the new buffer-local variable | |
5357 | `buffer-auto-save-file-format'. | |
5358 | (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. | |
5359 | ||
f0f90717 JR |
5360 | 2004-09-07 Jason Rumney <jasonr@gnu.org> |
5361 | ||
5362 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | |
5363 | ||
9238467d SM |
5364 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: |
5365 | Handle Unicode menu titles. | |
f0f90717 | 5366 | |
4e14f66c KS |
5367 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
5368 | ||
5369 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | |
5370 | property from text property or overlay strings at point. | |
5371 | ||
9238467d | 5372 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1806714a SM |
5373 | |
5374 | * xmenu.c (update_submenu_strings): YAILOM. | |
5375 | (set_frame_menubar): Make sure last_i is initialized. | |
5376 | ||
1f06d367 JR |
5377 | 2004-09-03 Jason Rumney <jasonr@gnu.org> |
5378 | ||
1806714a | 5379 | * w32menu.c (_widget_value): Add lname and lkey. |
1f06d367 JR |
5380 | (digest_single_submenu): Set lname and lkey in widget_value |
5381 | instead of name and key. | |
5382 | (update_submenu_strings): New function. | |
5383 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
5384 | call update_submenu_strings. | |
5385 | ||
5386 | * w32menu.c (globals_of_w32menu): Check for Unicode API. | |
5387 | (digest_single_submenu, w32_menu_show): Encode menu strings as | |
5388 | UTF-8 if Unicode API is available. | |
5389 | (utf8to16): New function. | |
5390 | (add_menu_item): Use it when calling Unicode API. | |
1806714a | 5391 | |
46540080 KS |
5392 | 2004-09-03 Kim F. Storm <storm@cua.dk> |
5393 | ||
5394 | * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property | |
5395 | in overlay or text-property strings; set cursor on corresponding | |
5396 | glyph rather than at end of the string. | |
5397 | ||
9277ba61 | 5398 | 2004-09-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46540080 | 5399 | |
9277ba61 | 5400 | * macfns.c (x_real_positions): Save the current window port and |
1806714a SM |
5401 | set a new one before obtaining the global coordinate. |
5402 | Use FRAME_MAC_WINDOW. | |
5403 | (x_set_name, x_set_title): Encode title to UTF8. | |
5404 | Use SetWindowTitleWithCFString. | |
9277ba61 ST |
5405 | (Fx_server_version): Get correct OS version. |
5406 | ||
1806714a SM |
5407 | * macmenu.c (add_menu_item): Remove unused variable `i'. |
5408 | Don't let separator items destroy refence constants of other menu items. | |
9277ba61 ST |
5409 | |
5410 | * macterm.c (x_update_end): Move SetPortWindowPort to inside | |
5411 | BLOCK_INPUT. | |
5412 | (x_set_offset): Use FRAME_MAC_WINDOW. | |
5413 | ||
5414 | * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to | |
5415 | nontext_cursor if it is on a scroll bar. | |
5416 | ||
5417 | * s/darwin.h (LIBS_CARBON): New define to specify libraries for | |
5418 | Carbon support. | |
1806714a SM |
5419 | (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. |
5420 | Use LIBS_CARBON. | |
9277ba61 | 5421 | |
b10daec7 JD |
5422 | 2004-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5423 | ||
5424 | * xfns.c (x_set_name_internal): New function. Check if we shall call | |
5425 | xfree before ENCODE_UTF_8. | |
5426 | (x_set_name, x_set_title): Call x_set_name_internal. | |
5427 | ||
f7e22385 JR |
5428 | 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change) |
5429 | ||
5430 | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not | |
5431 | reload it. | |
5432 | ||
2bf436c3 JD |
5433 | 2004-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5434 | ||
1806714a | 5435 | * macmenu.c (_widget_value): Add lname and lkey. |
16ceacc2 JD |
5436 | (single_submenu): Set lname and lkey in widget_value |
5437 | instead of name and key. | |
5438 | (update_submenu_strings): New function. | |
5439 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
5440 | call update_submenu_strings. | |
5441 | ||
2bf436c3 JD |
5442 | * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value |
5443 | instead of name and key. | |
5444 | (update_submenu_strings): New function. | |
5445 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
ec867797 | 5446 | call update_submenu_strings. |
2bf436c3 JD |
5447 | |
5448 | * gtkutil.h (_widget_value): Added lname and lkey. | |
5449 | ||
11715f92 ST |
5450 | 2004-08-30 Steven Tamm <steventamm@mac.com> |
5451 | ||
5452 | * macmenu.c (mac_menu_show): Remove shadowing of menu variable | |
5453 | by using different names for inner loop variables. | |
5454 | ||
5500be54 JD |
5455 | 2004-08-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5456 | ||
059cd329 JD |
5457 | * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection |
5458 | from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. | |
5459 | ||
5500be54 JD |
5460 | * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when |
5461 | tool bar items is 0. | |
5462 | ||
383418e5 ST |
5463 | 2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5464 | ||
5465 | * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte | |
5466 | strings in menu items. | |
5467 | (single_submenu): Use ENCODE_MENU_STRING | |
5468 | (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because | |
5469 | button release isn't passed to event loop | |
5470 | (add_menu_item): Use SetMenuItemWithCFString | |
5471 | ||
6eb3ee72 ST |
5472 | 2004-08-26 Steven Tamm <steventamm@mac.com> |
5473 | ||
5474 | * fileio.c (Fread_file_name): Call x_file_dialog on carbon on | |
7e26f91b KS |
5475 | tool-bar/menu click. |
5476 | * macfns.c (Fx_file_dialog): Implement using NavServices. | |
6eb3ee72 | 5477 | |
10b43ac3 JD |
5478 | 2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5479 | ||
2728b5d0 JD |
5480 | * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. |
5481 | ||
10b43ac3 JD |
5482 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
5483 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
5484 | (x_top_window_to_frame): Return 0 if wdesc is None. | |
5485 | ||
2ee3b79e RS |
5486 | 2004-08-22 Richard M. Stallman <rms@gnu.org> |
5487 | ||
5488 | * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, | |
5489 | HAVE_TERMIOS]: If there's no char for this signal, drop through | |
5490 | and use system calls. | |
5491 | ||
5492 | * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC. | |
5493 | ||
9a1ba2ea KS |
5494 | 2004-08-20 Kim F. Storm <storm@cua.dk> |
5495 | ||
5496 | * process.c (wait_reading_process_output): Rename from | |
5497 | wait_reading_process_input. All uses changed. | |
5498 | (wait_reading_process_output_1): Rename from | |
5499 | wait_reading_process_input_1. All uses changed. | |
5500 | ||
5501 | * dispnew.c (Fsleep_for): Remove obsolete code. | |
5502 | ||
295f3b30 KH |
5503 | 2004-08-20 Kenichi Handa <handa@m17n.org> |
5504 | ||
5505 | * syntax.c (skip_chars): Fix for unibyte case. | |
5506 | ||
27615979 SM |
5507 | 2004-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
5508 | ||
5509 | * syntax.c (char_quoted): Mixup byte/char pos. | |
5510 | (back_comment): Fixup globals in all cases. | |
5511 | ||
00267f94 JD |
5512 | 2004-08-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5513 | ||
5514 | * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before | |
5515 | passing it to gtk_window_set_title. | |
5516 | ||
2439909e KS |
5517 | 2004-08-19 Kim F. Storm <storm@cua.dk> |
5518 | ||
6ba0f14c KS |
5519 | * process.c (wait_reading_process_input): Clean up. |
5520 | Add wait_for_cell, wait_proc, and just_wait_proc args | |
5521 | to avoid overloading `read_kbd' and `do_display' args. | |
5522 | Change read_kbd arg to int. All callers changed. | |
5523 | ||
2439909e KS |
5524 | * process.c (process_send_signal): Use CDISABLE. |
5525 | ||
5526 | * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. | |
5527 | ||
101c421e KS |
5528 | 2004-08-18 Kim F. Storm <storm@cua.dk> |
5529 | ||
5530 | * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; | |
5531 | forward to wait_reading_process_input via DO_DISPLAY arg. | |
5532 | (wait_reading_process_input): If DO_DISPLAY < 0 for a process | |
5533 | object, only process output from that process; also inhibit | |
5534 | running timers if DO_DISPLAY==-2. | |
5535 | ||
c438dc33 KS |
5536 | 2004-08-17 Kim F. Storm <storm@cua.dk> |
5537 | ||
5538 | * process.c (process_send_signal): Fix last change--use | |
5539 | _POSIX_VDISABLE instead of CVDISABLE when available. | |
5540 | ||
8afc13c6 RS |
5541 | 2004-08-16 Richard M. Stallman <rms@gnu.org> |
5542 | ||
5543 | * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: | |
5544 | Set VQUIT and VINTR chars to the standard ones if they are unset. | |
5545 | [AIX]: Don't do that here. And don't force VINTR to standard | |
5546 | when SIGNALS_VIA_CHARACTERS. | |
5547 | ||
c438dc33 | 5548 | * process.c (process_send_signal) |
8afc13c6 RS |
5549 | [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. |
5550 | Do nothing if the character is CVDISABLE. | |
5551 | ||
5552 | * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. | |
5553 | ||
c438dc33 | 5554 | * intervals.c (move_if_not_intangible): |
8afc13c6 RS |
5555 | Force POSITION to be between BEGV and ZV. |
5556 | ||
6dad1714 JPW |
5557 | 2004-08-14 John Paul Wallington <jpw@gnu.org> |
5558 | ||
5559 | * buffer.c (Frestore_buffer_modified_p): Doc fix. | |
5560 | ||
5561 | * fileio.c (Fread_file_name): Doc fix. | |
5562 | ||
5563 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
5564 | ||
2bd77330 LT |
5565 | 2004-08-09 Luc Teirlinck <teirllm@auburn.edu> |
5566 | ||
5567 | * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. | |
5568 | ||
c90e7e43 LT |
5569 | 2004-08-08 Luc Teirlinck <teirllm@auburn.edu> |
5570 | ||
5571 | * keyboard.c: Declare Qdisabled_command_function instead of | |
8392e138 | 5572 | Qdisabled_command_hook. |
c90e7e43 | 5573 | (Fcommand_execute): Use Qdisabled_command_function instead of |
8392e138 | 5574 | Qdisabled_command_hook. |
c90e7e43 LT |
5575 | (syms_of_keyboard): Ditto. |
5576 | ||
81909a1a LT |
5577 | 2004-08-07 Luc Teirlinck <teirllm@auburn.edu> |
5578 | ||
5579 | * keymap.c (Flocal_key_binding, Fglobal_key_binding) | |
5580 | (syms_of_keymap) <key-translation-map>: Doc fixes. | |
5581 | ||
0cedd530 SM |
5582 | 2004-08-07 Stefan Monnier <monnier@iro.umontreal.ca> |
5583 | ||
1725a7c9 SM |
5584 | * window.c (window_list_1): YAILOM. |
5585 | ||
0cedd530 SM |
5586 | * fileio.c (make_temp_name): Handle multibyte prefixes. |
5587 | ||
2515a131 LT |
5588 | 2004-08-06 Luc Teirlinck <teirllm@auburn.edu> |
5589 | ||
5590 | * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>: | |
5591 | Doc fix. | |
5592 | ||
c8b20fb7 KH |
5593 | 2004-08-03 Kenichi Handa <handa@m17n.org> |
5594 | ||
5595 | * coding.c (decode_coding_string): Adjust coding->consumed, and | |
5596 | etc. with shrinked_bytes. | |
5597 | ||
fb8b092b KS |
5598 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
5599 | ||
5600 | * indent.c (compute_motion): Fix check for full width window | |
5601 | in non-window case. Do not count left truncation glyph on | |
5602 | window systems. | |
5603 | ||
df133612 LT |
5604 | 2004-08-02 Luc Teirlinck <teirllm@auburn.edu> |
5605 | ||
5606 | * data.c (Finteractive_form): Doc fix. | |
5607 | ||
0f7a93c1 KS |
5608 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
5609 | ||
5610 | * indent.c (compute_motion): Use actual window width if WIDTH is -1, | |
5611 | properly accounting for continuation glyph on non-window systems. | |
5612 | (Fcompute_motion): Use actual window width if WIDTH is nil, and | |
5613 | actual window width/height if TOPOS is nil, properly accounting for | |
5614 | continuation glyphs on non-window systems, and optional header lines. | |
5615 | (vmotion): Let compute_motion calculate actual window width. | |
5616 | ||
5617 | * window.c (window_scroll_line_based): Let compute_motion | |
5618 | calculate actual window width. | |
5619 | ||
f491e1ed KS |
5620 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
5621 | ||
5622 | * process.c (read_process_output): Use whole read buffer. | |
5623 | Don't trigger adaptive read buffering on errors. | |
5624 | ||
83f64226 LT |
5625 | 2004-07-31 Luc Teirlinck <teirllm@auburn.edu> |
5626 | ||
5627 | * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. | |
5628 | ||
1d1c7e75 | 5629 | * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix. |
83f64226 LT |
5630 | |
5631 | * callint.c (Fcall_interactively): Doc fix. | |
5632 | ||
8afc13c6 RS |
5633 | 2004-07-30 Richard M. Stallman <rms@gnu.org> |
5634 | ||
5635 | * abbrev.c (Fexpand_abbrev): Undo previous change. | |
5636 | ||
7c111482 KS |
5637 | 2004-07-30 Kim F. Storm <storm@cua.dk> |
5638 | ||
5639 | * editfns.c (Fformat): Allocate extra (dummy) element in info. | |
5640 | ||
ee945d08 LT |
5641 | 2004-07-28 Luc Teirlinck <teirllm@auburn.edu> |
5642 | ||
5643 | * eval.c (Fdefvar, Fdefconst): Doc fixes. | |
5644 | ||
3f911c94 KS |
5645 | 2004-07-27 Kim F. Storm <storm@cua.dk> |
5646 | ||
5647 | * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after | |
5648 | we have ensured that the glyph fits on the current line (or returned | |
5649 | MOVE_LINE_CONTINUED otherwise). | |
5650 | ||
f29ff8c7 KS |
5651 | 2004-07-26 Kim F. Storm <storm@cua.dk> |
5652 | ||
5653 | * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe | |
5654 | is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV | |
5655 | if target position is at end of display line but char is not a newline. | |
5656 | ||
81159bb9 RS |
5657 | 2004-07-25 Richard M. Stallman <rms@gnu.org> |
5658 | ||
ab431b61 RS |
5659 | * window.c (coordinates_in_window): Return ON_SCROLL_BAR |
5660 | instead of ON_VERTICAL_BORDER, when on scroll bar. | |
5661 | (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. | |
5662 | ||
5663 | * dispextern.h (enum window_part): Add ON_SCROLL_BAR. | |
5664 | ||
f29ff8c7 | 5665 | * window.c (Fcoordinates_in_window_p): |
81159bb9 RS |
5666 | Take account of FRAME_INTERNAL_BORDER_WIDTH. |
5667 | ||
5668 | * alloc.c (check_cons_list): New function (contents commented out). | |
5669 | ||
fc820cc5 LT |
5670 | 2004-07-24 Luc Teirlinck <teirllm@auburn.edu> |
5671 | ||
5672 | * xfaces.c (Fcolor_supported_p): Doc fix. | |
5673 | ||
5674 | * frame.c (Fselect_frame, Fset_frame_selected_window) | |
5675 | (Fframe_visible_p, Fraise_frame): Doc fixes. | |
5676 | ||
289978b5 LT |
5677 | 2004-07-24 Richard M. Stallman <rms@gnu.org> |
5678 | ||
78819ebb | 5679 | * keyboard.h (not_single_kboard_state): Declare. |
7630911d RS |
5680 | |
5681 | * fileio.c (Fwrite_region): Doc fix. | |
5682 | ||
5683 | * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. | |
5684 | ||
5685 | * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | |
5686 | only when a real abbrev is present. | |
5687 | ||
289978b5 LT |
5688 | * xfns.c (x_icon_verify): New function. |
5689 | (Fx_create_frame): Use it. | |
5690 | ||
d5fb8dab | 5691 | 2004-07-22 Barry Fishman <barry_fishman@att.net> (tiny change) |
63cc10ae KS |
5692 | |
5693 | * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. | |
5694 | ||
36f826d4 KS |
5695 | 2004-07-21 Kim F. Storm <storm@cua.dk> |
5696 | ||
5697 | * window.h (struct glyph_matrix): New members nrows_scale_factor | |
5698 | and ncols_scale_factor. | |
5699 | ||
5700 | * window.c (make_window): Initialize nrows_scale_factor and | |
5701 | ncols_scale_factor members. | |
5702 | ||
5703 | * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. | |
5704 | (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. | |
5705 | (required_matrix_height): Apply nrows_scale_factor. | |
5706 | (required_matrix_width): Apply ncols_scale_factor. | |
5707 | ||
5708 | * xdisp.c (display_line): Increment nrows_scale_factor and set | |
5709 | fonts_changed_p if past last allocated row. | |
5710 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
5711 | (append_stretch_glyph): Increment ncols_scale_factor and set | |
5712 | fonts_changed_p if current area is full. | |
5713 | ||
5fc1c546 JD |
5714 | 2004-07-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5715 | ||
5716 | * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. | |
5717 | ||
cb7516e5 LT |
5718 | 2004-07-19 Luc Teirlinck <teirllm@auburn.edu> |
5719 | ||
5720 | * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) | |
5721 | (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) | |
5722 | (Fset_window_start, Fscroll_up, Fscroll_down) | |
5723 | (Fother_window_for_scrolling, Fscroll_other_window) | |
5724 | (Fsave_window_excursion, Fset_window_vscroll) | |
5725 | (syms_of_window) <window-size-fixed>: Doc fixes. | |
5726 | ||
b6189c3b | 5727 | 2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
dda741ec JR |
5728 | |
5729 | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of | |
5730 | ENCODE_SYSTEM for filenames. | |
5731 | ||
bfcf6608 ST |
5732 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5733 | ||
5734 | * mac.c (sys_select): Block input around call to | |
5735 | ReceiveNextEvent to prevent breakage. Correctly handle | |
5736 | blocking on event queue only by calling ReceiveNextEvent | |
5737 | instead of select (since GUI events aren't on an fd). | |
5738 | (sys_read): Remove function | |
5739 | * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON | |
5740 | ||
e082ac9d ST |
5741 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5742 | ||
5743 | * mac.c (sys_select): Redo sys_select to use alarm-based | |
cb7516e5 | 5744 | polling instead of 1 sec timeouts (like solaris). |
e082ac9d | 5745 | |
cb7516e5 | 5746 | * macterm.c (x_make_frame_visible): Comment in polling on |
e082ac9d ST |
5747 | frame creation. |
5748 | ||
5749 | * keyboard.c: Undef SIGIO on Carbon | |
5750 | ||
5751 | * atimer.c (alarm_signal_handler): Call alarm handlers after | |
5752 | scheduling. | |
5753 | ||
5754 | * eval.c (Feval): Remove quit_char test | |
5755 | ||
5756 | * process.c (wait_reading_process_input): Remove clearing | |
5757 | stdin for select call on process input. | |
5758 | ||
4b9da0fb LT |
5759 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> |
5760 | ||
1204e81c LT |
5761 | * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct |
5762 | capitalization error in docstring. | |
4b9da0fb | 5763 | |
26503ad2 JB |
5764 | 2004-07-17 Juanma Barranquero <lektu@terra.es> |
5765 | ||
5766 | * keyboard.c (not_single_kboard_state): Do nothing unless | |
5767 | MULTI_KBOARD is defined. | |
5768 | ||
3751eb00 RS |
5769 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
5770 | ||
5771 | * window.c (coordinates_in_window): Inside the window but outside | |
5772 | its box to the L or R, return ON_VERTICAL_BORDER. | |
5773 | (window_list_1): Rotate the list to start with WINDOW. | |
5774 | ||
5775 | * print.c (print_preprocess): Test for print_depth at limit | |
5776 | before entering in being_printed. | |
5777 | ||
5778 | * keyboard.c (not_single_kboard_state): New function. | |
5779 | (stuff_buffered_input): Now no-op only if no SIGTSTP. | |
5780 | ||
5781 | * frame.c (Fdelete_frame): If we're in single_bboard_state on | |
5782 | this kboard, and we delete its last frame, go to any_kboard_state. | |
5783 | ||
5784 | * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix. | |
5785 | ||
b6189c3b | 5786 | 2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
62eb6ca9 JR |
5787 | |
5788 | * w32fns.c (Fx_file_dialog): Encode strings in system coding | |
5789 | system before passing them to OS functions for display. | |
5790 | ||
0f6af254 DK |
5791 | 2004-07-15 David Kastrup <dak@gnu.org> |
5792 | ||
f9253326 KS |
5793 | * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. |
5794 | Apparently fixes an abort condition. | |
0f6af254 | 5795 | |
386c8f42 LT |
5796 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> |
5797 | ||
5798 | * fileio.c (Fvisited_file_modtime): Return a list of two integers, | |
5799 | instead of a cons. | |
5800 | ||
366511da MB |
5801 | 2004-07-14 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
5802 | ||
5803 | * keyboard.c (echo_dash): Do nothing if there already is a dash | |
5804 | at the end of the echo string. | |
5805 | ||
f85409d3 KS |
5806 | 2004-07-12 Kim F. Storm <storm@cua.dk> |
5807 | ||
5808 | * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value | |
5809 | if GC_MARK_STACK. | |
5810 | ||
0ba2e87b LT |
5811 | 2004-07-10 Luc Teirlinck <teirllm@auburn.edu> |
5812 | ||
da38045d LT |
5813 | * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. |
5814 | ||
0ba2e87b LT |
5815 | * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) |
5816 | (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) | |
5817 | (Freplace_buffer_in_windows, Fset_window_buffer) | |
5818 | (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. | |
5819 | (syms_of_window): Expand docstring of `display-buffer-function'. | |
5820 | ||
5668fbb8 LT |
5821 | 2004-07-09 Luc Teirlinck <teirllm@auburn.edu> |
5822 | ||
5823 | * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) | |
5824 | (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings | |
5825 | that time values of the type (HIGH . LOW) are considered obsolete. | |
5826 | ||
a085bf9d LT |
5827 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> |
5828 | ||
669de2fb LT |
5829 | * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' |
5830 | docstring. | |
5831 | ||
bac66325 | 5832 | * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. |
a085bf9d | 5833 | |
8e975df9 JPW |
5834 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
5835 | ||
5836 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | |
5837 | ||
fa164e6a JPW |
5838 | * fns.c (Fclear_string): Signal an error if STRING is not a string. |
5839 | ||
2bac9bb1 JD |
5840 | 2004-07-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5841 | ||
5842 | * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList | |
5843 | instead of CGMainDisplayID (only in OSX 10.2 and later). | |
5844 | ||
316ef0dc JPW |
5845 | 2004-07-04 John Paul Wallington <jpw@gnu.org> |
5846 | ||
5847 | * fileio.c (read_file_name_completion_ignore_case): New variable. | |
5848 | (syms_of_fileio): Declare and initialise it. | |
5849 | (Fread_file_name): Bind `completion-ignore-case' to respect it. | |
5850 | ||
2a1a35c6 EZ |
5851 | 2004-07-03 Eli Zaretskii <eliz@gnu.org> |
5852 | ||
5853 | * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects | |
5854 | for event.x and event.y. | |
5855 | ||
33a72331 KH |
5856 | 2004-07-01 Kenichi Handa <handa@m17n.org> |
5857 | ||
5858 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | |
5859 | after getting a new string by pre-write-conversion. | |
5860 | ||
9238467d | 5861 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
07a6ab76 SM |
5862 | |
5863 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | |
5864 | (x_calc_absolute_position): Remove unused var `child'. | |
5865 | ||
5866 | * xfaces.c (x_supports_face_attributes_p) | |
5867 | (Fdisplay_supports_face_attributes_p): YAILOM. | |
5868 | (tty_supports_face_attributes_p): Remove unused var `i'. | |
5869 | ||
5870 | * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and | |
5871 | back_unibyte_ok. | |
5872 | ||
5873 | * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. | |
5874 | ||
5875 | * fontset.c (Fset_fontset_font): Remove unused vars `family' and `registry'. | |
5876 | ||
5877 | * Makefile.in (${etc}DOC): Fix file name of make-docfile. | |
5878 | ||
f96ec754 AS |
5879 | 2004-06-30 Andreas Schwab <schwab@suse.de> |
5880 | ||
5881 | * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. | |
5882 | (Finit_image_library): Pass LIBRARIES through to | |
5883 | CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. | |
5884 | (lookup_image_type): Pass Qnil as second argument to | |
5885 | Finit_image_library. | |
5886 | ||
78819ebb | 5887 | * lisp.h (Finit_image_library): Declare. |
f96ec754 | 5888 | |
59feca74 | 5889 | 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
c8d09ad8 | 5890 | |
31983645 AS |
5891 | * macterm.c (do_window_activate, do_window_deactivate): Remove. |
5892 | (XTread_socket): Send mouse button events to the toolbox | |
5893 | dispatcher even when the mouse is grabbed. Don't process window | |
5894 | activate events for non-Emacs windows. Replace function calls to | |
5895 | do_window_activate and do_window_deactivate with their contents. | |
5896 | Reset mouse grabbing status when a window is deactivated. | |
59feca74 | 5897 | |
c61278bb ST |
5898 | 2004-06-29 Steven Tamm <steventamm@mac.com> |
5899 | ||
5900 | * macterm.c (mac_get_emulated_btn) | |
5901 | (mac_event_to_emacs_modifiers): Fix emulated mouse button | |
5902 | support to correctly mask out modifiers. | |
5903 | ||
c3762cbd DK |
5904 | 2004-06-29 David Kastrup <dak@gnu.org> |
5905 | ||
5906 | * search.c (Fset_match_data): Allow buffer before end of list | |
5907 | which can happen if set-match-data is using a pre-consed list. | |
5908 | ||
c61278bb | 5909 | 2004-06-28 Steven Tamm <steventamm@mac.com> |
e439b925 ST |
5910 | |
5911 | * macterm.c (XTread_socket): Correctly set the frame position | |
5912 | after the window is moved. | |
5913 | ||
74cdfe05 JD |
5914 | 2004-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5915 | ||
5916 | * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on | |
5917 | gpix and gmask just before return to avoid memory leak. | |
03ecb80f JD |
5918 | (xg_get_image_for_pixmap): Add workaround for monochrome displays |
5919 | so insensitive and activated icons look ok. | |
74cdfe05 | 5920 | |
ef544dc8 JR |
5921 | 2004-06-27 Jason Rumney <jasonr@gnu.org> |
5922 | ||
5923 | * w32fns.c (file_dialog_callback): Disable edit control if set | |
5924 | to directories only on CDN_INITDONE message. | |
5925 | (Fx_file_dialog): Default to directories only when prompt starts | |
5926 | with "Dired". | |
5927 | ||
7b7990cc KS |
5928 | 2004-06-25 Kim F. Storm <storm@cua.dk> |
5929 | ||
5930 | * alloc.c (allocate_misc): Update total_free_markers. | |
5931 | (free_misc): New function. | |
5932 | (safe_alloca_unwind, free_marker): Use it. | |
5933 | ||
5934 | * lisp.h (free_misc): Add prototype. | |
5935 | ||
5936 | * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. | |
5937 | ||
d8c379f8 RS |
5938 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
5939 | ||
5940 | * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. | |
5941 | (syms_of_emacs): Lisp variables deleted. | |
5942 | ||
559cdd07 DK |
5943 | 2004-06-23 David Kastrup <dak@gnu.org> |
5944 | ||
94939b84 DK |
5945 | * search.c (Freplace_match): Adjust the match-data more thoroughly |
5946 | when replacing strings in the buffer. | |
5947 | (Fmatch_data): When INTEGERS is non-nil and the last match was in | |
5948 | a buffer, add the buffer as last element to the match data. | |
5949 | (Fset_match_data): If an additional element of the match-data is a | |
5950 | buffer, restore it to last_thing_searched. | |
c8d09ad8 | 5951 | (save_search_regs): Save last_thing_searched as part of the match data. |
559cdd07 DK |
5952 | (restore_match_data): Restore it again. |
5953 | ||
dce417e7 LT |
5954 | 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> |
5955 | ||
5956 | * keymap.c (Ftext_char_description): Doc fix. | |
5957 | * doc.c (Fsnarf_documentation): Doc fix. | |
5958 | ||
ef54b2d0 KS |
5959 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
5960 | ||
b5bc4d05 KS |
5961 | * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. |
5962 | ||
ef54b2d0 KS |
5963 | * lisp.h (struct Lisp_Save_Value): New member dogc. |
5964 | (SAFE_ALLOCA_LISP): Change second arg to number of elements. | |
5965 | Set dogc member in Lisp_Save_Value object so it will be GC'ed. | |
5966 | (SAFE_FREE_LISP): New macro. | |
5967 | ||
5968 | * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. | |
5969 | (make_save_value): Init new dogc member. | |
5970 | (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. | |
5971 | ||
5972 | * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and | |
5973 | SAFE_FREE_LISP macros. | |
5974 | ||
3d33d993 KS |
5975 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
5976 | ||
5977 | * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. | |
5978 | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects | |
5979 | in that memory area are unknown to GC. Add comments. | |
5980 | ||
5981 | * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. | |
5982 | ||
5c917f98 KS |
5983 | 2004-06-21 Kim F. Storm <storm@cua.dk> |
5984 | ||
5985 | * lisp.h (MAX_ALLOCA): Define here. | |
5986 | (safe_alloca_unwind): Add prototype. | |
5987 | (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. | |
5988 | ||
5989 | * alloc.c (safe_alloca_unwind): New function. | |
5990 | ||
5991 | * casefiddle.c (casify_object): Use SAFE_ALLOCA. | |
5992 | ||
5993 | * charset.c (Fstring): Use SAFE_ALLOCA. | |
5994 | ||
5995 | * coding.c (MAX_ALLOCA): Remove define. | |
5996 | ||
5997 | * data.c (MAX_ALLOCA): Remove define. | |
5998 | (Faset): Use SAFE_ALLOCA. | |
5999 | ||
6000 | * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. | |
6001 | ||
6002 | * fns.c (string_make_multibyte, string_to_multibyte) | |
6003 | (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. | |
6004 | (MAX_ALLOCA): Remove define. | |
6005 | (Fbase64_encode_region, Fbase64_encode_string) | |
6006 | (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. | |
6007 | (Fbase64_encode_region, Fbase64_encode_string): Fix potential | |
6008 | memory leak if encoding fails. | |
6009 | ||
6010 | * xdisp.c (add_to_log): Use SAFE_ALLOCA. | |
6011 | ||
9a09408e EZ |
6012 | 2004-06-21 Eli Zaretskii <eliz@gnu.org> |
6013 | ||
6014 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
6015 | ||
376de739 RS |
6016 | 2004-06-20 Richard M. Stallman <rms@gnu.org> |
6017 | ||
6018 | * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. | |
6019 | ||
6020 | * search.c (match_limit): Cleaner err msg when no match data available. | |
6021 | ||
6022 | * window.c (syms_of_window): Doc fix. | |
6023 | ||
6024 | * keyboard.c (command_loop_1): Handle values `only' and `identity' | |
6025 | for Vtransient_mark_mode. | |
6026 | ||
6027 | * buffer.c (syms_of_buffer): Doc fix. | |
6028 | ||
acd81db9 DK |
6029 | 2004-06-21 David Kastrup <dak@gnu.org> |
6030 | ||
6031 | * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding | |
6032 | and unbinding of `case-fold-search' according to | |
6033 | `completion-ignore-case' around calls of string-match and | |
6034 | predicates, respectively. Should give satisfactory performance | |
6035 | in all relevant cases. | |
6036 | ||
f303762d JD |
6037 | 2004-06-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6038 | ||
95911c74 JD |
6039 | * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from |
6040 | clip_x/y_origin. | |
6041 | ||
a6cb6b78 JD |
6042 | * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. |
6043 | ||
f303762d JD |
6044 | * macfns.c (Fx_display_color_cells): Do not limit return value to 256. |
6045 | ||
6046 | * macterm.c (mac_initialize_display_info): Initialize n_planes correctly | |
6047 | on Mac OSX. | |
6048 | ||
bbdb2684 LT |
6049 | 2004-06-16 Luc Teirlinck <teirllm@auburn.edu> |
6050 | ||
6051 | * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. | |
6052 | ||
5ea48b1c KS |
6053 | 2004-06-16 Kim F. Storm <storm@cua.dk> |
6054 | ||
6055 | * dispextern.h (Vimage_types): Remove extern. | |
6056 | ||
803aac3e MB |
6057 | 2004-06-16 Miles Bader <miles@gnu.org> |
6058 | ||
6059 | * image.c (lookup_image_type): Initialize image type if necessary. | |
6060 | ||
cdc97764 KS |
6061 | 2004-06-15 Kim F. Storm <storm@cua.dk> |
6062 | ||
c4a5739c KS |
6063 | * xdisp.c (try_cursor_movement): Exclude header line from scroll |
6064 | margin at top of window. | |
6065 | (try_window_reusing_current_matrix): Calculate proper cursor position | |
6066 | after scrolling up with non-zero scroll margin, as the old cursor | |
6067 | position corresponds to value of PT before executing this command. | |
6068 | (try_window_id): Consider scroll margin at bottom of window too; | |
6069 | otherwise we fail to scroll when hl-line-mode is enabled. | |
6070 | ||
cdc97764 KS |
6071 | * syntax.c (skip_chars): Only recognize [:class:] when it has the |
6072 | proper format and class is a lower-case word. | |
6073 | ||
5b166323 JD |
6074 | 2004-06-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6075 | ||
6076 | * gtkutil.c (xg_get_image_for_pixmap): New function. | |
c8d09ad8 | 6077 | (xg_get_gdk_pixmap_and_mask): Remove. |
5b166323 JD |
6078 | (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of |
6079 | xg_get_gdk_pixmap_and_mask. | |
cdc97764 | 6080 | |
5b166323 JD |
6081 | * xterm.h (struct x_display_info): Typo in comment fixed. |
6082 | ||
1ebd4f78 JB |
6083 | 2004-06-14 Juanma Barranquero <lektu@terra.es> |
6084 | ||
6085 | * dispextern.h (Vimage_types): Make it conditional on | |
6086 | HAVE_WINDOW_SYSTEM. | |
6087 | ||
6088 | * image.c (Vimage_types): Move from xdisp.c. | |
6089 | (Vimage_type_cache): New variable. | |
6090 | (define_image_type): New argument indicating whether an image | |
6091 | library was loaded; cache loaded status and return t on success, | |
6092 | nil otherwise. | |
6093 | (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. | |
6094 | (w32_delayed_load): New function to load an image library from a | |
6095 | list of possible filenames. | |
6096 | (init_xpm_functions, init_png_functions, init_jpeg_functions) | |
6097 | (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. | |
c8d09ad8 | 6098 | (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. |
1ebd4f78 JB |
6099 | (Finit_image_library): New function, extracted from `init_image'. |
6100 | Try to initialize an image library on demand and cache whether we | |
6101 | were successful or not. | |
6102 | (syms_of_image): Initialize `Vimage_types' and | |
6103 | `Vimage_type_cache'. Add recognized image types to Vimage_types. | |
6104 | Export `init-image-library'. | |
6105 | (init_image): Remove initialization of all image types, except xbm | |
6106 | and pbm. | |
6107 | ||
6108 | * xdisp.c (Vimage_types): Delete (moved to image.c). | |
6109 | ||
904ee128 AS |
6110 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
6111 | ||
6112 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
6113 | Avoid calling specbind when completion-regexp-list is empty. | |
6114 | ||
092de21d RS |
6115 | 2004-06-13 Richard M. Stallman <rms@gnu.org> |
6116 | ||
6117 | * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
6118 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
6119 | Non-function definitions moved here from regex.c. | |
1ebd4f78 | 6120 | |
092de21d RS |
6121 | * regex.c (re_wctype, re_iswctype): Function defs longer static. |
6122 | (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
6123 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
6124 | Non-function definitions moved to regex.h. | |
6125 | ||
6126 | * window.c (Fselect_window): Doc fix. | |
6127 | ||
6128 | * syntax.c: Include regex.h. | |
6129 | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. | |
6130 | If requested, make a list of classes, then check the scanned | |
6131 | chars for membership in them. | |
6132 | (in_classes): New function. | |
6133 | Doc fix. | |
6134 | ||
6135 | * keyboard.c (cmd_error): Don't call any_kboard_state | |
6136 | if inside a recursive edit level. | |
6137 | ||
9ba27690 | 6138 | 2004-06-13 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
092de21d RS |
6139 | |
6140 | * keyboard.c (command_loop): Call any_kboard_state before | |
6141 | command_loop_2 when at top level. | |
6142 | ||
3ebc0939 AS |
6143 | 2004-06-13 Andreas Schwab <schwab@suse.de> |
6144 | ||
cea5d0d4 AS |
6145 | * print.c (print_object): Always use %ld for printing EMACS_INT. |
6146 | ||
6147 | * keyboard.c (cancel_hourglass_unwind): Return a value. | |
6148 | (modify_event_symbol): Always use %ld for printing EMACS_INT. | |
6149 | (Fexecute_extended_command): Likewise. | |
6150 | ||
6151 | * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to | |
6152 | avoid clashes. | |
6153 | (SYNTAX): Likewise. | |
6154 | (SYNTAX_WITH_FLAGS): Likewise. | |
6155 | (SYNTAX_MATCH): Likewise. | |
6156 | ||
6157 | * syntax.c (char_quoted): Avoid warning about undefined operation. | |
6158 | (find_defun_start): Likewise. | |
6159 | (scan_lists): Likewise. | |
6160 | (INC_FROM): Likewise. | |
6161 | (scan_sexps_forward): Likewise. | |
6162 | ||
be8c4ce4 AS |
6163 | * image.c: Include <ctype.h>. |
6164 | ||
3ebc0939 AS |
6165 | * xfaces.c (face_attr_equal_p): Declare parameters. |
6166 | ||
6fb41b5b KH |
6167 | 2004-06-13 Kenichi Handa <handa@m17n.org> |
6168 | ||
6169 | * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. | |
6170 | ||
fc3095ce EZ |
6171 | 2004-06-12 Matthew Mundell <matt@mundell.ukfsn.org> |
6172 | ||
6173 | * eval.c (Fdefun): Signal an error if NAME is not a symbol. | |
6174 | ||
66189a40 KH |
6175 | 2004-06-12 Kenichi Handa <handa@m17n.org> |
6176 | ||
6177 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | |
6178 | ccl_prog_stack_struct and update it. | |
6179 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | |
6180 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | |
6181 | ccl->eof_ic on EOF. | |
6182 | (ccl_debug_hook): New function. | |
6183 | (struct ccl_prog_stack): New member eof_ic. | |
6184 | (ccl_driver): Handle EOF in subrountine call correctly. | |
6185 | ||
6186 | 2004-06-11 Kenichi Handa <handa@m17n.org> | |
6187 | ||
a9b43336 | 6188 | * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. |
66189a40 | 6189 | |
1da71023 KS |
6190 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
6191 | ||
6192 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | |
6193 | ||
e9efcef4 JB |
6194 | 2004-06-11 Juanma Barranquero <lektu@terra.es> |
6195 | ||
6196 | * keyboard.c (Fposn_at_point): Doc fix. | |
6197 | ||
9b9ceb61 DK |
6198 | 2004-06-11 David Kastrup <dak@gnu.org> |
6199 | ||
6200 | * search.c (match_limit): Don't flag an error if match-data | |
6201 | exceeding the allocated search_regs.num_regs gets requested, just | |
6202 | return Qnil. | |
6203 | ||
6e87ac8f MB |
6204 | 2004-06-08 Miles Bader <miles@gnu.org> |
6205 | ||
6206 | * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. | |
6207 | ||
0b0dea7b JB |
6208 | 2004-06-07 Juanma Barranquero <lektu@terra.es> |
6209 | ||
6210 | * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) | |
6211 | (Fcurrent_time_string, Fcurrent_time_zone) | |
6212 | (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. | |
6213 | ||
a0a23346 MB |
6214 | 2004-06-07 Miles Bader <miles@gnu.org> |
6215 | ||
08384afd | 6216 | * xfaces.c (struct named_merge_point): New type. |
a0a23346 MB |
6217 | (push_named_merge_point): New function. |
6218 | (merge_named_face): New function. | |
6219 | (merge_face_ref, face_at_buffer_position, face_at_string_position): | |
6220 | Use `merge_named_face'. | |
6221 | (merge_face_inheritance): Function removed. | |
c8d09ad8 | 6222 | (merge_face_ref): Rename from `merge_face_vector_with_property'. |
a0a23346 MB |
6223 | Add new `err_msgs' and `named_merge_points' args. Return error |
6224 | status. Only print error messages if ERR_MSGS is true. Don't try to | |
6225 | do :inherit attribute validation. | |
6226 | (merge_face_heights): Handle `unspecified' in both directions. | |
6227 | (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. | |
6228 | Call `merge_face_ref' instead of `merge_face_inheritance'. | |
6229 | (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) | |
6230 | (compute_char_face, face_at_buffer_position) | |
6231 | (face_at_string_position): Call `merge_face_ref' instead of | |
6232 | `merge_face_vector_with_property'. | |
6233 | ||
12d5b185 KH |
6234 | 2004-06-07 Kenichi Handa <handa@m17n.org> |
6235 | ||
6236 | * coding.c (find_safe_codings): Check NILP (safe_codings) only at | |
6237 | the necessary places. | |
6238 | ||
2e2d7ee6 KS |
6239 | 2004-06-07 Kim F. Storm <storm@cua.dk> |
6240 | ||
6241 | * process.c (Fdelete_process): Undo 2004-05-28 change. | |
6242 | Instead, call status_notify also for network process. | |
6243 | (status_message): Use process instead of status as arg. | |
6244 | Give messages "deleted" or "connection broken by remote peer" for | |
6245 | an exited network process. | |
6246 | (status_notify): Change call to status_message. | |
6247 | (read_process_output): Increase readmax to 4096. Do not increase | |
6248 | buffer size for datagram channels (default is now large enough). | |
6249 | ||
fcf0d299 ST |
6250 | 2004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
6251 | ||
6252 | * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation | |
6253 | problem due to newly defined variable. | |
6254 | ||
0722292b MB |
6255 | 2004-06-06 Miles Bader <miles@gnu.org> |
6256 | ||
6257 | * xfaces.c (Fdisplay_supports_face_attributes_p): Give up | |
6258 | immediately if non-interactive or not initialized. | |
6259 | ||
ddfb8369 RS |
6260 | 2004-06-05 Richard M. Stallman <rms@gnu.org> |
6261 | ||
6262 | * minibuf.c (Fcompleting_read): Doc fix. | |
6263 | ||
57015754 AS |
6264 | 2004-06-05 Andreas Schwab <schwab@suse.de> |
6265 | ||
6266 | * macfns.c (x_create_tip_frame): Fix declaration after statement. | |
6267 | ||
23715ea6 JB |
6268 | 2004-06-05 Juanma Barranquero <lektu@terra.es> |
6269 | ||
6270 | * keymap.c (Fdescribe_vector): Fix docstring. | |
6271 | (Fkey_description, Fglobal_key_binding): Fix typo in docstring. | |
6272 | ||
8e330b22 MB |
6273 | 2004-06-05 Miles Bader <miles@gnu.org> |
6274 | ||
6275 | * xfaces.c (tty_supports_face_attributes_p): Make sure the specified | |
6276 | attributes have different values than the default face. | |
6277 | ||
9742a3a6 EZ |
6278 | 2004-06-04 Eli Zaretskii <eliz@gnu.org> |
6279 | ||
6280 | * xfaces.c (x_supports_face_attributes_p): Make this function | |
6281 | conditional on HAVE_WINDOW_SYSTEM. | |
c8d09ad8 SM |
6282 | (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: |
6283 | Don't call x_supports_face_attributes_p if it was not compiled in. | |
9742a3a6 | 6284 | |
9717e36c MB |
6285 | 2004-06-04 Miles Bader <miles@gnu.org> |
6286 | ||
6287 | * xfaces.c (tty_supports_face_attributes_p): New function, mostly | |
6288 | from Ftty_supports_face_attributes_p. | |
6289 | (x_supports_face_attributes_p): New function. | |
6290 | (Ftty_supports_face_attributes_p): Function deleted. | |
6291 | (Fdisplay_supports_face_attributes_p): New function. | |
6292 | (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. | |
f9711de4 | 6293 | (face_attr_equal_p): New function. |
9717e36c MB |
6294 | (lface_equal_p): Use it. |
6295 | ||
52deb19f JB |
6296 | 2004-06-03 Juanma Barranquero <lektu@terra.es> |
6297 | ||
6298 | * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) | |
6299 | (Vw32_color_map): Fix typo in docstring. | |
6300 | (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) | |
6301 | (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): | |
6302 | Make argument names match their use in docstring. | |
6303 | ||
86d373e6 JB |
6304 | 2004-06-02 Juanma Barranquero <lektu@terra.es> |
6305 | ||
6306 | Work around bugs/problems with MinGW builds of graphics libraries | |
6307 | called from MSVC builds of Emacs. | |
6308 | ||
6309 | * image.c (lookup_image): Make pointer to img static. | |
6310 | (png_read_from_memory): Disable "global" optimization. | |
6311 | ||
2fb0ce67 SM |
6312 | 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
6313 | ||
c8d09ad8 SM |
6314 | * eval.c (Fcondition_case): Fix usage. Simplify. |
6315 | ||
2fb0ce67 SM |
6316 | * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
6317 | ||
50bf7673 ST |
6318 | 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6319 | ||
6320 | * macfns.c: Don't include ccl.h. | |
6321 | [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
86d373e6 JB |
6322 | [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
6323 | TextUtils.h. | |
c8d09ad8 | 6324 | (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
50bf7673 ST |
6325 | (Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
6326 | display height/width. | |
6327 | (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
6328 | (unwind_create_tip_frame, compute_tip_xy): New functions. | |
6329 | (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
6330 | (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
6331 | and last_show_tip_args. | |
2fb0ce67 | 6332 | |
50bf7673 ST |
6333 | * macgui.h [!MAC_OSX]: Include Gestalt.h. |
6334 | (Cursor, No_Cursor): New defines. | |
c8d09ad8 | 6335 | [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
50bf7673 ST |
6336 | [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
6337 | ||
6338 | * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
6339 | ||
6340 | * macterm.c: Don't include Gestalt.h. | |
6341 | (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
6342 | (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
6343 | (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
6344 | (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
6345 | (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
6346 | (construct_mouse_click, XTmouse_position) | |
6347 | (x_scroll_bar_report_motion, x_calc_absolute_position) | |
6348 | (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
6349 | (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
6350 | (note_mouse_movement): Clear the mouse face and reset the pointer | |
6351 | shape when the pointer goes outside the frame without grabbing. | |
6352 | (mac_front_window): New function. | |
6353 | (mac_window_to_frame): New macro. | |
6354 | (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
6355 | (do_window_activate, do_window_deactivate, do_app_resume) | |
6356 | (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
6357 | (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
6358 | (mac_check_for_quit_char): Use mac_front_window and/or | |
6359 | mac_window_to_frame. | |
6360 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
6361 | scroll-bar click event. | |
6362 | (mac_define_frame_cursor): Change the pointer shape. | |
c8d09ad8 | 6363 | (x_free_frame_resources): Reset tip_window to NULL when it is disposed. |
50bf7673 | 6364 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
c8d09ad8 | 6365 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
50bf7673 ST |
6366 | (do_window_update): Don't do anything if the updated window is the |
6367 | tooltip window. | |
6368 | (do_mouse_moved): Handle mouse movement events here (previously in | |
6369 | XTread_socket). Clear the mouse face if | |
6370 | dpyinfo->mouse_face_hidden is set. | |
6371 | (do_os_event, do_events): Remove (now in XTread_socket). | |
6372 | (XTread_socket): Immediately return if interrupt_input_blocked. | |
c8d09ad8 SM |
6373 | Loop until all the events in the queue are processed. |
6374 | Rearrange codes for mouse grabbing. Add tooltip support. Include the | |
50bf7673 ST |
6375 | contents of do_os_event and do_events. Remove mouse movement |
6376 | handling (now in do_mouse_moved). Add the case where | |
6377 | Vmouse_highlight has an integer value. | |
6378 | (NewMacWindow): Remove. | |
6379 | (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
6380 | excess initializations. | |
6381 | (make_mac_terminal_frame): Previous initializations in | |
6382 | make_mac_frame are moved here. | |
c8d09ad8 SM |
6383 | (mac_initialize_display_info): |
6384 | Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
50bf7673 ST |
6385 | |
6386 | * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
6387 | (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
6388 | ||
08fd1251 RS |
6389 | 2004-05-29 Richard M. Stallman <rms@gnu.org> |
6390 | ||
6391 | * lisp.h (truncate_undo_list): Update decl. | |
6392 | ||
6393 | * alloc.c (undo_outer_limit): New variable. | |
6394 | (syms_of_alloc): Defvar it. | |
6395 | (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. | |
6396 | ||
6397 | * undo.c (truncate_undo_list): New arg LIMITSIZE. | |
6398 | ||
6399 | * alloc.c (lisp_align_malloc): Check for base == 0 | |
6400 | regardless of HAVE_POSIX_MEMALIGN. | |
6401 | Clean up HAVE_POSIX_MEMALIGN handling of `err'. | |
6402 | ||
227ef0ff SM |
6403 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
6404 | ||
6405 | * alloc.c: Undo Kim's recent changes and fix the same bug differently. | |
6406 | (marker_blocks_pending_free): Remove. | |
6407 | (Fgarbage_collect): Sweep after cleaning up undo-lists. | |
6408 | Mark the undo lists after claning them up. | |
6409 | Don't free block in marker_blocks_pending_free. | |
6410 | (mark_buffer): Don't mark undo_list. | |
6411 | (gc_sweep): Sweep hash-tables and strings first. | |
6412 | Do free marker blocks that are empty. | |
6413 | ||
034a6113 SM |
6414 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
6415 | ||
6416 | * regex.c (print_partial_compiled_pattern): Add missing 'break' | |
6417 | after 'case wordend'. For symbeg and symend, print to stderr, | |
6418 | like the other cases. | |
6419 | ||
33594a8d NF |
6420 | 2004-05-28 Noah Friedman <friedman@splode.com> |
6421 | ||
6422 | * process.c (Fdelete_process): Do not call remove_process. | |
6423 | ||
ce50a847 SM |
6424 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
6425 | ||
6426 | * alloc.c (struct backtrace): Remove. | |
6427 | (Fgarbage_collect): Use the new mark_backtrace. | |
6428 | ||
6429 | * eval.c (mark_backtrace): New function. | |
6430 | ||
6431 | * minibuf.c (run_exit_minibuf_hook): New function. | |
6432 | (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. | |
6433 | (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. | |
6434 | ||
1e8dae36 KS |
6435 | 2004-05-27 Kim F. Storm <storm@cua.dk> |
6436 | ||
6437 | * xdisp.c (back_to_previous_visible_line_start): Skip backwards | |
6438 | over display properties, e.g. images, that replace buffer text. | |
6439 | ||
846faa3b KS |
6440 | 2004-05-25 Kim F. Storm <storm@cua.dk> |
6441 | ||
6442 | * alloc.c (marker_blocks_pending_free): New var. | |
6443 | (gc_sweep): Store free marker blocks on that list. | |
6444 | (Fgarbage_collect): Free them after undo-list cleanup. | |
6445 | ||
6446 | * process.c (wait_reading_process_input): Check connect_wait_mask | |
6447 | before actually accepting connection in case it has already been | |
6448 | accepted due to recursion. | |
6449 | ||
b6189c3b | 6450 | 2004-05-23 K\e,Ba\e(Broly L\e,Bu\e(Brentey <lorentey@elte.hu> |
6239a668 | 6451 | |
ce50a847 SM |
6452 | * coding.c (Fset_safe_terminal_coding_system_internal): |
6453 | Set suppress_error in safe_terminal_coding, not terminal_coding. | |
6239a668 | 6454 | |
71d5a208 RS |
6455 | 2004-05-22 Richard M. Stallman <rms@gnu.org> |
6456 | ||
6457 | * alloc.c (Fmake_string): Doc fix. | |
6458 | ||
6459 | * buffer.c (clone_per_buffer_values): Copy the alist of local vars, | |
6460 | and the alist pairs too. | |
6461 | ||
6462 | * casefiddle.c (casify_object): Return OBJ unchanged if not real char. | |
6463 | ||
6464 | * emacs.c (main): Update copyright year. | |
6465 | ||
6466 | * fileio.c (Fread_file_name): Expand DIR if not absolute. | |
6467 | ||
6468 | * insdel.c (del_range_2, replace_range): Don't write an anchor | |
6469 | if the gap is empty. | |
6470 | ||
6471 | * xdisp.c (try_scrolling): If scroll-up-aggressively or | |
6472 | scroll-down-aggressively is small but positive, put point | |
6473 | near the screen edge. | |
6474 | ||
f63fd14e JB |
6475 | 2004-05-22 Juanma Barranquero <lektu@terra.es> |
6476 | ||
6477 | * keymap.c (Fdefine_key): Doc fix. | |
6478 | ||
4d12067c KS |
6479 | 2004-05-22 Kim F. Storm <storm@cua.dk> |
6480 | ||
6481 | * alloc.c (struct backtrace): Add debug_on_exit member. | |
6482 | (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. | |
6483 | Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of | |
6484 | the removed cons cells. | |
6485 | (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. | |
6486 | (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have | |
6487 | any cons cells pointing to unallocated stings. | |
6488 | Do not lisp_free any marker blocks, as there may still be pointers | |
6489 | to them from buffer undo lists at this stage of GC. | |
6490 | ||
6491 | * keyboard.c (struct backtrace): Add debug_on_exit member. | |
6492 | (Fcommand_execute): Clear it. | |
6493 | ||
931285e2 LT |
6494 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
6495 | ||
6496 | * intervals.c (lookup_char_property): Do not prematurely return nil. | |
6497 | ||
669fa600 SM |
6498 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
6499 | ||
6500 | Add support for new '\_<' and '\_>' regexp operators, matching the | |
f63fd14e | 6501 | beginning and end of symbols. |
4d12067c | 6502 | |
669fa600 SM |
6503 | * regex.c (enum syntaxcode): Add Ssymbol. |
6504 | (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. | |
6505 | (re_opcode_t): New opcodes `symbeg' and `symend'. | |
6506 | (print_partial_compiled_pattern): Print the new opcodes properly. | |
6507 | (regex_compile): Parse the new operators. | |
ce50a847 | 6508 | (analyse_first): Skip sym(beg|end) (they match only the empty string). |
669fa600 SM |
6509 | (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
6510 | \sw; `symbeg' is mutually exclusive with \S_ and \Sw. | |
6511 | (re_match_2_internal): Match symbeg and symend. | |
6512 | ||
6513 | * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. | |
6514 | ||
0d8c2e5c KS |
6515 | 2004-05-19 Kim F. Storm <storm@cua.dk> |
6516 | ||
6517 | * .gdbinit (xsymbol): Fix last change. | |
6518 | ||
669fa600 SM |
6519 | 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
6520 | ||
6521 | * .gdbinit (xprintstr): New fun. | |
6522 | (xstring, xprintsym): Use it. | |
6523 | ||
6524 | * w32proc.c (create_child): Use INTMASK. | |
6525 | ||
6526 | * alloc.c (Fgarbage_collect): Do all the marking before flushing | |
6527 | unmarked elements of the undo list. | |
6528 | ||
9a6a4c40 DP |
6529 | 2004-05-18 David Ponce <david@dponce.com> |
6530 | ||
6531 | * print.c (print): Reset print_depth before to call print_object. | |
6532 | ||
f3c4ec74 JR |
6533 | 2004-05-18 Jason Rumney <jasonr@gnu.org> |
6534 | ||
6535 | * w32console.c: Prefix RIF functions with w32con_ to avoid | |
6536 | namespace clash with functions in term.c and w32term.c. | |
6537 | ||
6538 | * w32menu.c (add_menu_item, w32_menu_display_help) | |
6539 | [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. | |
6540 | ||
0d8c2e5c | 6541 | * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. |
f3c4ec74 | 6542 | |
6be49c3a EZ |
6543 | 2004-05-18 Eli Zaretskii <eliz@gnu.org> |
6544 | ||
4d0b9a0a EZ |
6545 | * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. |
6546 | ||
6be49c3a EZ |
6547 | * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph |
6548 | with make_number. | |
6549 | (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph | |
6550 | with XINT. | |
6551 | ||
0bc90bba KS |
6552 | 2004-05-18 Kim F. Storm <storm@cua.dk> |
6553 | ||
89d19988 KS |
6554 | * blockinput.h (INPUT_BLOCKED_P): New macros. |
6555 | ||
6556 | * keyboard.c (Frecursive_edit): Return immediately if input blocked. | |
6557 | (Ftop_level): Unblock input if blocked. | |
6558 | ||
0bc90bba KS |
6559 | * buffer.h (GET_OVERLAYS_AT): New macro. |
6560 | * msdos.c (IT_note_mouse_highlight): Use it. | |
6561 | * textprop.c (get_char_property_and_overlay): Use it. | |
6562 | * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. | |
6563 | * xfaces.c (face_at_buffer_position): Use it. | |
6564 | ||
6565 | * print.c (print_object): Increase buf size. | |
6566 | ||
653bd0f6 JR |
6567 | 2004-05-17 Jason Rumney <jasonr@gnu.org> |
6568 | ||
6569 | * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) | |
6570 | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from | |
6571 | Lisp_Object using i member. | |
6572 | (w32_quit_key): Rename from Vw32_quit_key, and make an int. | |
6573 | (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int | |
6574 | consistently. | |
6575 | ||
6576 | * w32proc.c (create_child): Use make_number instead of masking pid. | |
6577 | ||
6578 | * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. | |
6579 | (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): | |
6580 | Use EQ to compare Lisp_Objects. | |
6581 | (w32_parse_hot_key): Use int for lisp_modifiers consistently. | |
6582 | ||
6583 | * w32term.c (w32_num_mouse_buttons): Rename from | |
6584 | Vw32_num_mouse_buttons and make it an int. | |
6585 | ||
6586 | * w32.c (init_environment): Use it. | |
6587 | ||
6588 | * w32fns.c (w32_wnd_proc): Likewise. | |
6589 | ||
6590 | * w32proc.c (w32_pipe_read_delay): Rename from | |
6591 | Vw32_pipe_read_delay and make it an int. | |
6592 | ||
6593 | * w32.c (_sys_read_ahead): Use it. | |
6594 | ||
6595 | * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. | |
6596 | ||
6597 | * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. | |
6598 | ||
6599 | * w32inevt.c (w32_console_mouse_position, do_mouse_event) | |
6600 | (key_event): Don't mix Lisp_Object and int. | |
6601 | ||
6602 | * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. | |
6603 | ||
6604 | * keyboard.c (kbd_buffer_get_event): Don't use event->code and | |
6605 | modifiers in language change event. | |
6606 | ||
54b53ba7 KS |
6607 | 2004-05-17 Kim F. Storm <storm@cua.dk> |
6608 | ||
6609 | * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. | |
6610 | Such objects may be freed markers which still exist on an undo list. | |
6611 | ||
6e86a75d JB |
6612 | 2004-05-16 Juanma Barranquero <lektu@terra.es> |
6613 | ||
6614 | * data.c (Fset_default): Make argument names match their use in | |
6615 | docstring. | |
6616 | ||
fc80da24 AS |
6617 | 2004-05-15 Andreas Schwab <schwab@suse.de> |
6618 | ||
6619 | * emacs.c (gdb_array_mark_flag): Define. | |
6620 | * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. | |
6621 | ||
c1380aa6 EZ |
6622 | 2004-05-15 Eli Zaretskii <eliz@gnu.org> |
6623 | ||
6624 | * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use | |
6625 | __attribute__((__aligned__)), so that USE_LSB_TAG would not become | |
6626 | defined for the MS-DOS build. | |
6627 | ||
89458937 SM |
6628 | 2004-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
6629 | ||
6630 | * w32fns.c (Fw32_define_rgb_color): Avoid XSET. | |
6631 | ||
08020f9a KH |
6632 | 2004-05-14 Kenichi Handa <handa@m17n.org> |
6633 | ||
6634 | * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. | |
6635 | ||
a433994a ST |
6636 | 2004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6637 | ||
6638 | * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c | |
6639 | section to frame.c section. | |
6640 | (Fxw_display_color_p, Fx_file_dialog): Declare if | |
89458937 | 6641 | HAVE_WINDOW_SYSTEM defined. |
0d8c2e5c | 6642 | |
a433994a | 6643 | * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. |
0d8c2e5c | 6644 | |
a433994a | 6645 | * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. |
0d8c2e5c | 6646 | |
a433994a ST |
6647 | * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) |
6648 | (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. | |
6649 | (XTread_socket): Fix int/Lisp_Object mixup. | |
6650 | (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. | |
0d8c2e5c | 6651 | |
a433994a ST |
6652 | * macterm.h (struct frame, struct face, struct image) |
6653 | (display_x_get_resource, Fx_display_color_p) | |
89458937 SM |
6654 | (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): |
6655 | Add prototypes. | |
a433994a | 6656 | |
b51a51b9 KS |
6657 | 2004-05-14 Kim F. Storm <storm@cua.dk> |
6658 | ||
6659 | * process.c (wait_reading_process_input): Make reentrant. | |
6660 | Make Available and Connecting non-static. Save and restore value | |
6661 | of waiting_for_user_input_p. | |
6662 | ||
2bde1dd8 KS |
6663 | 2004-05-13 Kim F. Storm <storm@cua.dk> |
6664 | ||
6665 | * keyboard.c (mark_kboards): Don't mark x and y members | |
6666 | that are overloaded in selection request events. | |
6667 | ||
a267ab4d SM |
6668 | 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca> |
6669 | ||
6670 | * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. | |
6671 | ||
eb15ce9e GM |
6672 | 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk> |
6673 | ||
6674 | * window.c (Fdisplay_buffer, Fsplit_window) | |
6675 | (split-height-threshold): Doc fix. | |
6676 | ||
7fc92635 JB |
6677 | 2004-05-13 Juanma Barranquero <lektu@terra.es> |
6678 | ||
6679 | * xfaces.c (Ftty_supports_face_attributes_p) | |
6680 | (Finternal_copy_lisp_face): Fix typo in docstring. | |
6681 | (Finternal_get_lisp_face_attribute): Fix docstring. | |
6682 | ||
1ec2a572 JD |
6683 | 2004-05-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6684 | ||
6685 | * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. | |
6686 | ||
ae9292e0 ST |
6687 | 2004-05-11 Steven Tamm <steventamm@mac.com> |
6688 | ||
6689 | * macfns.c (Fx_create_frame): Default to using tool-bar by | |
6690 | setting tool-bar-lines to 1 in default-frame-alist. | |
6691 | ||
6692 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
ea1aaa6f ST |
6693 | |
6694 | * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) | |
6695 | (xpm_get_color_table_v, xpm_make_color_table_h) | |
6696 | (xpm_put_color_table_h, xpm_get_color_table_h) | |
6697 | (xpm_str_to_color_key, xpm_load_image, xpm_load) | |
6698 | (syms_of_image): Support XPM on Carbon Emacs. Does not | |
a267ab4d | 6699 | depend on libXpm, but only supports XPM version 3 without extensions. |
ea1aaa6f | 6700 | |
fe97e8df ST |
6701 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6702 | ||
a267ab4d | 6703 | * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P |
fe97e8df ST |
6704 | instead of FRAME_X_P |
6705 | ||
b47e779e KS |
6706 | 2004-05-11 Kim F. Storm <storm@cua.dk> |
6707 | ||
6708 | * process.c (read_process_output): Grow decoding_buf when needed; | |
6709 | this could cause a crash in allocate_string and compact_small_strings. | |
6710 | ||
cdc9b845 EZ |
6711 | 2004-04-29 Jim Blandy <jimb@redhat.com> |
6712 | ||
6713 | * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 | |
6714 | against proper opcode. | |
6715 | ||
aa7094ba JB |
6716 | 2004-05-10 Juanma Barranquero <lektu@terra.es> |
6717 | ||
6718 | * process.c (Fstart_process): Fix docstring. | |
6719 | ||
6720 | * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. | |
6721 | (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) | |
6722 | (Fsplit_char, Fchar_charset): Make argument names match their use | |
6723 | in docstring. | |
6724 | ||
e109331a RS |
6725 | 2004-05-10 Richard M. Stallman <rms@gnu.org> |
6726 | ||
6727 | * print.c (print_preprocess): Use being_printed, loop_count and | |
6728 | halftail to detect overdeep nesting and cyclic cdr chains. | |
6729 | ||
9a28b921 AS |
6730 | 2004-05-10 Andreas Schwab <schwab@suse.de> |
6731 | ||
78819ebb | 6732 | * lisp.h (Fmake_symbolic_link): Declare. |
9a28b921 AS |
6733 | |
6734 | * fileio.c (Frename_file): Remove extra argument in call to | |
6735 | Fmake_symbolic_link. | |
6736 | ||
e2c02c1a KS |
6737 | 2004-05-10 Kim F. Storm <storm@cua.dk> |
6738 | ||
6739 | * xdisp.c (calc_line_height_property): Use string position when | |
6740 | object is a string. | |
6741 | ||
cfe9d13e KH |
6742 | 2004-05-10 Kenichi Handa <handa@m17n.org> |
6743 | ||
a57e8159 KH |
6744 | * print.c (temp_output_buffer_setup): Bind inhibit-read-only and |
6745 | inhibit-modification-hooks to t temporarily before calling | |
6746 | Ferase_buffer. | |
6747 | ||
6748 | * xfns.c (x_create_tip_frame): Bind inhibit-read-only and | |
6749 | inhibit-modification-hooks to t temporarily before calling | |
6750 | Ferase_buffer. | |
6751 | ||
6752 | * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and | |
6753 | inhibit-modification-hooks to t temporarily before calling | |
6754 | Ferase_buffer. | |
6755 | ||
cfe9d13e KH |
6756 | * fns.c (count_combining): Delete it. |
6757 | (concat): Don't check combining bytes. | |
6758 | ||
ceb96489 JR |
6759 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
6760 | ||
6761 | * w32fns.c (Vw32_ansi_code_page): New Lisp variable. | |
6762 | (globals_of_w32fns): Set it. | |
6763 | ||
b6189c3b | 6764 | 2004-05-09 Piet van Oostrum <piet@cs.uu.nl> |
b1c661c7 JB |
6765 | |
6766 | * data.c (Fquo): Simplify. | |
6767 | ||
28712a21 JB |
6768 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) |
6769 | ||
6770 | * data.c (Fquo): If any argument is float, do the computation in | |
6771 | floating point. | |
6772 | ||
0f0af7a8 JB |
6773 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
6774 | ||
88214ef6 JB |
6775 | * process.c (Fwaiting_for_user_input_p, Fmake_network_process) |
6776 | (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): | |
6777 | Fix spelling of Emacs on docstring. | |
6778 | (Fset_process_coding_system, Fprocess_coding_system) | |
6779 | (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): | |
6780 | Make argument names match their use in docstring. | |
6781 | (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): | |
6782 | Fix docstring. | |
6783 | ||
0f0af7a8 JB |
6784 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
6785 | use in docstring. | |
6786 | ||
6787 | * syntax.c (Fmodify_syntax_entry): Fix docstring. | |
6788 | ||
2a316a84 ST |
6789 | 2004-05-07 Steven Tamm <steventamm@mac.com> |
6790 | ||
6791 | * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT | |
6792 | around call to ReceiveEvent to avoid certain crashes. | |
6793 | ||
6794 | 2004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
0d8c2e5c | 6795 | |
2a316a84 ST |
6796 | * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) |
6797 | (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) | |
6798 | (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): | |
6799 | Save/restore the current graphics port and device handle when | |
6800 | drawing into an offscreen graphics world. | |
6801 | ||
6802 | * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) | |
6803 | (gif_load): Likewise. | |
6804 | ||
ab80314b JB |
6805 | 2004-05-07 Juanma Barranquero <lektu@terra.es> |
6806 | ||
6807 | * window.c (Fset_window_buffer): Fix docstring. | |
6808 | ||
70646bb5 TTN |
6809 | 2004-05-06 Thien-Thi Nguyen <ttn@gnu.org> |
6810 | ||
6811 | * emacs.c (main) [VMS]: Fix var ref. | |
6812 | ||
b6189c3b | 6813 | 2004-05-06 Romain Francoise <romain@orebokech.com> |
b03a4fdd JB |
6814 | |
6815 | * data.c (Fsetq_default): Fix docstring. | |
6816 | ||
279d3293 JR |
6817 | 2004-05-06 Jason Rumney <jasonr@gnu.org> |
6818 | ||
6819 | * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h | |
6820 | to avoid name clash. | |
6821 | ||
f72b5416 JD |
6822 | 2004-05-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6823 | ||
6824 | * fileio.c (barf_or_query_if_file_exists): Use lstat. | |
6825 | (Frename_file): Handle renaming of symlinks across file systems. | |
440c7d00 | 6826 | (Frename_file): Put symlink handling inside #ifdef S_IFLNK. |
f72b5416 | 6827 | |
6ab66799 KS |
6828 | 2004-05-04 Kim F. Storm <storm@cua.dk> |
6829 | ||
6830 | * xdisp.c (Qtotal): New var. | |
6831 | (syms_of_xdisp): Intern and staticpro it. | |
6832 | (calc_line_height_property): New arg total. Set it if | |
6833 | line-spacing property has format (total . VALUE). | |
6834 | (x_produce_glyphs): Ignore line-spacing if line-height is 0. | |
6835 | Handle total line-spacing property. | |
6836 | ||
ab2d724b JD |
6837 | 2004-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6838 | ||
6839 | * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear | |
6840 | "under" scroll bar when size/position changes. | |
6841 | ||
238add5e JR |
6842 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
6843 | ||
6844 | * makefile.nt: Remove. | |
6845 | ||
1644f4e4 EZ |
6846 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> |
6847 | ||
a267ab4d SM |
6848 | * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): |
6849 | Avoid compiler warnings. | |
05fdbeb8 | 6850 | |
1644f4e4 EZ |
6851 | * Makefile.in (region-cache.o): Depend on config.h. |
6852 | ||
b6189c3b | 6853 | 2004-05-02 Romain Francoise <romain@orebokech.com> |
6cbc951e SM |
6854 | |
6855 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | |
6856 | with continuation lines, too. | |
6857 | ||
2b98b088 TTN |
6858 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
6859 | ||
6860 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | |
6861 | ||
d9bf7950 SM |
6862 | 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
6863 | ||
6864 | * xdisp.c (calc_line_height_property): YAILOM (yet another | |
6865 | int/Lisp_Object mixup). | |
6866 | ||
affa509c EZ |
6867 | 2004-05-01 Eli Zaretskii <eliz@gnu.org> |
6868 | ||
6869 | * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to | |
6870 | undo bad effect of pack(4) in some versions of system headers. | |
6871 | ||
07c07cfe JR |
6872 | 2004-05-01 Jason Rumney <jasonr@gnu.org> |
6873 | ||
6874 | * w32term.c (x_draw_hollow_cursor): Sync with xterm.c | |
6875 | ||
e71caa4e KS |
6876 | 2004-04-30 Kim F. Storm <storm@cua.dk> |
6877 | ||
6878 | * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. | |
b2b55d03 | 6879 | (syms_of_buffer) <cursor-type>: Doc fix. |
e71caa4e KS |
6880 | |
6881 | * dispextern.h (struct it): Remove member use_default_face. | |
6882 | Add members override_ascent, override_descent, override_boff. | |
6883 | ||
6884 | * xdisp.c (init_iterator): Handle line-spacing float value. | |
6885 | Initialize override_ascent member. | |
6886 | (append_space_for_newline): Reset override_ascent. | |
6887 | Remove use_default_face. | |
6888 | (calc_line_height_property): New function to calculate value of | |
6889 | line-height and line-spacing properties. Look at overlays, too. | |
6890 | Set override_ascent, override_descent, override_boff members when | |
6891 | using another face than the current face. Float values are now | |
6892 | relative to the frame default font, by default; accept a cons | |
6893 | of ratio and face name to specify value relative to a specific face. | |
6894 | (x_produce_glyphs): Use calc_line_height_property. | |
6895 | Use override_ascent etc. when set to handle different face heights. | |
6896 | A negative line-spacing property value is interpreted as a total | |
6897 | line height, rather than inter-line spacing. | |
6898 | (note_mouse_highlight): Allocate room for 40 overlays initially. | |
6899 | ||
0fddae66 SM |
6900 | 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
6901 | ||
6902 | * data.c (Fsubr_name): New fun. | |
6903 | (syms_of_data): Defsubr it. | |
6904 | ||
712d23dc KS |
6905 | 2004-04-29 Kim F. Storm <storm@cua.dk> |
6906 | ||
6907 | * xdisp.c (null_glyph_slice): New var. | |
6908 | (append_glyph, append_composite_glyph, append_stretch_glyph): | |
6909 | Use it to initialize glyph slice. | |
6910 | ||
033ad8c6 SM |
6911 | 2004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> |
6912 | ||
6913 | * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. | |
6914 | (on_hot_spot_p): Make sure we always return a value. | |
6915 | (Flookup_image_map): Remove unused var ix and iy. | |
6916 | (note_mode_line_or_margin_highlight): Remove unused var `image'. | |
6917 | ||
93397360 EZ |
6918 | 2004-04-27 Eli Zaretskii <eliz@gnu.org> |
6919 | ||
6920 | * msdos.c (init_environment): If one of the TMP... environment | |
6921 | variables is set to a drive letter without a trailing slash, | |
6922 | append a slash. | |
6923 | ||
0c54865e EZ |
6924 | 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org> |
6925 | ||
6926 | * editfns.c (lisp_time_argument): Provide externally. | |
6927 | ||
6928 | * fileio.c (Fset_file_times): New function. | |
6929 | (syms_of_fileio): Intern and staticpro it. | |
6930 | ||
d3b111bd KS |
6931 | 2004-04-27 Kim F. Storm <storm@cua.dk> |
6932 | ||
07dc1231 KS |
6933 | * xdisp.c (x_produce_glyphs): Fix last change; handle newline in |
6934 | header line strings. | |
6935 | ||
360fe9d2 KS |
6936 | * dispextern.h (struct it): New member use_default_face. |
6937 | ||
d3b111bd KS |
6938 | * xdisp.c (Qline_height): New variable. |
6939 | (syms_of_xdisp): Intern and staticpro it. | |
6940 | (append_space_for_newline): Partially undo 2004-04-25 change; | |
6941 | add default_face_p arg, and restore callers. | |
6942 | Clear it->use_default_face after use. | |
6943 | (x_produce_glyphs): Set default font for ascii char if | |
6944 | it->use_default_font is set. Change line-spacing property to set | |
6945 | just extra line spacing. Handle new line-height property. | |
6946 | ||
0448588b AS |
6947 | 2004-04-26 Andreas Schwab <schwab@suse.de> |
6948 | ||
6949 | * print.c (print_object): Print non-ascii characters in bool | |
6950 | vector representation as octal escapes. | |
6951 | ||
6952 | * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. | |
6953 | * print.c (print_object): Use it instead of BITS_PER_CHAR for | |
6954 | bool vectors. | |
6955 | * lread.c (read1): Likewise. | |
6956 | * alloc.c (Fmake_bool_vector): Likewise. | |
6957 | * data.c (Faref, Faset): Likewise. | |
6958 | * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) | |
6959 | (mapcar1): Likewise. | |
d3b111bd | 6960 | |
536d6baa ST |
6961 | 2004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
6962 | ||
7e26f91b | 6963 | * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. |
536d6baa | 6964 | |
ae11577a MB |
6965 | 2004-04-26 Miles Bader <miles@gnu.org> |
6966 | ||
6967 | * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. | |
6968 | ||
e198ba87 JB |
6969 | 2004-04-26 Juanma Barranquero <lektu@terra.es> |
6970 | ||
6971 | * buffer.c (Fpop_to_buffer): Fix docstring. | |
6972 | ||
f3d5f92d | 6973 | 2004-04-26 Steven Tamm <steventamm@mac.com> |
e198ba87 | 6974 | |
f3d5f92d ST |
6975 | * lread.c (init_lread): Don't display missing lisp directory |
6976 | warnings with Carbon Emacs because self-contained bundled Emacs | |
e198ba87 | 6977 | may be built without correct installation path. |
f3d5f92d | 6978 | |
03e35edc KS |
6979 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
6980 | ||
9ff3aa31 KS |
6981 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
6982 | ||
6983 | * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | |
6984 | ||
03e35edc KS |
6985 | * xdisp.c (append_space_for_newline): Rename from append_space. |
6986 | Remove DEFAULT_FACE_P arg; always use current face. Callers changed. | |
6987 | (x_produce_glyphs): Handle line-spacing property on newline char. | |
6988 | If value is t, adjust ascent and descent to fit current row height. | |
6989 | If value is an integer or float, set extra_line_spacing to integer | |
6990 | value, or to float value x current line height. | |
6991 | ||
f24814e0 KH |
6992 | 2004-04-23 Kenichi Handa <handa@m17n.org> |
6993 | ||
6994 | * fontset.c (Finternal_char_font): If POSITION is nil, return | |
6995 | font for displaying CH with the default face. | |
6996 | ||
d814862a JB |
6997 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
6998 | ||
6999 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
7000 | ||
063a45c5 SM |
7001 | 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca> |
7002 | ||
7003 | * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: | |
7004 | Don't make assumptions about the relative place of i and val. | |
7005 | (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. | |
7006 | ||
ae7ab2d3 KS |
7007 | 2004-04-21 Kim F. Storm <storm@cua.dk> |
7008 | ||
7009 | * dispextern.h (struct glyph_slice): New struct. | |
7010 | (struct glyph): New member slice. | |
7011 | (GLYPH_SLICE_EQUAL_P): New macro. | |
7012 | (GLYPH_EQUAL_P): Use it. | |
7013 | (struct glyph_string): New member slice. | |
7014 | (struct it_slice): New struct. | |
7015 | (struct it): New member slice, add member to stack too. | |
7016 | New member constrain_row_ascent_descent_p. | |
7017 | (image_ascent): Add prototype. | |
7018 | ||
7019 | * dispnew.c (buffer_posn_from_coords): Return full image width | |
7020 | and height even for image slices (posn is relative to full image). | |
7021 | (marginal_area_string): Adjust x0,y0 for image slice. | |
7022 | ||
7023 | * image.c (image_ascent): Add slice arg; calculate ascent for | |
7024 | image slice (or full image). | |
7025 | ||
7026 | * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. | |
7027 | (syms_of_keyboard): Defsubr them. | |
7028 | ||
7029 | * lisp.h (pos_visible_p): Fix prototype. | |
7030 | ||
c62aec78 | 7031 | * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. |
ae7ab2d3 KS |
7032 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. |
7033 | (x_draw_image_foreground, x_draw_image_relief) | |
7034 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
7035 | Draw sliced images. | |
7036 | ||
7037 | * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. | |
7038 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
7039 | (x_draw_image_foreground, x_draw_image_relief) | |
7040 | (w32_draw_image_foreground_1, x_draw_image_glyph_string): | |
7041 | Draw sliced images. | |
7042 | ||
7043 | * w32term.h (image_ascent): Remove prototype. | |
7044 | ||
7045 | * window.c (Fpos_visible_in_window_p): Return pixel position if | |
7046 | PARTIALLY arg is non-nil. Simplify. Doc fix. | |
7047 | (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg | |
7048 | to return/set vscroll in pixels. | |
7049 | ||
7050 | * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. | |
7051 | ||
7052 | * xdisp.c (Qslice): New variable. | |
7053 | (syms_of_xdisp): Intern and staticpro it. | |
7054 | (pos_visible_p): Return pixel position in new x and y args. | |
7055 | (init_iterator): Reset it->slice info. | |
7056 | (handle_display_prop): Parse (slice ...) property. | |
7057 | (push_it, pop_it): Save/restore slice info. | |
7058 | (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not | |
7059 | force repositioning of tall row if window is vscrolled, as that | |
7060 | would reset vscroll. | |
7061 | (append_space): Set it->constrain_row_ascent_descent_p to avoid | |
7062 | increasing row height if row is non-empty. | |
7063 | (fill_image_glyph_string): Copy slice info. | |
7064 | (take_vertical_position_into_account): Simplify. | |
7065 | (produce_image_glyph): Handle iterator slice info, setup glyph | |
7066 | slice info. Do not force minimum line height. | |
7067 | (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, | |
7068 | do not increase height (ascent/descent) of non-empty row when | |
7069 | adding normal character glyph; instead reduce glyph ascent/descent | |
7070 | appropriately; if row is higher than current glyph, adjust glyph | |
7071 | descent/ascent to reposition glyph within the existing row. | |
7072 | Likewise, when char is newline, only set ascent/descent if row is | |
7073 | currently empty. | |
7074 | (note_mouse_highlight): Handle hotspots with sliced image. | |
7075 | ||
7076 | * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. | |
7077 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
7078 | (x_draw_image_foreground, x_draw_image_relief) | |
7079 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
7080 | Draw sliced images. | |
7081 | ||
7082 | * xterm.h (image_ascent): Remove prototype. | |
7083 | ||
d58f8753 SM |
7084 | 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
7085 | ||
7086 | * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. | |
7087 | ||
4ce2719d JPW |
7088 | 2004-04-20 John Paul Wallington <jpw@gnu.org> |
7089 | ||
7090 | * fns.c (Fassoc, Feql): Fix indentation. | |
7091 | ||
d58f8753 | 7092 | * fontset.c (regularize_fontname): Rename from regulalize_fontname. |
4ce2719d | 7093 | |
95f8c3b9 JPW |
7094 | 2004-04-19 John Paul Wallington <jpw@gnu.org> |
7095 | ||
7096 | * fns.c (Feql): New function. | |
d58f8753 | 7097 | (syms_of_fns): Defsubr it. |
95f8c3b9 | 7098 | |
b7e85537 JR |
7099 | 2004-04-18 Jason Rumney <jasonr@gnu.org> |
7100 | ||
7101 | * w32select.c (Fw32_set_clipboard_data): Get sequence number | |
7102 | after closing the clipboard. | |
7103 | ||
5a72efd4 LT |
7104 | 2004-04-16 Luc Teirlinck <teirllm@auburn.edu> |
7105 | ||
7106 | * buffer.c (Fbuffer_base_buffer): Doc fix. | |
7107 | ||
20dc8583 KS |
7108 | 2004-04-17 Kim F. Storm <storm@cua.dk> |
7109 | ||
60962ec4 KS |
7110 | * keymap.c (Fkey_description): Add optional PREFIX arg. |
7111 | Combine prefix with KEYS to make up the full key sequence to describe. | |
7112 | Correlate meta_prefix_char and following (simple) key to describe | |
7113 | as meta modifier. All callers changed. | |
7114 | (describe_map): Rename arg `keys' to `prefix'. Remove local | |
7115 | `elt_prefix' var. Use Fkey_description with prefix instead of | |
7116 | elt_prefix combined with Fsingle_key_description. | |
7117 | (describe_vector): Declare static. Replace arg `elt_prefix' with | |
7118 | `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it | |
52eb0373 | 7119 | if !KEYMAP_P. Use Fkey_description with prefix instead of |
60962ec4 KS |
7120 | Fsingle_key_description. |
7121 | ||
7122 | * keymap.h (Fkey_description): Fix prototype. | |
7123 | (describe_vector): Remove prototype. | |
7124 | ||
409368b9 KS |
7125 | * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. |
7126 | ||
20dc8583 KS |
7127 | * image.c (PNG_BG_COLOR_SHIFT): Remove. |
7128 | (png_load): Fix calculation of transparent background color on X | |
7129 | and W32 platforms. | |
7130 | ||
75c5501b JB |
7131 | 2004-04-16 Juanma Barranquero <lektu@terra.es> |
7132 | ||
7133 | * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is | |
7134 | not too large before computing how much to scroll. | |
7135 | ||
da879ae8 SM |
7136 | 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
7137 | ||
7138 | * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. | |
7139 | ||
d01ca4a8 LT |
7140 | 2004-04-14 Luc Teirlinck <teirllm@auburn.edu> |
7141 | ||
7142 | * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): | |
7143 | Add hyperlink to Elisp manual to the docstring. | |
7144 | ||
572943b3 SM |
7145 | 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
7146 | ||
7147 | * callint.c (fix_command): Use XDCR. | |
7148 | ||
5e30a0fb NR |
7149 | 2004-04-14 Nick Roberts <nick@nick.uklinux.net> |
7150 | ||
7151 | * window.c (Fget_lru_window): Doc fix. | |
7152 | ||
a27ddfaf KS |
7153 | 2004-04-14 Kim F. Storm <storm@cua.dk> |
7154 | ||
7155 | * editfns.c (Fformat): Fix allocation size of precision array. | |
7156 | ||
7157 | * dispnew.c (update_window): Only set changed_p if | |
7158 | scrolling_window actually did scroll. | |
7159 | (scrolling_window): Only return 1 if we actually did scroll. | |
7160 | ||
7161 | * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor | |
7162 | height to glyph height when cursor row is not fully visible. | |
7163 | (make_cursor_line_fully_visible): Add FORCE_P arg to return | |
7164 | failure in case row is higher than window. Callers changed. | |
7165 | (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). | |
7166 | Try to scroll partially visible, higher-than-window cursor row. | |
7167 | (redisplay_window): Always try to scroll partially visible, | |
7168 | higher-than-window cursor row - both initially and again with | |
7169 | centering_position = 0. | |
7170 | Clear desired matrix before retrying with centering_position = 0. | |
7171 | ||
da879ae8 SM |
7172 | 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7173 | ||
7174 | * syntax.c (scan_lists): Simplify backward string scan. | |
7175 | Fix off-by-one boundary check for string and comment fences. | |
7176 | ||
5fc16e8e SM |
7177 | 2004-04-13 Joe Buehler <jbuehler@hekimian.com> |
7178 | ||
7179 | * sheap.c, unexcw.c: New files. | |
7180 | ||
c9aac8e6 LT |
7181 | 2004-04-12 Luc Teirlinck <teirllm@auburn.edu> |
7182 | ||
7183 | * buffer.c (Fmake_indirect_buffer): Throw an error if the intended | |
7184 | base buffer has been killed. Correct the error message if the | |
7185 | base buffer does not exist. | |
7186 | ||
1e88a355 SM |
7187 | 2004-04-12 Joe Buehler <jbuehler@hekimian.com> |
7188 | ||
7189 | * s/cygwin.h: Changes for Cygwin unexec() support, changes in | |
7190 | Cygwin itself. Add support for Xaw3d scrollbars. | |
7191 | ||
7192 | * puresize.h: Set up PURE_P() for Cygwin unexec() support. | |
7193 | ||
7194 | * lastfile.c: Define my_endbss[] for Cygwin unexec() support. | |
7195 | ||
7196 | * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), | |
7197 | before Cygwin unexec. | |
7198 | ||
7199 | * Makefile.in: Link changes for Cygwin unexec() support. | |
7200 | ||
8dbff9a0 AS |
7201 | 2004-04-12 Andreas Schwab <schwab@suse.de> |
7202 | ||
7203 | * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. | |
7204 | ||
54dffe35 LT |
7205 | 2004-04-11 Luc Teirlinck <teirllm@auburn.edu> |
7206 | ||
7207 | * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if | |
7208 | IGNORE argument equals NAME. Doc fix. | |
7209 | ||
99a72bdf MY |
7210 | 2004-04-11 Masatake YAMATO <jet@gyve.org> |
7211 | ||
1e88a355 | 7212 | * buffer.c (fix_start_end_in_overlays): Make overlays |
99a72bdf MY |
7213 | empty if they are backwards. |
7214 | ||
40899d7b SM |
7215 | 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
7216 | ||
7217 | * xfaces.c (face_color_supported_p): Fix compilation without X11. | |
7218 | ||
f8f853de SM |
7219 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
7220 | ||
7221 | * doc.c (Fsnarf_documentation): Ignore new file name entries. | |
7222 | ||
c953fe1b KS |
7223 | 2004-04-06 Kim F. Storm <storm@cua.dk> |
7224 | ||
661e85c1 KS |
7225 | * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. |
7226 | (dos_rawgetc): Set mouse_face_hidden after clearing highlight. | |
7227 | ||
7228 | * w32term.c (w32_read_socket): Set mouse_face_hidden after | |
7229 | clearing highlight. | |
7230 | ||
7231 | * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. | |
7232 | ||
7233 | * xterm.c (handle_one_xevent): Set mouse_face_hidden after | |
7234 | clearing highlight. | |
7235 | ||
c953fe1b KS |
7236 | * indent.c (vmotion): Do not reserve one column for continuation |
7237 | marks on window frames. | |
7238 | ||
c1994268 EZ |
7239 | 2004-04-04 Eli Zaretskii <eliz@gnu.org> |
7240 | ||
7241 | * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings | |
7242 | from GCC. | |
7243 | ||
9f691b0d SM |
7244 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> |
7245 | ||
7246 | * .gdbinit-union: Remove. | |
7247 | ||
7248 | * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. | |
7249 | (xgetptr, xgetint, xgettype): New funs. Use them everywhere. | |
7250 | ($nonvalbits): Remove. | |
7251 | ($valmask): Set it by calling xreload to avoid redundancy. | |
7252 | ||
7253 | * emacs.c (gdb_use_union, gdb_use_lsb): New vars. | |
7254 | (gdb_emacs_intbits): Remove. | |
7255 | ||
7a8560d7 JD |
7256 | 2004-03-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7257 | ||
9f691b0d | 7258 | * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. |
7a8560d7 | 7259 | |
3c8111fc KH |
7260 | 2004-03-30 Kenichi Handa <handa@m17n.org> |
7261 | ||
7262 | * editfns.c (Fformat): Fix initialization of the array info. | |
7263 | ||
48a0bce4 KS |
7264 | 2004-03-30 Kim F. Storm <storm@cua.dk> |
7265 | ||
7266 | * xterm.c (x_mouse_click_focus_ignore_position): New var. | |
7267 | (syms_of_xterm): DEFVAR_BOOL it. | |
7268 | (ignore_next_mouse_click_timeout): New var. | |
7269 | (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. | |
7270 | Use it to filter mouse clicks following focus event. | |
7271 | ||
1cd0066c KS |
7272 | 2004-03-29 David Ponce <david@dponce.com> |
7273 | ||
7274 | * callint.c (Fcall_interactively): Fix last change. | |
7275 | ||
adb3b353 SM |
7276 | 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
7277 | ||
7278 | * eval.c (Fcommandp): Simplify. | |
7279 | ||
7280 | * data.c (Finteractive_form): Rename from Fsubr_interactive_form. | |
7281 | Extend to handle all kinds of functions. | |
7282 | ||
7283 | * lisp.h (Finteractive_form): Declare. | |
7284 | ||
7285 | * callint.c (Fcall_interactively): Use it. | |
7286 | ||
6fc4c9c9 KS |
7287 | 2004-03-26 Kim F. Storm <storm@cua.dk> |
7288 | ||
7289 | * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error | |
7290 | to catch errors in calc_pixel_width_or_height during redisplay. | |
7291 | ||
abdb9b83 MY |
7292 | 2004-03-26 Masatake YAMATO <jet@gyve.org> |
7293 | ||
b17856dd | 7294 | * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. |
abdb9b83 | 7295 | |
b17856dd | 7296 | * lisp.h (fix_start_end_in_overlays): Likewise. |
abdb9b83 | 7297 | |
b17856dd | 7298 | * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. |
abdb9b83 | 7299 | |
b17856dd | 7300 | * editfns.c (Ftranspose_regions): Likewise. |
abdb9b83 | 7301 | |
e8a84b6c JD |
7302 | 2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7303 | ||
b17856dd | 7304 | * xterm.c (handle_one_xevent): Do not pass key press events to GTK. |
e8a84b6c | 7305 | |
36a3fd05 RS |
7306 | 2004-03-19 Richard M. Stallman <rms@gnu.org> |
7307 | ||
7308 | * s/sol2-6.h: Delete previous change. | |
7309 | ||
ab24c127 KS |
7310 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
7311 | ||
7312 | * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when | |
7313 | to_charpos corresponds to newline in right fringe. Use local | |
7314 | BUFFER_POS_REACHED_P macro. | |
7315 | ||
992126de JD |
7316 | 2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7317 | ||
7318 | * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM | |
7319 | to compile on non-window system. | |
7320 | ||
45dbfc84 KS |
7321 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
7322 | ||
7323 | * dispextern.h (calc_pixel_width_or_height): Add prototype. | |
7324 | ||
7325 | * image.c (Qcenter): Move to xdisp.c. | |
7326 | ||
7327 | * xdisp.c (Qcenter): Declare here. | |
adb3b353 | 7328 | (syms_of_xdisp): Intern and staticpro it. |
45dbfc84 KS |
7329 | (handle_single_display_prop): Allow space display property on all |
7330 | platforms. | |
7331 | (display_mode_line): Set mode_line_p before displaying line. | |
7332 | (calc_pixel_width_or_height): Declare extern. Add separate :align-to | |
7333 | handling. Remove complex cases for fringes and scroll-bars. | |
52eb0373 | 7334 | Add left, right, and center alignment positions. Add text (area) |
45dbfc84 KS |
7335 | width/height. Return width or height for image specs. |
7336 | (produce_stretch_glyph): Improve handling of :align-to. Is now | |
7337 | relative to left of text area by default, but other base offsets | |
7338 | can be specified -- also for text lines. | |
7339 | ||
7340 | * term.c (produce_glyphs): Handle IT_STRETCH. | |
7341 | (produce_stretch_glyph): New function to handle space width and | |
7342 | align-to display properties on non-window systems. | |
7343 | ||
37264101 SM |
7344 | 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
7345 | ||
7346 | * fileio.c (Fread_file_name): Set completion-ignore-case for | |
7347 | case-insensitive systems. | |
7348 | ||
73bc43da MY |
7349 | 2004-03-14 Masatake YAMATO <jet@gyve.org> |
7350 | ||
7351 | * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE | |
7352 | when keymap and cursor are setup. | |
7353 | ||
d5fb8dab | 7354 | 2004-03-14 Steven Tamm <steventamm@mac.com> |
9062aa89 | 7355 | |
b17856dd | 7356 | * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. |
9062aa89 | 7357 | |
e4b1b5ab KS |
7358 | 2004-03-14 Kim F. Storm <storm@cua.dk> |
7359 | ||
7360 | * dispextern.h (x_find_image_file): Add prototype. | |
7361 | ||
7362 | * image.c (x_find_image_file): Make extern. | |
7363 | ||
7364 | * xfns.c (x_find_image_file): Remove prototype. | |
7365 | ||
a6eeaa81 | 7366 | 2004-03-13 Eli Zaretskii <eliz@gnu.org> |
5109b06a | 7367 | |
37264101 | 7368 | * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. |
5109b06a | 7369 | |
37264101 | 7370 | * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. |
5109b06a | 7371 | |
e69cfac2 RS |
7372 | 2004-03-12 Richard M. Stallman <rms@gnu.org> |
7373 | ||
7374 | * fns.c (internal_equal): New arg PROPS controls comparing | |
7375 | text properties. All callers changed. | |
7376 | (Fequal_including_properties): New function. | |
7377 | (syms_of_fns): defsubr it. | |
7378 | ||
45034953 KS |
7379 | 2004-03-12 Kim F. Storm <storm@cua.dk> |
7380 | ||
7381 | Fix image support on MAC. From YAMAMOTO Mitsuharu. | |
37264101 | 7382 | |
45034953 KS |
7383 | * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. |
7384 | (image_background, image_background_transparent): Fix prototypes. | |
7385 | ||
37264101 | 7386 | * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. |
45034953 KS |
7387 | |
7388 | * macfns.c (x_list_fonts, x_get_font_info, x_load_font) | |
7389 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
7390 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
7391 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
7392 | (mac_draw_line_to_pixmap): Move prototypes to macterm.h. | |
7393 | ||
7394 | * macterm.h (x_list_fonts, x_get_font_info, x_load_font) | |
7395 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
7396 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
7397 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
7398 | (mac_draw_line_to_pixmap): Add prototypes. | |
7399 | ||
7400 | 2004-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
7401 | ||
7402 | * macterm.c (XTread_socket): Fix mouse click on tool bar. | |
7403 | ||
a12d3d87 KS |
7404 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
7405 | ||
d3ab1cf1 KS |
7406 | * dispextern.h: Move image related prototypes from xfns.c section |
7407 | to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than | |
7408 | HAVE_X_WINDOWS. | |
37264101 | 7409 | |
37de9f51 | 7410 | * Makefile.in (XOBJ): Consolidate into one list. Add image.o. |
37264101 | 7411 | Move gtkutil.o to new GTK_OBJ list. |
a12d3d87 KS |
7412 | (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. |
7413 | (GTK_OBJ) [USE_GTK]: New declaration. | |
7414 | (obj): Add $(GTK_OBJ) to list. | |
7415 | ||
d5fb8dab | 7416 | 2004-03-11 Steven Tamm <steventamm@mac.com> |
5109b06a | 7417 | |
7e26f91b | 7418 | * image.c [MAC_OSX]: Include sys/stat.h. |
5243c06a ST |
7419 | |
7420 | * macfns.c (syms_of_macfns): Remove definitions of things now | |
7e26f91b | 7421 | defined in image.c. |
5243c06a | 7422 | |
c0f97789 KS |
7423 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
7424 | ||
7425 | The following changes consolidates the identical/similar image | |
7426 | support code previously found in xfns.c, w32fns.c, and macfns.c | |
7427 | into a new file image.c. | |
7428 | ||
7429 | * makefile.w32-in (OBJ1): Add image.o. | |
7430 | ($(BLD)/image.$(O)): Add dependencies. | |
7431 | ||
7432 | * Makefile.in (XOBJ, MAC_OBJ): Add image.o. | |
7433 | (image.o): Add dependencies. | |
37264101 | 7434 | |
c0f97789 KS |
7435 | * image.c: New file with consolidated image support code. |
7436 | (COLOR_TABLE_SUPPORT): New define to control whether | |
7437 | color table support is available (X only). | |
7438 | (Bitmap_Record): Common name for x_bitmap_record, | |
7439 | w32_bitmap_record, and mac_bitmap_record. | |
7440 | (XImagePtr): Common name for pointer to XImage or equivalent. | |
7441 | (XImagePtr_or_DC): New type to simplify code sharing; equivalent | |
7442 | to XImagePtr on X+MAC, and to HDC on W32. | |
7443 | (GET_PIXEL): Wrapper for XGetPixel or equivalent. | |
7444 | (NO_PIXMAP): Common name for "None" or equivalent. | |
7445 | (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. | |
7446 | (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. | |
7447 | (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). | |
37264101 SM |
7448 | (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): |
7449 | Define with suitable equivalents on W32 and MAC for code sharing. | |
c0f97789 KS |
7450 | (XDrawLine): Define on MAC for code sharing. |
7451 | (Destroy_Image, Free_Pixmap): Wrappers for code sharing. | |
7452 | (IF_LIB_AVAILABLE): Macro to simplify code sharing. | |
7453 | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
7454 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7455 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7456 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7457 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
7458 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
7459 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
7460 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
7461 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
7462 | (define_image_type, lookup_image_type, valid_image_p) | |
7463 | (image_error, enum image_value_type, struct image_keyword) | |
7464 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
7465 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
7466 | (four_corners_best, image_background, image_background_transparent) | |
7467 | (x_clear_image_1, x_clear_image, x_alloc_image_color) | |
7468 | (make_image_cache, free_image_cache, clear_image_cache) | |
7469 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
7470 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
7471 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
7472 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
7473 | (init_image_func_pointer, image_load_quartz2d) | |
7474 | (struct ct_color, init_color_table, free_color_table) | |
7475 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
7476 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
7477 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
7478 | (x_disable_image, x_build_heuristic_mask) | |
7479 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
7480 | (TIFF support, GIF support, Ghostscript support): Consolidate image | |
7481 | code from xfns.c, w32fns.c, and macfns.c. | |
7482 | (syms_of_image): Consolidate image related symbol setup here. | |
7483 | (init_image): Consolidate image related initializations here. | |
37264101 | 7484 | |
c0f97789 KS |
7485 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image |
7486 | and init_image. Remove call to init_xfns. | |
7487 | ||
37264101 SM |
7488 | * macterm.h (struct mac_bitmap_record): Add file member. |
7489 | Not currently used, but simplifies code sharing. | |
c0f97789 KS |
7490 | |
7491 | * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
7492 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7493 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7494 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7495 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
7496 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
7497 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
7498 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
7499 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
7500 | (define_image_type, lookup_image_type, valid_image_p) | |
7501 | (image_error, enum image_value_type, struct image_keyword) | |
7502 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
7503 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
7504 | (four_corners_best, image_background, image_background_transparent) | |
7505 | (x_clear_image_1, x_clear_image, x_alloc_image_color) | |
7506 | (make_image_cache, free_image_cache, clear_image_cache) | |
7507 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
7508 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
7509 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
7510 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
7511 | (init_image_func_pointer, image_load_quartz2d) | |
7512 | (struct ct_color, init_color_table, free_color_table) | |
7513 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
7514 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
7515 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
7516 | (x_disable_image, x_build_heuristic_mask) | |
7517 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
7518 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
7519 | code from xfns.c and macfns.c into image.c. | |
7520 | (syms_of_xfns): Move image related symbols to image.c. | |
7521 | (init_external_image_libraries, init_xfns): Remove; initialization | |
7522 | moved to init_image in image.c. | |
7523 | ||
7524 | * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
7525 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7526 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7527 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7528 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
7529 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
7530 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
7531 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
7532 | (define_image_type, lookup_image_type, valid_image_p) | |
7533 | (image_error, enum image_value_type, struct image_keyword) | |
7534 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
7535 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
7536 | (four_corners_best, image_background, image_background_transparent) | |
7537 | (x_clear_image_1, x_clear_image, x_alloc_image_color) | |
7538 | (make_image_cache, free_image_cache, clear_image_cache) | |
7539 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
7540 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
7541 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
7542 | (struct ct_color, init_color_table, free_color_table) | |
7543 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
7544 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
7545 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
7546 | (x_disable_image, x_build_heuristic_mask) | |
7547 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
7548 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
7549 | code from xfns.c and macfns.c into image.c. | |
7550 | (syms_of_xfns): Move image related symbols to image.c. | |
7551 | (init_external_image_libraries, init_xfns): Remove; initialization | |
7552 | moved to init_image in image.c. | |
7553 | ||
7554 | * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
7555 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7556 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7557 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7558 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
7559 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
7560 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
7561 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
7562 | (define_image_type, lookup_image_type, valid_image_p) | |
7563 | (image_error, enum image_value_type, struct image_keyword) | |
7564 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
7565 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
7566 | (four_corners_best, image_background, image_background_transparent) | |
7567 | (x_clear_image_1, x_clear_image, x_alloc_image_color) | |
7568 | (make_image_cache, free_image_cache, clear_image_cache) | |
7569 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
7570 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
7571 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
7572 | (struct ct_color, init_color_table, free_color_table) | |
7573 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
7574 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
7575 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
7576 | (x_disable_image, x_build_heuristic_mask) | |
7577 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
7578 | (TIFF support, GIF support, Ghostscript support): Merge with | |
7579 | w32fns.c and macfns.c image code into image.c. | |
7580 | (syms_of_xfns): Move image related symbols to image.c. | |
7581 | (init_xfns): Remove; initialization moved to init_image in image.c. | |
7582 | ||
7583 | * lisp.h (syms_of_image, init_image): Add protoypes. | |
7584 | (init_xfns): Remove prototype. | |
7585 | ||
7586 | * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7587 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7588 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7589 | (x_create_bitmap_mask): Move prototypes from dispextern.h. | |
7590 | (gamma_correct) [MAC_OS]: Add prototype. | |
7591 | ||
7592 | * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
7593 | (x_reference_bitmap, x_create_bitmap_from_data) | |
7594 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
7595 | (x_create_bitmap_mask): Move prototypes to dispextern.h. | |
7596 | ||
6eced09c KH |
7597 | 2004-03-09 Kenichi Handa <handa@etlken2> |
7598 | ||
7599 | * coding.c (decode_coding_emacs_mule): Handle insufficent source | |
7600 | correctly. | |
7601 | ||
9a7e95f3 RS |
7602 | 2004-03-04 Richard M. Stallman <rms@gnu.org> |
7603 | ||
04a6e76b RS |
7604 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. |
7605 | ||
9a7e95f3 RS |
7606 | * window.c (Fdisplay_buffer): Doc fix. |
7607 | ||
7608 | * buffer.c (Fpop_to_buffer): Doc fix. | |
7609 | ||
6c2488df KS |
7610 | 2004-03-03 Kim F. Storm <storm@cua.dk> |
7611 | ||
7612 | * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. | |
7613 | ||
d8d95bc7 SM |
7614 | 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca> |
7615 | ||
7616 | * editfns.c (Ftranslate_region): Lisp_Object/int mixup. | |
7617 | ||
357589bf RS |
7618 | 2004-03-02 Richard M. Stallman <rms@gnu.org> |
7619 | ||
7620 | * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. | |
7621 | ||
409949b5 KH |
7622 | 2004-03-02 Kenichi Handa <handa@m17n.org> |
7623 | ||
7624 | * doc.c (Fsubstitute_command_keys): Fix counding bytes. | |
7625 | ||
d24bc50f KS |
7626 | 2004-03-02 Kim F. Storm <storm@cua.dk> |
7627 | ||
7628 | * window.h (struct window): New member overlay_arrow_bitmap. | |
7629 | ||
7630 | * window.c (make_window): Initialize overlay_arrow_bitmap. | |
7631 | ||
7632 | * xdisp.c (Voverlay_arrow_variable_list): New variable to properly | |
7633 | implement and integrate multiple overlay arrows with redisplay. | |
7634 | (syms_of_xdisp): DEFVAR_LISP and initialize it. | |
7635 | (last_arrow_position, last_arrow_string): Replace by properties. | |
7636 | (Qlast_arrow_position, Qlast_arrow_string) | |
7637 | (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. | |
7638 | (syms_of_xdisp): Intern and staticpro them. | |
7639 | (overlay_arrow_string_or_property, update_overlay_arrows) | |
7640 | (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) | |
7641 | (overlay_arrow_at_row): New functions for multiple overlay arrows. | |
7642 | (redisplay_internal): Use them instead of directly accessing | |
7643 | Voverlay_arrow_position etc. for multiple overlay arrows. | |
7644 | (mark_window_display_accurate): Use update_overlay_arrows. | |
7645 | (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. | |
7646 | (try_window_id): Use overlay_arrows_changed_p. | |
7647 | (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. | |
7648 | (display_line): Use overlay_arrow_at_row to check multiple | |
7649 | overlay arrows, and get relevant overlay-arrow-string and | |
d8d95bc7 | 7650 | overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. |
d24bc50f KS |
7651 | (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. |
7652 | (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. | |
7653 | ||
7654 | * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. | |
7655 | (update_window_fringes): Remove unused code. | |
7656 | ||
c1464661 JR |
7657 | 2004-03-01 Jason Rumney <jasonr@gnu.org> |
7658 | ||
7659 | * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. | |
7660 | ||
a64387ee JB |
7661 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
7662 | ||
7663 | * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. | |
7664 | ||
7665 | * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. | |
7666 | ||
334faa08 JD |
7667 | 2004-03-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7668 | ||
7669 | * xfns.c (Fx_display_color_cells): Use number of planes to calculate | |
7670 | how many colors can be displayed. | |
7671 | ||
bb62616f KH |
7672 | 2004-03-01 Kenichi Handa <handa@m17n.org> |
7673 | ||
7674 | * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE | |
7675 | correctly. | |
7676 | ||
0fd16104 KS |
7677 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
7678 | ||
7679 | * dispnew.c (update_window): Update header line also if there are | |
7680 | no other changes in window (move code after set_cursor label). | |
7681 | ||
7682 | * lisp.h (mark_window_display_accurate): Remove prototype. | |
7683 | ||
7684 | * window.c (window_loop, Fforce_window_update): Force mode line | |
7685 | updates by setting prevent_redisplay_optimizations_p and | |
7686 | update_mode_lines. | |
7687 | ||
b59dd9c8 JD |
7688 | 2004-02-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7689 | ||
d8d95bc7 | 7690 | * xfns.c (x_window): Fix indentation. |
b59dd9c8 JD |
7691 | |
7692 | * xterm.c (x_calc_absolute_position): Call x_real_positions | |
7693 | to get WM window sizes and use those to calculate position. | |
d8d95bc7 | 7694 | (x_set_offset): Remove code commented out. |
b59dd9c8 | 7695 | |
a874691c MB |
7696 | 2004-02-28 Miles Bader <miles@gnu.org> |
7697 | ||
7698 | * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. | |
7699 | ||
3e0c6482 KS |
7700 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
7701 | ||
7702 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | |
7703 | an event into kbd fifo, but with special handling of quit event; | |
7704 | a quit event is saved for later, and further events are discarded | |
7705 | until the saved quit event has been processed. | |
7706 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | |
7707 | (gen_help_event): Store help event in kbd fifo. | |
7708 | (NREAD_INPUT_EVENTS): Remove. | |
7709 | (read_avail_input): Adapt to new read_socket_hook interface. | |
7710 | Remove allocation and initialization of local input_event buffer, | |
7711 | as read_socket_hook stores events directly in fifo. Allocate and | |
7712 | initialize local hold_quit event to handle postponed quit event | |
7713 | (and store it if set by kbd_buffer_store_event_hold). | |
7714 | ||
7715 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | |
7716 | (gen_help_event): Fix prototype. | |
7717 | ||
a64387ee | 7718 | * macterm.c (XTread_socket): Remove bufp_r and |
3e0c6482 | 7719 | numcharsp args. Add hold_quit arg. |
f63fd14e | 7720 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
7721 | directly in fifo using kbd_buffer_store_event_hold. |
7722 | ||
7723 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | |
7724 | (read_input_waiting): Adapt to new read_socket_hook interface. | |
7725 | Remove allocation and initialization of local input_event buffer, | |
7726 | as read_socket_hook stores events directly in fifo. Allocate and | |
7727 | initialize local hold_quit event to handle postponed quit event | |
7728 | (and store it if set by kbd_buffer_store_event_hold). | |
7729 | ||
a64387ee | 7730 | * term.c (read_socket_hook): Fix arg list. |
3e0c6482 KS |
7731 | |
7732 | * termhooks.h (read_socket_hook): Fix prototype. | |
7733 | ||
7734 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | |
7735 | numcharsp args. Add hold_quit arg. | |
f63fd14e | 7736 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
7737 | directly in fifo using kbd_buffer_store_event_hold. |
7738 | ||
7739 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | |
7740 | ||
7741 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
7742 | Add hold_quit arg. Rework to use just one, local, inev |
7743 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
7744 | kbd_buffer_store_event_hold. Update count in one place. |
7745 | Postpone call to gen_help_event until inev is stored; use new | |
7746 | local do_help for this. | |
7747 | Remove local emacs_event in handing of ButtonPress event; just use | |
7748 | inev instead (so no reason to copy it later). | |
7749 | ||
7750 | * xsmfns.c (x_session_check_input): Remove numchars arg. | |
7751 | ||
d8d95bc7 SM |
7752 | * xterm.c (x_focus_changed, x_detect_focus_change): |
7753 | Remove numchars arg. Always store event into bufp arg. | |
7754 | Return nothing. Callers changed accordingly. | |
3e0c6482 KS |
7755 | (glyph_rect): Simplify. |
7756 | (STORE_KEYSYM_FOR_DEBUG): New macro. | |
7757 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | |
7758 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | |
7759 | (current_hold_quit) [USE_GTK]: Add. | |
7760 | (event_handler_gdk): Adapt to new handle_one_xevent. | |
7761 | (handle_one_xevent): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
7762 | Add hold_quit arg. Rework to use just one, local, inev |
7763 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
7764 | kbd_buffer_store_event_hold. Update count in one place. |
7765 | Postpone call to gen_help_event until inev is stored; use new | |
7766 | local do_help for this. | |
7767 | Simplify handling of keysyms (consolidate common code). Fix bug | |
7768 | where count was updated with nchars instead of nbytes. | |
7769 | Remove local emacs_event in handing of ButtonPress event; just use | |
7770 | inev instead (so no reason to copy it later). | |
7771 | Remove `out' label. Rename label `ret' to `done'; add various | |
7772 | `goto done' to clarify code flow in deeply nested blocks. | |
7773 | (x_dispatch_event): Simplify as handle_one_xevent now calls | |
7774 | kbd_buffer_store_event itself. | |
f63fd14e | 7775 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit |
3e0c6482 KS |
7776 | arg. Call handle_one_xevent with new arglist. Store event from |
7777 | x_session_check_input in fifo. | |
7778 | [USE_GTK]: Setup current_hold_quit. | |
7779 | Decrement handling_signal before unblocking input. | |
7780 | (x_initialize) [USE_GTK]: Initialize current_count. | |
7781 | ||
7782 | * xterm.h (x_session_check_input): Fix prototype. | |
7783 | ||
e3564461 | 7784 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
a64387ee | 7785 | |
d8d95bc7 | 7786 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. |
a64387ee | 7787 | |
e3564461 ST |
7788 | * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in |
7789 | macgui.h). | |
a64387ee | 7790 | |
e3564461 | 7791 | * emacs.c (main) [HAVE_CARBON]: Call init_xfns. |
a64387ee | 7792 | |
e3564461 ST |
7793 | * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. |
7794 | (mktime, DEBUG, Z, free, malloc, realloc, max, min) | |
7795 | (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h. | |
7796 | [!MAC_OSX]: Include QDOffscreen.h and Controls.h. | |
7797 | (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. | |
7798 | (Bitmap): Remove typedef. | |
7799 | (Pixmap): Change int to GWorldPtr. | |
7800 | ||
d8d95bc7 | 7801 | * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
a64387ee | 7802 | |
d8d95bc7 SM |
7803 | * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
7804 | (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): | |
7805 | New #define to extract 16-bit depth color components from unsigned | |
e3564461 ST |
7806 | long representation. |
7807 | (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel | |
7808 | colors used for masks. | |
7809 | (struct mac_display_info): Add color_p. Remove n_cbits. | |
a64387ee | 7810 | |
e3564461 ST |
7811 | * macfns.c: Include sys/types.h and sys/stat.h. |
7812 | [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). | |
7813 | Include QuickTime/QuickTime.h. | |
7814 | (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
7815 | (XSetForeground, mac_draw_line_to_pixmap): Add externs for | |
7816 | functions defined in macterm.c. | |
7817 | (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. | |
7818 | (ZPixmap): New #define for compatibility with xfns.c. | |
7819 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
7820 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
d8d95bc7 SM |
7821 | (find_image_fsspec, image_load_qt_1, image_load_quicktime): |
7822 | New functions. | |
e3564461 | 7823 | (four_corners_best, x_create_x_image_and_pixmap) |
d8d95bc7 SM |
7824 | (x_destroy_x_image, unwind_create_frame, x_disable_image) |
7825 | (x_edge_detection, init_color_table, colors_in_color_table) | |
e3564461 ST |
7826 | (lookup_rgb_color, lookup_pixel_color, postprocess_image) |
7827 | (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) | |
7828 | (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) | |
7829 | (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). | |
7830 | (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned | |
7831 | long mixup. | |
7832 | (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. | |
7833 | (x_decode_color): Don't use n_cbits (in struct mac_display_info). | |
7834 | (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. | |
7835 | (x_set_cursor_type, Fxw_color_values, valid_image_p) | |
7836 | (image_value_type, parse_image_spec, image_ascent, x_clear_image) | |
7837 | (x_alloc_image_color, clear_image_cache, lookup_image) | |
7838 | (x_find_image_file, xbm_read_bitmap_file_data) | |
7839 | (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) | |
7840 | (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) | |
7841 | (enum pbm_keyword_index, pbm_format, enum png_keyword_index) | |
7842 | (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) | |
7843 | (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) | |
d8d95bc7 | 7844 | (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. |
e3564461 ST |
7845 | (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with |
7846 | #if 0. | |
7847 | (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with | |
7848 | #if 0. Free white_relief.gc and black_relief.gc. | |
d8d95bc7 SM |
7849 | (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): |
7850 | New functions (from xfns.c). | |
e3564461 ST |
7851 | (Fx_create_frame): Record unwind_create_frame. |
7852 | (Fxw_display_color_p): Use dpyinfo->color_p. | |
7853 | (Fx_display_grayscale_p, Fx_display_planes): Don't use | |
7854 | dpyinfo->n_cbits. | |
7855 | (Fx_display_color_cells): Use dpyinfo->n_planes; | |
7856 | (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) | |
7857 | (Qheuristic, cross_disabled_images, emboss_matrix) | |
7858 | (laplace_matrix): New variables (from xfns.c). | |
7859 | (Fimage_size, Fimage_mask_p, four_corners_best, image_background) | |
7860 | (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) | |
7861 | (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) | |
d8d95bc7 SM |
7862 | (image_background_transparent): New function (from xfns.c). |
7863 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
7864 | (image_load_quicktime): Add declaration. |
7865 | [MAC_OSX] (image_load_quartz2d): Likewise. | |
7866 | [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. | |
7867 | [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. | |
d8d95bc7 | 7868 | [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. |
e3564461 ST |
7869 | (xbm_load_image_from_file, x_laplace_read_row) |
7870 | (x_laplace_write_row, pbm_read_file): Remove functions. | |
7871 | [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) | |
7872 | (xpm_load): Sync with xfns.c (although XPM is not supported yet). | |
7873 | (colors_in_color_table): Sync with xfns.c (although not used). | |
7874 | (lookup_rgb_color): Don't lookup color table. Just do gamma | |
7875 | correction. | |
7876 | (COLOR_INTENSITY): New #define (from xfns.c). | |
d8d95bc7 SM |
7877 | (x_disable_image): New function (from xfns.c). |
7878 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
7879 | (x_build_heuristic_mask): Sync with xfns.c. | |
7880 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
7881 | (HAVE_PBM): Remove #ifdef. |
7882 | (pbm_load): Sync with xfns.c. Set img->width and img->height | |
7883 | before IMAGE_BACKGROUND. | |
d8d95bc7 | 7884 | (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. |
e3564461 ST |
7885 | (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): |
7886 | Don't enclose with #if HAVE_PNG. | |
7887 | [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a | |
d8d95bc7 SM |
7888 | symbol _CGImageCreateWithPNGDataProvider is defined. |
7889 | Otherwise use image_load_quicktime. | |
e3564461 | 7890 | [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. |
d8d95bc7 SM |
7891 | [HAVE_PNG] (png_load): Sync with xfns.c. |
7892 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
7893 | (jpeg_image_p, jpeg_load): Don't enclose declarations with #if |
7894 | HAVE_JPEG. | |
7895 | (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) | |
7896 | (jpeg_image_p): Don't enclose with #if HAVE_JPEG. | |
7897 | [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. | |
7898 | [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. | |
7899 | [HAVE_JPEG] (jpeg_load): Sync with xfns.c. | |
7900 | (tiff_image_p, tiff_load): Don't enclose declarations with #if | |
7901 | HAVE_TIFF. | |
7902 | (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) | |
7903 | (tiff_image_p): Don't enclose with #if HAVE_TIFF. | |
7904 | [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. | |
d8d95bc7 SM |
7905 | [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): |
7906 | New functions (from xfns.c). | |
e3564461 | 7907 | [HAVE_TIFF] (tiff_load): Sync with xfns.c. |
d8d95bc7 | 7908 | (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. |
e3564461 ST |
7909 | (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): |
7910 | Don't enclose with #if HAVE_GIF. | |
7911 | [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is | |
7912 | animated gif. Otherwise use image_load_quicktime. | |
7913 | [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as | |
7914 | gif_DrawText to avoid conflict with QuickdrawText.h. | |
7915 | [HAVE_GIF] (gif_load): Sync with xfns.c. | |
7916 | (enum gs_keyword_index, gs_format, gs_image_p, gs_load) | |
7917 | [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although | |
7918 | Ghostscript is not supported yet). | |
7919 | (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, | |
7920 | QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL | |
7921 | cross_disabled_images (from xfns.c). Remove #if 0 for supported | |
7922 | image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
7923 | HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. | |
7924 | (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
d8d95bc7 SM |
7925 | HAVE_PNG. Call EnterMovies to support animated gifs. |
7926 | Call init_image_func_pointer to bind a symbol | |
e3564461 | 7927 | _CGImageCreateWithPNGDataProvider if it is defined. |
a64387ee | 7928 | |
d8d95bc7 | 7929 | * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
e3564461 ST |
7930 | (x_draw_bar_cursor): Sync declaration with xterm.c. |
7931 | (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) | |
7932 | (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen | |
7933 | graphics). | |
7934 | (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. | |
7935 | (mac_draw_line_to_pixmap, XCreatePixmap) | |
7936 | (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) | |
d8d95bc7 SM |
7937 | (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): |
7938 | New functions. | |
7939 | (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: | |
7940 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
7941 | Cast bits to char *. | |
e3564461 ST |
7942 | (reflect_byte): New function (from w32fns.c). |
7943 | (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits | |
7944 | due to byte alignment. | |
d8d95bc7 SM |
7945 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: |
7946 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
e3564461 ST |
7947 | (XSetForeground): Remove static (now used in macfns.c). |
7948 | (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). | |
7949 | (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. | |
7950 | (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) | |
7951 | (x_draw_glyph_string_box, x_draw_image_foreground) | |
7952 | (x_draw_image_foreground_1, x_draw_image_glyph_string) | |
7953 | (x_draw_stretch_glyph_string, x_draw_glyph_string) | |
7954 | (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): | |
7955 | Sync with xterm.c. | |
7956 | (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter | |
7957 | than the xterm.c version when a strictly horizontal or vertical | |
7958 | line is drawn. | |
7959 | (XTset_terminal_window): Add static. | |
7960 | (x_make_frame_visible): Add UNBLOCK_INPUT. | |
7961 | (x_free_frame_resources): New funcion (from xterm.c). | |
7962 | (XTread_socket): Call handle_tool_bar_click if mouse up/down event | |
7963 | occurs in tool bar area. | |
d8d95bc7 SM |
7964 | (mac_initialize_display_info): Remove dpyinfo->n_cbits. |
7965 | Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. | |
e3564461 ST |
7966 | Initialize image cache. |
7967 | (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): | |
7968 | Enclose unused functions with #if 0. | |
7969 | (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. | |
7970 | (decode_mac_font_name): New function to apply code conversions | |
d8d95bc7 | 7971 | from a mac font name to an XLFD font name according to its script code. |
e3564461 | 7972 | (x_font_name_to_mac_font_name): Apply code conversion from an XLFD |
d8d95bc7 | 7973 | font name to a mac font name according to REGISTRY and ENCODING fields. |
e3564461 ST |
7974 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font |
7975 | whose name starts with `.'. | |
7976 | (init_font_name_table): Use decode_mac_font_name. Add both | |
7977 | jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code | |
7978 | of a font is smJapanese. | |
7979 | (mac_do_list_fonts): New function to list fonts that match a given | |
7980 | pattern. | |
7981 | (x_list_fonts, XLoadQueryFont): Use it. | |
7982 | (XLoadQueryFont): Set rbearing field for each variable width | |
7983 | character to avoid needless redraw. | |
7984 | (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. | |
7985 | ||
446f5f3d KS |
7986 | 2004-02-26 Kim F. Storm <storm@cua.dk> |
7987 | ||
af617d0f KS |
7988 | * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 |
7989 | as read_socket_hook handler on X aborts if buffer is too small | |
7990 | and W32 handler doesn't always check buffer limit. | |
7991 | ||
446f5f3d KS |
7992 | * xdisp.c (handle_single_display_prop): Handle left-fringe and |
7993 | right-fringe similar to a display margin image. Specifically, | |
7994 | the characters having the fringe prop are no longer shown, and | |
7995 | we use IT_IMAGE/next_element_from_image with image_id = -1 to | |
7996 | do this. Set fringe bitmap face_id in it->face_id. | |
7997 | (produce_image_glyph): Handle image_id < 0 as "no image" case, but | |
7998 | still realize it->face (i.e. the fringe bitmap face). | |
7999 | ||
7d8a0b55 MB |
8000 | 2004-02-25 Miles Bader <miles@gnu.org> |
8001 | ||
8002 | * xdisp.c (check_it): Check string/string_pos consistency. | |
8003 | (init_iterator): Initialize string-related fields properly. | |
8004 | ||
8005 | 2004-02-11 Miles Bader <miles@gnu.org> | |
8006 | ||
8007 | * xdisp.c (produce_image_glyph): Force negative descents to zero. | |
8008 | ||
8009 | 2004-02-10 Miles Bader <miles@gnu.org> | |
8010 | ||
8011 | * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); | |
8012 | BLOCK_INPUT can be nested, so it doesn't make much sense. | |
8013 | ||
a64387ee | 8014 | 2004-02-24 Michael Mauger <mmaug@yahoo.com> |
ce35edd1 JR |
8015 | |
8016 | * w32fns.c (slurp_file, xbm_scan, xbm_load_image) | |
8017 | (xbm_read_bitmap_data): Use unsigned char for image data. | |
8018 | ||
92f5fba2 LT |
8019 | 2004-02-23 Luc Teirlinck <teirllm@auburn.edu> |
8020 | ||
8021 | * abbrev.c (Finsert_abbrev_table_description): Doc fix. | |
8022 | ||
8565fb3d JR |
8023 | 2004-02-22 Jason Rumney <jasonr@gnu.org> |
8024 | ||
8025 | * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps | |
8026 | correctly over other bitmaps. | |
8027 | ||
a6eeaa81 | 8028 | 2004-02-21 Eli Zaretskii <eliz@gnu.org> |
f8125c39 EZ |
8029 | |
8030 | * emacs.c (USAGE1): Split into two halves. | |
8031 | (USAGE2): Second half of the old USAGE1. | |
d8d95bc7 SM |
8032 | (USAGE3): Rename from USAGE2. |
8033 | (USAGE4): Rename from USAGE3. | |
f8125c39 | 8034 | |
4effffca EZ |
8035 | 2004-02-21 Juri Linkov <juri@jurta.org> |
8036 | ||
8037 | * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. | |
8038 | Fix --multibyte. Move --help, --version to USAGE2. Add alias | |
8039 | --file. Fix -f, -l. Sort options. Untabify. | |
8040 | (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. | |
8041 | ||
923c1e6f LT |
8042 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> |
8043 | ||
8044 | * category.c (Fdefine_category, Fcategory_docstring) | |
8045 | (Fget_unused_category, Fset_category_table) | |
8046 | (Fcategory_set_mnemonics): Doc fixes. | |
8047 | ||
b0e225fd KS |
8048 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
8049 | ||
8050 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | |
8051 | The following changes are relative to the 2004-01-21 revision. | |
8052 | (NREAD_INPUT_EVENTS): Define as max number of input events to read | |
8053 | in one call to read_socket_hook. Value is 8. | |
8054 | (read_avail_input): Separate and rework handling of read_socket_hook | |
8055 | and non-read_socket_hook cases. Use smaller input_event buffer | |
d8d95bc7 SM |
8056 | in read_socket_hook case, and repeat if full buffer is read. |
8057 | Use new local variable 'discard' to skip input after C-g. | |
b0e225fd KS |
8058 | In non-read_socket_hook case, just use a single input_event, and |
8059 | call kbd_buffer_store_event on the fly for each character. | |
8060 | ||
b15aa9f9 SM |
8061 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
8062 | ||
8063 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | |
8064 | Remove unused `gu' alternative. | |
8065 | ||
83c9aa95 AS |
8066 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
8067 | ||
8068 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | |
8069 | warning. | |
8070 | ||
cc808173 KS |
8071 | 2004-02-18 Kim F. Storm <storm@cua.dk> |
8072 | ||
8073 | * xdisp.c (get_window_cursor_type, display_and_set_cursor): | |
8074 | Fix last change. | |
8075 | ||
ab90a54d KS |
8076 | 2004-02-17 Kim F. Storm <storm@cua.dk> |
8077 | ||
b26f249f KS |
8078 | * xdisp.c (fast_find_position): Fix return value of new version; |
8079 | it was inverted compared to the 21.1 version. | |
8080 | (get_window_cursor_type): Don't look at glyph if NULL. | |
8081 | (display_and_set_cursor): Set glyph to NULL if cursor in fringe. | |
0bf7d005 | 8082 | |
ab90a54d KS |
8083 | * keyboard.c: Rework previous change; it didn't consider that the |
8084 | buf array was allocated on the stack. | |
8085 | (prev_read): Remove variable. | |
8086 | (read_avail_input_buf): New static event buffer array. | |
b9568dfc | 8087 | (in_read_avail_input): New static variable to handle re-entrancy. |
ab90a54d | 8088 | (read_avail_input): Change buf to pinter to read_avail_input_buf. |
b9568dfc KS |
8089 | Use in_read_avail_input to handle re-entrance; when re-entered, |
8090 | fully initialize and use tmp_buf array instead of read_avail_input_buf. | |
8091 | Do not initialize read_avail_input_buf in full here; instead assume it | |
ab90a54d KS |
8092 | is always cleared on entry. To ensure that, we clear (just) the |
8093 | entries that were used before we return. | |
8094 | (init_keyboard): Initialize read_avail_input_buf here. | |
8095 | ||
b6189c3b | 8096 | 2004-02-16 Jesper Harder <harder@ifa.au.dk> |
4e039f3f EZ |
8097 | |
8098 | * cmds.c (Fend_of_line): Doc fix. | |
8099 | ||
7b5368c1 EZ |
8100 | 2004-02-16 Dmitry Antipov <dmitry.antipov@mail.ru> (tiny change) |
8101 | ||
8102 | * keyboard.c (prev_read): New static variable. | |
8103 | (read_avail_input): Use it to zero out only those slots in buf[] | |
8104 | that were used last time we were called. | |
8105 | ||
a6eeaa81 | 8106 | 2004-02-16 Eli Zaretskii <eliz@gnu.org> |
ca4bc494 EZ |
8107 | |
8108 | * Makefile.in (obj): Move fringe.o from here... | |
8109 | (XOBJ, MAC_OBJ): ...to here. | |
8110 | ||
159c348e SE |
8111 | 2004-02-16 Stephen Eglen <stephen@gnu.org> |
8112 | ||
8113 | * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. | |
8114 | ||
d2f14999 SM |
8115 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
8116 | ||
b15aa9f9 SM |
8117 | * data.c (Fbyteorder): |
8118 | * fringe.c (Fdefine_fringe_bitmap): | |
8119 | * xdisp.c (handle_single_display_prop): | |
d2f14999 SM |
8120 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
8121 | ||
8d50508a JR |
8122 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
8123 | ||
8124 | * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. | |
8125 | ||
dd4497dc ST |
8126 | 2004-02-15 Steven Tamm <steventamm@mac.com> |
8127 | ||
8128 | * macterm.c (Vmac_emulate_three_button_mouse): New variable for | |
8129 | controlling emulation of a three button mouse with option and | |
8130 | command keys. | |
7e26f91b | 8131 | (Qreverse, mac_get_enumlated_btn): Handle the emulation. |
b15aa9f9 | 8132 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
dd4497dc | 8133 | |
c9159cb3 KS |
8134 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
8135 | ||
2cc52658 KS |
8136 | * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. |
8137 | ||
c9159cb3 KS |
8138 | * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: |
8139 | Perform byte-swapping. | |
8140 | ||
12fde2dc KS |
8141 | 2004-02-14 Kim F. Storm <storm@cua.dk> |
8142 | ||
8143 | * dispextern.h (struct draw_fringe_bitmap_params): Change member | |
8144 | bits from char to short to facilitate wider bitmaps. | |
8145 | (struct redisplay_interface): Fix prototype of define_fringe_bitmap | |
8146 | member. | |
8147 | ||
8148 | * fringe.c (struct fringe_bitmap): Change member bits from char to | |
8149 | short to facilitate 16 bits wide bitmaps. Modify all standard | |
8150 | bitmaps accordingly. | |
8151 | (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. | |
8152 | (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. | |
8153 | (draw_fringe_bitmap): Ditto. | |
8154 | (init_fringe_bitmap) [MAC_OS]: Don't bitswap. | |
8155 | (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to | |
8156 | handle up to 16 bits wide bitmaps. | |
8157 | (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. | |
f21a7192 | 8158 | (Ffringe_bitmaps_at_pos): Add missing arg declarations. |
12fde2dc KS |
8159 | |
8160 | * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. | |
8161 | (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer | |
8162 | need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. | |
8163 | ||
8164 | * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, | |
8165 | so it is no longer necessary to expand them here. | |
8166 | ||
8167 | * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). | |
8168 | ||
9d7271e8 KS |
8169 | 2004-02-12 Kim F. Storm <storm@cua.dk> |
8170 | ||
8171 | * window.c (Fwindow_fringes): Doc fix. | |
8172 | ||
706c1e4f JD |
8173 | 2004-02-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8174 | ||
8175 | * xselect.c (x_get_foreign_selection): Add new optional parameter | |
8176 | time_stamp. | |
8177 | (Fx_get_selection_internal): Ditto, pass time_stamp to | |
8178 | x_get_foreign_selection. | |
8179 | ||
8180 | * data.c (Fbyteorder): New function. | |
8181 | ||
c2d12b5d JD |
8182 | 2004-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8183 | ||
8184 | * atimer.c: Move include stdio.h to same place as in other files. | |
8185 | ||
8186 | * region-cache.c: Ditto. | |
8187 | ||
8188 | * sysdep.c: Ditto. | |
8189 | ||
8190 | * xfaces.c: Ditto. | |
8191 | ||
4c1947b9 SS |
8192 | 2004-02-09 Sam Steingold <sds@gnu.org> |
8193 | ||
89458937 | 8194 | * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. |
4c1947b9 | 8195 | |
82722af3 KS |
8196 | 2004-02-09 Kim F. Storm <storm@cua.dk> |
8197 | ||
8198 | * fringe.c: New file. Move original fringe related declarations | |
8199 | and code from dispextern.h and xdisp.c here. | |
8200 | Rework code to support user defined fringe bitmaps, redefining | |
8201 | standard bitmaps, ability to overlay user defined bitmap with | |
8202 | overlay arrow bitmap, and add faces to bitmaps. | |
8203 | (Voverflow_newline_into_fringe): Declare here. | |
8204 | (enum fringe_bitmap_align): New enum. | |
8205 | (..._bits): All bitmaps are now defined without bitswapping; that | |
8206 | is now done in init_fringe_once (if necessary). | |
8207 | (standard_bitmaps): New array with specifications for the | |
8208 | standard fringe bitmaps. | |
8209 | (fringe_faces): New array. | |
8210 | (valid_fringe_bitmap_id_p): New function. | |
8211 | (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
8212 | (draw_fringe_bitmap): New function which draws fringe bitmap, | |
8213 | possibly overlaying bitmap with cursor in right fringe or the | |
8214 | overlay arrow in the left fringe. | |
8215 | (update_window_fringes): Do not handle overlay arrow here. | |
8216 | Compare and copy fringe bitmap faces. | |
8217 | (init_fringe_bitmap): New function. | |
8218 | (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
8219 | define and destroy user defined fringe bitmaps. | |
8220 | (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
8221 | (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
8222 | (syms_of_fringe): New function. Defsubr new DEFUNs. | |
8223 | DEFVAR_LISP Voverflow_newline_into_fringe. | |
8224 | (init_fringe_once, init_fringe): New functions. | |
8225 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
4c1947b9 | 8226 | |
82722af3 KS |
8227 | * Makefile.in (obj): Add fringe.o. |
8228 | (fringe.o): New dependencies. | |
8229 | ||
8230 | * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
8231 | bits allocated to hold a fringe number. Increase number of bits | |
8232 | from 4 to 8 to allow user defined fringe bitmaps. | |
8233 | (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
8234 | left_user_fringe_face_id, right_user_fringe_bitmap, | |
8235 | right_user_fringe_face_id. | |
8236 | (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
8237 | Move to new file fringe.c. | |
8238 | (MAX_FRINGE_BITMAPS): Define here. | |
8239 | (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
8240 | and overlay_p. Change member which to int. | |
8241 | (struct redisplay_interface): New members define_fringe_bitmap | |
8242 | and destroy_fringe_bitmap. | |
8243 | (valid_fringe_bitmap_id_p): Add prototype. | |
8244 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
8245 | ||
8246 | * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
8247 | arrows. | |
8248 | (update_frame): Do flush_display if force_flush_display_p to | |
8249 | ensure display (specifically fringes) are updated in a timely | |
8250 | manner when resizing the frame by dragging the mouse. | |
8251 | (update_window_line): Update row if overlay arrow changed. | |
8252 | (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
8253 | or overlay arrow changed. | |
8254 | ||
8255 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
8256 | syms_of_fringe, and init_fringe. | |
8257 | ||
8258 | * frame.h (struct frame): New member force_flush_display_p. | |
8259 | ||
8260 | * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
8261 | Add prototypes. | |
8262 | ||
a3993cc8 | 8263 | * macterm.c (mac_draw_bitmap): Add overlay_p arg. |
a64387ee | 8264 | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; |
a3993cc8 KS |
8265 | thanks to YAMAMOTO Mitsuharu for advice on how to do this. |
8266 | Use cursor color for displaying cursor in fringe. | |
82722af3 KS |
8267 | (x_redisplay_interface): Add null handlers for |
8268 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
8269 | ||
8270 | * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
8271 | xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
8272 | for displaying cursor in fringe. | |
8273 | (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
8274 | specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
8275 | (w32_redisplay_interface): Add them to redisplay_interface. | |
8276 | (w32_term_init): Call w32_init_fringe instead of explicitly | |
8277 | defining fringe bitmaps in fringe_bmp array. | |
8278 | (x_delete_display): Call w32_reset_fringes instead of explicitly | |
8279 | destroying fringe bitmaps in fringe_bmp array. | |
8280 | ||
8281 | * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
8282 | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
8283 | (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
8284 | (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
8285 | (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
8286 | (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
8287 | (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
8288 | Move fringe handling vars and code to new file fringe.c. | |
8289 | (handle_display_prop): Handle left-fringe and right-fringe | |
8290 | display properties; store user fringe bitmaps in iterator. | |
8291 | (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
8292 | (clear_garbaged_frames): Set force_flush_display_p if resized. | |
8293 | (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
8294 | (display_line): Handle cursor in fringe at eob. | |
8295 | (display_line): Set row user fringe bitmaps from iterator. | |
8296 | ||
8297 | * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
8298 | Use cursor color for displaying cursor in fringe. | |
8299 | (x_redisplay_interface): Add null handlers for | |
8300 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
8301 | ||
030400eb JD |
8302 | 2004-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8303 | ||
8304 | * macfns.c (Fx_change_window_property): Make doc string and | |
8305 | parameters same as for X version. | |
8306 | ||
8307 | * w32fns.c (Fx_change_window_property): Ditto. | |
8308 | ||
3af55251 KS |
8309 | 2004-02-07 Kim F. Storm <storm@cua.dk> |
8310 | ||
ec110e9e KS |
8311 | * xdisp.c (hscroll_window_tree): Position cursor near to right |
8312 | margin in hscrolled window when jumping to end of line (rather | |
8313 | than centering cursor). | |
8314 | ||
3af55251 KS |
8315 | * process.c (wait_reading_process_input): Don't do adaptive read |
8316 | buffering if waiting for a specific process. | |
8317 | ||
b0c138ce LT |
8318 | 2004-02-05 Luc Teirlinck <teirllm@auburn.edu> |
8319 | ||
8320 | * minibuf.c (Fminibufferp, Fread_from_minibuffer) | |
8321 | (Fread_minibuffer, Feval_minibuffer) | |
8322 | (Fread_string, Fread_no_blanks_input) | |
8323 | (Fcompleting_read): Doc fixes. | |
8324 | (syms_of_minibuf): Doc fixes for minibuffer-completion-table and | |
8325 | completion-regexp-list. Define Qcase_fold_search and staticpro it. | |
8326 | (read_minibuf): Fix initial comment. | |
8327 | (Ftry_completion, Fall_completions, Ftest_completion): Bind | |
e8eeaed8 | 8328 | case-fold-search to the value of completion-ignore-case when |
b0c138ce LT |
8329 | checking completion-regexp-list. |
8330 | (Fdisplay_completion_list): Make it handle arguments that are | |
8331 | symbols. Doc fix. | |
8332 | ||
9676f5ad | 8333 | 2004-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
64d1e373 | 8334 | |
9676f5ad | 8335 | * xterm.h: Add declaration of free_frame_menubar. |
64d1e373 | 8336 | |
9676f5ad JD |
8337 | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. |
8338 | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. | |
b0c138ce | 8339 | (Fx_change_window_property): Add declaration of parameters type and |
9676f5ad | 8340 | format. Remove unused variable cons. |
5b698285 JD |
8341 | |
8342 | * xselect.c: Include stdio,h. | |
8343 | ||
fc1d15f6 KH |
8344 | 2004-02-05 Kenichi Handa <handa@m17n.org> |
8345 | ||
ebaff4af KH |
8346 | * fns.c (Fset_char_table_range): Fix previous change. |
8347 | ||
fc1d15f6 KH |
8348 | * buffer.c (Fset_buffer_multibyte): Fix docstring. |
8349 | ||
9676f5ad JD |
8350 | 2004-02-04 Luc Teirlinck <teirllm@auburn.edu> |
8351 | ||
8352 | * editfns.c (Fchar_after, Fchar_before): Doc fixes. | |
8353 | ||
da75761f SM |
8354 | 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca> |
8355 | ||
8356 | * keymap.c (Vmouse_events): Rename from Vmenu_events. | |
8357 | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. | |
8358 | ||
13c5d120 KH |
8359 | 2004-02-04 Kenichi Handa <handa@m17n.org> |
8360 | ||
8361 | * fns.c (Fset_char_table_range): Handle charsets ascii, | |
8362 | eight-bit-control, and eight-bit-graphic correctly. | |
8363 | ||
2883d842 JR |
8364 | 2004-02-03 Jason Rumney <jasonr@gnu.org> |
8365 | ||
8366 | * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. | |
8367 | ||
8368 | * w32fns.c (x_to_w32_font): Likewise. | |
8369 | ||
69eff41f JD |
8370 | 2004-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8371 | ||
8372 | * xterm.h: Add x_handle_dnd_message, x_check_property_data, | |
8373 | x_fill_property_data, x_property_data_to_lisp and check_x_display_info. | |
8374 | ||
8375 | * xterm.c (handle_one_xevent): Call x_handle_dnd_message for | |
8376 | ClientMessages. | |
8377 | ||
8378 | * xselect.c: Include termhooks.h and X11/Xproto.h | |
8379 | (x_check_property_data, x_fill_property_data) | |
8380 | (x_property_data_to_lisp, mouse_position_for_drop) | |
8381 | (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. | |
da75761f | 8382 | (Fx_send_client_event): Move here from xfns.c. |
69eff41f JD |
8383 | (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. |
8384 | ||
da75761f | 8385 | * xfns.c (x-send-client-message): Move to xselect.c |
69eff41f JD |
8386 | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and |
8387 | OUTER_P. | |
8388 | (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, | |
8389 | VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp | |
8390 | if vector_ret_p is true. | |
8391 | (syms_of_xfns): Sx_send_client_message moved to xselect.c. | |
69eff41f | 8392 | |
a6eeaa81 | 8393 | 2004-02-02 Eli Zaretskii <eliz@gnu.org> |
dcdbbb5d EZ |
8394 | |
8395 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | |
8396 | basename of FILE relative to it, not FILE itself. | |
8397 | ||
09721b31 KH |
8398 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
8399 | ||
8400 | * coding.c (coding_restore_composition): Check invalid | |
8401 | composition data more rigidly. | |
8402 | ||
eb996101 LT |
8403 | 2004-01-30 Luc Teirlinck <teirllm@auburn.edu> |
8404 | ||
8405 | * fileio.c (Fread_file_name_internal): Correctly handle the case | |
8406 | where insert-default-directory is nil. | |
8407 | (Fread_file_name): Always return an empty string if the user exits | |
8408 | with an empty minibuffer. Adapt the docstring accordingly. | |
8409 | (syms_of_fileio): Adapt the docstring of insert-default-directory | |
8410 | to the change in Fread_file_name. | |
8411 | ||
a6eeaa81 | 8412 | 2004-01-29 Eli Zaretskii <eliz@gnu.org> |
a0367d42 EZ |
8413 | |
8414 | * alloca.c [!alloca]: Fix the prototype for xfree. | |
8415 | ||
13f52ed8 KH |
8416 | 2004-01-29 Kenichi Handa <handa@m17n.org> |
8417 | ||
8418 | * fns.c (string_char_to_byte): Optimize for ASCII only string. | |
8419 | (string_byte_to_char): Likewise. | |
8420 | ||
d57625a0 JR |
8421 | 2004-01-28 Peter Runestig <peter@runestig.com> |
8422 | ||
8423 | * makefile.w32-in, w32fns.c: Add `default-printer-name' function. | |
8424 | ||
a64387ee | 8425 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
911c78b4 ST |
8426 | |
8427 | * unexmacosx.c (unexec_copy): Do not copy more than was | |
8428 | requested to prevent overwriting during unexec. | |
8429 | ||
eb37b8fd JD |
8430 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8431 | ||
ce38070a JD |
8432 | * process.c (sigchld_handler): Add comment about not calling malloc. |
8433 | ||
eb37b8fd JD |
8434 | * process.h: Add extern to synch_process_termsig. |
8435 | ||
a64387ee | 8436 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
21a3e657 | 8437 | |
da75761f SM |
8438 | * macterm.c (make_mac_frame, make_mac_terminal_frame): |
8439 | Move setting of scroll bars from make_mac_frame to | |
8440 | make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. | |
21a3e657 | 8441 | |
d62a265d RS |
8442 | 2004-01-26 Richard M. Stallman <rms@gnu.org> |
8443 | ||
8444 | * search.c (Freplace_match): Handle nonexistent | |
8445 | back-references properly. | |
8446 | ||
8447 | 2004-01-03 Richard M. Stallman <rms@gnu.org> | |
8448 | ||
8449 | * window.c (decode_any_window): New function. | |
8450 | (Fwindow_height, Fwindow_width, Fwindow_edges) | |
8451 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
8452 | (Fwindow_inside_pixel_edges): Use decode_any_window. | |
8453 | ||
ff236419 JD |
8454 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8455 | ||
8456 | * process.h: synch_process_termsig new variable. | |
8457 | ||
8458 | * callproc.c: Define synch_process_termsig. | |
8459 | (Fcall_process): Initiate synch_process_termsig to zero and | |
8460 | check if non-zero and get signal name after subprocess has ended. | |
8461 | ||
8462 | * process.c (sigchld_handler): Set synch_process_termsig | |
8463 | if terminated by a signal. synch_process_death setting removed. | |
8464 | ||
8465 | * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. | |
8466 | ||
41b867ea AS |
8467 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
8468 | ||
8469 | * print.c (print_preprocess): Declare size as EMACS_INT to not | |
8470 | lose bits. | |
8471 | (print_object): Likewise. | |
8472 | * alloc.c (Fpurecopy): Likewise. | |
8473 | ||
a08084ff LT |
8474 | 2004-01-25 Luc Teirlinck <teirllm@auburn.edu> |
8475 | ||
8476 | * window.c (Fwindow_minibuffer_p): Doc fix. | |
8477 | ||
b19ac475 JY |
8478 | 2004-01-24 Jonathan Yavner <jyavner@member.fsf.org> |
8479 | ||
8480 | * editfns.c (Fformat): Make both passes accept the same set of flags. | |
8481 | ||
fe905025 KH |
8482 | 2004-01-23 Kenichi Handa <handa@m17n.org> |
8483 | ||
8484 | * fns.c (Fmd5): If OBJECT is a buffer different from the current | |
8485 | one, set buffer to OBJECT temporarily. | |
8486 | ||
438fc6c0 SM |
8487 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
8488 | ||
455316e2 SM |
8489 | * keyboard.c (kbd_buffer_gcpro): Remove. |
8490 | (kbd_buffer_store_event, clear_event, Fdiscard_input) | |
8491 | (stuff_buffered_input, init_keyboard, syms_of_keyboard): | |
8492 | Don't initialize and/or maintain the variable any more. It was made | |
8493 | redundant by my commit of 2003-06-15. | |
8494 | ||
438fc6c0 SM |
8495 | * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. |
8496 | ||
5335a4ee JD |
8497 | 2004-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8498 | ||
8499 | * lisp.h: Add undef DECL_ALIGN. | |
8500 | ||
dcdaeebc SM |
8501 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
8502 | ||
8503 | * process.c (wait_reading_process_input) [SYNC_INPUT]: | |
8504 | Check interrupt_input_pending explicitly. | |
8505 | ||
8506 | * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. | |
8507 | ||
8508 | * keyboard.c (handle_async_input): New fun, | |
8509 | extracted from input_available_signal. | |
8510 | (input_available_signal, reinvoke_input_signal): Use it. | |
8511 | ||
9076a823 SM |
8512 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
8513 | ||
d7107586 SM |
8514 | * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. |
8515 | ||
8516 | * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value | |
8517 | manipulation macros for when tags are in the lower bits. | |
8518 | (struct Lisp_Free) [USE_LSB_TAG]: Add padding. | |
8519 | (DECL_ALIGN): New macro. | |
8520 | (DEFUN): Use it. | |
8521 | ||
8522 | * lisp.h [ENABLE_CHECKING]: Don't force union type. | |
8523 | ||
8524 | * s/darwin.h (__attribute__): Remove outdated workaround. | |
8525 | ||
8526 | * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. | |
8527 | ||
8528 | * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: | |
8529 | Don't check range of malloc address. | |
8530 | (pure_alloc) [USE_LSB_TAG]: Enforce alignment. | |
8531 | ||
9076a823 SM |
8532 | * process.c (wait_reading_process_input): Lisp_Object/int mixup. |
8533 | ||
8534 | * dired.c (Ffile_attributes): Lisp_Object/int mixup. | |
8535 | ||
ba029065 KH |
8536 | 2004-01-19 Kenichi Handa <handa@m17n.org> |
8537 | ||
8538 | * fontset.c (fontset_font_pattern): Fix previous change. | |
8539 | ||
7af0e8d7 MB |
8540 | 2004-01-16 Miles Bader <miles@gnu.ai.mit.edu> |
8541 | ||
8542 | * xdisp.c (Voverflow_newline_into_fringe) | |
8543 | (move_it_in_display_line_to, redisplay_internal) | |
8544 | (update_window_fringes, redisplay_window, display_line, window): | |
8545 | Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so | |
8546 | that it compiles without a window-system. | |
8547 | * dispnew.c (direct_output_for_insert, update_window): Likewise. | |
8548 | ||
77a9cf69 KS |
8549 | 2004-01-16 Kim F. Storm <storm@cua.dk> |
8550 | ||
8551 | * buffer.h (struct buffer): New member indicate_buffer_boundaries. | |
8552 | ||
a64387ee | 8553 | * buffer.c (init_buffer_once): Set buffer_defaults and |
77a9cf69 KS |
8554 | buffer_local_flags for indicate_buffer_boundaries. |
8555 | (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro | |
8556 | default- variable for it. | |
8557 | ||
8558 | * dispextern.h (struct glyph_row): New members left_fringe_bitmap, | |
8559 | right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. | |
d7107586 | 8560 | New members exact_window_width_line_p and cursor_in_fringe_p for |
77a9cf69 KS |
8561 | overflowing newlines into right fringe. |
8562 | New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, | |
8563 | and indicate_bottom_line_p for buffer boundaries and scrolling. | |
8564 | (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, | |
8565 | FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, | |
8566 | HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, | |
8567 | and HOLLOW_SQUARE_BITMAP. | |
8568 | (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): | |
8569 | Add prototypes. | |
8570 | ||
8571 | * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps | |
8572 | instead of related indicator fields. | |
8573 | Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. | |
8574 | (direct_output_for_insert): Handle exact width lines like | |
8575 | contined lines. Call update_window_fringes. | |
8576 | (update_window): Call update_window_fringes. | |
8577 | (scrolling_window): Don't skip desired rows with changed bitmaps. | |
8578 | Check if fringe bitmaps changes when assigning scrolled rows. | |
8579 | ||
8580 | * xdisp.c (Voverflow_newline_into_fringe): New variable. | |
8581 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. | |
8582 | (move_it_in_display_line_to): Overflow newline into fringe for | |
8583 | rows that are exactly as wide as the window. | |
8584 | (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) | |
8585 | (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) | |
8586 | (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. | |
8587 | (fringe_bitmaps): Add new bitmaps. | |
8588 | (draw_fringe_bitmap): Make extern. Remove WHICH arg. | |
8589 | Select proper bitmap for cursor in fringe when appropriate. | |
8590 | Handle alignment of bitmap to top or bottom of row. | |
8591 | (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now | |
8592 | done by update_window_fringes. | |
8593 | (update_window_fringes, draw_window_fringes): New functions. | |
8594 | (redisplay_internal): Call update_window_fringes in case only | |
8595 | cursor row is updated. | |
8596 | (redisplay_window): Call update_window_fringes. | |
8597 | Explicitly call draw_window_fringes if redisplay was done using | |
8598 | the current matrix or the overlay arrow is in the window. | |
8599 | (try_window_reusing_current_matrix): Mark scrolled rows for | |
8600 | fringe update (to update buffer-boundaries / scrolling icons). | |
8601 | (find_last_unchanged_at_beg_row): Handle exact width lines line | |
8602 | continued lines. | |
8603 | (display_line): Overflow newline into fringe for rows that are | |
8604 | exactly as wide as the window. Don't append space for newline | |
d7107586 | 8605 | in this case. |
77a9cf69 KS |
8606 | (notice_overwritten_cursor): Explicitly clear cursor bitmap |
8607 | in fringe as if it had been overwritten. | |
8608 | (erase_phys_cursor): Erase cursor bitmap in fringe. | |
d7107586 | 8609 | (syms_of_xdisp): Mark show-trailing-whitespace and |
77a9cf69 KS |
8610 | void-text-area-pointer as user options. |
8611 | DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. | |
d7107586 | 8612 | |
77a9cf69 KS |
8613 | * xterm.c (x_update_window_end): Call draw_window_fringes. |
8614 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
8615 | in row instead of actually drawing fringe bitmaps. | |
8616 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
8617 | (x_draw_window_cursor): Draw cursor in fringe. | |
8618 | ||
8619 | * w32term.c (x_update_window_end): Call draw_window_fringes. | |
8620 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
8621 | in row instead of actually drawing fringe bitmaps. | |
8622 | (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
8623 | (w32_draw_window_cursor): Draw cursor in fringe. | |
8624 | ||
8625 | * macterm.c (x_update_window_end): Call draw_window_fringes. | |
8626 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
8627 | in row instead of actually drawing fringe bitmaps. | |
8628 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
8629 | (mac_draw_window_cursor): Draw cursor in fringe. | |
8630 | ||
a633a954 JD |
8631 | 2004-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8632 | ||
8633 | * xterm.c (handle_one_xevent): Don't handle characters that are part | |
8634 | of an old style (XLookupString) compose sequence. | |
8635 | ||
80460525 KH |
8636 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
8637 | ||
8638 | * search.c (Freplace_match): Use make_multibyte_string or | |
8639 | make_unibyte_string according to the buffer multibyteness. | |
8640 | ||
7fc34f85 SM |
8641 | 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
8642 | ||
8643 | * alloc.c (struct interval_block, struct string_block) | |
8644 | (struct symbol_block, struct marker_block, live_string_p) | |
8645 | (live_cons_p, live_symbol_p, live_float_p, live_misc_p): | |
8646 | Better preserve alignment for objects in blocks. | |
8647 | (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. | |
8648 | ||
8649 | * lread.c (defvar_per_buffer): Remove dead declaration. | |
8650 | ||
8651 | * macterm.c (do_check_ram_size): Don't hardcode the lisp address | |
8652 | space size. | |
8653 | ||
66070bd1 JD |
8654 | 2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8655 | ||
8656 | * xmenu.c (popup_get_selection): Check new parameter down_on_keypress | |
8657 | if a key press should pop down. Only pop down if a key is pressed | |
8658 | outside the menu/dialog. | |
8659 | (create_and_show_popup_menu): Pass 0 for down_on_keypress to | |
8660 | popup_get_selection. | |
8661 | (create_and_show_dialog): Pass 1 for down_on_keypress to | |
8662 | popup_get_selection. | |
8663 | ||
de7515d6 JD |
8664 | 2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8665 | ||
8666 | * alloc.c (allocate_vectorlike): Surround calls to mallopt with | |
8667 | BLOCK/UNBLOCK_INPUT. | |
8668 | ||
160b1b50 JD |
8669 | 2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8670 | ||
8671 | * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are | |
8672 | specified. | |
8673 | ||
3a9f36e6 KH |
8674 | 2004-01-08 Kenichi Handa <handa@m17n.org> |
8675 | ||
8676 | * editfns.c (Fformat): Fix '&' to '&&'. | |
8677 | ||
3803eb32 AS |
8678 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
8679 | ||
8680 | * print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask | |
8681 | size if PSEUDOVECTOR_FLAG is set. | |
8682 | ||
9da88f37 KH |
8683 | 2004-01-07 Kenichi Handa <handa@m17n.org> |
8684 | ||
74ac5074 KH |
8685 | * charset.c (Fdeclare_equiv_charset): Fix docstring. |
8686 | ||
9da88f37 KH |
8687 | * fontset.c (fontset_ref_via_base): Fix previous change. |
8688 | ||
05faee07 KS |
8689 | 2004-01-07 Kim F. Storm <storm@cua.dk> |
8690 | ||
8691 | * process.c (read_process_output): Only activate adaptive | |
8692 | buffering if we read less than 256 bytes at a time. | |
8693 | ||
634910c8 KS |
8694 | 2004-01-06 Kim F. Storm <storm@cua.dk> |
8695 | ||
8696 | * dispnew.c (buffer_posn_from_coords): Return both buffer/string | |
8697 | object and image object. Return glyph width and height. | |
8698 | (mode_line_string, marginal_area_string): Ditto. | |
8699 | ||
8700 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
8701 | (marginal_area_string): Fix prototypes. | |
8702 | ||
8703 | * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from | |
f63fd14e | 8704 | POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. |
634910c8 KS |
8705 | (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. |
8706 | ||
8707 | * keyboard.c (make_lispy_position): Use modified mode_line_string, | |
8708 | buffer_posn_from_coords, and marginal_area_string functions to | |
8709 | include both string object and image object in the lispy position. | |
8710 | Also add actual glyph width and height to position. | |
8711 | (read_key_sequence): Use real buffer position from mouse | |
8712 | event to find keymap property even when click is in marginal area. | |
8713 | ||
8714 | * xdisp.c (note_mode_line_or_margin_highlight): Use modified | |
8715 | mode_line_string and marginal_area_string functions to handle | |
8716 | both string object and image object properties. | |
d7107586 | 8717 | |
57951c2e AS |
8718 | 2004-01-06 Andreas Schwab <schwab@suse.de> |
8719 | ||
8720 | * syntax.c (skip_chars): Treat '-' at end of string as ordinary | |
8721 | character. | |
8722 | ||
181e6a61 AS |
8723 | 2004-01-02 Andreas Schwab <schwab@suse.de> |
8724 | ||
d7107586 SM |
8725 | * macterm.c (emacs_options, x_initialized, same_x_server): |
8726 | Remove unused (and duplicated) definitions. | |
181e6a61 | 8727 | |
31e0fbdd KS |
8728 | 2004-01-02 Kim F. Storm <storm@cua.dk> |
8729 | ||
8730 | * process.h (struct Lisp_Process): New members for adaptive read | |
8731 | buffering: adaptive_read_buffering, read_output_delay, and | |
8732 | read_output_skip. | |
8733 | ||
8734 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | |
8735 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | |
8736 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | |
8737 | (process_output_delay_count, process_output_skip): New vars. | |
8738 | (Vprocess_adaptive_read_buffering): New variable. | |
8739 | (make_process): Initialize adaptive read buffering members. | |
8740 | (Fstart_process): Set adaptive_read_buffering member. | |
8741 | (deactivate_process): Cleanup adaptive read buffering. | |
8742 | (wait_reading_process_input): Temporarily omit delayed | |
8743 | subprocesses from the set of file descriptors to read from; | |
8744 | adjust the select timeout if we skipped any subprocesses. | |
8745 | (read_process_output): Increase adaptive read buffering delay if | |
8746 | we read less than a full buffer; reduce delay when we read a | |
8747 | full buffer. | |
8748 | (send_process): Simplify using local Lisp_Process var. | |
8749 | Reset adaptive read buffering delay after write. | |
8750 | (init_process): Initialize process_output_delay_count and | |
8751 | process_output_skip. | |
8752 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | |
8753 | ||
68c6a789 JR |
8754 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
8755 | ||
d7107586 | 8756 | * w32term.c (w32_text_out): Use s->font, for consistency with callers. |
68c6a789 | 8757 | |
3f70fe82 LT |
8758 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
8759 | ||
8760 | * print.c (Ferror_message_string): Add hyperlink in the docstring | |
8761 | to the definition of `signal' in the Elisp manual. | |
8762 | * eval.c (Fsignal): Ditto. | |
8763 | ||
b6189c3b | 8764 | 2003-12-29 James Clark <jjc@jclark.com> |
c2be49ed EZ |
8765 | |
8766 | * fns.c (internal_equal): Return t for two NaN arguments. | |
8767 | ||
7abd90ea RS |
8768 | 2003-12-29 Richard M. Stallman <rms@gnu.org> |
8769 | ||
8770 | * data.c (store_symval_forwarding): Handle setting | |
8771 | default-fill-column, etc., by changing the value in | |
8772 | buffers that use the default. | |
8773 | ||
8774 | * minibuf.c (Fset_minibuffer_window): Doc fix. | |
8775 | ||
8776 | * fileio.c (choose_write_coding_system): Ignore auto_saving | |
8777 | if using the visited file for auto saves. | |
8778 | (Fwrite_region): Don't update SAVE_MODIFF | |
8779 | if auto-saving in visited file. | |
8780 | ||
3e7cfcdc KH |
8781 | 2003-12-29 Kenichi Handa <handa@m17n.org> |
8782 | ||
8783 | * dispextern.h (face_font_available_p): Extern it. | |
8784 | ||
8785 | * fontset.c (Voverriding_fontspec_alist): New variable. | |
8786 | (lookup_overriding_fontspec): New function. | |
d7107586 | 8787 | (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. |
3e7cfcdc KH |
8788 | (fontset_font_pattern): Likewise. |
8789 | (regulalize_fontname): New function. | |
8790 | (Fset_fontset_font): Call regulalize_fontname. | |
8791 | (Fset_overriding_fontspec_internal): New function. | |
d7107586 SM |
8792 | (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. |
8793 | Defsubr Sset_overriding_fontspec_internal. | |
3e7cfcdc KH |
8794 | |
8795 | * xfaces.c (face_font_available_p): New function. | |
8796 | ||
7abd90ea RS |
8797 | 2003-12-28 Richard M. Stallman <rms@gnu.org> |
8798 | ||
8799 | * buffer.c (Fother_buffer): Don't crash if BUF is nil | |
8800 | or if its name is nil. | |
8801 | ||
8802 | * buffer.c (Fkill_buffer): Don't delete auto-save file | |
8803 | if it's the same as the visited file. | |
8804 | ||
de1d1a40 LT |
8805 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> |
8806 | ||
8807 | * coding.c (Fcheck_coding_system): Doc fix. | |
8808 | ||
204fb75e KS |
8809 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
8810 | ||
8811 | * Makefile.in (eval.o): Depend on dispextern.h. | |
8812 | ||
8813 | * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for | |
8814 | image glyph using image's ascent. | |
8815 | (mode_line_string): Return image glyph as object clicked on. | |
8816 | Adjust y0 for image glyph using image's ascent. | |
8817 | ||
8818 | * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. | |
8819 | (struct glyph): New members, ascent and descent. Used to save | |
8820 | this glyph's ascent and descent, instead of having. | |
8821 | (struct glyph): Declare member face_id using FACE_ID_BITS. | |
8822 | (find_hot_spot): Add prototype. | |
8823 | ||
8824 | * keyboard.c (Qimage): Remove extern (now in lisp.h). | |
8825 | (QCmap): Declare extern. | |
8826 | (make_lispy_position): When position is inside image hot-spot, | |
8827 | use hot-spot element's id as posn element. | |
8828 | ||
8829 | * lisp.h (IMAGEP): New macro to test for image object type. | |
8830 | (Qimage): Declare extern. | |
8831 | ||
8832 | * macfns.c (Qimage): Remove extern (now in lisp.h). | |
8833 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
8834 | ||
8835 | * macterm.c (Qface, Qmouse_face): Remove unused externs. | |
8836 | ||
8837 | * w32fns.c (Qimage): Remove extern (now in lisp.h). | |
8838 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
8839 | ||
8840 | * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. | |
8841 | ||
8842 | * w32term.c (Qface, Qmouse_face): Remove unused externs. | |
8843 | ||
8844 | * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for | |
8845 | pointer types. | |
8846 | (Qrelative_width, Qalign_to): Remove unused variables. | |
8847 | (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. | |
8848 | (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for | |
8849 | image maps. | |
d7107586 | 8850 | (x_y_to_hpos_vpos): Return glyph relative coordinates through |
204fb75e KS |
8851 | new dx and dy args. |
8852 | Remove buffer_only_p arg (always 0). Simplify code accordingly. | |
8853 | (get_glyph_string_clip_rect): Draw cursor using glyph's rather | |
8854 | than row's ascent and height, to get sensible height on tall rows. | |
8855 | (build_desired_tool_bar_string): Remove Qimage extern. | |
8856 | (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. | |
8857 | (produce_image_glyph): Adjust it.ascent to minimum row ascent if | |
8858 | image glyph is alone on the last line. | |
8859 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
d7107586 | 8860 | (append_stretch_glyph): Set glyph's ascent and descent. |
204fb75e | 8861 | (on_hot_spot_p): New function to check if position is inside an |
d7107586 | 8862 | rectangular, circular, or polygon-shaped image hot-spot, |
204fb75e KS |
8863 | (find_hot_spot): New function to search for image hot-spot. |
8864 | (Flookup_image_map): New defun to search for image hot-spot. | |
8865 | (define_frame_cursor1): New aux function to determine frame pointer. | |
8866 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
8867 | Handle `pointer' text property and :pointer image property to | |
8868 | control frame pointer shape. Detect image hot-spots for pointer | |
8869 | and help_echo properties. Use define_frame_cursor1. | |
8870 | (note_mouse_highlight): Use Vvoid_text_area_pointer. | |
f63fd14e | 8871 | (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables. |
204fb75e KS |
8872 | DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void. |
8873 | ||
8874 | * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. | |
8875 | ||
8876 | * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. | |
8877 | (Qimage): Remove extern (now in lisp.h). | |
8878 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
8879 | ||
8880 | * xmenu.c (show_help_event): Remove unused code. | |
8881 | ||
8882 | * xterm.c (Qface, Qmouse_face): Remove unused externs. | |
8883 | (x_draw_hollow_cursor): Draw cursor using glyph's rather than | |
8884 | row's ascent and descent, to get a sensible height on tall rows. | |
8885 | ||
fc052137 LT |
8886 | 2003-12-25 Luc Teirlinck <teirllm@auburn.edu> |
8887 | ||
8888 | * minibuf.c (Fcompleting_read): Undo previous change. | |
8889 | ||
a64387ee | 8890 | 2003-12-25 Lars Hansen <larsh@math.ku.dk> |
b9148500 LH |
8891 | |
8892 | * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): | |
8893 | Arguments GCPRO'ed in call to file name handler. | |
8894 | ||
56ffd194 TTN |
8895 | 2003-12-25 Thien-Thi Nguyen <ttn@gnu.org> |
8896 | ||
8897 | * termcap.c (tgetst1): Scan for "%pN"; if all | |
8898 | N are continuous in [1,9], remove all "%pN". | |
8899 | ||
5202d23d JD |
8900 | 2003-12-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8901 | ||
f26fab36 JD |
8902 | * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. |
8903 | ||
5202d23d JD |
8904 | * xfaces.c (lface_fully_specified_p): Take into account that |
8905 | MAC OS always have unspecified stipple. | |
8906 | ||
8babaa59 TTN |
8907 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
8908 | ||
8909 | * tparam.c (tparam1): Add handling for `%pN', which | |
8910 | means use param N for the next substitution. | |
8911 | ||
2d176448 TTN |
8912 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
8913 | ||
8914 | * xfaces.c (Fcolor_gray_p): Fix omission bug: | |
8915 | In case `frame' is nil, consult the selected frame. | |
8916 | (Fcolor_supported_p): Likewise. | |
8917 | ||
adb0708c LT |
8918 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
8919 | ||
000eeb15 LT |
8920 | * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): |
8921 | Doc fixes. | |
0dc72b11 LT |
8922 | |
8923 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | |
8924 | and an integer. Adapt the introductory comment accordingly. | |
adb0708c LT |
8925 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
8926 | Doc fix. | |
8927 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | |
8928 | read_minibuf. | |
8929 | (Fcompleting_read): Delete code moved into read_minibuf. | |
d7107586 | 8930 | (Ftest_completion): Make it handle obarrays and hash tables correctly. |
adb0708c | 8931 | |
2e4d132b KH |
8932 | 2003-12-03 Kenichi Handa <handa@m17n.org> |
8933 | ||
8934 | * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 | |
8935 | encoding sequence. | |
8936 | ||
3999c705 KH |
8937 | 2003-12-01 Kenichi Handa <handa@m17n.org> |
8938 | ||
8939 | * composite.c (syms_of_composite): Don't make the compostion hash | |
8940 | table week. | |
8941 | ||
d344ecbb LT |
8942 | 2003-11-30 Luc Teirlinck <teirllm@auburn.edu> |
8943 | ||
8944 | * intervals.h: Add EXFUN for Fget_char_property_and_overlay. | |
8945 | * textprop.c (Fget_char_property_and_overlay): New function. | |
8946 | (syms_of_textprop): Defsubr it. | |
8947 | ||
03d6484e JD |
8948 | 2003-11-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8949 | ||
019b1f0e JD |
8950 | * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM |
8951 | to compile on terminal configuration. | |
8952 | ||
03d6484e JD |
8953 | * fileio.c (Fread_file_name): Check use_file_dialog also before |
8954 | calling Fx_file_dialog. | |
8955 | ||
1d1c7e75 | 8956 | * fns.c (use_file_dialog): New variable. |
03d6484e JD |
8957 | (syms_of_fns): DEFVAR_BOOL use-file-dialog. |
8958 | ||
442d3fd0 KS |
8959 | 2003-11-29 Kim F. Storm <storm@cua.dk> |
8960 | ||
8961 | * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. | |
8962 | (syms_of_msdos): Don't intern and staticpro them. | |
8963 | ||
0f6a07a8 KS |
8964 | 2003-11-27 Kim F. Storm <storm@cua.dk> |
8965 | ||
8966 | * dispnew.c (buffer_posn_from_coords): Calculate and return pixel | |
8967 | coordinates relative to glyph at posn. If glyph is an image, | |
8968 | return that as object at posn. Callers changed. | |
8969 | (mode_line_string, marginal_area_string): Calculate and return | |
8970 | pixel coordinates relative to glyph. Callers changed. | |
8971 | ||
8972 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
8973 | (marginal_area_string): Fix prototypes. | |
8974 | (window_box_left_offset, window_box_right_offset): Add prototypes. | |
8975 | ||
8976 | * frame.h (get_specified_cursor_type, get_window_cursor_type): | |
8977 | Remove prototypes. | |
8978 | ||
8979 | * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. | |
8980 | ||
8981 | * keyboard.c (make_lispy_position): Add x and y coordinates | |
8982 | relative to the current glyph as 7th element of position. | |
8983 | If glyph is an image, return it in the object element. | |
8984 | (read_key_sequence): Skip checks for keymap property in cases | |
8985 | where POSN_STRING is not a string (e.g. an image). | |
8986 | ||
8987 | * xdisp.c (Vdisplay_pixels_per_inch): New variable. | |
8988 | (Vshow_text_cursor_in_void): New variable. | |
8989 | (glyph_to_pixel_coords): Don't use negative hpos. | |
8990 | (x_y_to_hpos_vpos): Fix for partially visible first glyph. | |
8991 | (append_stretch_glyph): Change ascent arg to be actual value | |
f63fd14e | 8992 | in pixels rather than ratio to height. Callers changed. |
0f6a07a8 KS |
8993 | (calc_pixel_width_or_height): New aux function, implementing |
8994 | pixel based artihmetic for glyph widths and heights. | |
8995 | (produce_stretch_glyph): Use calc_pixel_width_or_height for | |
8996 | :width, :height, :align-to, and :ascent, thus allowing these to | |
8997 | be specified in pixels as well as multiples of characters. | |
8998 | Don't produce stretch glyphs with zero width or height. | |
8999 | (get_specified_cursor_type): Declare static. | |
9000 | (get_window_cursor_type): Declare static. Add glyph arg to be | |
9001 | able to know when cursor is on an image; always substitute | |
9002 | hollow-box cursor for filled-box cursor on images, to avoid | |
9003 | negative images and flicker when blinking the cursor. | |
9004 | (display_and_set_cursor): Pass glyph to get_window_cursor_type. | |
9005 | (note_mode_line_or_margin_highlight): Use non-text cursor rather | |
9006 | than vertical scroll-bar cursor in display margins. | |
9007 | (note_mouse_highlight): Use non-text cursor rather than text | |
9008 | cursor in fringes and over images in the text area. | |
9009 | Use non-text cursor when mouse pointer is outside editable text, | |
9010 | i.e. in the void after end-of-line or end-of-buffer; this was | |
9011 | already done for W32, but is now standard for all systems -- | |
9012 | user can toggle show-text-cursor-in-void to get old behaviour. | |
9013 | (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and | |
9014 | Vdisplay_pixels_per_inch. | |
9015 | ||
00498bfc AS |
9016 | 2003-11-25 Andreas Schwab <schwab@suse.de> |
9017 | ||
9018 | * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as | |
9019 | EMACS_INT to not lose bits. | |
9020 | (Ffillarray): Don't set bits beyond the size of a bool vector. | |
9021 | ||
edaa824d KS |
9022 | 2003-11-25 Kim F. Storm <storm@cua.dk> |
9023 | ||
9024 | * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not | |
9025 | define this defun on systems that cannot use stderr as lvalue. | |
9026 | ||
74d6f539 GM |
9027 | 2003-11-24 Gerd Moellmann <gerd@gnu.org> |
9028 | ||
9029 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) | |
9030 | [__FreeBSD_version >= 500042]: Define as -znocombreloc because | |
9031 | ld's default is incompatible with unexec. | |
9032 | ||
6a1ff3ba KS |
9033 | 2003-11-23 Kim F. Storm <storm@cua.dk> |
9034 | ||
63dc7c6b KS |
9035 | * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. |
9036 | (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. | |
9037 | (Fforce_window_update): New defun. | |
9038 | (syms_of_window): Defsubr it. | |
9039 | (Fset_window_margins, Fset_window_fringes): Doc fix. | |
9040 | ||
6a1ff3ba KS |
9041 | * print.c (Fredirect_debugging_output): New defun. |
9042 | (syms_of_print): Defsubr it. | |
9043 | ||
aef109b7 LT |
9044 | 2003-11-22 Luc Teirlinck <teirllm@auburn.edu> |
9045 | ||
9046 | * fns.c (Fset_char_table_parent): Doc fix. | |
9047 | ||
6a1ff3ba | 9048 | 2003-11-22 Kim F. Storm <storm@cua.dk> |
63ccbe21 KS |
9049 | |
9050 | * dispnew.c (buffer_posn_from_coords): Return actual row/column | |
9051 | for glyph clicked on, rather than (unused) pixel positions. | |
9052 | (mode_line_string, marginal_area_string): Change X and Y args to | |
9053 | pointers for returning actual row/column for glyph clicked on. | |
9054 | Simplify and optimize loops. | |
9055 | ||
aef109b7 LT |
9056 | * dispextern.h (mode_line_string, marginal_area_string): |
9057 | Update prototypes. | |
63ccbe21 KS |
9058 | |
9059 | * keyboard.c (make_lispy_position): New function for generating | |
9060 | mouse click positions from frame and pixel coordinates. | |
9061 | Enhanced to return buffer position and actual row/column for | |
9062 | events outside the text area using updated mode_line_string and | |
9063 | marginal_area_string functions. | |
9064 | Return left-fringe and right-fringe clicks as such, rather than | |
9065 | clicks in text area. | |
9066 | (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call | |
9067 | pixel_to_glyph_coords, as we never use the results. | |
9068 | (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, | |
9069 | WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. | |
9070 | Eliminate unused code in WHEEL_EVENT handling. | |
9071 | (make_lispy_movement): Use make_lispy_position. | |
9072 | ||
9073 | * window.c (coordinates_in_window): Remove redundant tests. | |
9074 | Fix returned X pixel value for left-margin. | |
9075 | ||
9076 | * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new | |
9077 | mode_line_string and marginal_area_string parameters. | |
9078 | ||
a64387ee | 9079 | 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
930a9995 | 9080 | |
d7107586 SM |
9081 | * w32.c (struct the_group, getgrgid): Add. |
9082 | * mac.c (struct my_group, getgrgid): Add. | |
aef109b7 | 9083 | |
3dbf3426 LT |
9084 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
9085 | ||
9086 | * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. | |
9087 | ||
cae8ddbb | 9088 | 2003-11-21 Lars Hansen <larsh@math.ku.dk> |
ded4064f | 9089 | |
d7107586 SM |
9090 | * dired.c (Ffile_attributes): Add parameter ID-FORMAT and |
9091 | include in call to file name handler. Optionally translate numeric | |
9092 | UID and GID to strings. Update docstring. | |
9093 | (directory_files_internal): Add parameter ID-FORMAT. | |
9094 | (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and | |
9095 | include in call to file name handler and call to | |
9096 | directory_files_internal. Update Docstring. | |
9097 | (Fdirectory_files): Add dummy parameter in call to | |
9098 | directory_files_internal. | |
9099 | * lisp.h (Qinteger): Add. | |
9100 | (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. | |
9101 | (Ffile_attributes): Add parameter. | |
9102 | * data.c (Qinteger): Export. | |
cae8ddbb | 9103 | |
2550b848 LT |
9104 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
9105 | ||
3dbf3426 | 9106 | * fns.c (Freverse, Fnreverse): Doc fixes. |
2550b848 | 9107 | |
88380018 KS |
9108 | 2003-11-19 Kim F. Storm <storm@cua.dk> |
9109 | ||
9110 | * xdisp.c (init_iterator): Initialize it->start to position | |
9111 | before reseating (in case start position is invisible). | |
9112 | (init_to_row_start): Set it->start to row-start. | |
9113 | (redisplay_window): Accept optional_new_start if start position | |
9114 | is invisible (in which case IT_CHARPOS overshoots PT). | |
9115 | (display_line): Setup row->start from it->start (rather than | |
9116 | it->current which is wrong if first char on line is invisible). | |
9117 | When done, reseat it->start to it->current (= start of next row). | |
9118 | (expose_area): Fix exposure of text area when first char (e.g. TAB) | |
9119 | is only partially visible. | |
9120 | ||
9121 | * dispextern.h (struct it): New member start. | |
9122 | ||
854c1a59 SM |
9123 | 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
9124 | ||
455316e2 SM |
9125 | * alloc.c (make_float, Fcons): Clear the markbit at init time. |
9126 | (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment | |
9127 | of block_index outside of the macro call. | |
9128 | (Fgarbage_collect): Remove null code. | |
9129 | ||
9130 | * m/amdx86-64.h: Don't redefine XPNTR. | |
9131 | ||
854c1a59 SM |
9132 | * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
9133 | of VALMASK. | |
9134 | ||
9135 | * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) | |
9136 | (sxhash_string, sxhash): Use INTMASK instead of VALMASK. | |
9137 | (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. | |
9138 | ||
9139 | * lisp.h (VALMASK): Only define for non-union type. | |
9140 | (MARKBIT): Remove. | |
9141 | (ARRAY_MARK_FLAG): Use previous value of MARKBIT. | |
9142 | (XTYPE): Define unconditionally. | |
9143 | (XSETTYPE): Remove one more remnant. | |
9144 | (EQ): Define differently for the union and non-union cases. | |
9145 | (INTMASK): New bit mask. | |
9146 | (struct Lisp_Marker): Move down to prepare for upcoming patch. | |
9147 | (GC_EQ): Delegate to EQ. | |
9148 | ||
9149 | * coding.c (coding_restore_composition): Lisp_Object/int mixup. | |
9150 | ||
a0c6ef2d JD |
9151 | 2003-11-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9152 | ||
9153 | * xterm.c (x_window_to_scroll_bar): Move check of display to | |
9154 | where window_id is compared. | |
9155 | ||
859492c4 KS |
9156 | 2003-11-17 Kim F. Storm <storm@cua.dk> |
9157 | ||
9158 | * dispextern.h (struct it): New member first_vpos. | |
9159 | ||
9160 | * xdisp.c (start_display): Set it->first_vpos. | |
9161 | (try_window_id): Use first_vpos to start display in first _text_ | |
9162 | line if no reusable lines at start of window with header line. | |
9163 | ||
810f2256 JD |
9164 | 2003-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9165 | ||
7c402969 | 9166 | * w32fns.c (XPutPixel): |
854c1a59 SM |
9167 | * w32bdf.c (w32_init_bdf_font): |
9168 | * sunfns.c (sel_read): | |
9169 | * process.c (Fmake_network_process): | |
9170 | * frame.c (store_frame_param): | |
9171 | * fontset.c (Fset_fontset_font): | |
9172 | * emacs.c (shut_down_emacs): | |
a64387ee | 9173 | * ccl.c (ccl_driver): Remove period at end of error message. |
7c402969 | 9174 | |
a32e9bfd JD |
9175 | * config.in: Regenerate. |
9176 | ||
810f2256 JD |
9177 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
9178 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
9179 | (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. | |
9180 | (x_create_bitmap_mask, xg_set_icon, create_frame_xic) | |
9181 | (xic_set_statusarea, x_window, gif_load): Formatting adjustments. | |
9182 | ||
9183 | * xterm.h (struct x_display_info): New field xg_cursor for GTK. | |
9184 | ||
9185 | * xterm.c: Add Display * to x_window_to_scroll_bar declaration. | |
9186 | (XTmouse_position, handle_one_xevent): Pass Display* to | |
9187 | x_window_to_scroll_bar. | |
9188 | (x_window_to_scroll_bar): Take a Display* argument. | |
9189 | Check that display for frame is equal to Display* argument. | |
854c1a59 | 9190 | (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
810f2256 JD |
9191 | x_display_info_for_display instead. Use Display in xev instead |
9192 | of GDK_DISPLAY. | |
9193 | (x_dispatch_event): Call x_display_info_for_display. | |
f63fd14e | 9194 | (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
810f2256 JD |
9195 | (x_connection_closed): Call xg_display_close for GTK. |
9196 | (x_term_init): Call xg_display_open for additional displays. | |
9197 | Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor | |
9198 | for GTK. | |
9199 | ||
9200 | * xmenu.c (single_menu_item, mouse_position_for_popup) | |
9201 | (x_activate_menubar): Formatting adjustments. | |
9202 | ||
9203 | * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting | |
9204 | adjustments. | |
9205 | ||
9206 | * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) | |
9207 | (xg_display_close, xg_create_default_cursor) | |
9208 | (xg_get_gdk_pixmap_and_mask): New functions for multiple display | |
9209 | handling. | |
854c1a59 SM |
9210 | (xg_left_ptr_cursor): Remove. |
9211 | (xg_set_cursor): Change cursor to GdkCursor*. Do not create | |
810f2256 JD |
9212 | cursor here. |
9213 | (xg_win_to_widget): Take Display* argument, call | |
9214 | gdk_xid_table_lookup_for_display. | |
9215 | (xg_create_frame_widgets, xg_get_file_name, create_menus) | |
9216 | (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. | |
9217 | (xg_create_widget, xg_create_scroll_bar): Use xg_cursor | |
9218 | in FRAME_X_DISPLAY_INFO. | |
9219 | (xg_get_scroll_id_for_window): Take Display* argument. | |
9220 | (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. | |
854c1a59 | 9221 | (xg_initialize): Remove xg_left_ptr_cursor. |
810f2256 | 9222 | |
78819ebb KS |
9223 | * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add |
9224 | Display* argument. | |
9225 | (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. | |
810f2256 | 9226 | |
0b03cc78 JD |
9227 | 2003-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9228 | ||
9229 | * xterm.c (x_detect_focus_change): Do not change focus frame for | |
9230 | Enter/LeaveNotify if the current focus frame has explicit focus. | |
9231 | ||
77e688fa KS |
9232 | 2003-11-14 Kim F. Storm <storm@cua.dk> |
9233 | ||
9234 | * dispnew.c (update_text_area): Fix redisplay error when hscroll | |
9235 | is active and first glyph is only partially visible. | |
854c1a59 | 9236 | |
dd429b03 KH |
9237 | 2003-11-13 Kenichi Handa <handa@m17n.org> |
9238 | ||
9239 | * xdisp.c (select_frame_for_redisplay): New function. | |
9240 | (redisplay_internal): Record also selected_frame for | |
9241 | unwind_redisplay. Call select_frame_for_redisplay before | |
9242 | redrawing each frame. | |
9243 | (unwind_redisplay): Argument changed to a cons. | |
9244 | ||
6d9266f4 LT |
9245 | 2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
9246 | ||
9247 | * fns.c (Fstring_to_multibyte): Doc fix. | |
9248 | ||
80060eb3 KH |
9249 | 2003-11-11 Kenichi Handa <handa@m17n.org> |
9250 | ||
9251 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
9252 | ||
74305183 JD |
9253 | 2003-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9254 | ||
9255 | * xfns.c (x_window): Set XtNx and XtNy in shell widget for | |
9256 | program specified positions. | |
9257 | ||
cfda993e JD |
9258 | 2003-11-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9259 | ||
9260 | * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. | |
9261 | ||
df211069 KH |
9262 | 2003-11-08 Kenichi Handa <handa@m17n.org> |
9263 | ||
9264 | * Makefile.in (lisp): Add kannada.el. | |
9265 | (shortlisp): Likewise. | |
9266 | ||
4307d534 KH |
9267 | 2003-11-07 Kenichi Handa <handa@m17n.org> |
9268 | ||
854c1a59 SM |
9269 | * coding.c (coding_allocate_composition_data): |
9270 | Reset coding->composing to COMPOSITION_NO. | |
4307d534 KH |
9271 | (coding_restore_composition): Detect invalid composition data. |
9272 | Give Fstring and Fvector a Lispy integer, not C int. | |
9273 | ||
854c1a59 SM |
9274 | 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
9275 | ||
9276 | * floatfns.c (Flogb): Don't use VALMASK. | |
9277 | ||
9278 | * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. | |
9279 | * m/ia64.h (VALBITS, XINT, XUINT): Remove. | |
9280 | ||
9281 | * lisp.h (XINT): Move the cast to clarify what is going on. | |
9282 | (GCTYPEMASK, XSETTYPE): Remove. | |
9283 | (XGCTYPE): Make it an alias of XTYPE. | |
9284 | ||
d04103a1 JD |
9285 | 2003-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9286 | ||
9287 | * xterm.c (x_term_init): Fix formatting. | |
9288 | ||
da18b5ac JD |
9289 | 2003-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9290 | ||
78819ebb KS |
9291 | * gtkutil.h (xg_have_tear_offs): Declare. |
9292 | (xg_keep_popup, xg_did_tearoff): Remove. | |
da18b5ac JD |
9293 | |
9294 | * gtkutil.c: Remove variable xg_did_tearoff. | |
9295 | (xg_have_tear_offs): New function. | |
9296 | (tearoff_remove): Just decrease xg_detached_menus. | |
9297 | (tearoff_activate): Increase xg_detached_menus and call | |
9298 | tearoff_remove when tearoff is removed. | |
854c1a59 | 9299 | (xg_keep_popup): Remove function. |
da18b5ac JD |
9300 | (create_menus): Give add_tearoff_p as argument to recursive |
9301 | call to create_menus. | |
9302 | (xg_create_widget): Use variables instead of multiple | |
9303 | strcmp. Tell create_menus to create tear off only for | |
9304 | menu bar menus. | |
9305 | (xg_update_menubar): Change title for a detached menu also. | |
9306 | (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless | |
9307 | of deep_p. | |
9308 | (xg_initialize): Initialize xg_detached_menus, remove | |
9309 | initialization of xg_did_tearoff. | |
9310 | ||
9311 | * xmenu.c (set_frame_menubar): For GTK, set deep_p if | |
9312 | xg_have_tear_offs returns non-zero. | |
9313 | (create_and_show_popup_menu): Remove setting of xg_did_tearoff and | |
9314 | call to xg_keep_popup. | |
9315 | ||
64d4923e AC |
9316 | 2003-11-01 Andrew Choi <akochoi@shaw.ca> |
9317 | ||
9318 | * macterm.c (XTread_socket): Handle menubar selection and grow | |
9319 | window only for mouseDown events. | |
854c1a59 | 9320 | |
6cc8bc07 JD |
9321 | 2003-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9322 | ||
9323 | * xterm.c (x_term_init): For GTK part, increase x_initialized | |
9324 | to check for more than one display. Use error instead of return 0. | |
9325 | ||
043131c4 AC |
9326 | 2003-10-31 Andrew Choi <akochoi@shaw.ca> |
9327 | ||
854c1a59 | 9328 | * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
043131c4 AC |
9329 | (copy_dysymtab): Call it. |
9330 | ||
bdda99a1 LT |
9331 | 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
9332 | ||
9333 | * eval.c (Fdefvaralias): Doc fix. | |
9334 | ||
800f42ff | 9335 | 2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
0d11571e LT |
9336 | |
9337 | * data.c (Fsetplist): Doc fix. | |
9338 | ||
ef35b389 LK |
9339 | 2003-10-14 Lute Kamstra <lute@gnu.org> |
9340 | ||
9341 | * window.c (Fset_window_fringes): Clarify docstring. | |
07107abc | 9342 | |
ef35b389 | 9343 | 2003-10-14 Kim F. Storm <storm@cua.dk> |
854c1a59 | 9344 | |
07107abc KS |
9345 | * window.c (Fset_window_margins): Simplify arg checking. |
9346 | ||
f7005886 RS |
9347 | 2003-10-13 Richard M. Stallman <rms@gnu.org> |
9348 | ||
9349 | * regex.c (MAX_BUF_SIZE): Reduce to 2**15. | |
9350 | (print_partial_compiled_pattern): Replace assert with a printout. | |
9351 | (skip_noops, mutually_exclusive_p): Change args, values to re_char *. | |
9352 | ||
9353 | * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. | |
9354 | ||
9355 | * window.c (Fset_window_margins): Allow only integers as args. | |
9356 | (syms_of_window) <special-display-buffer-names, special-display-regexps>: | |
9357 | Doc fixes. | |
9358 | ||
9c0c2af5 LK |
9359 | 2003-10-13 Lute Kamstra <lute@gnu.org> |
9360 | ||
9361 | * window.c (Fset_window_fringes): Elaborate docstring. | |
9362 | ||
3f080e4e AC |
9363 | 2003-10-12 Andrew Choi <akochoi@shaw.ca> |
9364 | ||
854c1a59 | 9365 | * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
a4887377 | 9366 | |
3f080e4e AC |
9367 | * s/darwin.h (GC_MARK_STACK): Define. |
9368 | ||
0aa513ed JD |
9369 | 2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9370 | ||
9371 | * window.c (shrink_windows): New function. | |
9372 | (size_window): Call shrink_windows to calculate window sizes when | |
9373 | shrinking frame with more than one window. | |
9374 | ||
6aa8858a KS |
9375 | 2003-10-12 Kim F. Storm <storm@cua.dk> |
9376 | ||
9377 | * xdisp.c (compute_fringe_widths): Doc fix. | |
9378 | ||
c2164d91 KH |
9379 | 2003-10-08 Kenichi Handa <handa@m17n.org> |
9380 | ||
854c1a59 | 9381 | * coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
c2164d91 | 9382 | |
f82ac129 KH |
9383 | 2003-10-07 Kenichi Handa <handa@m17n.org> |
9384 | ||
9385 | * coding.c (Qcoding_system_define_form): New variable. | |
9386 | (syms_of_coding): Intern and staticpro it. | |
9387 | (Fcheck_coding_system): Try to autoload the definition of | |
9388 | CODING-SYSTEM. | |
9389 | ||
9296c947 LT |
9390 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
9391 | ||
9392 | * fns.c (Frequire): Doc fix. | |
9393 | ||
c1f0671a JD |
9394 | 2003-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9395 | ||
3d8c3826 JD |
9396 | * xfns.c (Fx_send_client_event): New function as a base for |
9397 | manipulating extended window manager hints. | |
6dc15d98 | 9398 | (Fx_send_client_event): Remove unused variable s. |
3d8c3826 | 9399 | |
068ae0fd JD |
9400 | * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, |
9401 | that function is removed. | |
9402 | ||
9403 | * xterm.c (x_set_offset): Use move_offset_left/top instead of | |
9404 | x/y_pixels_outer_diff. | |
9405 | (x_check_expected_move): Calculate move_offset_left/top. | |
9406 | ||
9407 | * xterm.h (struct x_output): New members: move_offset_top/left. | |
9408 | ||
854c1a59 | 9409 | * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
068ae0fd JD |
9410 | call x_set_offset directly. |
9411 | ||
9412 | * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. | |
9413 | ||
96f09305 JD |
9414 | * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. |
9415 | ||
9416 | * xterm.c (x_delete_display): Free font names and font_encoder | |
9417 | in dpyinfo->font_table. | |
9418 | ||
854c1a59 SM |
9419 | * xfns.c (Fx_close_connection): Only call XFreeFont here. |
9420 | Move xfree of font names to x_delete_display. | |
96f09305 | 9421 | |
c1f0671a JD |
9422 | * xterm.h (struct x_display_info): New member, wm_type. |
9423 | (struct x_output): New members, expected_top/left and | |
9424 | check_expected_move. | |
9425 | ||
9426 | * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify | |
9427 | is received. | |
854c1a59 SM |
9428 | (handle_one_xevent): Rename x_check_expected_move from |
9429 | x_check_fullscreen_move. | |
c1f0671a JD |
9430 | (x_set_offset): Only add WM decoration sizes to modified_top/left |
9431 | for X_WMTYPE_A. Set check_expected_move when WM type is unknown. | |
854c1a59 | 9432 | (x_check_expected_move): Rename from x_check_fullscreen_move. |
c1f0671a JD |
9433 | Removed fullscreen specific code. Use check_expected_move, |
9434 | expected_left/top instead. Also, set wm_type. | |
9435 | (x_term_init): Initialize wm_type to unknown. | |
9436 | ||
9437 | * frame.c (x_fullscreen_move): Remove addition of WM decoration | |
9438 | sizes to move_x/y. | |
9439 | ||
be2fdba9 KH |
9440 | 2003-10-03 Kenichi Handa <handa@m17n.org> |
9441 | ||
9442 | * macterm.c (x_load_font): Clear all members of FONTP before start | |
9443 | filling them. | |
9444 | ||
9445 | 2003-10-02 Kenichi Handa <handa@m17n.org> | |
9446 | ||
9447 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | |
9448 | before calling find_ccl_program_func. Call find_ccl_program_func | |
9449 | only when fontp->font_encoder is not NULL. | |
9450 | ||
9451 | * xterm.c (x_load_font): Clear all members of FONTP before start | |
9452 | filling them. | |
9453 | ||
26a6e439 JPW |
9454 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
9455 | ||
9456 | * keymap.c (map_keymap): Don't abort when binding is a vector. | |
9457 | ||
0d4c2dc2 JR |
9458 | 2003-10-02 Jason Rumney <jasonr@gnu.org> |
9459 | ||
854c1a59 SM |
9460 | * makefile.w32-in (emacs.o, coding.o, bytecode.o): |
9461 | Sync dependencies with Makefile.in. | |
a63cf46f JR |
9462 | (alloca.o): Remove. |
9463 | ||
0d4c2dc2 JR |
9464 | * w32fns.c (w32_load_system_font): Clear all members of FONTP before |
9465 | filling them. | |
9466 | ||
9467 | * w32bdf.c (w32_load_bdf_font): Likewise. | |
9468 | ||
ab8f7d5c RS |
9469 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
9470 | ||
9471 | * term.c (set_tty_color_mode): Calculate current_mode_spec | |
9472 | regardless of value of VAL. | |
9473 | ||
854c1a59 | 9474 | * intervals.c (graft_intervals_into_buffer): |
ab8f7d5c RS |
9475 | Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
9476 | Handle over_used when splitting UNDER. | |
9477 | ||
a64387ee | 9478 | 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ab8f7d5c RS |
9479 | |
9480 | * regex.c (regex_compile): Free the stack when returning from function. | |
9481 | ||
3413f972 KH |
9482 | 2003-09-28 Kenichi Handa <handa@m17n.org> |
9483 | ||
9484 | * fontset.c (Finternal_char_font): Change return value to | |
9485 | cons (FONT-NAME . GLYPH-CODE). | |
9486 | ||
a6eeaa81 | 9487 | 2003-09-28 Eli Zaretskii <eliz@gnu.org> |
40409f05 EZ |
9488 | |
9489 | * term.c (tty_setup_colors): Treat any negative argument as -1. | |
9490 | ||
f98ddc99 KH |
9491 | 2003-09-27 Gaute B Strokkenes <biggaute@uwc.net> (tiny change) |
9492 | ||
9493 | * process.c (send_process): Delete unused temp_buf. | |
9494 | ||
66c8f1a8 DL |
9495 | 2003-09-26 Dave Love <fx@gnu.org> |
9496 | ||
9497 | * xterm.c (x_bitmap_mask): Declare. | |
9498 | ||
ca716c26 DL |
9499 | 2003-09-25 Dave Love <fx@gnu.org> |
9500 | ||
9501 | * Makefile.in (fns.o): Depend on md5.h. | |
9502 | ||
fbe57420 KS |
9503 | 2003-09-25 Kim F. Storm <storm@cua.dk> |
9504 | ||
9505 | * window.c (set_window_buffer): Fix redisplay problems when | |
9506 | switching between buffers with different display margin widths. | |
9507 | ||
ef6ae4ff KS |
9508 | 2003-09-23 Kim F. Storm <storm@cua.dk> |
9509 | ||
9510 | * process.c (set_socket_option): Fix :bindtodevice option. | |
9511 | (Fset_network_process_option): Update process contact list when | |
9512 | setting option succeeds. | |
9513 | (Fmake_network_process): Doc fix. | |
9514 | ||
68e03c1c DL |
9515 | 2003-09-23 Dave Love <fx@gnu.org> |
9516 | ||
7146d1c1 | 9517 | * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. |
68e03c1c | 9518 | |
a6eeaa81 | 9519 | 2003-09-22 Eli Zaretskii <eliz@gnu.org> |
2f809aae EZ |
9520 | |
9521 | * term.c (set_tty_color_mode): Use INTEGERP to test whether a | |
9522 | color mode is an integer number (it could be -1). | |
9523 | ||
8fe7d8c8 RS |
9524 | 2003-09-22 Richard M. Stallman <rms@gnu.org> |
9525 | ||
9526 | * intervals.c (graft_intervals_into_buffer): Correct the main loop | |
9527 | in the case where OVER is longer than UNDER. | |
9528 | ||
2f71b5ea MY |
9529 | 2003-09-22 Masatake YAMATO <jet@gyve.org> |
9530 | ||
7146d1c1 | 9531 | * window.c (Fset_window_scroll_bars): Validate the value of |
2f71b5ea | 9532 | `vertical_type'. |
7146d1c1 | 9533 | |
0c4da023 KS |
9534 | 2003-09-21 Kim F. Storm <storm@cua.dk> |
9535 | ||
9536 | * frame.c (Vdefault_frame_scroll_bars): New variable. | |
9537 | (x_set_vertical_scroll_bars): Use it instead of hardcoded values. | |
9538 | (syms_of_frame): DEFVAR_LISP it, and initialize according to | |
9539 | window-system default scroll bar position. | |
9540 | ||
b648413b KS |
9541 | * window.c (Fwindow_scroll_bars): Doc fix. |
9542 | ||
8f5b9e34 JD |
9543 | 2003-09-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9544 | ||
854c1a59 | 9545 | * xterm.c (x_set_offset): Take window manager decorations into account. |
8f5b9e34 | 9546 | |
b0f23edf RS |
9547 | 2003-09-19 Richard M. Stallman <rms@gnu.org> |
9548 | ||
9549 | * atimer.h: Don't include lisp.h. | |
9550 | (P_): Define it here (as well as elsewhere). | |
9551 | ||
9552 | * print.c (Fprin1_to_string): Move the PRINTPREPARE | |
9553 | later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. | |
9554 | ||
9555 | * data.c (Fvariable_binding_locus): New function. | |
9556 | (syms_of_data): defsubr it. | |
9557 | (Flocal_variable_p): Delete duplicate call to indirect_variable. | |
9558 | ||
e1283999 DL |
9559 | 2003-09-18 Dave Love <fx@gnu.org> |
9560 | ||
ad5f3636 DL |
9561 | * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. |
9562 | ||
e1283999 DL |
9563 | * process.c (Fnetwork_interface_info): Fix type error. |
9564 | (Fnetwork_interface_list): Doc fix. | |
9565 | (read_process_output, read_process_output): Delete unused var. | |
9566 | ||
b8c7fd71 KS |
9567 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
9568 | ||
9569 | * process.c (Fnetwork_interface_list, Fnetwork_interface_info): | |
9570 | Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. | |
9571 | (Fnetwork_interface_info): Check that ifreq struct has required | |
9572 | fields before accessing them; this requires that those fields are | |
9573 | defined as macros, which may be too restrictive on some platforms, | |
9574 | but it is better than failing on other platforms. | |
9575 | (syms_of_process): Only defsubr above fns when included. | |
9576 | ||
11e0a411 DL |
9577 | 2003-09-17 Dave Love <fx@gnu.org> |
9578 | ||
9579 | * unexalpha.c: Don't include varargs.h. | |
9580 | ||
e9c50801 KS |
9581 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
9582 | ||
9583 | * process.c (Fset_process_sentinel): Add sentinel to childp plist | |
9584 | for network process. | |
9585 | (socket_options): Add `:' prefix to option names. Add optbit field. | |
9586 | (set_socket_option): Remove no_error arg and special handling of s < 0. | |
9587 | Return 1<<optbit for known option, 0 for unknown. | |
9588 | Do not interpret 0 as false for boolean option (only nil). | |
9589 | Pass failed option and value to report_file_error. | |
7146d1c1 | 9590 | (Fset_network_process_options): Replace by Fset_network_process_option. |
e9c50801 KS |
9591 | (Fset_network_process_option): New function to set just one option. |
9592 | (Fmake_network_process): Allow :coding arg to be a cons. | |
9593 | Allow :server arg to be an integer specifying backlog size. | |
9594 | Remove :options arg, and allow options to be specified directly | |
9595 | as :KEY, VALUE pairs. Parse these options before binding socket. | |
9596 | As before, :reuseaddr t is default for a server process, but this | |
9597 | can now be disabled by specifying :reuseaddr nil. | |
9598 | (Fnetwork_interface_info): Rename from Fget_network_interface_info. | |
9599 | (init_process): Availability of network options is now checked with | |
9600 | simpler syntax (featurep 'make-network-process :OPTION); use loop to | |
9601 | setup features. | |
9602 | (syms_of_process): Fix defsubr's for the replaced functions. | |
9603 | ||
a0fc3644 DL |
9604 | 2003-09-16 Dave Love <fx@gnu.org> |
9605 | ||
9606 | * Makefile.in: Depend on coding.h. | |
9607 | ||
6df2a645 KS |
9608 | 2003-09-14 Kim F. Storm <storm@cua.dk> |
9609 | ||
9610 | * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. | |
9611 | (Fnetwork_interface_list, Fget_network_interface_info): New defuns. | |
9612 | (syms_of_process): Defsubr them. | |
9613 | ||
9614 | * config.in: Regenerate. | |
7146d1c1 SM |
9615 | |
9616 | 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
9617 | ||
9618 | * m/sr2k.h (XMARKBIT, XUNMARK): Remove. | |
9619 | * m/news-r6.h (XUNMARK): Remove. | |
9620 | * m/mips.h (XUNMARK): Remove. | |
9621 | * m/mips-siemens.h (XUNMARK): Remove. | |
9622 | * m/iris4d.h (XUNMARK): Remove. | |
9623 | * m/hp800.h (XMARKBIT, XUNMARK): Remove. | |
9624 | ||
0930c1a1 SM |
9625 | 2003-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
9626 | ||
31003b9e SM |
9627 | * lisp.h (VALBITS): Don't remove 1 for the markbit. |
9628 | (union Lisp_Object): Use unsigned int for types. Remove markbit. | |
9629 | (MARKBIT): Remove 1 from VALBITS so we still use same old val. | |
9630 | (XTYPE): Use unsigned right-shift. | |
9631 | (XMARKBIT, XMARK, XUNMARK): Remove. | |
9632 | ||
0930c1a1 SM |
9633 | * alloc.c (init_intervals, init_symbol, init_marker): |
9634 | Don't preallocate anything. | |
9635 | (Fgarbage_collect, mark_object): Ignore the markbit. | |
9636 | ||
9637 | * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. | |
9638 | ||
19bb0fcd | 9639 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
5df034de LK |
9640 | |
9641 | * xdisp.c (pint2hrstr): New function. | |
9642 | (decode_mode_spec): Add `%i' and `%I' specs. | |
9643 | * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs | |
9644 | for `mode-line-format'. | |
9645 | ||
03bb6a06 AS |
9646 | 2003-09-07 Andreas Schwab <schwab@suse.de> |
9647 | ||
9648 | * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to | |
9649 | avoid warning. | |
9650 | ||
a6eeaa81 | 9651 | 2003-09-07 Eli Zaretskii <eliz@gnu.org> |
2063d89c | 9652 | |
0930c1a1 | 9653 | * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. |
2063d89c | 9654 | |
ed159bbf KS |
9655 | 2003-09-03 Kim F. Storm <storm@cua.dk> |
9656 | ||
9657 | * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 | |
9658 | change (superseded by 2002-08-30 change); the default blink-off | |
9659 | cursor is now again "no cursor". | |
9660 | ||
fe64a394 JR |
9661 | 2003-09-01 Jason Rumney <jasonr@gnu.org> |
9662 | ||
9663 | * makefile.w32-in (alloca.o): Remove. | |
9664 | (coding.o): Depend on intervals.h | |
9665 | (emacs.o, bytecode.o): Depend on window.h | |
9666 | ||
c0175e24 DL |
9667 | 2003-09-01 Dave Love <fx@gnu.org> |
9668 | ||
9669 | * Makefile.in (alloca.o): Remove commands. | |
9670 | (coding.o): Depend on intervals.h composite.h window.h. | |
9671 | (emacs.o): Depend on window.h keyboard.h keymap.h. | |
9672 | (gtkutil.o): Depend on keyboard.h charset.h coding.h. | |
9673 | (bytecode.o): Depend on window.h. | |
9674 | ||
a24d4cb2 JR |
9675 | 2003-08-31 Jason Rumney <jasonr@gnu.org> |
9676 | ||
4bc2315e JR |
9677 | * w32term.c (w32_per_char_metric): Allow cached metrics to be |
9678 | returned even when font_type is unknown. | |
9679 | ||
a24d4cb2 JR |
9680 | * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. |
9681 | ||
9d35adc7 JD |
9682 | 2003-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9683 | ||
9684 | * xterm.c (x_term_init): Initialize new fields in x_display_info. | |
9685 | ||
9686 | * xterm.h (struct x_display_info): Add red/green/blue_bits and | |
9687 | *_offset. | |
9688 | ||
9689 | * xfns.c (lookup_rgb_color): Use new fields in x_display_info to | |
9690 | calculate pixel value. | |
9691 | ||
6f68b035 GM |
9692 | 2003-08-29 Gerd Moellmann <gerd.moellmann@t-online.de> |
9693 | ||
0930c1a1 SM |
9694 | * xdisp.c (redisplay_internal): Fix change of 2003-04-30. |
9695 | Don't tell redisplay display is accurate when it's actually been | |
9696 | paused for pending input. | |
6f68b035 | 9697 | |
4828b4d7 RS |
9698 | 2003-08-29 Richard M. Stallman <rms@gnu.org> |
9699 | ||
9700 | * dispnew.c (adjust_glyph_matrix): Call window_box | |
9701 | whenever W is nonzero. | |
9702 | ||
9703 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
9704 | (Fkill_local_variable, Fmake_variable_frame_local) | |
0930c1a1 | 9705 | (Flocal_variable_p, Flocal_variable_if_set_p): |
4828b4d7 RS |
9706 | Use indirect_variable to trace thru variable aliases. |
9707 | ||
9708 | * config.in: Updated. | |
9709 | ||
9710 | * callint.c (Fcall_interactively): Save and restore | |
9711 | Vthis_command, Vthis_original_command, real_this_command, | |
9712 | and current_kboard->Vlast_command. | |
9713 | ||
9714 | * abbrev.c (Fexpand_abbrev): Insert before deleting. | |
9715 | ||
e019878d GM |
9716 | 2003-08-29 Gerd Moellmann <gerd@gnu.org> |
9717 | ||
9718 | * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. | |
9719 | ||
85478bc6 KH |
9720 | 2003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change) |
9721 | ||
0930c1a1 | 9722 | * coding.c (decode_coding_iso2022): Initialize local variable c2. |
85478bc6 KH |
9723 | (decode_coding_sjis_big5): Likewise. |
9724 | ||
07ce82d3 JR |
9725 | 2003-08-27 Jason Rumney <jasonr@gnu.org> |
9726 | ||
d3703de3 JR |
9727 | * w32.c (sys_pipe): Protect against file descriptor overflow. |
9728 | ||
ee4a01d1 JR |
9729 | * w32fns.c (syms_of_w32fns): Remove non-existent functions. |
9730 | ||
07ce82d3 JR |
9731 | * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. |
9732 | ||
a64387ee | 9733 | 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no> |
72d19c66 LK |
9734 | |
9735 | * xfns.c (Vgtk_version_string): New variable. | |
9736 | (syms_of_xfns): DEFVAR_LISP it. Provide gtk. | |
9737 | ||
a6eeaa81 | 9738 | 2003-08-24 Eli Zaretskii <eliz@gnu.org> |
5459e42a | 9739 | |
0930c1a1 | 9740 | * term.c (term_init): Remove `const' from buffer_size's declaration. |
3d8714e7 | 9741 | |
5459e42a EZ |
9742 | * Makefile.in (msdos.o): Depend on intervals.h. |
9743 | ||
0930c1a1 | 9744 | * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. |
5459e42a | 9745 | |
231d6cfb JD |
9746 | 2003-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9747 | ||
9748 | * xterm.h (struct x_display_info): New fields: client_leader_window | |
9749 | and Xatom_wm_client_leader. | |
9750 | ||
9751 | * xterm.c (x_initialize): Move call to x_session_initialize to ... | |
9752 | (x_term_init): ... here. Initialize client_leader fields in dpyinfo. | |
9753 | ||
9754 | * xsmfns.c (create_client_leader_window): New function. | |
9755 | (x_session_initialize): Call create_client_leader_window, take | |
9756 | dpyinfo as argument. | |
9757 | ||
9758 | * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. | |
9759 | ||
9760 | * Makefile.in (xsmfns.o): Add more depenedencies. | |
9761 | ||
afa88464 DL |
9762 | 2003-08-21 Dave Love <fx@gnu.org> |
9763 | ||
9764 | * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. | |
9765 | ||
f730033e KH |
9766 | 2003-08-21 Kenichi Handa <handa@m17n.org> |
9767 | ||
9768 | * term.c (term_init): Fix previous change; don't rely on the | |
9769 | length of `buffer' if TERMINFO is defined. | |
9770 | ||
6dca786c DL |
9771 | 2003-08-20 Dave Love <fx@gnu.org> |
9772 | ||
9773 | * atimer.h: Include lisp.h. | |
9774 | ||
9775 | * lisp.h (EMACS_LISP_H): New. | |
9776 | (popup_activated_flag): Don't declare. | |
9777 | ||
9778 | * alloca.c: Some merging with gnulib. Change logic and doc | |
9779 | concerning (x)malloc/(x)free -- no longer Emacs-specific. | |
9780 | [DO_BLOCK_INPUT]: Don't include lisp.h. | |
9781 | (xmalloc, xfree): Declare. | |
9782 | (malloc): Don't declare. | |
9783 | ||
0930c1a1 | 9784 | * Makefile.in (LWLIB_OPTIONS): Remove (unused). |
6dca786c DL |
9785 | (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on |
9786 | atimer.h, blockinput.h. | |
9787 | ||
9788 | * alloc.c (lisp_align_malloc): Change type of `aligned'. | |
9789 | ||
78819ebb | 9790 | * alloca.s: Remove. |
6dca786c | 9791 | |
3a06a6d9 RS |
9792 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
9793 | ||
9794 | * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, | |
9795 | use -lncurses. | |
9796 | ||
9797 | * term.c (term_init): Use a buffer of size 4096 for tgetent since | |
9798 | FreeBSD returns something longer than 2044. Abort if the end of | |
9799 | the buffer is overwritten. | |
9800 | ||
27eeee55 MB |
9801 | 2003-08-19 Miles Bader <miles@gnu.org> |
9802 | ||
9803 | * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. | |
9804 | ||
2f297815 GM |
9805 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
9806 | ||
f4446bbf GM |
9807 | * alloc.c (lisp_align_malloc): Check for memory full when |
9808 | allocating ablocks, which also avoids freeing a pointer into an | |
9809 | ablocks structure. | |
9810 | ||
9811 | * puresize.h (BASE_PURESIZE): Increase to 1100000. | |
9812 | ||
0930c1a1 | 9813 | * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. |
2f297815 | 9814 | |
0e7d7aae RS |
9815 | 2003-08-16 Richard M. Stallman <rms@gnu.org> |
9816 | ||
9817 | * editfns.c (Fencode_time): Doc fix. | |
9818 | ||
9819 | 2003-08-16 David Ponce <david@dponce.com> | |
9820 | ||
9821 | * fileio.c (Fwrite_region): Fix conditional expression to issue | |
9822 | the right message. | |
9823 | ||
b6189c3b | 9824 | 2003-08-16 Juri Linkov <juri@jurta.org> |
0e7d7aae RS |
9825 | |
9826 | * syntax.c (Fforward_word): Argument changed to optional. | |
0930c1a1 | 9827 | Set default value to 1. |
0e7d7aae | 9828 | |
5d551295 KH |
9829 | 2003-08-15 Kenichi Handa <handa@m17n.org> |
9830 | ||
9831 | * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not | |
9832 | what autoscaled. | |
9833 | (best_matching_font): Once we find a better scalable font, set | |
9834 | non_scalable_has_exact_height_p to 1. | |
9835 | (try_font_list): Call try_alternative_families to try any family | |
9836 | with the given registry. | |
9837 | ||
1661e56b AS |
9838 | 2003-08-09 Andreas Schwab <schwab@suse.de> |
9839 | ||
f29181dc AS |
9840 | * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. |
9841 | ||
1661e56b AS |
9842 | * print.c (print_string): Fix printing of multibyte string with |
9843 | nontrivial printcharfun. | |
9844 | ||
465aa50a JD |
9845 | 2003-07-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9846 | ||
9847 | * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. | |
9848 | ||
9849 | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. | |
9850 | ||
e430e5ba KH |
9851 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
9852 | ||
9853 | * process.c (read_process_output): Return the actually read bytes | |
9854 | instead of the result of decoding. | |
9855 | ||
97e7188e KH |
9856 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
9857 | ||
9858 | * xterm.h (struct x_bitmap_record): New member have_mask. | |
9859 | ||
9860 | * xfns.c (x_create_bitmap_from_data): Initialize have_mask member | |
9861 | to 0. | |
9862 | (x_create_bitmap_from_file): Likewise. | |
9863 | (x_destroy_bitmap): Check have_mask member before freeing a mask. | |
9864 | (x_destroy_all_bitmaps): Likewise. | |
9865 | (x_create_bitmap_mask): Set have_mask member to 1. | |
9866 | ||
b53094d6 RS |
9867 | 2003-07-30 Richard M. Stallman <rms@gnu.org> |
9868 | ||
9869 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. | |
9870 | ||
631f2082 JD |
9871 | 2003-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9872 | ||
9873 | * gtkutil.c (xg_mark_data): Update calls to mark_object. | |
9874 | ||
c855f2ca RS |
9875 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
9876 | ||
9877 | * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): | |
9878 | Conditionalize XIM code on HAVE_XIM. | |
9879 | ||
9880 | * fns.c (Fclear_string): New function. | |
9881 | (syms_of_fns): defsubr it. | |
9882 | ||
b6189c3b | 9883 | 2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
17e6d491 | 9884 | |
0930c1a1 | 9885 | * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. |
17e6d491 | 9886 | |
29ea8ae9 SM |
9887 | 2003-07-22 Stefan Monnier <monnier@cs.yale.edu> |
9888 | ||
9889 | * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. | |
9890 | ||
9891 | * buffer.c (delete_all_overlays): New function. | |
9892 | * buffer.h (delete_all_overlays): Declare. | |
9893 | * coding.c (run_pre_post_conversion_on_str): | |
9894 | * print.c (temp_output_buffer_setup): | |
9895 | * fileio.c (Finsert_file_contents): | |
9896 | * minibuf.c (get_minibuffer): Use it. | |
9897 | ||
1dd7ccf2 AC |
9898 | 2003-07-22 Andrew Choi <akochoi@shaw.ca> |
9899 | ||
9900 | * unexmacosx.c (unexec_regions_sort_compare): | |
9901 | (unexec_regions_merge): New functions. Sort and merge unexec | |
9902 | regions before dumping them. | |
9903 | ||
f57bd967 DL |
9904 | 2003-07-22 Dave Love <fx@gnu.org> |
9905 | ||
9906 | * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. | |
9907 | ||
7cdee936 SM |
9908 | 2003-07-21 Stefan Monnier <monnier@cs.yale.edu> |
9909 | ||
9910 | * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) | |
9911 | (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than | |
9912 | MARKBIT as the gcmarkbit for strings. | |
9913 | ||
e50886d3 RS |
9914 | 2003-07-21 Richard M. Stallman <rms@gnu.org> |
9915 | ||
9916 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. | |
9917 | ||
29ea8ae9 | 9918 | * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. |
e50886d3 RS |
9919 | (syms_of_fns): Corresponding change. |
9920 | ||
9921 | * alloc.c (syms_of_alloc): Doc fixes. | |
9922 | ||
9923 | 2003-07-20 Han Boetes <han@mijncomputer.nl> (tiny change) | |
9924 | ||
9925 | * s/netbsd.h: Use -Wl syntax. | |
9926 | ||
fdc39b59 RS |
9927 | 2003-07-17 Richard M. Stallman <rms@gnu.org> |
9928 | ||
9929 | * xterm.c (xim_initialize): Redo 6/24 change. | |
9930 | ||
9c53385f SM |
9931 | 2003-07-15 Stefan Monnier <monnier@cs.yale.edu> |
9932 | ||
9933 | * buffer.c (copy_overlays): Use EMACS_INT for positions. | |
9934 | (Fswitch_to_buffer): Don't signal an error when switching to the same | |
9935 | buffer in a dedicated window. | |
9936 | ||
9937 | * alloc.c: Use bitmaps for cons, as was done for floats. | |
9938 | (init_float, init_cons): Let the normal code allocate the first block. | |
9939 | (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. | |
9940 | (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): | |
9941 | New macros. | |
9942 | (struct cons_block): Move conses to the beginning. Add gcmarkbits. | |
9943 | (Fcons): Use lisp_align_malloc and CONS_UNMARK. | |
9944 | (live_cons_p): Check the pointer is not past the `conses' array. | |
9945 | (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. | |
9946 | (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. | |
9947 | (survives_gc_p): Use CONS_MARKED_P and simplify. | |
9948 | (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. | |
9949 | ||
dde13196 PE |
9950 | 2003-07-13 Paul Eggert <eggert@twinsun.com> |
9951 | ||
9952 | GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it | |
9953 | puts it into BSS instead, at least on Solaris 8 and 9. | |
9954 | This is a valid optimization, and it may occur on other platforms, | |
9955 | so Emacs should not assume that initializing a static variable to | |
9956 | zero puts it into data. | |
9957 | * alloc.c (pure, staticvec): | |
9958 | Initialize these arrays to nonzero, so that they're not | |
9959 | put into BSS by that optimization. | |
9960 | ||
a801bc34 SM |
9961 | 2003-07-13 Stefan Monnier <monnier@cs.yale.edu> |
9962 | ||
9963 | * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. | |
9964 | (lisp_align_malloc): Use posix_memalign is available. | |
9965 | (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. | |
9966 | (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK | |
9967 | for consistency. Update users. | |
9968 | ||
0c8b2afa RS |
9969 | 2003-07-13 Richard M. Stallman <rms@gnu.org> |
9970 | ||
9971 | * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. | |
9972 | ||
668c2ab0 JB |
9973 | 2003-07-13 Terje Rosten <terjeros@phys.ntnu.no> |
9974 | ||
9975 | * xterm.c (x_bitmap_icon,x_wm_set_icon_pixmap): Modify to add mask, | |
9976 | and use the Gtk+ function gtk_window_icon_from_file if available. | |
9977 | ||
9978 | * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to | |
9979 | handle mask of bitmaps. | |
9980 | (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the | |
9981 | mask property. | |
9982 | (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. | |
9983 | ||
9984 | * xterm.h (xg_set_icon): New function. | |
9985 | ||
800bebe3 RS |
9986 | 2003-07-12 Paul Eggert <eggert@twinsun.com> |
9987 | ||
9988 | * unexelf.c (unexec): Consider a section to precede the .bss | |
9989 | section if its addresses overlap that of .bss. | |
9990 | ||
69e38995 RS |
9991 | 2003-07-12 Richard M. Stallman <rms@gnu.org> |
9992 | ||
9993 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. | |
9994 | ||
9995 | * config.in (HAVE_CRTIN): Add #undef. | |
9996 | (INLINE): Really inline only if OPTIMIZE is defined. | |
9997 | ||
9998 | * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, | |
9999 | END_FILES_1. | |
10000 | (START_FILES_1, END_FILES_1): New macros (conditional). | |
a801bc34 | 10001 | (LD_SWITCH_SYSTEM_TEMACS): Define. |
69e38995 RS |
10002 | |
10003 | * s/openbsd.h: Don't include bsd4-3.h. | |
a801bc34 SM |
10004 | (TERMINFO): Define. |
10005 | (LIBS_TERMCAP): Define. | |
10006 | (LD_SWITCH_SYSTEM): Define (two definitions). | |
69e38995 RS |
10007 | |
10008 | * xfns.c: Include libpng/png.h instead of png.h. | |
10009 | ||
f1d0c238 AS |
10010 | 2003-07-11 Andreas Schwab <schwab@suse.de> |
10011 | ||
10012 | * buffer.c (modify_overlay): Update prototype. | |
10013 | * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): | |
10014 | Likewise. | |
10015 | ||
5f6bf5fe SM |
10016 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
10017 | ||
10018 | * lisp.h (VALBITS): Define in terms of GCTYPEBITS. | |
10019 | (struct interval): Move to intervals.h. | |
10020 | (struct Lisp_Marker): Use EMACS_INT for position info. | |
10021 | (forward_point): Remove prototype of defunct function. | |
10022 | (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) | |
10023 | (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) | |
10024 | (syms_of_textprop, set_text_properties): Remove prototypes that are | |
10025 | already in intervals.h. | |
10026 | ||
10027 | * intervals.h (struct interval): Move from lisp.h. | |
10028 | Use EMACS_INT for position and size info. | |
10029 | ||
10030 | * coding.c: Include intervals.h for Fset_text_properties. | |
10031 | ||
10032 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
10033 | position and length information. | |
10034 | ||
2765b457 SM |
10035 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
10036 | ||
10037 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
10038 | position and length information. | |
10039 | ||
2410d73a SM |
10040 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
10041 | ||
10042 | Change overlays_after and overlays_before so the overlays themselves | |
10043 | are linked into lists, rather than using cons cells. After all each | |
10044 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | |
10045 | Lisp_Overlay for free and save up one cons cell per overlay (not | |
10046 | to mention one indirection when traversing the list of overlay). | |
10047 | ||
10048 | * lisp.h (struct Lisp_Overlay): New field `next'. | |
10049 | ||
10050 | * buffer.h (struct buffer): Change overlays_before and overlays_after | |
10051 | from Lisp lists of overlays to pointers to overlays. | |
10052 | ||
10053 | * buffer.c (overlay_strings, recenter_overlay_lists): | |
10054 | Fix typo in eassert in last commit. | |
10055 | (unchain_overlay): New function. | |
10056 | (add_overlay_mod_hooklist): Use AREF. | |
10057 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | |
10058 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | |
10059 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | |
10060 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | |
10061 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | |
10062 | Adjust to new type of overlays_(before|after). | |
10063 | ||
10064 | * alloc.c (mark_object): Mark the new `next' field of overlays. | |
10065 | (mark_buffer): Manually mark the overlays_(after|before) fields. | |
10066 | ||
10067 | * coding.c (run_pre_post_conversion_on_str): | |
10068 | * editfns.c (overlays_around): | |
10069 | * xdisp.c (load_overlay_strings): | |
10070 | * fileio.c (Finsert_file_contents): | |
10071 | * indent.c (current_column): | |
10072 | * insdel.c (signal_before_change, signal_after_change): | |
10073 | * intervals.c (set_point_both): | |
10074 | * print.c (temp_output_buffer_setup): Use new type for | |
10075 | overlays_(before|after). | |
10076 | ||
04812929 SM |
10077 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
10078 | ||
10079 | * buffer.c (report_overlay_modification): Don't run hooks while | |
10080 | traversing the list of overlays. | |
10081 | ||
10082 | * buffer.h (struct buffer): Use an int for overlay_center. | |
10083 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
10084 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
10085 | ||
10086 | * buffer.c (reset_buffer, recenter_overlay_lists) | |
10087 | (adjust_overlays_for_insert, adjust_overlays_for_delete) | |
10088 | (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) | |
10089 | (evaporate_overlays, init_buffer_once): Update use of overlay_center. | |
10090 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
10091 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
10092 | ||
10093 | * xdisp.c (fast_find_position): Remove unused var. | |
10094 | ||
10095 | * cmds.c (Qexpand_abbrev): New sym. | |
10096 | (syms_of_cmds): Initialize it. | |
10097 | (internal_self_insert): Use it to call expand-abbrev. | |
10098 | ||
2e7ecf15 KS |
10099 | 2003-07-09 Kim F. Storm <storm@cua.dk> |
10100 | ||
f9711de4 | 10101 | * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs |
2e7ecf15 | 10102 | was configured with --without-xim. |
42f81f64 | 10103 | (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. |
2e7ecf15 | 10104 | |
c6de56a0 RS |
10105 | 2003-07-07 Richard M. Stallman <rms@gnu.org> |
10106 | ||
10107 | * xdisp.c (reseat_1): Set it->area to TEXT_AREA. | |
10108 | ||
10109 | * alloc.c (Fgarbage_collect): Doc fix. | |
10110 | ||
b6189c3b | 10111 | 2003-07-07 Nozomu Ando <nand@mac.com> |
b93fb365 KH |
10112 | |
10113 | * buffer.c (Fkill_buffer): Clear charpos cache if necessary. | |
10114 | ||
bfe1a3f7 SM |
10115 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
10116 | ||
04812929 SM |
10117 | * minibuf.c (read_minibuf): UNGCPRO before returning. |
10118 | (Ftry_completion, Fall_completions): Doc fix. | |
10119 | ||
bfe1a3f7 SM |
10120 | * alloc.c (live_float_p): Check that p is not past the `floats' array, |
10121 | now that `floats' is not the last element of the struct any more. | |
10122 | ||
ee79d1aa JR |
10123 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
10124 | ||
10125 | * w32term.h (ClipboardSequence_Proc): New type. | |
10126 | ||
10127 | * w32fns.c (clipboard_sequence_fn): New variable. | |
10128 | (globals_of_w32fns): Initialize it. | |
10129 | ||
10130 | * w32select.c (last_clipboard_sequence_number): New variable. | |
10131 | (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence | |
10132 | number if possible. | |
10133 | ||
49723c04 SM |
10134 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
10135 | ||
4698665f SM |
10136 | * m/amdx86-64.h (MARKBIT): |
10137 | * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare | |
10138 | MARKBIT and ARRAY_MARK_FLAG any more. | |
10139 | ||
10140 | * m/hp800.h (XSETMARKBIT): | |
10141 | * m/sr2k.h (XSETMARKBIT): | |
10142 | * lisp.h (XSETMARKBIT): Remove unused macro. | |
10143 | ||
49723c04 SM |
10144 | * lisp.h (mark_object): Change prototype. |
10145 | ||
10146 | * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. | |
10147 | (last_marked): Change accordingly. | |
10148 | (mark_interval, mark_maybe_object, mark_maybe_pointer) | |
10149 | (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) | |
10150 | (mark_buffer): Update calls to mark_object. | |
10151 | ||
10152 | * bytecode.c (mark_byte_stack): | |
10153 | * fns.c (sweep_weak_table): | |
10154 | * keyboard.c (mark_kboards): Update calls to mark_object. | |
10155 | ||
1d660eca JR |
10156 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
10157 | ||
10158 | * alloc.c (struct ablock): Only include padding when there is some. | |
10159 | ||
618b5ae4 SM |
10160 | 2003-07-04 Stefan Monnier <monnier@cs.yale.edu> |
10161 | ||
10162 | * alloc.c (ALIGN): Add casts to simplify usage. | |
10163 | (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) | |
10164 | (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. | |
10165 | (struct ablock, struct ablocks): New types. | |
10166 | (free_ablock): New global var. | |
10167 | (lisp_align_malloc, lisp_align_free): New functions. | |
10168 | (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. | |
10169 | (struct float_block): Reorder and add gcmarkbits. | |
10170 | (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) | |
10171 | (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. | |
10172 | (init_float, make_float): Use lisp_align_malloc. | |
10173 | (free_float, live_float_p): Don't use `type' any more. | |
10174 | (make_float): Use FLOAT_UNMARK to access to mark bit. | |
10175 | (mark_maybe_object, mark_maybe_pointer, survives_gc_p): | |
10176 | Use FLOAT_MARKED_P to access the mark bit. | |
10177 | (pure_alloc): Simplify use of ALIGN. | |
10178 | (mark_object): Use FLOAT_MARK to access the mark bit. | |
10179 | (gc_sweep): Use new macros to access the float's mark bit. | |
10180 | (init_alloc_once): Init free_ablock. | |
10181 | ||
10182 | * lisp.h (struct Lisp_Float): Remove unused field `type'. | |
10183 | ||
3ef06d12 SM |
10184 | 2003-06-27 Stefan Monnier <monnier@cs.yale.edu> |
10185 | ||
10186 | * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. | |
10187 | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). | |
10188 | (allocate_buffer): Move. | |
10189 | (string_bytes): Don't mask markbit of `size_byte'. | |
10190 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
10191 | (mark_object, mark_buffer, survives_gc_p, gc_sweep): | |
10192 | Use the `size' field of buffers (rather than the `name' field) for | |
10193 | the mark bit, as is done for all other vectorlike objects. | |
10194 | Use the new macros to access the mark bit of vectorlike objects. | |
10195 | ||
e81043aa RS |
10196 | 2003-06-26 Richard M. Stallman <rms@gnu.org> |
10197 | ||
10198 | * puresize.h (BASE_PURESIZE): Increment base size. | |
10199 | ||
10200 | * xdisp.c (fast_find_position): Enable Gerd's new definition. | |
10201 | ||
10202 | * xterm.c (xim_initialize): Undo previous change. | |
10203 | ||
2d0834cc SM |
10204 | 2003-06-26 Stefan Monnier <monnier@cs.yale.edu> |
10205 | ||
10206 | * alloc.c (survives_gc_p): Simplify. | |
10207 | ||
10208 | * buffer.c (set_buffer_internal_1): Test CONSP for lists. | |
10209 | ||
10210 | * window.c (Fset_window_dedicated_p): Simplify. | |
10211 | (display_buffer_1): Don't raise the win from which minibuf was entered. | |
10212 | (temp_output_buffer_show): Don't assume BEG == 1. Simplify. | |
10213 | (Fminibuffer_selected_window): Simplify. | |
10214 | ||
10215 | * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. | |
10216 | ||
10217 | * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. | |
10218 | (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. | |
10219 | ||
10220 | * insdel.c (check_markers, adjust_markers_for_delete) | |
10221 | (adjust_markers_for_insert, adjust_markers_for_replace) | |
10222 | (prepare_to_modify_buffer, RESTORE_VALUE): | |
10223 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) | |
10224 | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) | |
10225 | (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): | |
10226 | * alloc.c (Fmake_marker, free_marker, gc_sweep): | |
10227 | * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): | |
10228 | * editfns.c (save_excursion_restore, transpose_markers): | |
10229 | * window.c (delete_window): | |
10230 | * xdisp.c (message_dolog): Update for new types. | |
10231 | ||
d54ae3d8 JD |
10232 | 2003-06-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10233 | ||
a5f696ac JD |
10234 | * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. |
10235 | (realize_default_face): Use default_face_done_p for the force_p | |
2d0834cc | 10236 | argument to set_lface_from_font_name. Set default_face_done_p to one. |
a5f696ac JD |
10237 | |
10238 | * frame.c (make_frame): Initialize default_face_done_p. | |
10239 | ||
10240 | * frame.h (struct frame): Add default_face_done_p. | |
10241 | ||
d54ae3d8 JD |
10242 | * config.in: Add XRegisterIMInstantiateCallback_arg6 so it |
10243 | will be defined. | |
10244 | ||
2336fe58 SM |
10245 | 2003-06-25 Stefan Monnier <monnier@cs.yale.edu> |
10246 | ||
10247 | * alloc.c (make_interval, Fmake_symbol, allocate_misc): | |
10248 | Initialize the new field `gcmarkbit'. | |
10249 | (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. | |
10250 | (mark_interval_tree): Don't mark the tree separately from the nodes. | |
10251 | (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. | |
10252 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
10253 | (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. | |
10254 | ||
10255 | * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) | |
10256 | (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) | |
10257 | (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) | |
10258 | (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) | |
10259 | (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. | |
10260 | ||
bcea31c2 DL |
10261 | 2003-06-24 Dave Love <fx@gnu.org> |
10262 | ||
10263 | * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. | |
10264 | ||
10265 | * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes | |
10266 | from gnulib. | |
10267 | ||
2601f59e RS |
10268 | 2003-06-21 Richard M. Stallman <rms@gnu.org> |
10269 | ||
10270 | * fileio.c (Fwrite_region): Alternate messages | |
10271 | for append and partial write. | |
10272 | ||
10273 | * keyboard.c (read_key_sequence): When converting upcase fn key to | |
10274 | downcase, update fkey and keytran so `backspace' gets translated. | |
10275 | ||
10276 | * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. | |
10277 | ||
10278 | * process.c (wait_reading_process_input): Don't signal SIGIO | |
10279 | in batch mode. | |
10280 | ||
b5d2c621 KH |
10281 | 2003-06-17 Kenichi Handa <handa@m17n.org> |
10282 | ||
10283 | * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, | |
10284 | composite.h. | |
10285 | ||
10286 | * xselect.c: Don't include charset.h, coding.h, composite.h. | |
10287 | (Qforeign_selection): New variable. | |
10288 | (syms_of_xselect): Intern and static it. | |
10289 | (selection_data_to_lisp_data): Return a unibyte string made from | |
10290 | data with `foreign-selection' text property. | |
10291 | ||
6793bc63 SM |
10292 | 2003-06-15 Stefan Monnier <monnier@cs.yale.edu> |
10293 | ||
10294 | * termhooks.h (EVENT_INIT): New macro. | |
10295 | ||
10296 | * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. | |
10297 | ||
10298 | * alloc.c (mark_kboards): Move to keyboard.c. | |
10299 | ||
10300 | * keyboard.c (record_asynch_buffer_change, read_avail_input): | |
10301 | * xterm.c (x_dispatch_event): | |
10302 | * xmenu.c (find_and_call_menu_selection): | |
10303 | * xdisp.c (handle_tool_bar_click): | |
10304 | * w32menu.c (menubar_selection_callback): | |
10305 | * sysdep.c (kbd_input_ast, read_input_waiting): | |
10306 | * msdos.c (dos_rawgetc): | |
10307 | * macterm.c (mac_check_for_quit_char): | |
10308 | * macmenu.c (menubar_selection_callback): | |
10309 | * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized | |
10310 | data to kbd_buffer_store_event. | |
10311 | ||
b3ea810c KS |
10312 | 2003-06-15 Kim F. Storm <storm@cua.dk> |
10313 | ||
10314 | * xdisp.c (x_fix_overlapping_area): Always use area relative X | |
6793bc63 | 10315 | to fix redisplay problem with tall characters (such as \e,AC\e(B). |
b3ea810c | 10316 | |
b8f75eda KG |
10317 | 2003-06-13 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
10318 | ||
10319 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | |
10320 | ||
ba92ce48 KH |
10321 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
10322 | ||
10323 | * fileio.c (Fwrite_region): Save and restore restriction. | |
10324 | ||
b80263be DL |
10325 | 2003-06-12 Dave Love <fx@gnu.org> |
10326 | ||
10327 | * alloca.c (alloca): Declare arg as size_t. | |
10328 | ||
6793bc63 SM |
10329 | * sysdep.c: Remove redundant include of unistd.h, stdlib.h. |
10330 | Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. | |
b80263be | 10331 | |
b23c0a83 DL |
10332 | 2003-06-11 Dave Love <fx@gnu.org> |
10333 | ||
10334 | * search.c (shrink_regexp_cache): Use xrealloc. | |
10335 | (syms_of_search): Use xmalloc. | |
10336 | ||
700e47c2 KS |
10337 | 2003-06-10 Kim F. Storm <storm@cua.dk> |
10338 | ||
10339 | * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. | |
10340 | Adjust phys_cursor.x to be relative to window box, rather than | |
10341 | text area before checking -- to ensure cursor is redrawn when | |
10342 | exposing window. | |
10343 | Note: This also fixes a similar (older) bug if display margins | |
10344 | are present. | |
10345 | ||
f11aa0b2 KH |
10346 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
10347 | ||
10348 | * coding.c (encoding_buffer_size): If coding->type is | |
10349 | coding_type_ccl, double magnification on CRLF encoding. | |
10350 | ||
3d143690 JR |
10351 | 2003-06-06 Jason Rumney <jasonr@gnu.org> |
10352 | ||
10353 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. | |
10354 | (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. | |
10355 | ||
10356 | * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and | |
10357 | Mac too. | |
10358 | ||
f16205ca DL |
10359 | 2003-06-05 Dave Love <fx@gnu.org> |
10360 | ||
b23c0a83 DL |
10361 | * strftime.c: Merge changes from gnulib. |
10362 | ||
f16205ca DL |
10363 | * mktime.c (__mktime_internal): Merge changes from gnulib |
10364 | involving year 69 and dst2. | |
10365 | ||
10366 | Changes to merge with gnulib version and be consistent with the | |
10367 | autoconf test: | |
10368 | ||
6793bc63 SM |
10369 | * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. |
10370 | Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. | |
f16205ca DL |
10371 | [HAVE_LOCALE_H]: Include locale.h. |
10372 | (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. | |
10373 | ||
9b87a0bc KS |
10374 | 2003-06-05 Kim F. Storm <storm@cua.dk> |
10375 | ||
10376 | * window.c (coordinates_in_window): Convert X and Y to window | |
10377 | relative coordinates inside mode-line and header-line parts. | |
10378 | Convert X and Y to margin area relative coordinates inside left | |
10379 | and right display margin parts. | |
10380 | ||
5a8a15ec JR |
10381 | 2003-06-05 Jason Rumney <jasonr@gnu.org> |
10382 | ||
10383 | * w32fns.c (add_system_logical_colors_to_map): New function. | |
10384 | (Fx_open_connection): Use it. | |
10385 | ||
01ed8ff1 SM |
10386 | 2003-06-04 Stefan Monnier <monnier@cs.yale.edu> |
10387 | ||
10388 | * process.c (allocate_pty): Revert part of the previous patch. | |
10389 | (Faccept_process_output): Simplify. | |
10390 | ||
b427b65d JR |
10391 | 2003-06-04 Jason Rumney <jasonr@gnu.org> |
10392 | ||
10393 | * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. | |
10394 | ||
10395 | * keyboard.c (Qmouse_wheel, mouse_wheel_syms) | |
10396 | (lispy_mouse_wheel_names): Remove. | |
10397 | (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. | |
10398 | Always define drag_and_drop_syms. | |
10399 | ||
10400 | * macterm.c (XTread_socket): Map mouse wheel events to Emacs | |
10401 | WHEEL_EVENT events. | |
10402 | ||
914a8c47 SM |
10403 | 2003-06-03 Stefan Monnier <monnier@cs.yale.edu> |
10404 | ||
01ed8ff1 SM |
10405 | * xdisp.c (update_tool_bar): Add missing UNGCPRO. |
10406 | ||
914a8c47 SM |
10407 | * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. |
10408 | ||
adcb132c JD |
10409 | 2003-06-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10410 | ||
10411 | * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL | |
10412 | menu item label. | |
10413 | ||
be781fa7 RS |
10414 | 2003-06-03 Richard M. Stallman <rms@gnu.org> |
10415 | ||
10416 | * window.c (Fwindow_edges): Doc fix. | |
10417 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
10418 | (Fwindow_inside_pixel_edges): New functions. | |
10419 | (syms_of_window): defsubr them. | |
10420 | ||
10421 | * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | |
10422 | (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. | |
10423 | ||
914a8c47 SM |
10424 | 2003-06-02 Stefan Monnier <monnier@cs.yale.edu> |
10425 | ||
10426 | * dispnew.c (Fsit_for): Don't lie about the number of args. | |
10427 | ||
5b07197a DL |
10428 | 2003-06-02 Dave Love <fx@gnu.org> |
10429 | ||
10430 | * callproc.c: Use HAVE_FCNTL_H, not USG5. | |
10431 | (syms_of_callproc) <process-environment>: Doc fix. | |
10432 | ||
10433 | * doc.c: Use HAVE_FCNTL_H, not USG5. | |
10434 | ||
10435 | * xfaces.c (font_rescale_ratio): Fix for K&R. | |
10436 | ||
10437 | * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. | |
10438 | ||
10439 | * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. | |
10440 | ||
10441 | * lread.c [HAVE_FCNTL_H]: Include fcntl.h. | |
10442 | ||
10443 | * gtkutil.c: Include keyboard.h, charset.h, coding.h. | |
10444 | (xg_create_frame_widgets): Use ENCODE_UTF_8. | |
10445 | ||
d7107586 | 10446 | * xterm.c (Qutf_8): Move to coding.c |
5b07197a DL |
10447 | |
10448 | * xmenu.c (ENCODE_MENU_STRING): New. | |
10449 | (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): | |
10450 | Use it. | |
10451 | ||
10452 | * coding.h (ENCODE_UTF_8): New. | |
10453 | (Qutf_8): Declare. | |
10454 | ||
10455 | * coding.c (Qutf_8): New. | |
10456 | (syms_of_coding): Intern it. | |
10457 | ||
10458 | * fns.c: Doc fixes. | |
10459 | ||
7335b336 KH |
10460 | 2003-06-02 Kenichi Handa <handa@m17n.org> |
10461 | ||
10462 | * buffer.c (Fset_buffer_multibyte): Fix previous change. | |
10463 | ||
914a8c47 SM |
10464 | 2003-06-01 Stefan Monnier <monnier@cs.yale.edu> |
10465 | ||
10466 | * lread.c (openp): Make sure STR is a string. | |
10467 | ||
9862c135 JR |
10468 | 2003-06-01 David Ponce <david@dponce.com> |
10469 | ||
cab27d04 | 10470 | * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. |
9862c135 JR |
10471 | Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. |
10472 | ||
10473 | * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. | |
10474 | (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. | |
10475 | (discard_mouse_events): Discard WHEEL_EVENT events too. | |
10476 | (lispy_wheel_names, wheel_syms): New. | |
10477 | (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and | |
cab27d04 | 10478 | staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. |
914a8c47 | 10479 | (make_lispy_event): Add WHEEL_EVENT handler. |
9862c135 JR |
10480 | |
10481 | * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. | |
10482 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
10483 | WHEEL_EVENT events. | |
10484 | ||
f984e73e JPW |
10485 | 2003-05-31 John Paul Wallington <jpw@gnu.org> |
10486 | ||
10487 | * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and | |
10488 | timer are in lisp/emacs-lisp. | |
10489 | ||
1efcd78f KH |
10490 | 2003-05-31 Kenichi Handa <handa@m17n.org> |
10491 | ||
458c8af4 KH |
10492 | * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed |
10493 | region when a buffer is changed to unibyte. | |
10494 | ||
1efcd78f KH |
10495 | * charset.h (VALID_LEADING_CODE_P): New macro. |
10496 | (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. | |
10497 | ||
778e2804 KH |
10498 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags |
10499 | is nonzero, accept multibyte form of eight-bit-control chars. | |
10500 | (decode_composition_emacs_mule): Likewise. | |
10501 | (decode_coding_emacs_mule): Likewise. | |
10502 | (encode_coding_emacs_mule): If coding->flags is nonzero, produce | |
10503 | multibyte form of eight-bit-control chars. | |
10504 | ||
10505 | * fileio.c (Qauto_save_coding, auto_save_coding): New variables. | |
10506 | (Finsert_file_contents): If coding-system-for-read is bound to | |
10507 | Qauto_save_coding, use the coding system emacs-mule with special | |
10508 | setting for recovering a file. | |
10509 | (choose_write_coding_system): On auto saving, use the coding | |
10510 | system emacs-mule with special setting for auto saving. | |
10511 | (syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it. | |
10512 | ||
034060e4 KH |
10513 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
10514 | ||
10515 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
10516 | properly before calling ccl_driver. | |
10517 | ||
778e2804 | 10518 | * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. |
034060e4 | 10519 | |
cab27d04 | 10520 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. |
034060e4 KH |
10521 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. |
10522 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
10523 | ||
595f5aa5 GM |
10524 | 2003-05-29 Glenn Morris <gmorris@ast.cam.ac.uk> |
10525 | ||
10526 | * xfaces.c (realize_default_face): Do not abort if lface is | |
10527 | non-existent - reverts change from 2003-05-19. | |
10528 | ||
103e0180 KH |
10529 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
10530 | ||
10531 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
10532 | sequence of CTEXT extended segment, and retain those bytes as is. | |
10533 | ||
10534 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
10535 | ||
cab27d04 | 10536 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change |
103e0180 KH |
10537 | of CODING_REPLACEMENT_CHARACTER. |
10538 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
10539 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
10540 | check this flag on encoding. | |
cab27d04 SM |
10541 | (encode_coding_sjis_big5): |
10542 | Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
10543 | (Fset_terminal_coding_system_internal): | |
10544 | Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
10545 | instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. | |
10546 | ||
10547 | * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from | |
103e0180 KH |
10548 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
10549 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
10550 | ||
ff6a3bfb | 10551 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 10552 | |
ff6a3bfb RS |
10553 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
10554 | ||
10555 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 10556 | |
1963c428 KS |
10557 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
10558 | ||
10559 | * xdisp.c (expose_window): Fix error in calculation of | |
10560 | window relative coordinates of area to redisplay. | |
10561 | ||
2b5d4601 JR |
10562 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
10563 | ||
10564 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
10565 | ||
1c64a4a2 JB |
10566 | 2003-05-27 David Ponce <david@dponce.com> |
10567 | ||
10568 | Handle W32 mouse wheel events as mouse click events, like in X. | |
10569 | ||
10570 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
10571 | MOUSE_WHEEL_EVENT anymore. | |
10572 | ||
10573 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
10574 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
10575 | button 4 and 5. | |
10576 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
10577 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
10578 | WM_MOUSEWHEEL events. | |
10579 | ||
2d031b89 AS |
10580 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
10581 | ||
20464fdf AS |
10582 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
10583 | ||
2d031b89 AS |
10584 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
10585 | partially visible line. | |
10586 | ||
10587 | * alloc.c (Fgarbage_collect): Fix last change. | |
10588 | ||
97bc76d4 JPW |
10589 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
10590 | ||
10591 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
10592 | ||
56613f06 SM |
10593 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
10594 | ||
10595 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
10596 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
10597 | ||
10598 | * window.h (window_box_text_cols): Declare. | |
10599 | ||
10600 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
10601 | (x_draw_vertical_border): Remove unused var `f'. | |
10602 | ||
10603 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
10604 | pixel_size' warning. | |
10605 | ||
10606 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
10607 | ||
10608 | * unexelf.c (unexec): Remove `unused var n' warning. | |
10609 | ||
10610 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
10611 | unused' warning. | |
10612 | ||
10613 | * process.c (allocate_pty): Remove `unused var stb' and | |
10614 | `cp might be used uninitialized' warnings. | |
10615 | ||
10616 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
10617 | ||
10618 | * coding.c (find_safe_codings): Remove unused var `i'. | |
10619 | ||
10620 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
10621 | ||
10622 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
10623 | ||
10624 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
10625 | ||
93421a1f JD |
10626 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10627 | ||
10628 | * frame.c (make_frame): Condition want_fullscreen with | |
10629 | HAVE_WINDOW_SYSTEM. | |
10630 | ||
c4b8aebc JB |
10631 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
10632 | ||
10633 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
10634 | (Fwindow_scroll_bars): Fix typo in docstring. | |
10635 | ||
0416870b KS |
10636 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
10637 | ||
10638 | The following changes serve several purposes: | |
10639 | ||
10640 | 1) Swap the position of fringes and display margins in windows, i.e. | |
10641 | the fringes are now displayed between the margins and the text area | |
10642 | (by default). | |
10643 | ||
10644 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
10645 | per-window (like display margins). Such settings are now stored | |
10646 | in window configurations, preserved when frames are resized, and | |
9018a88e | 10647 | copied when windows are split vertically or horizontally. |
0416870b KS |
10648 | Several bugs related to display margins have been fixed. |
10649 | ||
10650 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 10651 | |
0416870b KS |
10652 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
10653 | rather than FRAME_WIDTH (FRAME_FONT (f)). | |
10654 | ||
10655 | 5) Introduce a consistent naming of variables, members and macros | |
10656 | depending on whether their value is measured in pixels or in | |
10657 | canonical columns/lines. Pixel dimensions are named *_width and | |
10658 | *_height, while canonical columns/lines are named *_cols and | |
10659 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
10660 | positions are named *_col and *_line. | |
10661 | ||
10662 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
10663 | common data into struct frame, and generalize it for the non-gui | |
10664 | case by using suitable defaults. | |
10665 | ||
10666 | 7) Cleanup and consolidate the macros controlling frame and window | |
10667 | layout into frame.h and window.h, and generalize the use of the | |
10668 | various window_box_* functions (enhanced to handle the new fringe | |
10669 | position and the per-window fringe and scroll bar settings). | |
10670 | ||
10671 | * frame.h (struct frame): Rename members height to text_lines, | |
10672 | width to text_cols, window_height to total_lines, window_width to | |
10673 | total_cols, new_height to new_text_lines, new_width to | |
10674 | new_text_cols. All uses changed. | |
10675 | (struct frame): New members which consolidate common members of | |
10676 | x_output, w32_output, and mac_output structures: left_pos, | |
10677 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
10678 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
10679 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
10680 | want_fullscreen. All uses changed. | |
10681 | (struct frame): New member column_width contaning the canonical | |
10682 | column width, analogue to line_height. All uses changed. | |
10683 | (struct frame): Rename members scroll_bar_pixel_width to | |
10684 | config_scroll_bar_width, and scroll_bar_cols to | |
10685 | config_scroll_bar_cols. All uses changed. | |
10686 | (struct frame): New member scroll_bar_actual_width which | |
10687 | consolidates and renames the vertical_scroll_bar_extra member of | |
10688 | x_output, w32_output, and mac_output structures. All uses changed. | |
cab27d04 | 10689 | (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved |
0416870b KS |
10690 | from x/w32/macterm.h files. All uses changed. Also change code |
10691 | which referred to f->output_data...->pixel_height. | |
cab27d04 | 10692 | (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved |
f63fd14e | 10693 | from x/w32/macterm.h files. All uses changed. Also change code |
0416870b | 10694 | which referred to f->output_data...->pixel_width. |
cab27d04 | 10695 | (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. |
0416870b | 10696 | Also change code which referred to f->height. |
cab27d04 | 10697 | (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. |
0416870b KS |
10698 | Also change code which referred to f->width. |
10699 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
10700 | to update new_text_lines and new_text_cols members directly. | |
cab27d04 | 10701 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from |
0416870b | 10702 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. |
cab27d04 | 10703 | (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from |
0416870b KS |
10704 | FRAME_SCROLL_BAR_COLS. All uses changed. |
10705 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
cab27d04 | 10706 | Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and |
0416870b KS |
10707 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. |
10708 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
10709 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
cab27d04 SM |
10710 | (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. |
10711 | (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. | |
10712 | (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. | |
0416870b KS |
10713 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. |
10714 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
cab27d04 SM |
10715 | (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. |
10716 | Unconditionally return line_height member (it now has proper value | |
10717 | also for non-window frames). | |
10718 | (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally | |
0416870b KS |
10719 | return new column_width member (rather than the default font width). |
10720 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
cab27d04 | 10721 | (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved |
0416870b KS |
10722 | from x/w32/macterm.h files. Unconditionally return corresponding |
10723 | member of frame structure (they now have proper values also for | |
10724 | non-window frames). | |
cab27d04 | 10725 | (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. |
0416870b KS |
10726 | Calculate return value from left and right widths. |
10727 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
10728 | internal_border_width member (has proper value for non-window frame). | |
cab27d04 SM |
10729 | (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. |
10730 | (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. | |
10731 | (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. | |
10732 | (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. | |
10733 | (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, | |
0416870b | 10734 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 10735 | (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, |
0416870b | 10736 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 10737 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from |
0416870b | 10738 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 10739 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from |
0416870b | 10740 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. |
cab27d04 | 10741 | (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW |
0416870b | 10742 | consolidated from x/mac/w32term.h. |
cab27d04 | 10743 | (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL |
0416870b | 10744 | consolidated from x/mac/w32term.h. |
cab27d04 | 10745 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from |
0416870b | 10746 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 10747 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from |
0416870b KS |
10748 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. |
10749 | ||
10750 | * window.h (struct window): Rename members left to left_col, | |
10751 | top to top_line, height to total_lines, width to total_cols, | |
10752 | left_margin_width to left_margin_cols, right_margin_width to | |
10753 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
10754 | orig_top_line. All uses changed. | |
10755 | (struct window): New members left_fringe_width, right_fringe_width, | |
10756 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
10757 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
10758 | New macros primarily used to simplify other macros. | |
10759 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
10760 | referred to XINT (w->width). | |
10761 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
10762 | referred to XINT (w->height). | |
10763 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
10764 | referred to XINT (w->width) * canon_x_unit. | |
10765 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
10766 | referred to XINT (w->height) * canon_y_unit. | |
10767 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
10768 | referred to XINT (w->left). | |
cab27d04 | 10769 | (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change |
0416870b KS |
10770 | all uses and code that referred to XINT (w->left) + XINT (w->width). |
10771 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
10772 | referred to XINT (w->top). | |
10773 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
10774 | referred to XINT (w->top) + XINT (w->height). | |
10775 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
10776 | referred to XINT (w->left) * canon_x_unit. | |
10777 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
10778 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
10779 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
10780 | referred to XINT (w->top) * canon_y_unit. | |
10781 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
10782 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
10783 | (WINDOW_LEFTMOST_P): New macro. | |
cab27d04 | 10784 | (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. |
0416870b | 10785 | All uses changed. |
cab27d04 | 10786 | (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. |
0416870b | 10787 | All uses changed. |
cab27d04 | 10788 | (WINDOW_BOX_LEFT_EDGE_X): Rename from |
0416870b KS |
10789 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. |
10790 | Do not exclude left fringe width. | |
cab27d04 | 10791 | (WINDOW_BOX_RIGHT_EDGE_X): Rename from |
0416870b KS |
10792 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. |
10793 | Do not exclude fringe widths. | |
10794 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
10795 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
10796 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
10797 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
10798 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
10799 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
10800 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
10801 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
10802 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
10803 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
10804 | New macros. Change code which referenced corresponding | |
10805 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
10806 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
10807 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
10808 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
10809 | allow per-window scroll-bar settings. | |
10810 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
10811 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
10812 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
10813 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
10814 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
10815 | FRAME_SCROLL_BAR_WIDTH. | |
10816 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 10817 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
cab27d04 | 10818 | (WINDOW_HEADER_LINE_HEIGHT): Rename from |
0416870b | 10819 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
cab27d04 | 10820 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from |
0416870b | 10821 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. |
cab27d04 | 10822 | (WINDOW_BOX_TEXT_HEIGHT): Rename from |
0416870b KS |
10823 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. |
10824 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
10825 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
cab27d04 SM |
10826 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. |
10827 | (WINDOW_LEFT_MARGIN_WIDTH): Rename from | |
0416870b | 10828 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
cab27d04 | 10829 | (WINDOW_RIGHT_MARGIN_WIDTH): Rename from |
0416870b KS |
10830 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
10831 | (window_from_coordinates): Update prototype. | |
10832 | (Fset_window_buffer): Update EXFUN. | |
10833 | (set_window_buffer): Update prototype. | |
9018a88e | 10834 | |
0416870b | 10835 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 10836 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
10837 | changed. |
10838 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
10839 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
10840 | internal_border_width is now set to 0 for non-window frames. | |
10841 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
10842 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
10843 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
10844 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
10845 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
10846 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
10847 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
10848 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
10849 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 10850 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
10851 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
10852 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
10853 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
10854 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
10855 | (frame_update_line_height): Remove prototype. |
10856 | ||
10857 | * buffer.h (struct buffer): Rename members measured in columns: | |
10858 | left_margin_width to left_margin_cols, right_margin_width to | |
10859 | right_margin_cols. All uses changed. | |
10860 | New members left_fringe_width, right_fringe_width, | |
10861 | fringes_outside_margins for per-buffer fringe settings. | |
10862 | New members scroll_bar_width and vertical_scroll_bar_type for | |
10863 | per-buffer scroll bar settings. | |
10864 | ||
10865 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
10866 | buffer_local_flags for new buffer-local variables | |
10867 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
10868 | scroll_bar_width, and vertical_scroll_bar_type. | |
10869 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
10870 | default-* variables for them. | |
10871 | ||
10872 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
10873 | new macros in dispextern.h, frame.h and window.h. | |
10874 | (mode_line_string): No need to adjust width for mode lines, as it | |
10875 | is already adjusted by the caller. | |
10876 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 10877 | |
0416870b KS |
10878 | * frame.c: Make (many) trivial substitutions for renamed and |
10879 | new macros in dispextern.h, frame.h and window.h. | |
10880 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
10881 | fringe_cols, scroll_bar_actual_width, border_width, | |
10882 | internal_border_width, column_width, line_height, x_pixels_diff, | |
10883 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
10884 | members with values suitable for a non-window frames. | |
10885 | ||
10886 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
10887 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 10888 | |
0416870b KS |
10889 | * indent.c: Make (few) trivial substitutions for renamed and |
10890 | new macros in dispextern.h, frame.h and window.h. | |
10891 | ||
10892 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
10893 | new macros in dispextern.h, frame.h and window.h. | |
10894 | (make_lispy_event): Use window positions returned from | |
10895 | window_from_coordinates when constructing the lisp event for | |
10896 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
10897 | (incorrect) values locally. | |
10898 | (make_lispy_movement): Use window positions returned from | |
10899 | window_from_coordinates when constructing the lisp event, rather | |
10900 | than calculating (incorrect) values locally. | |
10901 | ||
10902 | * scroll.c: Make (some) trivial substitutions for renamed and | |
10903 | new macros in dispextern.h, frame.h and window.h. | |
10904 | ||
10905 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
10906 | scroll-bars. | |
10907 | ||
10908 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
10909 | new macros in dispextern.h, frame.h and window.h. | |
10910 | ||
10911 | * term.c: Make (some) trivial substitutions for renamed and | |
10912 | new macros in dispextern.h, frame.h and window.h. | |
10913 | ||
10914 | * widget.c: Make (few) trivial substitutions for renamed and | |
10915 | new macros in dispextern.h, frame.h and window.h. | |
10916 | ||
10917 | * window.c: Make (many) trivial substitutions for renamed and | |
10918 | new macros in dispextern.h, frame.h and window.h. | |
10919 | (make_window): Initialize new members | |
10920 | left_margin_cols, right_margin_cols, left_fringe_width, | |
10921 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
10922 | and vertical_scroll_bar_type. | |
cab27d04 | 10923 | (coordinates_in_window): Adapt to new fringe/margin positions |
9018a88e | 10924 | and per-window fringes and scroll-bars. |
0416870b | 10925 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 10926 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
10927 | the internal_border_width is typically 0 or 1 pixel, but very |
10928 | noticeable for an internal_border_width of e.g. 25 pixels). | |
10929 | Upon successful return (other than ON_NOTHING), the coordinates | |
10930 | are now always properly converted to window relative for the | |
10931 | given display element. | |
10932 | (window_from_coordinates): Add new parameters wx and wy to | |
10933 | return the window relative x and y position in the returned | |
10934 | window and part. A null arg means, don't return the position. | |
10935 | All callers changed. | |
10936 | (adjust_window_margins): New function which may reduce the width | |
10937 | of the display margins if a window's text area is too small after | |
10938 | resizing or splitting windows. | |
10939 | (size_window): Fix bug that did not account for display margin | |
10940 | widths when checking the minimum width of a window; use | |
10941 | adjust_window_margins. | |
10942 | (set_window_buffer): Call Fset_window_fringes and | |
10943 | Fset_window_scroll_bars to setup per-window elements. | |
10944 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
10945 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
10946 | (e.g. after splitting a window or resizing the frame). |
10947 | All callers changed. | |
0416870b KS |
10948 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
10949 | (Fsplit_window): Duplicate original window's display margin, | |
10950 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
10951 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
10952 | window to only preserve the display margins in one of the windows. | |
c4b8aebc | 10953 | When splitting horizontally, call adjust_window_margins on both |
0416870b | 10954 | windows to ensure that the text area of the new windows is non too |
f9711de4 | 10955 | narrow. This fixes a bug which could cause Emacs to trap if the |
0416870b KS |
10956 | width of the split window was less than the width of the display |
10957 | margins. | |
cab27d04 | 10958 | (window_box_text_cols): Rename from window_internal_width. |
9018a88e | 10959 | All uses changed. Adapt to per-window fringes and scroll bars. |
0416870b KS |
10960 | Fix bug that caused vertical separator to be subtracted also on |
10961 | window frames. Fix another bug that did not reduce the returned | |
10962 | value by the columns used for display margins. | |
10963 | (window_scroll_line_based): Fix bug related to scrolling too much | |
10964 | when display margins are present (implicitly fixed by the fix to | |
10965 | window_box_text_cols). | |
10966 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
10967 | by default when display margins are present (implicitly fixed by | |
10968 | the fix to window_box_text_cols). | |
10969 | (struct saved_window): Rename members left to left_col, top to | |
10970 | top_line, width to total_cols, height to total_lines, orig_top to | |
10971 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
10972 | New members left_margin_cols, right_margin_cols, | |
10973 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
10974 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
10975 | per-window display elements. | |
10976 | (Fset_window_configuration): Restore display margins, fringes, | |
10977 | and scroll bar settings. This fixes a bug which caused display | |
10978 | margins to be discarded when saving and restoring a window | |
10979 | configuration. | |
10980 | (save_window_save): Save display margins, fringes, and scroll bar | |
10981 | settings. This fixes a bug which caused display margins to be | |
10982 | discarded when saving and restoring a window configuration. | |
10983 | (Fset_window_margins): Do nothing if display margins are not | |
10984 | really changed. Otherwise, call adjust_window_margins to ensure | |
10985 | the text area doesn't get too narrow. This fixes a bug which | |
f9711de4 | 10986 | could cause Emacs to trap if setting display margins wider than |
0416870b KS |
10987 | the width of the window. |
10988 | (Fset_window_fringes): New defun to allow user to specifically set | |
10989 | this window's fringe widths and position vs. display margins. | |
cab27d04 | 10990 | (Fwindow_fringes): New defun to return window's actual fringe settings. |
0416870b KS |
10991 | (Fset_window_scroll_bars): New defun to allow user to specifically |
10992 | set this window's scroll bar width and position. | |
10993 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
10994 | bar settings. | |
10995 | (compare_window_configurations): Also compare display margins, | |
10996 | fringes, and scroll bar settings. | |
10997 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
10998 | ||
10999 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
11000 | new macros in dispextern.h, frame.h and window.h. | |
11001 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
f63fd14e | 11002 | and new fringe vs. display margin position. Note that returned |
0416870b KS |
11003 | value is no longer guaranteed to be a whole multiple of the frame |
11004 | column width, since per-window fringes may now be any width. | |
11005 | (window_box_left_offset): New function like window_box_left, but | |
11006 | value is relative to left border of window (rather than frame). | |
11007 | (window_box_right_offset): New function like window_box_right, | |
11008 | but value is relative to left border of window. | |
11009 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
11010 | and new fringe vs. display margin position. Simplify by using | |
11011 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
11012 | (window_box): Allow null args for unnecessary return values; | |
11013 | change/simplify relevant callers. | |
11014 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
11015 | and new fringe vs. display margin position. |
11016 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 11017 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
11018 | scroll bars, and new fringe vs. display margin position. |
11019 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
11020 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
11021 | fringe vs. display margin position. | |
11022 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
a64387ee JB |
11023 | (redisplay_window): Adapt to per-window scroll bars. |
11024 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
11025 | bars, and new fringe vs. display margin position. |
11026 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
a64387ee | 11027 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
0416870b KS |
11028 | bars, and new fringe vs. display margin position. Fix bug which |
11029 | increased total width of full_width rows by width of scroll bars | |
11030 | although window's total width already includes that. | |
11031 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
11032 | (expose_area): Simplify using window_box_left_offset. | |
11033 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
11034 | mixing windows with left, right and no scroll bars. | |
11035 | ||
11036 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
11037 | where it's used in x_list_fonts (for clarity). | |
11038 | (frame_update_line_height): Remove unused function; functionality | |
11039 | is now done directly when setting the default font in x_set_font. | |
11040 | ||
11041 | * xfns.c: Make (many) trivial substitutions for renamed and | |
11042 | new macros in dispextern.h, frame.h and window.h. | |
11043 | ||
11044 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
11045 | new macros in dispextern.h, frame.h and window.h. | |
11046 | ||
11047 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
11048 | border_width, pixel_height, pixel_width, line_height, | |
11049 | internal_border_width, vertical_scroll_bar_extra, | |
11050 | left_fringe_width, right_fringe_width, fringe_cols, | |
11051 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
11052 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
11053 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
11054 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
11055 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
11056 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 11057 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
11058 | frame.h and renamed [see frame.h changes]. |
11059 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
11060 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 11061 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 11062 | and renamed [see frame.h changes]. |
9018a88e | 11063 | |
0416870b KS |
11064 | * xterm.c: Make (several) trivial substitutions for renamed and |
11065 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 11066 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
11067 | (scroll_run): Adapt to new fringe position. |
11068 | (glyph_rect): Use window coordinates returned from | |
11069 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
11070 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
11071 | scroll-bars. | |
11072 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
11073 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
11074 | (fringes are now inside margins, i.e. always in the clipping area). | |
11075 | All callers changed. | |
11076 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
11077 | directly, then call compute_fringe_widths. Don't call | |
11078 | frame_update_line_height. | |
11079 | ||
11080 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
11081 | border_width, pixel_height, pixel_width, line_height, | |
11082 | internal_border_width, vertical_scroll_bar_extra, | |
11083 | left_fringe_width, right_fringe_width, fringe_cols, | |
11084 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
11085 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
11086 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
11087 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
11088 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
11089 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 11090 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
11091 | frame.h and renamed [see frame.h changes]. |
11092 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
11093 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 11094 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 11095 | and renamed [see frame.h changes]. |
9018a88e | 11096 | |
0416870b KS |
11097 | * w32term.c: Make (several) trivial substitutions for renamed and |
11098 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 11099 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
11100 | (glyph_rect): Use window coordinates returned from |
11101 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
11102 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
11103 | scroll-bars. | |
11104 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
11105 | (fringes are now inside margins, i.e. always in the clipping area). | |
11106 | All callers changed. | |
11107 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
11108 | directly, then call compute_fringe_widths. Don't call | |
11109 | frame_update_line_height. | |
11110 | ||
11111 | * w32console.c: Make (few) trivial substitutions for renamed and | |
11112 | new macros in dispextern.h, frame.h and window.h. | |
11113 | ||
11114 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
11115 | new macros in dispextern.h, frame.h and window.h. | |
11116 | ||
11117 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
11118 | new macros in dispextern.h, frame.h and window.h. | |
11119 | ||
11120 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
11121 | border_width, pixel_height, pixel_width, line_height, | |
11122 | internal_border_width, vertical_scroll_bar_extra, | |
11123 | left_fringe_width, right_fringe_width, fringe_cols, | |
11124 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
11125 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
11126 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
11127 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
11128 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
11129 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 11130 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
11131 | frame.h and renamed [see frame.h changes]. |
11132 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
11133 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 11134 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 11135 | and renamed [see frame.h changes]. |
9018a88e | 11136 | |
0416870b KS |
11137 | * macterm.c: Make (several) trivial substitutions for renamed and |
11138 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 11139 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
11140 | (glyph_rect): Use window coordinates returned from |
11141 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
11142 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
11143 | scroll-bars. | |
11144 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
11145 | (fringes are now inside margins, i.e. always in the clipping area). | |
11146 | All callers changed. | |
11147 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
11148 | directly, then call compute_fringe_widths. Don't call | |
11149 | frame_update_line_height. | |
11150 | ||
11151 | * macfns.c: Make (several) trivial substitutions for renamed and | |
11152 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 11153 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
11154 | |
11155 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
11156 | new macros in dispextern.h, frame.h and window.h. | |
11157 | ||
11158 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
11159 | and line_height, and use corresponding new members in struct | |
11160 | frame. All uses changed. | |
11161 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
11162 | superseeded by corresponding macros in frame.h. | |
11163 | ||
11164 | * msdos.c: Make (several) trivial substitutions for renamed and | |
11165 | new macros in dispextern.h, frame.h and window.h. | |
11166 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 11167 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
11168 | (internal_terminal_init): No need to initialize line_height here; |
11169 | it now defaults to 1. | |
11170 | ||
9018a88e SM |
11171 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
11172 | ||
11173 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
11174 | dropping `down' events. | |
11175 | ||
016bd3c0 AS |
11176 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
11177 | ||
11178 | * coding.c (find_safe_codings): Fix last change. | |
11179 | ||
4dacadcc TTN |
11180 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
11181 | ||
11182 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
11183 | ||
319830ce SM |
11184 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
11185 | ||
9018a88e SM |
11186 | * xdisp.c (display_mode_element): Increase max depth. |
11187 | Simplify the error handling code. Use a different error string | |
11188 | for the case where we hit the depth limit. | |
11189 | ||
319830ce SM |
11190 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
11191 | ||
11192 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
11193 | ||
11194 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
11195 | ||
11196 | * intervals.c (get_local_map): Don't get char-property of previous | |
11197 | point any more: get_pos_property already does it and better. | |
11198 | ||
c67de8ba DL |
11199 | 2003-05-21 Dave Love <fx@gnu.org> |
11200 | ||
11201 | [Merged from unicode branch.] | |
11202 | ||
11203 | * xfns.c (x_window, x_window): Use use_xim. | |
11204 | ||
11205 | * xterm.c (use_xim): Initialize. | |
11206 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
11207 | (x_term_init): Maybe set use_xim. | |
11208 | ||
11209 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
11210 | ||
edd3ff1d JR |
11211 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
11212 | ||
11213 | * unexw32.c (_start): Remove _fmode initialization. | |
11214 | ||
11215 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
11216 | ||
463f55ee DL |
11217 | 2003-05-20 Dave Love <fx@gnu.org> |
11218 | ||
11219 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
11220 | ||
af253914 RS |
11221 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
11222 | ||
11223 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
11224 | as value for QCfont attribute. | |
11225 | (realize_default_face): lface should already exist; crash if not. | |
11226 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
11227 | ||
11228 | * frame.c (Fignore_event): Doc fix. | |
11229 | ||
1d211019 KH |
11230 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
11231 | ||
11232 | * coding.c (decode_coding_string): Handle post-read-conversion | |
11233 | even if the coding doesn't require decoding. | |
11234 | ||
4dd68254 RS |
11235 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
11236 | ||
11237 | * callproc.c (Fcall_process_region): Doc fix. | |
11238 | ||
14d87dc9 SM |
11239 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
11240 | ||
deca5d96 SM |
11241 | * lread.c (Fload): Print a message if package is obsolete. |
11242 | ||
14d87dc9 SM |
11243 | * window.c (Fselect_window): Add optional `norecord' arg. |
11244 | (select_window_1): Fold into Fselect_window. | |
11245 | (select_window_norecord): New function. | |
11246 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
11247 | ||
11248 | * window.h (Fselect_window): Update declaration. | |
11249 | ||
11250 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
11251 | * minibuf.c (read_minibuf): | |
11252 | * macterm.c (x_new_focus_frame): | |
11253 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
11254 | * callint.c (Fcall_interactively): | |
11255 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
11256 | ||
11257 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
11258 | ||
78f52183 DK |
11259 | 2003-05-17 David Kastrup <dak@gnu.org> |
11260 | ||
11261 | * process.c (read_process_output): Back out change from 2003-03-09. | |
11262 | ||
14d87dc9 SM |
11263 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
11264 | ||
11265 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
11266 | ||
11267 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
11268 | ||
11269 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
11270 | (get_pos_property): Declare. | |
11271 | ||
11272 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
11273 | stickiness and empty overlays. | |
11274 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
11275 | (merge_properties, intervals_equal, merge_properties_sticky): | |
11276 | Use XCAR, XCDR. | |
11277 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
11278 | ||
1fd1cc2f RS |
11279 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
11280 | ||
4f9f637a RS |
11281 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
11282 | in the history. | |
11283 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
11284 | of its real position. | |
11285 | ||
11286 | * fns.c (map_char_table): Fix previous change. | |
11287 | ||
1fd1cc2f RS |
11288 | * syntax.c (find_defun_start): |
11289 | When open_paren_in_column_0_is_defun_start, | |
11290 | return beginning of buffer. | |
11291 | ||
11292 | * lisp.h (map_char_table): Declare added arg. | |
11293 | ||
11294 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
11295 | All calls changed. | |
11296 | Process default and inheritance, resorting to Faref if necessary. | |
11297 | ||
11298 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
11299 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
11300 | ||
11301 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
11302 | ||
11303 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
11304 | ||
11305 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
11306 | ||
11307 | * lisp.h (specbinding_func): New typedef. | |
11308 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
11309 | in the right place. | |
11310 | ||
11311 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
11312 | to avoid GCC warning. | |
14d87dc9 | 11313 | |
b6189c3b | 11314 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> |
b4bd27c5 | 11315 | |
14d87dc9 | 11316 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 11317 | |
35fb885d SM |
11318 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
11319 | ||
11320 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
11321 | ||
9a274fbd SM |
11322 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
11323 | ||
c55b5fad SM |
11324 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
11325 | ||
9a274fbd SM |
11326 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
11327 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
11328 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
11329 | (Fset_window_configuration, Fcurrent_window_configuration) | |
11330 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
11331 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
11332 | (window_internal_height, window_internal_width, Frecenter) | |
11333 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
11334 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
11335 | (syms_of_window, keys_of_window): Move from lisp.h. | |
11336 | * lisp.h: Move window.c declarations to window.h. | |
11337 | ||
11338 | * bytecode.c: Include window.h. | |
11339 | * emacs.c: Include window.h. | |
11340 | ||
14d87dc9 | 11341 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
11342 | (keyremap): Add `parent' field. |
11343 | (keyremap_step): Use it. Remove `parent' argument. | |
11344 | (read_key_sequence): Setup and use the new `parent' field. | |
11345 | ||
fd93e331 SM |
11346 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
11347 | ||
11348 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
11349 | ||
1c4001a1 SM |
11350 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
11351 | ||
11352 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
11353 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
11354 | duplicated handling of function-key-map and key-translation-map | |
11355 | in read_key_sequence. | |
11356 | (read_key_sequence): Use them. | |
11357 | ||
11358 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
11359 | to the non-sticky end of an invisible property. | |
11360 | ||
11361 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
11362 | property intangible as well. | |
11363 | ||
780379b1 AS |
11364 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
11365 | ||
11366 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
11367 | avoid warning. | |
11368 | ||
ca2de342 RS |
11369 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
11370 | ||
11371 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
11372 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
11373 | Rename local `tem' to `save_deactivate_mark'. | |
11374 | ||
11375 | * eval.c (specpdl_ptr): Declare volatile. | |
11376 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
11377 | before doing the work of unbinding it. | |
11378 | ||
11379 | * lisp.h (struct specbinding): Declare elements volatile. | |
11380 | (specpdl_ptr): Declare volatile. | |
11381 | ||
11382 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
11383 | ||
11384 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
11385 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
11386 | ||
347003be DL |
11387 | 2003-05-08 Dave Love <fx@gnu.org> |
11388 | ||
11389 | * coding.c (Vlast_coding_system_used): Doc fix. | |
11390 | ||
5adcec23 JR |
11391 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
11392 | ||
11393 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
11394 | when system does not support them. | |
11395 | ||
5fe3b8a4 SM |
11396 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
11397 | ||
11398 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
11399 | (build_annotations): Use it to process the global part of the hook. | |
11400 | (syms_of_fileio): Init and staticpro it. | |
11401 | ||
11402 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
11403 | silently ignoring the error. | |
11404 | ||
11405 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
11406 | ||
11407 | * keyboard.c (input_available_signal): Mark static. | |
11408 | (menu_bar_items): Use map_keymap. | |
11409 | (menu_bar_one_keymap): Remove. | |
11410 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
11411 | Properly hide a second binding when not both are keymaps. | |
11412 | ||
11413 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
11414 | (single_keymap_panes): Use it and map_keymap. | |
11415 | (single_menu_item): Use skp as well. | |
11416 | ||
11417 | * keymap.h (map_keymap_function_t): New type. | |
11418 | (map_keymap): Declare. | |
11419 | ||
11420 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
11421 | (map_keymap_call, Fmap_keymap): New functions. | |
11422 | (syms_of_keymap): Defsubr map-keymap. | |
11423 | ||
4b1b4443 JD |
11424 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11425 | ||
11426 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
11427 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
11428 | ..._with_mnemonic functions for menu items. | |
11429 | ||
1f816871 KH |
11430 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
11431 | ||
11432 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
11433 | function. | |
11434 | (find_safe_codings): Pay attention to | |
11435 | the property tranlsation-table-for-encode of each codings. | |
11436 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
11437 | ||
5ed6ba5b SM |
11438 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
11439 | ||
11440 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
11441 | ||
32c06229 SM |
11442 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
11443 | ||
11444 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
11445 | ||
11446 | * lisp.h (CHECK): Wrap args in parenthesis. | |
11447 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
11448 | ||
11449 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
11450 | Use Fprogn rather than 0 and Qnil. | |
11451 | ||
11452 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
11453 | `double', and `triple' modifiers as well. | |
11454 | ||
ed3c3314 RS |
11455 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
11456 | ||
11457 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
11458 | ||
11459 | * alloc.c (abort_on_gc): New variable. | |
11460 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
11461 | ||
11462 | * lisp.h (abort_on_gc): Add decl. | |
11463 | ||
11464 | * eval.c (Fsignal): Clear abort_on_gc. | |
11465 | ||
11466 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 11467 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
11468 | |
11469 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
11470 | even if nlines is 0. | |
11471 | ||
11472 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
11473 | even if redisplay is suspended by input. | |
11474 | ||
0b325c12 AC |
11475 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
11476 | ||
11477 | * macterm.c (x_list_fonts): Return all fonts that match if | |
11478 | maxnames = -1. | |
11479 | ||
4e837cd0 KH |
11480 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
11481 | ||
11482 | * syntax.c (skip_chars): Fix previous change. | |
11483 | ||
9af7511a KH |
11484 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
11485 | ||
11486 | * syntax.c (skip_chars): Make the code faster by using the common | |
11487 | technique of *p, *stop, and *endp. | |
11488 | ||
e3b2c21f JD |
11489 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11490 | ||
11491 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 11492 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
11493 | being updated. |
11494 | ||
32c06229 SM |
11495 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
11496 | ||
11497 | * eval.c (Fapply): Undo last change and add a comment about why. | |
11498 | ||
c6464167 MB |
11499 | 2003-04-18 Miles Bader <miles@gnu.org> |
11500 | ||
11501 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
11502 | pickier PARSE_MULTIBYTE_SEQ. | |
11503 | ||
e509f168 SM |
11504 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
11505 | ||
11506 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
11507 | Use XCDR, XCAR, CONSP. | |
11508 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
11509 | (Fapply): Remove unnecessary GCPRO. | |
11510 | ||
11511 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
11512 | ||
11513 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
11514 | ||
11515 | * buffer.h: Don't hardcode BEG==1. | |
11516 | ||
11517 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
11518 | ||
5ceea398 RS |
11519 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
11520 | ||
11521 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
11522 | When at end of window, set window_end_pos to Z-ZV. | |
11523 | ||
11524 | * buffer.c (Foverlay_recenter): Doc fix. | |
11525 | ||
e509f168 SM |
11526 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
11527 | ||
11528 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
11529 | ||
d243e605 AC |
11530 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
11531 | ||
11532 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
11533 | once a second. | |
11534 | ||
6901b111 SM |
11535 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
11536 | ||
11537 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
11538 | specially, so that they can't hide an implicit switch-frame event. | |
11539 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
11540 | (head_table): Use switch-frame as event_kind for select-window. | |
11541 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
11542 | ||
11543 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
11544 | (format2): Remove unused var numargs. | |
11545 | ||
e301806f | 11546 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 11547 | |
6901b111 | 11548 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
11549 | (Qafter_insert_file_set_coding): New variable. |
11550 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
11551 | for after-insert-file-adjust-coding-function. | |
11552 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
11553 | instead of Vafter_insert_file_adjust_coding_function. | |
11554 | ||
38914424 KH |
11555 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
11556 | ||
11557 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
11558 | ||
11559 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
11560 | string. Callers changed. | |
11561 | ||
11562 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 11563 | |
6901b111 | 11564 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 11565 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
11566 | (Finsert_file_contents): |
11567 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
11568 | decode-format. |
11569 | ||
f979dc05 JD |
11570 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11571 | ||
11572 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
11573 | get GtkAdjustment as widget now is a GtkRange. | |
11574 | ||
11575 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
11576 | GtkRange to avoid memory leak. | |
11577 | ||
f8c6b4c2 | 11578 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 11579 | |
50ebc53d KH |
11580 | * xfaces.c (Vface_font_rescale_alist): New variable. |
11581 | (struct font_name): New member rescale_ratio. | |
11582 | (font_rescale_ratio): New function. | |
6901b111 | 11583 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
11584 | (better_font_p): On comparing point sized, pay attention to |
11585 | recale_ratio member of fonts. | |
11586 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
11587 | font name. | |
6901b111 | 11588 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 11589 | |
cb98871c KH |
11590 | * lread.c (read1): Before calling index, check if the 2nd |
11591 | arguemnt is in ASCII range. | |
11592 | ||
4773b8ca RS |
11593 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
11594 | ||
b0ada147 RS |
11595 | * fileio.c (Ffile_symlink_p): Doc fix. |
11596 | ||
11597 | * editfns.c (Fformat): Translate positions of text properties | |
11598 | in the format string to apply them to the result. | |
11599 | ||
4773b8ca RS |
11600 | * fileio.c (Finsert_file_contents): Doc fix. |
11601 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
11602 | ||
11603 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 11604 | |
4773b8ca RS |
11605 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
11606 | ||
e8f25745 | 11607 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 11608 | |
e8f25745 ST |
11609 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
11610 | that self-contained application finds libexec files. | |
11611 | ||
f8c6b4c2 | 11612 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 11613 | |
6901b111 SM |
11614 | * coding.c (code_convert_region_unwind): |
11615 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
11616 | (code_convert_region): If post-read-conversion function changed |
11617 | the value of last-coding-sytem, keep the new value in | |
11618 | coding->symbol so that it won't be overridden. | |
11619 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
11620 | (coding_system_accept_latin_extra_p): New function. |
11621 | (find_safe_codings): Pay attention to characters registered in | |
11622 | latin-extra-code-table. | |
2310d84c | 11623 | |
39c9a034 TTN |
11624 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
11625 | ||
11626 | * Makefile.in (md5.o): Add missing dependency info. | |
11627 | ||
eb67c5d6 RS |
11628 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
11629 | ||
11630 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
11631 | ||
11632 | * marker.c (verify_bytepos): New function. | |
11633 | ||
11634 | * intervals.c (set_intervals_multibyte_1): When becoming | |
11635 | multibyte, adjust right and left child sizes to a whole set of | |
11636 | characters. If an interval gets zero total-length, delete it. | |
11637 | If an interval consists of just its children, delete one of them. | |
11638 | ||
11639 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
11640 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 11641 | |
52eb0373 | 11642 | * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. |
eb67c5d6 RS |
11643 | All calls deleted. |
11644 | (lisp_malloc): Do the work here directly. | |
11645 | ||
b1f81fc5 JB |
11646 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
11647 | ||
11648 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
11649 | char tables. | |
11650 | ||
11651 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
11652 | |
11653 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
11654 | destructively change "%S" to "%s". | |
11655 | ||
774666fb MB |
11656 | 2003-04-03 Miles Bader <miles@gnu.org> |
11657 | ||
11658 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
11659 | always set. | |
11660 | ||
19c37f01 DL |
11661 | 2003-04-01 Dave Love <fx@gnu.org> |
11662 | ||
11663 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
11664 | ||
2f4b24c3 AC |
11665 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
11666 | ||
11667 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
11668 | parent window ID. | |
11669 | ||
11670 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
11671 | ||
11672 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
11673 | y_pixels_diff. | |
b1f81fc5 | 11674 | |
9443fcf6 JB |
11675 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
11676 | ||
11677 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
11678 | blockinput.h and files included from it. | |
11679 | ||
e072891b KS |
11680 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
11681 | ||
11682 | The following changes consolidates the common code related to | |
11683 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
11684 | files into frame.c. | |
9443fcf6 | 11685 | |
e072891b KS |
11686 | * frame.c: Include blockinput.h. |
11687 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
11688 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
11689 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
11690 | related vars here. | |
11691 | (struct frame_parm_table, frame_parms): New table for describing | |
11692 | frame parameters and their associated Q-variable. | |
11693 | The order of the parameters corresponds to the sequence of the | |
11694 | frame_parm_handlers table in redisplay_interface. | |
11695 | (x_fullscreen_move, x_set_frame_parameters) | |
11696 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
11697 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
11698 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
11699 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
11700 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
11701 | Generic functions for processing of frame parameters. | |
11702 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
11703 | (display_x_get_resource, x_get_resource_string): Functions for | |
11704 | generic access to X resources. | |
11705 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
11706 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
11707 | access to frame parameters. | |
6901b111 SM |
11708 | (x_figure_window_size): Generic calculation of frame size. |
11709 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
11710 | (syms_of_frame): Intern and staticpro frame parameter variables. |
11711 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
11712 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 11713 | |
e072891b KS |
11714 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
11715 | parameter related vars defined in frame.c. | |
11716 | (EMACS_CLASS): Define here. | |
11717 | (enum FULLSCREEN_*): Define here. | |
11718 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
11719 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
11720 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
11721 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
11722 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
11723 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
11724 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
11725 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
11726 | (x_figure_window_size): Add prototypes. | |
11727 | ||
11728 | * dispextern.h (frame_parm_handler): New typedef. | |
11729 | (struct redisplay_interface): New member frame_parm_handlers. | |
11730 | (enum resource_types): Move declaration here. | |
11731 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
11732 | (x_default_parameter): Add prototypes. | |
11733 | ||
11734 | * window.c: Remove extern decl for frame parameter vars. | |
11735 | (change_window_heights): New generic function; | |
11736 | replaces x_change_window_heights. All users changed. | |
11737 | ||
11738 | * window.h (change_window_heights): Add prototype. | |
11739 | ||
11740 | * xfaces.c: Remove extern decl for frame parameter vars. | |
11741 | ||
11742 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
11743 | (struct w32_display_info): Fix type of xrdb member. | |
11744 | (enum FULLSCREEN_*): Remove. | |
11745 | Remove prototypes for generic functions (in frame.h). | |
11746 | ||
11747 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
11748 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 11749 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
11750 | (enum x_frame_parms): Remove (bogus, unused enum). |
11751 | (check_x_display_info): Make non-static (for frame.c). | |
11752 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
11753 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
11754 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
11755 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
11756 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
11757 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
11758 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
11759 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
11760 | Remove. Use generic functions instead. | |
11761 | (enum resource_types): Remove. | |
11762 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
11763 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
11764 | toolbar and setup size_hint_flags. | |
11765 | (x_frame_parm_handlers): New table for redisplay_interface. | |
11766 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 11767 | |
e072891b | 11768 | * xterm.c: Remove unnecessary extern declarations. |
f63fd14e | 11769 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
11770 | (x_redisplay_interface): Add x_frame_parm_handlers member. |
11771 | ||
11772 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
11773 | ||
11774 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
11775 | (struct w32_display_info): Fix type of xrdb member. | |
11776 | (enum FULLSCREEN_*): Remove. | |
11777 | (x_fullscreen_adjust): Remove prototype. | |
11778 | ||
11779 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
11780 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 11781 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
11782 | (enum x_frame_parms): Remove (bogus, unused enum). |
11783 | (check_x_display_info): Make non-static (for frame.c). | |
11784 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
11785 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
11786 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
11787 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
11788 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
11789 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
11790 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
11791 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
11792 | Remove. Use generic functions instead. | |
11793 | (enum resource_types): Remove. | |
11794 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
11795 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
11796 | toolbar and setup size_hint_flags. | |
11797 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
11798 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 11799 | |
e072891b | 11800 | * w32term.c: Remove unnecessary extern declarations. |
52eb0373 | 11801 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
11802 | (x_redisplay_interface): Add w32_frame_parm_handlers member. |
11803 | ||
11804 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
11805 | ||
11806 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
11807 | ||
11808 | * macterm.h (EMACS_CLASS): Remove. | |
11809 | (struct mac_display_info): Add xrdb member. | |
11810 | (struct mac_output): Add want_fullscreen member. | |
11811 | ||
11812 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
11813 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 11814 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
11815 | (check_x_display_info): Make non-static (for frame.c). |
11816 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
11817 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
11818 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
11819 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
11820 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
11821 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
11822 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
11823 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
11824 | Remove. Use generic functions instead. | |
11825 | (enum resource_types): Remove. | |
11826 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
11827 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
11828 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 11829 | |
e072891b KS |
11830 | * macterm.c: Remove unnecessary extern declarations. |
11831 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
11832 | ||
3e6a560b KS |
11833 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
11834 | included from it (atimer.h and systime.h). | |
11835 | ||
7b7b454e AS |
11836 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
11837 | ||
11838 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
11839 | parameters for shift_glyphs_for_insert. | |
11840 | ||
11841 | * macterm.c (x_redisplay_interface): Add missing entry for | |
11842 | draw_vertical_window_border. | |
11843 | ||
beb402de KG |
11844 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
11845 | ||
11846 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
11847 | expanding, look again for a handler and invoke it. This is needed | |
11848 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
11849 | expansion produces "/user@host:/bar/../baz" which needs to be | |
11850 | expanded again for the finame result "/user@host:/baz". | |
11851 | ||
b676f356 JD |
11852 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11853 | ||
11854 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
11855 | of area to be redrawn for better performance. | |
11856 | ||
3c671a56 SM |
11857 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
11858 | ||
11859 | * xterm.c (take_vertical_position_into_account): Remove. | |
11860 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
11861 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
11862 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
11863 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
11864 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
11865 | (XTread_socket): Remove unused var. | |
11866 | (x_make_frame_invisible): Replace goto with else. | |
11867 | ||
11868 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
11869 | (redisplay_window): Use it. | |
11870 | ||
84f2e615 RS |
11871 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
11872 | ||
11873 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
11874 | update_mode_lines is set. Set w->update_mode_line | |
11875 | only if the tool bar contents actually change. | |
11876 | (update_menu_bar): Undo previous change. | |
11877 | ||
70b6104c JD |
11878 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11879 | ||
5fd6f727 JD |
11880 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
11881 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
11882 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
11883 | (xg_separator_p): Check for all documented separator types. | |
11884 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
11885 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
11886 | ||
70b6104c JD |
11887 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
11888 | so tool bar gets updated. | |
11889 | ||
d9b36d19 SM |
11890 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
11891 | ||
11892 | * data.c (store_symval_forwarding): Re-instate part of the code | |
11893 | that was deleted with too much enthusiasm. | |
11894 | ||
11895 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
11896 | ||
11897 | * data.c (store_symval_forwarding): Delete special read-only | |
11898 | hack for type == -1, since we now use ->constant instead. | |
11899 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
11900 | ||
11901 | * buffer.c (overlays_in): Declare static. | |
11902 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
11903 | `constant' field rather than the variable's `type' field. | |
11904 | ||
365fa1b3 AC |
11905 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
11906 | ||
11907 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
11908 | ||
11909 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
11910 | ||
11911 | * fns.c [MAC_OSX]: Do not redefine vector. | |
11912 | ||
11913 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
11914 | ||
11915 | * macgui.h: Remove definition of No_Cursor. | |
11916 | ||
d9b36d19 | 11917 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
11918 | |
11919 | * xdisp.c: Define No_Cursor. | |
11920 | (x_write_glyphs, notice_overwritten_cursor) | |
11921 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
11922 | (note_mouse_highlight): Remove Mac-specific code. | |
11923 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 11924 | |
c0bcce6f JPW |
11925 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
11926 | ||
11927 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
11928 | empty, then redisplay it like other windows. | |
11929 | ||
a526b96c KS |
11930 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
11931 | ||
11932 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
11933 | ||
37ab321e KH |
11934 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
11935 | ||
a526b96c KS |
11936 | * alloc.c (make_string_from_bytes, make_specified_string): |
11937 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
11938 | |
11939 | * lisp.h (make_string_from_bytes, make_specified_string): | |
11940 | Prototypes adjusted. | |
11941 | ||
7863d625 JD |
11942 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11943 | ||
a526b96c | 11944 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif |
fd4c9408 | 11945 | |
7863d625 JD |
11946 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
11947 | (XG_SB_RANGE): New define. | |
11948 | ||
11949 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
11950 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
11951 | expose events. | |
11952 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
11953 | of scroll bar including borders. | |
11954 | Clear left and right part outside scroll bar separately as some | |
11955 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 11956 | Don't set reallocate_redraws, don't call |
7863d625 JD |
11957 | gdk_window_process_all_updates. |
11958 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
11959 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
11960 | ||
d9b36d19 SM |
11961 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
11962 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
11963 | xg_update_scrollbar_pos. |
11964 | ||
af0ad939 TTN |
11965 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
11966 | ||
11967 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
11968 | ||
b22139fd KS |
11969 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
11970 | ||
11971 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
11972 | Add generic versions here. Remove system specific versions | |
11973 | defined elsewhere. | |
11974 | ||
11975 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
11976 | Add prototypes. | |
11977 | ||
6e6410cf KS |
11978 | * xterm.h (STORE_NATIVE_RECT): New macro. |
11979 | ||
5c9cc435 KS |
11980 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
11981 | ||
00c64fab SM |
11982 | * xdisp.c (get_glyph_string_clip_rect): |
11983 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
11984 | |
11985 | * dispextern.h (struct redisplay_interface): Add active_p | |
11986 | argument to draw_window_cursor member. All uses changed. | |
11987 | ||
acd37560 KS |
11988 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
11989 | ||
11990 | The following changes consolidate code related to writing and | |
11991 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
11992 | the output cursor, and help echo from xterm.c, w32term.c and | |
11993 | macterm.c into xdisp.c. It also generalizes the use of the | |
11994 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 11995 | |
acd37560 KS |
11996 | * xdisp.c: Consolidate gui-independent code here. |
11997 | Include keymap.h. | |
11998 | (Qhelp_echo): Import. | |
11999 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
12000 | (help_echo_string, help_echo_window, help_echo_object) | |
12001 | (previous_help_echo_string, help_echo_pos): Declare here. | |
12002 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
12003 | (estimate_mode_line_height): Define here. Handle windowing | |
12004 | systems directly (without using estimate_mode_line_height_hook). | |
12005 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
12006 | (update_window_cursor, update_cursor_in_window_tree) | |
12007 | (fast_find_position, fast_find_string_pos) | |
12008 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
12009 | (expose_area, expose_line, expose_overlaps, expose_window) | |
12010 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
12011 | declared static as they are only used locally in xdisp.c. | |
12012 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
12013 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
12014 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
12015 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 12016 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
12017 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
12018 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
12019 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
12020 | (note_mouse_highlight, x_clear_window_mouse_face) | |
12021 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
12022 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
12023 | and GUI front-ends. | |
12024 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
12025 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
12026 | ||
12027 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
12028 | (NativeRectangle): Generic typedef for rectangle type. | |
12029 | (enum window_part): Move here from window.c. | |
12030 | (struct redisplay_interface): New members flush_display_optional, | |
12031 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
12032 | draw_vertical_window_border, shift_glyphs_for_insert. | |
12033 | Rename member clear_mouse_face to clear_window_mouse_face. | |
12034 | (estimate_mode_line_height_hook): Remove hook. | |
12035 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
12036 | (tool_bar_item_info): Remove prototype. | |
12037 | (help_echo_string, help_echo_window, help_echo_object) | |
12038 | (previous_help_echo_string, help_echo_pos) | |
12039 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
12040 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
12041 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
12042 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
12043 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
12044 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
12045 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
12046 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
12047 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
12048 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
12049 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
12050 | Add prototypes. | |
12051 | (mode_line_string, marginal_area_string): Fix prototypes. | |
12052 | ||
12053 | * window.c (enum window_part): Move to dispextern.h. | |
12054 | (coordinates_in_window): Use enum window_part member names | |
12055 | instead of numbers to describe return value. | |
12056 | (struct check_window_data): Change part member to window_part. | |
12057 | (check_window_containing): Return window_part unaltered. | |
12058 | (window_from_coordinates): Change part arg from int to enum | |
12059 | window_part. Allow part arg to be null. All users changed. | |
12060 | ||
12061 | * window.h (window_from_coordinates): Fix prototype. | |
12062 | ||
12063 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
12064 | ||
12065 | * keyboard.c (make_lispy_event): Use enum window_part. | |
12066 | ||
12067 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
12068 | window_part instead of int in arg list. Users changed. | |
12069 | ||
12070 | * xterm.h (No_Cursor): Declare as None for X. | |
12071 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 12072 | |
acd37560 KS |
12073 | * xterm.c: Remove consolidated defines and code. |
12074 | (BETWEEN): Remove unused macro. | |
12075 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
12076 | (x_define_frame_cursor, x_clear_frame_area) | |
12077 | (x_draw_window_cursor): New X-specific functions for RIF. | |
12078 | (x_redisplay_interface): Add new members. | |
12079 | ||
12080 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
12081 | ||
12082 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
12083 | ||
12084 | * w32term.c: Remove consolidated defines and code. | |
12085 | (BETWEEN): Remove unused macro. | |
12086 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
12087 | (w32_define_frame_cursor, w32_clear_frame_area) | |
12088 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
12089 | (w32_redisplay_interface): Add new members. | |
12090 | ||
a64387ee | 12091 | * w32gui.h (No_Cursor): Define as 0 for W32. |
acd37560 KS |
12092 | (XRectangle): Add X compatible rectangle type. |
12093 | (NativeRectangle): Declare as RECT for W32. | |
12094 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
12095 | ||
12096 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
12097 | ||
12098 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 12099 | |
acd37560 KS |
12100 | * msdos.h (Display_Info): Add generic typedef. |
12101 | ||
12102 | * msdos.c: Remove consolidated defines and code. | |
12103 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
12104 | ||
12105 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
12106 | hand_cursor. | |
12107 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
12108 | ||
12109 | * macterm.c: Remove consolidated defines and code. | |
12110 | (BETWEEN): Remove unused macro. | |
12111 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
12112 | (mac_define_frame_cursor, mac_clear_frame_area) | |
12113 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
12114 | (x_redisplay_interface): Add new members. | |
12115 | ||
12116 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
12117 | (XRectangle): Add X compatible rectangle type. | |
12118 | (NativeRectangle): Declare as Rect for Mac. | |
12119 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
12120 | ||
204ccab1 KS |
12121 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
12122 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 12123 | |
9443fcf6 | 12124 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
12125 | included from it. Add dependency on keymap.h. |
12126 | ||
12127 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
12128 | ||
8ba01a70 | 12129 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
12130 | |
12131 | * fileio.c (Fexpand_file_name): Fix previous change. | |
12132 | ||
8ba01a70 | 12133 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
12134 | |
12135 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
12136 | make_specified_string. | |
12137 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
12138 | (Fdirectory_file_name, Fexpand_file_name) | |
12139 | (Fsubstitute_in_file_name): Likewise. | |
12140 | (Fread_file_name): Compare decoded homedir with DIR and | |
12141 | DEFAULT_FILENAME. | |
12142 | ||
12143 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
12144 | the number of characters. | |
12145 | ||
19536747 JD |
12146 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12147 | ||
de38ae5a JD |
12148 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
12149 | all widgets. | |
12150 | ||
19536747 JD |
12151 | * gtkutil.h: Removed xg_ignore_next_thumb. |
12152 | ||
37ab321e | 12153 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
12154 | |
12155 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
12156 | (Vcoding_system_safe_chars): New variable. | |
12157 | (intersection): Remove this function. | |
12158 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
12159 | all codings in SAFE_CODINGS. | |
00c64fab | 12160 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
12161 | find_safe_codings. Get generic coding systems from |
12162 | Vcoding_system_safe_chars. | |
12163 | (Fdefine_coding_system_internal): New function. | |
12164 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
12165 | Initialize and staticpro Vcoding_system_safe_chars. | |
12166 | ||
17097258 JD |
12167 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12168 | ||
2a2071c3 JD |
12169 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
12170 | equal old values before updating. | |
12171 | ||
17097258 JD |
12172 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
12173 | ||
12174 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
12175 | ||
12176 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
12177 | ||
12178 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
12179 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
12180 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
12181 | (scroll_bar_button_cb): Set bar->dragging to NIL on button release. | |
12182 | (xg_create_scroll_bar): Pass bar to button event callback. | |
12183 | (xg_find_top_left_in_fixed): New function. | |
12184 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
12185 | whole scroll bar area. Get old position with | |
12186 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
12187 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
12188 | dragging is in progress. Calculate whole as for Motif. | |
12189 | Remove code that saved last values. Call gtk_range functions to | |
12190 | set scroll bar sizes. | |
12191 | ||
12192 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
12193 | ||
8cb9dfbf JB |
12194 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
12195 | ||
12196 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
12197 | and files included from it. | |
12198 | ||
00c64fab SM |
12199 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
12200 | ||
12201 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
12202 | multiple occurrences of the same keymap under different prefixes. | |
12203 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
12204 | ||
c45bb3b2 JR |
12205 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
12206 | ||
12207 | * w32gui.h: Use HDC for Display. | |
12208 | ||
12209 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
12210 | crashing Emacs. | |
12211 | ||
12212 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
12213 | as binary. | |
12214 | ||
2a6d0874 JB |
12215 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
12216 | ||
12217 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
12218 | ||
03eb5fab KS |
12219 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
12220 | ||
12221 | The following changes consolidate some of the gui-independent | |
12222 | parts of the processing and drawing of "glyph strings" from | |
12223 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 12224 | |
03eb5fab KS |
12225 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
12226 | 21 bits (this reduces number of faces from 4M to 2M). | |
12227 | Replace W32 specific w32_font_type member (2 bits) by generic | |
12228 | font_type member (3 bits) for portability. | |
12229 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
12230 | (enum draw_glyphs_face): Define here. | |
12231 | (struct glyph_string): Define here. Merge W32 and X versions. | |
12232 | (struct redisplay_interface): New members per_char_metric, | |
12233 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
12234 | (VCENTER_BASELINE_OFFSET): Define here. | |
12235 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
12236 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
12237 | ||
12238 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
12239 | (dump_glyph_string): Moved here. | |
12240 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
12241 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
12242 | (fill_composite_glyph_string, fill_glyph_string) | |
12243 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
12244 | (left_overwritten, left_overwriting, right_overwritten) | |
12245 | (right_overwriting, get_char_face_and_encoding) | |
12246 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
12247 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
12248 | (take_vertical_position_into_account, append_stretch_glyph) | |
12249 | (produce_stretch_glyph): New generic functions (based on X version). | |
12250 | Call platform specific functions through rif. | |
12251 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
12252 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
12253 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
12254 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
12255 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
12256 | (notice_overwritten_cursor): | |
12257 | Generic functions exported to platform modules. Users changed. | |
12258 | ||
12259 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
12260 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
12261 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 12262 | New macros for consolidated code. |
2a6d0874 | 12263 | |
03eb5fab KS |
12264 | * xterm.c: Remove consolidated defines and code. |
12265 | (x_per_char_metric, x_encode_char) | |
12266 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
12267 | (x_redisplay_interface): Add new members. | |
12268 | ||
12269 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
12270 | (XChar2b): Define alias for wchar_t for consolidation. | |
12271 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
12272 | ||
12273 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 12274 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
12275 | New macros for consolidation. |
12276 | ||
fad49844 | 12277 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
12278 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
12279 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
12280 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
12281 | (w32_encode_char): Return int according to RIF requirements. | |
12282 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
12283 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
12284 | x_get_glyph_overhangs. | |
12285 | (w32_redisplay_interface): Add new members. | |
12286 | ||
12287 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
12288 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
12289 | ||
12290 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
12291 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
12292 | consolidation. | |
12293 | ||
12294 | * macterm.c: Remove consolidated defines and code. | |
12295 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 12296 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
12297 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
12298 | (x_redisplay_interface): Add new members. | |
12299 | ||
00c64fab SM |
12300 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
12301 | ||
12302 | * keymap.c (Vmenu_events): New var. | |
12303 | (syms_of_keymap): Initialize it. | |
12304 | (where_is_internal): Check more carefully what is a menu event. | |
12305 | ||
225c7a07 RS |
12306 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
12307 | ||
12308 | * lread.c (read1): After #!, exit loop on eof. | |
12309 | ||
cea9be54 JD |
12310 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12311 | ||
9ea0e54d JD |
12312 | * gtkutil.h: Add declaration for xg_frame_cleared. |
12313 | ||
0cb35f4e JD |
12314 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
12315 | ||
cea9be54 JD |
12316 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
12317 | (handle_fixed_child): New function. | |
12318 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
12319 | and force a redraw on them. | |
12320 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
12321 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
12322 | so we can avoid unneeded redraws. | |
12323 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
12324 | and force a redraw on the scroll bar. | |
12325 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
12326 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 12327 | (xg_frame_cleared): New function. |
cea9be54 | 12328 | |
20b853f3 KH |
12329 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
12330 | ||
12331 | * coding.c (Fdetect_coding_region): Fix docstring. | |
12332 | (Fdetect_coding_string): Fix docstring. | |
12333 | ||
7a555aff AS |
12334 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
12335 | ||
25cc0080 AS |
12336 | * gtkutil.c: Add prototype for create_menus. |
12337 | ||
30225431 AS |
12338 | * data.c (long_to_cons): Fix type of top. |
12339 | ||
12340 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
12341 | long for an integer of size 4. | |
12342 | ||
7a555aff | 12343 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 12344 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 12345 | |
a3e4741f AS |
12346 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
12347 | ||
12348 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
12349 | ||
9668be7c KS |
12350 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
12351 | ||
03eb5fab | 12352 | The following changes consolidate the fringe handling from |
9668be7c | 12353 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 12354 | |
9668be7c KS |
12355 | * xdisp.c: Consolidate fringe handling code here. |
12356 | (left_bits, right_bits, continued_bits, continuation_bits) | |
12357 | (ov_bits, zv_bits): Define fringe bitmaps. | |
12358 | (fringe_bitmaps): New array holding fringe bitmaps. | |
12359 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
12360 | specific drawing routine via rif->draw_fringe_bitmap. | |
12361 | (draw_row_fringe_bitmaps): Generic replacement for | |
12362 | x_draw_row_fringe_bitmaps; all callers changed. | |
12363 | (compute_fringe_widths): Generic replacement for | |
12364 | x_compute_fringe_widths; all callers changed. | |
12365 | ||
12366 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
12367 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
12368 | (fringe_bitmaps): Declare extern. | |
12369 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
12370 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
12371 | ||
12372 | * xterm.c: Remove generic fringe code. | |
12373 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
12374 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
12375 | ||
12376 | * w32term.c: Remove generic fringe code. | |
12377 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
12378 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 12379 | |
9668be7c KS |
12380 | * macterm.c: Remove generic fringe code. |
12381 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
12382 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
12383 | ||
00a88f32 SM |
12384 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
12385 | ||
12386 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
12387 | ||
1d1de695 DK |
12388 | 2003-03-09 David Kastrup <dak@gnu.org> |
12389 | ||
12390 | * process.c (read_process_output): We have allocated enough space | |
12391 | for readmax and carryover, so actually use the alloted space. | |
12392 | ||
257f40f2 JD |
12393 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12394 | ||
12395 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
12396 | toolkit scrollbar click. | |
12397 | ||
12398 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
12399 | for USE_GTK. | |
12400 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
12401 | also. | |
1d1c7e75 | 12402 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit |
257f40f2 | 12403 | scrollbar and control is pressed, call x_scroll_bar_handle_click. |
00a88f32 | 12404 | |
78819ebb | 12405 | * gtkutil.h (xg_get_scroll_id_for_window): Declare. |
257f40f2 JD |
12406 | |
12407 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
12408 | (xg_tool_bar_item_expose_callback): New function. | |
12409 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
12410 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
12411 | on the tool bar widget. | |
12412 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
12413 | to expose on the tool bar item widgets. | |
12414 | ||
15213141 JD |
12415 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12416 | ||
26b74a0b | 12417 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 12418 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
12419 | deleted from the image cache). |
12420 | ||
15213141 JD |
12421 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
12422 | the event isn't for a frame (i.e. for dialogs). | |
12423 | ||
20b853f3 | 12424 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
12425 | |
12426 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
12427 | composition components reaches the limit, terminate composing. | |
12428 | (COMPOSITION_OK): New macro. | |
00a88f32 | 12429 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
12430 | composition is found. |
12431 | (coding_restore_composition): Adjust the number of composition | |
12432 | components if it is not sane. | |
12433 | ||
c9029fe5 JB |
12434 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
12435 | ||
12436 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
12437 | passing resources via -xrm on Windows. | |
12438 | ||
12439 | * w32term.c (w32_make_rdb): New function. | |
12440 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
12441 | struct. Delete leftover code. | |
12442 | ||
12443 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
12444 | for resources passed on the command line. | |
12445 | ||
12446 | * w32reg.c (w32_get_rdb_resource): New function. | |
12447 | (x_get_string_resource): Use it, so resources passed with -xrm | |
12448 | supercede the ones in the registry. | |
12449 | ||
9d00001f JD |
12450 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12451 | ||
12452 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
12453 | instead of x_top_window_to_frame. | |
12454 | ||
ca2417b9 JD |
12455 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12456 | ||
12457 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
12458 | when restarting Emacs. | |
12459 | ||
5b20caf0 RS |
12460 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
12461 | ||
12462 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
12463 | to run kill-buffer-query-functions. | |
12464 | (Qkill_buffer_query_functions): New var. | |
12465 | (syms_of_buffer): Init and staticpro it. | |
12466 | ||
58e91b77 JD |
12467 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12468 | ||
12469 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
12470 | ||
932357b4 KS |
12471 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
12472 | ||
12473 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
12474 | If centering point failed to make whole line visible and vscroll | |
12475 | is non-zero, disable vscroll and try centering point again. | |
12476 | ||
12477 | * lread.c (read1): Accept `single space' syntax like (? x). | |
12478 | ||
bb8db7e1 JD |
12479 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12480 | ||
12481 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
12482 | #ifdef HAVE_X_WINDOWS | |
12483 | ||
47d77aab KH |
12484 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
12485 | ||
12486 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
12487 | process only when "subprocesses" is defined. | |
12488 | ||
6a097c0c SM |
12489 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
12490 | ||
12491 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
12492 | ||
0b063c27 JB |
12493 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
12494 | ||
d1135afc JB |
12495 | * callint.c (fix_command): Declare as static void and move before |
12496 | Fcall_interactively. | |
12497 | ||
0b063c27 JB |
12498 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
12499 | (syms_of_xdisp): Don't initialize Qwhen. | |
12500 | ||
0af912f0 JD |
12501 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12502 | ||
12503 | * keyboard.c (cancel_hourglass_unwind): New function. | |
12504 | (command_loop_1): Cancel hourglass with unwind-protect. | |
12505 | ||
120d0a23 RS |
12506 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
12507 | ||
12508 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
12509 | Detect (when ... (region-beginning)) etc. | |
12510 | (Fcall_interactively): Call fix_command. | |
12511 | (Qif, Qwhen): New variables. | |
12512 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 12513 | |
120d0a23 RS |
12514 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
12515 | ||
4ece81a6 KG |
12516 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
12517 | ||
12518 | * dired.c (directory_files_internal): Don't expand directory. | |
12519 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
12520 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
12521 | ||
e52bd6b7 SM |
12522 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
12523 | ||
12524 | * fns.c (string_to_multibyte): Remove unused var i. | |
12525 | (Flanginfo): Fix int/Lisp_Object mixup. | |
12526 | (void_call2): New fun. | |
12527 | (Fmap_char_table): Use it in place of call2. | |
12528 | ||
12529 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
12530 | ||
12531 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
12532 | ||
12533 | * keymap.c (copy_keymap_1): Make it static. | |
12534 | ||
12535 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
12536 | ||
c33ef7c4 JB |
12537 | 2003-02-22 David Ponce <david@dponce.com> |
12538 | ||
12539 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
12540 | ||
16782258 JD |
12541 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12542 | ||
12543 | * process.h: Removed subtty field from struct Lisp_Process. | |
12544 | ||
12545 | * process.c (create_process): Remove setting of subtty. | |
12546 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
12547 | (Fprocess_running_child_p, process_send_signal): |
12548 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
12549 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
12550 | ||
3abeca61 KG |
12551 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
12552 | ||
12553 | * keymap.c (Fdefine_key): Doc fix. | |
12554 | ||
92a8ce63 JB |
12555 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
12556 | ||
12557 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
12558 | ||
12559 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
12560 | POLLING_PROBLEM_IN_SELECT. | |
12561 | ||
12562 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
12563 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
12564 | ||
12565 | * s/hpux10-20.h: New file. | |
12566 | ||
e52bd6b7 SM |
12567 | * process.c (wait_reading_process_input): |
12568 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 12569 | |
20f1ef2e KH |
12570 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
12571 | ||
32d0a9dc KH |
12572 | * fontset.c (check_fontset_name): If NAME is nil, return the |
12573 | default fontset. | |
12574 | (override_font_info): New function. | |
e52bd6b7 | 12575 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
12576 | (Ffontset_info): If FONTSET is not the default fontset, merge |
12577 | FONTSET onto the copy of the default fontset, and work on that | |
12578 | copy. Document that NAME nil means the default fontset. | |
12579 | (Ffontset_font): Document that NAME nil means the default fontset. | |
12580 | ||
20f1ef2e KH |
12581 | * process.c (setup_process_coding_systems): If the process's |
12582 | in/out descriptor is -1, do nothing. | |
12583 | ||
77d1daf2 AS |
12584 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
12585 | ||
e52bd6b7 SM |
12586 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
12587 | Add prototypes. | |
77d1daf2 | 12588 | |
f9a45bb3 KH |
12589 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
12590 | ||
12591 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
12592 | Vscalable_fonts_allowed is not Qt. | |
12593 | ||
72ecb43c JD |
12594 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12595 | ||
12596 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
12597 | ||
ee5be7c3 JD |
12598 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12599 | ||
12600 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
12601 | names. | |
12602 | ||
12603 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 12604 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
12605 | x_face_list_fonts. |
12606 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
12607 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
12608 | ||
4cd519a7 KS |
12609 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
12610 | ||
068f9882 KS |
12611 | * lread.c (read1): Fix last change. |
12612 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 12613 | |
7290a344 AC |
12614 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
12615 | ||
12616 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
12617 | ||
1f7fa69b AS |
12618 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
12619 | ||
12620 | * window.c (window_scroll_pixel_based): Move outside a | |
12621 | multi-glyph character before setting new window start. | |
12622 | ||
12623 | * xdisp.c (in_display_vector_p): New function. | |
12624 | * dispextern.h (in_display_vector_p): Declare. | |
12625 | ||
23e21195 KS |
12626 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
12627 | ||
12628 | * lread.c (read1): Fix and relax read syntax. | |
12629 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
12630 | Only recognize "," after dotted-pair dot if inside backquote. | |
12631 | Never include "`" or "," (inside backquote) in a symbol. | |
12632 | Allow dotted-pair dot after a character constant. | |
12633 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 12634 | |
f098b121 JD |
12635 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12636 | ||
12637 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
12638 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
12639 | icons. Set name of tool bar to emacs-toolbar. | |
12640 | (update_frame_tool_bar): Connect expose event to | |
12641 | xg_tool_bar_expose_callback. | |
12642 | ||
63020c46 RS |
12643 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
12644 | ||
12645 | * keyboard.c (this_command_key_count_reset): New variable. | |
12646 | Initiatize to 0 where this_command_key_count is set. | |
12647 | (read_char): Save and restore this_command_key_count_reset | |
12648 | around input method code. | |
12649 | (read_char): If this_command_key_count_reset, echo reread commands. | |
12650 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
12651 | ||
fb4452cc KH |
12652 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
12653 | ||
12654 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
12655 | ||
bd11cc09 JR |
12656 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
12657 | ||
e52bd6b7 SM |
12658 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
12659 | Negative max_fonts parameter means list all. | |
bd11cc09 | 12660 | |
4cdf4bde DL |
12661 | 2003-02-14 Dave Love <fx@gnu.org> |
12662 | ||
12663 | * fns.c (Flanginfo): Doc fix. | |
12664 | ||
023b93f6 KS |
12665 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
12666 | ||
37cd4238 KS |
12667 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
12668 | for \s-X in a character constant which still is the super modifier. | |
12669 | (read1): Signal an `invalid read syntax' error if a character | |
12670 | constant is immediately followed by a digit or symbol character. | |
12671 | ||
140a6b7e KS |
12672 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
12673 | match-data is undefined if last search failed. | |
12674 | ||
3419757d | 12675 | * keymap.c (Fcommand_remapping): Rename from Fremap_command. |
023b93f6 KS |
12676 | All uses changed. |
12677 | ||
7d5c86e5 JB |
12678 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
12679 | ||
12680 | * eval.c (Fdefmacro): Fix typo. | |
12681 | ||
295fff2c KS |
12682 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
12683 | ||
12684 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
12685 | macro is a string, convert meta modifiers in string when copying | |
12686 | the string into a vector. | |
12687 | ||
60f3202d KS |
12688 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
12689 | ||
12690 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
12691 | ||
61cb0b53 KH |
12692 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
12693 | ||
12694 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
12695 | ||
7392e23c KS |
12696 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
12697 | ||
12698 | * process.c: Doc fixes. | |
12699 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
12700 | ||
ce4254bd KH |
12701 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
12702 | ||
9c7a329a KH |
12703 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
12704 | ||
ce4254bd KH |
12705 | * process.c (QCfilter_multibyte): New variable. |
12706 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
12707 | (Fset_process_buffer, Fset_process_filter): |
12708 | Call setup_process_coding_systems. | |
ce4254bd KH |
12709 | (Fstart_process): Initialize the member `filter_multibyte' of |
12710 | struct Lisp_Process. | |
12711 | (create_process): Call setup_process_coding_systems. | |
12712 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
12713 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
12714 | Call setup_process_coding_systems. | |
12715 | (server_accept_connection): Call setup_process_coding_systems. | |
12716 | (read_process_output): If the process has a filter, decide the | |
12717 | multibyteness of a string to given to the filter by | |
12718 | `filter_multibyte' member of the process. If the process doesn't | |
12719 | have a filter and the result of conversion is unibyte, use | |
12720 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
12721 | multibyte form. | |
12722 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
12723 | (Fset_process_filter_multibyte): New function. | |
12724 | (Fprocess_filter_multibyte_p): New function. | |
12725 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
12726 | Defsubr Sset_process_filter_multibyte and | |
12727 | Sprocess_filter_multibyte_p. | |
12728 | ||
12729 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
12730 | ||
12731 | * lisp.h (setup_process_coding_systems): Add prototype. | |
12732 | ||
12733 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
12734 | process, update coding systems for the process. | |
12735 | ||
b08d5f59 KH |
12736 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
12737 | ||
12738 | * fns.c (string_to_multibyte): New function. | |
12739 | (Fstring_to_multibyte): New function. | |
12740 | (syms_of_fns): Defsubr it. | |
12741 | ||
0dfd93c0 AS |
12742 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
12743 | ||
12744 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
12745 | instead of the substitution. | |
12746 | ||
7b76ca1c JD |
12747 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12748 | ||
12749 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
12750 | ||
12751 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
12752 | the menu is fully visible. | |
7b76ca1c | 12753 | |
2436a4e4 JD |
12754 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12755 | ||
12756 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
12757 | (x_make_frame_invisible, x_wm_set_icon_position): |
12758 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
12759 | |
12760 | * xfns.c (x_set_name, x_set_title): Ditto. | |
12761 | ||
37d1e680 RS |
12762 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
12763 | ||
12764 | * keyboard.c (echo_now): Update before_command_echo_length. | |
12765 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
12766 | immediately rather than arranging to do it later. | |
12767 | (before_command_key_count_1, before_command_echo_length_1) | |
12768 | (before_command_restore_flag): Vars deleted. | |
12769 | (add_command_key): Don't handle before_command_restore_flag. | |
12770 | (read_char, record_menu_key): Don't update before_command_key_count or | |
12771 | before_command_echo_length. | |
12772 | (read_char): Don't handle before_command_restore_flag. | |
12773 | ||
12774 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
12775 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
12776 | ||
578846a3 KS |
12777 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
12778 | ||
12779 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
12780 | ||
49853a4d JD |
12781 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12782 | ||
12783 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
12784 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
12785 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
12786 | on list returned from gtk_container_get_children to avoid memory leak. | |
12787 | ||
8b53dc06 JR |
12788 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
12789 | ||
5d54d177 JR |
12790 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
12791 | local malloc. | |
12792 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
12793 | definitions in xpm.h. | |
12794 | (init_xpm_functions): New function. | |
f63fd14e | 12795 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
5d54d177 JR |
12796 | (init_external_image_libraries): Try to load libXpm.dll. |
12797 | ||
8b53dc06 JR |
12798 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
12799 | timestamp. | |
12800 | ||
b222e415 DL |
12801 | 2003-01-31 Dave Love <fx@gnu.org> |
12802 | ||
12803 | * syntax.c (Fskip_chars_forward) | |
12804 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
12805 | ||
c60ee5e7 JB |
12806 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
12807 | ||
12808 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
12809 | preprocessor tests). | |
12810 | ||
12811 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
12812 | ||
12813 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
12814 | ||
12815 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
12816 | ||
12817 | * s/cygwin.h: Added for Cygwin port. | |
12818 | ||
53b37591 JB |
12819 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
12820 | ||
12821 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
12822 | when including gif_lib.h. | |
fe929957 | 12823 | (init_gif_functions, init_tiff_functions): New functions. |
f63fd14e JB |
12824 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
12825 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 12826 | through pointers determined at runtime. |
fe929957 JB |
12827 | (init_external_image_libraries): Try to load libungif.dll and |
12828 | libtiff.dll. | |
53b37591 | 12829 | |
45415a8f KH |
12830 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
12831 | ||
12832 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 12833 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 12834 | |
a97e4138 JD |
12835 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12836 | ||
e52bd6b7 | 12837 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 12838 | |
6eed9bed DL |
12839 | 2003-01-30 Dave Love <fx@gnu.org> |
12840 | ||
12841 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
12842 | (Fgarbage_collect): Use them. | |
12843 | (init_alloc, syms_of_alloc): Set them up. | |
12844 | ||
100dcd40 JB |
12845 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
12846 | ||
12847 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
12848 | ||
fbd852af JR |
12849 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
12850 | ||
12851 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
12852 | an alternative name for jpeg.dll. | |
12853 | ||
8a2d8020 KH |
12854 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
12855 | ||
12856 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
12857 | properties. | |
12858 | ||
058c18c7 AC |
12859 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
12860 | ||
12861 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
12862 | <escape>. | |
12863 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
12864 | (XTread_socket): Drop special case for backspace. | |
12865 | ||
385f11cf AC |
12866 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
12867 | ||
12868 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
12869 | values in old-style RGB specs. | |
12870 | ||
c922a224 JB |
12871 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
12872 | ||
12873 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
12874 | jpeg dll. | |
12875 | ||
0a1d6de0 JD |
12876 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12877 | ||
12878 | * gtkutil.c (create_dialog, xg_separator_p) | |
12879 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
12880 | before calling strcmp or strlen. | |
12881 | ||
a97e4138 | 12882 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
12883 | |
12884 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
12885 | and handle image load failure. | |
12886 | ||
28908312 JR |
12887 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
12888 | ||
12889 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
12890 | New functions. | |
f63fd14e JB |
12891 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
12892 | Disable color table lookups. Call jpeg library functions | |
28908312 JR |
12893 | through pointers determined at runtime. |
12894 | (init_external_image_libraries): Try to load jpeg.dll. | |
12895 | ||
84e47416 RS |
12896 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
12897 | ||
12898 | * lisp.h: Declare format2 instead of format1. | |
12899 | ||
12900 | * fileio.c (barf_or_query_if_file_exists): | |
12901 | Call format2 instead of format1. | |
12902 | ||
12903 | * editfns.c (format2): New function, replaces format1 | |
12904 | but takes exactly two Lisp Objects as format args. | |
12905 | ||
12906 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
12907 | ||
a97e4138 | 12908 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
12909 | |
12910 | * xterm.h: Change to return value of x_dispatch_event to int. | |
12911 | ||
12912 | * xterm.c (x_filter_event): New function. | |
12913 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
12914 | (x_dispatch_event): Change to return value of finish. | |
12915 | (event_handler_gdk): Use return value from x_dispatch_event. | |
12916 | ||
12917 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
12918 | initialize input methods. | |
12919 | ||
12920 | * gtkutil.h: Add (void) prototypes. | |
12921 | ||
12922 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
12923 | the right. | |
12924 | ||
54eefef1 JR |
12925 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
12926 | ||
12927 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
12928 | [HAVE_PNG]: Sync with xfns.c version. | |
f63fd14e JB |
12929 | (png_load): Adjust colors for Windows. Use Windows |
12930 | bitmaps. Disable color table lookups. | |
c262430d JR |
12931 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
12932 | (init_png_functions): New function. | |
12933 | (png_read_from_memory, png_load): Call png library functions | |
12934 | through pointers determined at runtime. | |
12935 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
12936 | (init_external_image_libraries): New function. | |
12937 | (init_xfns): Call it. | |
54eefef1 | 12938 | |
1a9e275b AS |
12939 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
12940 | ||
12941 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
12942 | ||
a97e4138 | 12943 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
12944 | |
12945 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
12946 | of static initializer. | |
12947 | ||
422eec7e DL |
12948 | 2003-01-24 Dave Love <fx@gnu.org> |
12949 | ||
12950 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
12951 | architectures. | |
12952 | ||
12953 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
12954 | Use __alignof__. | |
12955 | ||
2a026b04 KH |
12956 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
12957 | ||
12958 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 12959 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
12960 | (command_loop_1): Call adjust_point_for_property with proper |
12961 | second arg. | |
12962 | ||
a18bb28d JR |
12963 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
12964 | ||
12965 | Sync changes with xterm.c and xfns.c. | |
12966 | ||
12967 | * w32term.c (x_draw_glyph_string_foreground) | |
12968 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
12969 | ||
12970 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
12971 | phys_cursor's hpos is overwritten. This is still not completely | |
12972 | correct, as it doesn't really make sense to use hpos at all to | |
12973 | get the cursor glyph (as that is relative to the width of the | |
12974 | characters on the line, which may have changed during the update). | |
12975 | ||
12976 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
12977 | of the cursor being in the first blank non-text line at the | |
12978 | end of a window. | |
12979 | ||
12980 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
12981 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
12982 | Compute from the x position returned by x_draw_glyphs. | |
12983 | ||
12984 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
12985 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
12986 | contain what its name suggests. | |
12987 | (notice_overwritten_cursor): Consider the cursor image erased if | |
12988 | the output area intersects the cursor image in y-direction. | |
12989 | ||
6a097c0c SM |
12990 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
12991 | note_mode_line_highlight and extend. | |
a18bb28d JR |
12992 | |
12993 | * w32term.c (last_window): New variable. | |
12994 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
12995 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
12996 | ||
12997 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
12998 | not update_mode_lines, and always set it to 1. | |
12999 | ||
ac6e47ef JR |
13000 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
13001 | ||
13002 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
13003 | ||
13004 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
13005 | ||
13006 | * w32term.h (struct w32_output): New member hand_cursor. | |
13007 | (WM_EMACS_SETCURSOR): New message definition. | |
13008 | ||
13009 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
13010 | function w32_define_cursor. | |
13011 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
13012 | position, change member name output_data.x to output_data.w32 and | |
13013 | add function w32_define_cursor. | |
13014 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
13015 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
13016 | (w32_initialize_display_info): |
13017 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
13018 | |
13019 | * w32fns.c (Vx_hand_shape): New variable. | |
13020 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
13021 | WM_EMACS_SETCURSOR. | |
13022 | (x-create-frame): Setup Cursor types. | |
13023 | ||
ceb39a17 JB |
13024 | 2003-01-21 David Ponce <david@dponce.com> |
13025 | ||
ac6e47ef | 13026 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
52eb0373 JB |
13027 | ccl->reg[2] to -1 before calling ccl_driver. |
13028 | (Sync. with xterm.c x_encode_char change by Kenichi Handa | |
13029 | <handa@m17n.org> on 2002-09-30.) | |
ac6e47ef JR |
13030 | (w32_draw_relief_rect): Declare all args. |
13031 | (w32_define_cursor): New. | |
13032 | ||
13033 | * w32fns.c (w32_load_cursor): New function. | |
13034 | (w32_init_class): Use it. | |
13035 | (x_put_x_image): Declare all args. | |
13036 | ||
b6189c3b | 13037 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> |
46cf0bed JB |
13038 | |
13039 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
13040 | ||
a97e4138 | 13041 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
13042 | |
13043 | * gtkutil.c: Must include stdio.h before termhooks.h | |
13044 | ||
83fc9c63 DL |
13045 | 2003-01-21 Dave Love <fx@gnu.org> |
13046 | ||
13047 | * alloc.c (Fgc_status): Print zombie list. | |
13048 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
13049 | Fix assignment of zombies. | |
13050 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
13051 | Don't take car of non-cons. | |
13052 | ||
13053 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
13054 | ||
13055 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
13056 | ||
fe04b8c8 JR |
13057 | 2003-01-20 David Ponce <david@dponce.com> |
13058 | ||
13059 | * w32menu.c (digest_single_submenu): Declare all args. | |
13060 | ||
13061 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
13062 | changes in xmenu.c: | |
13063 | ||
13064 | (parse_single_submenu): Use individual keymap's prompt | |
13065 | string as pane name, if there is one. | |
13066 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
13067 | parse_single_submenu and use it when calling digest_single_submenu. | |
13068 | ||
539e69a9 ST |
13069 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
13070 | ||
7e26f91b | 13071 | * macterm.c (XTread_socket): Check for valid, visible window |
539e69a9 ST |
13072 | before sending a scroll-wheel event. |
13073 | ||
675d000f RS |
13074 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
13075 | ||
13076 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
13077 | a minibuffer, then redisplay it like other windows. | |
13078 | ||
a97e4138 | 13079 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
13080 | |
13081 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
13082 | external tool bar before setting tool bar height. | |
13083 | ||
048addec JD |
13084 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13085 | ||
13086 | * xterm.c (handle_one_xevent): Surround popup_activated | |
13087 | with #ifdef:s for non-toolkit version. | |
13088 | ||
13089 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK | |
13090 | (gtkutil.o): New file. | |
13091 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
13092 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
13093 | ||
13094 | * gtkutil.c: New file for GTK version. | |
13095 | ||
13096 | * gtkutil.h: New file for GTK version. | |
13097 | ||
13098 | * xterm.h: Add xt_or_gtk_widget. | |
13099 | Include gtk files for USE_GTK. | |
13100 | (struct x_output): Add toolbar_height. | |
13101 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
13102 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
13103 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
13104 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
13105 | ||
13106 | * xterm.c: Include gtkutil.h for USE_GTK. | |
78819ebb | 13107 | (free_frame_menubar): Declare extern void for USE_GTK. |
048addec JD |
13108 | (note_mouse_highlight): Check popup_activated for USE_GTK. |
13109 | (xt_action_hook): Don't compile if USE_GTK. | |
13110 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
13111 | (xg_scroll_callback): New function. | |
13112 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
13113 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
13114 | for USE_GTK. | |
13115 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
13116 | xg_show_scroll_bar for USE_GTK. | |
13117 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
13118 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
13119 | (event_handler_gdk): New function for USE_GTK. | |
13120 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
13121 | (handle_one_xevent): Make sure widget is mapped before | |
13122 | calling x_real_positions for USE_GTK. | |
13123 | (XTread_socket): Add GTK event loop for USE_GTK. | |
13124 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
13125 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
13126 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
13127 | (x_iconify_frame): Add code for USE_GTK. | |
13128 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
13129 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
13130 | is in gtkutil.c. | |
13131 | (x_term_init): Add initialization for GTK. | |
13132 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
13133 | ||
13134 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
13135 | (Fx_popup_menu): Use current position if x and y is NIL. | |
6bdb309a SM |
13136 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
13137 | Check for USE_GTK. | |
048addec JD |
13138 | (popup_widget_loop): New function for USE_GTK. |
13139 | (x_activate_menubar): Add code for USE_GTK. | |
13140 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
13141 | (menu_highlight_callback, menubar_selection_callback): |
13142 | Add USE_GTK versions. | |
048addec JD |
13143 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
13144 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
13145 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
13146 | is in gtkutil.c. | |
13147 | (popup_selection_callback): New version for USE_GTK. | |
13148 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 13149 | one USE_X_TOOLKIT version. |
048addec JD |
13150 | (xmenu_show): Call create_and_show_popup_menu. |
13151 | (dialog_selection_callback): New version for USE_GTK. | |
13152 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 13153 | one USE_X_TOOLKIT version. |
048addec JD |
13154 | (xdialog_show): Call create_and_show_dialog. |
13155 | ||
13156 | * xfns.c: Include gtkutil for USE_GTK. | |
13157 | (x_window_to_frame, x_any_window_to_frame) | |
13158 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
13159 | (x_top_window_to_frame): Add code for USE_GTK. | |
13160 | (x_set_background_color): Call xg_set_background_color for GTK. | |
13161 | (x_set_menu_bar_lines): Check for USE_GTK. | |
13162 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
13163 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
13164 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
13165 | (Fx_create_frame): Check for USE_GTK | |
13166 | (Fx_file_dialog): New implementation for USE_GTK. | |
13167 | ||
13168 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
13169 | (update_menu_bar): Add check for USE_GTK. | |
13170 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
13171 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
13172 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
13173 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
13174 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
13175 | (display_menu_bar): Add check for USE_GTK | |
13176 | ||
78819ebb | 13177 | * lisp.h (Vx_resource_name): Declare extern. |
048addec | 13178 | |
a64387ee | 13179 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT |
048addec JD |
13180 | for USE_GTK. |
13181 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
13182 | ||
13183 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
13184 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
13185 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
13186 | ||
13187 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
13188 | ||
6bdb309a SM |
13189 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
13190 | Add check for USE_GTK. | |
048addec JD |
13191 | |
13192 | * config.in: Added HAVE_GTK | |
13193 | ||
13194 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
13195 | ||
13196 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
13197 | ||
13198 | * charset.h (Funibyte_char_to_multibyte): Export. | |
13199 | ||
13200 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
13201 | ||
13202 | * xmenu.c (mouse_position_for_popup): New function. | |
13203 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
13204 | mouse_position_hook for others. | |
13205 | ||
13206 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
13207 | ||
13208 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
13209 | `string-as-multibyte' in doc string. | |
13210 | ||
13211 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
13212 | ||
13213 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 13214 | |
048addec JD |
13215 | * editfns.c (Fformat): Convert an unibyte char argument that is |
13216 | formatted by "%c" to multibyte if the total result must be a | |
13217 | multibyte string. | |
cd7df9c0 | 13218 | |
048addec | 13219 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 13220 | |
048addec JD |
13221 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
13222 | of string argument. | |
56210ecd | 13223 | |
048addec | 13224 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 13225 | |
048addec | 13226 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 13227 | |
048addec JD |
13228 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
13229 | (re_search_2): Likewise. | |
6df8b9fe | 13230 | |
048addec | 13231 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 13232 | |
048addec JD |
13233 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
13234 | buffer is unibyte. | |
292ddc31 | 13235 | |
048addec | 13236 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 13237 | |
048addec | 13238 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 13239 | |
048addec JD |
13240 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
13241 | (Fprevious_char_property_change) | |
13242 | (Fnext_single_char_property_change) | |
13243 | (Fprevious_single_char_property_change, Fnext_property_change) | |
13244 | (Fnext_single_property_change, Fprevious_property_change) | |
13245 | (Fprevious_single_property_change, Fadd_text_properties) | |
13246 | (Fput_text_property, Fset_text_properties) | |
13247 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
13248 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 13249 | |
048addec | 13250 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 13251 | |
048addec JD |
13252 | * process.h (struct Lisp_Process): New member plist replaces old |
13253 | member private_vars. All uses changed. | |
63e4e4c6 | 13254 | |
048addec | 13255 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 13256 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 13257 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 13258 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 13259 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 13260 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 13261 | |
048addec | 13262 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 13263 | |
6bdb309a | 13264 | * m/delta.h: Remove (obsolete). |
e833850f | 13265 | |
048addec | 13266 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 13267 | |
048addec JD |
13268 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
13269 | behaviour in front of symlinks. | |
13270 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 13271 | |
048addec | 13272 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 13273 | |
048addec | 13274 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 13275 | |
048addec | 13276 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 13277 | |
048addec JD |
13278 | * minibuf.c (minibuffer_completion_contents): |
13279 | Error if point is inside prompt. | |
3e8cf2ea | 13280 | |
048addec JD |
13281 | * keyboard.c (command_loop_1): Don't redisplay directly |
13282 | if there's a post-command-hook. | |
3e8cf2ea | 13283 | |
048addec JD |
13284 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
13285 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 13286 | |
048addec | 13287 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 13288 | |
048addec | 13289 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 13290 | |
048addec JD |
13291 | * process.c (QCvars): New variable. |
13292 | (syms_of_process): Intern and staticpro it. | |
13293 | (Fset_process_contact): Removed function. | |
13294 | (Fprocess_variable, Fset_process_variable): New functions. | |
13295 | (syms_of_process): Defsubr them. | |
13296 | (Fstart_process): Initialize private_vars plist to nil. | |
13297 | (Fmake_network_process): New arg :vars to setup the private | |
13298 | variables for new network process. | |
13299 | (server_accept_connection): Copy server's private variables to | |
13300 | client process. | |
2c10f029 | 13301 | |
048addec JD |
13302 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
13303 | crashes). Code rewritten and simplified. Now directly aligns the | |
13304 | pointer and recalculates pure_bytes_used, rather than aligning the | |
13305 | size and adjusting the pointer. | |
b8a76c6c | 13306 | |
048addec | 13307 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 13308 | |
048addec JD |
13309 | * process.c (Fset_process_contact): New function. |
13310 | (syms_of_process): defsubr it. | |
13311 | (make-network-process): Update doc. | |
3a8d0899 | 13312 | |
048addec | 13313 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 13314 | |
048addec JD |
13315 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
13316 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 13317 | |
048addec | 13318 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 13319 | |
048addec | 13320 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 13321 | |
048addec | 13322 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 13323 | |
048addec JD |
13324 | * process.c (Fmake_network_process): Convert new port number |
13325 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 13326 | |
048addec | 13327 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 13328 | |
048addec JD |
13329 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
13330 | instead of XtAppProcessEvent. | |
bf338245 | 13331 | |
048addec JD |
13332 | * xterm.c (handle_one_xevent): New function. |
13333 | (x_dispatch_event): New function. | |
13334 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 13335 | |
048addec | 13336 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 13337 | |
048addec JD |
13338 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
13339 | call XQueryPointer to get coordinates. | |
13340 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
13341 | let popup_deactivate_callback do that. Needed for Motif. | |
13342 | Call x_dispatch_event instead of XtDispatchEvent. | |
13343 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 13344 | |
048addec | 13345 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 13346 | |
6bdb309a | 13347 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
13348 | connection's local address in :local property of contact info. |
13349 | (Fmake_network_process): Record local network address for new | |
13350 | client processes in :local property of contact info. | |
6bdb309a | 13351 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 13352 | |
048addec | 13353 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 13354 | |
048addec | 13355 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 13356 | |
048addec | 13357 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 13358 | |
048addec | 13359 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 13360 | |
048addec JD |
13361 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
13362 | use the same test as for custom-variable-p. | |
8c6d74c6 | 13363 | |
048addec | 13364 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 13365 | |
048addec JD |
13366 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
13367 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
13368 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
13369 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 13370 | |
048addec JD |
13371 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
13372 | scroll_conservatively case. If scrolling that much doesn't change | |
13373 | STARTP, move it down one line. | |
e833850f | 13374 | |
048addec JD |
13375 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
13376 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 13377 | |
048addec JD |
13378 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
13379 | selected frame. | |
8c6d74c6 | 13380 | |
048addec | 13381 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
3419757d | 13382 | (syms_of_keymap): Staticpro them. |
048addec JD |
13383 | (Fapropos_internal): Initialize them and clear them out. |
13384 | Don't GCPRO them. | |
8c6d74c6 | 13385 | |
048addec JD |
13386 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: |
13387 | Doc fixes. | |
8c6d74c6 | 13388 | |
048addec JD |
13389 | * lisp.h: New misc type Lisp_Save_Value. |
13390 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
13391 | (XSAVE_VALUE): New macro. | |
13392 | (struct Lisp_Save_Value): New data type. | |
13393 | (union Lisp_Misc): Add u_save_value alternative. | |
78819ebb | 13394 | (make_save_value): Declare. |
8c6d74c6 | 13395 | |
048addec | 13396 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 13397 | |
048addec JD |
13398 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
13399 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 13400 | |
048addec | 13401 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 13402 | |
048addec | 13403 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 13404 | |
048addec JD |
13405 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
13406 | in direct action cases for Qforward_char and Qbackward_char. | |
13407 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 13408 | |
b6189c3b | 13409 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> |
8c6d74c6 | 13410 | |
048addec JD |
13411 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
13412 | type definition of size_t. | |
8c609cff | 13413 | |
048addec | 13414 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 13415 | |
048addec JD |
13416 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
13417 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 13418 | |
048addec | 13419 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 13420 | |
048addec JD |
13421 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
13422 | to default to t. | |
fa634a5e | 13423 | |
048addec | 13424 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 13425 | |
048addec | 13426 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 13427 | |
048addec | 13428 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 13429 | |
7e26f91b | 13430 | * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to |
048addec JD |
13431 | allow building in a different directory than source. Uses some |
13432 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 13433 | |
048addec | 13434 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 13435 | |
048addec JD |
13436 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
13437 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
13438 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
13439 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 13440 | |
048addec | 13441 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 13442 | |
048addec JD |
13443 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
13444 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 13445 | |
048addec JD |
13446 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
13447 | string as pane name, if there is one. | |
13448 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
13449 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 13450 | |
048addec JD |
13451 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
13452 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 13453 | |
048addec | 13454 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 13455 | |
048addec JD |
13456 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
13457 | (mac_menu_show): Add support for hierarchical popup menus. | |
13458 | (add_menu_item): Remove indentation support. | |
13459 | (fill_submenu, fill_menu): Create hierarchical menus | |
13460 | instead of using indentation. | |
0b17a217 | 13461 | |
048addec | 13462 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 13463 | |
048addec JD |
13464 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
13465 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 13466 | |
048addec | 13467 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 13468 | |
048addec | 13469 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 13470 | |
048addec JD |
13471 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
13472 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
7e26f91b | 13473 | being treated like C-%. Do not look for shift key to deal |
048addec | 13474 | with masking off control-key with mac-reverse-ctrl-meta. |
f02cac82 | 13475 | |
048addec | 13476 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 13477 | |
048addec JD |
13478 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
13479 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
13480 | the events that were read ahead. | |
13481 | (popup_get_selection_unwind): New subroutine. | |
13482 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
13483 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
13484 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
13485 | Use an unwind-protect to pop down the dialog box. | |
13486 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 13487 | |
048addec JD |
13488 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
13489 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 13490 | |
048addec JD |
13491 | * lread.c (load_error_handler): New function. |
13492 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
13493 | Don't expect Fsignal to return. | |
f02cac82 | 13494 | |
048addec JD |
13495 | * eval.c: Errors and throws work right with interrupt blocking. |
13496 | (struct catchtag): New elt interrupt_input_blocked. | |
13497 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
13498 | (internal_catch, Fcondition_case, internal_condition_case) | |
13499 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
13500 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 13501 | |
048addec | 13502 | * editfns.c (Fformat): Add parens. |
f02cac82 | 13503 | |
048addec JD |
13504 | * dired.c (file_name_completion): Fix that change. |
13505 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 13506 | |
b6189c3b | 13507 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> |
f02cac82 | 13508 | |
048addec JD |
13509 | * dired.c (file_name_completion): Close directory on error |
13510 | just as in directory_files_internal. | |
1a590729 | 13511 | |
048addec | 13512 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 13513 | |
048addec JD |
13514 | * window.c (Fset_window_configuration): Set old_point to correct |
13515 | value when new_current_buffer == current_buffer. | |
f02cac82 | 13516 | |
048addec | 13517 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 13518 | |
048addec JD |
13519 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
13520 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
13521 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 13522 | |
048addec JD |
13523 | These changes were in part based upon suggestions made by Peter |
13524 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 13525 | |
f4a5a485 SM |
13526 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) |
13527 | (g_b_init_get_token_information, g_b_init_lookup_account_sid) | |
13528 | (g_b_init_get_sid_identifier_authority ): Add several static | |
048addec | 13529 | global variables. |
9785d95b | 13530 | |
048addec JD |
13531 | * w32.c (globals_of_w32): New function. Used to initialize those |
13532 | global variables that must always be initialized on startup even | |
13533 | when the global variable initialized is non zero. Its primary | |
13534 | purpose at this time is to set the global variables | |
13535 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
13536 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
13537 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
13538 | Called from main. | |
9785d95b | 13539 | |
048addec JD |
13540 | * w32.c (is_windows_9x): Perform initialization only if |
13541 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
13542 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 13543 | |
048addec JD |
13544 | * w32.c (open_process_token): Perform initialization only if |
13545 | g_b_init_open_process_token is equal to 0. On initialization set | |
13546 | g_b_init_open_process_token equal to 1. | |
2308af15 | 13547 | |
048addec JD |
13548 | * w32.c (get_token_information): Perform initialization only if |
13549 | g_b_init_get_token_information is equal to 0. On initialization | |
13550 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 13551 | |
048addec JD |
13552 | * w32.c (lookup_account_sid): Perform initialization only if |
13553 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
13554 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 13555 | |
048addec JD |
13556 | * w32.c (get_sid_identifier_authority): Perform initialization |
13557 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
13558 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 13559 | |
f63fd14e | 13560 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
048addec JD |
13561 | those global variables that must always be initialized on startup |
13562 | even when the global variable initialized is non zero. | |
13563 | Its primary purpose at this time is to initialize the global variable | |
13564 | track_mouse_event_fn. | |
9785d95b | 13565 | |
a64387ee | 13566 | * w32fns.c (w32_wnd_proc): Remove initialization of |
048addec | 13567 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b | 13568 | |
048addec | 13569 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 13570 | |
f63fd14e | 13571 | * w32menu.c (globals_of_w32menu): New function. Used to |
048addec JD |
13572 | initialize those global variables that must always be initialized |
13573 | on startup even when the global variable initialized is non zero. | |
13574 | Its primary purpose at this time is to initialize the global | |
13575 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 13576 | |
048addec JD |
13577 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
13578 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 13579 | |
048addec | 13580 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 13581 | |
048addec JD |
13582 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
13583 | Declare them. | |
9785d95b | 13584 | |
048addec JD |
13585 | * emacs.c (main): Call globals_of_w32 prior to calling |
13586 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
13587 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
13588 | is defined. | |
9785d95b | 13589 | |
048addec JD |
13590 | * w32term.c (x_update_window_begin): Fix Windows API error |
13591 | detected by BoundsChecker. Test to determine if | |
13592 | w32_system_caret_hwnd is NULL prior to attempting to use | |
13593 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 13594 | |
048addec JD |
13595 | * w32term.c (x_update_window_end): Fix Windows API error |
13596 | detected by BoundsChecker. Test to determine if | |
13597 | w32_system_caret_hwnd is NULL prior to attempting to use | |
13598 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 13599 | |
048addec | 13600 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 13601 | |
048addec JD |
13602 | * coding.c (coding_system_require_warning): New variable. |
13603 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 13604 | |
048addec | 13605 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 13606 | |
048addec JD |
13607 | * fileio.c (choose_write_coding_system): Even if |
13608 | Vcoding_system_for_write is non-nil, if | |
13609 | coding_system_require_warning is nonzero, call | |
13610 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 13611 | |
048addec | 13612 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 13613 | |
048addec JD |
13614 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
13615 | (lisp): Add font-core. | |
2c568af5 | 13616 | |
048addec | 13617 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 13618 | |
048addec JD |
13619 | * textprop.c (text_read_only): New arg `propval'. |
13620 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
13621 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 13622 | |
048addec | 13623 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 13624 | |
048addec | 13625 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 13626 | |
048addec | 13627 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 13628 | |
048addec JD |
13629 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
13630 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
13631 | Be more careful about when help_events are generated. | |
96720f09 | 13632 | |
048addec | 13633 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 13634 | |
048addec JD |
13635 | * macterm.c (mac_check_for_quit_char): Correctly set the |
13636 | modifiers of the event to 0. | |
13637 | * mac.c (sys_select): Duplicate rfds before calling select to | |
13638 | ensure that rfds survive the while loop. | |
e5ae1c49 | 13639 | |
048addec | 13640 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 13641 | |
048addec JD |
13642 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
13643 | row_containing_pos returned NULL. | |
2eb46b2d | 13644 | |
048addec | 13645 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 13646 | |
6bdb309a | 13647 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 13648 | non-blocking. |
6bdb309a | 13649 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 13650 | the one given. |
b11f1d8a | 13651 | |
048addec | 13652 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 13653 | |
048addec | 13654 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 13655 | |
048addec | 13656 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 13657 | |
048addec JD |
13658 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
13659 | as the last thing. | |
a4ac5b17 | 13660 | |
048addec | 13661 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 13662 | |
048addec | 13663 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 13664 | |
048addec | 13665 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 13666 | |
048addec JD |
13667 | * editfns.c (Fformat): Handle precision in string conversion |
13668 | specifiers like libc functions do (ie, print at most that many | |
13669 | characters). | |
85cce843 | 13670 | |
048addec | 13671 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 13672 | |
048addec JD |
13673 | * xdisp.c (row_containing_pos): Check more carefully |
13674 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 13675 | |
048addec | 13676 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 13677 | |
048addec | 13678 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 13679 | |
048addec JD |
13680 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
13681 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 13682 | |
048addec JD |
13683 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
13684 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 13685 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 13686 | in the OS event queue. |
b11f1d8a | 13687 | |
048addec JD |
13688 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
13689 | while blocking on select. | |
0d4d26a7 | 13690 | |
048addec JD |
13691 | * mac.c (sys_read): Use sys_select to test for input first |
13692 | before calling read, to allow C-g to break. | |
9252f7bc | 13693 | |
048addec | 13694 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 13695 | |
048addec | 13696 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 13697 | |
048addec | 13698 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 13699 | |
048addec | 13700 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 13701 | |
048addec JD |
13702 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
13703 | autoload. | |
9252f7bc | 13704 | |
048addec | 13705 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 13706 | |
048addec | 13707 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 13708 | |
048addec | 13709 | 2002-12-06 Francesco Potorti` <pot@gnu.org> |
bfa261c0 | 13710 | |
048addec | 13711 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 13712 | |
048addec | 13713 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 13714 | |
048addec | 13715 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 13716 | |
048addec | 13717 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 13718 | |
048addec | 13719 | * alloca.c: Don't use #error. |
02d588e2 | 13720 | |
048addec | 13721 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 13722 | |
048addec JD |
13723 | * buffer.c (Qucs_set_table_for_input): New. |
13724 | (Fget_buffer_create): Use it. | |
13725 | (Qset_buffer_major_mode_hook): Deleted. | |
13726 | (Fset_buffer_major_mode): Revert previous change. | |
13727 | (init_buffer_once): Intern ucs-set-table-for-input. | |
13728 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
13729 | Add &Qucs_set_table_for_input. | |
451e2697 | 13730 | |
048addec | 13731 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 13732 | |
048addec JD |
13733 | * callint.c (Fcall_interactively): Use next_event only if less |
13734 | than key_count. | |
72742a99 | 13735 | |
048addec | 13736 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 13737 | |
048addec JD |
13738 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
13739 | names to 255 characters. | |
72742a99 | 13740 | |
048addec JD |
13741 | * macterm.c (XTread_socket): If all frames have been collapsed, |
13742 | expand the first one before handling drag-and-drop events. | |
72742a99 | 13743 | |
048addec JD |
13744 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
13745 | which is detected by autoconf. | |
40e6ff95 | 13746 | |
048addec | 13747 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 13748 | |
048addec JD |
13749 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
13750 | offset in two hints table to allow prebinding to be redone and | |
13751 | allow the executable to be stripped. | |
c02138c6 | 13752 | |
048addec | 13753 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 13754 | |
048addec JD |
13755 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
13756 | already provided. | |
0e47bbf7 | 13757 | |
048addec | 13758 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 13759 | |
048addec JD |
13760 | * xdisp.c (start_display): Check more intelligently for |
13761 | whether the line is continued. | |
13762 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 13763 | |
048addec | 13764 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 13765 | |
048addec JD |
13766 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
13767 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 13768 | |
048addec | 13769 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 13770 | |
048addec JD |
13771 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
13772 | more descriptive error output from lread.c:Fload upon most require | |
13773 | cycles during boostrapping. | |
1637fd2c | 13774 | |
048addec | 13775 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 13776 | |
048addec JD |
13777 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
13778 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 13779 | |
048addec JD |
13780 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
13781 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 13782 | |
048addec | 13783 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 13784 | |
048addec | 13785 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 13786 | |
048addec JD |
13787 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
13788 | Test GETPGRP_VOID instead. | |
13789 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 13790 | |
048addec JD |
13791 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
13792 | Don't define. | |
13793 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 13794 | |
048addec | 13795 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 13796 | |
048addec | 13797 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 13798 | |
048addec JD |
13799 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
13800 | supported. | |
4042a81a | 13801 | |
048addec | 13802 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 13803 | |
048addec | 13804 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 13805 | |
048addec | 13806 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 13807 | |
048addec | 13808 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 13809 | |
048addec | 13810 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 13811 | |
048addec | 13812 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 13813 | |
048addec JD |
13814 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
13815 | determine the size of pointers alloced in unexed space instead | |
13816 | of using possibly invalid emacs_zone pointers. This fixes the | |
13817 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 13818 | |
048addec | 13819 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 13820 | |
048addec | 13821 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 13822 | |
048addec JD |
13823 | * callint.c (Fcall_interactively): If a command fails because |
13824 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
13825 | record it anyway if the args don't actually do tty input. | |
5598c32e | 13826 | |
048addec | 13827 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 13828 | |
048addec | 13829 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 13830 | |
048addec JD |
13831 | * keyboard.c (interrupt_signal): Provide forward declaration. |
13832 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 13833 | |
048addec | 13834 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 13835 | |
048addec | 13836 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 13837 | |
048addec JD |
13838 | * eval.c (interactive_p): Skip any number of bytecode |
13839 | and special form frames, in any order. | |
516eea8e | 13840 | |
048addec | 13841 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 13842 | |
048addec JD |
13843 | * w32fns.c (convert_mono_to_color_image): New function. |
13844 | (xbm_load, xbm_load_image): Use it when foreground or background | |
13845 | is explicitly set. | |
04dbfa08 | 13846 | |
048addec | 13847 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 13848 | |
048addec | 13849 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 13850 | |
048addec | 13851 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 13852 | |
048addec JD |
13853 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
13854 | (XPutPixel): Swap blue and red. | |
13855 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
13856 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
13857 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
13858 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 13859 | |
048addec | 13860 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 13861 | |
048addec | 13862 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 13863 | |
048addec | 13864 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 13865 | |
048addec | 13866 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 13867 | |
048addec JD |
13868 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
13869 | malloc, realloc, calloc. | |
d824beee | 13870 | |
048addec JD |
13871 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
13872 | (bcmp): Don't define. | |
d824beee | 13873 | |
048addec | 13874 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 13875 | |
048addec | 13876 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 13877 | |
048addec | 13878 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 13879 | |
048addec | 13880 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 13881 | |
048addec JD |
13882 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
13883 | Don't include alloca.h. | |
d824beee | 13884 | |
048addec | 13885 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 13886 | |
048addec | 13887 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 13888 | |
048addec | 13889 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 13890 | |
048addec | 13891 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 13892 | |
048addec | 13893 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 13894 | |
048addec | 13895 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 13896 | |
048addec | 13897 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 13898 | |
048addec JD |
13899 | * dispextern.h (struct face): Add `overstrike' field. |
13900 | * xterm.c (x_draw_glyph_string_foreground) | |
13901 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
13902 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
13903 | result from choose_face_font. | |
13904 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
13905 | argument, and use it to return whether overstriking is desirable | |
13906 | for this face/font combo. | |
13907 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 13908 | |
048addec | 13909 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 13910 | |
048addec JD |
13911 | This change is my fix for the following entry in etc/PROBLEMS: |
13912 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
13913 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 13914 | |
048addec JD |
13915 | * w32.c: Added wrapper functions around the win32 API functions |
13916 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
13917 | GetSidIdentifierAuthority. These wrapper functions serve two | |
13918 | purposes: | |
13919 | 1. They ensure that the wrapped function can never be called | |
13920 | when Emacs is running on an operating system on which they are | |
13921 | not supported (Microsoft Windows 95 / 98 / ME). | |
13922 | 2. They call the wrapped functions via function pointers rather | |
13923 | than calling them directly. This avoids taking advantage of the | |
13924 | undocumented fact that although these functions are not supported | |
13925 | in the 9x branch of Microsoft Windows, the functions do exist in | |
13926 | the version of advapi32.dll that is found in the 9x branch of | |
13927 | Microsoft Windows. | |
f60ae425 | 13928 | |
6bdb309a | 13929 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
13930 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
13931 | and GetSidIdentifierAuthority with calls to the newly added | |
13932 | wrapper functions. | |
f60ae425 | 13933 | |
048addec JD |
13934 | * w32.h: Added extern declarations for the following functions: |
13935 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
13936 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 13937 | |
6bdb309a | 13938 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
13939 | function pointer track_mouse_event_fn in the handler for the |
13940 | WM_SETFOCUS message. | |
3582b6a3 | 13941 | |
6bdb309a | 13942 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
13943 | reinitialize the function pointers set_menu_item_info and |
13944 | get_menu_item_info. | |
f60ae425 | 13945 | |
048addec | 13946 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 13947 | |
048addec JD |
13948 | * sound.c: Added a partial implementation of play-sound-internal |
13949 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
13950 | code blocks to separate the code that will compile under | |
9fed2905 | 13951 | Microsoft Windows from the code that is specific to GNU/Linux. |
048addec | 13952 | Moved several blocks of code around to make this separation of code |
9fed2905 | 13953 | into Windows compatible and GNU/Linux compatible code blocks easier. |
f60ae425 | 13954 | |
048addec | 13955 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 13956 | |
048addec JD |
13957 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
13958 | added support for play-sound-internal under Windows would be | |
13959 | included in the build of Emacs. | |
517f42a0 | 13960 | |
048addec | 13961 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 13962 | |
048addec | 13963 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 13964 | |
048addec | 13965 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 13966 | |
048addec | 13967 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 13968 | |
048addec JD |
13969 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
13970 | (adjust_point_for_property): Move out of display and invisible even if | |
13971 | we were already inside before (in case a property was added while | |
13972 | we weren't looking). Be more careful when handling invisible props. | |
13973 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 13974 | |
048addec | 13975 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 13976 | |
048addec JD |
13977 | * w32term.c (x_draw_image_foreground) |
13978 | (w32_draw_image_foreground_1): Use standard copy and invert | |
13979 | operations to draw images. | |
aab83f91 | 13980 | |
048addec JD |
13981 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
13982 | depth of 1. | |
13983 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
13984 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 13985 | |
048addec | 13986 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 13987 | |
048addec JD |
13988 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
13989 | (w32_draw_image_foreground_1): Handle image masks. | |
13990 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 13991 | |
048addec JD |
13992 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
13993 | (x_from_xcolors): Adjust RGB values for W32. | |
13994 | (image_background, image_background_transparent) | |
13995 | (postprocess_image, x_to_xcolors, x_disable_image) | |
13996 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
13997 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
13998 | (xbm_load): Remove unused variable. | |
03670a65 | 13999 | |
048addec | 14000 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 14001 | |
048addec | 14002 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 14003 | |
048addec | 14004 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 14005 | |
048addec | 14006 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 14007 | |
048addec JD |
14008 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
14009 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
14010 | * xfns.c (x_put_x_image): | |
14011 | * xdisp.c (message2_nolog, set_message): | |
14012 | * undo.c (record_point): | |
14013 | * terminfo.c (tparam): | |
14014 | * syntax.c (scan_sexps_forward): | |
14015 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
14016 | * composite.c (update_compositions): | |
14017 | * cm.c (calccost, cmgoto): | |
14018 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 14019 | |
048addec | 14020 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 14021 | |
048addec JD |
14022 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
14023 | Don't declare. | |
59daa29a | 14024 | |
048addec | 14025 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 14026 | |
048addec JD |
14027 | * fns.c (Fcopy_sequence): Doc fix. |
14028 | (Fmap_char_table): Cast `call2'. | |
3947677c | 14029 | |
048addec JD |
14030 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
14031 | ||
14032 | * s/sol2-8.h: New file. | |
14033 | ||
14034 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
14035 | ||
14036 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
14037 | dependency on `risky-local-variable' and the :propertize form. | |
14038 | ||
14039 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
14040 | ||
14041 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
14042 | ||
14043 | * syntax.c (scan_sexps_forward): Undo last patch. | |
14044 | Use a more obvious fix: check eob before updating the syntax table. | |
14045 | ||
14046 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
14047 | ||
14048 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
14049 | a char rather than after so we don't update the table past eob. | |
14050 | ||
14051 | 2002-11-09 Dave Love <fx@gnu.org> | |
14052 | ||
14053 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
14054 | ||
14055 | * regex.c (regexec): Fix pmatch declaration. | |
14056 | ||
14057 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
14058 | ||
14059 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
14060 | to self-inserting characters. | |
14061 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
14062 | ||
14063 | * coding.c (Vtranslation_table_for_input): New. | |
14064 | (syms_of_coding): DEFVAR it. | |
14065 | ||
14066 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
14067 | ||
14068 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
14069 | window. | |
14070 | ||
14071 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
14072 | ||
6bdb309a | 14073 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
14074 | cp, and i. |
14075 | ||
14076 | 2002-11-06 Dave Love <fx@gnu.org> | |
14077 | ||
14078 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
14079 | (Fset_buffer_major_mode): Use it. | |
14080 | ||
14081 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
14082 | ||
14083 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
14084 | and stop_polling. | |
14085 | ||
14086 | * process.c (wait_reading_process_input): | |
14087 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
14088 | Avoid initialization for auto Lisp_Object var. | |
14089 | ||
14090 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
14091 | ||
14092 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
14093 | ||
14094 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
14095 | ||
14096 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
14097 | ||
14098 | * callint.c (Fcall_interactively): New local filter_specs. | |
14099 | (Fcall_interactively): Check for progn as well as let. | |
14100 | Add a gcpro. | |
14101 | (Qprogn): New variable. | |
14102 | (syms_of_callint): Staticpro and init Qprogn. | |
14103 | ||
14104 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
14105 | ||
14106 | * lread.c (Feval_buffer): Doc fix. | |
14107 | ||
14108 | 2002-11-04 Dave Love <fx@gnu.org> | |
14109 | ||
14110 | * keyboard.c (read_char): Always translate iff | |
14111 | Vkeyboard_translate_table is a char table and c is valid. | |
14112 | ||
14113 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
14114 | and fix C types. | |
14115 | ||
14116 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
14117 | ||
14118 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
14119 | ||
14120 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
14121 | ||
14122 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
14123 | overlays. Also handle `invisible' prop. | |
14124 | ||
14125 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
14126 | ||
14127 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
14128 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
14129 | ||
14130 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
14131 | ||
14132 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
14133 | ||
14134 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
14135 | ||
14136 | * xmenu.c (unuse_menu_items): New fun. | |
14137 | (menu_items_inuse): New var. | |
14138 | (syms_of_xmenu): Initialize it. | |
14139 | (init_menu_items): Use it to detect re-entrance. | |
14140 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
14141 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
14142 | ||
14143 | * editfns.c (find_field): Make an exception for nil fields. | |
14144 | ||
14145 | 2002-11-01 Dave Love <fx@gnu.org> | |
14146 | ||
14147 | * m/gec63.h: Deleted. | |
14148 | ||
14149 | 2002-10-31 Dave Love <fx@gnu.org> | |
14150 | ||
14151 | * xterm.c (XTread_socket): Fix last change. | |
14152 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
14153 | ||
14154 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
14155 | ||
14156 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
14157 | ||
14158 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
14159 | ||
14160 | * editfns.c (overlays_around, get_pos_property): New funs. | |
14161 | (find_field): Use them. | |
14162 | Also be careful not to modify POS before its last use. | |
14163 | (Fmessage): Don't Fformat if there's nothing to format. | |
14164 | ||
14165 | 2002-10-30 Dave Love <fx@gnu.org> | |
14166 | ||
14167 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
14168 | [HAVE_PTY_H]; Include pty.h. | |
14169 | ||
14170 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
14171 | ||
14172 | * xterm.c (Qeql): Declare. | |
14173 | (Vx_keysym_table): New. | |
14174 | (syms_of_xterm): Initialize it. | |
14175 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
14176 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
14177 | ||
14178 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
14179 | (lispy_kana_keys): Comment out. | |
14180 | (make_lispy_event) [XK_kana_A]: Comment out. | |
14181 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
14182 | Fix sprintf call. | |
14183 | ||
14184 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
14185 | regexp.h change). | |
14186 | (TERMINFO, LIBS_TERMCAP): Define. | |
14187 | ||
14188 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
14189 | (bcmp): Define conditional on HAVE_BCMP. | |
14190 | (NO_SIOCTL_H): Don't define. | |
14191 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
14192 | ||
14193 | * s/sol2-5.h: Don't include strings.h. | |
14194 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
14195 | ||
14196 | * s/irix6-0.h (IRIX6): Don't define. | |
14197 | (bcopy, bcmp, bzero): Don't undef. | |
14198 | ||
14199 | * s/irix6-5.h: Don't include strings.h. | |
14200 | (IRIX6): Don't define. | |
14201 | (bcopy, bcmp, bzero): Don't undef. | |
14202 | ||
14203 | * syntax.c (Fforward_comment): Doc fix. | |
14204 | ||
14205 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
14206 | ||
14207 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
14208 | name in addition to pid (as integer or string). | |
14209 | ||
14210 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
14211 | ||
14212 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
14213 | environments. | |
14214 | ||
14215 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
14216 | ||
14217 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
14218 | ||
14219 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
14220 | ||
14221 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
14222 | ||
14223 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
14224 | ||
14225 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
14226 | ||
14227 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
14228 | ||
14229 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
14230 | ||
14231 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
14232 | (x_set_title): Likewise. | |
14233 | ||
14234 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
14235 | ||
14236 | * macgui.h: | |
14237 | * w32gui.h: Remove definition of XColor. | |
14238 | ||
14239 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
14240 | ||
14241 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
14242 | ||
14243 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
14244 | Callers changed (supply dummy arg). | |
14245 | ||
14246 | * lisp.h (get_window_cursor_type): Update prototype. | |
14247 | ||
14248 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
14249 | get_window_cursor_type to track system caret. | |
14250 | ||
14251 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
14252 | ||
14253 | * process.c (Fformat_network_address): New function. | |
14254 | (syms_of_process): Defsubr it. | |
14255 | (list_processes_1): Use it to format :local/:remote address if | |
f9711de4 | 14256 | service/host is not set; before Emacs would crash in that case. |
048addec JD |
14257 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
14258 | to setup coding system if host or service is not set. | |
14259 | ||
14260 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
14261 | ||
14262 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
14263 | ||
14264 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
14265 | COLORREF. | |
14266 | ||
14267 | * macgui.h: | |
14268 | * w32gui.h: Add definition of XColor. | |
14269 | ||
14270 | * macfns.c: | |
14271 | * w32fns.c: | |
14272 | * xfaces.c: Remove definition of XColor. | |
14273 | ||
14274 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
14275 | ||
14276 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
14277 | ||
14278 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
14279 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
14280 | window if it is dedicated. | |
14281 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
14282 | (Vspecial_display_function): Update docstring. | |
14283 | ||
14284 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
14285 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
14286 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
14287 | ||
14288 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
14289 | ||
14290 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
14291 | of a word when at the beginning. | |
14292 | ||
14293 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
14294 | ||
14295 | * lread.c (syms_of_lread): Fix typos. | |
14296 | ||
14297 | 2002-10-17 Dave Love <fx@gnu.org> | |
14298 | ||
14299 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
14300 | ||
14301 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
14302 | ||
14303 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
14304 | ||
14305 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
14306 | ||
14307 | * w16select.c (syms_of_win16select): Fix docstring for | |
14308 | `selection-coding-system'. | |
14309 | ||
14310 | * w32select.c (syms_of_w32select): Likewise. | |
14311 | ||
14312 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
14313 | ||
14314 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
14315 | a backslash-quoted char. | |
14316 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
14317 | ||
14318 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
14319 | ||
14320 | * window.c (window_scroll): Set immediate_quit. | |
14321 | ||
14322 | * print.c (print): When backquote form is the car of a list, | |
14323 | output in old style. Use old_backquote_output to output all | |
14324 | comma forms inside it in old style too. | |
14325 | ||
14326 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
14327 | ||
14328 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
14329 | ||
14330 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
14331 | batch mode). | |
14332 | ||
14333 | * lread.c (Fload): Doc fix (load-suffixes). | |
14334 | ||
14335 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
14336 | ||
14337 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
14338 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
14339 | Also switch the default to Qnil from Qt. | |
14340 | ||
14341 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
14342 | ||
14343 | * coding.c (code_convert_region): When we need more GAP for | |
14344 | conversion, pay attention to the case that coding->produced is not | |
14345 | greater than coding->consumed. | |
14346 | ||
14347 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
14348 | ||
14349 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
14350 | ||
14351 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
14352 | ||
14353 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
14354 | menu_item_selection to it to find selected item. | |
14355 | ||
14356 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
14357 | ||
14358 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
14359 | cases. The correct fix is to pass ReparentNotify to Xt. | |
14360 | The shell widget interprets ConfigureNotify differently depending | |
14361 | on if it has been reparented or not. | |
14362 | ||
14363 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
14364 | ||
14365 | * editfns.c (Fformat_time_string): Doc fix. | |
14366 | ||
14367 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
14368 | ||
14369 | * fns.c (Flength): Doc fix. | |
14370 | ||
14371 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
14372 | ||
14373 | * keyboard.c (keyremap): New struct. | |
14374 | (read_key_sequence): Use it: globally replace keytran_foo with | |
14375 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
14376 | keytran_next and fkey_next to just `next'. | |
14377 | ||
14378 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
14379 | ||
14380 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
14381 | treated like an X keysym. | |
14382 | ||
14383 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
14384 | ||
14385 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
14386 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
14387 | This is to also handle x/y changes that occur because of a resize. | |
14388 | ||
14389 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
14390 | ||
14391 | * frame.c (Vdelete_frame_functions): New variable. | |
14392 | (syms_of_frame): Initialize and defvar it. | |
14393 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
14394 | it when frame's `tooltip' parameter is non-nil. | |
14395 | ||
14396 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
14397 | ||
14398 | * w32fns.c (x_create_tip_frame): Likewise. | |
14399 | ||
14400 | * macfns.c (x_create_tip_frame): Likewise. | |
14401 | ||
14402 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
14403 | ||
14404 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
14405 | -1 before calling ccl_driver. | |
14406 | ||
14407 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
14408 | Only when it is non-nil, handle composition sequence. | |
14409 | (setup_coding_system) <0>: Don't force composition handling. | |
14410 | ||
14411 | * Makefile.in (lisp, shortlisp): Add utf-16.elc | |
14412 | ||
14413 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
14414 | ||
14415 | * search.c (Freplace_match): Adjust match data for the substitution | |
14416 | just made in the buffer. | |
14417 | ||
14418 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
14419 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
14420 | ||
14421 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
14422 | ||
14423 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
14424 | (read_char): Use them. Do all exits thru the end of the function. | |
14425 | ||
14426 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
14427 | ||
14428 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
14429 | is nil. | |
14430 | ||
14431 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
14432 | ||
14433 | * regex.h (__restrict_arr): Don't define if already defined. | |
14434 | ||
14435 | * coding.c (run_pre_post_conversion_on_str): | |
14436 | Save and restore Vdeactivate_mark. | |
14437 | ||
14438 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
14439 | ||
14440 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
14441 | ||
14442 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
14443 | ||
14444 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
14445 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
14446 | (choose_face_font): If C is a single byte char or latin-1, call | |
14447 | try_font_list with PREFER_FACE_FAMILY 1. | |
14448 | ||
14449 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
14450 | ||
14451 | * window.c (select_window_1): Don't select frame. | |
14452 | Set frame's selected window only when frame itself is selected. | |
14453 | (Fselect_window): Doc fix. | |
14454 | ||
14455 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
14456 | ||
14457 | * process.c (make-network-process): Doc fix (there is no | |
14458 | network-server-log-function hook). | |
14459 | ||
14460 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
14461 | ||
14462 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
14463 | (syms_of_print): Doc fix for `print-number-table'. | |
14464 | ||
14465 | * unexelf.c (unexec): Undo previous change. | |
14466 | ||
14467 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
14468 | ||
14469 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
14470 | ||
14471 | 2002-09-16 Dave Love <fx@gnu.org> | |
14472 | ||
14473 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
14474 | 25-08-1999. | |
14475 | ||
14476 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
14477 | ||
14478 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
14479 | ||
14480 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
14481 | ||
14482 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
14483 | ||
14484 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
14485 | ||
14486 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
14487 | ||
14488 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
14489 | ||
14490 | * unexsol.c: Don't use report_file_error; do it by hand | |
14491 | using dlerror. | |
14492 | ||
14493 | * process.c (wait_reading_process_input, both versions): | |
14494 | Before calling turn_on_atimers, call stop_polling. | |
14495 | ||
14496 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
14497 | ||
14498 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
14499 | we go to too_near_end, call clear_glyph_matrix. | |
14500 | (redisplay_window): After make_cursor_line_fully_visible, | |
14501 | call clear_glyph_matrix and bypass `goto done'. | |
14502 | ||
14503 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
14504 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
14505 | ||
14506 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
14507 | ||
14508 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
14509 | Only call push_message if we need to. | |
14510 | At the same time, make an unwind-protect to pop it. | |
14511 | Rename local message_p to old_message_p. | |
14512 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
14513 | (do_auto_save_unwind): Don't call pop_message. | |
14514 | ||
14515 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
14516 | ||
14517 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
14518 | ||
14519 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
14520 | ||
14521 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
14522 | ||
14523 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
14524 | ||
14525 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
14526 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
14527 | (re_match_2_internal): Be more careful with infinite loops. | |
14528 | ||
14529 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
14530 | ||
14531 | * macros.c (end_kbd_macro): New function. | |
14532 | (Fend_kbd_macro): Use it. | |
14533 | ||
14534 | * macros.h (end_kbd_macro): Declare extern. | |
14535 | ||
14536 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
14537 | end and save it instead of discarding it. | |
14538 | ||
14539 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
14540 | ||
14541 | * s/sol2-6.h: Fix typo. Add comment. | |
14542 | ||
14543 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
14544 | ||
14545 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
14546 | ||
14547 | * s/sol2-6.h: New file. | |
14548 | ||
14549 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
14550 | ||
14551 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
14552 | ||
14553 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
14554 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). | |
14555 | ||
14556 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
14557 | ||
14558 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
14559 | ||
14560 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
14561 | ||
14562 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
14563 | ||
14564 | * coding.c (syms_of_coding): Fix spacing. | |
14565 | ||
14566 | * composite.c (Fcompose_region_internal) | |
14567 | (Fcompose_string_internal): Likewise. | |
14568 | ||
14569 | * data.c (Flsh): Likewise. | |
14570 | ||
14571 | * fontset.c (Fset_fontset_font): Likewise. | |
14572 | ||
14573 | * macfns.c (Fx_server_max_request_size): Likewise. | |
14574 | ||
14575 | * w16select.c (syms_of_win16select): Likewise. | |
14576 | ||
14577 | * w32select.c (syms_of_w32select): Likewise. | |
14578 | ||
14579 | * xselect.c (syms_of_xselect): Likewise. | |
14580 | ||
14581 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
14582 | ||
14583 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
14584 | call EXTEND_RANGE_TABLE and return a proper value. | |
14585 | (set_image_of_range): Don't call set_image_of_range_1 | |
14586 | if no TRANSLATE or if range includes all of Latin-1. | |
14587 | Only call it for the Latin-1 part of the range. | |
14588 | For other cases, make two separate ranges, | |
14589 | one for the original specified characters and one for | |
14590 | their case-conversions. | |
14591 | ||
14592 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
14593 | ||
14594 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
14595 | ||
14596 | * window.c (displayed_window_lines): Correct for one-off bug | |
14597 | in HEIGHT on non-window displays. | |
14598 | ||
14599 | * regex.c (set_image_of_range_1): New function. | |
14600 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
14601 | Return a value to indicate running out of memory. | |
14602 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
14603 | (extend_range_table_work_area): New subroutine. | |
14604 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
14605 | Different calling conventions, and used from set_image_of_range{,_1}. | |
14606 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
14607 | ||
14608 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
14609 | ||
14610 | * makefile.w32-in: All dependencies updated. | |
14611 | ||
14612 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
14613 | ||
14614 | * unexsol.c: New file. | |
14615 | ||
14616 | * xfns.c (Qbox): Declare external, don't define. | |
14617 | ||
14618 | * xdisp.c (redisplay_window) <force-start case>: | |
14619 | If point is on semi-visible last line, reposition | |
14620 | it at previous line. | |
14621 | ||
14622 | * alloc.c (display_malloc_warning): Use display-warning. | |
14623 | (malloc_warning_1): Function deleted. | |
14624 | ||
14625 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
14626 | ||
14627 | * lread.c (read1): Handle #! by skipping the line. | |
14628 | ||
14629 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
14630 | ||
14631 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
14632 | Don't include LDFLAGS. | |
14633 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
14634 | ||
14635 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
14636 | ||
14637 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
14638 | member of x_display_info unless we compile for some window system. | |
14639 | ||
14640 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
14641 | ||
14642 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
14643 | (get_window_cursor_type): Don't use them. | |
14644 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
14645 | ||
14646 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
14647 | ||
14648 | * xdisp.c (get_next_display_element): Fix previous change. | |
14649 | ||
14650 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
14651 | ||
14652 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
14653 | (expose_window): Use it to fix the display of overlapping | |
14654 | rows (merge code from xterm.c). | |
14655 | ||
14656 | * macfns.c (Qbox): Add extern declaration. | |
14657 | ||
14658 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
14659 | ||
14660 | * w32fns.c (Qbox): Make extern. | |
14661 | (syms_of_w32fns): Remove initialization of Qbox. | |
14662 | ||
14663 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
14664 | ||
14665 | * xfns.c (Fx_open_connection): Fix error message. | |
14666 | ||
14667 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
14668 | ||
14669 | The following changes consolidates the handling of the cursor | |
14670 | type in xdisp.c, moving duplicate code and functionality from | |
14671 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
14672 | ||
14673 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
14674 | Added DEFAULT_CURSOR value. | |
14675 | (struct frame) <desired_cursor, cursor_width> | |
14676 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
14677 | Consolidated from output_x, output_w32 and output_mac structs. | |
14678 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
14679 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
14680 | ||
14681 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
14682 | Variables consolidated here. | |
14683 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
14684 | (Vcursor_in_non_selected_windows): Renamed from | |
14685 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
14686 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
14687 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
14688 | consolidated here. Recognize Qhollow setting. | |
14689 | (set_frame_cursor_types): New function to set frame cursor types | |
14690 | based on the frame parameters. | |
14691 | (get_window_cursor_type): New function to calculate new cursor | |
14692 | type and width for the specified window. Based on duplicated | |
14693 | code consolidated here. | |
14694 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
14695 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
14696 | before using built-in blink off methods. | |
14697 | ||
14698 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
14699 | ||
14700 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
14701 | (get_specified_cursor_type, get_window_cursor_type) | |
14702 | (set_frame_cursor_types): Added prototypes. | |
14703 | ||
14704 | * macfns.c (x_specified_cursor_type): Removed. | |
14705 | (x_set_cursor_type): Use set_frame_cursor_types. | |
14706 | (Qbar, Qbox): Removed. | |
14707 | (syms_of_macfns): Don't intern or staticpro them. | |
14708 | ||
14709 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
14710 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
14711 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
14712 | Remove unused local variables cursor_non_selected, active_cursor. | |
14713 | Redraw cursor if hbar cursor width changes. | |
14714 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
14715 | ||
14716 | * macterm.h (enum text_cursor_kinds): Removed. | |
14717 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
14718 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
14719 | (FRAME_DESIRED_CURSOR): Macro removed. | |
14720 | ||
14721 | * w32fns.c (Vblink_cursor_alist): Removed. | |
14722 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
14723 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
14724 | (x_specified_cursor_type): Removed. | |
14725 | (x_set_cursor_type): Use set_frame_cursor_types. | |
14726 | ||
14727 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
14728 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
14729 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
14730 | Remove unused local variables cursor_off_state. | |
14731 | Redraw cursor if hbar cursor width changes. | |
14732 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
14733 | ||
14734 | * w32term.h (enum text_cursor_kinds): Removed. | |
14735 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
14736 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
14737 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
14738 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
14739 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
14740 | w32_highlight_frame. | |
14741 | ||
14742 | * xfns.c (Vblink_cursor_alist): Removed. | |
14743 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
14744 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
14745 | (x_specified_cursor_type): Removed. | |
14746 | (x_set_cursor_type): Use set_frame_cursor_types. | |
14747 | ||
14748 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
14749 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
14750 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
14751 | Remove unused local variables cursor_off_state. | |
14752 | Redraw cursor if hbar cursor width changes. | |
14753 | ||
14754 | * xterm.h (enum text_cursor_kinds): Removed. | |
14755 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
14756 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
14757 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
14758 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
14759 | (x_specified_cursor_type): Remove prototype. | |
14760 | ||
14761 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
14762 | ||
14763 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
14764 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
14765 | (Vblink_cursor_alist): New variable. | |
14766 | (syms_of_w32fns): Initialize and defvar it. | |
14767 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
14768 | Exceptions are hollow boxes. | |
14769 | (Qbox, Qhollow): New variables. | |
14770 | (syms_of_w32fns): Initialize and staticpro them. | |
14771 | ||
14772 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
14773 | New macros. | |
14774 | (struct w32_output): New fields blink_off_cursor, | |
14775 | blink_off_cursor_width. | |
14776 | (FRAME_CURSOR_WIDTH): New macro. | |
14777 | ||
14778 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
14779 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
14780 | ||
14781 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
14782 | for bar cursor. | |
14783 | ||
14784 | * w32term.c (expose_overlaps): New function. | |
14785 | (expose_window): Use it to fix the display of overlapping rows. | |
14786 | ||
14787 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
14788 | ||
14789 | * xfns.c (Fx_open_connection): Improve help when X connection | |
14790 | fails, xhost is insecure and xauth is better. | |
14791 | ||
14792 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
14793 | ||
14794 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
14795 | composite.h. | |
14796 | ||
14797 | * emacs.c (USAGE1): Add missing newline. | |
14798 | ||
14799 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
14800 | ||
14801 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
14802 | ||
14803 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
14804 | ||
14805 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
14806 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
14807 | (Vblink_cursor_alist): New variable. | |
14808 | (syms_of_xfns): Initialize and defvar it. | |
14809 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
14810 | Exceptions are hollow boxes. | |
14811 | (Qbox, Qhollow): New variables. | |
14812 | (syms_of_xfns): Initialize and staticpro them. | |
14813 | ||
14814 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
14815 | New macros. | |
14816 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
14817 | ||
14818 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
14819 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
14820 | ||
14821 | * emacs.c (main): Handle --script. | |
14822 | (USAGE1): Mention --script. | |
14823 | (standard_args): Define sort order for --script. | |
14824 | ||
14825 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
14826 | ||
14827 | * xdisp.c (redisplay_updating_p): Variable removed. | |
14828 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
14829 | New variables. | |
14830 | (init_iterator): Don't free realized faces if | |
14831 | inhibit_free_realized_faces is set. | |
14832 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
14833 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
14834 | initialize Qinhibit_free_realized_faces. | |
14835 | ||
14836 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
14837 | when iterator is adding glyphs to a glyph matrix. | |
14838 | ||
14839 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
14840 | ||
14841 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
14842 | octal form for such eight-bit characters that can be converted to | |
14843 | multibyte char. | |
14844 | ||
14845 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
14846 | ||
b6189c3b KS |
14847 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize |
14848 | foreground and background colors. From Joe Buehler. | |
048addec JD |
14849 | |
14850 | 2002-08-26 Miles Bader <miles@gnu.org> | |
14851 | ||
14852 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
14853 | ||
14854 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
14855 | ||
14856 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
14857 | defined instead of MAC_OSX. | |
14858 | ||
14859 | * s/darwin.h (select): Define select to sys_select only if | |
14860 | HAVE_CARBON is defined. | |
14861 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
14862 | (DONT_REOPEN_PTY): #def it. | |
14863 | ||
14864 | * macterm.c (XTread_socket): Remove code to call | |
14865 | SendEventToEventTarget for keys with command modifiers when | |
14866 | mac_command_key_is_meta is nil. | |
14867 | ||
14868 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
14869 | ||
14870 | * eval.c (Fdefvar): Fix last change. | |
14871 | ||
14872 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
14873 | ||
14874 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
14875 | Record variables in load history as (defvar . VAR). | |
14876 | (Fdefvar): Don't record in load history if no initial value. | |
14877 | (Qdefvar): New variable. | |
14878 | (syms_of_eval): Init and staticpro it. | |
14879 | ||
14880 | * lread.c (syms_of_lread): Doc fix. | |
14881 | (build_load_history): Use Fmember to see if a definition | |
14882 | is already in the Vload_history element. | |
14883 | ||
14884 | * process.c (Fstart_process): Remove /: from program name. | |
14885 | ||
14886 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
14887 | has a `safe-magic' property. | |
14888 | ||
14889 | * callproc.c (Fcall_process): Remove /: from program name. | |
14890 | ||
14891 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
14892 | ||
14893 | * regex.c (PATFETCH): Remove the translating fetch. | |
14894 | (PATFETCH_RAW): Rename to PATFETCH. | |
14895 | (set_image_of_range): New fun. | |
14896 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
14897 | (regex_compile): Don't translate the pattern chars so eagerly. | |
14898 | Only do it when inserting an `exactn' bytecode or when handling | |
14899 | a char-range. | |
14900 | (mutually_exclusive_p): Avoid empty statement. | |
14901 | ||
14902 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
14903 | ||
14904 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
14905 | end up on a partially visible line; this reverts a specific part | |
14906 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
14907 | display error which has been reported several times now. | |
14908 | However it introduces the problem that changes was supposed to fix. | |
14909 | See my comments in the source if you want to debug this further. | |
14910 | ||
14911 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
14912 | ||
14913 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
14914 | ||
14915 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
14916 | ||
14917 | * msdos.c (croak): Add `void' to definition. | |
14918 | ||
c1380aa6 | 14919 | * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: |
048addec JD |
14920 | Don't define them, they are defined in msdos.c. |
14921 | ||
14922 | * mem-limits.h [MSDOS]: Declare etext. | |
14923 | ||
14924 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
14925 | `const' since CORRECT_DIR_SEPS modifies its target. | |
14926 | ||
14927 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
14928 | ||
2fb0ce67 | 14929 | * keyboard.c (Fclear_this_command_keys): Add optional arg |
048addec JD |
14930 | KEEP-RECORD to avoid clearing lossage when we just want to clear |
14931 | the current key sequence (kmacro needs this). | |
14932 | ||
14933 | 2002-08-19 Kenichi Handa <handa@localhost> | |
14934 | ||
14935 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
14936 | ||
14937 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
14938 | cons, return Qnil. | |
14939 | ||
14940 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
14941 | ||
14942 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
14943 | ||
14944 | * sysdep.c [!VMS]: Include sys/files.h. | |
14945 | ||
14946 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
14947 | ||
14948 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
14949 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
14950 | ||
14951 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
14952 | ||
14953 | * mac.c (init_mac_osx_environment): New function. | |
14954 | ||
14955 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
14956 | ||
14957 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
14958 | ||
14959 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
14960 | executing macro before appending to it (when used from Lisp). | |
14961 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
14962 | which is called prior to each iteration of macro (for kmacro.el). | |
14963 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
14964 | ||
14965 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
14966 | ||
14967 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
14968 | ||
14969 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
14970 | ||
14971 | * xselect.c (QUTF8_STRING): New variable. | |
14972 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
14973 | (x_atom_to_symbol): Likewise. | |
14974 | (x_get_local_selection): New argument local_request. If it is | |
14975 | nonzero, call handler_fn with the second arg nil. | |
14976 | (x_handle_selection_request): Call x_get_local_selection with | |
14977 | local_request 0. | |
14978 | (lisp_data_to_selection_data): Don't encode the string here. | |
14979 | (Fx_get_selection_internal): Call x_get_local_selection with | |
14980 | local_request 1. | |
14981 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
14982 | ||
14983 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
14984 | ||
14985 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
14986 | ||
14987 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
14988 | ||
14989 | * minibuf.c (Fminibufferp): New function. | |
14990 | (syms_of_minibuf): Defsubr it. | |
14991 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
14992 | ||
14993 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
14994 | ||
14995 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
14996 | ||
14997 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
14998 | ||
14999 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
15000 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
15001 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
15002 | already. | |
15003 | ||
15004 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
15005 | ||
15006 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
15007 | ||
15008 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
15009 | (Vmac_pass_command_to_system): New variable. | |
15010 | (Vmac_pass_control_to_system): New variable. | |
15011 | (do_mouse_moved): Check wp with is_emacs_window. | |
15012 | (XTread_socket): Check window_ptr with is_emacs_window. | |
15013 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
15014 | events back to Mac Toolbox for processing, depending on values of | |
15015 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
15016 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
15017 | Vmac_pass_control_to_system. | |
15018 | ||
15019 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
15020 | ||
15021 | * coding.c (unencodable_char_position): New function. | |
15022 | (Funencodable_char_position): New function. | |
15023 | (syms_of_coding): Defsubr Funencodable_char_position. | |
15024 | ||
15025 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
15026 | ||
15027 | * mac.c (sys_select) [MAC_OSX]: New function. | |
15028 | ||
15029 | * macterm.c (MakeMeTheFrontProcess): New function. | |
15030 | (mac_initialize): Call MakeMeTheFrontProcess. | |
15031 | ||
15032 | * s/darwin.h: Define select to sys_select. | |
15033 | ||
15034 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
15035 | ||
15036 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
15037 | ||
15038 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
15039 | ||
15040 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
15041 | end of the buffer. | |
15042 | ||
15043 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> | |
15044 | ||
15045 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
15046 | ||
15047 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
15048 | ||
15049 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
15050 | ||
15051 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
15052 | VISIT is a filename, make it the target. | |
15053 | ||
15054 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
15055 | ||
15056 | * alloc.c (mark_object): Detect long lists for debugging. | |
15057 | (mark_object_loop_halt): New variable. | |
15058 | ||
15059 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
15060 | ||
15061 | * data.c (Fmake_variable_frame_local): Doc fix. | |
15062 | ||
15063 | 2002-08-01 David Ponce <david@dponce.com> | |
15064 | ||
15065 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
15066 | (malloc_widget_value, free_widget_value) | |
15067 | (w32_free_submenu_strings): Use them. | |
15068 | ||
15069 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
15070 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
15071 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
15072 | (single_submenu, set_frame_menubar) | |
15073 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
15074 | ||
15075 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
15076 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
15077 | ||
15078 | * w32menu.c: Changes adapted from xmenu.c | |
15079 | (set_frame_menubar): First parse all submenus, | |
15080 | then make widget_value trees from them. | |
15081 | Don't allocate any widget_value objects | |
15082 | until we are done with the parsing. | |
15083 | (parse_single_submenu): New function. | |
15084 | (digest_single_submenu): New function. | |
15085 | (single_submenu): Function deleted, replaced by those two. | |
15086 | ||
15087 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
15088 | ||
15089 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
15090 | returns a valid window pointer before proceeding for keyDown and | |
15091 | autoKey events. | |
15092 | ||
15093 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
15094 | ||
15095 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
15096 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
15097 | (x_iconify_frame): Call CollapseWindow. | |
15098 | (Vmac_reverse_ctrl_meta): New variable. | |
15099 | (Vmac_wheel_button_is_mouse_2): New variable. | |
15100 | (init_mac_drag_n_drop): New function. | |
15101 | (mac_do_receive_drag): New function. | |
15102 | (mac_handle_service_event): New function. | |
15103 | (init_service_handler): New function. | |
15104 | (mac_to_emacs_modifiers): New function. | |
15105 | (mac_event_to_emacs_modifiers): New function. | |
15106 | (mac_get_mouse_btn): New function. | |
15107 | (mac_convert_event_ref): New function. | |
15108 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
15109 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
15110 | mac_get_mouse_btn. | |
15111 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
15112 | ||
15113 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
15114 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
15115 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
15116 | TOOL_BAR_EVENT for MAC_OS as well. | |
15117 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
15118 | as for WINDOWS_NT. | |
15119 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
15120 | ||
15121 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
15122 | ||
15123 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
15124 | ||
15125 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
15126 | lead to a newline being skipped. | |
15127 | ||
15128 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
15129 | ||
15130 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
15131 | ||
15132 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
15133 | ||
15134 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
15135 | ||
15136 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
15137 | ||
15138 | * macfns.c: #undef init_process before #define-ing it. | |
15139 | ||
15140 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
15141 | HAVE_CARBON is defined. | |
15142 | ||
15143 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
15144 | ||
15145 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
15146 | then make widget_value trees from them. | |
15147 | Don't allocate any widget_value objects | |
15148 | until we are done with the parsing. | |
15149 | (parse_single_submenu): New function. | |
15150 | (digest_single_submenu): New function. | |
15151 | (single_submenu): Function deleted, replaced by those two. | |
15152 | ||
15153 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
15154 | ||
15155 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
15156 | `w32-get-true-file-attributes'. | |
15157 | ||
15158 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
15159 | ||
15160 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
15161 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
15162 | ||
15163 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
15164 | ||
15165 | * keyboard.c (make_lispy_event): | |
15166 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
15167 | Explicitly clear up_modifier in event->modifiers. | |
15168 | ||
15169 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
15170 | ||
15171 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
15172 | ||
15173 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
15174 | for bar cursor. | |
15175 | ||
15176 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
15177 | ||
15178 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
15179 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
15180 | it in the normal loop. | |
15181 | ||
15182 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
15183 | ||
15184 | * xterm.c (expose_overlaps): New function. | |
15185 | (expose_window): Use it to fix the display of overlapping rows. | |
15186 | ||
15187 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
15188 | ||
15189 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
15190 | ||
15191 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
15192 | since it only depends on XUINT. | |
15193 | ||
15194 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
15195 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
15196 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
15197 | Macros deleted. | |
3947677c | 15198 | |
77d1daf2 AS |
15199 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
15200 | its value over other approaches. | |
15201 | * sysdep.c (start_of_data): Don't define the function if a macro | |
15202 | form has been defined. | |
8a8e19a3 | 15203 | |
048addec JD |
15204 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
15205 | ||
15206 | * xdisp.c (redisplay_updating_p): New variable. | |
15207 | (init_iterator): Don't free realized faces when | |
15208 | redisplay_updating_p is set. | |
15209 | (redisplay_internal): Set redisplay_updating_p while updating | |
15210 | the display. | |
15211 | ||
15212 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
15213 | ||
15214 | * editfns.c (Fmessage): Treat "" like nil. | |
15215 | ||
15216 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
15217 | ||
15218 | * xdisp.c (face_before_or_after_it_pos): | |
15219 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
15220 | ||
15221 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
15222 | ||
15223 | * callproc.c (init_callproc) [DOS_NT]: | |
15224 | Initialize Vshared_game_score_directory to nil. | |
15225 | (syms_of_callproc) [DOS_NT]: Likewise. | |
15226 | ||
15227 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
15228 | ||
15229 | * xdisp.c (display_line): Replace an abort with xassert. | |
15230 | ||
15231 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
15232 | ||
15233 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
15234 | and END_UNCHANGED when setting buffer_unchanged_p. | |
15235 | Use current_matrix_up_to_date_p to decide whether to use | |
15236 | try_cursor_movement. | |
15237 | ||
15238 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
15239 | ||
15240 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
15241 | ||
15242 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
15243 | Set to nil if dir does not exist. | |
15244 | (syms_of_callproc): Init unconditionally and simply. | |
15245 | ||
15246 | * buffer.c (Fbuffer_list): Doc fix. | |
15247 | ||
15248 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
15249 | ||
15250 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
15251 | ||
15252 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
15253 | pages to unmap is rounded towards zero. | |
15254 | ||
15255 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
15256 | (XSETINT): Deleted. | |
15257 | ||
15258 | * m/att3b.h (XINT): Don't define. | |
15259 | (VALBITS, VALMASK, XTYPE): Deleted. | |
15260 | (DATA_SEG_BITS): Define. | |
15261 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
15262 | ARRAY_MARK_FLAG): Deleted. | |
15263 | (DATA_SEG_BITS): Define. | |
15264 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
15265 | (DATA_SEG_BITS): Define. | |
15266 | ||
15267 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
15268 | ||
15269 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
15270 | Calls changed. | |
15271 | ||
15272 | * lisp.h (print_error_message): Declare new args. | |
15273 | ||
15274 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
15275 | and CONTEXT to print_error_message, don't print them here. | |
15276 | For a Quit, don't use Vsignaling_function. | |
15277 | Call message_log_maybe_newline. | |
15278 | ||
15279 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
15280 | ||
15281 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
15282 | ||
15283 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
15284 | ||
15285 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
15286 | ||
15287 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
15288 | point to const. | |
15289 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
15290 | const. | |
15291 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
15292 | * coding.c (encode_eol, detect_coding, detect_eol): | |
15293 | (decode_coding, encode_coding, detect_coding_system): | |
15294 | Source strings now treated as const. | |
15295 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
15296 | modify Lisp string contents. | |
15297 | * coding.h (decode_coding, encode_coding, detect_coding, | |
15298 | detect_eol): Declarations updated. | |
15299 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
15300 | as const. | |
15301 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
15302 | * lisp.h (STRING_COPYIN): New macro. | |
15303 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
15304 | (internal_with_output_to_temp_buffer): Declarations updated. | |
15305 | * print.c (temp_output_buffer_setup): | |
15306 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
15307 | pointer to const. | |
15308 | * sound.c (struct sound_device): Function pointer field "write" | |
15309 | buffer argument now points to const. | |
15310 | (vox_write): Buffer argument points to const. | |
15311 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
15312 | contents as const. | |
15313 | * sysdep.c (emacs_write): Buffer pointer now const. | |
15314 | * term.c (encode_terminal_code): Buffer pointer now const. | |
15315 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
15316 | (x_face_list_fonts, x_update_menu_appearance): | |
15317 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
15318 | ||
15319 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
15320 | ||
048addec JD |
15321 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
15322 | ||
15323 | * fileio.c (syms_of_fileio): Likewise. | |
c62aec78 JB |
15324 | (Ffile_name_as_directory): Fix argument name in docstring. |
15325 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
048addec JD |
15326 | |
15327 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
15328 | ||
15329 | * data.c (Fdefalias): Doc fix. | |
15330 | ||
15331 | 2002-07-17 Dave Love <fx@gnu.org> | |
15332 | ||
15333 | * intervals.h (text_property_stickiness): Use P_. | |
15334 | ||
15335 | * ccl.c: Remove `emacs' conditionals. | |
15336 | (ccl_backtrace_table): Fix size spec. | |
15337 | (ccl_driver): Fix type errors. | |
15338 | ||
15339 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
15340 | ||
15341 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
15342 | (make_multibyte_string, build_string): String pointer args now | |
15343 | point to const. | |
15344 | * charset.c (find_charset_in_text, c_string_width): | |
15345 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
15346 | * fileio.c (report_file_error): | |
15347 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
15348 | (count_combining_before, count_combining_after, insert_1_both): | |
15349 | (insert, insert_and_inherit, insert_string): | |
15350 | (insert_before_markers, insert_before_markers_and_inherit): | |
15351 | * lread.c (intern, oblookup, hash_string): | |
15352 | * minibuf.c (temp_echo_area_glyphs): | |
15353 | * search.c (fast_c_string_match_ignore_case): | |
15354 | * sysdep.c (emacs_open, set_file_times): | |
15355 | * xfaces.c (xstricmp): | |
15356 | * xdisp.c (store_frame_title, string_char_and_length): | |
15357 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
15358 | (set_message_1): Cast message string argument to const pointer. | |
15359 | * editfns.c (general_insert_function): Insertion function now | |
15360 | takes pointer to const for input data. | |
15361 | * charset.h (find_charset_in_text, c_string_width): | |
15362 | (parse_str_as_multibyte): Declarations updated. | |
15363 | * dispextern.h (xstricmp): Declaration updated. | |
15364 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
15365 | (count_size_as_multibyte, count_combining_before): | |
15366 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
15367 | (insert, insert_and_inherit, insert_before_markers) | |
15368 | (insert_before_markers_and_inherit, set_message, message2): | |
15369 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
15370 | (make_multibyte_string, intern, oblookup, report_file_error): | |
15371 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
15372 | (emacs_open, xstrdup): Declarations updated. | |
15373 | * systime.h (set_file_times): Declaration updated. | |
15374 | ||
15375 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
15376 | for pointer to lisp string data. | |
15377 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
15378 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
15379 | * coding.c (Ffind_coding_systems_region_interval): | |
15380 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
15381 | (Fmake_directory_internal, Fdelete_directory): | |
15382 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
15383 | * fontset.c (font_family_registry, fs_query_fontset): | |
15384 | (list_fontsets): | |
15385 | * frame.c (Fframe_parameter): | |
15386 | * keyboard.c (cmd_error_internal): | |
15387 | * keymap.c (Fdescribe_buffer_bindings): | |
15388 | * lread.c (complete_filename_p, openp): | |
15389 | * minibuf.c (Fminibuffer_complete_word): | |
15390 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
15391 | (face_before_or_after_it_pos, next_element_from_string): | |
15392 | (get_overlay_arrow_glyph_row, display_mode_element): | |
15393 | (decode_mode_spec_coding): | |
15394 | * xterm.c (same_x_server): Likewise. | |
15395 | ||
15396 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
15397 | settings of non-existent fields. | |
15398 | ||
15399 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
15400 | copy a lisp value. | |
15401 | ||
15402 | * lread.c (Fintern_soft): Use string macros instead of | |
15403 | Lisp_String fields. | |
15404 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
15405 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
15406 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
15407 | ||
15408 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
15409 | ||
15410 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
15411 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
15412 | XSTRING()->size_byte. | |
15413 | ||
15414 | * lisp.h (SDATA, SREF): Produce rvalue. | |
15415 | (SSET): New macro. | |
15416 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
15417 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
15418 | a string. | |
15419 | * casefiddle.c (casify_object): Use SSET. | |
15420 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
15421 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
15422 | address of string contents. | |
15423 | * data.c (Faref): Use SDATA. | |
15424 | (Faset): Use SDATA, SSET. | |
15425 | * dired.c (directory_files_internal): Use SSET. | |
15426 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
15427 | (Fread_file_name): Use SREF, SSET. | |
15428 | * fns.c (concat): Use SSET. | |
15429 | (concat, Fdelete): Use SDATA. | |
15430 | * insdel.c (insert_from_string_1): Use SDATA. | |
15431 | * keyboard.c (Fevent_convert_list): Use SREF. | |
15432 | * lread.c (Fload): Use SDATA, SSET. | |
15433 | * macfns.c (validate_x_resource_name): Use SSET. | |
15434 | * process.c (status_message): Use SSET. | |
15435 | * search.c (wordify): Use SDATA. | |
15436 | (Freplace_match): Use SREF. | |
15437 | * w32fns.c (validate_x_resource_name): Use SSET. | |
15438 | * xfns.c (validate_x_resource_name): Use SSET. | |
15439 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
15440 | ||
15441 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
15442 | ||
15443 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
15444 | ||
15445 | * xdisp.c (reconsider_clip_changes): | |
15446 | Don't test prevent_redisplay_optimizations_p. | |
15447 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
15448 | along with clip_changed in some cases. | |
15449 | (try_window_id): Likewise. | |
15450 | (redisplay_window): New local var buffer_unchanged_p. | |
15451 | ||
15452 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
15453 | ||
15454 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
15455 | (process_send_signal): Clean up handling of GID. | |
15456 | Detect errors in ioctls meant to set GID. | |
15457 | ||
15458 | * window.c (temp_output_buffer_show): | |
15459 | Don't set prevent_redisplay_optimizations_p. | |
15460 | ||
15461 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
15462 | ||
15463 | * eval.c (Fdefvaralias): Add docstring argument. | |
15464 | ||
15465 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
15466 | ||
15467 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
15468 | (STRING_SET_INTERVALS): New macro. | |
15469 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
15470 | * fns.c (Fstring_as_multibyte): Likewise. | |
15471 | * intervals.c (balance_possible_root_interval, delete_interval) | |
15472 | (create_root_interval, copy_intervals_to_string): Likewise. | |
15473 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
15474 | instead of 0. | |
15475 | ||
15476 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
15477 | ||
15478 | * lisp.h (STRING_SET_CHARS): New macro. | |
15479 | (SCHARS, SBYTES): Produce rvalues. | |
15480 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
15481 | * fns.c (concat): Likewise. | |
15482 | * lread.c (read_vector): Likewise. | |
15483 | ||
3419757d | 15484 | * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. |
048addec | 15485 | (STRING_SET_UNIBYTE): New macro. |
3419757d | 15486 | (SET_STRING_BYTES): Delete. Callers (all of which supplied a |
048addec JD |
15487 | length of -1) changed to use STRING_SET_UNIBYTE. |
15488 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
15489 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
15490 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
15491 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
15492 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
15493 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
15494 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
15495 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
15496 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
15497 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
15498 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
15499 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
15500 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
15501 | unchanged for now. | |
15502 | ||
15503 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
15504 | ||
15505 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
15506 | ||
15507 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
15508 | ||
15509 | * fileio.c (Fwrite_region): Doc fix. | |
15510 | ||
15511 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
15512 | ||
15513 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
15514 | (command_loop_1): Avoid certain actions after memory-full error. | |
15515 | ||
15516 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
15517 | For a memory-full error, don't call Vsignal_hook_function | |
15518 | and don't set Vsignaling_function. | |
15519 | ||
15520 | * process.c (process_send_signal): Add abort call. | |
15521 | ||
15522 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
15523 | ||
15524 | * keymap.c (Fkey_binding): Fix typo. | |
15525 | ||
15526 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
15527 | ||
15528 | * alloc.c (Vmemory_full): New variable. | |
3419757d | 15529 | (Vmemory_signal_data): Rename from memory_signal_data. |
048addec JD |
15530 | Uses changed. |
15531 | (syms_of_alloc): Defvar them. | |
15532 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
15533 | ||
15534 | * lisp.h (Vmemory_full): Add declaration. | |
15535 | (current_column, indented_beyond_p): Change declaration. | |
15536 | ||
15537 | * indent.c (last_known_column): Declare as double, not float. | |
15538 | (current_column, current_column_1, string_display_width) | |
15539 | (position_indentation): Return `double'. | |
15540 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
15541 | ||
15542 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
15543 | (back_to_previous_visible_line_start) | |
15544 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
15545 | Use `double', not `float', when calling indented_beyond_p. | |
15546 | ||
3419757d | 15547 | * s/hpux11.h (BROKEN_SA_RESTART): Define. |
048addec JD |
15548 | |
15549 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
15550 | ||
15551 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
15552 | ||
15553 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
f9711de4 JB |
15554 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
15555 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
15556 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
15557 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
15558 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
048addec JD |
15559 | |
15560 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
15561 | ||
d814862a JB |
15562 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. |
15563 | All callers changed. | |
048addec JD |
15564 | |
15565 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
15566 | ||
15567 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
15568 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
15569 | ||
15570 | * composite.c (HASH_VALUE, HASH_KEY): | |
15571 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
15572 | ||
15573 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
15574 | ||
15575 | * callproc.c (Fcall_process): Fix previous change. | |
15576 | ||
15577 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
15578 | ||
15579 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
15580 | Add support for hash-tables. | |
15581 | (Ftry_completion): Return t even if the string appears multiple times. | |
15582 | ||
15583 | * fns.c (Fnconc): Use XCDR. | |
15584 | (Fprovide): Use CONSP and XCDR. | |
15585 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
15586 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
15587 | (Fmake_hash_table): Accept `:size nil'. | |
15588 | (Fmakehash): Delete: moved to subr.el. | |
15589 | (syms_of_fns): Don't defsubr makehash. | |
15590 | ||
15591 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
15592 | (HASH_TABLE_SIZE): Move from fns.c. | |
15593 | ||
15594 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
15595 | ||
15596 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
15597 | Instead just return 0 when there is something to be done. | |
15598 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
15599 | retry scrolling as if cursor were off the bottom. | |
15600 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
15601 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
15602 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
15603 | go to try_to_scroll. | |
15604 | ||
15605 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
15606 | so we get the up-to-date value for the binding that is loaded. | |
15607 | ||
15608 | * eval.c (Fdefmacro): Doc fix. | |
15609 | ||
15610 | 2002-07-05 Dave Love <fx@gnu.org> | |
15611 | ||
15612 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
15613 | correctly. | |
15614 | ||
15615 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
15616 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
15617 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
15618 | CCL_LookupCharConstTbl. | |
15619 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
15620 | ||
15621 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
15622 | ||
15623 | * xdisp.c: Remove unused variable `face'. | |
15624 | ||
15625 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
15626 | ||
15627 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
15628 | obsolescence information. | |
15629 | ||
15630 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
15631 | ||
15632 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
15633 | pattern. Search cache first. | |
15634 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
15635 | for Japanese font. | |
15636 | (XLoadQueryFont): Use it. | |
15637 | ||
15638 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
15639 | ||
15640 | * keymap.c (Fdefine_key): Doc fix. | |
15641 | ||
15642 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
15643 | ||
15644 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
15645 | ||
15646 | * keymap.c (syms_of_keymap): Fix typo. | |
15647 | ||
15648 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
15649 | ||
15650 | * s/darwin.h: Define POSIX_SIGNALS. | |
15651 | ||
15652 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
15653 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
15654 | Posix pathname. | |
15655 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
15656 | Call init_required_apple_events and disable the `Quit' menu item | |
15657 | provided automatically by the Carbon Toolbox. | |
15658 | ||
15659 | 2002-07-01 Dave Love <fx@gnu.org> | |
15660 | ||
15661 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
15662 | for K&R. | |
15663 | ||
15664 | * xterm.c: Fix prototype for K&R. | |
15665 | ||
15666 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
15667 | ||
15668 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
15669 | ||
15670 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
15671 | (timer_start_idle): Set that. | |
15672 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
15673 | to previous value. | |
15674 | ||
15675 | * window.c (Frecenter): With arg, set optional_new_start. | |
15676 | ||
15677 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
15678 | ||
15679 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
15680 | buffer for completion. | |
15681 | ||
15682 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
15683 | ||
15684 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
15685 | ||
15686 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
15687 | ||
15688 | * keyboard.c (readable_filtered_events): New function that filters | |
15689 | FOCUS_IN_EVENT depending on parameter. | |
15690 | (readable_events): Calls readable_filtered_events, not filtering | |
15691 | FOCUS_IN_EVENT. | |
15692 | (get_filtered_input_pending): New function, filtering parameter passed | |
15693 | to readable_filtered_events. | |
15694 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
15695 | FOCUS_IN_EVENT. | |
15696 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
15697 | FOCUS_IN_EVENT. | |
15698 | ||
15699 | * xterm.h (struct x_output): Add focus_state. | |
15700 | ||
15701 | * xterm.c (x_focus_changed): New function. | |
15702 | (x_detect_focus_change): New function. | |
15703 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
15704 | EnterNotify and LeaveNotify to track X focus changes. | |
15705 | ||
15706 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
15707 | ||
15708 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
15709 | ||
15710 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
15711 | ||
52eb0373 | 15712 | * xdisp.c (mode_line_string_list, mode_line_string_face) |
048addec JD |
15713 | (mode_line_string_face_prop): New variables. |
15714 | (store_mode_line_string): New function. | |
15715 | (display_mode_element): Use store_mode_line_string to | |
15716 | add mode-line string elements to mode_line_string_list | |
15717 | when mode_line_string_list is non-nil. | |
15718 | (Fformat_mode_line): Now returns propertized string by | |
15719 | default. New arg NO-PROPS to ignore properties. | |
15720 | (decode_mode_spec): Only add two dashes for %- in propertized | |
15721 | mode-line string. | |
15722 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
15723 | ||
15724 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
15725 | ||
15726 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
15727 | ||
15728 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
15729 | ||
15730 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
15731 | ||
15732 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
15733 | ||
15734 | * fileio.c (read_file_name_cleanup): Add missing return. | |
15735 | ||
15736 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
15737 | ||
15738 | * window.c (Frecenter): Don't set force_start flag. | |
15739 | ||
15740 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
15741 | (Fminibuffer_completion_help): Complete just the text before point. | |
15742 | (minibuffer_completion_contents): New function. | |
15743 | ||
15744 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
15745 | ||
15746 | * frame.c (frames_bury_buffer): Function deleted. | |
15747 | ||
15748 | 2002-06-25 Miles Bader <miles@gnu.org> | |
15749 | ||
15750 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
15751 | the end of callint_message, allow for a terminating '\0'. | |
15752 | ||
15753 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
15754 | ||
52eb0373 | 15755 | * w32select.c: Include composite.h. |
048addec JD |
15756 | |
15757 | * w16select.c: Likewise. | |
15758 | ||
15759 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
15760 | ||
15761 | * callproc.c (Fcall_process): If code detection is necessary, | |
15762 | call detect_coding directly here. | |
15763 | ||
15764 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
15765 | ||
15766 | * w16select.c (Fw16_get_clipboard_data): | |
15767 | * w32fns.c (w32_to_x_font): | |
15768 | * w32select.c (Fw32_get_clipboard_data): | |
15769 | * xselect.c (selection_data_to_lisp_data): | |
15770 | * xterm.c (XTread_socket): Disable composition handling. | |
15771 | ||
15772 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
15773 | ||
15774 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
15775 | ||
15776 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
15777 | ||
15778 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
15779 | ||
15780 | * xfns.c (check_x_display_info): Use check_x_frame. | |
15781 | ||
15782 | * .gdbinit (xprintsym): Use the new `xname' field. | |
15783 | (xsymbol): Use it. | |
15784 | ||
15785 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
15786 | ||
15787 | * w32fns.c (file_dialog_callback): New function. | |
15788 | (Fx_file_dialog): Allow selecting directories as well as files. | |
15789 | ||
15790 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
15791 | ||
15792 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
f63fd14e | 15793 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
048addec JD |
15794 | |
15795 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
15796 | ||
15797 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
15798 | black and white before scrolling. Restore frame background and | |
15799 | foreground color after scrolling. | |
15800 | (do_window_update): Call XClearWindow before calling expose_frame. | |
15801 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
15802 | FRAME_FOREGROUND_PIXEL of frame. | |
15803 | ||
15804 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
15805 | test Mac command key as <ALT> key. | |
15806 | ||
15807 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
15808 | ||
15809 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
15810 | ||
15811 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
15812 | Lookup keys in function-key-map immediately so that key-translation-map | |
15813 | can be applied earlier. | |
15814 | Remove function_key_possible and key_translation_possible, replaced | |
15815 | by checking `keytran_start < t'. | |
15816 | ||
15817 | * .gdbinit (xsymbol): Use the new `xname' field. | |
15818 | ||
15819 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
15820 | ||
15821 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
15822 | test Mac command key as <ALT> key. | |
15823 | ||
15824 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
15825 | when first called. Dispose of result_desc only when there is no error. | |
15826 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
15827 | ||
15828 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
15829 | ||
15830 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
15831 | of FrontWindow for cases keyDown and autoKey. | |
15832 | ||
15833 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
15834 | Vdefault_fontset to Monaco with mac-roman coding. | |
15835 | ||
15836 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
15837 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
15838 | ||
15839 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
15840 | cursor_gc. | |
15841 | (add_font_name_table_entry): New function. | |
15842 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
15843 | bold, and bold-italic entries for truetype fonts. | |
15844 | ||
15845 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
15846 | for Mac too. | |
15847 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
15848 | fonts with any registry matching face_family. | |
15849 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
15850 | ||
15851 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
15852 | LIBS_TERMCAP to -lncurses to use it. | |
15853 | ||
15854 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
15855 | ||
15856 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
15857 | ||
15858 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
15859 | ||
15860 | * window.c (Fset_window_configuration): Explicitly preserve | |
15861 | the point value that new_current_buffer had at the start. | |
15862 | ||
15863 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
15864 | ||
15865 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
15866 | Fix typos. | |
15867 | ||
15868 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
15869 | ||
15870 | * insdel.c (insert_1_both, insert_from_string_1) | |
15871 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
15872 | insert happened in the end_unchanged region. Otherwise, the | |
15873 | redisplay may be confused and duplicate the last line in the | |
15874 | buffer [seen after save-buffer when require-final-newline==t]. | |
15875 | ||
15876 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
15877 | ||
15878 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
15879 | (stat): Swap _S_IFDIR and _S_IFREG. | |
15880 | ||
15881 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
15882 | ||
15883 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
15884 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
15885 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
15886 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
15887 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
15888 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
15889 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
15890 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
15891 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
15892 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
15893 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
15894 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
15895 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
15896 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
15897 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
15898 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
15899 | no_event to NO_EVENT. | |
15900 | ||
15901 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
15902 | ||
15903 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
15904 | ||
15905 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
15906 | ||
15907 | * intervals.c (textget): Don't forget to `return'. | |
15908 | (lookup_char_property): Use XCAR/XCDR. | |
15909 | ||
15910 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
15911 | ||
15912 | * xdisp.c (Fformat_mode_line): Fix typo. | |
15913 | ||
15914 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
15915 | ||
15916 | * xdisp.c (Fformat_mode_line): New function. | |
15917 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
15918 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
15919 | (init_xdisp): Defsubr Fformat_mode_line. | |
15920 | Initialize frame_title_buf etc. unconditionally. | |
15921 | ||
15922 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
15923 | ||
15924 | * keyboard.c (read_key_sequence): | |
15925 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
15926 | things through those maps after downcasing events. | |
15927 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
15928 | applies after function-key-map. | |
15929 | Make sure that keytran can be done in the middle in the sequence. | |
15930 | Be careful not to throw away events past the one we downcase. | |
15931 | ||
15932 | * lread.c (read_integer): Remove unused var `tem'. | |
15933 | (read1): Fix int/Lisp_Object mixup. | |
15934 | ||
15935 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
15936 | ||
15937 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
15938 | ||
15939 | * keyboard.c (readable_events): Ignore any number of | |
15940 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
15941 | ||
15942 | 2002-06-09 Miles Bader <miles@gnu.org> | |
15943 | ||
15944 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
15945 | (parse_rgb_list, tty_lookup_color): New functions. | |
15946 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
15947 | (color_distance, Fcolor_distance): New functions. | |
15948 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
15949 | (Qtty_color_standard_values): New variable. | |
15950 | (syms_of_xfaces): Initialize new vars & functions. | |
15951 | ||
15952 | 2002-06-08 Colin Walters <walters@verbum.org> | |
15953 | ||
15954 | * textprop.c (Vchar_property_alias_alist): New variable. | |
15955 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
15956 | ||
15957 | * intervals.c (lookup_char_property): New function for looking up | |
15958 | overlay and text properties, created from textget. | |
15959 | (textget): Use it. | |
15960 | ||
15961 | * intervals.h (lookup_char_property): Declare. | |
15962 | (Vchar_property_alias_alist): Declare. | |
15963 | ||
15964 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
15965 | ||
15966 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
15967 | ||
15968 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
15969 | *data_ret is not a Lisp string, while unibyte_string is. | |
15970 | ||
15971 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
15972 | ||
15973 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
15974 | set size_ret. | |
15975 | ||
15976 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
15977 | ||
15978 | * m/amdx86-64.h: New file. | |
15979 | ||
15980 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
15981 | ||
15982 | * fns.c (Fstring_make_unibyte): Doc fix. | |
15983 | ||
15984 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
15985 | is STRING, call string_make_unibyte to encode the selected text | |
15986 | as a string. | |
15987 | ||
15988 | * window.c (Fset_window_hscroll): Doc fix. | |
15989 | ||
15990 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
15991 | ||
15992 | * fileio.c (choose_write_coding_system): | |
15993 | Call select-safe-coding-system properly. | |
15994 | ||
15995 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
15996 | ||
15997 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
15998 | ||
15999 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
16000 | ||
16001 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
16002 | Vselect_safe_coding_system_function. | |
16003 | ||
16004 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
16005 | ||
16006 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
16007 | ||
16008 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
16009 | ||
16010 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
16011 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
16012 | * keymap.c (describe_command): Likewise. | |
16013 | * minibuf.c (read_minibuf): Likewise. | |
16014 | ||
16015 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
16016 | Cast `current_column' return value to int. | |
16017 | (back_to_previous_visible_line_start) | |
16018 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
16019 | Cast `indented_beyond_p' 3rd arg to float. | |
16020 | ||
16021 | * indent.c (last_known_column): Now a float. | |
16022 | (current_column_1, position_indentation, current_column) | |
16023 | (string_display_width): Return float. | |
16024 | (Fcurrent_column): Cast `current_column' return value to int. | |
16025 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
16026 | (indented_beyond_p): Third arg now a float. | |
16027 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
16028 | ||
16029 | * lisp.h (current_column): Now returns float. | |
16030 | (indented_beyond_p): 3rd arg now a float. | |
16031 | ||
16032 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
16033 | ||
16034 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
16035 | is Qcompound_text_with_extensions. | |
16036 | ||
16037 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
16038 | type as string if x_encode_text returns streingp non-NULL. | |
16039 | ||
16040 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
16041 | ||
16042 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
16043 | ||
16044 | * window.c (Fset_window_configuration): Correct the handling | |
16045 | of point in current buffer, to work with multiple windows. | |
16046 | ||
16047 | 2002-05-29 Colin Walters <walters@verbum.org> | |
16048 | ||
16049 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
16050 | for C function parameters. | |
16051 | ||
16052 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
16053 | ||
16054 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
16055 | way for blinked-off state and for a nonselected window. | |
16056 | ||
16057 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
16058 | instead, see if the new start pos is at beginning of line. | |
16059 | ||
16060 | * fileio.c (Fwrite_region): If START is a string, don't | |
16061 | make any annotations. | |
16062 | ||
16063 | * eval.c (syms_of_eval): Doc fix. | |
16064 | ||
16065 | 2002-05-28 Colin Walters <walters@debian.org> | |
16066 | ||
16067 | * emacs.c (USAGE1): Add --no-splash. | |
16068 | (standard_args): Ditto. | |
16069 | ||
16070 | 2002-05-28 Colin Walters <walters@gnu.org> | |
16071 | ||
16072 | * lread.c (readchar_count): New variable. | |
16073 | (readchar): Increment it. | |
16074 | (unreadchar): Decrement it. | |
16075 | (read_multibyte): Decrement it. | |
16076 | (Vread_with_symbol_positions): New variable. | |
16077 | (Vread_symbol_positions_list): New variable. | |
16078 | (read_internal_start): New function, created from Fread and | |
16079 | Fread_from_string. Handle Vread_symbol_positions_list and | |
16080 | Vread_with_symbol_positions. | |
16081 | (readevalloop, Fread, Fread_from_string): Use it. | |
16082 | (read1): Use readchar_count to add symbol positions to | |
16083 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
16084 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
16085 | ||
16086 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
16087 | (substitute_object_recurse, substitute_object_in_subtree) | |
16088 | (substitute_in_interval): Prototype. | |
16089 | (read_multibyte): Return c if it's less than zero. | |
16090 | ||
16091 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
16092 | ||
16093 | * fileio.c (Fread_file_name_internal): Added brute-force | |
16094 | speed up for using predicate file-directory-p. | |
16095 | ||
16096 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
16097 | ||
16098 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
16099 | New variables. | |
16100 | (syms_of_fileio): DEFVAR_LISP them. | |
16101 | (read_file_name_cleanup): New unwind function. | |
16102 | (Fread_file_name_internal): Only return completions satifying | |
16103 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
16104 | default-directory while checking completions against the predicate. | |
16105 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
16106 | Vread_file_name_predicate during completion. | |
16107 | Call Vread_file_name_function to read the file name if non-nil. | |
16108 | ||
16109 | * lisp.h (Fread_file_name): Now has 6 args. | |
16110 | ||
16111 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
16112 | predicate for Fread_file_name when reading directory name. | |
16113 | Supply Qnil for predicate in other calls to Fread_file_name. | |
16114 | ||
16115 | 2002-05-26 Miles Bader <miles@gnu.org> | |
16116 | ||
16117 | * term.c (tty_capable_p): New function. | |
16118 | * dispextern.h (tty_capable_p): New function declaration. | |
16119 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
16120 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
16121 | ||
16122 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
16123 | ||
16124 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
16125 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
16126 | (Vwrite_region_annotate_functions): Docstring fix. | |
16127 | ||
16128 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
16129 | ||
16130 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
16131 | phys_cursor's hpos is overwritten. This is still not completely | |
16132 | correct, as it doesn't really make sense to use hpos at all to | |
16133 | get the cursor glyph (as that is relative to the width of the | |
16134 | characters on the line, which may have changed during the update). | |
16135 | ||
16136 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
16137 | ||
16138 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
16139 | Lisp_Object. | |
16140 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
16141 | Use modified enumfont_t struct. | |
16142 | ||
16143 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
16144 | ||
16145 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
16146 | Handle the `hbar' cursor type. | |
16147 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
16148 | ||
16149 | * w32fns.c (Qhbar): New variable. | |
16150 | (x_specified_cursor_type): Use it. | |
16151 | ||
16152 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
16153 | ||
16154 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
16155 | now, when the address is needed. | |
16156 | ||
16157 | 2002-05-21 Colin Walters <walters@gnu.org> | |
16158 | ||
16159 | * Makefile.in (shortlisp): Add font-core.el. | |
16160 | ||
16161 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
16162 | ||
16163 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
16164 | ||
16165 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
16166 | equivalent key bindings here. | |
16167 | ||
16168 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
16169 | ||
16170 | Change symbol structure to contain a lisp object for the symbol | |
16171 | name: | |
16172 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
16173 | object field named "xname". | |
16174 | (SYMBOL_NAME): New macro. | |
16175 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
16176 | name field. | |
16177 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
16178 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
16179 | instead of name field. | |
16180 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
16181 | SYMBOL_NAME instead of XSYMBOL and name field. | |
16182 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
16183 | instead of XSYMBOL and name field. | |
16184 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
16185 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
16186 | * coding.c (Fread_coding_system, code_convert_region1) | |
16187 | (code_convert_string1, code_convert_string_norecord) | |
16188 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
16189 | XSYMBOL and name field. | |
16190 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
16191 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
16192 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
16193 | of XSYMBOL and name field. | |
16194 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
16195 | XSYMBOL and name field. | |
16196 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
16197 | instead of XSYMBOL and name field. | |
16198 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
16199 | XSYMBOL and name field. | |
16200 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
16201 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
16202 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
16203 | instead of XSYMBOL and name field. | |
16204 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
16205 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
16206 | (parse_solitary_modifier, Fexecute_extended_command): | |
16207 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
16208 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
16209 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
16210 | of XSYMBOL and name field. | |
16211 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
16212 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
16213 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
16214 | instead of XSYMBOL and name field. | |
16215 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
16216 | name field and XSETSTRING. | |
16217 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
16218 | of XSYMBOL and name field. | |
16219 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
16220 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
16221 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
16222 | XSTRING instead of XSYMBOL and name field. | |
16223 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
16224 | and XSTRING instead of XSYMBOL and name field. | |
16225 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
16226 | and XSTRING instead of XSYMBOL and name field. | |
16227 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
16228 | XSTRING instead of XSYMBOL and name field. | |
16229 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
16230 | of XSYMBOL and name field. | |
16231 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
16232 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
16233 | ||
16234 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
16235 | ||
16236 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
16237 | and XCDR real rvalues in most configurations. | |
16238 | ||
16239 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
16240 | Don't take the address of the cdr part of a cons cell; instead, track | |
16241 | the parent cell and call XSETCDR, or set the variable for the head | |
16242 | of the list if we haven't started down the list yet. | |
16243 | ||
16244 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
16245 | ||
16246 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
16247 | ||
16248 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
16249 | ||
16250 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
16251 | (xbm_load_image): Use it. | |
16252 | (xbm_load): Ditto. | |
16253 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
16254 | From David Ponce <david@dponce.com>. | |
16255 | ||
16256 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
16257 | ||
16258 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
16259 | 2.02 and later. | |
16260 | ||
16261 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
16262 | ||
16263 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
16264 | ||
16265 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
16266 | ||
16267 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
16268 | meaningful test. | |
16269 | (read_char_minibuf_menu_prompt): Fix typo. | |
16270 | ||
16271 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
16272 | ||
16273 | * eval.c (Fcommandp): Doc fix. | |
16274 | ||
16275 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
16276 | ||
16277 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
16278 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
16279 | (Fset_keymap_parent): Gcpro a bit more. | |
16280 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
16281 | (get_keyelt): Gcpro when following indirect references. | |
16282 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
16283 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
16284 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
16285 | Remove useless ad-hoc remap code. | |
16286 | ||
16287 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
16288 | ||
16289 | * search.c (search_buffer): Give up boyer moore search if inverse | |
16290 | translation change charset_base. | |
16291 | ||
16292 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
16293 | ||
16294 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
16295 | characters is carried over from the previous block of text, adjust | |
16296 | coding->produced to account for the extra character. | |
16297 | ||
16298 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
16299 | ||
16300 | * coding.c (intersection): Keep the elements of the returned list | |
16301 | in the same order as in the first list. | |
16302 | ||
16303 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
16304 | ||
3419757d | 16305 | * keymap.c (current_minor_maps): Fix resizing of cmm_maps; |
048addec JD |
16306 | only update cmm_size if realloc actually succeeds. |
16307 | Testing with initial size of 2 elements revealed that using | |
16308 | realloc on GNU/Linux would cause a random trap in xmalloc | |
16309 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
16310 | of realloc. | |
16311 | ||
16312 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
16313 | ||
16314 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
16315 | ||
16316 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
16317 | ||
16318 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
16319 | parens, to ensure correct evaluation order. | |
16320 | ||
16321 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
16322 | ||
16323 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
16324 | (syms_of_keymap): DEFVAR_LISP it. | |
16325 | (current_minor_maps): Process keymap alists in that list before | |
16326 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
16327 | ||
16328 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
16329 | ||
16330 | * search.c (Freplace_match): Doc fix. | |
16331 | ||
16332 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
16333 | ||
16334 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
16335 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
16336 | ||
16337 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
16338 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
16339 | ||
16340 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
16341 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
16342 | ||
16343 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
16344 | ||
16345 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
16346 | type if comes from the Lisp object's car. If the selection | |
16347 | contains a pure ASCII text, always return QSTRING as its type. | |
16348 | ||
16349 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16350 | ||
16351 | * mac.c (mac-cut-function): Doc fix. | |
16352 | ||
16353 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
16354 | ||
16355 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
16356 | ||
16357 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
16358 | ||
16359 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
16360 | for event-click-count. | |
16361 | ||
16362 | * process.c (init_process): Only add server subfeature if we can | |
16363 | use non-blocking I/O. | |
16364 | ||
16365 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
16366 | ||
16367 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
16368 | repeatedly. | |
16369 | ||
16370 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
16371 | ||
16372 | * process.c (Fmake_network_process): Only support server sockets | |
16373 | when we can make them non-blocking. | |
16374 | ||
16375 | * s/ms-w32.h (HAVE_SELECT): Define. | |
16376 | ||
16377 | * w32.h (FILE_NDELAY): New flag. | |
16378 | ||
16379 | * w32.c (sys_getpeername, fcntl): New functions. | |
16380 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
16381 | ||
16382 | * w32proc.c: include sys/file.h. | |
16383 | ||
16384 | 2002-05-03 Colin Walters <walters@verbum.org> | |
16385 | ||
16386 | * callproc.c (Vgame_score_directory): Renamed to | |
16387 | Vshared_game_score_directory. | |
16388 | ||
16389 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
16390 | ||
16391 | * s/gnu.h [emacs]: Include stdio.h. | |
16392 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
16393 | ||
16394 | * eval.c (do_autoload): Error if called while preparing to dump. | |
16395 | ||
16396 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
16397 | ||
16398 | 2002-04-28 Colin Walters <walters@verbum.org> | |
16399 | ||
16400 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
16401 | Default to "~/.emacs.d/games". | |
16402 | ||
16403 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
16404 | ||
16405 | * lread.c (openp): Change arg exec_only to predicate. | |
16406 | (build_load_history): Use XCAR/XCDR. | |
16407 | (Flocate_file_internal): New fun. | |
16408 | (syms_of_lread): Defsubr it. | |
16409 | (Fload): Update call to openp. | |
16410 | ||
16411 | * lisp.h (openp): Update prototype. | |
16412 | ||
16413 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
16414 | * w32proc.c (sys_spawnve): | |
16415 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
16416 | * w32.c (check_windows_init_file): | |
16417 | * sound.c (Fplay_sound_internal): | |
16418 | * process.c (Fstart_process): | |
16419 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
16420 | * mac.c (run_mac_command): | |
16421 | * emacs.c (init_cmdargs): | |
16422 | * callproc.c (Fcall_process): Update call to openp. | |
16423 | ||
16424 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
16425 | ||
16426 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
16427 | ||
16428 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16429 | ||
16430 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
16431 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
16432 | ||
16433 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
16434 | ||
16435 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
16436 | ||
16437 | * eval.c (Fcommandp): New arg for_call_interactively. | |
16438 | * lisp.h (Fcommandp): Declare new arg. | |
16439 | ||
16440 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
16441 | ||
16442 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
16443 | ||
16444 | * w32.c (stat, fstat): Use file index information to generate | |
16445 | inodes for directories where available. | |
16446 | ||
16447 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
16448 | ||
16449 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
16450 | [HAVE_CARBON]: Include Mac object files. | |
16451 | ||
16452 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
16453 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
16454 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
16455 | MAC_OSX, and MAC_OS instead of macintosh. | |
16456 | ||
16457 | * editfns.c [MAC_OS8]: Include stdio.h. | |
16458 | ||
16459 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
16460 | ||
16461 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
16462 | Apple Monaco. | |
16463 | ||
78819ebb | 16464 | * process.c (QCfamily, QCfilte): Declare extern. |
048addec JD |
16465 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before |
16466 | calling select. | |
16467 | ||
16468 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
16469 | ||
16470 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
16471 | ||
16472 | * config.in [HAVE_CARBON]: Add. | |
16473 | ||
16474 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
16475 | Move here from mac/src and mac/inc. | |
16476 | ||
16477 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
16478 | ||
16479 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
16480 | ||
16481 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
16482 | Compute phys_cursor_width from the x position returned | |
16483 | by x_draw_glyhs, which is cheaper. | |
16484 | (x_display_and_set_cursor): Compute the buffer-local value | |
16485 | of `cursor-in-non-selected-windows' only when needed. | |
16486 | ||
16487 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
16488 | ||
16489 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
16490 | cursor on a stretch glyph has a width that depends on | |
16491 | x_stretch_cursor_p. | |
16492 | ||
16493 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16494 | ||
16495 | * abbrev.c (abbrev-start-location): Doc fix. | |
16496 | ||
16497 | * indent.c (Fvertical_motion): Fix last change. | |
16498 | ||
16499 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
16500 | ||
16501 | * indent.c (Fvertical_motion): Move to the start of the line | |
16502 | containing PT before moving up or down. | |
16503 | ||
16504 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
16505 | ||
16506 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
16507 | case of writing a whole row, more or less analogous to the case of | |
16508 | writing only parts of a row. | |
16509 | ||
16510 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
16511 | 0 for NO_CURSOR. | |
16512 | ||
16513 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
16514 | ||
16515 | 2002-04-23 Colin Walters <walters@verbum.org> | |
16516 | ||
16517 | * buffer.c (syms_of_buffer): Doc fix. | |
16518 | ||
16519 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
16520 | ||
16521 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
16522 | of the cursor being in the first blank non-text line at the | |
16523 | end of a window. | |
16524 | ||
16525 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
16526 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
16527 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
16528 | bar cursors only, to make phys_cursor_width contain what its name | |
16529 | suggests. | |
16530 | (notice_overwritten_cursor): Consider the cursor image erased if | |
16531 | the output area intersects the cursor image in y-direction. | |
16532 | ||
16533 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
16534 | ||
16535 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
16536 | to XC_hand2. | |
16537 | ||
16538 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16539 | ||
16540 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
16541 | ||
16542 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
16543 | ||
16544 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
16545 | ||
16546 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
16547 | ||
16548 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
16549 | ||
16550 | * window.c (make_window): Initialize height_fixed_p, | |
16551 | last_cursor_off_p, and p->cursor_off_p slots. | |
16552 | ||
16553 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16554 | ||
16555 | * fns.c (use-dialog-box): Doc fix. | |
16556 | ||
16557 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16558 | ||
16559 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
16560 | variables `row', `i' and `area'. | |
16561 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
16562 | toolkit library. | |
16563 | ||
16564 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
16565 | ||
16566 | * xfaces.c (clear_font_table): Don't free the default font of | |
16567 | a frame even if it's on another display. | |
16568 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
16569 | that could be Qt. | |
16570 | ||
16571 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
16572 | ||
16573 | * indent.c (Fmove_to_column): Remove unused local variable | |
16574 | `next_boundary_byte'. | |
16575 | (current_column_1): Likewise. | |
16576 | ||
16577 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
16578 | ||
16579 | * msdos.c (Qhbar): New variable. | |
16580 | (syms_of_msdos): Intern and staticpro it. | |
16581 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
16582 | cursor type. | |
16583 | ||
16584 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
16585 | ||
16586 | Theses change implement an underscore-like (`hbar') cursor. | |
16587 | ||
16588 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
16589 | ||
16590 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
16591 | Handle the `hbar' cursor type. | |
16592 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
16593 | ||
16594 | * xfns.c (Qhbar): New variable. | |
16595 | (syms_of_xfns): Intern and staticpro it. | |
16596 | (x_specified_cursor_type): Handle `hbar' cursor. | |
16597 | ||
16598 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
16599 | not defined. | |
16600 | ||
16601 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
16602 | ||
16603 | * textprop.c (remove_properties): New arg LIST allows scanning | |
16604 | either a list or a plist. | |
16605 | (interval_has_some_properties_list): New function, like | |
16606 | interval_has_some_properties using list instead of plist. | |
16607 | All callers changed. | |
16608 | (Fremove_list_of_text_properties): New function. | |
16609 | (syms_of_textprop): Defsubr it. | |
16610 | ||
16611 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
16612 | ||
16613 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
16614 | ||
16615 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
16616 | ||
16617 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
16618 | ||
16619 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
16620 | ||
16621 | * window.c (coordinates_in_window): Don't report on margin area | |
16622 | if its width is zero. | |
16623 | ||
16624 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
16625 | ||
16626 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
16627 | ||
16628 | * w32term.c (construct_drag_n_drop): Likewise. | |
16629 | ||
16630 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
16631 | ||
16632 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
16633 | store load-history in pure space. | |
16634 | ||
16635 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
16636 | ||
16637 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
16638 | ||
16639 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
16640 | (syms_of_xterm): Initialize them. | |
16641 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
16642 | decoding the output of X*LookupString. | |
16643 | Always use latin-1 to decode the output of XLookupString. | |
16644 | Try Xutf8LookupString if XmbLookupString failed. | |
16645 | ||
16646 | * region-cache.c (new_region_cache): Use BEG. | |
16647 | ||
16648 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
16649 | ||
16650 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
16651 | configuration files. | |
16652 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
16653 | returns 0. | |
16654 | ||
16655 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
16656 | ||
16657 | * config.in: Regenerated using autoheader. | |
16658 | ||
16659 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
16660 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
16661 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
16662 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
16663 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
16664 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
16665 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
16666 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
16667 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
16668 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
16669 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
16670 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
16671 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
16672 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
16673 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
16674 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
16675 | STACK_DIRECTION, now set by autoconf. | |
16676 | ||
16677 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16678 | ||
16679 | * dispnew.c (marginal_area_string): Sort arguments. | |
16680 | ||
16681 | * dispextern.h (marginal_area_string): Add prototype. | |
16682 | ||
16683 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
16684 | ||
16685 | * fileio.c (Finsert_file_contents): | |
16686 | Don't call temp_output_buffer_setup--do just part, by hand. | |
16687 | ||
16688 | * coding.c (run_pre_post_conversion_on_str): | |
16689 | Don't call temp_output_buffer_setup--do just part, by hand. | |
16690 | ||
16691 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
16692 | or cancel_hourglass when executing a macro. | |
16693 | ||
16694 | * marker.c (count_markers): New function. | |
16695 | ||
16696 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
16697 | grow without limit. Move recently used elements to the front. | |
16698 | ||
16699 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
16700 | ||
16701 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
16702 | ||
16703 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
16704 | ||
16705 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
16706 | rows marginal areas. | |
16707 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
16708 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
16709 | ||
16710 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
16711 | ||
16712 | 2002-04-12 Dave Love <fx@gnu.org> | |
16713 | ||
16714 | * dispnew.c (marginal_area_string): New. | |
16715 | ||
16716 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
16717 | (Qleft_margin, Qright_margin): Declare. | |
16718 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
16719 | ||
16720 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
16721 | note_mode_line_highlight and extended. | |
16722 | ||
16723 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
16724 | (make_lispy_event): Deal with mouse events in margins. | |
16725 | ||
16726 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
16727 | ||
16728 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
16729 | ||
16730 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
16731 | than deactivating the mark if tmm is set to `lambda'. | |
16732 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
16733 | Use a single event for HELP_EVENT. | |
16734 | (Fexecute_extended_command): Save last_point_position. | |
16735 | ||
16736 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16737 | ||
16738 | * lisp.h (Fpropertize): Add prototype. | |
16739 | ||
16740 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
16741 | ||
16742 | 2002-04-10 Colin Walters <walters@verbum.org> | |
16743 | ||
16744 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
16745 | ||
52eb0373 | 16746 | * callproc.c (Vgame_score_directory): New variable. |
048addec JD |
16747 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. |
16748 | ||
16749 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
16750 | ||
16751 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
16752 | ||
16753 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
16754 | ||
16755 | * minibuf.c (read_minibuf): Use empty_string. | |
16756 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
16757 | Short-circuit the search as soon as it "failed". | |
16758 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
16759 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
16760 | when require_match is nil. | |
16761 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
16762 | Call the predicate also when alist is a list. | |
16763 | Obey Vcompletion_regexp_list. | |
16764 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
16765 | (Fassoc_string): Rename from `assoc_for_completion'. | |
16766 | Allow list of strings as well and export to elisp. | |
16767 | ||
16768 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
16769 | ||
16770 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
16771 | ||
16772 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
16773 | ||
16774 | * w32.c (sys_accept): Don't hide variable `s'. | |
16775 | ||
16776 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
16777 | ||
16778 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
16779 | NUMBERP for checking Vhistory_length. | |
16780 | ||
16781 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16782 | ||
16783 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
16784 | Doc fix to reflect it. | |
16785 | ||
16786 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
16787 | ||
16788 | * xdisp.c (display_mode_element): New arg RISKY. | |
16789 | Disregard text props found or specified within a variable | |
16790 | that isn't marked risky-local-variable. | |
16791 | (Qrisky_local_variable): New variable. | |
16792 | (syms_of_xdisp): Init and staticpro it. | |
16793 | ||
16794 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
16795 | ||
16796 | * undo.c (record_point): New fun. | |
16797 | (record_delete, record_insert): Use it. | |
16798 | ||
16799 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
16800 | ||
16801 | * doc.c (Fdocumentation): Add missing parentheses. | |
16802 | (Fdocumentation_property): Likewise. | |
16803 | ||
16804 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
16805 | ||
16806 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
16807 | data is 0, just return nil. | |
16808 | ||
16809 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
16810 | ||
16811 | * msdos.c (syms_of_msdos): Fix last change with | |
16812 | mouse_autoselect_window. | |
16813 | ||
16814 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16815 | ||
16816 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
16817 | mouse_autoselect_window. | |
16818 | ||
16819 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
16820 | ||
16821 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
16822 | with system-specific keysyms. Use it also for unknown function keys. | |
16823 | ||
16824 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
16825 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
16826 | if the doc is 0 and only ask once. | |
16827 | ||
16828 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
16829 | ||
16830 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
16831 | ||
16832 | * keyboard.c (read_char): If the event was Qselect_window, | |
16833 | restore timer_idleness_start_time to its previous value. | |
16834 | ||
16835 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
16836 | ||
16837 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
16838 | ||
16839 | * region-cache.c (new_region_cache): Use BEG. | |
16840 | ||
16841 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
16842 | Use BEG and BEG_BYTE. | |
16843 | ||
16844 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
16845 | (reread_doc_file): New fun. | |
16846 | (Fdocumentation, Fdocumentation_property): | |
16847 | Call it if get_doc_string fails. | |
16848 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
16849 | ||
16850 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
16851 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
16852 | ||
16853 | * charset.c (Fstring): Allow 0 arguments. | |
16854 | ||
16855 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
16856 | ||
16857 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
16858 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
16859 | (Fset_network_process_options, server_accept_connection): | |
16860 | Fix some int/Lisp_Object confusions (thank you union types). | |
16861 | ||
16862 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16863 | ||
16864 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
16865 | ||
16866 | * w32term.c: Likewise. | |
16867 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
16868 | ||
16869 | * keyboard.c (Qselect_window): New symbol. | |
16870 | (head_table): Use it. | |
16871 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
16872 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
16873 | ||
16874 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
16875 | (last_window): New variable. | |
16876 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
16877 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
16878 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
16879 | Emacs windows. | |
16880 | ||
16881 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
16882 | ||
16883 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
16884 | ||
16885 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
16886 | Callers changed. | |
16887 | ||
16888 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
16889 | ||
16890 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
16891 | loop whenever it stops making progress. | |
16892 | ||
16893 | * widget.c (set_frame_size): Don't call change_frame_size. | |
16894 | ||
16895 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
16896 | ||
16897 | * dispnew.c (direct_output_for_insert): | |
16898 | Call mark_window_display_accurate. | |
16899 | ||
16900 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
16901 | ||
16902 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
16903 | ||
16904 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
16905 | ||
16906 | * Makefile.in (lread.o): Depend on coding.h. | |
16907 | ||
16908 | * lread.c (openp, Fload): Encode the file name before passing it | |
16909 | to `stat', `access', and `emacs_open'. | |
16910 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
16911 | strings unnecessarily. | |
16912 | ||
16913 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
16914 | ||
16915 | * fns.c (Flax_plist_put): Doc fix. | |
16916 | ||
16917 | 2002-03-28 Miles Bader <miles@gnu.org> | |
16918 | ||
16919 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
16920 | ||
16921 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
16922 | ||
16923 | * process.c (set-network-process-options): Add usage. | |
16924 | (make-network-process): Doc fix. | |
16925 | ||
16926 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
16927 | ||
16928 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
16929 | ||
16930 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
16931 | ||
16932 | * fns.c (Fsubstring_no_properties): New function. | |
16933 | (Flax_plist_get, Flax_plist_put): New functions. | |
16934 | (syms_of_fns): defsubr them. | |
16935 | ||
16936 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
16937 | don't test or alter w->update_mode_line. | |
16938 | ||
16939 | * window.c (Fdisplay_buffer): Doc fix. | |
16940 | ||
16941 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
16942 | ||
16943 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
16944 | ||
16945 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
16946 | ||
16947 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
16948 | (Fdefmacro): Handle `(declare ...)'. | |
16949 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
16950 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
16951 | ||
16952 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
16953 | ||
16954 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
16955 | (xbm_file_p): Add prototypes. | |
16956 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
16957 | (reflect_byte): New function. | |
16958 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
16959 | (xbm_load_image): Create bitmaps with a depth of 1. | |
16960 | (init_xfns): Enable XBM images. | |
16961 | ||
16962 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
16963 | ||
16964 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
16965 | correctly. Do not pass up_modifier to keyboard buffer. | |
16966 | ||
16967 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
16968 | ||
16969 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
16970 | ||
16971 | * Makefile.in (bootstrapclean): New target. | |
16972 | (bootstrap-temacs, bootstrap-doc): Remove. | |
16973 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
16974 | Don't bother to build a DOC file. | |
16975 | ||
16976 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
16977 | ||
16978 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
16979 | in temacs even if !CANNOT_DUMP. | |
16980 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
16981 | ||
16982 | * alloc.c (check_pure_size): Only output a warning. | |
16983 | ||
16984 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
16985 | ||
16986 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
16987 | supported. | |
16988 | ||
16989 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
16990 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
16991 | (syms_of_w32term): Define x-use-underline-position-properties. | |
16992 | ||
16993 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
16994 | (clear_image_cache): Block input, fix logic, clear matrices in | |
16995 | all frames that share this cache. | |
16996 | ||
16997 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
16998 | ||
16999 | * emacs.c (main): Update the Copyright year in the blurb printed | |
17000 | by "emacs --version". | |
17001 | ||
17002 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
17003 | ||
17004 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
17005 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
17006 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
17007 | ||
17008 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
17009 | ||
17010 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
17011 | menu-bar bindings in keymap and local-map properties _are_ used. | |
17012 | But try keymap property first in accordance with 2002-01-03 patch. | |
17013 | Added comment describing why this is not always reliable. | |
17014 | (tool_bar_items): Ditto for tool-bar. | |
17015 | ||
17016 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
17017 | ||
17018 | * w32fns.c (x_clear_image_1): Disable color table code. | |
17019 | ||
17020 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
17021 | ||
17022 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
17023 | removed the wrong version of the DEFUN macro; fixed it. | |
17024 | ||
17025 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
17026 | Fmember rather than Fmemq). | |
17027 | (Fprovide): Check that subfeatures is a list. | |
17028 | ||
17029 | * process.c (QCfeature, QCdatagram): Removed variables. | |
17030 | (QCtype, Qdatagram): New variables. | |
17031 | (network_process_featurep): Removed function. | |
17032 | (Fmake_network_process): Removed :feature check. | |
17033 | Use :type 'datagram instead of :datagram t to create a datagram | |
17034 | socket. This allows us to add other connection types (e.g. raw | |
17035 | sockets) later in a consistent manner. | |
17036 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
17037 | supported subfeatures for feature make-network-process. | |
17038 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
17039 | Intern and staticpro QCtype and Qdatagram. | |
17040 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
17041 | ||
17042 | * xfns.c: (QCtype): Remove duplicate declaration and | |
17043 | initialization (is now declared in process.c). | |
17044 | ||
17045 | * w32fns.c: (QCtype): Remove duplicate declaration and | |
17046 | initialization (is now declared in process.c). | |
17047 | ||
17048 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
17049 | ||
17050 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
17051 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
17052 | when jumping to `fail' to avoid undoing reg changes in the | |
17053 | last iteration of the loop. | |
17054 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
17055 | ||
17056 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
17057 | Depend on process.h. | |
17058 | ||
17059 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
17060 | ||
17061 | Most of the following changes are still conditional on HAVE_IMAGES | |
17062 | which is not set by default on Windows. | |
17063 | ||
17064 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
17065 | ||
17066 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
17067 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
17068 | (four_corners_best, x_clear_image_1, x_clear_image) | |
17069 | (x_alloc_image_color, postprocess_image) | |
17070 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
17071 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
17072 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
17073 | ||
17074 | * w32gui.h (struct XImage): Define. | |
17075 | ||
17076 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
17077 | extract mouse co-ordinates. | |
17078 | ||
17079 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
17080 | ||
17081 | * w32.c (init_winsock): Dynamically load new server and UDP | |
17082 | socket functions. | |
17083 | (socket_to_fd): New function. | |
17084 | (sys_socket): Use it. | |
17085 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
17086 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
17087 | ||
17088 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
17089 | and initialization. | |
17090 | ||
17091 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
17092 | ||
17093 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
17094 | ||
17095 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
17096 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
17097 | machines. | |
17098 | ||
17099 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17100 | ||
17101 | * bytecode.c (Fbyte_code): Revert last change. | |
17102 | ||
17103 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
17104 | ||
17105 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
17106 | From David Ponce <dponce@voila.fr>. | |
17107 | ||
17108 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17109 | ||
17110 | * process.c (wait_reading_process_input): Move variables `pname' | |
17111 | and `pnamelen' down where they are used. | |
17112 | ||
17113 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
17114 | prevent gcc warning. | |
17115 | ||
17116 | * lisp.h (Fplist_member): Add prototype. | |
17117 | ||
17118 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
17119 | ||
17120 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
17121 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
17122 | ||
17123 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
17124 | Remove explicit GNU_LINUX settings for datagram support. | |
17125 | ||
17126 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17127 | ||
17128 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
17129 | Doc fix. Add usage:. | |
17130 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
17131 | ||
17132 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
17133 | ||
17134 | * xdisp.c (cursor_type_changed): New variable. | |
17135 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
17136 | Clear it when clearing windows_or_buffers_changed. | |
17137 | (try_cursor_movement, redisplay_window, try_window_id) | |
17138 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
17139 | along with windows_or_buffers_changed. | |
17140 | ||
17141 | * window.h (cursor_type_changed): New variable. | |
17142 | ||
17143 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
17144 | not update_mode_lines, and always set it to 1. | |
17145 | ||
17146 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
17147 | if no frames needed redrawing. | |
17148 | ||
17149 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
17150 | ||
17151 | The following changes add support for network server processes, | |
17152 | datagram connections, and local (unix) sockets. | |
17153 | ||
17154 | * process.h (struct Lisp_Process): New member log. | |
17155 | Doc fix: Member command used to indicate stopped network process. | |
17156 | Doc fix: Member childp contains plist for network process. | |
17157 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
17158 | ||
17159 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
17160 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
17161 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
17162 | New variables. | |
17163 | (NETCONN1_P): New macro. | |
17164 | (DATAGRAM_SOCKETS): New conditional symbol. | |
17165 | (datagram_address): New array. | |
17166 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
17167 | (status_message): Use concat3. | |
17168 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
17169 | for a stopped network process. | |
17170 | (Fset_process_buffer): Update contact plist for network process. | |
17171 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
17172 | network processes. Server must listen, even if filter is t. | |
17173 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
17174 | New functions. | |
17175 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
17176 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
17177 | (list_processes_1): Optionally show only processes with the query | |
17178 | on exit flag set. Dynamically adjust column widths. Omit tty | |
17179 | column if not needed. Report stopped network processes. | |
17180 | Identify server and datagram network processes. | |
17181 | (Flist_processes): New optional arg `query-only'. | |
17182 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
17183 | (conv_lisp_to_sockaddr, set_socket_options) | |
17184 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
17185 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
17186 | (Fset_network_process_options): New lisp functions. | |
17187 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
17188 | (Fmake_network_process): New lisp function. Code is based on previous | |
17189 | Fopen_network_stream, but heavily reworked with new property list based | |
17190 | argument list, support for datagrams, server processes, and local | |
17191 | sockets in addition to old client-only functionality. | |
17192 | (server_accept_connection): New function. | |
17193 | (wait_reading_process_input): Use it to handle incoming connects. | |
17194 | Do not enable input on a new connection if process is stopped. | |
f63fd14e | 17195 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. |
048addec JD |
17196 | (send_process): Handle datagram sockets. |
17197 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
17198 | network process is indicated by setting command field to t . | |
17199 | (Fprocess_send_eof): No-op if datagram connection. | |
17200 | (Fstatus_notify): Don't read input for a stream server socket or a | |
17201 | stopped network process. | |
17202 | (init_process): Initialize datagram_address array. | |
17203 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
17204 | functions. | |
17205 | ||
17206 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
17207 | ||
17208 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
17209 | startup case. | |
17210 | ||
17211 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
17212 | ||
17213 | * xdisp.c (redisplay_internal, redisplay_windows): | |
17214 | Use list_of_error to call internal_condition_case_1. | |
17215 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
17216 | so as to catch all errors with no possibility of debugger redisplay. | |
17217 | (list_of_error): New variable. | |
17218 | (syms_of_xdisp): Init and staticpro it. | |
17219 | ||
17220 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
17221 | ||
17222 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
17223 | ||
17224 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
17225 | until its implementation is fixed. | |
17226 | ||
17227 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17228 | ||
17229 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
17230 | ||
17231 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
17232 | ||
17233 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
17234 | ||
17235 | 2002-03-14 Miles Bader <miles@gnu.org> | |
17236 | ||
17237 | * intervals.c (adjust_for_invis_intang): New function. | |
17238 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
17239 | work for dealing with invisible+intangible regions. Do so before | |
17240 | and after both forward and backward movements, to handle both | |
17241 | front-sticky and rear-sticky cases. | |
17242 | * textprop.c (text_property_stickiness): Function moved here from | |
17243 | `editfns.c'. | |
17244 | * intervals.h (text_property_stickiness): New declaration. | |
17245 | * editfns.c (char_property_eq): Function removed. | |
17246 | (text_property_stickiness): Function moved to `textprop.c'. | |
17247 | ||
17248 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
17249 | ||
17250 | * config.in: Add STRFTIME_NO_POSIX2. | |
17251 | ||
17252 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
17253 | and %OX when underlying strftime does not. | |
17254 | ||
17255 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
17256 | ||
17257 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
17258 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
17259 | line) to avoid annoying flicker. | |
17260 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
17261 | (XTread_socket): Mark it static. | |
17262 | ||
17263 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
17264 | ||
17265 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
17266 | ||
17267 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
17268 | ||
17269 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
17270 | ||
17271 | * editfns.c (syms_of_editfns): Fix typo. | |
17272 | ||
17273 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
17274 | ||
17275 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
17276 | Include termopt.h for interrupt_input. | |
17277 | ||
17278 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
17279 | ||
17280 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
17281 | ||
17282 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
17283 | ||
17284 | * xterm.c (note_mouse_movement): Put code for | |
17285 | x_autoselect_window_p in #if 0. | |
17286 | ||
17287 | * lread.c (Fload): Don't assume that message_with_string uses the | |
17288 | string it is given like a C string. | |
17289 | ||
17290 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
17291 | ||
78819ebb | 17292 | * xterm.h (x_session_check_input, x_session_initialize): Declare. |
048addec | 17293 | |
52eb0373 | 17294 | * xterm.c (XTread_socket): Add call to x_session_check_input and |
048addec JD |
17295 | x_session_have_connection. |
17296 | (x_initialize): Add call to x_session_initialize. | |
17297 | ||
17298 | * termhooks.h (enum event_kind): Add save_session_event. | |
17299 | ||
17300 | * keyboard.c: Add Emacs event save_session_event. | |
17301 | ||
17302 | * emacs.c (main): Add call to syms_of_xsmfns. | |
17303 | ||
78819ebb | 17304 | * lisp.h (syms_of_xsmfns): Declare extern. |
048addec JD |
17305 | |
17306 | * config.in: Add HAVE_X_SM. | |
17307 | ||
17308 | * Makefile.in (LIBXT): Add -lSM -lICE | |
17309 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
17310 | (XOBJ): New file xsmfns.c added. | |
17311 | ||
17312 | * xsmfns.c: New file for X session management. | |
17313 | ||
17314 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
17315 | ||
17316 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
17317 | read-only when setting modified time. | |
17318 | ||
17319 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
17320 | ||
17321 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
17322 | when moving forward by lines, treat terminal frames specially. | |
17323 | ||
17324 | * keyboard.c (echo_char): Make sure to add a separator between | |
17325 | keys even if echo_dash hasn't been called. | |
17326 | ||
17327 | * xdisp.c: Use new string macros. | |
17328 | (update_echo_area): Pass number of bytes to message3 instead of | |
17329 | number of chars. | |
17330 | (set_message_1): Don't access a string's size_byte directly. | |
17331 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
17332 | instead number of chars. | |
17333 | ||
17334 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
17335 | ||
17336 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
17337 | ||
17338 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
17339 | 24-bit. | |
17340 | ||
17341 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
17342 | ||
17343 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
17344 | ||
17345 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
17346 | ||
17347 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
17348 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
17349 | work with new kboard definition. | |
17350 | (echo_now): Use message3_nolog instead of message2_nolog. | |
17351 | ||
17352 | * alloc.c (mark_kboards): Mark echo_string. | |
17353 | ||
17354 | * keyboard.h (ECHOBUFSIZE): Removed. | |
17355 | (struct kboard): Member echoptr removed, member echobuf renamed | |
17356 | to echo_string. | |
17357 | ||
17358 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
17359 | message3 instead of message2 to display the message using STRING's | |
17360 | text properties. | |
17361 | ||
17362 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
17363 | ||
17364 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
17365 | ||
17366 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
17367 | ||
17368 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
17369 | affect existing frames. | |
17370 | ||
17371 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
17372 | ||
17373 | * indent.c (skip_invisible): Fix my brain fart. | |
17374 | ||
17375 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
17376 | ||
17377 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
17378 | ||
17379 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
17380 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
17381 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
17382 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
17383 | and variables to use EMACS_INT instead of just int. | |
17384 | ||
17385 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
17386 | ||
17387 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
17388 | ||
17389 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
17390 | environment, pass it down with corrected value. | |
17391 | ||
17392 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17393 | ||
17394 | * lread.c (read_filtered_event): Do not call start_hourglass | |
17395 | before returning. | |
17396 | ||
17397 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
17398 | ||
17399 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
17400 | ||
17401 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
17402 | ||
17403 | * fileio.c (Fmake_temp_name): Doc fix. | |
17404 | ||
17405 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
17406 | ||
17407 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
17408 | libtermcap, for binary compatibility. | |
17409 | ||
17410 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
17411 | ||
17412 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
17413 | ||
17414 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
17415 | ||
17416 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
17417 | only if it is an integer. | |
17418 | ||
17419 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
17420 | If png_get_sRGB gives an answer, call png_set_gamma | |
17421 | using the default image gamma value. | |
17422 | ||
17423 | * lread.c (read1): When reading from a file, default string to | |
17424 | multibyte only if it has some multibyte characters. | |
17425 | ||
17426 | * print.c (print_object): Output multibyte chars 128...255 | |
17427 | using \x even if ! print_escape_multibyte. | |
17428 | ||
17429 | * xdisp.c (display_mode_element): Move the places where | |
17430 | bytepos, charpos, this, and lisp_string are set. | |
17431 | Use lisp_string to set bytepos. | |
17432 | ||
17433 | * xdisp.c (redisplay_internal): | |
17434 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
17435 | ||
17436 | * xdisp.c (display_mode_element): Merge properties specified with | |
17437 | :propertize onto those that come with the string. | |
17438 | ||
17439 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
17440 | ||
17441 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
17442 | automatic-hscrolling. Users changed. | |
17443 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
17444 | Users changed. | |
17445 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
17446 | ||
17447 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
17448 | ||
17449 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
17450 | ||
17451 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
17452 | ||
17453 | * window.c (Fminibuffer_selected_window): New function. | |
17454 | (syms_of_window): Defsubr it. | |
17455 | ||
17456 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
17457 | ||
17458 | * window.h (struct window): New member phys_cursor_width. | |
17459 | ||
17460 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
17461 | ||
17462 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
17463 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
17464 | ||
17465 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
17466 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
17467 | ||
17468 | * lisp.h (GCPRO6): New macro. | |
17469 | ||
17470 | * process.c (Fopen_network_stream): Use GCPRO6. | |
17471 | ||
17472 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
17473 | ||
17474 | * process.c (Qconnect, Qfailed): New variables. | |
17475 | (syms_of_process): Intern and staticpro them. | |
17476 | (Fprocess_status): Document connect and failed return values. | |
17477 | [NON_BLOCKING_CONNECT]: New conditional. | |
17478 | (connect_wait_mask, num_pending_connects): New variables. | |
17479 | (status_message): Convert Qfailed status. | |
17480 | (Fopen_network_stream): Added support for non-blocking connect. | |
17481 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
17482 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
17483 | (deactivate_process): Handle pending non-blocking connect. | |
17484 | (wait_reading_process_input): Poll for status of non-blocking | |
17485 | connects. Exec sentinel directly when connect succeeds. | |
17486 | (status_notify): Don't read process output if not yet connected. | |
17487 | ||
17488 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
17489 | ||
17490 | * window.c: (minibuf_selected_window): Renamed from | |
17491 | Vminibuf_selected_window. Users changed. | |
17492 | (syms_of_window): Staticpro it. | |
17493 | ||
17494 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
17495 | ||
17496 | The following changes add a new Vminibuf_selected_window variable | |
17497 | which is similar to Vminibuf_scroll_window, but which is only set | |
17498 | on entry to the minibuffer (from a non-minibuffer window): | |
17499 | ||
17500 | * window.c: (Vminibuf_selected_window): New variable. | |
17501 | (struct save_window_data): New member minibuf_selected_window. | |
17502 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
17503 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
17504 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
17505 | (compare_window_configurations): Compare minibuf_selected_window. | |
17506 | ||
17507 | * window.h: (Vminibuf_selected_window): Declare extern. | |
17508 | ||
17509 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
17510 | entry to minibuffer or on entry from a non-minibuffer window. | |
17511 | ||
17512 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
17513 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
17514 | ||
17515 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
17516 | instead of Vminibuf_scroll_window when deciding in which window | |
17517 | the region should be highlighted. Consequently, the region remains | |
17518 | highlighteded even when a completion buffer is also displayed. | |
17519 | ||
17520 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
17521 | ||
17522 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
17523 | ||
17524 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
17525 | Qcompound_text_no_extensions. | |
17526 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
17527 | ||
17528 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
17529 | ||
17530 | * w32proc.c (syms_of_ntproc): Doc fix. | |
17531 | ||
17532 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17533 | ||
17534 | * intervals.h: Include "dispextern.h" unconditionally. | |
17535 | ||
17536 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
17537 | ||
17538 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
17539 | and disp-table.elc. | |
17540 | (lisp): Add emacs-lisp/backquote.elc. | |
17541 | ||
17542 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
17543 | ||
3419757d | 17544 | * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: |
048addec JD |
17545 | The validation of the event type was too strict as it didn't |
17546 | allow string events; buffer names are used in bindings for | |
17547 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
17548 | ||
17549 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
17550 | ||
17551 | The following changes rework my patch of 2002-02-06 which | |
17552 | added command remapping by entering the commands directly into | |
17553 | the keymaps. Now, command remapping uses an explicit `remap' | |
17554 | prefix in the keymaps, i.e. [remap COMMAND]. | |
17555 | ||
17556 | * keymap.c (Qremap, remap_command_vector): New variables. | |
3419757d | 17557 | (is_command_symbol): Remove function. |
048addec JD |
17558 | (Fdefine_key): No longer accept a symbol for KEY. |
17559 | Added validation of [remap COMMAND] argument for KEY. | |
17560 | The DEF is no longer required to be a symbol when remapping a command. | |
17561 | (Fremap_command): New function to remap command through keymaps. | |
17562 | (Flookup_key): Perform command remapping initiated by | |
17563 | Fremap_command directly for speed. | |
17564 | (Fkey_binding): Use Fremap_command for command remapping. | |
17565 | (where_is_internal): Handle new command remapping representation. | |
17566 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
17567 | staticpro them. Defsubr Fremap_command. | |
17568 | ||
17569 | * keymap.h (Fremap_command): Declare extern. | |
17570 | (is_command_symbol): Remove extern. | |
17571 | ||
17572 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
17573 | remapping; now try command remapping for all symbols. | |
17574 | ||
17575 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
17576 | ||
17577 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
17578 | ||
17579 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
17580 | ||
17581 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
17582 | on the string before encoding it. | |
17583 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
17584 | after decoding it. | |
17585 | ||
17586 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
17587 | ||
17588 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17589 | ||
17590 | * w32term.c (enter_timestamp): Remove unused static variable to | |
17591 | prevent warning. | |
17592 | ||
17593 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
17594 | ||
17595 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
17596 | ||
17597 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
17598 | ||
17599 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
17600 | ||
17601 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
17602 | ||
17603 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
17604 | ||
17605 | * w32menu.c (menubar_selection_callback): Free the menu and | |
17606 | clear the menu_command_in_progress flag. | |
17607 | ||
17608 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
17609 | (menu_free_timer): New variable. | |
17610 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
17611 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
17612 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
17613 | menu command is in progress. | |
17614 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
17615 | Kill any menu_free_timer that is running. | |
17616 | ||
17617 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
17618 | Call ExtTextOutA rather than ExtTextOut. | |
17619 | ||
17620 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
17621 | ||
17622 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
17623 | ||
17624 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
17625 | ||
17626 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
17627 | on the string before encoding it. | |
17628 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
17629 | after decoding it. | |
17630 | ||
17631 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
17632 | ||
17633 | Support for ICCCM Extended Segments in X selections: | |
17634 | ||
17635 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
17636 | (syms_of_xselect): Intern and staticpro it. | |
17637 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
17638 | selection text. | |
17639 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
17640 | compound-text-no-extensions, set the type of selection to be | |
17641 | compound-text. | |
17642 | ||
17643 | * xterm.h (x_encode_text): Update prototype. | |
17644 | ||
17645 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
17646 | callers changed. If SELECTIONP is non-zero, run the | |
17647 | pre-write-conversion function before encoding the selection text. | |
17648 | ||
17649 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
17650 | ||
17651 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
17652 | ||
17653 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
17654 | Correct composing of language-change event. | |
17655 | ||
17656 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
17657 | ||
17658 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
17659 | bindings at PT when building menu (the menu is not updated often | |
17660 | enough for this to work reliable). | |
17661 | (tool_bar_items): Likewise. | |
17662 | (current_active_maps): Removed unused (and buggy) function. | |
17663 | ||
17664 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
17665 | ||
17666 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
17667 | ||
17668 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
17669 | ||
17670 | * floatfns.c (Fatan): Accept an optional second arg and call | |
17671 | atan2 if passed 2 args. | |
17672 | ||
17673 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
17674 | ||
17675 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
17676 | ||
17677 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
17678 | ||
17679 | * w32term.c (x_autoselect_window_p): New variable. | |
17680 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
17681 | (note_mouse_movement): Use it. | |
17682 | ||
17683 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
17684 | ||
17685 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
17686 | ||
17687 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
17688 | New variables. | |
17689 | (syms_of_w32fns): Intern and staticpro them. | |
17690 | (x_frame_parms) <"fullscreen">: New parameter. | |
17691 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
17692 | (x_set_frame_parameters): Support Qfullscreen. | |
17693 | (x_real_positions): Save x/y_pixels_diff frame params. | |
17694 | (x_figure_window_size): Support full-screen frames. | |
17695 | (Fx_create_frame): Default the fullscreen parameter. | |
17696 | ||
17697 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
17698 | (x_fullscreen_adjust): New functions. | |
17699 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | |
17700 | fullscreen. Call x_check_fullscreen_move, and set the | |
17701 | want_fullscreen member of output_data.w32 | |
17702 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
17703 | ||
17704 | * w32term.h: New enum for FULLSCREEN_* constants. | |
17705 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
17706 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
17707 | (x-fullscreen-adjust): New prototype. | |
17708 | ||
17709 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
17710 | ||
52eb0373 | 17711 | * frame.c (Vmouse_highlight): New variable. |
048addec JD |
17712 | (syms_of_frame): DEFVAR_LISP it. |
17713 | ||
52eb0373 | 17714 | * frame.h (Vmouse_highlight): Declare extern. |
8a8e19a3 | 17715 | |
048addec | 17716 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 17717 | |
048addec JD |
17718 | * xterm.c (disable_mouse_highlight): Removed variable. |
17719 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
17720 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
17721 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
17722 | and on after keyboard input. | |
17723 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 17724 | |
048addec | 17725 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 17726 | |
048addec JD |
17727 | * msdos.c (disable_mouse_highlight): Removed variable. |
17728 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
17729 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
17730 | (internal_terminal_init): Initialize mouse_face_hidden. | |
17731 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
17732 | and on after keyboard input. | |
4f1b1854 | 17733 | |
048addec | 17734 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 17735 | |
048addec JD |
17736 | * w32term.c (disable_mouse_highlight): Removed variable. |
17737 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
17738 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
17739 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
17740 | and on after keyboard input. | |
17741 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 17742 | |
048addec | 17743 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 17744 | |
048addec JD |
17745 | * msdos.c (last_mouse_window): New variable. |
17746 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
17747 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 17748 | |
048addec | 17749 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 17750 | |
048addec JD |
17751 | * msdos.c (x_autoselect_window_p): New variable. |
17752 | (syms_of_msdos): Defvar it. | |
17753 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
17754 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 17755 | |
048addec JD |
17756 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
17757 | New variables. | |
17758 | (syms_of_xdisp): DEVFAR them. | |
17759 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
17760 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 17761 | |
048addec | 17762 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 17763 | |
048addec JD |
17764 | * xterm.c (x-autoselect-window): New variable. |
17765 | (note_mouse_movement): Use it. | |
9f696a00 | 17766 | |
048addec | 17767 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 17768 | |
048addec | 17769 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 17770 | |
bfa02563 | 17771 | * puresize.h (PURESIZE_RATIO): Increase to 9/5. |
d57966d7 | 17772 | |
048addec | 17773 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 17774 | |
048addec | 17775 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 17776 | |
048addec | 17777 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 17778 | |
048addec JD |
17779 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
17780 | (Vx_super_keysym): New variables. | |
17781 | (syms_of_xterm): DEFVAR_LISP them. | |
17782 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
17783 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 17784 | |
048addec | 17785 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 17786 | |
048addec JD |
17787 | * window.c: (Vmode_line_in_non_selected_windows): Removed. |
17788 | (mode_line_in_non_selected_windows): New variable. | |
17789 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 17790 | |
048addec JD |
17791 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
17792 | Use mode_line_in_non_selected_windows. | |
17793 | (mode_line_in_non_selected_windows): Declare extern. | |
17794 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 17795 | |
048addec | 17796 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 17797 | |
048addec JD |
17798 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
17799 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
17800 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 17801 | |
048addec JD |
17802 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
17803 | (update_face_from_frame_parameter): Increment face_change_count | |
17804 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 17805 | |
048addec JD |
17806 | * xdisp.c (QCpropertize): New variable. |
17807 | (mode_line_proptrans_alist): New variable. | |
17808 | (display_mode_element): New arg PROPS; all calls changed. | |
17809 | Implement this, for strings. | |
17810 | Handle literal output of strings by sharing the | |
17811 | main-line code for strings, using local var `literal'. | |
17812 | Handle :propertize feature. | |
17813 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
17814 | mode_line_proptrans_alist. | |
0b1e6b54 | 17815 | |
048addec | 17816 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 17817 | |
048addec JD |
17818 | * window.c: (Vmode_line_in_non_selected_windows): New variable. |
17819 | (syms_of_window): DEFVAR_LISP it. | |
7f2cddf3 | 17820 | |
048addec JD |
17821 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
17822 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
17823 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 17824 | |
048addec JD |
17825 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
17826 | to get mode line face. | |
e17144de | 17827 | |
048addec | 17828 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 17829 | |
048addec JD |
17830 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
17831 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 17832 | |
048addec | 17833 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 17834 | |
048addec JD |
17835 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
17836 | reduction. This fixes a display problem where stray newlines were | |
17837 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 17838 | |
048addec | 17839 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 17840 | |
048addec | 17841 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 17842 | |
048addec | 17843 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 17844 | |
048addec | 17845 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 17846 | |
048addec JD |
17847 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
17848 | match each other. | |
17849 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
17850 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 17851 | |
048addec | 17852 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 17853 | |
048addec JD |
17854 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
17855 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
17856 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 17857 | |
048addec JD |
17858 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
17859 | (pos_visible_p, handle_face_prop): Likewise. | |
17860 | (display_mode_lines): Likewise, but for the real selected window. | |
17861 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 17862 | |
048addec JD |
17863 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
17864 | in non-selected windows. | |
17865 | (realize_basic_faces): Realize it. | |
17866 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 17867 | |
048addec | 17868 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 17869 | |
048addec JD |
17870 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
17871 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 17872 | |
048addec | 17873 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 17874 | |
048addec JD |
17875 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
17876 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 17877 | |
048addec | 17878 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 17879 | |
048addec | 17880 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 17881 | |
048addec | 17882 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 17883 | |
048addec | 17884 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 17885 | |
048addec | 17886 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 17887 | |
048addec | 17888 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 17889 | |
048addec JD |
17890 | * keymap.c (where_is_internal): Only check whether definition is |
17891 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 17892 | |
048addec | 17893 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 17894 | |
048addec | 17895 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 17896 | |
048addec | 17897 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 17898 | |
048addec | 17899 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 17900 | |
048addec JD |
17901 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
17902 | defining command remapping. Doc updated. | |
17903 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
17904 | (is_command_symbol): New function. | |
17905 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
17906 | Doc updated. Callers changed. Perform command remapping via | |
17907 | recursive call unless that arg is non-nil. | |
17908 | (where_is_internal): New argument no_remap. Callers changed. | |
17909 | Call recursively to find original key bindings for a remapped | |
17910 | comand unless that arg is non-nil. | |
17911 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
17912 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 17913 | |
048addec | 17914 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
3419757d | 17915 | (is_command_symbol): Add prototype. |
0d8466cc | 17916 | |
048addec JD |
17917 | * keyboard.c (Vthis_original_command): New variable. |
17918 | (syms_of_keyboard): DEFVAR_LISP it. | |
17919 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 17920 | |
048addec | 17921 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 17922 | |
048addec | 17923 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 17924 | |
048addec | 17925 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 17926 | |
048addec | 17927 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 17928 | |
048addec | 17929 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 17930 | |
048addec | 17931 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 17932 | |
048addec | 17933 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 17934 | |
048addec | 17935 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 17936 | |
048addec | 17937 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 17938 | |
048addec | 17939 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 17940 | |
048addec JD |
17941 | * lread.c (read1): Redesign strategy for force_multibyte and |
17942 | force_singlebyte. Now is_multibyte records whether read_buffer | |
17943 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 17944 | |
048addec | 17945 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 17946 | |
048addec JD |
17947 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
17948 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 17949 | |
048addec | 17950 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 17951 | |
048addec JD |
17952 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
17953 | latter never being defined on GNU/Linux. | |
749f499f | 17954 | |
048addec | 17955 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 17956 | |
048addec JD |
17957 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
17958 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 17959 | |
048addec | 17960 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 17961 | |
048addec JD |
17962 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
17963 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 17964 | |
048addec JD |
17965 | * eval.c (Fsignal): Remove duplicated declaration of |
17966 | the variable `display_hourglass_p'. | |
b4c45162 | 17967 | |
048addec | 17968 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 17969 | |
048addec | 17970 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 17971 | |
048addec JD |
17972 | * coding.c (decode_composition_emacs_mule): |
17973 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 17974 | |
048addec JD |
17975 | * callint.c (check_mark): New arg to specify clearer error message. |
17976 | Callers changed. | |
c95eaa61 | 17977 | |
048addec | 17978 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 17979 | |
048addec | 17980 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 17981 | |
048addec | 17982 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 17983 | |
048addec JD |
17984 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
17985 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
17986 | Fix doc-strings. | |
c95eaa61 | 17987 | |
048addec | 17988 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 17989 | |
048addec | 17990 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 17991 | |
048addec JD |
17992 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
17993 | and scroll_up_aggressively. | |
c95eaa61 | 17994 | |
048addec | 17995 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 17996 | |
048addec | 17997 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 17998 | |
048addec | 17999 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 18000 | |
048addec JD |
18001 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
18002 | (Fprevious_property_change, Fprevious_single_property_change): | |
18003 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 18004 | |
048addec | 18005 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 18006 | |
048addec JD |
18007 | * term.c (Ftty_display_color_cells): New function. |
18008 | (syms_of_term): Defsubr it. | |
18009 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
18010 | argument name to DISPLAY. Doc fix. | |
bf794306 | 18011 | |
048addec JD |
18012 | * dispextern.h: Add prototype for set_tty_color_mode and |
18013 | tty_setup_colors. | |
bf794306 | 18014 | |
048addec | 18015 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 18016 | |
048addec JD |
18017 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
18018 | If region left to draw is not what was expected, mark the frame as | |
18019 | garbaged. | |
62582985 | 18020 | |
048addec JD |
18021 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
18022 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 18023 | |
048addec | 18024 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 18025 | |
048addec JD |
18026 | * w32term.c (x_update_window_begin): Only hide caret if |
18027 | w32_use_visible_system_caret is set. | |
18028 | (x_update_window_end): Only show caret if | |
18029 | w32_use_visible_system_caret is set. | |
18030 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 18031 | |
048addec | 18032 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 18033 | |
048addec | 18034 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 18035 | |
048addec JD |
18036 | * unexelf.c (unexec): Define n so as to cause compilation error |
18037 | for the code where people have often written n instead of nn. | |
1e9a6186 | 18038 | |
048addec | 18039 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 18040 | |
048addec | 18041 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 18042 | |
048addec | 18043 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 18044 | |
048addec | 18045 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 18046 | |
048addec JD |
18047 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
18048 | if fullscreen is being set. | |
7c75be36 | 18049 | |
048addec | 18050 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 18051 | |
048addec JD |
18052 | * minibuf.c (Fminibuffer_contents) |
18053 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
18054 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 18055 | |
048addec | 18056 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 18057 | |
048addec | 18058 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 18059 | |
048addec | 18060 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 18061 | |
048addec JD |
18062 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
18063 | height before comparison. | |
18064 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 18065 | |
048addec | 18066 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 18067 | |
048addec JD |
18068 | * w32term.c (w32_system_caret_width): Remove. |
18069 | (w32_use_visible_system_caret): New user flag. | |
18070 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
18071 | Windows reports a screen reader running. | |
18072 | (x_update_window_begin): Hide the system caret. | |
18073 | (x_update_window_end): Show the system caret. | |
18074 | (x_display_and_set_cursor): Don't draw a cursor when | |
18075 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 18076 | |
048addec JD |
18077 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
18078 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
18079 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
18080 | the user requests it. Use system default width when creating. | |
18081 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 18082 | |
048addec JD |
18083 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
18084 | New window messages. | |
905cc05a | 18085 | |
048addec | 18086 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 18087 | |
048addec | 18088 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 18089 | |
048addec | 18090 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 18091 | |
048addec | 18092 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 18093 | |
048addec | 18094 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 18095 | |
048addec | 18096 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 18097 | |
048addec | 18098 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 18099 | |
048addec JD |
18100 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
18101 | that Windows returns. If a double check fails, try to guess how | |
18102 | ExtTextOut is going to act. | |
4d0fa4f3 | 18103 | |
048addec JD |
18104 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
18105 | in place of stricmp. | |
18106 | (w32_list_synthesized_fonts): Removed. | |
18107 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
18108 | (struct enumfont_t): New element; list. | |
18109 | (enum_font_cb2): List all style and charset variations of a font. | |
18110 | (Fw32_select_font): New optional argument; include_proportional. | |
18111 | Exclude vertical fonts. Exclude proportional fonts unless | |
18112 | include_proportional is non-nil. | |
18113 | (w32_enable_synthesized_fonts): Change to a boolean. | |
18114 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 18115 | |
048addec | 18116 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 18117 | |
048addec JD |
18118 | * dispnew.c (update_frame): Move the variable `tem' to the block |
18119 | where it is used. | |
4971e491 | 18120 | |
048addec | 18121 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 18122 | |
048addec JD |
18123 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
18124 | call to face-set-after-frame-default. | |
4971e491 | 18125 | |
048addec | 18126 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 18127 | |
048addec JD |
18128 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
18129 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 18130 | |
048addec | 18131 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 18132 | |
048addec JD |
18133 | * window.c (enlarge_window): When exceeding size of parent, |
18134 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 18135 | |
048addec | 18136 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 18137 | |
048addec | 18138 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 18139 | |
048addec | 18140 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 18141 | |
048addec | 18142 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 18143 | |
048addec | 18144 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 18145 | |
048addec JD |
18146 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
18147 | is invisible. This can happen if cursor is on top line of a | |
18148 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 18149 | |
048addec | 18150 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 18151 | |
048addec | 18152 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 18153 | |
048addec JD |
18154 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
18155 | `dont_resize' only when used. | |
61e3b944 | 18156 | |
048addec | 18157 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 18158 | |
048addec | 18159 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 18160 | |
048addec JD |
18161 | * xdisp.c (display_mode_element): When computing charpos, depend |
18162 | on multibyteness of elt, not the text in field. | |
8af01033 | 18163 | |
048addec | 18164 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 18165 | |
048addec JD |
18166 | * buffer.c (Fkill_all_local_variables): |
18167 | Increment `update_mode_lines' only once. | |
7363986a | 18168 | |
048addec | 18169 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 18170 | |
048addec JD |
18171 | * lisp.h (adjust_after_replace_noundo) |
18172 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 18173 | |
048addec | 18174 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 18175 | |
048addec | 18176 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 18177 | |
048addec JD |
18178 | Support for the --color command-line argument and tty-color-mode |
18179 | frame parameter: | |
f1a85b89 | 18180 | |
048addec JD |
18181 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
18182 | (set_tty_color_mode): New functions. | |
18183 | (term_init): Call tty_default_color_capabilities. | |
18184 | (Qtty_color_mode_alist): New variable. | |
18185 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 18186 | |
048addec JD |
18187 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
18188 | frames. | |
18189 | (do_switch_frame): For termcap frames, switch the tty | |
18190 | color mode as specified by the frame's parameters. | |
18191 | (Qtty_color_mode): New variable. | |
18192 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 18193 | |
048addec JD |
18194 | * emacs.c (USAGE2): Add the --color option. |
18195 | (standard_args): Ditto. | |
72244db2 | 18196 | |
048addec JD |
18197 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18198 | ||
18199 | * xterm.h (struct x_output): New members want_fullscreen, | |
18200 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
18201 | y_pixels_outer_diff. | |
18202 | New enum for FULLSCREEN_* constants. | |
18203 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
18204 | is NULL. | |
18205 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 18206 | |
048addec JD |
18207 | * emacs.c (USAGE2): Add the new full-screen arguments. |
18208 | (standard_args): Ditto. | |
3a62677f | 18209 | |
048addec JD |
18210 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
18211 | New variables. | |
18212 | (syms_of_xfns): Intern and staticpro them. | |
18213 | (x_frame_parms) <"fullscreen">: New parameter. | |
18214 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
18215 | (x_set_frame_parameters): Support for Qfullscreen. | |
18216 | (x_real_positions): More accurate computation of the frame position. | |
18217 | (x_figure_window_size): Support full-screen frames. | |
18218 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 18219 | |
048addec JD |
18220 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
18221 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
18222 | <ConfigureNotify>: Don't resize to fullscreen. | |
18223 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
18224 | output_data.x. | |
3a62677f | 18225 | |
048addec | 18226 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 18227 | |
048addec JD |
18228 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
18229 | for mice with more than 3 buttons. | |
b8523839 | 18230 | |
048addec JD |
18231 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
18232 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 18233 | |
048addec JD |
18234 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
18235 | (syms_of_w32fns): DEFVAR_BOOL it. | |
18236 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 18237 | |
048addec | 18238 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 18239 | |
048addec | 18240 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 18241 | |
048addec | 18242 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 18243 | |
048addec | 18244 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 18245 | |
048addec | 18246 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 18247 | |
048addec JD |
18248 | * .gdbinit (xbuffer): Remove address operator since data is now a |
18249 | pointer. | |
c93674bb | 18250 | |
048addec | 18251 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 18252 | |
048addec | 18253 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 18254 | |
048addec | 18255 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 18256 | |
048addec | 18257 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 18258 | |
048addec JD |
18259 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
18260 | when checking for multiple frames. | |
91175673 | 18261 | |
048addec | 18262 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 18263 | |
048addec JD |
18264 | * window.c (delete_window): Rewrite the code for changing the |
18265 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 18266 | |
048addec | 18267 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 18268 | |
048addec JD |
18269 | * process.c (send_process): Set src_multibyte to 1 after the call |
18270 | top setup_coding_system, not before the call. | |
e0fead5d | 18271 | |
048addec | 18272 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 18273 | |
048addec JD |
18274 | * xmenu.c (set_frame_menubar, xmenu_show): |
18275 | (xdialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 18276 | |
048addec JD |
18277 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
18278 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 18279 | |
048addec | 18280 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 18281 | |
048addec | 18282 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 18283 | |
048addec | 18284 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 18285 | |
048addec | 18286 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 18287 | |
048addec | 18288 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 18289 | |
048addec JD |
18290 | * insdel.c (make_gap_larger): Make sure buffer size does not |
18291 | overflow range of int. | |
62854fe2 | 18292 | |
048addec | 18293 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 18294 | |
048addec JD |
18295 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
18296 | OVERLAPS_P. | |
656f46bb | 18297 | |
048addec | 18298 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 18299 | |
048addec JD |
18300 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
18301 | to the left or to the right of the pointer, put it against | |
18302 | the left screen edge. | |
18303 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 18304 | |
048addec JD |
18305 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
18306 | background color if it doesn't have a Pixmap. | |
18307 | (notice_overwritten_cursor): Don't depend on | |
18308 | output_cursor and updated_area. Compare pixel coordinates with | |
18309 | window's cursor pixel coordinates. | |
18310 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
18311 | Call notice_overwritten_cursor with new arg list. | |
18312 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
18313 | unconditionally. | |
18314 | (x_draw_image_relief): Use predefined macro instead of | |
18315 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 18316 | |
048addec | 18317 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 18318 | |
048addec | 18319 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 18320 | |
048addec | 18321 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 18322 | |
048addec | 18323 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 18324 | |
048addec JD |
18325 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
18326 | (Fkey_binding): Try the `keymap' property map first. | |
18327 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
18328 | minor mode bindings. | |
90647b07 | 18329 | |
048addec | 18330 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 18331 | |
3419757d | 18332 | * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. |
ace9b298 | 18333 | |
048addec | 18334 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 18335 | |
048addec JD |
18336 | * keyboard.c (read_key_sequence): Handle the keymap property |
18337 | before minor mode maps. | |
9fbc32aa | 18338 | |
048addec JD |
18339 | * editfns.c (Fformat): Update thissize from field_width |
18340 | based on the actual width, in the string case. | |
036e218d | 18341 | |
048addec | 18342 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 18343 | |
048addec JD |
18344 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
18345 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 18346 | |
048addec JD |
18347 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
18348 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 18349 | |
048addec | 18350 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 18351 | |
048addec JD |
18352 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
18353 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
18354 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 18355 | |
048addec | 18356 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 18357 | |
048addec JD |
18358 | * print.c (print_object): Test print_escape_nonascii only for |
18359 | unibyte strings. | |
18360 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
18361 | when outputting to a multibyte buffer. | |
9fbc32aa | 18362 | |
048addec | 18363 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 18364 | |
048addec JD |
18365 | * print.c (print_object): In multibyte string, use hex escapes. |
18366 | Use octal only for unibyte strings. | |
18367 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 18368 | |
048addec JD |
18369 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
18370 | escape forces unibyte or multibyte. | |
18371 | (read1): When reading a string, take note of that info. | |
0142178a | 18372 | |
048addec | 18373 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 18374 | |
048addec JD |
18375 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
18376 | comparison to test lisp value returned by Fget. | |
d4824a5d | 18377 | |
048addec | 18378 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 18379 | |
048addec | 18380 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 18381 | |
048addec | 18382 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 18383 | |
048addec JD |
18384 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
18385 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 18386 | |
048addec | 18387 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 18388 | |
048addec JD |
18389 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
18390 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
18391 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
18392 | Update calls to Fdefine_abbrev. | |
18393 | (write_abbrev): Update for changed data format. | |
18394 | Don't list "system" abbrevs. | |
18395 | (Fexpand_abbrev): Update use count with new data format. | |
18396 | (describe_abbrev): Update for changed data format. | |
18397 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 18398 | |
048addec | 18399 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 18400 | |
048addec | 18401 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 18402 | |
048addec JD |
18403 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
18404 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 18405 | |
048addec JD |
18406 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
18407 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
18408 | (exclude_key): New variable. | |
59a86c99 | 18409 | |
048addec | 18410 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 18411 | |
048addec JD |
18412 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
18413 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 18414 | |
048addec JD |
18415 | * xterm.c (notice_overwritten_cursor): Don't depend on |
18416 | output_cursor and updated_area. Compare pixel coordinates with | |
18417 | window's cursor pixel coordinates. | |
18418 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
18419 | Call notice_overwritten_cursor with new arg list. | |
18420 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
18421 | unconditionally. | |
eb77a5f4 | 18422 | |
048addec JD |
18423 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
18424 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 18425 | |
048addec | 18426 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 18427 | |
048addec JD |
18428 | * intervals.c (set_point_both): The position after an invisible, |
18429 | intangible character is not an acceptable stopping point. | |
bb313871 | 18430 | |
048addec | 18431 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 18432 | |
048addec JD |
18433 | * window.c (enlarge_window): In new preserve_before code, convert |
18434 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 18435 | |
048addec | 18436 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 18437 | |
048addec | 18438 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 18439 | |
048addec | 18440 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 18441 | |
048addec JD |
18442 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
18443 | separated by mouse-movement. When tracking mouse, only record | |
18444 | first and last mouse-movement event in same window. | |
18445 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 18446 | |
048addec | 18447 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 18448 | |
048addec JD |
18449 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
18450 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 18451 | |
048addec JD |
18452 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
18453 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 18454 | |
048addec | 18455 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 18456 | |
048addec | 18457 | The following changes remove mocklisp support: |
9fabb2f5 | 18458 | |
048addec | 18459 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 18460 | |
048addec JD |
18461 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
18462 | `Qmocklisp' and `Qmocklisp_arguments'. | |
18463 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 18464 | |
048addec | 18465 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 18466 | |
048addec JD |
18467 | * callint.c: Do not include mocklisp.h. |
18468 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 18469 | |
048addec JD |
18470 | * eval.c: Remove variables `Qmocklisp_arguments', |
18471 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
18472 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
18473 | Do not test for mocklisp case. | |
18474 | (Fwhile): Remove unused variable `tem'. | |
18475 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 18476 | |
048addec | 18477 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 18478 | |
048addec | 18479 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 18480 | |
048addec | 18481 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 18482 | |
048addec | 18483 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 18484 | |
048addec JD |
18485 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
18486 | to the left or to the right of the pointer, put it against | |
18487 | the left screen edge. | |
6108b49c | 18488 | |
048addec | 18489 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 18490 | |
048addec JD |
18491 | * Makefile.in (distclean): Remove .gdbinit if we are building |
18492 | outside the source tree. | |
5eea19a4 | 18493 | |
048addec | 18494 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 18495 | |
048addec | 18496 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 18497 | |
048addec | 18498 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 18499 | |
048addec JD |
18500 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
18501 | of the current drive as the fallback for default_directory. | |
438e57dd | 18502 | |
048addec JD |
18503 | * dired.c (file_name_completion): Run the elements of |
18504 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 18505 | |
048addec JD |
18506 | * lisp.h (scmp): Remove prototype, since it's now a static |
18507 | function private to dired.c. | |
c88e5347 | 18508 | |
048addec | 18509 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 18510 | |
048addec JD |
18511 | * dired.c (scmp): Function moved from minibuf.c. |
18512 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 18513 | |
048addec | 18514 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 18515 | |
048addec | 18516 | * fns.c (merge): Add QUIT call. |
59ce1461 | 18517 | |
048addec | 18518 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 18519 | |
048addec JD |
18520 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
18521 | language/georgian.el. | |
8727d588 | 18522 | |
048addec | 18523 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 18524 | |
048addec JD |
18525 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
18526 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 18527 | |
048addec | 18528 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 18529 | |
048addec JD |
18530 | * xdisp.c (window_box_height): Do not return negative values. |
18531 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 18532 | |
048addec | 18533 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 18534 | |
048addec | 18535 | * term.c (keys): Likewise. |
deece6f5 | 18536 | |
048addec | 18537 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 18538 | |
048addec | 18539 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 18540 | |
048addec JD |
18541 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
18542 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 18543 | |
048addec | 18544 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 18545 | |
048addec | 18546 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 18547 | |
048addec JD |
18548 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
18549 | before calling decode_coding. | |
9b46de40 | 18550 | |
048addec | 18551 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 18552 | |
048addec JD |
18553 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
18554 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 18555 | |
048addec | 18556 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 18557 | |
048addec | 18558 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 18559 | |
048addec | 18560 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 18561 | |
048addec JD |
18562 | * buffer.h (struct buffer): New field `display_error_modiff'. |
18563 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 18564 | |
048addec | 18565 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 18566 | |
048addec JD |
18567 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
18568 | Call redisplay_window, but not if display_error_modiff field says no. | |
18569 | (redisplay_window_error): New function. | |
18570 | (displayed_buffer): New variable. | |
18571 | (redisplay_internal, redisplay_windows): Call the new functions | |
18572 | instead of redisplay_window directly. | |
2cd23960 | 18573 | |
048addec | 18574 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 18575 | |
048addec | 18576 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 18577 | |
048addec | 18578 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 18579 | |
048addec | 18580 | * makefile.w32-in (EMACSLOADPATH): Define. |
f9711de4 | 18581 | ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. |
048addec | 18582 | (bootstrap-temacs): Remove dependency on bootstrap-clean. |
a4184c1c | 18583 | |
048addec | 18584 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 18585 | |
048addec JD |
18586 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
18587 | parameter have a numeric value all the time. | |
f6fa0866 | 18588 | |
048addec | 18589 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 18590 | |
048addec | 18591 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 18592 | |
048addec | 18593 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 18594 | |
048addec JD |
18595 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
18596 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 18597 | |
048addec | 18598 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 18599 | |
048addec JD |
18600 | * xdisp.c (move_it_vertically_backward): Change heuristic |
18601 | for the case that we didn't move far enough initially. | |
91c153e2 | 18602 | |
048addec JD |
18603 | * window.c (Frecenter): Simplify computation in the case of window |
18604 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 18605 | |
048addec | 18606 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 18607 | |
048addec JD |
18608 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
18609 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 18610 | |
048addec | 18611 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 18612 | |
048addec JD |
18613 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
18614 | arg is negative. | |
be676094 | 18615 | |
048addec | 18616 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 18617 | |
048addec JD |
18618 | * m/hp800.h: Split the __hpux conditional into the parts |
18619 | that are right for GNU/Linux too and the parts that are not. | |
18620 | Use the former if GNU_LINUX. | |
18621 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 18622 | |
048addec | 18623 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 18624 | |
048addec | 18625 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 18626 | |
048addec JD |
18627 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
18628 | `new style' [w/`doc:' keyword]. | |
032a857d | 18629 | |
048addec | 18630 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 18631 | |
048addec JD |
18632 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
18633 | before using. | |
b6270150 | 18634 | |
048addec | 18635 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 18636 | |
048addec JD |
18637 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
18638 | keyword]. | |
98cbb9fa | 18639 | |
048addec | 18640 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 18641 | |
048addec | 18642 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 18643 | |
048addec | 18644 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 18645 | |
048addec | 18646 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 18647 | |
048addec | 18648 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
78819ebb | 18649 | Add comment to explain where the struct came from. |
048addec JD |
18650 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
18651 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
18652 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
18653 | Lisp_Object. | |
18654 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 18655 | |
048addec | 18656 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 18657 | |
048addec | 18658 | * COPYING: Moved back. |
fa336b91 | 18659 | |
048addec JD |
18660 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
18661 | Add parentheses around && within ||. | |
077907d4 | 18662 | |
048addec | 18663 | * indent.c (compute_motion): Likewise. |
aa2af83a | 18664 | |
048addec | 18665 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 18666 | |
048addec JD |
18667 | * coding.c (setup_coding_system, shrink_encoding_region) |
18668 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 18669 | |
048addec | 18670 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 18671 | |
048addec JD |
18672 | * xdisp.c (display_mode_element): Don't read past end of string if |
18673 | it ends with '%'. | |
60a653f1 | 18674 | |
048addec JD |
18675 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
18676 | can hold. | |
60a653f1 | 18677 | |
048addec JD |
18678 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
18679 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
18680 | type changed to Lisp_Object. | |
18681 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 18682 | |
048addec | 18683 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18684 | |
048addec JD |
18685 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
18686 | location whenever Emacs was run uninstalled. | |
60a653f1 | 18687 | |
048addec | 18688 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 18689 | |
048addec JD |
18690 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
18691 | * process.c (create_process): | |
18692 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
18693 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
18694 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
18695 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
18696 | * m/intel386.h (HAVE_VFORK): Likewise. | |
18697 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
18698 | * m/mips.h (HAVE_VFORK): Likewise. | |
18699 | * s/freebsd.h (vfork): Remove #define. | |
18700 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
18701 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 18702 | |
048addec | 18703 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18704 | |
048addec JD |
18705 | * s/hpux10.h (random): Add undef. |
18706 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 18707 | |
048addec | 18708 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18709 | |
048addec | 18710 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 18711 | |
048addec | 18712 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 18713 | |
048addec JD |
18714 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
18715 | scroll bars of the frame before deleting the frame itself. If the | |
18716 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
18717 | not call XDestroyWindow before that. | |
60a653f1 | 18718 | |
048addec | 18719 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 18720 | |
048addec | 18721 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 18722 | |
048addec | 18723 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 18724 | |
048addec | 18725 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 18726 | |
048addec JD |
18727 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
18728 | excessively large. | |
60a653f1 | 18729 | |
048addec JD |
18730 | * insdel.c (make_gap_larger): New function. |
18731 | (make_gap_smaller): New function. | |
18732 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
18733 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 18734 | |
048addec | 18735 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18736 | |
048addec JD |
18737 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
18738 | Pass a dummy argument when calling interrupt_signal. | |
18739 | (parse_menu_item): Mark disabled items before checking for empty def. | |
18740 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
18741 | (read_key_sequence): Add a `first_unbound' variable. | |
18742 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
18743 | unbound prefix as soon as we can detect it. | |
60a653f1 | 18744 | |
048addec JD |
18745 | * doc.c (Fsnarf_documentation): Add prototype. |
18746 | (get_doc_string): Handle negative arguments. | |
18747 | (Fdocumentation): Use AREF and ASIZE. | |
18748 | Move the calls to get_doc_string to a single place. | |
18749 | Don't confuse an interactive-spec for a docstring reference. | |
18750 | (Fdocumentation_property): Take advantage of the fact that | |
18751 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 18752 | |
048addec | 18753 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 18754 | |
048addec | 18755 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 18756 | |
a64387ee | 18757 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. |
60a653f1 | 18758 | |
048addec | 18759 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 18760 | |
048addec JD |
18761 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
18762 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 18763 | |
048addec | 18764 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18765 | |
048addec JD |
18766 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
18767 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 18768 | |
048addec | 18769 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 18770 | |
048addec | 18771 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18772 | |
048addec | 18773 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 18774 | |
048addec | 18775 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 18776 | |
048addec | 18777 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 18778 | |
048addec | 18779 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 18780 | |
f63fd14e | 18781 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 18782 | |
048addec JD |
18783 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
18784 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 18785 | |
048addec JD |
18786 | * w32menu.c (current_popup_menu, get_menu_item_info): |
18787 | (set_menu_item_info): New vars. | |
18788 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
18789 | (w32_menu_show): Set current_popup_menu. | |
18790 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
18791 | and help strings. | |
18792 | Use owner-draw for disabled menu items again. | |
18793 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
18794 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 18795 | |
048addec JD |
18796 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
18797 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
18798 | <WM_EXITMENULOOP>: Free menu strings. | |
18799 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
18800 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 18801 | |
048addec JD |
18802 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
18803 | and mouse face. | |
60a653f1 | 18804 | |
048addec | 18805 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 18806 | |
048addec JD |
18807 | The following changes add left-fringe and right-fringe |
18808 | frame parameters to adjust fringe widths, or remove one or | |
18809 | both fringes. | |
60a653f1 | 18810 | |
048addec JD |
18811 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
18812 | trunc_area_cols fields. | |
18813 | (Qleft_fringe, Qright_fringe): Declare. | |
18814 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 18815 | |
048addec JD |
18816 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
18817 | (syms_of_frame): Initialize them. | |
60a653f1 | 18818 | |
048addec JD |
18819 | * window.c (coordinates_in_window): Handle separate left and right |
18820 | fringe widths. | |
60a653f1 | 18821 | |
048addec JD |
18822 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
18823 | and fringe_cols fields. | |
18824 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
18825 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
18826 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
18827 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
18828 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
18829 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 18830 | |
048addec JD |
18831 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
18832 | fill fringe evenly with small dashes. | |
f63fd14e | 18833 | (x_draw_fringe_bitmap): Clear background if necessary. Align and |
048addec JD |
18834 | clip the new ZV bitmap to avoid jitter between rows. |
18835 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
18836 | background. Don't draw fringe bitmaps if fringe width is zero. | |
18837 | (x_compute_fringe_widths): New function. | |
18838 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 18839 | |
048addec JD |
18840 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
18841 | (x_set_frame_parameters): Process `font' parameter before other | |
18842 | parameters as fringe widths depend on it. | |
18843 | (x_set_fringe_width): New function. | |
18844 | (x_figure_window_size): Use x_compute_fringe_widths. | |
18845 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
18846 | parameters. | |
60a653f1 | 18847 | |
048addec JD |
18848 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
18849 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 18850 | |
048addec JD |
18851 | * w32term.h: Merged changes from xterm.h. |
18852 | * w32term.c: Merged changes from xterm.c. | |
18853 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 18854 | |
048addec | 18855 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 18856 | |
048addec | 18857 | * COPYING: Removed. |
60a653f1 | 18858 | |
048addec | 18859 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 18860 | |
048addec JD |
18861 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
18862 | extra extra slot. | |
18863 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 18864 | |
048addec | 18865 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 18866 | |
048addec JD |
18867 | * fileio.c (file-name-coding-system) |
18868 | (default-file-name-coding-system): Doc fix (links to referenced | |
18869 | variables added). | |
60a653f1 | 18870 | |
048addec | 18871 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18872 | |
048addec JD |
18873 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
18874 | Add dummy uses of gcproN variables. | |
60a653f1 | 18875 | |
048addec JD |
18876 | * category.c (describe_category, describe_category_1) |
18877 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
18878 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 18879 | |
048addec | 18880 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18881 | |
048addec | 18882 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 18883 | |
048addec JD |
18884 | * Makefile.in (lispdir): New variable, referring to build dir. |
18885 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 18886 | |
048addec | 18887 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 18888 | |
048addec JD |
18889 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
18890 | OWNER. | |
60a653f1 | 18891 | |
048addec | 18892 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 18893 | |
048addec JD |
18894 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
18895 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
18896 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
18897 | conditionally. | |
f63fd14e | 18898 | (w32_menu_display_help): New argument OWNER. Rewritten to store a |
048addec | 18899 | help event in the owner frame's keyboard buffer. |
60a653f1 | 18900 | |
048addec JD |
18901 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
18902 | (Fx_show_tip): Don't subtract last width from row width. | |
18903 | ||
18904 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
18905 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 18906 | |
048addec | 18907 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 18908 | |
048addec JD |
18909 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
18910 | OVERLAPS_P. | |
60a653f1 | 18911 | |
048addec | 18912 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 18913 | |
048addec JD |
18914 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
18915 | `gcpro3' and `gcpro4'. | |
60a653f1 | 18916 | |
048addec | 18917 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 18918 | |
048addec | 18919 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18920 | |
048addec | 18921 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 18922 | |
048addec | 18923 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18924 | |
048addec JD |
18925 | * lisp.h (run_hook_list_with_args): Remove. |
18926 | (LIST_END_P): Fix call to wrong_type_argument. | |
18927 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 18928 | |
048addec | 18929 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18930 | |
048addec JD |
18931 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
18932 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 18933 | |
048addec JD |
18934 | * eval.c: Use AREF and ASIZE. |
18935 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 18936 | |
048addec JD |
18937 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
18938 | which match the end of the file-name. | |
18939 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
18940 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 18941 | |
048addec JD |
18942 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
18943 | Make nil bindings in char-tables transparent. | |
18944 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 18945 | |
048addec | 18946 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18947 | |
048addec JD |
18948 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
18949 | Do nothing if range is empty. | |
60a653f1 | 18950 | |
048addec | 18951 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 18952 | |
048addec JD |
18953 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
18954 | (clean): Not here. | |
60a653f1 | 18955 | |
048addec | 18956 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18957 | |
048addec JD |
18958 | * textprop.c (set_text_properties_1): Clearly mark that the |
18959 | interval should not be empty. | |
60a653f1 | 18960 | |
048addec JD |
18961 | * intervals.c (graft_intervals_into_buffer): |
18962 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 18963 | |
048addec | 18964 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18965 | |
048addec | 18966 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 18967 | |
048addec JD |
18968 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
18969 | don't lose the data in it. | |
60a653f1 | 18970 | |
048addec | 18971 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 18972 | |
048addec | 18973 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 18974 | |
c62aec78 | 18975 | * buffer.c (Fkill_buffer): Likewise. |
60a653f1 | 18976 | |
c62aec78 | 18977 | * print.c (temp_output_buffer_setup): Likewise. |
60a653f1 | 18978 | |
048addec | 18979 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 18980 | |
048addec | 18981 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 18982 | |
048addec | 18983 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 18984 | |
048addec JD |
18985 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
18986 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 18987 | |
048addec | 18988 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 18989 | |
048addec | 18990 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 18991 | |
048addec JD |
18992 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
18993 | (Fx_show_tip): Block input during frame creation. | |
18994 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 18995 | |
048addec | 18996 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 18997 | |
048addec JD |
18998 | * lread.c (Fload): Detect recursive load error for more than 3 |
18999 | nestings of the same file. | |
19000 | (Vrecursive_load_depth_limit): Variable deleted. | |
19001 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 19002 | |
048addec | 19003 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 19004 | |
048addec JD |
19005 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
19006 | mouse position if either left or top is not specified. | |
60a653f1 | 19007 | |
048addec JD |
19008 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
19009 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
19010 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
19011 | (my_create_tip_window): Assign tip_window. | |
19012 | (x_create_tip_frame): Use same defaults as X. | |
19013 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
f63fd14e | 19014 | (Fx_show_tip): Do not double height. Call ShowWindow directly. |
60a653f1 | 19015 | |
048addec JD |
19016 | * w32term.c (x_after_update_window_line): Doc fix. |
19017 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
19018 | frames. | |
19019 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 19020 | |
048addec JD |
19021 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
19022 | for all Windowed systems. | |
60a653f1 | 19023 | |
048addec | 19024 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 19025 | |
048addec JD |
19026 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
19027 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 19028 | |
048addec | 19029 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 19030 | |
048addec JD |
19031 | * textprop.c (Fset_text_properties): Remove unused variables |
19032 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 19033 | |
048addec JD |
19034 | * search.c (Freplace_match): Remove unused variable `inslen'. |
19035 | ||
19036 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
19037 | ||
19038 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
19039 | ||
19040 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
19041 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
19042 | (my_create_tip_window): New function. | |
19043 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
19044 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
19045 | ||
19046 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
19047 | ||
19048 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
19049 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
19050 | ||
19051 | * w32fns.c (Vw32_system_coding_system): Remove. | |
19052 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
19053 | ||
19054 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
19055 | ||
19056 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
19057 | after build_annotations. | |
19058 | ||
19059 | * syntax.c (describe_syntax): Add dummy arg. | |
19060 | (describe_syntax_1): Update call to describe_vector. | |
19061 | ||
19062 | * category.c (describe_category): Add dummy arg. | |
19063 | (describe_category_1): Update call to describe_vector. | |
19064 | ||
19065 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
19066 | (describe_command, describe_translation): Add dummy second param. | |
19067 | (describe_map): Call elt_describer with two arguments. | |
19068 | (describe_vector_princ): Add `fun' parameter. | |
19069 | Call it instead of the hardcoded `princ'. | |
19070 | (describe_vector): Add arg `args'. | |
19071 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 19072 | |
048addec | 19073 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 19074 | |
048addec JD |
19075 | * frame.c: Don't include keymap.h any more. |
19076 | (keys_of_frame): Remove. | |
60a653f1 | 19077 | |
048addec | 19078 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 19079 | |
048addec | 19080 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 19081 | |
048addec | 19082 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 19083 | |
048addec JD |
19084 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
19085 | if defined, 0 otherwise. | |
19086 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
19087 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 19088 | |
048addec | 19089 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 19090 | |
048addec | 19091 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 19092 | |
048addec | 19093 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 19094 | |
048addec JD |
19095 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
19096 | (x_draw_bar_cursor): If the background color of the glyph under | |
19097 | the cursor equals the frame's cursor color, use the glyph's | |
19098 | foreground color for drawing the bar cursor. | |
19099 | (x_after_update_window_line): Clear internal border in different | |
19100 | circumstances. | |
19101 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
19102 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
19103 | (x_set_glyph_string_background_width): | |
19104 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
19105 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
19106 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
19107 | if cursor_in_non_selected_windows is false. | |
19108 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
19109 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
19110 | Notice if cursor gets overwritten. | |
19111 | (notice_overwritten_cursor): Renamed from | |
19112 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
19113 | into account, and to take X positions as parameters. | |
19114 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
19115 | around call to x_draw_glyphs. | |
19116 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
19117 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
19118 | color to use for image glyph reliefs. | |
19119 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
19120 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 19121 | |
048addec JD |
19122 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
19123 | some items. | |
19124 | (x_set_internal_border_width): Set frame garbaged when window | |
19125 | doesn't exist yet. | |
19126 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
19127 | (x_clear_image_1, four_corners_best, image_background) | |
19128 | (image_background_transparent): New functions. | |
19129 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
19130 | (gs_format): Add `:background' entry. | |
19131 | (lookup_image): Set IMG's background color if specified. | |
19132 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
19133 | when appropriate. | |
19134 | (x_clear_image_1): Reset `background_valid' and | |
19135 | `background_transparent_valid' fields. | |
19136 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
19137 | calculating it here. Set IMG's background_transparent field. | |
19138 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
19139 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
19140 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
19141 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
19142 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
19143 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
19144 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
19145 | Pre-calculate image background color where necessary. | |
19146 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
19147 | Use display info's n_cbits entry for screen depth. | |
19148 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
19149 | `left', `max_width' and `max_height'. | |
60a653f1 | 19150 | |
048addec | 19151 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 19152 | |
048addec | 19153 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 19154 | |
048addec | 19155 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 19156 | |
048addec | 19157 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 19158 | |
048addec | 19159 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 19160 | |
048addec | 19161 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 19162 | |
048addec JD |
19163 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
19164 | (message_dolog_marker3): New static variables hold three markers. | |
19165 | (syms_of_xdisp): Initialize and staticpro them. | |
19166 | (message_dolog): Use message_dolog_marker1..3 instead of | |
19167 | allocating markers each time. Unchain them when done. | |
60a653f1 | 19168 | |
048addec | 19169 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 19170 | |
048addec | 19171 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 19172 | |
048addec | 19173 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 19174 | |
048addec | 19175 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 19176 | |
048addec | 19177 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 19178 | |
048addec | 19179 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 19180 | |
048addec | 19181 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 19182 | |
048addec | 19183 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 19184 | |
048addec | 19185 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 19186 | |
048addec JD |
19187 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
19188 | with invalid position. | |
60a653f1 | 19189 | |
048addec | 19190 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 19191 | |
048addec | 19192 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 19193 | |
048addec JD |
19194 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
19195 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
19196 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 19197 | |
048addec | 19198 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 19199 | |
048addec | 19200 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 19201 | |
048addec JD |
19202 | * fileio.c (build_annotations): Split off the tail. |
19203 | (build_annotations_2): New fun. Extracted from build_annotations. | |
19204 | (Fwrite_region): Split the call to build_annotations into two | |
19205 | calls to build_annotations and build_annotations_2. | |
077907d4 | 19206 | |
048addec | 19207 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 19208 | |
048addec JD |
19209 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
19210 | clear_waiting_for_input with argument. | |
1756e2fb | 19211 | |
048addec | 19212 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 19213 | |
048addec | 19214 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 19215 | |
048addec | 19216 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 19217 | |
048addec | 19218 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 19219 | |
048addec | 19220 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 19221 | |
048addec JD |
19222 | * fileio.c (choose_write_coding_system): New fun, extracted |
19223 | from Fwrite_region. | |
19224 | (Fwrite_region): Use it. | |
fa336b91 | 19225 | |
048addec JD |
19226 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
19227 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
19228 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 19229 | |
048addec | 19230 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 19231 | |
048addec | 19232 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 19233 | |
048addec JD |
19234 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
19235 | Required for ISC 4.1. | |
fa336b91 | 19236 | |
048addec | 19237 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 19238 | |
52eb0373 | 19239 | * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
048addec | 19240 | Andrew Wiseman <a.wiseman@btclick.com>. |
fa336b91 | 19241 | |
048addec | 19242 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 19243 | |
048addec JD |
19244 | The following changes are made to clean up the various internal |
19245 | references to the fringes to actually use the term `fringe' for | |
19246 | them. Previously, they were called `flags areas', `bitmap areas', | |
19247 | `left/right side of windows', or implicitly as `flags' or | |
19248 | `bitmaps': | |
fa336b91 | 19249 | |
048addec | 19250 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
f63fd14e | 19251 | Comments fixed. Use renamed symbols. |
06e8f738 | 19252 | |
f63fd14e | 19253 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 19254 | |
048addec JD |
19255 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
19256 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
19257 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 19258 | |
048addec | 19259 | * msdos.c: Comment fix. |
9ce647f4 | 19260 | |
048addec | 19261 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 19262 | |
f63fd14e | 19263 | * w32term.c: Comment fixes. Use renamed symbols. |
048addec JD |
19264 | (fringe_bitmap_type): Renamed from bitmap_type. |
19265 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
19266 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
19267 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 19268 | |
f63fd14e | 19269 | * w32term.h: Comment fixes. Use renamed symbols. |
048addec JD |
19270 | (fringes_extra): Renamed from flags_areas_extra. |
19271 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
19272 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
19273 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
19274 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
19275 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
19276 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
19277 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
19278 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 19279 | |
048addec | 19280 | * widget.c: Use renamed symbols. |
9f7e52b4 | 19281 | |
f63fd14e | 19282 | * window.c: Comment fixes. Use renamed symbols. |
048addec | 19283 | (coordinates-in-window-p): Doc fix. |
fa336b91 | 19284 | |
f63fd14e | 19285 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 19286 | |
048addec | 19287 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 19288 | |
048addec | 19289 | * xfns.c: Use renamed symbols. |
89512fcd | 19290 | |
f63fd14e | 19291 | * xterm.c: Comment fixes. Use renamed symbols. |
048addec JD |
19292 | (fringe_bitmap_type): Renamed from bitmap_type. |
19293 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
19294 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
19295 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 19296 | |
f63fd14e | 19297 | * xterm.h: Comment fixes. Use renamed symbols. |
048addec JD |
19298 | (fringes_extra): Renamed from flags_areas_extra. |
19299 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
19300 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
19301 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
19302 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
19303 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
19304 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
19305 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
19306 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
19307 | ||
19308 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
19309 | ||
19310 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
19311 | work for most menu items. From David Ponce | |
19312 | <david.ponce@wanadoo.fr>. | |
19313 | ||
19314 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
19315 | ||
19316 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
19317 | Some x_set_* function expect to be called even if old and new | |
19318 | value are equal. | |
19319 | ||
19320 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
19321 | tool_bar_button_relief. | |
19322 | ||
19323 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
19324 | ||
19325 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
19326 | ||
19327 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
19328 | glyph under the cursor equals the frame's cursor color, use | |
19329 | the glyph's foreground color for drawing the bar cursor. | |
19330 | ||
19331 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
19332 | position comparison. | |
7d18891d | 19333 | |
048addec | 19334 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 19335 | |
048addec JD |
19336 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
19337 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
19338 | Update arguments to find_field. | |
19339 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
19340 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
19341 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
19342 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 19343 | |
048addec | 19344 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 19345 | |
048addec | 19346 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 19347 | |
048addec JD |
19348 | * dispextern.h (image_background, image_background_transparent): |
19349 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 19350 | |
048addec | 19351 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 19352 | |
048addec | 19353 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 19354 | |
048addec | 19355 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 19356 | |
048addec | 19357 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 19358 | |
048addec | 19359 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 19360 | |
048addec | 19361 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 19362 | |
048addec | 19363 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 19364 | |
048addec | 19365 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 19366 | |
048addec | 19367 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 19368 | |
048addec | 19369 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 19370 | |
048addec | 19371 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 19372 | |
048addec | 19373 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 19374 | |
048addec | 19375 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 19376 | |
048addec | 19377 | * print.c (prin1, print): Doc fix. |
e3059a5d | 19378 | |
048addec | 19379 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 19380 | |
048addec JD |
19381 | * fontset.h: Remove declarations of variables |
19382 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 19383 | |
048addec JD |
19384 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
19385 | `Vclip_large_size_font'. | |
eae936e2 | 19386 | |
048addec | 19387 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 19388 | |
048addec | 19389 | * w32fns.c: Doc fix. |
ddb67bdc | 19390 | |
048addec | 19391 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 19392 | |
048addec | 19393 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 19394 | |
048addec | 19395 | * fns.c: Doc fix. |
6e1b91d7 | 19396 | |
048addec | 19397 | * emacs.c: Doc fix. |
1c1d3d69 | 19398 | |
048addec | 19399 | * coding.c: Doc fix. |
1c1d3d69 | 19400 | |
048addec JD |
19401 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
19402 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
19403 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 19404 | |
048addec | 19405 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 19406 | |
048addec JD |
19407 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
19408 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
19409 | (x_display_and_set_cursor): Do display hollow cursors in active | |
19410 | minibuffer windows when they are not selected. | |
b6f4c7ba | 19411 | |
048addec | 19412 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 19413 | |
048addec | 19414 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
f63fd14e JB |
19415 | * w32term.c: Change doc-string comments to `new style' |
19416 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 19417 | |
048addec JD |
19418 | * w32fns.c: Don't define max. |
19419 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 19420 | |
048addec | 19421 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 19422 | |
048addec JD |
19423 | * ccl.c: Change macros to use do-while block instead of if-else. |
19424 | Use braces to follow GNU Coding Standards. | |
eafb659a | 19425 | |
048addec | 19426 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 19427 | |
048addec | 19428 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 19429 | |
048addec | 19430 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 19431 | |
048addec JD |
19432 | * insdel.c (replace_range): Use adjust_markers_for_replace |
19433 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 19434 | |
78819ebb | 19435 | * intervals.h (set_text_properties, set_text_properties_1): Declare. |
a4cd0cd7 | 19436 | |
048addec JD |
19437 | * textprop.c (set_text_properties_1): New subroutine |
19438 | broken out of set_text_properties. | |
19439 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 19440 | |
048addec JD |
19441 | * intervals.c (graft_intervals_into_buffer): |
19442 | Use set_text_properties_1 to clear out properties. | |
91823618 | 19443 | |
048addec JD |
19444 | * search.c (Freplace_match): Use replace_range to insert |
19445 | and delete. Don't request property inheritance from | |
19446 | surrounding text. | |
86928dfb | 19447 | |
048addec | 19448 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 19449 | |
048addec | 19450 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
f63fd14e | 19451 | vertical fonts. Allow them if face name is explicitly specified. |
048addec | 19452 | Do not give up if we find a font that cannot be converted to an xlfd. |
40ef1eda | 19453 | |
048addec | 19454 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 19455 | |
048addec JD |
19456 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
19457 | instead of malloc/free. | |
a78e0303 | 19458 | |
048addec | 19459 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 19460 | |
048addec JD |
19461 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
19462 | Coding Standards. | |
19463 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 19464 | |
048addec | 19465 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 19466 | |
048addec | 19467 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 19468 | |
048addec JD |
19469 | * coding.c (encode_coding): Use precomputed value of `src'. |
19470 | (encode_coding): Remove unused variable `src_end'. | |
19471 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 19472 | |
048addec | 19473 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 19474 | |
048addec JD |
19475 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
19476 | if cursor_glyph is NULL. | |
55c6d645 | 19477 | |
048addec | 19478 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 19479 | |
048addec | 19480 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 19481 | |
048addec | 19482 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 19483 | |
048addec | 19484 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 19485 | |
048addec | 19486 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 19487 | |
048addec JD |
19488 | * intervals.c (graft_intervals_into_buffer): |
19489 | Remove #ifdef'd-out code. | |
19490 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 19491 | |
048addec JD |
19492 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
19493 | code (eval-current-buffer). | |
19494 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 19495 | |
048addec | 19496 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 19497 | |
048addec | 19498 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 19499 | |
048addec | 19500 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 19501 | |
048addec | 19502 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 19503 | |
048addec JD |
19504 | * keyboard.c (make_lispy_event): Check integerness and fix |
19505 | Lisp_Object/int mixup. | |
17893c65 | 19506 | |
048addec | 19507 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 19508 | |
048addec | 19509 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 19510 | |
048addec JD |
19511 | * fontset.c (fontset_font_pattern): Remove unused variable |
19512 | `family_registry'. | |
d5360cc7 | 19513 | |
048addec | 19514 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 19515 | |
048addec | 19516 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 19517 | |
048addec | 19518 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 19519 | |
048addec JD |
19520 | * buffer.c (Fkill_buffer): Don't delete auto save file |
19521 | if buffer is modified. | |
d9d54213 | 19522 | |
048addec | 19523 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 19524 | |
048addec JD |
19525 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
19526 | CHECK_NUMBER_CDR. | |
b116830b | 19527 | |
048addec | 19528 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 19529 | |
048addec | 19530 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 19531 | |
048addec | 19532 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 19533 | |
048addec | 19534 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 19535 | |
048addec | 19536 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 19537 | |
048addec | 19538 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 19539 | |
048addec | 19540 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 19541 | |
048addec JD |
19542 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
19543 | the program image directly. | |
982f6c7e | 19544 | |
048addec | 19545 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 19546 | |
048addec | 19547 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 19548 | |
048addec | 19549 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 19550 | |
048addec JD |
19551 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
19552 | and CHECK_BUFFER. | |
d31053f9 | 19553 | |
048addec JD |
19554 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
19555 | (record_char): Likewise. | |
d31053f9 | 19556 | |
048addec JD |
19557 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
19558 | move to a different buffer position. Instead, check for moving at | |
19559 | least double_click_fuzz. | |
982f6c7e | 19560 | |
048addec | 19561 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 19562 | |
048addec | 19563 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 19564 | |
048addec JD |
19565 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
19566 | for display-table glyphs from the code for buffer text, to fix | |
19567 | bugs in the former. | |
830047fd | 19568 | |
048addec | 19569 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 19570 | |
048addec JD |
19571 | * buffer.c (Fbuffer_local_value): New function. |
19572 | (syms_of_buffer): Defsubr it. | |
2df5238c | 19573 | |
048addec JD |
19574 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
19575 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 19576 | |
048addec JD |
19577 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
19578 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
19579 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 19580 | |
048addec | 19581 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 19582 | |
048addec | 19583 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 19584 | |
048addec JD |
19585 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
19586 | keyword]. | |
3ecaf7e5 | 19587 | |
048addec JD |
19588 | * eval.c (top_level_value, top_level_set): Remove commented and |
19589 | #ifdef'd-out code. | |
19590 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 19591 | |
048addec | 19592 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 19593 | |
048addec | 19594 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 19595 | |
048addec | 19596 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 19597 | |
048addec | 19598 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 19599 | |
048addec | 19600 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 19601 | |
048addec JD |
19602 | * lisp.h (CHECK_STRING_CAR): New macro. |
19603 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
19604 | treating XCAR and XCDR as lvalues. | |
19605 | (openp): Use CHECK_STRING_CAR. | |
19606 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 19607 | |
048addec | 19608 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 19609 | |
048addec JD |
19610 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
19611 | (SIGMASKTYPE): Define. | |
1b1acc13 | 19612 | |
048addec | 19613 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 19614 | |
048addec | 19615 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 19616 | |
048addec JD |
19617 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
19618 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
19619 | Fix typos in comments. | |
6cb16f95 | 19620 | |
048addec JD |
19621 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
19622 | and #ifdef'd-out code. | |
19623 | Fix and reindent comments. | |
6cb16f95 | 19624 | |
048addec | 19625 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 19626 | |
048addec JD |
19627 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
19628 | argument `i' in macros. | |
6cb16f95 | 19629 | |
048addec JD |
19630 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
19631 | `i' in macros. | |
7e9d3c2f | 19632 | |
048addec JD |
19633 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
19634 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
19635 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
19636 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
19637 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
19638 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
19639 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
19640 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
19641 | in macros. | |
7e9d3c2f | 19642 | |
048addec JD |
19643 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
19644 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
19645 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
19646 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
19647 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
19648 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
19649 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
19650 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
19651 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
19652 | (remove unused second argument). | |
7e9d3c2f | 19653 | |
048addec | 19654 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 19655 | |
048addec JD |
19656 | * syntax.c (describe_syntax): New wrapper. |
19657 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
19658 | Don't insert space at front and \n at the end. | |
19659 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 19660 | |
048addec JD |
19661 | * regex.c (re_wctype): Try to fix some warnings. |
19662 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 19663 | |
048addec | 19664 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 19665 | |
048addec | 19666 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 19667 | |
048addec | 19668 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 19669 | |
048addec | 19670 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 19671 | |
048addec | 19672 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 19673 | |
048addec | 19674 | * callint.c (Finteractive): Ditto. |
9271ed2c | 19675 | |
048addec | 19676 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 19677 | |
048addec JD |
19678 | * macros.c: Don't include keymap.h any more. |
19679 | ||
19680 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
19681 | ||
19682 | * data.c (Fmake_local_variable): Doc fix. | |
19683 | ||
19684 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
19685 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 19686 | |
048addec | 19687 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
19688 | bindings along with or instead of the buffer local map. |
19689 | Make the overriding maps override what they should. | |
19690 | ||
f00691a3 | 19691 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
19692 | |
19693 | * window.c (grow_mini_window): Fix typo in comment. | |
19694 | ||
27188d11 GM |
19695 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
19696 | ||
7b49b9d2 GM |
19697 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
19698 | (XTset_vertical_scroll_bar): Likewise. | |
19699 | ||
43f7c3ea GM |
19700 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
19701 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 19702 | |
b350c2e5 GM |
19703 | * xfns.c (four_corners_best): Reindent. |
19704 | ||
c22e59e1 | 19705 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
19706 | Handle :box so that it is possible to specify sexprs. |
19707 | ||
bf00d461 EZ |
19708 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
19709 | ||
19710 | * s/hpux11.h: New file. | |
19711 | ||
f00691a3 | 19712 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 19713 | |
2b209b97 PJ |
19714 | * emacs.c (USAGE1): Show command line option --no-window-system |
19715 | instead of --no-windows in usage. | |
19716 | (standard_args): Rename --no-windows to --no-window-system. | |
19717 | (bug_reporting_address): Follow Emacs coding conventions. | |
19718 | ||
9dbc9081 PJ |
19719 | * eval.c (Fcommandp): Doc fix. |
19720 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
19721 | ||
4e10df59 PJ |
19722 | * frame.c (Fframe_live_p): Doc fix. |
19723 | ||
19724 | * buffer.c (selective-display-ellipses): Doc fix. | |
19725 | ||
dd387b25 GM |
19726 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
19727 | ||
fe957e65 GM |
19728 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
19729 | ||
dd387b25 GM |
19730 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
19731 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
19732 | members which have a different meaning. | |
19733 | (free_face_colors): Do nothing for a face whose colors have been | |
19734 | copied bitwise. | |
19735 | ||
c22e59e1 | 19736 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 19737 | |
f00691a3 | 19738 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 19739 | |
687784e8 PJ |
19740 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
19741 | [w/`doc:' keyword]. | |
2e1280f8 | 19742 | |
b9d9a9b9 GM |
19743 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
19744 | ||
19745 | * fns.c (require_unwind): Return Lisp_Object. | |
19746 | ||
f00691a3 | 19747 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 19748 | |
fa1361cb PJ |
19749 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
19750 | (last-input-char): Revert doc-string to be the same as the | |
19751 | doc-string of `last-input-event'. | |
19752 | ||
6c465a15 | 19753 | * xdisp.c: Fix typos in comments. |
48400103 | 19754 | |
eafa3196 GM |
19755 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
19756 | ||
19757 | * window.c (grow_mini_window): Handle case that the root | |
19758 | window is already smaller than the nominal mininum height. | |
19759 | ||
747d3f2a SM |
19760 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
19761 | ||
bf9bb76f SM |
19762 | * emacs.c (main): Don't call keys_of_macros any more. |
19763 | ||
19764 | * lisp.h (keys_of_macros): Remove. | |
19765 | ||
19766 | * macros.c (keys_of_macros): Remove. | |
19767 | ||
747d3f2a SM |
19768 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
19769 | ||
5e905a57 JR |
19770 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
19771 | ||
19772 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
19773 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
19774 | ||
3a426197 RS |
19775 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
19776 | ||
19777 | * keyboard.c (Finput_pending_p): Doc fix. | |
19778 | ||
a742d646 GM |
19779 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
19780 | ||
259cf6bc GM |
19781 | * xterm.c (x_after_update_window_line): Don't run the code |
19782 | clearing in borders for rows whose visible height is 0. | |
19783 | ||
3f99f948 GM |
19784 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
19785 | resized_p flag is set. If not set, use the much less flickering | |
19786 | method previously used. | |
19787 | ||
19788 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
19789 | ||
19790 | * frame.h (struct frame) <resized_p>: New member. | |
19791 | ||
b4a3be43 GM |
19792 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
19793 | as large as the number of bytes to convert. | |
747d3f2a | 19794 | |
a742d646 GM |
19795 | * lread.c (to_multibyte): New function. |
19796 | (read1): Use it. | |
19797 | ||
cacbb9e9 EZ |
19798 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
19799 | ||
19800 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
19801 | ||
99cb6b2f GM |
19802 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
19803 | ||
327f42ee | 19804 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
19805 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
19806 | if the row's fill_line_p is set and drawing the last glyph with | |
19807 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 19808 | |
99cb6b2f GM |
19809 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
19810 | ||
8e8223e2 SM |
19811 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
19812 | ||
19813 | * xmenu.c: Include coding.h and charset.h. | |
19814 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
19815 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
19816 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
19817 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
19818 | (menu_help_callback): Use empty_string. | |
19819 | ||
19820 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
19821 | (Fx_popup_dialog): Explicitly init f. | |
19822 | (w32_menu_display_help): Use empty_string. | |
19823 | ||
4d083a8f RS |
19824 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
19825 | ||
b2304472 RS |
19826 | * fns.c (Frequire): Detect recursive try to require the same |
19827 | feature 3 or more levels deep, and get error. | |
19828 | (require_unwind): New subroutine. | |
19829 | (require_nesting_list): New variable. | |
19830 | (syms_of_fns): Init and staticpro it. | |
19831 | ||
4d083a8f RS |
19832 | * print.c (print_object): Clarify indication of insertion type. |
19833 | ||
2fe41216 EZ |
19834 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
19835 | ||
90480000 EZ |
19836 | * coding.c (syms_of_coding): Document that locale-coding-system is |
19837 | used for decoding input on X. | |
19838 | ||
2fe41216 EZ |
19839 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
19840 | ||
f00691a3 | 19841 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
19842 | |
19843 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
19844 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
19845 | ||
60ebcfe8 GM |
19846 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
19847 | ||
9a7bdceb GM |
19848 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
19849 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
19850 | ||
3f08fcd2 GM |
19851 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
19852 | the slant attribute if FRAME is t. | |
19853 | ||
0ccfdad2 GM |
19854 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
19855 | when X window doesn't exist yet. | |
19856 | ||
ef253080 GM |
19857 | * xterm.c (x_after_update_window_line): Clear internal border |
19858 | in different circumstances. | |
b116830b | 19859 | |
60ebcfe8 GM |
19860 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
19861 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
19862 | <handa@etl.go.jp>. | |
19863 | ||
73d25f9c EZ |
19864 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
19865 | ||
19866 | * m/ibms390.h: New file. From Adam Thornton | |
19867 | <athornton@sinenomine.net>. | |
19868 | ||
cac1daf0 GM |
19869 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
19870 | ||
053b3256 | 19871 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 19872 | |
cac1daf0 GM |
19873 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
19874 | a loop counter. | |
19875 | ||
f00691a3 | 19876 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 19877 | |
f9711de4 | 19878 | * emacs.c: Use argv[0] instead of "emacs" when -t was specified. |
186486eb | 19879 | |
4707d2d0 PJ |
19880 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
19881 | keyword]. | |
19882 | Fix typos in comments. | |
b116830b | 19883 | |
d883731c PJ |
19884 | * emacs.c (bug_reporting_address): New function. |
19885 | Use it when displaying usage message. | |
19886 | ||
04012254 PJ |
19887 | * minibuf.c (read_minibuf): Remove unused external declaration of |
19888 | variable `Qread_only'. | |
19889 | ||
13b1a09c PJ |
19890 | * keymap.c (access_keymap): Remove unused variable `charset'. |
19891 | ||
5bbf4378 MB |
19892 | 2001-10-28 Miles Bader <miles@gnu.org> |
19893 | ||
19894 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
19895 | Remove #ifdef'd-out code. | |
19896 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
19897 | (syms_of_xfaces): Initialize them. | |
19898 | ||
1ce1e4ee JR |
19899 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
19900 | ||
19901 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
19902 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
19903 | position using the system caret. | |
19904 | ||
19905 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
19906 | (w32_system_caret_height, w32_system_caret_x) | |
19907 | (w32_system_caret_y): New variables for tracking system caret. | |
19908 | (w32_initialize): Initialize them. | |
c2d53558 | 19909 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 19910 | |
c2d53558 SM |
19911 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
19912 | New messages types. | |
1ce1e4ee JR |
19913 | |
19914 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
19915 | ||
f00691a3 | 19916 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 19917 | |
bb4600a4 PJ |
19918 | * xterm.c: Fix typo in a comment. |
19919 | ||
7db35a48 PJ |
19920 | * emacs.c: Fix typos in comments. |
19921 | Remove unnecessary spaces. | |
19922 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
19923 | (USAGE2): Fix typos in usage string. | |
19924 | ||
a7248e4f PJ |
19925 | * xterm.c: Fix typo in a comment. |
19926 | ||
52eb0373 | 19927 | * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in |
4e30ce42 PJ |
19928 | emacs.c. |
19929 | ||
62725a92 GM |
19930 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
19931 | ||
798dbe1f | 19932 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 19933 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
19934 | farther backward when target_y was not reached. |
19935 | ||
62725a92 GM |
19936 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
19937 | Display errno only if non-zero. | |
19938 | (sound_warning): New function. | |
19939 | (vox_configure): Don't treat failing to set sample rate as error. | |
19940 | (various places): Improve error messages. | |
19941 | ||
d4e34d24 EZ |
19942 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
19943 | ||
944e6f60 EZ |
19944 | * fileio.c (Faccess_file): Run the argument filename through |
19945 | Fexpand_file_name, before using it. | |
19946 | ||
d4e34d24 EZ |
19947 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
19948 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
19949 | ||
38d2af0c GM |
19950 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
19951 | ||
da80a8d5 GM |
19952 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
19953 | ||
38d2af0c GM |
19954 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
19955 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 19956 | |
45de4a6f | 19957 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
19958 | |
19959 | * w32gui.h (XImage): Add a dummy typedef. | |
19960 | ||
fbd5ceb2 GM |
19961 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
19962 | ||
c2d53558 | 19963 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 19964 | |
b23236fb EZ |
19965 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
19966 | ||
19967 | * frame.c (Fframe_parameter): Fix last change. | |
19968 | ||
5d991fc4 EZ |
19969 | * fileio.c: Revert last change (which removed old commented-out |
19970 | version of expand-file-name). Add a comment that explains why | |
19971 | this old version should not be removed. | |
19972 | ||
879eadc3 GM |
19973 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
19974 | ||
75700ff2 GM |
19975 | * frame.c (Fframe_parameter): Fix a bug whereby some |
19976 | ``artificial'' frame parameters, like `minibuffer' were not | |
19977 | obtained by calling Fframe_parameters. | |
19978 | ||
dfe92a6a GM |
19979 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
19980 | cursor differently. | |
19981 | ||
879eadc3 GM |
19982 | * xdisp.c (move_it_vertically_backward): Compute line height |
19983 | differently. Add heuristic to try to be more compatible to 20.x. | |
19984 | ||
e1010ebe SM |
19985 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
19986 | ||
d73a471b SM |
19987 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
19988 | ||
d6da5a06 GM |
19989 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
19990 | boolean. | |
e1010ebe | 19991 | |
f66bd220 MB |
19992 | 2001-10-25 Miles Bader <miles@gnu.org> |
19993 | ||
19994 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
19995 | BG is a pointer to a structure, not a structure. | |
19996 | (gif_format, png_format): Add missing commas. | |
19997 | ||
d436d538 RS |
19998 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
19999 | ||
20000 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 20001 | (syms_of_xfaces): Defsubr it. |
d436d538 | 20002 | |
f00691a3 | 20003 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
20004 | |
20005 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
20006 | variable `area'. | |
20007 | ||
f00691a3 | 20008 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 20009 | |
c2d53558 | 20010 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 20011 | |
e2a57b34 MB |
20012 | 2001-10-25 Miles Bader <miles@gnu.org> |
20013 | ||
20014 | * dispextern.h (struct image): Add `background', | |
20015 | `background_valid', and `background_transparent' fields. | |
20016 | (image_background, image_background_transparent): New declarations. | |
20017 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
20018 | * xfns.c (image_background, image_background_transparent) | |
20019 | (four_corners_best): New functions. | |
c2d53558 | 20020 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
20021 | (gs_format): Add `:background' entry. |
20022 | (lookup_image): Set IMG's background color if specified. | |
20023 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
20024 | when appropriate. | |
20025 | (x_clear_image_1): Reset `background_valid' and | |
20026 | `background_transparent_valid' fields. | |
20027 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
20028 | calculating it here. Set IMG's background_transparent field. | |
20029 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
20030 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
20031 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
20032 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
20033 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
20034 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 20035 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
20036 | Pre-calculate image background color where necessary. |
20037 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
20038 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
20039 | color to use for image glyph reliefs. | |
20040 | ||
b547b6e8 GM |
20041 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
20042 | ||
d9e3b8c6 GM |
20043 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
20044 | in full-width rows. | |
c2d53558 | 20045 | |
b547b6e8 GM |
20046 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
20047 | Fix clearing of area not covered by scroll bar. | |
20048 | ||
f00691a3 | 20049 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 | 20050 | |
52eb0373 | 20051 | * xterm.c (x_insert_glyphs): Remove unused variables `real_end' |
2beb36f9 | 20052 | and `real_start'. |
c2d53558 | 20053 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
20054 | (glyph_rect): Remove unused variable `area'. |
20055 | ||
76cb5e06 GM |
20056 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
20057 | ||
bdbdebff | 20058 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
20059 | |
20060 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
20061 | (row_containing_pos): Take additional argument DY. | |
20062 | Treat rows ending in middle of char differently. | |
62e33982 GM |
20063 | (display_line): Handle tabs on window systems differently. |
20064 | ||
20065 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
20066 | with additional argument. | |
20067 | ||
20068 | * dispextern.h (row_containing_pos): Adjust prototype. | |
20069 | ||
76cb5e06 GM |
20070 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
20071 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
20072 | (try_window_id, try_window_reusing_current_matrix) | |
20073 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 20074 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 20075 | |
f00691a3 | 20076 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 20077 | |
c9e60620 PJ |
20078 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
20079 | gnuemacs). | |
20080 | (HAVE_BOXES): Fix typo in comment. | |
20081 | (push_menu_pane): Fix typo in comment. | |
20082 | ||
52eb0373 | 20083 | * xdisp.c (display_prop_string_p): Remove unused local declaration |
3b552d56 PJ |
20084 | of `Qwhen'. |
20085 | (single_display_prop_string_p): Remove unused local declarations | |
20086 | of `Qwhen' and `Qmargin'. | |
20087 | (string_buffer_position): Remove unused variable `around'. | |
20088 | (store_frame_title): Remove unused variable `width'. | |
20089 | ||
15c565ac PJ |
20090 | * window.c: Don't define max. |
20091 | (coordinates_in_window): Remove unused variable `uy'. | |
20092 | ||
a8818eb9 PJ |
20093 | * widget.c: Don't define max. |
20094 | ||
996fee11 PJ |
20095 | * process.c: Don't define max. |
20096 | (create_process): Remove unused variable `buffer'. | |
20097 | ||
496e1a5b GM |
20098 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
20099 | ||
c2d53558 | 20100 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 20101 | |
5905ae8b EZ |
20102 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
20103 | ||
20104 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
20105 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
20106 | frame is on a windowed display. | |
20107 | ||
24db49fb GM |
20108 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
20109 | ||
c2d53558 SM |
20110 | * dispnew.c (sync_window_with_frame_matrix_rows): |
20111 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
20112 | of marginal areas. |
20113 | ||
c2d53558 | 20114 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 20115 | |
f0487f05 EZ |
20116 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
20117 | ||
20118 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
20119 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
20120 | ||
f0a48a01 GM |
20121 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
20122 | ||
c2d53558 | 20123 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
20124 | REAL_END. Notice if cursor gets overwritten. |
20125 | (notice_overwritten_cursor): Take X positions as parameters. | |
20126 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
20127 | around call to x_draw_glyphs. | |
20128 | ||
f00691a3 | 20129 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 20130 | |
fc11dff0 PJ |
20131 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
20132 | instead of C) and usage. | |
a50a10a0 | 20133 | |
fc11dff0 PJ |
20134 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
20135 | of C) and usage. | |
a50a10a0 PJ |
20136 | |
20137 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
20138 | `left', `max_width' and `max_height'. | |
20139 | ||
8738febd GM |
20140 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
20141 | ||
20142 | * xdisp.c (display_line): For a tab continued to the next line, | |
20143 | set row's ends_in_middle_of_char_p. | |
20144 | ||
653c329b GM |
20145 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
20146 | ||
20147 | * xdisp.c (display_line): Fix computation of continuation lines | |
20148 | width for TABs. | |
20149 | ||
f00691a3 | 20150 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 20151 | |
7ba51063 PJ |
20152 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
20153 | `Qlaplace'. | |
20154 | ||
f958c5ac PJ |
20155 | * fileio.c: Remove unused code. |
20156 | ||
eb360291 MB |
20157 | 2001-10-22 Miles Bader <miles@gnu.org> |
20158 | ||
20159 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
20160 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
20161 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
20162 | ||
98515cf0 JR |
20163 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
20164 | ||
20165 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
20166 | ||
93026d88 EZ |
20167 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
20168 | ||
20169 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
20170 | (Finsert_string): Avoid the multi-line string literals warning. | |
20171 | ||
c9a95b79 MB |
20172 | 2001-10-22 Miles Bader <miles@gnu.org> |
20173 | ||
20174 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
20175 | (Fdocumentation): Don't use it. | |
20176 | (syms_of_doc): Don't initialize it. | |
20177 | ||
20178 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
20179 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
20180 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 20181 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 20182 | (Fsave_restriction): Likewise. |
c2d53558 SM |
20183 | * eval.c (Frun_hooks, Frun_hook_with_args) |
20184 | (Frun_hook_with_args_until_failure) | |
20185 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
20186 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
20187 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
20188 | (Funwind_protect, Fcondition_case): Likewise. |
20189 | * coding.c (Ffind_operation_coding_system): Likewise. | |
20190 | * keyboard.c (Ftrack_mouse): Likewise. | |
20191 | ||
a3b10252 MB |
20192 | 2001-10-21 Miles Bader <miles@gnu.org> |
20193 | ||
c2d53558 | 20194 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
20195 | (Fmake_hash_table): Add usage: string to doc string. |
20196 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 20197 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
20198 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
20199 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
20200 | (Fml_prefix_argument_loop): Likewise. | |
20201 | ||
f00691a3 | 20202 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 20203 | |
c2d53558 | 20204 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 20205 | |
c6f73eec PJ |
20206 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
20207 | style' [w/`doc:' keyword]. | |
20208 | ||
20209 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
20210 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
20211 | comments to `new style' [w/`doc:' keyword]. | |
20212 | ||
3cf3436e JR |
20213 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
20214 | ||
20215 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
20216 | ||
c169b8f1 JR |
20217 | * w32term.c (remember_mouse_glyph): New function. |
20218 | (w32_mouse_position): Use it. | |
20219 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
20220 | its new position. | |
c2d53558 | 20221 | |
4fdd691b JR |
20222 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
20223 | (w32_display_info): Add mouse_face_overlay. | |
20224 | ||
c169b8f1 JR |
20225 | * w32term.c (notice_overwritten_cursor): Renamed from |
20226 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
20227 | account. | |
20228 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
20229 | (fast_find_string_pos): New function. | |
20230 | (fast_find_position): Return the correct vpos. Add parameter | |
20231 | STOP. In the final row, stop before glyphs having STOP as object. | |
20232 | Don't consider glyphs that are not from a buffer. | |
20233 | (fast_find_position) [0]: Add a presumably more correct version | |
20234 | for after 21.1. | |
20235 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
20236 | (expose_window): Do it here instead. | |
20237 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
20238 | overwriting mouse-face. | |
20239 | (expose_window): If W is the window currently being updated, mark | |
20240 | the frame garbaged. | |
20241 | (expose_frame): If mouse-face was overwritten, redo it. | |
20242 | (x_use_underline_position_properties): New variable. | |
20243 | (syms_of_xterm): DEFVAR_BOOL it. | |
20244 | (x_draw_glyph_string): Add comment to use it in future. | |
20245 | (x_draw_glyph_string): Restore clipping after drawing box. | |
20246 | Fix a computation of the underline position. | |
20247 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
20248 | (x_fill_stretch_glyph_string): Remove an assertion. | |
20249 | (x_produce_glyphs): Don't convert multibyte characters | |
20250 | to unibyte characters in unibyte buffers. | |
20251 | (cursor_in_mouse_face_p): New function. | |
20252 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
20253 | when drawing a cursor within highlighted text. Don't draw | |
20254 | background again if it has already been drawn. | |
20255 | (x_draw_glyph_string_box): Don't draw a full-width | |
20256 | box just because the glyph row's full_width_p flag is set. | |
20257 | (x_draw_glyphs): Fix computation of rightmost x for | |
20258 | full-width rows. | |
20259 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
20260 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
f63fd14e | 20261 | change bottom shadow accordingly. Some cleanup. |
c169b8f1 JR |
20262 | (x_update_window_end): Handle overwritten mouse face |
20263 | also for tool bar windows. | |
20264 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
20265 | DRAW is DRAW_IMAGE_RAISED. | |
20266 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
20267 | actually redrawn. Make the function static. |
20268 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
20269 | optimize away highlighting if we pass over that same overlay again. |
20270 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
20271 | to detect a case where we have to highlight a different region | |
20272 | despite not having left the currently highlighted region. | |
20273 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
20274 | mouse pointer shape when show_mouse_face has already done it, or | |
20275 | there is no need. Handle mouse-face and help-echo in strings. | |
20276 | (glyph_rect): New function. | |
20277 | (w32_mouse_position): Use it to raise the threshold for mouse | |
20278 | movement event generation. | |
20279 | (w32_initialize_display_info): Initialize the x_display_info's | |
20280 | mouse_face_overlay. | |
20281 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
20282 | or width area. | |
20283 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
20284 | a widget to zero height. | |
20285 | ||
3cf3436e | 20286 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 20287 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
20288 | equivalents in menu_items. |
20289 | (w32_menu_show): Don't overwrite an item's name with its key | |
20290 | description in case the description is a multibyte string. | |
20291 | (single_submenu): Some cleanup. | |
20292 | ||
20293 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
20294 | (postprocess_image): New function. | |
20295 | (lookup_image): Call it for all image types except PostScript. | |
20296 | (x_kill_gs_process): Call postprocess_image. | |
20297 | (tiff_error_handler, tiff_warning_handler): New functions. | |
20298 | (tiff_load): Install them as handlers. | |
20299 | (x_kill_gs_process): Recognize if someone has cleared the image | |
20300 | cache under us. | |
20301 | (valid_image_p): Protect better against invalid image | |
20302 | specifications. Previous code could signal an error. | |
20303 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
20304 | (Fv_max_tooltip_size): New variable. | |
20305 | (syns_of_xfns): DEFVAR_LISP it. | |
20306 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
f63fd14e | 20307 | window buffer to *tip* right after creating the frame. Set frame's |
3cf3436e JR |
20308 | window_width. Use a maximum tooltip size specified by |
20309 | Vx_max_tooltip_size, if that has valid contents. | |
20310 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
20311 | Make sure the tooltip is completely visible. | |
20312 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
20313 | (Fx_create_frame): Adjust the frame's height for presence | |
20314 | of the tool bar before calling x_figure_window_size. | |
20315 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
20316 | when the window gets smaller. | |
20317 | (x_set_foreground_color): Set frame's cursor_pixel. | |
20318 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
20319 | (x_set_font): Handle case of x_new_fontset returning the same name | |
20320 | as before, although there was a change in fontsets. | |
20321 | ||
386ca361 MB |
20322 | 2001-10-21 Miles Bader <miles@gnu.org> |
20323 | ||
c2d53558 | 20324 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
20325 | (Flogxor): Add usage: string to doc string. |
20326 | * charset.c (Fstring): Likewise. | |
20327 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
20328 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
20329 | ||
f00691a3 | 20330 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 20331 | |
03be2694 PJ |
20332 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
20333 | ||
20334 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
20335 | ||
20336 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
20337 | ||
14ff1ee0 PJ |
20338 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
20339 | keyword]. | |
20340 | ||
2f147815 | 20341 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
20342 | |
20343 | ;; Local Variables: | |
49b3bd82 | 20344 | ;; coding: iso-2022-7bit |
6922b018 | 20345 | ;; End: |
2a34a036 | 20346 | |
2f147815 | 20347 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
20348 | Copying and distribution of this file, with or without modification, |
20349 | are permitted provided the copyright notice and this notice are preserved. | |
ab5796a9 MB |
20350 | |
20351 | ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 |