Commit | Line | Data |
---|---|---|
3c671a56 SM |
1 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
2 | ||
3 | * xterm.c (take_vertical_position_into_account): Remove. | |
4 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
5 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
6 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
7 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
8 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
9 | (XTread_socket): Remove unused var. | |
10 | (x_make_frame_invisible): Replace goto with else. | |
11 | ||
12 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
13 | (redisplay_window): Use it. | |
14 | ||
84f2e615 RS |
15 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
16 | ||
17 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
18 | update_mode_lines is set. Set w->update_mode_line | |
19 | only if the tool bar contents actually change. | |
20 | (update_menu_bar): Undo previous change. | |
21 | ||
70b6104c JD |
22 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
23 | ||
5fd6f727 JD |
24 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
25 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
26 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
27 | (xg_separator_p): Check for all documented separator types. | |
28 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
29 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
30 | ||
70b6104c JD |
31 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
32 | so tool bar gets updated. | |
33 | ||
d9b36d19 SM |
34 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
35 | ||
36 | * data.c (store_symval_forwarding): Re-instate part of the code | |
37 | that was deleted with too much enthusiasm. | |
38 | ||
39 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
40 | ||
41 | * data.c (store_symval_forwarding): Delete special read-only | |
42 | hack for type == -1, since we now use ->constant instead. | |
43 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
44 | ||
45 | * buffer.c (overlays_in): Declare static. | |
46 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
47 | `constant' field rather than the variable's `type' field. | |
48 | ||
365fa1b3 AC |
49 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
50 | ||
51 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
52 | ||
53 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
54 | ||
55 | * fns.c [MAC_OSX]: Do not redefine vector. | |
56 | ||
57 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
58 | ||
59 | * macgui.h: Remove definition of No_Cursor. | |
60 | ||
d9b36d19 | 61 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
62 | |
63 | * xdisp.c: Define No_Cursor. | |
64 | (x_write_glyphs, notice_overwritten_cursor) | |
65 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
66 | (note_mouse_highlight): Remove Mac-specific code. | |
67 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 68 | |
c0bcce6f JPW |
69 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
70 | ||
71 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
72 | empty, then redisplay it like other windows. | |
73 | ||
a526b96c KS |
74 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
75 | ||
76 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
77 | ||
37ab321e KH |
78 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
79 | ||
a526b96c KS |
80 | * alloc.c (make_string_from_bytes, make_specified_string): |
81 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
82 | |
83 | * lisp.h (make_string_from_bytes, make_specified_string): | |
84 | Prototypes adjusted. | |
85 | ||
7863d625 JD |
86 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
87 | ||
a526b96c | 88 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif |
fd4c9408 | 89 | |
7863d625 JD |
90 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
91 | (XG_SB_RANGE): New define. | |
92 | ||
93 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
94 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
95 | expose events. | |
96 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
97 | of scroll bar including borders. | |
98 | Clear left and right part outside scroll bar separately as some | |
99 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 100 | Don't set reallocate_redraws, don't call |
7863d625 JD |
101 | gdk_window_process_all_updates. |
102 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
103 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
104 | ||
d9b36d19 SM |
105 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
106 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
107 | xg_update_scrollbar_pos. |
108 | ||
af0ad939 TTN |
109 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
110 | ||
111 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
112 | ||
b22139fd KS |
113 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
114 | ||
115 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
116 | Add generic versions here. Remove system specific versions | |
117 | defined elsewhere. | |
118 | ||
119 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
120 | Add prototypes. | |
121 | ||
6e6410cf KS |
122 | * xterm.h (STORE_NATIVE_RECT): New macro. |
123 | ||
5c9cc435 KS |
124 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
125 | ||
00c64fab SM |
126 | * xdisp.c (get_glyph_string_clip_rect): |
127 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
128 | |
129 | * dispextern.h (struct redisplay_interface): Add active_p | |
130 | argument to draw_window_cursor member. All uses changed. | |
131 | ||
acd37560 KS |
132 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
133 | ||
134 | The following changes consolidate code related to writing and | |
135 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
136 | the output cursor, and help echo from xterm.c, w32term.c and | |
137 | macterm.c into xdisp.c. It also generalizes the use of the | |
138 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 139 | |
acd37560 KS |
140 | * xdisp.c: Consolidate gui-independent code here. |
141 | Include keymap.h. | |
142 | (Qhelp_echo): Import. | |
143 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
144 | (help_echo_string, help_echo_window, help_echo_object) | |
145 | (previous_help_echo_string, help_echo_pos): Declare here. | |
146 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
147 | (estimate_mode_line_height): Define here. Handle windowing | |
148 | systems directly (without using estimate_mode_line_height_hook). | |
149 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
150 | (update_window_cursor, update_cursor_in_window_tree) | |
151 | (fast_find_position, fast_find_string_pos) | |
152 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
153 | (expose_area, expose_line, expose_overlaps, expose_window) | |
154 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
155 | declared static as they are only used locally in xdisp.c. | |
156 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
157 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
158 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
159 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 160 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
161 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
162 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
163 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
164 | (note_mouse_highlight, x_clear_window_mouse_face) | |
165 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
166 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
167 | and GUI front-ends. | |
168 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
169 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
170 | ||
171 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
172 | (NativeRectangle): Generic typedef for rectangle type. | |
173 | (enum window_part): Move here from window.c. | |
174 | (struct redisplay_interface): New members flush_display_optional, | |
175 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
176 | draw_vertical_window_border, shift_glyphs_for_insert. | |
177 | Rename member clear_mouse_face to clear_window_mouse_face. | |
178 | (estimate_mode_line_height_hook): Remove hook. | |
179 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
180 | (tool_bar_item_info): Remove prototype. | |
181 | (help_echo_string, help_echo_window, help_echo_object) | |
182 | (previous_help_echo_string, help_echo_pos) | |
183 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
184 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
185 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
186 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
187 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
188 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
189 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
190 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
191 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
192 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
193 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
194 | Add prototypes. | |
195 | (mode_line_string, marginal_area_string): Fix prototypes. | |
196 | ||
197 | * window.c (enum window_part): Move to dispextern.h. | |
198 | (coordinates_in_window): Use enum window_part member names | |
199 | instead of numbers to describe return value. | |
200 | (struct check_window_data): Change part member to window_part. | |
201 | (check_window_containing): Return window_part unaltered. | |
202 | (window_from_coordinates): Change part arg from int to enum | |
203 | window_part. Allow part arg to be null. All users changed. | |
204 | ||
205 | * window.h (window_from_coordinates): Fix prototype. | |
206 | ||
207 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
208 | ||
209 | * keyboard.c (make_lispy_event): Use enum window_part. | |
210 | ||
211 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
212 | window_part instead of int in arg list. Users changed. | |
213 | ||
214 | * xterm.h (No_Cursor): Declare as None for X. | |
215 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 216 | |
acd37560 KS |
217 | * xterm.c: Remove consolidated defines and code. |
218 | (BETWEEN): Remove unused macro. | |
219 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
220 | (x_define_frame_cursor, x_clear_frame_area) | |
221 | (x_draw_window_cursor): New X-specific functions for RIF. | |
222 | (x_redisplay_interface): Add new members. | |
223 | ||
224 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
225 | ||
226 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
227 | ||
228 | * w32term.c: Remove consolidated defines and code. | |
229 | (BETWEEN): Remove unused macro. | |
230 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
231 | (w32_define_frame_cursor, w32_clear_frame_area) | |
232 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
233 | (w32_redisplay_interface): Add new members. | |
234 | ||
235 | * w32gui.h (No_Cursor): Define as 0 for W32. | |
236 | (XRectangle): Add X compatible rectangle type. | |
237 | (NativeRectangle): Declare as RECT for W32. | |
238 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
239 | ||
240 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
241 | ||
242 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 243 | |
acd37560 KS |
244 | * msdos.h (Display_Info): Add generic typedef. |
245 | ||
246 | * msdos.c: Remove consolidated defines and code. | |
247 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
248 | ||
249 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
250 | hand_cursor. | |
251 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
252 | ||
253 | * macterm.c: Remove consolidated defines and code. | |
254 | (BETWEEN): Remove unused macro. | |
255 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
256 | (mac_define_frame_cursor, mac_clear_frame_area) | |
257 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
258 | (x_redisplay_interface): Add new members. | |
259 | ||
260 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
261 | (XRectangle): Add X compatible rectangle type. | |
262 | (NativeRectangle): Declare as Rect for Mac. | |
263 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
264 | ||
204ccab1 KS |
265 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
266 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 KS |
267 | |
268 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files | |
269 | included from it. Add dependency on keymap.h. | |
270 | ||
271 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
272 | ||
8ba01a70 | 273 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
274 | |
275 | * fileio.c (Fexpand_file_name): Fix previous change. | |
276 | ||
8ba01a70 | 277 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
278 | |
279 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
280 | make_specified_string. | |
281 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
282 | (Fdirectory_file_name, Fexpand_file_name) | |
283 | (Fsubstitute_in_file_name): Likewise. | |
284 | (Fread_file_name): Compare decoded homedir with DIR and | |
285 | DEFAULT_FILENAME. | |
286 | ||
287 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
288 | the number of characters. | |
289 | ||
19536747 JD |
290 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
291 | ||
de38ae5a JD |
292 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
293 | all widgets. | |
294 | ||
19536747 JD |
295 | * gtkutil.h: Removed xg_ignore_next_thumb. |
296 | ||
37ab321e | 297 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
298 | |
299 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
300 | (Vcoding_system_safe_chars): New variable. | |
301 | (intersection): Remove this function. | |
302 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
303 | all codings in SAFE_CODINGS. | |
00c64fab | 304 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
305 | find_safe_codings. Get generic coding systems from |
306 | Vcoding_system_safe_chars. | |
307 | (Fdefine_coding_system_internal): New function. | |
308 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
309 | Initialize and staticpro Vcoding_system_safe_chars. | |
310 | ||
17097258 JD |
311 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
312 | ||
2a2071c3 JD |
313 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
314 | equal old values before updating. | |
315 | ||
17097258 JD |
316 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
317 | ||
318 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
319 | ||
320 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
321 | ||
322 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
323 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
324 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
325 | (scroll_bar_button_cb): Set bar->dragging to NIL on button release. | |
326 | (xg_create_scroll_bar): Pass bar to button event callback. | |
327 | (xg_find_top_left_in_fixed): New function. | |
328 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
329 | whole scroll bar area. Get old position with | |
330 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
331 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
332 | dragging is in progress. Calculate whole as for Motif. | |
333 | Remove code that saved last values. Call gtk_range functions to | |
334 | set scroll bar sizes. | |
335 | ||
336 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
337 | ||
8cb9dfbf JB |
338 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
339 | ||
340 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
341 | and files included from it. | |
342 | ||
00c64fab SM |
343 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
344 | ||
345 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
346 | multiple occurrences of the same keymap under different prefixes. | |
347 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
348 | ||
c45bb3b2 JR |
349 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
350 | ||
351 | * w32gui.h: Use HDC for Display. | |
352 | ||
353 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
354 | crashing Emacs. | |
355 | ||
356 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
357 | as binary. | |
358 | ||
2a6d0874 JB |
359 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
360 | ||
361 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
362 | ||
03eb5fab KS |
363 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
364 | ||
365 | The following changes consolidate some of the gui-independent | |
366 | parts of the processing and drawing of "glyph strings" from | |
367 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 368 | |
03eb5fab KS |
369 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
370 | 21 bits (this reduces number of faces from 4M to 2M). | |
371 | Replace W32 specific w32_font_type member (2 bits) by generic | |
372 | font_type member (3 bits) for portability. | |
373 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
374 | (enum draw_glyphs_face): Define here. | |
375 | (struct glyph_string): Define here. Merge W32 and X versions. | |
376 | (struct redisplay_interface): New members per_char_metric, | |
377 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
378 | (VCENTER_BASELINE_OFFSET): Define here. | |
379 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
380 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
381 | ||
382 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
383 | (dump_glyph_string): Moved here. | |
384 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
385 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
386 | (fill_composite_glyph_string, fill_glyph_string) | |
387 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
388 | (left_overwritten, left_overwriting, right_overwritten) | |
389 | (right_overwriting, get_char_face_and_encoding) | |
390 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
391 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
392 | (take_vertical_position_into_account, append_stretch_glyph) | |
393 | (produce_stretch_glyph): New generic functions (based on X version). | |
394 | Call platform specific functions through rif. | |
395 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
396 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
397 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
398 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
399 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
400 | (notice_overwritten_cursor): | |
401 | Generic functions exported to platform modules. Users changed. | |
402 | ||
403 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
404 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
405 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 406 | New macros for consolidated code. |
2a6d0874 | 407 | |
03eb5fab KS |
408 | * xterm.c: Remove consolidated defines and code. |
409 | (x_per_char_metric, x_encode_char) | |
410 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
411 | (x_redisplay_interface): Add new members. | |
412 | ||
413 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
414 | (XChar2b): Define alias for wchar_t for consolidation. | |
415 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
416 | ||
417 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 418 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
419 | New macros for consolidation. |
420 | ||
fad49844 | 421 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
422 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
423 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
424 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
425 | (w32_encode_char): Return int according to RIF requirements. | |
426 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
427 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
428 | x_get_glyph_overhangs. | |
429 | (w32_redisplay_interface): Add new members. | |
430 | ||
431 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
432 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
433 | ||
434 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
435 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
436 | consolidation. | |
437 | ||
438 | * macterm.c: Remove consolidated defines and code. | |
439 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 440 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
441 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
442 | (x_redisplay_interface): Add new members. | |
443 | ||
00c64fab SM |
444 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
445 | ||
446 | * keymap.c (Vmenu_events): New var. | |
447 | (syms_of_keymap): Initialize it. | |
448 | (where_is_internal): Check more carefully what is a menu event. | |
449 | ||
225c7a07 RS |
450 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
451 | ||
452 | * lread.c (read1): After #!, exit loop on eof. | |
453 | ||
cea9be54 JD |
454 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
455 | ||
9ea0e54d JD |
456 | * gtkutil.h: Add declaration for xg_frame_cleared. |
457 | ||
0cb35f4e JD |
458 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
459 | ||
cea9be54 JD |
460 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
461 | (handle_fixed_child): New function. | |
462 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
463 | and force a redraw on them. | |
464 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
465 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
466 | so we can avoid unneeded redraws. | |
467 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
468 | and force a redraw on the scroll bar. | |
469 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
470 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 471 | (xg_frame_cleared): New function. |
cea9be54 | 472 | |
20b853f3 KH |
473 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
474 | ||
475 | * coding.c (Fdetect_coding_region): Fix docstring. | |
476 | (Fdetect_coding_string): Fix docstring. | |
477 | ||
7a555aff AS |
478 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
479 | ||
25cc0080 AS |
480 | * gtkutil.c: Add prototype for create_menus. |
481 | ||
30225431 AS |
482 | * data.c (long_to_cons): Fix type of top. |
483 | ||
484 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
485 | long for an integer of size 4. | |
486 | ||
7a555aff | 487 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 488 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 489 | |
a3e4741f AS |
490 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
491 | ||
492 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
493 | ||
9668be7c KS |
494 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
495 | ||
03eb5fab | 496 | The following changes consolidate the fringe handling from |
9668be7c | 497 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 498 | |
9668be7c KS |
499 | * xdisp.c: Consolidate fringe handling code here. |
500 | (left_bits, right_bits, continued_bits, continuation_bits) | |
501 | (ov_bits, zv_bits): Define fringe bitmaps. | |
502 | (fringe_bitmaps): New array holding fringe bitmaps. | |
503 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
504 | specific drawing routine via rif->draw_fringe_bitmap. | |
505 | (draw_row_fringe_bitmaps): Generic replacement for | |
506 | x_draw_row_fringe_bitmaps; all callers changed. | |
507 | (compute_fringe_widths): Generic replacement for | |
508 | x_compute_fringe_widths; all callers changed. | |
509 | ||
510 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
511 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
512 | (fringe_bitmaps): Declare extern. | |
513 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
514 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
515 | ||
516 | * xterm.c: Remove generic fringe code. | |
517 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
518 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
519 | ||
520 | * w32term.c: Remove generic fringe code. | |
521 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
522 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 523 | |
9668be7c KS |
524 | * macterm.c: Remove generic fringe code. |
525 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
526 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
527 | ||
00a88f32 SM |
528 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
529 | ||
530 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
531 | ||
1d1de695 DK |
532 | 2003-03-09 David Kastrup <dak@gnu.org> |
533 | ||
534 | * process.c (read_process_output): We have allocated enough space | |
535 | for readmax and carryover, so actually use the alloted space. | |
536 | ||
257f40f2 JD |
537 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
538 | ||
539 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
540 | toolkit scrollbar click. | |
541 | ||
542 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
543 | for USE_GTK. | |
544 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
545 | also. | |
546 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit | |
547 | scrollbar and control is pressed, call x_scroll_bar_handle_click. | |
00a88f32 | 548 | |
257f40f2 JD |
549 | * gtkutil.h: Declare xg_get_scroll_id_for_window. |
550 | ||
551 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
552 | (xg_tool_bar_item_expose_callback): New function. | |
553 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
554 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
555 | on the tool bar widget. | |
556 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
557 | to expose on the tool bar item widgets. | |
558 | ||
15213141 JD |
559 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
560 | ||
26b74a0b | 561 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 562 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
563 | deleted from the image cache). |
564 | ||
15213141 JD |
565 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
566 | the event isn't for a frame (i.e. for dialogs). | |
567 | ||
20b853f3 | 568 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
569 | |
570 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
571 | composition components reaches the limit, terminate composing. | |
572 | (COMPOSITION_OK): New macro. | |
00a88f32 | 573 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
574 | composition is found. |
575 | (coding_restore_composition): Adjust the number of composition | |
576 | components if it is not sane. | |
577 | ||
c9029fe5 JB |
578 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
579 | ||
580 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
581 | passing resources via -xrm on Windows. | |
582 | ||
583 | * w32term.c (w32_make_rdb): New function. | |
584 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
585 | struct. Delete leftover code. | |
586 | ||
587 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
588 | for resources passed on the command line. | |
589 | ||
590 | * w32reg.c (w32_get_rdb_resource): New function. | |
591 | (x_get_string_resource): Use it, so resources passed with -xrm | |
592 | supercede the ones in the registry. | |
593 | ||
9d00001f JD |
594 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
595 | ||
596 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
597 | instead of x_top_window_to_frame. | |
598 | ||
ca2417b9 JD |
599 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
600 | ||
601 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
602 | when restarting Emacs. | |
603 | ||
5b20caf0 RS |
604 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
605 | ||
606 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
607 | to run kill-buffer-query-functions. | |
608 | (Qkill_buffer_query_functions): New var. | |
609 | (syms_of_buffer): Init and staticpro it. | |
610 | ||
58e91b77 JD |
611 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
612 | ||
613 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
614 | ||
932357b4 KS |
615 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
616 | ||
617 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
618 | If centering point failed to make whole line visible and vscroll | |
619 | is non-zero, disable vscroll and try centering point again. | |
620 | ||
621 | * lread.c (read1): Accept `single space' syntax like (? x). | |
622 | ||
bb8db7e1 JD |
623 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
624 | ||
625 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
626 | #ifdef HAVE_X_WINDOWS | |
627 | ||
47d77aab KH |
628 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
629 | ||
630 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
631 | process only when "subprocesses" is defined. | |
632 | ||
6a097c0c SM |
633 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
634 | ||
635 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
636 | ||
0b063c27 JB |
637 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
638 | ||
d1135afc JB |
639 | * callint.c (fix_command): Declare as static void and move before |
640 | Fcall_interactively. | |
641 | ||
0b063c27 JB |
642 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
643 | (syms_of_xdisp): Don't initialize Qwhen. | |
644 | ||
0af912f0 JD |
645 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
646 | ||
647 | * keyboard.c (cancel_hourglass_unwind): New function. | |
648 | (command_loop_1): Cancel hourglass with unwind-protect. | |
649 | ||
120d0a23 RS |
650 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
651 | ||
652 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
653 | Detect (when ... (region-beginning)) etc. | |
654 | (Fcall_interactively): Call fix_command. | |
655 | (Qif, Qwhen): New variables. | |
656 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 657 | |
120d0a23 RS |
658 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
659 | ||
4ece81a6 KG |
660 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
661 | ||
662 | * dired.c (directory_files_internal): Don't expand directory. | |
663 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
664 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
665 | ||
e52bd6b7 SM |
666 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
667 | ||
668 | * fns.c (string_to_multibyte): Remove unused var i. | |
669 | (Flanginfo): Fix int/Lisp_Object mixup. | |
670 | (void_call2): New fun. | |
671 | (Fmap_char_table): Use it in place of call2. | |
672 | ||
673 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
674 | ||
675 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
676 | ||
677 | * keymap.c (copy_keymap_1): Make it static. | |
678 | ||
679 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
680 | ||
c33ef7c4 JB |
681 | 2003-02-22 David Ponce <david@dponce.com> |
682 | ||
683 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
684 | ||
16782258 JD |
685 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
686 | ||
687 | * process.h: Removed subtty field from struct Lisp_Process. | |
688 | ||
689 | * process.c (create_process): Remove setting of subtty. | |
690 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
691 | (Fprocess_running_child_p, process_send_signal): |
692 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
693 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
694 | ||
3abeca61 KG |
695 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
696 | ||
697 | * keymap.c (Fdefine_key): Doc fix. | |
698 | ||
92a8ce63 JB |
699 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
700 | ||
701 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
702 | ||
703 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
704 | POLLING_PROBLEM_IN_SELECT. | |
705 | ||
706 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
707 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
708 | ||
709 | * s/hpux10-20.h: New file. | |
710 | ||
e52bd6b7 SM |
711 | * process.c (wait_reading_process_input): |
712 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 713 | |
20f1ef2e KH |
714 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
715 | ||
32d0a9dc KH |
716 | * fontset.c (check_fontset_name): If NAME is nil, return the |
717 | default fontset. | |
718 | (override_font_info): New function. | |
e52bd6b7 | 719 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
720 | (Ffontset_info): If FONTSET is not the default fontset, merge |
721 | FONTSET onto the copy of the default fontset, and work on that | |
722 | copy. Document that NAME nil means the default fontset. | |
723 | (Ffontset_font): Document that NAME nil means the default fontset. | |
724 | ||
20f1ef2e KH |
725 | * process.c (setup_process_coding_systems): If the process's |
726 | in/out descriptor is -1, do nothing. | |
727 | ||
77d1daf2 AS |
728 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
729 | ||
e52bd6b7 SM |
730 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
731 | Add prototypes. | |
77d1daf2 | 732 | |
f9a45bb3 KH |
733 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
734 | ||
735 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
736 | Vscalable_fonts_allowed is not Qt. | |
737 | ||
72ecb43c JD |
738 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
739 | ||
740 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
741 | ||
ee5be7c3 JD |
742 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
743 | ||
744 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
745 | names. | |
746 | ||
747 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 748 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
749 | x_face_list_fonts. |
750 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
751 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
752 | ||
4cd519a7 KS |
753 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
754 | ||
068f9882 KS |
755 | * lread.c (read1): Fix last change. |
756 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 757 | |
7290a344 AC |
758 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
759 | ||
760 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
761 | ||
1f7fa69b AS |
762 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
763 | ||
764 | * window.c (window_scroll_pixel_based): Move outside a | |
765 | multi-glyph character before setting new window start. | |
766 | ||
767 | * xdisp.c (in_display_vector_p): New function. | |
768 | * dispextern.h (in_display_vector_p): Declare. | |
769 | ||
23e21195 KS |
770 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
771 | ||
772 | * lread.c (read1): Fix and relax read syntax. | |
773 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
774 | Only recognize "," after dotted-pair dot if inside backquote. | |
775 | Never include "`" or "," (inside backquote) in a symbol. | |
776 | Allow dotted-pair dot after a character constant. | |
777 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 778 | |
f098b121 JD |
779 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
780 | ||
781 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
782 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
783 | icons. Set name of tool bar to emacs-toolbar. | |
784 | (update_frame_tool_bar): Connect expose event to | |
785 | xg_tool_bar_expose_callback. | |
786 | ||
63020c46 RS |
787 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
788 | ||
789 | * keyboard.c (this_command_key_count_reset): New variable. | |
790 | Initiatize to 0 where this_command_key_count is set. | |
791 | (read_char): Save and restore this_command_key_count_reset | |
792 | around input method code. | |
793 | (read_char): If this_command_key_count_reset, echo reread commands. | |
794 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
795 | ||
fb4452cc KH |
796 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
797 | ||
798 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
799 | ||
bd11cc09 JR |
800 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
801 | ||
e52bd6b7 SM |
802 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
803 | Negative max_fonts parameter means list all. | |
bd11cc09 | 804 | |
4cdf4bde DL |
805 | 2003-02-14 Dave Love <fx@gnu.org> |
806 | ||
807 | * fns.c (Flanginfo): Doc fix. | |
808 | ||
023b93f6 KS |
809 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
810 | ||
37cd4238 KS |
811 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
812 | for \s-X in a character constant which still is the super modifier. | |
813 | (read1): Signal an `invalid read syntax' error if a character | |
814 | constant is immediately followed by a digit or symbol character. | |
815 | ||
140a6b7e KS |
816 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
817 | match-data is undefined if last search failed. | |
818 | ||
023b93f6 KS |
819 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. |
820 | All uses changed. | |
821 | ||
7d5c86e5 JB |
822 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
823 | ||
824 | * eval.c (Fdefmacro): Fix typo. | |
825 | ||
295fff2c KS |
826 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
827 | ||
828 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
829 | macro is a string, convert meta modifiers in string when copying | |
830 | the string into a vector. | |
831 | ||
60f3202d KS |
832 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
833 | ||
834 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
835 | ||
61cb0b53 KH |
836 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
837 | ||
838 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
839 | ||
7392e23c KS |
840 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
841 | ||
842 | * process.c: Doc fixes. | |
843 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
844 | ||
ce4254bd KH |
845 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
846 | ||
9c7a329a KH |
847 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
848 | ||
ce4254bd KH |
849 | * process.c (QCfilter_multibyte): New variable. |
850 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
851 | (Fset_process_buffer, Fset_process_filter): |
852 | Call setup_process_coding_systems. | |
ce4254bd KH |
853 | (Fstart_process): Initialize the member `filter_multibyte' of |
854 | struct Lisp_Process. | |
855 | (create_process): Call setup_process_coding_systems. | |
856 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
857 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
858 | Call setup_process_coding_systems. | |
859 | (server_accept_connection): Call setup_process_coding_systems. | |
860 | (read_process_output): If the process has a filter, decide the | |
861 | multibyteness of a string to given to the filter by | |
862 | `filter_multibyte' member of the process. If the process doesn't | |
863 | have a filter and the result of conversion is unibyte, use | |
864 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
865 | multibyte form. | |
866 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
867 | (Fset_process_filter_multibyte): New function. | |
868 | (Fprocess_filter_multibyte_p): New function. | |
869 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
870 | Defsubr Sset_process_filter_multibyte and | |
871 | Sprocess_filter_multibyte_p. | |
872 | ||
873 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
874 | ||
875 | * lisp.h (setup_process_coding_systems): Add prototype. | |
876 | ||
877 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
878 | process, update coding systems for the process. | |
879 | ||
b08d5f59 KH |
880 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
881 | ||
882 | * fns.c (string_to_multibyte): New function. | |
883 | (Fstring_to_multibyte): New function. | |
884 | (syms_of_fns): Defsubr it. | |
885 | ||
0dfd93c0 AS |
886 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
887 | ||
888 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
889 | instead of the substitution. | |
890 | ||
7b76ca1c JD |
891 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
892 | ||
893 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
894 | ||
895 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
896 | the menu is fully visible. | |
7b76ca1c | 897 | |
2436a4e4 JD |
898 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
899 | ||
900 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
901 | (x_make_frame_invisible, x_wm_set_icon_position): |
902 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
903 | |
904 | * xfns.c (x_set_name, x_set_title): Ditto. | |
905 | ||
37d1e680 RS |
906 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
907 | ||
908 | * keyboard.c (echo_now): Update before_command_echo_length. | |
909 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
910 | immediately rather than arranging to do it later. | |
911 | (before_command_key_count_1, before_command_echo_length_1) | |
912 | (before_command_restore_flag): Vars deleted. | |
913 | (add_command_key): Don't handle before_command_restore_flag. | |
914 | (read_char, record_menu_key): Don't update before_command_key_count or | |
915 | before_command_echo_length. | |
916 | (read_char): Don't handle before_command_restore_flag. | |
917 | ||
918 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
919 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
920 | ||
578846a3 KS |
921 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
922 | ||
923 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
924 | ||
49853a4d JD |
925 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
926 | ||
927 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
928 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
929 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
930 | on list returned from gtk_container_get_children to avoid memory leak. | |
931 | ||
8b53dc06 JR |
932 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
933 | ||
5d54d177 JR |
934 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
935 | local malloc. | |
936 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
937 | definitions in xpm.h. | |
938 | (init_xpm_functions): New function. | |
939 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. | |
940 | (init_external_image_libraries): Try to load libXpm.dll. | |
941 | ||
8b53dc06 JR |
942 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
943 | timestamp. | |
944 | ||
b222e415 DL |
945 | 2003-01-31 Dave Love <fx@gnu.org> |
946 | ||
947 | * syntax.c (Fskip_chars_forward) | |
948 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
949 | ||
c60ee5e7 JB |
950 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
951 | ||
952 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
953 | preprocessor tests). | |
954 | ||
955 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
956 | ||
957 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
958 | ||
959 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
960 | ||
961 | * s/cygwin.h: Added for Cygwin port. | |
962 | ||
53b37591 JB |
963 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
964 | ||
965 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
966 | when including gif_lib.h. | |
fe929957 JB |
967 | (init_gif_functions, init_tiff_functions): New functions. |
968 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for | |
969 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 970 | through pointers determined at runtime. |
fe929957 JB |
971 | (init_external_image_libraries): Try to load libungif.dll and |
972 | libtiff.dll. | |
53b37591 | 973 | |
45415a8f KH |
974 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
975 | ||
976 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 977 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 978 | |
a97e4138 JD |
979 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
980 | ||
e52bd6b7 | 981 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 982 | |
6eed9bed DL |
983 | 2003-01-30 Dave Love <fx@gnu.org> |
984 | ||
985 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
986 | (Fgarbage_collect): Use them. | |
987 | (init_alloc, syms_of_alloc): Set them up. | |
988 | ||
100dcd40 JB |
989 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
990 | ||
991 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
992 | ||
fbd852af JR |
993 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
994 | ||
995 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
996 | an alternative name for jpeg.dll. | |
997 | ||
8a2d8020 KH |
998 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
999 | ||
1000 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
1001 | properties. | |
1002 | ||
058c18c7 AC |
1003 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
1004 | ||
1005 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
1006 | <escape>. | |
1007 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
1008 | (XTread_socket): Drop special case for backspace. | |
1009 | ||
385f11cf AC |
1010 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
1011 | ||
1012 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
1013 | values in old-style RGB specs. | |
1014 | ||
c922a224 JB |
1015 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
1016 | ||
1017 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
1018 | jpeg dll. | |
1019 | ||
0a1d6de0 JD |
1020 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1021 | ||
1022 | * gtkutil.c (create_dialog, xg_separator_p) | |
1023 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
1024 | before calling strcmp or strlen. | |
1025 | ||
a97e4138 | 1026 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
1027 | |
1028 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
1029 | and handle image load failure. | |
1030 | ||
28908312 JR |
1031 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
1032 | ||
1033 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
1034 | New functions. | |
1035 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. | |
1036 | Disable color table lookups. Call jpeg library functions | |
1037 | through pointers determined at runtime. | |
1038 | (init_external_image_libraries): Try to load jpeg.dll. | |
1039 | ||
84e47416 RS |
1040 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
1041 | ||
1042 | * lisp.h: Declare format2 instead of format1. | |
1043 | ||
1044 | * fileio.c (barf_or_query_if_file_exists): | |
1045 | Call format2 instead of format1. | |
1046 | ||
1047 | * editfns.c (format2): New function, replaces format1 | |
1048 | but takes exactly two Lisp Objects as format args. | |
1049 | ||
1050 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
1051 | ||
a97e4138 | 1052 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
1053 | |
1054 | * xterm.h: Change to return value of x_dispatch_event to int. | |
1055 | ||
1056 | * xterm.c (x_filter_event): New function. | |
1057 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
1058 | (x_dispatch_event): Change to return value of finish. | |
1059 | (event_handler_gdk): Use return value from x_dispatch_event. | |
1060 | ||
1061 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
1062 | initialize input methods. | |
1063 | ||
1064 | * gtkutil.h: Add (void) prototypes. | |
1065 | ||
1066 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
1067 | the right. | |
1068 | ||
54eefef1 JR |
1069 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
1070 | ||
1071 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
1072 | [HAVE_PNG]: Sync with xfns.c version. | |
1073 | (png_load): Adjust colors for Windows. Use Windows | |
1074 | bitmaps. Disable color table lookups. | |
c262430d JR |
1075 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
1076 | (init_png_functions): New function. | |
1077 | (png_read_from_memory, png_load): Call png library functions | |
1078 | through pointers determined at runtime. | |
1079 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
1080 | (init_external_image_libraries): New function. | |
1081 | (init_xfns): Call it. | |
54eefef1 | 1082 | |
1a9e275b AS |
1083 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
1084 | ||
1085 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
1086 | ||
a97e4138 | 1087 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
1088 | |
1089 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
1090 | of static initializer. | |
1091 | ||
422eec7e DL |
1092 | 2003-01-24 Dave Love <fx@gnu.org> |
1093 | ||
1094 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
1095 | architectures. | |
1096 | ||
1097 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
1098 | Use __alignof__. | |
1099 | ||
2a026b04 KH |
1100 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
1101 | ||
1102 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 1103 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
1104 | (command_loop_1): Call adjust_point_for_property with proper |
1105 | second arg. | |
1106 | ||
a18bb28d JR |
1107 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
1108 | ||
1109 | Sync changes with xterm.c and xfns.c. | |
1110 | ||
1111 | * w32term.c (x_draw_glyph_string_foreground) | |
1112 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
1113 | ||
1114 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
1115 | phys_cursor's hpos is overwritten. This is still not completely | |
1116 | correct, as it doesn't really make sense to use hpos at all to | |
1117 | get the cursor glyph (as that is relative to the width of the | |
1118 | characters on the line, which may have changed during the update). | |
1119 | ||
1120 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
1121 | of the cursor being in the first blank non-text line at the | |
1122 | end of a window. | |
1123 | ||
1124 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
1125 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
1126 | Compute from the x position returned by x_draw_glyphs. | |
1127 | ||
1128 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
1129 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
1130 | contain what its name suggests. | |
1131 | (notice_overwritten_cursor): Consider the cursor image erased if | |
1132 | the output area intersects the cursor image in y-direction. | |
1133 | ||
6a097c0c SM |
1134 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
1135 | note_mode_line_highlight and extend. | |
a18bb28d JR |
1136 | |
1137 | * w32term.c (last_window): New variable. | |
1138 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
1139 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
1140 | ||
1141 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
1142 | not update_mode_lines, and always set it to 1. | |
1143 | ||
ac6e47ef JR |
1144 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
1145 | ||
1146 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
1147 | ||
1148 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
1149 | ||
1150 | * w32term.h (struct w32_output): New member hand_cursor. | |
1151 | (WM_EMACS_SETCURSOR): New message definition. | |
1152 | ||
1153 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
1154 | function w32_define_cursor. | |
1155 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
1156 | position, change member name output_data.x to output_data.w32 and | |
1157 | add function w32_define_cursor. | |
1158 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
1159 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
1160 | (w32_initialize_display_info): |
1161 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
1162 | |
1163 | * w32fns.c (Vx_hand_shape): New variable. | |
1164 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
1165 | WM_EMACS_SETCURSOR. | |
1166 | (x-create-frame): Setup Cursor types. | |
1167 | ||
ceb39a17 JB |
1168 | 2003-01-21 David Ponce <david@dponce.com> |
1169 | ||
ac6e47ef JR |
1170 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
1171 | ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c | |
1172 | x_encode_char change by Kenichi Handa <handa@m17n.org> on | |
ceb39a17 | 1173 | 2002-09-30.) |
ac6e47ef JR |
1174 | (w32_draw_relief_rect): Declare all args. |
1175 | (w32_define_cursor): New. | |
1176 | ||
1177 | * w32fns.c (w32_load_cursor): New function. | |
1178 | (w32_init_class): Use it. | |
1179 | (x_put_x_image): Declare all args. | |
1180 | ||
46cf0bed JB |
1181 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
1182 | ||
1183 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
1184 | ||
a97e4138 | 1185 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
1186 | |
1187 | * gtkutil.c: Must include stdio.h before termhooks.h | |
1188 | ||
83fc9c63 DL |
1189 | 2003-01-21 Dave Love <fx@gnu.org> |
1190 | ||
1191 | * alloc.c (Fgc_status): Print zombie list. | |
1192 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
1193 | Fix assignment of zombies. | |
1194 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
1195 | Don't take car of non-cons. | |
1196 | ||
1197 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
1198 | ||
1199 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
1200 | ||
fe04b8c8 JR |
1201 | 2003-01-20 David Ponce <david@dponce.com> |
1202 | ||
1203 | * w32menu.c (digest_single_submenu): Declare all args. | |
1204 | ||
1205 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
1206 | changes in xmenu.c: | |
1207 | ||
1208 | (parse_single_submenu): Use individual keymap's prompt | |
1209 | string as pane name, if there is one. | |
1210 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
1211 | parse_single_submenu and use it when calling digest_single_submenu. | |
1212 | ||
539e69a9 ST |
1213 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
1214 | ||
1215 | * macterm.c (XTread_socket): Checks for valid, visible window | |
1216 | before sending a scroll-wheel event. | |
1217 | ||
675d000f RS |
1218 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
1219 | ||
1220 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
1221 | a minibuffer, then redisplay it like other windows. | |
1222 | ||
a97e4138 | 1223 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
1224 | |
1225 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
1226 | external tool bar before setting tool bar height. | |
1227 | ||
048addec JD |
1228 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1229 | ||
1230 | * xterm.c (handle_one_xevent): Surround popup_activated | |
1231 | with #ifdef:s for non-toolkit version. | |
1232 | ||
1233 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK | |
1234 | (gtkutil.o): New file. | |
1235 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
1236 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
1237 | ||
1238 | * gtkutil.c: New file for GTK version. | |
1239 | ||
1240 | * gtkutil.h: New file for GTK version. | |
1241 | ||
1242 | * xterm.h: Add xt_or_gtk_widget. | |
1243 | Include gtk files for USE_GTK. | |
1244 | (struct x_output): Add toolbar_height. | |
1245 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
1246 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
1247 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
1248 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
1249 | ||
1250 | * xterm.c: Include gtkutil.h for USE_GTK. | |
1251 | Declare extern void free_frame_menubar for USE_GTK. | |
1252 | (note_mouse_highlight): Check popup_activated for USE_GTK. | |
1253 | (xt_action_hook): Don't compile if USE_GTK. | |
1254 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
1255 | (xg_scroll_callback): New function. | |
1256 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
1257 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
1258 | for USE_GTK. | |
1259 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
1260 | xg_show_scroll_bar for USE_GTK. | |
1261 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
1262 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
1263 | (event_handler_gdk): New function for USE_GTK. | |
1264 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
1265 | (handle_one_xevent): Make sure widget is mapped before | |
1266 | calling x_real_positions for USE_GTK. | |
1267 | (XTread_socket): Add GTK event loop for USE_GTK. | |
1268 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
1269 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
1270 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
1271 | (x_iconify_frame): Add code for USE_GTK. | |
1272 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
1273 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
1274 | is in gtkutil.c. | |
1275 | (x_term_init): Add initialization for GTK. | |
1276 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
1277 | ||
1278 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
1279 | (Fx_popup_menu): Use current position if x and y is NIL. | |
6bdb309a SM |
1280 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
1281 | Check for USE_GTK. | |
048addec JD |
1282 | (popup_widget_loop): New function for USE_GTK. |
1283 | (x_activate_menubar): Add code for USE_GTK. | |
1284 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
1285 | (menu_highlight_callback, menubar_selection_callback): |
1286 | Add USE_GTK versions. | |
048addec JD |
1287 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
1288 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
1289 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
1290 | is in gtkutil.c. | |
1291 | (popup_selection_callback): New version for USE_GTK. | |
1292 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 1293 | one USE_X_TOOLKIT version. |
048addec JD |
1294 | (xmenu_show): Call create_and_show_popup_menu. |
1295 | (dialog_selection_callback): New version for USE_GTK. | |
1296 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 1297 | one USE_X_TOOLKIT version. |
048addec JD |
1298 | (xdialog_show): Call create_and_show_dialog. |
1299 | ||
1300 | * xfns.c: Include gtkutil for USE_GTK. | |
1301 | (x_window_to_frame, x_any_window_to_frame) | |
1302 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
1303 | (x_top_window_to_frame): Add code for USE_GTK. | |
1304 | (x_set_background_color): Call xg_set_background_color for GTK. | |
1305 | (x_set_menu_bar_lines): Check for USE_GTK. | |
1306 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
1307 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
1308 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
1309 | (Fx_create_frame): Check for USE_GTK | |
1310 | (Fx_file_dialog): New implementation for USE_GTK. | |
1311 | ||
1312 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
1313 | (update_menu_bar): Add check for USE_GTK. | |
1314 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
1315 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
1316 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
1317 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
1318 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
1319 | (display_menu_bar): Add check for USE_GTK | |
1320 | ||
1321 | * lisp.h: Declare Vx_resource_name extern. | |
1322 | ||
1323 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT | |
1324 | for USE_GTK. | |
1325 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
1326 | ||
1327 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
1328 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
1329 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
1330 | ||
1331 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
1332 | ||
6bdb309a SM |
1333 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
1334 | Add check for USE_GTK. | |
048addec JD |
1335 | |
1336 | * config.in: Added HAVE_GTK | |
1337 | ||
1338 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
1339 | ||
1340 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
1341 | ||
1342 | * charset.h (Funibyte_char_to_multibyte): Export. | |
1343 | ||
1344 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
1345 | ||
1346 | * xmenu.c (mouse_position_for_popup): New function. | |
1347 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
1348 | mouse_position_hook for others. | |
1349 | ||
1350 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
1351 | ||
1352 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
1353 | `string-as-multibyte' in doc string. | |
1354 | ||
1355 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
1356 | ||
1357 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 1358 | |
048addec JD |
1359 | * editfns.c (Fformat): Convert an unibyte char argument that is |
1360 | formatted by "%c" to multibyte if the total result must be a | |
1361 | multibyte string. | |
cd7df9c0 | 1362 | |
048addec | 1363 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 1364 | |
048addec JD |
1365 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
1366 | of string argument. | |
56210ecd | 1367 | |
048addec | 1368 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 1369 | |
048addec | 1370 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 1371 | |
048addec JD |
1372 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
1373 | (re_search_2): Likewise. | |
6df8b9fe | 1374 | |
048addec | 1375 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 1376 | |
048addec JD |
1377 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
1378 | buffer is unibyte. | |
292ddc31 | 1379 | |
048addec | 1380 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 1381 | |
048addec | 1382 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 1383 | |
048addec JD |
1384 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
1385 | (Fprevious_char_property_change) | |
1386 | (Fnext_single_char_property_change) | |
1387 | (Fprevious_single_char_property_change, Fnext_property_change) | |
1388 | (Fnext_single_property_change, Fprevious_property_change) | |
1389 | (Fprevious_single_property_change, Fadd_text_properties) | |
1390 | (Fput_text_property, Fset_text_properties) | |
1391 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
1392 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 1393 | |
048addec | 1394 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 1395 | |
048addec JD |
1396 | * process.h (struct Lisp_Process): New member plist replaces old |
1397 | member private_vars. All uses changed. | |
63e4e4c6 | 1398 | |
048addec | 1399 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 1400 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 1401 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 1402 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 1403 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 1404 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 1405 | |
048addec | 1406 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 1407 | |
6bdb309a | 1408 | * m/delta.h: Remove (obsolete). |
e833850f | 1409 | |
048addec | 1410 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 1411 | |
048addec JD |
1412 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
1413 | behaviour in front of symlinks. | |
1414 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 1415 | |
048addec | 1416 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 1417 | |
048addec | 1418 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 1419 | |
048addec | 1420 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 1421 | |
048addec JD |
1422 | * minibuf.c (minibuffer_completion_contents): |
1423 | Error if point is inside prompt. | |
3e8cf2ea | 1424 | |
048addec JD |
1425 | * keyboard.c (command_loop_1): Don't redisplay directly |
1426 | if there's a post-command-hook. | |
3e8cf2ea | 1427 | |
048addec JD |
1428 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
1429 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 1430 | |
048addec | 1431 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 1432 | |
048addec | 1433 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 1434 | |
048addec JD |
1435 | * process.c (QCvars): New variable. |
1436 | (syms_of_process): Intern and staticpro it. | |
1437 | (Fset_process_contact): Removed function. | |
1438 | (Fprocess_variable, Fset_process_variable): New functions. | |
1439 | (syms_of_process): Defsubr them. | |
1440 | (Fstart_process): Initialize private_vars plist to nil. | |
1441 | (Fmake_network_process): New arg :vars to setup the private | |
1442 | variables for new network process. | |
1443 | (server_accept_connection): Copy server's private variables to | |
1444 | client process. | |
2c10f029 | 1445 | |
048addec JD |
1446 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
1447 | crashes). Code rewritten and simplified. Now directly aligns the | |
1448 | pointer and recalculates pure_bytes_used, rather than aligning the | |
1449 | size and adjusting the pointer. | |
b8a76c6c | 1450 | |
048addec | 1451 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 1452 | |
048addec JD |
1453 | * process.c (Fset_process_contact): New function. |
1454 | (syms_of_process): defsubr it. | |
1455 | (make-network-process): Update doc. | |
3a8d0899 | 1456 | |
048addec | 1457 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 1458 | |
048addec JD |
1459 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
1460 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 1461 | |
048addec | 1462 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 1463 | |
048addec | 1464 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 1465 | |
048addec | 1466 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 1467 | |
048addec JD |
1468 | * process.c (Fmake_network_process): Convert new port number |
1469 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 1470 | |
048addec | 1471 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 1472 | |
048addec JD |
1473 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
1474 | instead of XtAppProcessEvent. | |
bf338245 | 1475 | |
048addec JD |
1476 | * xterm.c (handle_one_xevent): New function. |
1477 | (x_dispatch_event): New function. | |
1478 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 1479 | |
048addec | 1480 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 1481 | |
048addec JD |
1482 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
1483 | call XQueryPointer to get coordinates. | |
1484 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
1485 | let popup_deactivate_callback do that. Needed for Motif. | |
1486 | Call x_dispatch_event instead of XtDispatchEvent. | |
1487 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 1488 | |
048addec | 1489 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 1490 | |
6bdb309a | 1491 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
1492 | connection's local address in :local property of contact info. |
1493 | (Fmake_network_process): Record local network address for new | |
1494 | client processes in :local property of contact info. | |
6bdb309a | 1495 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 1496 | |
048addec | 1497 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 1498 | |
048addec | 1499 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 1500 | |
048addec | 1501 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 1502 | |
048addec | 1503 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 1504 | |
048addec JD |
1505 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
1506 | use the same test as for custom-variable-p. | |
8c6d74c6 | 1507 | |
048addec | 1508 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 1509 | |
048addec JD |
1510 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
1511 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
1512 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
1513 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 1514 | |
048addec JD |
1515 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
1516 | scroll_conservatively case. If scrolling that much doesn't change | |
1517 | STARTP, move it down one line. | |
e833850f | 1518 | |
048addec JD |
1519 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
1520 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 1521 | |
048addec JD |
1522 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
1523 | selected frame. | |
8c6d74c6 | 1524 | |
048addec JD |
1525 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
1526 | (syms_of_keymap): staticpro them. | |
1527 | (Fapropos_internal): Initialize them and clear them out. | |
1528 | Don't GCPRO them. | |
8c6d74c6 | 1529 | |
048addec JD |
1530 | * buffer.c (syms_of_buffer) <scroll-up-aggressively, scroll-down-aggressively>: |
1531 | Doc fixes. | |
8c6d74c6 | 1532 | |
048addec JD |
1533 | * lisp.h: New misc type Lisp_Save_Value. |
1534 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
1535 | (XSAVE_VALUE): New macro. | |
1536 | (struct Lisp_Save_Value): New data type. | |
1537 | (union Lisp_Misc): Add u_save_value alternative. | |
1538 | (make_save_value): Declared. | |
8c6d74c6 | 1539 | |
048addec | 1540 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 1541 | |
048addec JD |
1542 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
1543 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 1544 | |
048addec | 1545 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 1546 | |
048addec | 1547 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 1548 | |
048addec JD |
1549 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
1550 | in direct action cases for Qforward_char and Qbackward_char. | |
1551 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 1552 | |
048addec | 1553 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
8c6d74c6 | 1554 | |
048addec JD |
1555 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
1556 | type definition of size_t. | |
8c609cff | 1557 | |
048addec | 1558 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 1559 | |
048addec JD |
1560 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
1561 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 1562 | |
048addec | 1563 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 1564 | |
048addec JD |
1565 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
1566 | to default to t. | |
fa634a5e | 1567 | |
048addec | 1568 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 1569 | |
048addec | 1570 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 1571 | |
048addec | 1572 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 1573 | |
048addec JD |
1574 | * Makefile.in (macosx-bundle): Fixes to Mac OS X/Carbon port to |
1575 | allow building in a different directory than source. Uses some | |
1576 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 1577 | |
048addec | 1578 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 1579 | |
048addec JD |
1580 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
1581 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
1582 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
1583 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 1584 | |
048addec | 1585 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 1586 | |
048addec JD |
1587 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
1588 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 1589 | |
048addec JD |
1590 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
1591 | string as pane name, if there is one. | |
1592 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
1593 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 1594 | |
048addec JD |
1595 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
1596 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 1597 | |
048addec | 1598 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 1599 | |
048addec JD |
1600 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
1601 | (mac_menu_show): Add support for hierarchical popup menus. | |
1602 | (add_menu_item): Remove indentation support. | |
1603 | (fill_submenu, fill_menu): Create hierarchical menus | |
1604 | instead of using indentation. | |
0b17a217 | 1605 | |
048addec | 1606 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 1607 | |
048addec JD |
1608 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
1609 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 1610 | |
048addec | 1611 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 1612 | |
048addec | 1613 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 1614 | |
048addec JD |
1615 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
1616 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
1617 | being treated like C-%. Does not look for shift key to deal | |
1618 | with masking off control-key with mac-reverse-ctrl-meta. | |
f02cac82 | 1619 | |
048addec | 1620 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 1621 | |
048addec JD |
1622 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
1623 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
1624 | the events that were read ahead. | |
1625 | (popup_get_selection_unwind): New subroutine. | |
1626 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
1627 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
1628 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
1629 | Use an unwind-protect to pop down the dialog box. | |
1630 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 1631 | |
048addec JD |
1632 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
1633 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 1634 | |
048addec JD |
1635 | * lread.c (load_error_handler): New function. |
1636 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
1637 | Don't expect Fsignal to return. | |
f02cac82 | 1638 | |
048addec JD |
1639 | * eval.c: Errors and throws work right with interrupt blocking. |
1640 | (struct catchtag): New elt interrupt_input_blocked. | |
1641 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
1642 | (internal_catch, Fcondition_case, internal_condition_case) | |
1643 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
1644 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 1645 | |
048addec | 1646 | * editfns.c (Fformat): Add parens. |
f02cac82 | 1647 | |
048addec JD |
1648 | * dired.c (file_name_completion): Fix that change. |
1649 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 1650 | |
048addec | 1651 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> (tiny change) |
f02cac82 | 1652 | |
048addec JD |
1653 | * dired.c (file_name_completion): Close directory on error |
1654 | just as in directory_files_internal. | |
1a590729 | 1655 | |
048addec | 1656 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 1657 | |
048addec JD |
1658 | * window.c (Fset_window_configuration): Set old_point to correct |
1659 | value when new_current_buffer == current_buffer. | |
f02cac82 | 1660 | |
048addec | 1661 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 1662 | |
048addec JD |
1663 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
1664 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
1665 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 1666 | |
048addec JD |
1667 | These changes were in part based upon suggestions made by Peter |
1668 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 1669 | |
048addec JD |
1670 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, |
1671 | g_b_init_get_token_information, g_b_init_lookup_account_sid, | |
6bdb309a | 1672 | g_b_init_get_sid_identifier_authority ): Add several static |
048addec | 1673 | global variables. |
9785d95b | 1674 | |
048addec JD |
1675 | * w32.c (globals_of_w32): New function. Used to initialize those |
1676 | global variables that must always be initialized on startup even | |
1677 | when the global variable initialized is non zero. Its primary | |
1678 | purpose at this time is to set the global variables | |
1679 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
1680 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
1681 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
1682 | Called from main. | |
9785d95b | 1683 | |
048addec JD |
1684 | * w32.c (is_windows_9x): Perform initialization only if |
1685 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
1686 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 1687 | |
048addec JD |
1688 | * w32.c (open_process_token): Perform initialization only if |
1689 | g_b_init_open_process_token is equal to 0. On initialization set | |
1690 | g_b_init_open_process_token equal to 1. | |
2308af15 | 1691 | |
048addec JD |
1692 | * w32.c (get_token_information): Perform initialization only if |
1693 | g_b_init_get_token_information is equal to 0. On initialization | |
1694 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 1695 | |
048addec JD |
1696 | * w32.c (lookup_account_sid): Perform initialization only if |
1697 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
1698 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 1699 | |
048addec JD |
1700 | * w32.c (get_sid_identifier_authority): Perform initialization |
1701 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
1702 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 1703 | |
048addec JD |
1704 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
1705 | those global variables that must always be initialized on startup | |
1706 | even when the global variable initialized is non zero. | |
1707 | Its primary purpose at this time is to initialize the global variable | |
1708 | track_mouse_event_fn. | |
9785d95b | 1709 | |
048addec JD |
1710 | * w32fns.c (w32_wnd_proc): Remove initialization of |
1711 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. | |
9785d95b | 1712 | |
048addec | 1713 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 1714 | |
048addec JD |
1715 | * w32menu.c (globals_of_w32menu): New function. Used to |
1716 | initialize those global variables that must always be initialized | |
1717 | on startup even when the global variable initialized is non zero. | |
1718 | Its primary purpose at this time is to initialize the global | |
1719 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 1720 | |
048addec JD |
1721 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
1722 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 1723 | |
048addec | 1724 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 1725 | |
048addec JD |
1726 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
1727 | Declare them. | |
9785d95b | 1728 | |
048addec JD |
1729 | * emacs.c (main): Call globals_of_w32 prior to calling |
1730 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
1731 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
1732 | is defined. | |
9785d95b | 1733 | |
048addec JD |
1734 | * w32term.c (x_update_window_begin): Fix Windows API error |
1735 | detected by BoundsChecker. Test to determine if | |
1736 | w32_system_caret_hwnd is NULL prior to attempting to use | |
1737 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 1738 | |
048addec JD |
1739 | * w32term.c (x_update_window_end): Fix Windows API error |
1740 | detected by BoundsChecker. Test to determine if | |
1741 | w32_system_caret_hwnd is NULL prior to attempting to use | |
1742 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 1743 | |
048addec | 1744 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 1745 | |
048addec JD |
1746 | * coding.c (coding_system_require_warning): New variable. |
1747 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 1748 | |
048addec | 1749 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 1750 | |
048addec JD |
1751 | * fileio.c (choose_write_coding_system): Even if |
1752 | Vcoding_system_for_write is non-nil, if | |
1753 | coding_system_require_warning is nonzero, call | |
1754 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 1755 | |
048addec | 1756 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 1757 | |
048addec JD |
1758 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
1759 | (lisp): Add font-core. | |
2c568af5 | 1760 | |
048addec | 1761 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 1762 | |
048addec JD |
1763 | * textprop.c (text_read_only): New arg `propval'. |
1764 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
1765 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 1766 | |
048addec | 1767 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 1768 | |
048addec | 1769 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 1770 | |
048addec | 1771 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 1772 | |
048addec JD |
1773 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
1774 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
1775 | Be more careful about when help_events are generated. | |
96720f09 | 1776 | |
048addec | 1777 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 1778 | |
048addec JD |
1779 | * macterm.c (mac_check_for_quit_char): Correctly set the |
1780 | modifiers of the event to 0. | |
1781 | * mac.c (sys_select): Duplicate rfds before calling select to | |
1782 | ensure that rfds survive the while loop. | |
e5ae1c49 | 1783 | |
048addec | 1784 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 1785 | |
048addec JD |
1786 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
1787 | row_containing_pos returned NULL. | |
2eb46b2d | 1788 | |
048addec | 1789 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 1790 | |
6bdb309a | 1791 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 1792 | non-blocking. |
6bdb309a | 1793 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 1794 | the one given. |
b11f1d8a | 1795 | |
048addec | 1796 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 1797 | |
048addec | 1798 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 1799 | |
048addec | 1800 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 1801 | |
048addec JD |
1802 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
1803 | as the last thing. | |
a4ac5b17 | 1804 | |
048addec | 1805 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 1806 | |
048addec | 1807 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 1808 | |
048addec | 1809 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 1810 | |
048addec JD |
1811 | * editfns.c (Fformat): Handle precision in string conversion |
1812 | specifiers like libc functions do (ie, print at most that many | |
1813 | characters). | |
85cce843 | 1814 | |
048addec | 1815 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 1816 | |
048addec JD |
1817 | * xdisp.c (row_containing_pos): Check more carefully |
1818 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 1819 | |
048addec | 1820 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 1821 | |
048addec | 1822 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 1823 | |
048addec JD |
1824 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
1825 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 1826 | |
048addec JD |
1827 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
1828 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 1829 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 1830 | in the OS event queue. |
b11f1d8a | 1831 | |
048addec JD |
1832 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
1833 | while blocking on select. | |
0d4d26a7 | 1834 | |
048addec JD |
1835 | * mac.c (sys_read): Use sys_select to test for input first |
1836 | before calling read, to allow C-g to break. | |
9252f7bc | 1837 | |
048addec | 1838 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 1839 | |
048addec | 1840 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 1841 | |
048addec | 1842 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 1843 | |
048addec | 1844 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 1845 | |
048addec JD |
1846 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
1847 | autoload. | |
9252f7bc | 1848 | |
048addec | 1849 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 1850 | |
048addec | 1851 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 1852 | |
048addec | 1853 | 2002-12-06 Francesco Potorti` <pot@gnu.org> |
bfa261c0 | 1854 | |
048addec | 1855 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 1856 | |
048addec | 1857 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 1858 | |
048addec | 1859 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 1860 | |
048addec | 1861 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 1862 | |
048addec | 1863 | * alloca.c: Don't use #error. |
02d588e2 | 1864 | |
048addec | 1865 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 1866 | |
048addec JD |
1867 | * buffer.c (Qucs_set_table_for_input): New. |
1868 | (Fget_buffer_create): Use it. | |
1869 | (Qset_buffer_major_mode_hook): Deleted. | |
1870 | (Fset_buffer_major_mode): Revert previous change. | |
1871 | (init_buffer_once): Intern ucs-set-table-for-input. | |
1872 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
1873 | Add &Qucs_set_table_for_input. | |
451e2697 | 1874 | |
048addec | 1875 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 1876 | |
048addec JD |
1877 | * callint.c (Fcall_interactively): Use next_event only if less |
1878 | than key_count. | |
72742a99 | 1879 | |
048addec | 1880 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 1881 | |
048addec JD |
1882 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
1883 | names to 255 characters. | |
72742a99 | 1884 | |
048addec JD |
1885 | * macterm.c (XTread_socket): If all frames have been collapsed, |
1886 | expand the first one before handling drag-and-drop events. | |
72742a99 | 1887 | |
048addec JD |
1888 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
1889 | which is detected by autoconf. | |
40e6ff95 | 1890 | |
048addec | 1891 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 1892 | |
048addec JD |
1893 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
1894 | offset in two hints table to allow prebinding to be redone and | |
1895 | allow the executable to be stripped. | |
c02138c6 | 1896 | |
048addec | 1897 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 1898 | |
048addec JD |
1899 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
1900 | already provided. | |
0e47bbf7 | 1901 | |
048addec | 1902 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 1903 | |
048addec JD |
1904 | * xdisp.c (start_display): Check more intelligently for |
1905 | whether the line is continued. | |
1906 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 1907 | |
048addec | 1908 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 1909 | |
048addec JD |
1910 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
1911 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 1912 | |
048addec | 1913 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 1914 | |
048addec JD |
1915 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
1916 | more descriptive error output from lread.c:Fload upon most require | |
1917 | cycles during boostrapping. | |
1637fd2c | 1918 | |
048addec | 1919 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 1920 | |
048addec JD |
1921 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
1922 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 1923 | |
048addec JD |
1924 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
1925 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 1926 | |
048addec | 1927 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 1928 | |
048addec | 1929 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 1930 | |
048addec JD |
1931 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
1932 | Test GETPGRP_VOID instead. | |
1933 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 1934 | |
048addec JD |
1935 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
1936 | Don't define. | |
1937 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 1938 | |
048addec | 1939 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 1940 | |
048addec | 1941 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 1942 | |
048addec JD |
1943 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
1944 | supported. | |
4042a81a | 1945 | |
048addec | 1946 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 1947 | |
048addec | 1948 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 1949 | |
048addec | 1950 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 1951 | |
048addec | 1952 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 1953 | |
048addec | 1954 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 1955 | |
048addec | 1956 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 1957 | |
048addec JD |
1958 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
1959 | determine the size of pointers alloced in unexed space instead | |
1960 | of using possibly invalid emacs_zone pointers. This fixes the | |
1961 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 1962 | |
048addec | 1963 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 1964 | |
048addec | 1965 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 1966 | |
048addec JD |
1967 | * callint.c (Fcall_interactively): If a command fails because |
1968 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
1969 | record it anyway if the args don't actually do tty input. | |
5598c32e | 1970 | |
048addec | 1971 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 1972 | |
048addec | 1973 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 1974 | |
048addec JD |
1975 | * keyboard.c (interrupt_signal): Provide forward declaration. |
1976 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 1977 | |
048addec | 1978 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 1979 | |
048addec | 1980 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 1981 | |
048addec JD |
1982 | * eval.c (interactive_p): Skip any number of bytecode |
1983 | and special form frames, in any order. | |
516eea8e | 1984 | |
048addec | 1985 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 1986 | |
048addec JD |
1987 | * w32fns.c (convert_mono_to_color_image): New function. |
1988 | (xbm_load, xbm_load_image): Use it when foreground or background | |
1989 | is explicitly set. | |
04dbfa08 | 1990 | |
048addec | 1991 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 1992 | |
048addec | 1993 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 1994 | |
048addec | 1995 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 1996 | |
048addec JD |
1997 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
1998 | (XPutPixel): Swap blue and red. | |
1999 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
2000 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
2001 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
2002 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 2003 | |
048addec | 2004 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 2005 | |
048addec | 2006 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 2007 | |
048addec | 2008 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 2009 | |
048addec | 2010 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 2011 | |
048addec JD |
2012 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
2013 | malloc, realloc, calloc. | |
d824beee | 2014 | |
048addec JD |
2015 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
2016 | (bcmp): Don't define. | |
d824beee | 2017 | |
048addec | 2018 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 2019 | |
048addec | 2020 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 2021 | |
048addec | 2022 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 2023 | |
048addec | 2024 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 2025 | |
048addec JD |
2026 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
2027 | Don't include alloca.h. | |
d824beee | 2028 | |
048addec | 2029 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 2030 | |
048addec | 2031 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 2032 | |
048addec | 2033 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 2034 | |
048addec | 2035 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 2036 | |
048addec | 2037 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 2038 | |
048addec | 2039 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 2040 | |
048addec | 2041 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 2042 | |
048addec JD |
2043 | * dispextern.h (struct face): Add `overstrike' field. |
2044 | * xterm.c (x_draw_glyph_string_foreground) | |
2045 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
2046 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
2047 | result from choose_face_font. | |
2048 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
2049 | argument, and use it to return whether overstriking is desirable | |
2050 | for this face/font combo. | |
2051 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 2052 | |
048addec | 2053 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 2054 | |
048addec JD |
2055 | This change is my fix for the following entry in etc/PROBLEMS: |
2056 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
2057 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 2058 | |
048addec JD |
2059 | * w32.c: Added wrapper functions around the win32 API functions |
2060 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
2061 | GetSidIdentifierAuthority. These wrapper functions serve two | |
2062 | purposes: | |
2063 | 1. They ensure that the wrapped function can never be called | |
2064 | when Emacs is running on an operating system on which they are | |
2065 | not supported (Microsoft Windows 95 / 98 / ME). | |
2066 | 2. They call the wrapped functions via function pointers rather | |
2067 | than calling them directly. This avoids taking advantage of the | |
2068 | undocumented fact that although these functions are not supported | |
2069 | in the 9x branch of Microsoft Windows, the functions do exist in | |
2070 | the version of advapi32.dll that is found in the 9x branch of | |
2071 | Microsoft Windows. | |
f60ae425 | 2072 | |
6bdb309a | 2073 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
2074 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
2075 | and GetSidIdentifierAuthority with calls to the newly added | |
2076 | wrapper functions. | |
f60ae425 | 2077 | |
048addec JD |
2078 | * w32.h: Added extern declarations for the following functions: |
2079 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
2080 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 2081 | |
6bdb309a | 2082 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
2083 | function pointer track_mouse_event_fn in the handler for the |
2084 | WM_SETFOCUS message. | |
3582b6a3 | 2085 | |
6bdb309a | 2086 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
2087 | reinitialize the function pointers set_menu_item_info and |
2088 | get_menu_item_info. | |
f60ae425 | 2089 | |
048addec | 2090 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 2091 | |
048addec JD |
2092 | * sound.c: Added a partial implementation of play-sound-internal |
2093 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
2094 | code blocks to separate the code that will compile under | |
2095 | Microsoft Windows from the code that is specific to Gnu/Linux. | |
2096 | Moved several blocks of code around to make this separation of code | |
2097 | into Windows compatible and Gnu/Linux compatible code blocks easier. | |
f60ae425 | 2098 | |
048addec | 2099 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 2100 | |
048addec JD |
2101 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
2102 | added support for play-sound-internal under Windows would be | |
2103 | included in the build of Emacs. | |
517f42a0 | 2104 | |
048addec | 2105 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 2106 | |
048addec | 2107 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 2108 | |
048addec | 2109 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 2110 | |
048addec | 2111 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 2112 | |
048addec JD |
2113 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
2114 | (adjust_point_for_property): Move out of display and invisible even if | |
2115 | we were already inside before (in case a property was added while | |
2116 | we weren't looking). Be more careful when handling invisible props. | |
2117 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 2118 | |
048addec | 2119 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 2120 | |
048addec JD |
2121 | * w32term.c (x_draw_image_foreground) |
2122 | (w32_draw_image_foreground_1): Use standard copy and invert | |
2123 | operations to draw images. | |
aab83f91 | 2124 | |
048addec JD |
2125 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
2126 | depth of 1. | |
2127 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
2128 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 2129 | |
048addec | 2130 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 2131 | |
048addec JD |
2132 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
2133 | (w32_draw_image_foreground_1): Handle image masks. | |
2134 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 2135 | |
048addec JD |
2136 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
2137 | (x_from_xcolors): Adjust RGB values for W32. | |
2138 | (image_background, image_background_transparent) | |
2139 | (postprocess_image, x_to_xcolors, x_disable_image) | |
2140 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
2141 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
2142 | (xbm_load): Remove unused variable. | |
03670a65 | 2143 | |
048addec | 2144 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 2145 | |
048addec | 2146 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 2147 | |
048addec | 2148 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 2149 | |
048addec | 2150 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 2151 | |
048addec JD |
2152 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
2153 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
2154 | * xfns.c (x_put_x_image): | |
2155 | * xdisp.c (message2_nolog, set_message): | |
2156 | * undo.c (record_point): | |
2157 | * terminfo.c (tparam): | |
2158 | * syntax.c (scan_sexps_forward): | |
2159 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
2160 | * composite.c (update_compositions): | |
2161 | * cm.c (calccost, cmgoto): | |
2162 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 2163 | |
048addec | 2164 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 2165 | |
048addec JD |
2166 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
2167 | Don't declare. | |
59daa29a | 2168 | |
048addec | 2169 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 2170 | |
048addec JD |
2171 | * fns.c (Fcopy_sequence): Doc fix. |
2172 | (Fmap_char_table): Cast `call2'. | |
3947677c | 2173 | |
048addec JD |
2174 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
2175 | ||
2176 | * s/sol2-8.h: New file. | |
2177 | ||
2178 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
2179 | ||
2180 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
2181 | dependency on `risky-local-variable' and the :propertize form. | |
2182 | ||
2183 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
2184 | ||
2185 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
2186 | ||
2187 | * syntax.c (scan_sexps_forward): Undo last patch. | |
2188 | Use a more obvious fix: check eob before updating the syntax table. | |
2189 | ||
2190 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
2191 | ||
2192 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
2193 | a char rather than after so we don't update the table past eob. | |
2194 | ||
2195 | 2002-11-09 Dave Love <fx@gnu.org> | |
2196 | ||
2197 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
2198 | ||
2199 | * regex.c (regexec): Fix pmatch declaration. | |
2200 | ||
2201 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
2202 | ||
2203 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
2204 | to self-inserting characters. | |
2205 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
2206 | ||
2207 | * coding.c (Vtranslation_table_for_input): New. | |
2208 | (syms_of_coding): DEFVAR it. | |
2209 | ||
2210 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
2211 | ||
2212 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
2213 | window. | |
2214 | ||
2215 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
2216 | ||
6bdb309a | 2217 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
2218 | cp, and i. |
2219 | ||
2220 | 2002-11-06 Dave Love <fx@gnu.org> | |
2221 | ||
2222 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
2223 | (Fset_buffer_major_mode): Use it. | |
2224 | ||
2225 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
2226 | ||
2227 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
2228 | and stop_polling. | |
2229 | ||
2230 | * process.c (wait_reading_process_input): | |
2231 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
2232 | Avoid initialization for auto Lisp_Object var. | |
2233 | ||
2234 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
2235 | ||
2236 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
2237 | ||
2238 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
2239 | ||
2240 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
2241 | ||
2242 | * callint.c (Fcall_interactively): New local filter_specs. | |
2243 | (Fcall_interactively): Check for progn as well as let. | |
2244 | Add a gcpro. | |
2245 | (Qprogn): New variable. | |
2246 | (syms_of_callint): Staticpro and init Qprogn. | |
2247 | ||
2248 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
2249 | ||
2250 | * lread.c (Feval_buffer): Doc fix. | |
2251 | ||
2252 | 2002-11-04 Dave Love <fx@gnu.org> | |
2253 | ||
2254 | * keyboard.c (read_char): Always translate iff | |
2255 | Vkeyboard_translate_table is a char table and c is valid. | |
2256 | ||
2257 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
2258 | and fix C types. | |
2259 | ||
2260 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
2261 | ||
2262 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
2263 | ||
2264 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
2265 | ||
2266 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
2267 | overlays. Also handle `invisible' prop. | |
2268 | ||
2269 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
2270 | ||
2271 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
2272 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
2273 | ||
2274 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
2275 | ||
2276 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
2277 | ||
2278 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
2279 | ||
2280 | * xmenu.c (unuse_menu_items): New fun. | |
2281 | (menu_items_inuse): New var. | |
2282 | (syms_of_xmenu): Initialize it. | |
2283 | (init_menu_items): Use it to detect re-entrance. | |
2284 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
2285 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
2286 | ||
2287 | * editfns.c (find_field): Make an exception for nil fields. | |
2288 | ||
2289 | 2002-11-01 Dave Love <fx@gnu.org> | |
2290 | ||
2291 | * m/gec63.h: Deleted. | |
2292 | ||
2293 | 2002-10-31 Dave Love <fx@gnu.org> | |
2294 | ||
2295 | * xterm.c (XTread_socket): Fix last change. | |
2296 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
2297 | ||
2298 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
2299 | ||
2300 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
2301 | ||
2302 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
2303 | ||
2304 | * editfns.c (overlays_around, get_pos_property): New funs. | |
2305 | (find_field): Use them. | |
2306 | Also be careful not to modify POS before its last use. | |
2307 | (Fmessage): Don't Fformat if there's nothing to format. | |
2308 | ||
2309 | 2002-10-30 Dave Love <fx@gnu.org> | |
2310 | ||
2311 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
2312 | [HAVE_PTY_H]; Include pty.h. | |
2313 | ||
2314 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
2315 | ||
2316 | * xterm.c (Qeql): Declare. | |
2317 | (Vx_keysym_table): New. | |
2318 | (syms_of_xterm): Initialize it. | |
2319 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
2320 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
2321 | ||
2322 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
2323 | (lispy_kana_keys): Comment out. | |
2324 | (make_lispy_event) [XK_kana_A]: Comment out. | |
2325 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
2326 | Fix sprintf call. | |
2327 | ||
2328 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
2329 | regexp.h change). | |
2330 | (TERMINFO, LIBS_TERMCAP): Define. | |
2331 | ||
2332 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
2333 | (bcmp): Define conditional on HAVE_BCMP. | |
2334 | (NO_SIOCTL_H): Don't define. | |
2335 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
2336 | ||
2337 | * s/sol2-5.h: Don't include strings.h. | |
2338 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
2339 | ||
2340 | * s/irix6-0.h (IRIX6): Don't define. | |
2341 | (bcopy, bcmp, bzero): Don't undef. | |
2342 | ||
2343 | * s/irix6-5.h: Don't include strings.h. | |
2344 | (IRIX6): Don't define. | |
2345 | (bcopy, bcmp, bzero): Don't undef. | |
2346 | ||
2347 | * syntax.c (Fforward_comment): Doc fix. | |
2348 | ||
2349 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
2350 | ||
2351 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
2352 | name in addition to pid (as integer or string). | |
2353 | ||
2354 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
2355 | ||
2356 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
2357 | environments. | |
2358 | ||
2359 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
2360 | ||
2361 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
2362 | ||
2363 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
2364 | ||
2365 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
2366 | ||
2367 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
2368 | ||
2369 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
2370 | ||
2371 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
2372 | ||
2373 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
2374 | ||
2375 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
2376 | (x_set_title): Likewise. | |
2377 | ||
2378 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
2379 | ||
2380 | * macgui.h: | |
2381 | * w32gui.h: Remove definition of XColor. | |
2382 | ||
2383 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
2384 | ||
2385 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
2386 | ||
2387 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
2388 | Callers changed (supply dummy arg). | |
2389 | ||
2390 | * lisp.h (get_window_cursor_type): Update prototype. | |
2391 | ||
2392 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
2393 | get_window_cursor_type to track system caret. | |
2394 | ||
2395 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
2396 | ||
2397 | * process.c (Fformat_network_address): New function. | |
2398 | (syms_of_process): Defsubr it. | |
2399 | (list_processes_1): Use it to format :local/:remote address if | |
2400 | service/host is not set; before emacs would crash in that case. | |
2401 | (Fmake_network_process): Don't use Ffind_operation_coding_system | |
2402 | to setup coding system if host or service is not set. | |
2403 | ||
2404 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
2405 | ||
2406 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
2407 | ||
2408 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
2409 | COLORREF. | |
2410 | ||
2411 | * macgui.h: | |
2412 | * w32gui.h: Add definition of XColor. | |
2413 | ||
2414 | * macfns.c: | |
2415 | * w32fns.c: | |
2416 | * xfaces.c: Remove definition of XColor. | |
2417 | ||
2418 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
2419 | ||
2420 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
2421 | ||
2422 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
2423 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
2424 | window if it is dedicated. | |
2425 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
2426 | (Vspecial_display_function): Update docstring. | |
2427 | ||
2428 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
2429 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
2430 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
2431 | ||
2432 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
2433 | ||
2434 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
2435 | of a word when at the beginning. | |
2436 | ||
2437 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
2438 | ||
2439 | * lread.c (syms_of_lread): Fix typos. | |
2440 | ||
2441 | 2002-10-17 Dave Love <fx@gnu.org> | |
2442 | ||
2443 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
2444 | ||
2445 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
2446 | ||
2447 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
2448 | ||
2449 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
2450 | ||
2451 | * w16select.c (syms_of_win16select): Fix docstring for | |
2452 | `selection-coding-system'. | |
2453 | ||
2454 | * w32select.c (syms_of_w32select): Likewise. | |
2455 | ||
2456 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
2457 | ||
2458 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
2459 | a backslash-quoted char. | |
2460 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
2461 | ||
2462 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
2463 | ||
2464 | * window.c (window_scroll): Set immediate_quit. | |
2465 | ||
2466 | * print.c (print): When backquote form is the car of a list, | |
2467 | output in old style. Use old_backquote_output to output all | |
2468 | comma forms inside it in old style too. | |
2469 | ||
2470 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
2471 | ||
2472 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
2473 | ||
2474 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
2475 | batch mode). | |
2476 | ||
2477 | * lread.c (Fload): Doc fix (load-suffixes). | |
2478 | ||
2479 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
2480 | ||
2481 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
2482 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
2483 | Also switch the default to Qnil from Qt. | |
2484 | ||
2485 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
2486 | ||
2487 | * coding.c (code_convert_region): When we need more GAP for | |
2488 | conversion, pay attention to the case that coding->produced is not | |
2489 | greater than coding->consumed. | |
2490 | ||
2491 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
2492 | ||
2493 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
2494 | ||
2495 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
2496 | ||
2497 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
2498 | menu_item_selection to it to find selected item. | |
2499 | ||
2500 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
2501 | ||
2502 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
2503 | cases. The correct fix is to pass ReparentNotify to Xt. | |
2504 | The shell widget interprets ConfigureNotify differently depending | |
2505 | on if it has been reparented or not. | |
2506 | ||
2507 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
2508 | ||
2509 | * editfns.c (Fformat_time_string): Doc fix. | |
2510 | ||
2511 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
2512 | ||
2513 | * fns.c (Flength): Doc fix. | |
2514 | ||
2515 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
2516 | ||
2517 | * keyboard.c (keyremap): New struct. | |
2518 | (read_key_sequence): Use it: globally replace keytran_foo with | |
2519 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
2520 | keytran_next and fkey_next to just `next'. | |
2521 | ||
2522 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
2523 | ||
2524 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
2525 | treated like an X keysym. | |
2526 | ||
2527 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
2528 | ||
2529 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
2530 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
2531 | This is to also handle x/y changes that occur because of a resize. | |
2532 | ||
2533 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
2534 | ||
2535 | * frame.c (Vdelete_frame_functions): New variable. | |
2536 | (syms_of_frame): Initialize and defvar it. | |
2537 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
2538 | it when frame's `tooltip' parameter is non-nil. | |
2539 | ||
2540 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
2541 | ||
2542 | * w32fns.c (x_create_tip_frame): Likewise. | |
2543 | ||
2544 | * macfns.c (x_create_tip_frame): Likewise. | |
2545 | ||
2546 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
2547 | ||
2548 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
2549 | -1 before calling ccl_driver. | |
2550 | ||
2551 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
2552 | Only when it is non-nil, handle composition sequence. | |
2553 | (setup_coding_system) <0>: Don't force composition handling. | |
2554 | ||
2555 | * Makefile.in (lisp, shortlisp): Add utf-16.elc | |
2556 | ||
2557 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
2558 | ||
2559 | * search.c (Freplace_match): Adjust match data for the substitution | |
2560 | just made in the buffer. | |
2561 | ||
2562 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
2563 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
2564 | ||
2565 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
2566 | ||
2567 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
2568 | (read_char): Use them. Do all exits thru the end of the function. | |
2569 | ||
2570 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
2571 | ||
2572 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
2573 | is nil. | |
2574 | ||
2575 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
2576 | ||
2577 | * regex.h (__restrict_arr): Don't define if already defined. | |
2578 | ||
2579 | * coding.c (run_pre_post_conversion_on_str): | |
2580 | Save and restore Vdeactivate_mark. | |
2581 | ||
2582 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
2583 | ||
2584 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
2585 | ||
2586 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
2587 | ||
2588 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
2589 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
2590 | (choose_face_font): If C is a single byte char or latin-1, call | |
2591 | try_font_list with PREFER_FACE_FAMILY 1. | |
2592 | ||
2593 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
2594 | ||
2595 | * window.c (select_window_1): Don't select frame. | |
2596 | Set frame's selected window only when frame itself is selected. | |
2597 | (Fselect_window): Doc fix. | |
2598 | ||
2599 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
2600 | ||
2601 | * process.c (make-network-process): Doc fix (there is no | |
2602 | network-server-log-function hook). | |
2603 | ||
2604 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
2605 | ||
2606 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
2607 | (syms_of_print): Doc fix for `print-number-table'. | |
2608 | ||
2609 | * unexelf.c (unexec): Undo previous change. | |
2610 | ||
2611 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
2612 | ||
2613 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
2614 | ||
2615 | 2002-09-16 Dave Love <fx@gnu.org> | |
2616 | ||
2617 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
2618 | 25-08-1999. | |
2619 | ||
2620 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
2621 | ||
2622 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
2623 | ||
2624 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
2625 | ||
2626 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
2627 | ||
2628 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
2629 | ||
2630 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
2631 | ||
2632 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
2633 | ||
2634 | * unexsol.c: Don't use report_file_error; do it by hand | |
2635 | using dlerror. | |
2636 | ||
2637 | * process.c (wait_reading_process_input, both versions): | |
2638 | Before calling turn_on_atimers, call stop_polling. | |
2639 | ||
2640 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
2641 | ||
2642 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
2643 | we go to too_near_end, call clear_glyph_matrix. | |
2644 | (redisplay_window): After make_cursor_line_fully_visible, | |
2645 | call clear_glyph_matrix and bypass `goto done'. | |
2646 | ||
2647 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
2648 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
2649 | ||
2650 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
2651 | ||
2652 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
2653 | Only call push_message if we need to. | |
2654 | At the same time, make an unwind-protect to pop it. | |
2655 | Rename local message_p to old_message_p. | |
2656 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
2657 | (do_auto_save_unwind): Don't call pop_message. | |
2658 | ||
2659 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
2660 | ||
2661 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
2662 | ||
2663 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
2664 | ||
2665 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
2666 | ||
2667 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
2668 | ||
2669 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
2670 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
2671 | (re_match_2_internal): Be more careful with infinite loops. | |
2672 | ||
2673 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
2674 | ||
2675 | * macros.c (end_kbd_macro): New function. | |
2676 | (Fend_kbd_macro): Use it. | |
2677 | ||
2678 | * macros.h (end_kbd_macro): Declare extern. | |
2679 | ||
2680 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
2681 | end and save it instead of discarding it. | |
2682 | ||
2683 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
2684 | ||
2685 | * s/sol2-6.h: Fix typo. Add comment. | |
2686 | ||
2687 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
2688 | ||
2689 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
2690 | ||
2691 | * s/sol2-6.h: New file. | |
2692 | ||
2693 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
2694 | ||
2695 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
2696 | ||
2697 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
2698 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). | |
2699 | ||
2700 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
2701 | ||
2702 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
2703 | ||
2704 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
2705 | ||
2706 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
2707 | ||
2708 | * coding.c (syms_of_coding): Fix spacing. | |
2709 | ||
2710 | * composite.c (Fcompose_region_internal) | |
2711 | (Fcompose_string_internal): Likewise. | |
2712 | ||
2713 | * data.c (Flsh): Likewise. | |
2714 | ||
2715 | * fontset.c (Fset_fontset_font): Likewise. | |
2716 | ||
2717 | * macfns.c (Fx_server_max_request_size): Likewise. | |
2718 | ||
2719 | * w16select.c (syms_of_win16select): Likewise. | |
2720 | ||
2721 | * w32select.c (syms_of_w32select): Likewise. | |
2722 | ||
2723 | * xselect.c (syms_of_xselect): Likewise. | |
2724 | ||
2725 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
2726 | ||
2727 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
2728 | call EXTEND_RANGE_TABLE and return a proper value. | |
2729 | (set_image_of_range): Don't call set_image_of_range_1 | |
2730 | if no TRANSLATE or if range includes all of Latin-1. | |
2731 | Only call it for the Latin-1 part of the range. | |
2732 | For other cases, make two separate ranges, | |
2733 | one for the original specified characters and one for | |
2734 | their case-conversions. | |
2735 | ||
2736 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
2737 | ||
2738 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
2739 | ||
2740 | * window.c (displayed_window_lines): Correct for one-off bug | |
2741 | in HEIGHT on non-window displays. | |
2742 | ||
2743 | * regex.c (set_image_of_range_1): New function. | |
2744 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
2745 | Return a value to indicate running out of memory. | |
2746 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
2747 | (extend_range_table_work_area): New subroutine. | |
2748 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
2749 | Different calling conventions, and used from set_image_of_range{,_1}. | |
2750 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
2751 | ||
2752 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
2753 | ||
2754 | * makefile.w32-in: All dependencies updated. | |
2755 | ||
2756 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
2757 | ||
2758 | * unexsol.c: New file. | |
2759 | ||
2760 | * xfns.c (Qbox): Declare external, don't define. | |
2761 | ||
2762 | * xdisp.c (redisplay_window) <force-start case>: | |
2763 | If point is on semi-visible last line, reposition | |
2764 | it at previous line. | |
2765 | ||
2766 | * alloc.c (display_malloc_warning): Use display-warning. | |
2767 | (malloc_warning_1): Function deleted. | |
2768 | ||
2769 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
2770 | ||
2771 | * lread.c (read1): Handle #! by skipping the line. | |
2772 | ||
2773 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
2774 | ||
2775 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
2776 | Don't include LDFLAGS. | |
2777 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
2778 | ||
2779 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
2780 | ||
2781 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
2782 | member of x_display_info unless we compile for some window system. | |
2783 | ||
2784 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
2785 | ||
2786 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
2787 | (get_window_cursor_type): Don't use them. | |
2788 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
2789 | ||
2790 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
2791 | ||
2792 | * xdisp.c (get_next_display_element): Fix previous change. | |
2793 | ||
2794 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
2795 | ||
2796 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
2797 | (expose_window): Use it to fix the display of overlapping | |
2798 | rows (merge code from xterm.c). | |
2799 | ||
2800 | * macfns.c (Qbox): Add extern declaration. | |
2801 | ||
2802 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
2803 | ||
2804 | * w32fns.c (Qbox): Make extern. | |
2805 | (syms_of_w32fns): Remove initialization of Qbox. | |
2806 | ||
2807 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
2808 | ||
2809 | * xfns.c (Fx_open_connection): Fix error message. | |
2810 | ||
2811 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
2812 | ||
2813 | The following changes consolidates the handling of the cursor | |
2814 | type in xdisp.c, moving duplicate code and functionality from | |
2815 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
2816 | ||
2817 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
2818 | Added DEFAULT_CURSOR value. | |
2819 | (struct frame) <desired_cursor, cursor_width> | |
2820 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
2821 | Consolidated from output_x, output_w32 and output_mac structs. | |
2822 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
2823 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
2824 | ||
2825 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
2826 | Variables consolidated here. | |
2827 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
2828 | (Vcursor_in_non_selected_windows): Renamed from | |
2829 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
2830 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
2831 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
2832 | consolidated here. Recognize Qhollow setting. | |
2833 | (set_frame_cursor_types): New function to set frame cursor types | |
2834 | based on the frame parameters. | |
2835 | (get_window_cursor_type): New function to calculate new cursor | |
2836 | type and width for the specified window. Based on duplicated | |
2837 | code consolidated here. | |
2838 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
2839 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
2840 | before using built-in blink off methods. | |
2841 | ||
2842 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
2843 | ||
2844 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
2845 | (get_specified_cursor_type, get_window_cursor_type) | |
2846 | (set_frame_cursor_types): Added prototypes. | |
2847 | ||
2848 | * macfns.c (x_specified_cursor_type): Removed. | |
2849 | (x_set_cursor_type): Use set_frame_cursor_types. | |
2850 | (Qbar, Qbox): Removed. | |
2851 | (syms_of_macfns): Don't intern or staticpro them. | |
2852 | ||
2853 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
2854 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
2855 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
2856 | Remove unused local variables cursor_non_selected, active_cursor. | |
2857 | Redraw cursor if hbar cursor width changes. | |
2858 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
2859 | ||
2860 | * macterm.h (enum text_cursor_kinds): Removed. | |
2861 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
2862 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
2863 | (FRAME_DESIRED_CURSOR): Macro removed. | |
2864 | ||
2865 | * w32fns.c (Vblink_cursor_alist): Removed. | |
2866 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
2867 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
2868 | (x_specified_cursor_type): Removed. | |
2869 | (x_set_cursor_type): Use set_frame_cursor_types. | |
2870 | ||
2871 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
2872 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
2873 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
2874 | Remove unused local variables cursor_off_state. | |
2875 | Redraw cursor if hbar cursor width changes. | |
2876 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
2877 | ||
2878 | * w32term.h (enum text_cursor_kinds): Removed. | |
2879 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
2880 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
2881 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
2882 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
2883 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
2884 | w32_highlight_frame. | |
2885 | ||
2886 | * xfns.c (Vblink_cursor_alist): Removed. | |
2887 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
2888 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
2889 | (x_specified_cursor_type): Removed. | |
2890 | (x_set_cursor_type): Use set_frame_cursor_types. | |
2891 | ||
2892 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
2893 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
2894 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
2895 | Remove unused local variables cursor_off_state. | |
2896 | Redraw cursor if hbar cursor width changes. | |
2897 | ||
2898 | * xterm.h (enum text_cursor_kinds): Removed. | |
2899 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
2900 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
2901 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
2902 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
2903 | (x_specified_cursor_type): Remove prototype. | |
2904 | ||
2905 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
2906 | ||
2907 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
2908 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
2909 | (Vblink_cursor_alist): New variable. | |
2910 | (syms_of_w32fns): Initialize and defvar it. | |
2911 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
2912 | Exceptions are hollow boxes. | |
2913 | (Qbox, Qhollow): New variables. | |
2914 | (syms_of_w32fns): Initialize and staticpro them. | |
2915 | ||
2916 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
2917 | New macros. | |
2918 | (struct w32_output): New fields blink_off_cursor, | |
2919 | blink_off_cursor_width. | |
2920 | (FRAME_CURSOR_WIDTH): New macro. | |
2921 | ||
2922 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
2923 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
2924 | ||
2925 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
2926 | for bar cursor. | |
2927 | ||
2928 | * w32term.c (expose_overlaps): New function. | |
2929 | (expose_window): Use it to fix the display of overlapping rows. | |
2930 | ||
2931 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
2932 | ||
2933 | * xfns.c (Fx_open_connection): Improve help when X connection | |
2934 | fails, xhost is insecure and xauth is better. | |
2935 | ||
2936 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
2937 | ||
2938 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
2939 | composite.h. | |
2940 | ||
2941 | * emacs.c (USAGE1): Add missing newline. | |
2942 | ||
2943 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
2944 | ||
2945 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
2946 | ||
2947 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
2948 | ||
2949 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
2950 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
2951 | (Vblink_cursor_alist): New variable. | |
2952 | (syms_of_xfns): Initialize and defvar it. | |
2953 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
2954 | Exceptions are hollow boxes. | |
2955 | (Qbox, Qhollow): New variables. | |
2956 | (syms_of_xfns): Initialize and staticpro them. | |
2957 | ||
2958 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
2959 | New macros. | |
2960 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
2961 | ||
2962 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
2963 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
2964 | ||
2965 | * emacs.c (main): Handle --script. | |
2966 | (USAGE1): Mention --script. | |
2967 | (standard_args): Define sort order for --script. | |
2968 | ||
2969 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
2970 | ||
2971 | * xdisp.c (redisplay_updating_p): Variable removed. | |
2972 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
2973 | New variables. | |
2974 | (init_iterator): Don't free realized faces if | |
2975 | inhibit_free_realized_faces is set. | |
2976 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
2977 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
2978 | initialize Qinhibit_free_realized_faces. | |
2979 | ||
2980 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
2981 | when iterator is adding glyphs to a glyph matrix. | |
2982 | ||
2983 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
2984 | ||
2985 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
2986 | octal form for such eight-bit characters that can be converted to | |
2987 | multibyte char. | |
2988 | ||
2989 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
2990 | ||
2991 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize foreground | |
2992 | and background colors. From Joe Buehler (tiny change). | |
2993 | ||
2994 | 2002-08-26 Miles Bader <miles@gnu.org> | |
2995 | ||
2996 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
2997 | ||
2998 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
2999 | ||
3000 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
3001 | defined instead of MAC_OSX. | |
3002 | ||
3003 | * s/darwin.h (select): Define select to sys_select only if | |
3004 | HAVE_CARBON is defined. | |
3005 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
3006 | (DONT_REOPEN_PTY): #def it. | |
3007 | ||
3008 | * macterm.c (XTread_socket): Remove code to call | |
3009 | SendEventToEventTarget for keys with command modifiers when | |
3010 | mac_command_key_is_meta is nil. | |
3011 | ||
3012 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
3013 | ||
3014 | * eval.c (Fdefvar): Fix last change. | |
3015 | ||
3016 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
3017 | ||
3018 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
3019 | Record variables in load history as (defvar . VAR). | |
3020 | (Fdefvar): Don't record in load history if no initial value. | |
3021 | (Qdefvar): New variable. | |
3022 | (syms_of_eval): Init and staticpro it. | |
3023 | ||
3024 | * lread.c (syms_of_lread): Doc fix. | |
3025 | (build_load_history): Use Fmember to see if a definition | |
3026 | is already in the Vload_history element. | |
3027 | ||
3028 | * process.c (Fstart_process): Remove /: from program name. | |
3029 | ||
3030 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
3031 | has a `safe-magic' property. | |
3032 | ||
3033 | * callproc.c (Fcall_process): Remove /: from program name. | |
3034 | ||
3035 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
3036 | ||
3037 | * regex.c (PATFETCH): Remove the translating fetch. | |
3038 | (PATFETCH_RAW): Rename to PATFETCH. | |
3039 | (set_image_of_range): New fun. | |
3040 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
3041 | (regex_compile): Don't translate the pattern chars so eagerly. | |
3042 | Only do it when inserting an `exactn' bytecode or when handling | |
3043 | a char-range. | |
3044 | (mutually_exclusive_p): Avoid empty statement. | |
3045 | ||
3046 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
3047 | ||
3048 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
3049 | end up on a partially visible line; this reverts a specific part | |
3050 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
3051 | display error which has been reported several times now. | |
3052 | However it introduces the problem that changes was supposed to fix. | |
3053 | See my comments in the source if you want to debug this further. | |
3054 | ||
3055 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
3056 | ||
3057 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
3058 | ||
3059 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3060 | ||
3061 | * msdos.c (croak): Add `void' to definition. | |
3062 | ||
3063 | * sysdep.c [MSDOS] (request_sigio, unrequest_sigio): | |
3064 | Don't define them, they are defined in msdos.c. | |
3065 | ||
3066 | * mem-limits.h [MSDOS]: Declare etext. | |
3067 | ||
3068 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
3069 | `const' since CORRECT_DIR_SEPS modifies its target. | |
3070 | ||
3071 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
3072 | ||
3073 | * keyboard.c (Fclear_this_command_keys): Added optional arg | |
3074 | KEEP-RECORD to avoid clearing lossage when we just want to clear | |
3075 | the current key sequence (kmacro needs this). | |
3076 | ||
3077 | 2002-08-19 Kenichi Handa <handa@localhost> | |
3078 | ||
3079 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
3080 | ||
3081 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
3082 | cons, return Qnil. | |
3083 | ||
3084 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
3085 | ||
3086 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
3087 | ||
3088 | * sysdep.c [!VMS]: Include sys/files.h. | |
3089 | ||
3090 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
3091 | ||
3092 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
3093 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
3094 | ||
3095 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
3096 | ||
3097 | * mac.c (init_mac_osx_environment): New function. | |
3098 | ||
3099 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
3100 | ||
3101 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
3102 | ||
3103 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
3104 | executing macro before appending to it (when used from Lisp). | |
3105 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
3106 | which is called prior to each iteration of macro (for kmacro.el). | |
3107 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
3108 | ||
3109 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
3110 | ||
3111 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
3112 | ||
3113 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
3114 | ||
3115 | * xselect.c (QUTF8_STRING): New variable. | |
3116 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
3117 | (x_atom_to_symbol): Likewise. | |
3118 | (x_get_local_selection): New argument local_request. If it is | |
3119 | nonzero, call handler_fn with the second arg nil. | |
3120 | (x_handle_selection_request): Call x_get_local_selection with | |
3121 | local_request 0. | |
3122 | (lisp_data_to_selection_data): Don't encode the string here. | |
3123 | (Fx_get_selection_internal): Call x_get_local_selection with | |
3124 | local_request 1. | |
3125 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
3126 | ||
3127 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
3128 | ||
3129 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
3130 | ||
3131 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
3132 | ||
3133 | * minibuf.c (Fminibufferp): New function. | |
3134 | (syms_of_minibuf): Defsubr it. | |
3135 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
3136 | ||
3137 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
3138 | ||
3139 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
3140 | ||
3141 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
3142 | ||
3143 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
3144 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
3145 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
3146 | already. | |
3147 | ||
3148 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
3149 | ||
3150 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
3151 | ||
3152 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
3153 | (Vmac_pass_command_to_system): New variable. | |
3154 | (Vmac_pass_control_to_system): New variable. | |
3155 | (do_mouse_moved): Check wp with is_emacs_window. | |
3156 | (XTread_socket): Check window_ptr with is_emacs_window. | |
3157 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
3158 | events back to Mac Toolbox for processing, depending on values of | |
3159 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
3160 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
3161 | Vmac_pass_control_to_system. | |
3162 | ||
3163 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
3164 | ||
3165 | * coding.c (unencodable_char_position): New function. | |
3166 | (Funencodable_char_position): New function. | |
3167 | (syms_of_coding): Defsubr Funencodable_char_position. | |
3168 | ||
3169 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
3170 | ||
3171 | * mac.c (sys_select) [MAC_OSX]: New function. | |
3172 | ||
3173 | * macterm.c (MakeMeTheFrontProcess): New function. | |
3174 | (mac_initialize): Call MakeMeTheFrontProcess. | |
3175 | ||
3176 | * s/darwin.h: Define select to sys_select. | |
3177 | ||
3178 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
3179 | ||
3180 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
3181 | ||
3182 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
3183 | ||
3184 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
3185 | end of the buffer. | |
3186 | ||
3187 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> | |
3188 | ||
3189 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
3190 | ||
3191 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
3192 | ||
3193 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
3194 | ||
3195 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
3196 | VISIT is a filename, make it the target. | |
3197 | ||
3198 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
3199 | ||
3200 | * alloc.c (mark_object): Detect long lists for debugging. | |
3201 | (mark_object_loop_halt): New variable. | |
3202 | ||
3203 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
3204 | ||
3205 | * data.c (Fmake_variable_frame_local): Doc fix. | |
3206 | ||
3207 | 2002-08-01 David Ponce <david@dponce.com> | |
3208 | ||
3209 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
3210 | (malloc_widget_value, free_widget_value) | |
3211 | (w32_free_submenu_strings): Use them. | |
3212 | ||
3213 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
3214 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
3215 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
3216 | (single_submenu, set_frame_menubar) | |
3217 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
3218 | ||
3219 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
3220 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
3221 | ||
3222 | * w32menu.c: Changes adapted from xmenu.c | |
3223 | (set_frame_menubar): First parse all submenus, | |
3224 | then make widget_value trees from them. | |
3225 | Don't allocate any widget_value objects | |
3226 | until we are done with the parsing. | |
3227 | (parse_single_submenu): New function. | |
3228 | (digest_single_submenu): New function. | |
3229 | (single_submenu): Function deleted, replaced by those two. | |
3230 | ||
3231 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
3232 | ||
3233 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
3234 | returns a valid window pointer before proceeding for keyDown and | |
3235 | autoKey events. | |
3236 | ||
3237 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
3238 | ||
3239 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
3240 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
3241 | (x_iconify_frame): Call CollapseWindow. | |
3242 | (Vmac_reverse_ctrl_meta): New variable. | |
3243 | (Vmac_wheel_button_is_mouse_2): New variable. | |
3244 | (init_mac_drag_n_drop): New function. | |
3245 | (mac_do_receive_drag): New function. | |
3246 | (mac_handle_service_event): New function. | |
3247 | (init_service_handler): New function. | |
3248 | (mac_to_emacs_modifiers): New function. | |
3249 | (mac_event_to_emacs_modifiers): New function. | |
3250 | (mac_get_mouse_btn): New function. | |
3251 | (mac_convert_event_ref): New function. | |
3252 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
3253 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
3254 | mac_get_mouse_btn. | |
3255 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
3256 | ||
3257 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
3258 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
3259 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
3260 | TOOL_BAR_EVENT for MAC_OS as well. | |
3261 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
3262 | as for WINDOWS_NT. | |
3263 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
3264 | ||
3265 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
3266 | ||
3267 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
3268 | ||
3269 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
3270 | lead to a newline being skipped. | |
3271 | ||
3272 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
3273 | ||
3274 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
3275 | ||
3276 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
3277 | ||
3278 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
3279 | ||
3280 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
3281 | ||
3282 | * macfns.c: #undef init_process before #define-ing it. | |
3283 | ||
3284 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
3285 | HAVE_CARBON is defined. | |
3286 | ||
3287 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
3288 | ||
3289 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
3290 | then make widget_value trees from them. | |
3291 | Don't allocate any widget_value objects | |
3292 | until we are done with the parsing. | |
3293 | (parse_single_submenu): New function. | |
3294 | (digest_single_submenu): New function. | |
3295 | (single_submenu): Function deleted, replaced by those two. | |
3296 | ||
3297 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
3298 | ||
3299 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
3300 | `w32-get-true-file-attributes'. | |
3301 | ||
3302 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
3303 | ||
3304 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
3305 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
3306 | ||
3307 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
3308 | ||
3309 | * keyboard.c (make_lispy_event): | |
3310 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
3311 | Explicitly clear up_modifier in event->modifiers. | |
3312 | ||
3313 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
3314 | ||
3315 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
3316 | ||
3317 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
3318 | for bar cursor. | |
3319 | ||
3320 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
3321 | ||
3322 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
3323 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
3324 | it in the normal loop. | |
3325 | ||
3326 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
3327 | ||
3328 | * xterm.c (expose_overlaps): New function. | |
3329 | (expose_window): Use it to fix the display of overlapping rows. | |
3330 | ||
3331 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
3332 | ||
3333 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
3334 | ||
3335 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
3336 | since it only depends on XUINT. | |
3337 | ||
3338 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
3339 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
3340 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
3341 | Macros deleted. | |
3947677c | 3342 | |
77d1daf2 AS |
3343 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
3344 | its value over other approaches. | |
3345 | * sysdep.c (start_of_data): Don't define the function if a macro | |
3346 | form has been defined. | |
8a8e19a3 | 3347 | |
048addec JD |
3348 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
3349 | ||
3350 | * xdisp.c (redisplay_updating_p): New variable. | |
3351 | (init_iterator): Don't free realized faces when | |
3352 | redisplay_updating_p is set. | |
3353 | (redisplay_internal): Set redisplay_updating_p while updating | |
3354 | the display. | |
3355 | ||
3356 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
3357 | ||
3358 | * editfns.c (Fmessage): Treat "" like nil. | |
3359 | ||
3360 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
3361 | ||
3362 | * xdisp.c (face_before_or_after_it_pos): | |
3363 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
3364 | ||
3365 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
3366 | ||
3367 | * callproc.c (init_callproc) [DOS_NT]: | |
3368 | Initialize Vshared_game_score_directory to nil. | |
3369 | (syms_of_callproc) [DOS_NT]: Likewise. | |
3370 | ||
3371 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
3372 | ||
3373 | * xdisp.c (display_line): Replace an abort with xassert. | |
3374 | ||
3375 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
3376 | ||
3377 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
3378 | and END_UNCHANGED when setting buffer_unchanged_p. | |
3379 | Use current_matrix_up_to_date_p to decide whether to use | |
3380 | try_cursor_movement. | |
3381 | ||
3382 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
3383 | ||
3384 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
3385 | ||
3386 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
3387 | Set to nil if dir does not exist. | |
3388 | (syms_of_callproc): Init unconditionally and simply. | |
3389 | ||
3390 | * buffer.c (Fbuffer_list): Doc fix. | |
3391 | ||
3392 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
3393 | ||
3394 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
3395 | ||
3396 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
3397 | pages to unmap is rounded towards zero. | |
3398 | ||
3399 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
3400 | (XSETINT): Deleted. | |
3401 | ||
3402 | * m/att3b.h (XINT): Don't define. | |
3403 | (VALBITS, VALMASK, XTYPE): Deleted. | |
3404 | (DATA_SEG_BITS): Define. | |
3405 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
3406 | ARRAY_MARK_FLAG): Deleted. | |
3407 | (DATA_SEG_BITS): Define. | |
3408 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
3409 | (DATA_SEG_BITS): Define. | |
3410 | ||
3411 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
3412 | ||
3413 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
3414 | Calls changed. | |
3415 | ||
3416 | * lisp.h (print_error_message): Declare new args. | |
3417 | ||
3418 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
3419 | and CONTEXT to print_error_message, don't print them here. | |
3420 | For a Quit, don't use Vsignaling_function. | |
3421 | Call message_log_maybe_newline. | |
3422 | ||
3423 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
3424 | ||
3425 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
3426 | ||
3427 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
3428 | ||
3429 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
3430 | ||
3431 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
3432 | point to const. | |
3433 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
3434 | const. | |
3435 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
3436 | * coding.c (encode_eol, detect_coding, detect_eol): | |
3437 | (decode_coding, encode_coding, detect_coding_system): | |
3438 | Source strings now treated as const. | |
3439 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
3440 | modify Lisp string contents. | |
3441 | * coding.h (decode_coding, encode_coding, detect_coding, | |
3442 | detect_eol): Declarations updated. | |
3443 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
3444 | as const. | |
3445 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
3446 | * lisp.h (STRING_COPYIN): New macro. | |
3447 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
3448 | (internal_with_output_to_temp_buffer): Declarations updated. | |
3449 | * print.c (temp_output_buffer_setup): | |
3450 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
3451 | pointer to const. | |
3452 | * sound.c (struct sound_device): Function pointer field "write" | |
3453 | buffer argument now points to const. | |
3454 | (vox_write): Buffer argument points to const. | |
3455 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
3456 | contents as const. | |
3457 | * sysdep.c (emacs_write): Buffer pointer now const. | |
3458 | * term.c (encode_terminal_code): Buffer pointer now const. | |
3459 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
3460 | (x_face_list_fonts, x_update_menu_appearance): | |
3461 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
3462 | ||
3463 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
3464 | ||
3465 | * fileio.c (Ffile_name_as_directory): Fix argument name in docstring. | |
3466 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
3467 | ||
3468 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. | |
3469 | ||
3470 | * fileio.c (syms_of_fileio): Likewise. | |
3471 | ||
3472 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
3473 | ||
3474 | * data.c (Fdefalias): Doc fix. | |
3475 | ||
3476 | 2002-07-17 Dave Love <fx@gnu.org> | |
3477 | ||
3478 | * intervals.h (text_property_stickiness): Use P_. | |
3479 | ||
3480 | * ccl.c: Remove `emacs' conditionals. | |
3481 | (ccl_backtrace_table): Fix size spec. | |
3482 | (ccl_driver): Fix type errors. | |
3483 | ||
3484 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
3485 | ||
3486 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
3487 | (make_multibyte_string, build_string): String pointer args now | |
3488 | point to const. | |
3489 | * charset.c (find_charset_in_text, c_string_width): | |
3490 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
3491 | * fileio.c (report_file_error): | |
3492 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
3493 | (count_combining_before, count_combining_after, insert_1_both): | |
3494 | (insert, insert_and_inherit, insert_string): | |
3495 | (insert_before_markers, insert_before_markers_and_inherit): | |
3496 | * lread.c (intern, oblookup, hash_string): | |
3497 | * minibuf.c (temp_echo_area_glyphs): | |
3498 | * search.c (fast_c_string_match_ignore_case): | |
3499 | * sysdep.c (emacs_open, set_file_times): | |
3500 | * xfaces.c (xstricmp): | |
3501 | * xdisp.c (store_frame_title, string_char_and_length): | |
3502 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
3503 | (set_message_1): Cast message string argument to const pointer. | |
3504 | * editfns.c (general_insert_function): Insertion function now | |
3505 | takes pointer to const for input data. | |
3506 | * charset.h (find_charset_in_text, c_string_width): | |
3507 | (parse_str_as_multibyte): Declarations updated. | |
3508 | * dispextern.h (xstricmp): Declaration updated. | |
3509 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
3510 | (count_size_as_multibyte, count_combining_before): | |
3511 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
3512 | (insert, insert_and_inherit, insert_before_markers) | |
3513 | (insert_before_markers_and_inherit, set_message, message2): | |
3514 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
3515 | (make_multibyte_string, intern, oblookup, report_file_error): | |
3516 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
3517 | (emacs_open, xstrdup): Declarations updated. | |
3518 | * systime.h (set_file_times): Declaration updated. | |
3519 | ||
3520 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
3521 | for pointer to lisp string data. | |
3522 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
3523 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
3524 | * coding.c (Ffind_coding_systems_region_interval): | |
3525 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
3526 | (Fmake_directory_internal, Fdelete_directory): | |
3527 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
3528 | * fontset.c (font_family_registry, fs_query_fontset): | |
3529 | (list_fontsets): | |
3530 | * frame.c (Fframe_parameter): | |
3531 | * keyboard.c (cmd_error_internal): | |
3532 | * keymap.c (Fdescribe_buffer_bindings): | |
3533 | * lread.c (complete_filename_p, openp): | |
3534 | * minibuf.c (Fminibuffer_complete_word): | |
3535 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
3536 | (face_before_or_after_it_pos, next_element_from_string): | |
3537 | (get_overlay_arrow_glyph_row, display_mode_element): | |
3538 | (decode_mode_spec_coding): | |
3539 | * xterm.c (same_x_server): Likewise. | |
3540 | ||
3541 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
3542 | settings of non-existent fields. | |
3543 | ||
3544 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
3545 | copy a lisp value. | |
3546 | ||
3547 | * lread.c (Fintern_soft): Use string macros instead of | |
3548 | Lisp_String fields. | |
3549 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
3550 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
3551 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
3552 | ||
3553 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
3554 | ||
3555 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
3556 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
3557 | XSTRING()->size_byte. | |
3558 | ||
3559 | * lisp.h (SDATA, SREF): Produce rvalue. | |
3560 | (SSET): New macro. | |
3561 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
3562 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
3563 | a string. | |
3564 | * casefiddle.c (casify_object): Use SSET. | |
3565 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
3566 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
3567 | address of string contents. | |
3568 | * data.c (Faref): Use SDATA. | |
3569 | (Faset): Use SDATA, SSET. | |
3570 | * dired.c (directory_files_internal): Use SSET. | |
3571 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
3572 | (Fread_file_name): Use SREF, SSET. | |
3573 | * fns.c (concat): Use SSET. | |
3574 | (concat, Fdelete): Use SDATA. | |
3575 | * insdel.c (insert_from_string_1): Use SDATA. | |
3576 | * keyboard.c (Fevent_convert_list): Use SREF. | |
3577 | * lread.c (Fload): Use SDATA, SSET. | |
3578 | * macfns.c (validate_x_resource_name): Use SSET. | |
3579 | * process.c (status_message): Use SSET. | |
3580 | * search.c (wordify): Use SDATA. | |
3581 | (Freplace_match): Use SREF. | |
3582 | * w32fns.c (validate_x_resource_name): Use SSET. | |
3583 | * xfns.c (validate_x_resource_name): Use SSET. | |
3584 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
3585 | ||
3586 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
3587 | ||
3588 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
3589 | ||
3590 | * xdisp.c (reconsider_clip_changes): | |
3591 | Don't test prevent_redisplay_optimizations_p. | |
3592 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
3593 | along with clip_changed in some cases. | |
3594 | (try_window_id): Likewise. | |
3595 | (redisplay_window): New local var buffer_unchanged_p. | |
3596 | ||
3597 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
3598 | ||
3599 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
3600 | (process_send_signal): Clean up handling of GID. | |
3601 | Detect errors in ioctls meant to set GID. | |
3602 | ||
3603 | * window.c (temp_output_buffer_show): | |
3604 | Don't set prevent_redisplay_optimizations_p. | |
3605 | ||
3606 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
3607 | ||
3608 | * eval.c (Fdefvaralias): Add docstring argument. | |
3609 | ||
3610 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
3611 | ||
3612 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
3613 | (STRING_SET_INTERVALS): New macro. | |
3614 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
3615 | * fns.c (Fstring_as_multibyte): Likewise. | |
3616 | * intervals.c (balance_possible_root_interval, delete_interval) | |
3617 | (create_root_interval, copy_intervals_to_string): Likewise. | |
3618 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
3619 | instead of 0. | |
3620 | ||
3621 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
3622 | ||
3623 | * lisp.h (STRING_SET_CHARS): New macro. | |
3624 | (SCHARS, SBYTES): Produce rvalues. | |
3625 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
3626 | * fns.c (concat): Likewise. | |
3627 | * lread.c (read_vector): Likewise. | |
3628 | ||
3629 | * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE. | |
3630 | (STRING_SET_UNIBYTE): New macro. | |
3631 | (SET_STRING_BYTES): Deleted. Callers (all of which supplied a | |
3632 | length of -1) changed to use STRING_SET_UNIBYTE. | |
3633 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
3634 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
3635 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
3636 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
3637 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
3638 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
3639 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
3640 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
3641 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
3642 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
3643 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
3644 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
3645 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
3646 | unchanged for now. | |
3647 | ||
3648 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
3649 | ||
3650 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
3651 | ||
3652 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
3653 | ||
3654 | * fileio.c (Fwrite_region): Doc fix. | |
3655 | ||
3656 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
3657 | ||
3658 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
3659 | (command_loop_1): Avoid certain actions after memory-full error. | |
3660 | ||
3661 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
3662 | For a memory-full error, don't call Vsignal_hook_function | |
3663 | and don't set Vsignaling_function. | |
3664 | ||
3665 | * process.c (process_send_signal): Add abort call. | |
3666 | ||
3667 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
3668 | ||
3669 | * keymap.c (Fkey_binding): Fix typo. | |
3670 | ||
3671 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
3672 | ||
3673 | * alloc.c (Vmemory_full): New variable. | |
3674 | (Vmemory_signal_data): Renamed from memory_signal_data. | |
3675 | Uses changed. | |
3676 | (syms_of_alloc): Defvar them. | |
3677 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
3678 | ||
3679 | * lisp.h (Vmemory_full): Add declaration. | |
3680 | (current_column, indented_beyond_p): Change declaration. | |
3681 | ||
3682 | * indent.c (last_known_column): Declare as double, not float. | |
3683 | (current_column, current_column_1, string_display_width) | |
3684 | (position_indentation): Return `double'. | |
3685 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
3686 | ||
3687 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
3688 | (back_to_previous_visible_line_start) | |
3689 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
3690 | Use `double', not `float', when calling indented_beyond_p. | |
3691 | ||
3692 | * s/hpux11.h (BROKEN_SA_RESTART): Defined. | |
3693 | ||
3694 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
3695 | ||
3696 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
3697 | ||
3698 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
3699 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, | |
3700 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
3701 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
3702 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
3703 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
3704 | ||
3705 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
3706 | ||
3707 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers | |
3708 | changed. | |
3709 | ||
3710 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
3711 | ||
3712 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
3713 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
3714 | ||
3715 | * composite.c (HASH_VALUE, HASH_KEY): | |
3716 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
3717 | ||
3718 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
3719 | ||
3720 | * callproc.c (Fcall_process): Fix previous change. | |
3721 | ||
3722 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
3723 | ||
3724 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
3725 | Add support for hash-tables. | |
3726 | (Ftry_completion): Return t even if the string appears multiple times. | |
3727 | ||
3728 | * fns.c (Fnconc): Use XCDR. | |
3729 | (Fprovide): Use CONSP and XCDR. | |
3730 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
3731 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
3732 | (Fmake_hash_table): Accept `:size nil'. | |
3733 | (Fmakehash): Delete: moved to subr.el. | |
3734 | (syms_of_fns): Don't defsubr makehash. | |
3735 | ||
3736 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
3737 | (HASH_TABLE_SIZE): Move from fns.c. | |
3738 | ||
3739 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
3740 | ||
3741 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
3742 | Instead just return 0 when there is something to be done. | |
3743 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
3744 | retry scrolling as if cursor were off the bottom. | |
3745 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
3746 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
3747 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
3748 | go to try_to_scroll. | |
3749 | ||
3750 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
3751 | so we get the up-to-date value for the binding that is loaded. | |
3752 | ||
3753 | * eval.c (Fdefmacro): Doc fix. | |
3754 | ||
3755 | 2002-07-05 Dave Love <fx@gnu.org> | |
3756 | ||
3757 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
3758 | correctly. | |
3759 | ||
3760 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
3761 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
3762 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
3763 | CCL_LookupCharConstTbl. | |
3764 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
3765 | ||
3766 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
3767 | ||
3768 | * xdisp.c: Remove unused variable `face'. | |
3769 | ||
3770 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
3771 | ||
3772 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
3773 | obsolescence information. | |
3774 | ||
3775 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
3776 | ||
3777 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
3778 | pattern. Search cache first. | |
3779 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
3780 | for Japanese font. | |
3781 | (XLoadQueryFont): Use it. | |
3782 | ||
3783 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
3784 | ||
3785 | * keymap.c (Fdefine_key): Doc fix. | |
3786 | ||
3787 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
3788 | ||
3789 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
3790 | ||
3791 | * keymap.c (syms_of_keymap): Fix typo. | |
3792 | ||
3793 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
3794 | ||
3795 | * s/darwin.h: Define POSIX_SIGNALS. | |
3796 | ||
3797 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
3798 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
3799 | Posix pathname. | |
3800 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
3801 | Call init_required_apple_events and disable the `Quit' menu item | |
3802 | provided automatically by the Carbon Toolbox. | |
3803 | ||
3804 | 2002-07-01 Dave Love <fx@gnu.org> | |
3805 | ||
3806 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
3807 | for K&R. | |
3808 | ||
3809 | * xterm.c: Fix prototype for K&R. | |
3810 | ||
3811 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
3812 | ||
3813 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
3814 | ||
3815 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
3816 | (timer_start_idle): Set that. | |
3817 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
3818 | to previous value. | |
3819 | ||
3820 | * window.c (Frecenter): With arg, set optional_new_start. | |
3821 | ||
3822 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
3823 | ||
3824 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
3825 | buffer for completion. | |
3826 | ||
3827 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
3828 | ||
3829 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
3830 | ||
3831 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
3832 | ||
3833 | * keyboard.c (readable_filtered_events): New function that filters | |
3834 | FOCUS_IN_EVENT depending on parameter. | |
3835 | (readable_events): Calls readable_filtered_events, not filtering | |
3836 | FOCUS_IN_EVENT. | |
3837 | (get_filtered_input_pending): New function, filtering parameter passed | |
3838 | to readable_filtered_events. | |
3839 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
3840 | FOCUS_IN_EVENT. | |
3841 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
3842 | FOCUS_IN_EVENT. | |
3843 | ||
3844 | * xterm.h (struct x_output): Add focus_state. | |
3845 | ||
3846 | * xterm.c (x_focus_changed): New function. | |
3847 | (x_detect_focus_change): New function. | |
3848 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
3849 | EnterNotify and LeaveNotify to track X focus changes. | |
3850 | ||
3851 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
3852 | ||
3853 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
3854 | ||
3855 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
3856 | ||
3857 | * xdisp.c: (mode_line_string_list, mode_line_string_face) | |
3858 | (mode_line_string_face_prop): New variables. | |
3859 | (store_mode_line_string): New function. | |
3860 | (display_mode_element): Use store_mode_line_string to | |
3861 | add mode-line string elements to mode_line_string_list | |
3862 | when mode_line_string_list is non-nil. | |
3863 | (Fformat_mode_line): Now returns propertized string by | |
3864 | default. New arg NO-PROPS to ignore properties. | |
3865 | (decode_mode_spec): Only add two dashes for %- in propertized | |
3866 | mode-line string. | |
3867 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
3868 | ||
3869 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
3870 | ||
3871 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
3872 | ||
3873 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
3874 | ||
3875 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
3876 | ||
3877 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
3878 | ||
3879 | * fileio.c (read_file_name_cleanup): Add missing return. | |
3880 | ||
3881 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
3882 | ||
3883 | * window.c (Frecenter): Don't set force_start flag. | |
3884 | ||
3885 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
3886 | (Fminibuffer_completion_help): Complete just the text before point. | |
3887 | (minibuffer_completion_contents): New function. | |
3888 | ||
3889 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
3890 | ||
3891 | * frame.c (frames_bury_buffer): Function deleted. | |
3892 | ||
3893 | 2002-06-25 Miles Bader <miles@gnu.org> | |
3894 | ||
3895 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
3896 | the end of callint_message, allow for a terminating '\0'. | |
3897 | ||
3898 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
3899 | ||
3900 | * w32select.c: Include composite.h | |
3901 | ||
3902 | * w16select.c: Likewise. | |
3903 | ||
3904 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
3905 | ||
3906 | * callproc.c (Fcall_process): If code detection is necessary, | |
3907 | call detect_coding directly here. | |
3908 | ||
3909 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
3910 | ||
3911 | * w16select.c (Fw16_get_clipboard_data): | |
3912 | * w32fns.c (w32_to_x_font): | |
3913 | * w32select.c (Fw32_get_clipboard_data): | |
3914 | * xselect.c (selection_data_to_lisp_data): | |
3915 | * xterm.c (XTread_socket): Disable composition handling. | |
3916 | ||
3917 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
3918 | ||
3919 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
3920 | ||
3921 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
3922 | ||
3923 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
3924 | ||
3925 | * xfns.c (check_x_display_info): Use check_x_frame. | |
3926 | ||
3927 | * .gdbinit (xprintsym): Use the new `xname' field. | |
3928 | (xsymbol): Use it. | |
3929 | ||
3930 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
3931 | ||
3932 | * w32fns.c (file_dialog_callback): New function. | |
3933 | (Fx_file_dialog): Allow selecting directories as well as files. | |
3934 | ||
3935 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
3936 | ||
3937 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
3938 | OpenBSD. Add support for mipseb-*-netbsd* machines. | |
3939 | ||
3940 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
3941 | ||
3942 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
3943 | black and white before scrolling. Restore frame background and | |
3944 | foreground color after scrolling. | |
3945 | (do_window_update): Call XClearWindow before calling expose_frame. | |
3946 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
3947 | FRAME_FOREGROUND_PIXEL of frame. | |
3948 | ||
3949 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
3950 | test Mac command key as <ALT> key. | |
3951 | ||
3952 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
3953 | ||
3954 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
3955 | ||
3956 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
3957 | Lookup keys in function-key-map immediately so that key-translation-map | |
3958 | can be applied earlier. | |
3959 | Remove function_key_possible and key_translation_possible, replaced | |
3960 | by checking `keytran_start < t'. | |
3961 | ||
3962 | * .gdbinit (xsymbol): Use the new `xname' field. | |
3963 | ||
3964 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
3965 | ||
3966 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
3967 | test Mac command key as <ALT> key. | |
3968 | ||
3969 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
3970 | when first called. Dispose of result_desc only when there is no error. | |
3971 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
3972 | ||
3973 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
3974 | ||
3975 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
3976 | of FrontWindow for cases keyDown and autoKey. | |
3977 | ||
3978 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
3979 | Vdefault_fontset to Monaco with mac-roman coding. | |
3980 | ||
3981 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
3982 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
3983 | ||
3984 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
3985 | cursor_gc. | |
3986 | (add_font_name_table_entry): New function. | |
3987 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
3988 | bold, and bold-italic entries for truetype fonts. | |
3989 | ||
3990 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
3991 | for Mac too. | |
3992 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
3993 | fonts with any registry matching face_family. | |
3994 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
3995 | ||
3996 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
3997 | LIBS_TERMCAP to -lncurses to use it. | |
3998 | ||
3999 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
4000 | ||
4001 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
4002 | ||
4003 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
4004 | ||
4005 | * window.c (Fset_window_configuration): Explicitly preserve | |
4006 | the point value that new_current_buffer had at the start. | |
4007 | ||
4008 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
4009 | ||
4010 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
4011 | Fix typos. | |
4012 | ||
4013 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
4014 | ||
4015 | * insdel.c (insert_1_both, insert_from_string_1) | |
4016 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
4017 | insert happened in the end_unchanged region. Otherwise, the | |
4018 | redisplay may be confused and duplicate the last line in the | |
4019 | buffer [seen after save-buffer when require-final-newline==t]. | |
4020 | ||
4021 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
4022 | ||
4023 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
4024 | (stat): Swap _S_IFDIR and _S_IFREG. | |
4025 | ||
4026 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4027 | ||
4028 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
4029 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
4030 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
4031 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
4032 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
4033 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
4034 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
4035 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
4036 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
4037 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
4038 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
4039 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
4040 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
4041 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
4042 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
4043 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
4044 | no_event to NO_EVENT. | |
4045 | ||
4046 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4047 | ||
4048 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
4049 | ||
4050 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
4051 | ||
4052 | * intervals.c (textget): Don't forget to `return'. | |
4053 | (lookup_char_property): Use XCAR/XCDR. | |
4054 | ||
4055 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
4056 | ||
4057 | * xdisp.c (Fformat_mode_line): Fix typo. | |
4058 | ||
4059 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
4060 | ||
4061 | * xdisp.c (Fformat_mode_line): New function. | |
4062 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
4063 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
4064 | (init_xdisp): Defsubr Fformat_mode_line. | |
4065 | Initialize frame_title_buf etc. unconditionally. | |
4066 | ||
4067 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
4068 | ||
4069 | * keyboard.c (read_key_sequence): | |
4070 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
4071 | things through those maps after downcasing events. | |
4072 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
4073 | applies after function-key-map. | |
4074 | Make sure that keytran can be done in the middle in the sequence. | |
4075 | Be careful not to throw away events past the one we downcase. | |
4076 | ||
4077 | * lread.c (read_integer): Remove unused var `tem'. | |
4078 | (read1): Fix int/Lisp_Object mixup. | |
4079 | ||
4080 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
4081 | ||
4082 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
4083 | ||
4084 | * keyboard.c (readable_events): Ignore any number of | |
4085 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
4086 | ||
4087 | 2002-06-09 Miles Bader <miles@gnu.org> | |
4088 | ||
4089 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
4090 | (parse_rgb_list, tty_lookup_color): New functions. | |
4091 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
4092 | (color_distance, Fcolor_distance): New functions. | |
4093 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
4094 | (Qtty_color_standard_values): New variable. | |
4095 | (syms_of_xfaces): Initialize new vars & functions. | |
4096 | ||
4097 | 2002-06-08 Colin Walters <walters@verbum.org> | |
4098 | ||
4099 | * textprop.c (Vchar_property_alias_alist): New variable. | |
4100 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
4101 | ||
4102 | * intervals.c (lookup_char_property): New function for looking up | |
4103 | overlay and text properties, created from textget. | |
4104 | (textget): Use it. | |
4105 | ||
4106 | * intervals.h (lookup_char_property): Declare. | |
4107 | (Vchar_property_alias_alist): Declare. | |
4108 | ||
4109 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
4110 | ||
4111 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
4112 | ||
4113 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
4114 | *data_ret is not a Lisp string, while unibyte_string is. | |
4115 | ||
4116 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
4117 | ||
4118 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
4119 | set size_ret. | |
4120 | ||
4121 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
4122 | ||
4123 | * m/amdx86-64.h: New file. | |
4124 | ||
4125 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
4126 | ||
4127 | * fns.c (Fstring_make_unibyte): Doc fix. | |
4128 | ||
4129 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
4130 | is STRING, call string_make_unibyte to encode the selected text | |
4131 | as a string. | |
4132 | ||
4133 | * window.c (Fset_window_hscroll): Doc fix. | |
4134 | ||
4135 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4136 | ||
4137 | * fileio.c (choose_write_coding_system): | |
4138 | Call select-safe-coding-system properly. | |
4139 | ||
4140 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
4141 | ||
4142 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
4143 | ||
4144 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
4145 | ||
4146 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
4147 | Vselect_safe_coding_system_function. | |
4148 | ||
4149 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
4150 | ||
4151 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
4152 | ||
4153 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
4154 | ||
4155 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
4156 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
4157 | * keymap.c (describe_command): Likewise. | |
4158 | * minibuf.c (read_minibuf): Likewise. | |
4159 | ||
4160 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
4161 | Cast `current_column' return value to int. | |
4162 | (back_to_previous_visible_line_start) | |
4163 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
4164 | Cast `indented_beyond_p' 3rd arg to float. | |
4165 | ||
4166 | * indent.c (last_known_column): Now a float. | |
4167 | (current_column_1, position_indentation, current_column) | |
4168 | (string_display_width): Return float. | |
4169 | (Fcurrent_column): Cast `current_column' return value to int. | |
4170 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
4171 | (indented_beyond_p): Third arg now a float. | |
4172 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
4173 | ||
4174 | * lisp.h (current_column): Now returns float. | |
4175 | (indented_beyond_p): 3rd arg now a float. | |
4176 | ||
4177 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
4178 | ||
4179 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
4180 | is Qcompound_text_with_extensions. | |
4181 | ||
4182 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
4183 | type as string if x_encode_text returns streingp non-NULL. | |
4184 | ||
4185 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
4186 | ||
4187 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
4188 | ||
4189 | * window.c (Fset_window_configuration): Correct the handling | |
4190 | of point in current buffer, to work with multiple windows. | |
4191 | ||
4192 | 2002-05-29 Colin Walters <walters@verbum.org> | |
4193 | ||
4194 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
4195 | for C function parameters. | |
4196 | ||
4197 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
4198 | ||
4199 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
4200 | way for blinked-off state and for a nonselected window. | |
4201 | ||
4202 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
4203 | instead, see if the new start pos is at beginning of line. | |
4204 | ||
4205 | * fileio.c (Fwrite_region): If START is a string, don't | |
4206 | make any annotations. | |
4207 | ||
4208 | * eval.c (syms_of_eval): Doc fix. | |
4209 | ||
4210 | 2002-05-28 Colin Walters <walters@debian.org> | |
4211 | ||
4212 | * emacs.c (USAGE1): Add --no-splash. | |
4213 | (standard_args): Ditto. | |
4214 | ||
4215 | 2002-05-28 Colin Walters <walters@gnu.org> | |
4216 | ||
4217 | * lread.c (readchar_count): New variable. | |
4218 | (readchar): Increment it. | |
4219 | (unreadchar): Decrement it. | |
4220 | (read_multibyte): Decrement it. | |
4221 | (Vread_with_symbol_positions): New variable. | |
4222 | (Vread_symbol_positions_list): New variable. | |
4223 | (read_internal_start): New function, created from Fread and | |
4224 | Fread_from_string. Handle Vread_symbol_positions_list and | |
4225 | Vread_with_symbol_positions. | |
4226 | (readevalloop, Fread, Fread_from_string): Use it. | |
4227 | (read1): Use readchar_count to add symbol positions to | |
4228 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
4229 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
4230 | ||
4231 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
4232 | (substitute_object_recurse, substitute_object_in_subtree) | |
4233 | (substitute_in_interval): Prototype. | |
4234 | (read_multibyte): Return c if it's less than zero. | |
4235 | ||
4236 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
4237 | ||
4238 | * fileio.c (Fread_file_name_internal): Added brute-force | |
4239 | speed up for using predicate file-directory-p. | |
4240 | ||
4241 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
4242 | ||
4243 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
4244 | New variables. | |
4245 | (syms_of_fileio): DEFVAR_LISP them. | |
4246 | (read_file_name_cleanup): New unwind function. | |
4247 | (Fread_file_name_internal): Only return completions satifying | |
4248 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
4249 | default-directory while checking completions against the predicate. | |
4250 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
4251 | Vread_file_name_predicate during completion. | |
4252 | Call Vread_file_name_function to read the file name if non-nil. | |
4253 | ||
4254 | * lisp.h (Fread_file_name): Now has 6 args. | |
4255 | ||
4256 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
4257 | predicate for Fread_file_name when reading directory name. | |
4258 | Supply Qnil for predicate in other calls to Fread_file_name. | |
4259 | ||
4260 | 2002-05-26 Miles Bader <miles@gnu.org> | |
4261 | ||
4262 | * term.c (tty_capable_p): New function. | |
4263 | * dispextern.h (tty_capable_p): New function declaration. | |
4264 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
4265 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
4266 | ||
4267 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
4268 | ||
4269 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
4270 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
4271 | (Vwrite_region_annotate_functions): Docstring fix. | |
4272 | ||
4273 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
4274 | ||
4275 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
4276 | phys_cursor's hpos is overwritten. This is still not completely | |
4277 | correct, as it doesn't really make sense to use hpos at all to | |
4278 | get the cursor glyph (as that is relative to the width of the | |
4279 | characters on the line, which may have changed during the update). | |
4280 | ||
4281 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
4282 | ||
4283 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
4284 | Lisp_Object. | |
4285 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
4286 | Use modified enumfont_t struct. | |
4287 | ||
4288 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
4289 | ||
4290 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
4291 | Handle the `hbar' cursor type. | |
4292 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
4293 | ||
4294 | * w32fns.c (Qhbar): New variable. | |
4295 | (x_specified_cursor_type): Use it. | |
4296 | ||
4297 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
4298 | ||
4299 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
4300 | now, when the address is needed. | |
4301 | ||
4302 | 2002-05-21 Colin Walters <walters@gnu.org> | |
4303 | ||
4304 | * Makefile.in (shortlisp): Add font-core.el. | |
4305 | ||
4306 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
4307 | ||
4308 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
4309 | ||
4310 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
4311 | equivalent key bindings here. | |
4312 | ||
4313 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
4314 | ||
4315 | Change symbol structure to contain a lisp object for the symbol | |
4316 | name: | |
4317 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
4318 | object field named "xname". | |
4319 | (SYMBOL_NAME): New macro. | |
4320 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
4321 | name field. | |
4322 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
4323 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
4324 | instead of name field. | |
4325 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
4326 | SYMBOL_NAME instead of XSYMBOL and name field. | |
4327 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
4328 | instead of XSYMBOL and name field. | |
4329 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
4330 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
4331 | * coding.c (Fread_coding_system, code_convert_region1) | |
4332 | (code_convert_string1, code_convert_string_norecord) | |
4333 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
4334 | XSYMBOL and name field. | |
4335 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
4336 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
4337 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
4338 | of XSYMBOL and name field. | |
4339 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
4340 | XSYMBOL and name field. | |
4341 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
4342 | instead of XSYMBOL and name field. | |
4343 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
4344 | XSYMBOL and name field. | |
4345 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
4346 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
4347 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
4348 | instead of XSYMBOL and name field. | |
4349 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
4350 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
4351 | (parse_solitary_modifier, Fexecute_extended_command): | |
4352 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
4353 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
4354 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
4355 | of XSYMBOL and name field. | |
4356 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
4357 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
4358 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
4359 | instead of XSYMBOL and name field. | |
4360 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
4361 | name field and XSETSTRING. | |
4362 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
4363 | of XSYMBOL and name field. | |
4364 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
4365 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
4366 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
4367 | XSTRING instead of XSYMBOL and name field. | |
4368 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
4369 | and XSTRING instead of XSYMBOL and name field. | |
4370 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
4371 | and XSTRING instead of XSYMBOL and name field. | |
4372 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
4373 | XSTRING instead of XSYMBOL and name field. | |
4374 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
4375 | of XSYMBOL and name field. | |
4376 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
4377 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
4378 | ||
4379 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
4380 | ||
4381 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
4382 | and XCDR real rvalues in most configurations. | |
4383 | ||
4384 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
4385 | Don't take the address of the cdr part of a cons cell; instead, track | |
4386 | the parent cell and call XSETCDR, or set the variable for the head | |
4387 | of the list if we haven't started down the list yet. | |
4388 | ||
4389 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
4390 | ||
4391 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
4392 | ||
4393 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
4394 | ||
4395 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
4396 | (xbm_load_image): Use it. | |
4397 | (xbm_load): Ditto. | |
4398 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
4399 | From David Ponce <david@dponce.com>. | |
4400 | ||
4401 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
4402 | ||
4403 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
4404 | 2.02 and later. | |
4405 | ||
4406 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
4407 | ||
4408 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
4409 | ||
4410 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
4411 | ||
4412 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
4413 | meaningful test. | |
4414 | (read_char_minibuf_menu_prompt): Fix typo. | |
4415 | ||
4416 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
4417 | ||
4418 | * eval.c (Fcommandp): Doc fix. | |
4419 | ||
4420 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
4421 | ||
4422 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
4423 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
4424 | (Fset_keymap_parent): Gcpro a bit more. | |
4425 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
4426 | (get_keyelt): Gcpro when following indirect references. | |
4427 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
4428 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
4429 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
4430 | Remove useless ad-hoc remap code. | |
4431 | ||
4432 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
4433 | ||
4434 | * search.c (search_buffer): Give up boyer moore search if inverse | |
4435 | translation change charset_base. | |
4436 | ||
4437 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
4438 | ||
4439 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
4440 | characters is carried over from the previous block of text, adjust | |
4441 | coding->produced to account for the extra character. | |
4442 | ||
4443 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
4444 | ||
4445 | * coding.c (intersection): Keep the elements of the returned list | |
4446 | in the same order as in the first list. | |
4447 | ||
4448 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
4449 | ||
4450 | * keymap.c (current_minor_maps): Fixed resizing of cmm_maps; | |
4451 | only update cmm_size if realloc actually succeeds. | |
4452 | Testing with initial size of 2 elements revealed that using | |
4453 | realloc on GNU/Linux would cause a random trap in xmalloc | |
4454 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
4455 | of realloc. | |
4456 | ||
4457 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
4458 | ||
4459 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
4460 | ||
4461 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
4462 | ||
4463 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
4464 | parens, to ensure correct evaluation order. | |
4465 | ||
4466 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
4467 | ||
4468 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
4469 | (syms_of_keymap): DEFVAR_LISP it. | |
4470 | (current_minor_maps): Process keymap alists in that list before | |
4471 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
4472 | ||
4473 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
4474 | ||
4475 | * search.c (Freplace_match): Doc fix. | |
4476 | ||
4477 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
4478 | ||
4479 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
4480 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
4481 | ||
4482 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
4483 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
4484 | ||
4485 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
4486 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
4487 | ||
4488 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
4489 | ||
4490 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
4491 | type if comes from the Lisp object's car. If the selection | |
4492 | contains a pure ASCII text, always return QSTRING as its type. | |
4493 | ||
4494 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4495 | ||
4496 | * mac.c (mac-cut-function): Doc fix. | |
4497 | ||
4498 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
4499 | ||
4500 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
4501 | ||
4502 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
4503 | ||
4504 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
4505 | for event-click-count. | |
4506 | ||
4507 | * process.c (init_process): Only add server subfeature if we can | |
4508 | use non-blocking I/O. | |
4509 | ||
4510 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
4511 | ||
4512 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
4513 | repeatedly. | |
4514 | ||
4515 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
4516 | ||
4517 | * process.c (Fmake_network_process): Only support server sockets | |
4518 | when we can make them non-blocking. | |
4519 | ||
4520 | * s/ms-w32.h (HAVE_SELECT): Define. | |
4521 | ||
4522 | * w32.h (FILE_NDELAY): New flag. | |
4523 | ||
4524 | * w32.c (sys_getpeername, fcntl): New functions. | |
4525 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
4526 | ||
4527 | * w32proc.c: include sys/file.h. | |
4528 | ||
4529 | 2002-05-03 Colin Walters <walters@verbum.org> | |
4530 | ||
4531 | * callproc.c (Vgame_score_directory): Renamed to | |
4532 | Vshared_game_score_directory. | |
4533 | ||
4534 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
4535 | ||
4536 | * s/gnu.h [emacs]: Include stdio.h. | |
4537 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
4538 | ||
4539 | * eval.c (do_autoload): Error if called while preparing to dump. | |
4540 | ||
4541 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
4542 | ||
4543 | 2002-04-28 Colin Walters <walters@verbum.org> | |
4544 | ||
4545 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
4546 | Default to "~/.emacs.d/games". | |
4547 | ||
4548 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
4549 | ||
4550 | * lread.c (openp): Change arg exec_only to predicate. | |
4551 | (build_load_history): Use XCAR/XCDR. | |
4552 | (Flocate_file_internal): New fun. | |
4553 | (syms_of_lread): Defsubr it. | |
4554 | (Fload): Update call to openp. | |
4555 | ||
4556 | * lisp.h (openp): Update prototype. | |
4557 | ||
4558 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
4559 | * w32proc.c (sys_spawnve): | |
4560 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
4561 | * w32.c (check_windows_init_file): | |
4562 | * sound.c (Fplay_sound_internal): | |
4563 | * process.c (Fstart_process): | |
4564 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
4565 | * mac.c (run_mac_command): | |
4566 | * emacs.c (init_cmdargs): | |
4567 | * callproc.c (Fcall_process): Update call to openp. | |
4568 | ||
4569 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
4570 | ||
4571 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
4572 | ||
4573 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4574 | ||
4575 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
4576 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
4577 | ||
4578 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
4579 | ||
4580 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
4581 | ||
4582 | * eval.c (Fcommandp): New arg for_call_interactively. | |
4583 | * lisp.h (Fcommandp): Declare new arg. | |
4584 | ||
4585 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
4586 | ||
4587 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
4588 | ||
4589 | * w32.c (stat, fstat): Use file index information to generate | |
4590 | inodes for directories where available. | |
4591 | ||
4592 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
4593 | ||
4594 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
4595 | [HAVE_CARBON]: Include Mac object files. | |
4596 | ||
4597 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
4598 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
4599 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
4600 | MAC_OSX, and MAC_OS instead of macintosh. | |
4601 | ||
4602 | * editfns.c [MAC_OS8]: Include stdio.h. | |
4603 | ||
4604 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
4605 | ||
4606 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
4607 | Apple Monaco. | |
4608 | ||
4609 | * process.c: Declare QCfamily and QCfilter as extern. | |
4610 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before | |
4611 | calling select. | |
4612 | ||
4613 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
4614 | ||
4615 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
4616 | ||
4617 | * config.in [HAVE_CARBON]: Add. | |
4618 | ||
4619 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
4620 | Move here from mac/src and mac/inc. | |
4621 | ||
4622 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
4623 | ||
4624 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
4625 | ||
4626 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
4627 | Compute phys_cursor_width from the x position returned | |
4628 | by x_draw_glyhs, which is cheaper. | |
4629 | (x_display_and_set_cursor): Compute the buffer-local value | |
4630 | of `cursor-in-non-selected-windows' only when needed. | |
4631 | ||
4632 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
4633 | ||
4634 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
4635 | cursor on a stretch glyph has a width that depends on | |
4636 | x_stretch_cursor_p. | |
4637 | ||
4638 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4639 | ||
4640 | * abbrev.c (abbrev-start-location): Doc fix. | |
4641 | ||
4642 | * indent.c (Fvertical_motion): Fix last change. | |
4643 | ||
4644 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
4645 | ||
4646 | * indent.c (Fvertical_motion): Move to the start of the line | |
4647 | containing PT before moving up or down. | |
4648 | ||
4649 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
4650 | ||
4651 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
4652 | case of writing a whole row, more or less analogous to the case of | |
4653 | writing only parts of a row. | |
4654 | ||
4655 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
4656 | 0 for NO_CURSOR. | |
4657 | ||
4658 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
4659 | ||
4660 | 2002-04-23 Colin Walters <walters@verbum.org> | |
4661 | ||
4662 | * buffer.c (syms_of_buffer): Doc fix. | |
4663 | ||
4664 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
4665 | ||
4666 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
4667 | of the cursor being in the first blank non-text line at the | |
4668 | end of a window. | |
4669 | ||
4670 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
4671 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
4672 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
4673 | bar cursors only, to make phys_cursor_width contain what its name | |
4674 | suggests. | |
4675 | (notice_overwritten_cursor): Consider the cursor image erased if | |
4676 | the output area intersects the cursor image in y-direction. | |
4677 | ||
4678 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
4679 | ||
4680 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
4681 | to XC_hand2. | |
4682 | ||
4683 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4684 | ||
4685 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
4686 | ||
4687 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
4688 | ||
4689 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
4690 | ||
4691 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
4692 | ||
4693 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
4694 | ||
4695 | * window.c (make_window): Initialize height_fixed_p, | |
4696 | last_cursor_off_p, and p->cursor_off_p slots. | |
4697 | ||
4698 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4699 | ||
4700 | * fns.c (use-dialog-box): Doc fix. | |
4701 | ||
4702 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4703 | ||
4704 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
4705 | variables `row', `i' and `area'. | |
4706 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
4707 | toolkit library. | |
4708 | ||
4709 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
4710 | ||
4711 | * xfaces.c (clear_font_table): Don't free the default font of | |
4712 | a frame even if it's on another display. | |
4713 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
4714 | that could be Qt. | |
4715 | ||
4716 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
4717 | ||
4718 | * indent.c (Fmove_to_column): Remove unused local variable | |
4719 | `next_boundary_byte'. | |
4720 | (current_column_1): Likewise. | |
4721 | ||
4722 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
4723 | ||
4724 | * msdos.c (Qhbar): New variable. | |
4725 | (syms_of_msdos): Intern and staticpro it. | |
4726 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
4727 | cursor type. | |
4728 | ||
4729 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
4730 | ||
4731 | Theses change implement an underscore-like (`hbar') cursor. | |
4732 | ||
4733 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
4734 | ||
4735 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
4736 | Handle the `hbar' cursor type. | |
4737 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
4738 | ||
4739 | * xfns.c (Qhbar): New variable. | |
4740 | (syms_of_xfns): Intern and staticpro it. | |
4741 | (x_specified_cursor_type): Handle `hbar' cursor. | |
4742 | ||
4743 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
4744 | not defined. | |
4745 | ||
4746 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
4747 | ||
4748 | * textprop.c (remove_properties): New arg LIST allows scanning | |
4749 | either a list or a plist. | |
4750 | (interval_has_some_properties_list): New function, like | |
4751 | interval_has_some_properties using list instead of plist. | |
4752 | All callers changed. | |
4753 | (Fremove_list_of_text_properties): New function. | |
4754 | (syms_of_textprop): Defsubr it. | |
4755 | ||
4756 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
4757 | ||
4758 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
4759 | ||
4760 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
4761 | ||
4762 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
4763 | ||
4764 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
4765 | ||
4766 | * window.c (coordinates_in_window): Don't report on margin area | |
4767 | if its width is zero. | |
4768 | ||
4769 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
4770 | ||
4771 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
4772 | ||
4773 | * w32term.c (construct_drag_n_drop): Likewise. | |
4774 | ||
4775 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
4776 | ||
4777 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
4778 | store load-history in pure space. | |
4779 | ||
4780 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
4781 | ||
4782 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
4783 | ||
4784 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
4785 | (syms_of_xterm): Initialize them. | |
4786 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
4787 | decoding the output of X*LookupString. | |
4788 | Always use latin-1 to decode the output of XLookupString. | |
4789 | Try Xutf8LookupString if XmbLookupString failed. | |
4790 | ||
4791 | * region-cache.c (new_region_cache): Use BEG. | |
4792 | ||
4793 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
4794 | ||
4795 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
4796 | configuration files. | |
4797 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
4798 | returns 0. | |
4799 | ||
4800 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
4801 | ||
4802 | * config.in: Regenerated using autoheader. | |
4803 | ||
4804 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
4805 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
4806 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
4807 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
4808 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
4809 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
4810 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
4811 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
4812 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
4813 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
4814 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
4815 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
4816 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
4817 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
4818 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
4819 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
4820 | STACK_DIRECTION, now set by autoconf. | |
4821 | ||
4822 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4823 | ||
4824 | * dispnew.c (marginal_area_string): Sort arguments. | |
4825 | ||
4826 | * dispextern.h (marginal_area_string): Add prototype. | |
4827 | ||
4828 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
4829 | ||
4830 | * fileio.c (Finsert_file_contents): | |
4831 | Don't call temp_output_buffer_setup--do just part, by hand. | |
4832 | ||
4833 | * coding.c (run_pre_post_conversion_on_str): | |
4834 | Don't call temp_output_buffer_setup--do just part, by hand. | |
4835 | ||
4836 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
4837 | or cancel_hourglass when executing a macro. | |
4838 | ||
4839 | * marker.c (count_markers): New function. | |
4840 | ||
4841 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
4842 | grow without limit. Move recently used elements to the front. | |
4843 | ||
4844 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
4845 | ||
4846 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
4847 | ||
4848 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
4849 | ||
4850 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
4851 | rows marginal areas. | |
4852 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
4853 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
4854 | ||
4855 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
4856 | ||
4857 | 2002-04-12 Dave Love <fx@gnu.org> | |
4858 | ||
4859 | * dispnew.c (marginal_area_string): New. | |
4860 | ||
4861 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
4862 | (Qleft_margin, Qright_margin): Declare. | |
4863 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
4864 | ||
4865 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
4866 | note_mode_line_highlight and extended. | |
4867 | ||
4868 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
4869 | (make_lispy_event): Deal with mouse events in margins. | |
4870 | ||
4871 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
4872 | ||
4873 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
4874 | ||
4875 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
4876 | than deactivating the mark if tmm is set to `lambda'. | |
4877 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
4878 | Use a single event for HELP_EVENT. | |
4879 | (Fexecute_extended_command): Save last_point_position. | |
4880 | ||
4881 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4882 | ||
4883 | * lisp.h (Fpropertize): Add prototype. | |
4884 | ||
4885 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
4886 | ||
4887 | 2002-04-10 Colin Walters <walters@verbum.org> | |
4888 | ||
4889 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
4890 | ||
4891 | * callproc.c: (Vgame_score_directory): New variable. | |
4892 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. | |
4893 | ||
4894 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
4895 | ||
4896 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
4897 | ||
4898 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
4899 | ||
4900 | * minibuf.c (read_minibuf): Use empty_string. | |
4901 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
4902 | Short-circuit the search as soon as it "failed". | |
4903 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
4904 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
4905 | when require_match is nil. | |
4906 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
4907 | Call the predicate also when alist is a list. | |
4908 | Obey Vcompletion_regexp_list. | |
4909 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
4910 | (Fassoc_string): Rename from `assoc_for_completion'. | |
4911 | Allow list of strings as well and export to elisp. | |
4912 | ||
4913 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
4914 | ||
4915 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
4916 | ||
4917 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
4918 | ||
4919 | * w32.c (sys_accept): Don't hide variable `s'. | |
4920 | ||
4921 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
4922 | ||
4923 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
4924 | NUMBERP for checking Vhistory_length. | |
4925 | ||
4926 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4927 | ||
4928 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
4929 | Doc fix to reflect it. | |
4930 | ||
4931 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
4932 | ||
4933 | * xdisp.c (display_mode_element): New arg RISKY. | |
4934 | Disregard text props found or specified within a variable | |
4935 | that isn't marked risky-local-variable. | |
4936 | (Qrisky_local_variable): New variable. | |
4937 | (syms_of_xdisp): Init and staticpro it. | |
4938 | ||
4939 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
4940 | ||
4941 | * undo.c (record_point): New fun. | |
4942 | (record_delete, record_insert): Use it. | |
4943 | ||
4944 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
4945 | ||
4946 | * doc.c (Fdocumentation): Add missing parentheses. | |
4947 | (Fdocumentation_property): Likewise. | |
4948 | ||
4949 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
4950 | ||
4951 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
4952 | data is 0, just return nil. | |
4953 | ||
4954 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
4955 | ||
4956 | * msdos.c (syms_of_msdos): Fix last change with | |
4957 | mouse_autoselect_window. | |
4958 | ||
4959 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
4960 | ||
4961 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
4962 | mouse_autoselect_window. | |
4963 | ||
4964 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
4965 | ||
4966 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
4967 | with system-specific keysyms. Use it also for unknown function keys. | |
4968 | ||
4969 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
4970 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
4971 | if the doc is 0 and only ask once. | |
4972 | ||
4973 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
4974 | ||
4975 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
4976 | ||
4977 | * keyboard.c (read_char): If the event was Qselect_window, | |
4978 | restore timer_idleness_start_time to its previous value. | |
4979 | ||
4980 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
4981 | ||
4982 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
4983 | ||
4984 | * region-cache.c (new_region_cache): Use BEG. | |
4985 | ||
4986 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
4987 | Use BEG and BEG_BYTE. | |
4988 | ||
4989 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
4990 | (reread_doc_file): New fun. | |
4991 | (Fdocumentation, Fdocumentation_property): | |
4992 | Call it if get_doc_string fails. | |
4993 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
4994 | ||
4995 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
4996 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
4997 | ||
4998 | * charset.c (Fstring): Allow 0 arguments. | |
4999 | ||
5000 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
5001 | ||
5002 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
5003 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
5004 | (Fset_network_process_options, server_accept_connection): | |
5005 | Fix some int/Lisp_Object confusions (thank you union types). | |
5006 | ||
5007 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5008 | ||
5009 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
5010 | ||
5011 | * w32term.c: Likewise. | |
5012 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
5013 | ||
5014 | * keyboard.c (Qselect_window): New symbol. | |
5015 | (head_table): Use it. | |
5016 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
5017 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
5018 | ||
5019 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
5020 | (last_window): New variable. | |
5021 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
5022 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
5023 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
5024 | Emacs windows. | |
5025 | ||
5026 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
5027 | ||
5028 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
5029 | ||
5030 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
5031 | Callers changed. | |
5032 | ||
5033 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
5034 | ||
5035 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
5036 | loop whenever it stops making progress. | |
5037 | ||
5038 | * widget.c (set_frame_size): Don't call change_frame_size. | |
5039 | ||
5040 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
5041 | ||
5042 | * dispnew.c (direct_output_for_insert): | |
5043 | Call mark_window_display_accurate. | |
5044 | ||
5045 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
5046 | ||
5047 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
5048 | ||
5049 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
5050 | ||
5051 | * Makefile.in (lread.o): Depend on coding.h. | |
5052 | ||
5053 | * lread.c (openp, Fload): Encode the file name before passing it | |
5054 | to `stat', `access', and `emacs_open'. | |
5055 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
5056 | strings unnecessarily. | |
5057 | ||
5058 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
5059 | ||
5060 | * fns.c (Flax_plist_put): Doc fix. | |
5061 | ||
5062 | 2002-03-28 Miles Bader <miles@gnu.org> | |
5063 | ||
5064 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
5065 | ||
5066 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5067 | ||
5068 | * process.c (set-network-process-options): Add usage. | |
5069 | (make-network-process): Doc fix. | |
5070 | ||
5071 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
5072 | ||
5073 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
5074 | ||
5075 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
5076 | ||
5077 | * fns.c (Fsubstring_no_properties): New function. | |
5078 | (Flax_plist_get, Flax_plist_put): New functions. | |
5079 | (syms_of_fns): defsubr them. | |
5080 | ||
5081 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
5082 | don't test or alter w->update_mode_line. | |
5083 | ||
5084 | * window.c (Fdisplay_buffer): Doc fix. | |
5085 | ||
5086 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
5087 | ||
5088 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
5089 | ||
5090 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
5091 | ||
5092 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
5093 | (Fdefmacro): Handle `(declare ...)'. | |
5094 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
5095 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
5096 | ||
5097 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
5098 | ||
5099 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
5100 | (xbm_file_p): Add prototypes. | |
5101 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
5102 | (reflect_byte): New function. | |
5103 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
5104 | (xbm_load_image): Create bitmaps with a depth of 1. | |
5105 | (init_xfns): Enable XBM images. | |
5106 | ||
5107 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
5108 | ||
5109 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
5110 | correctly. Do not pass up_modifier to keyboard buffer. | |
5111 | ||
5112 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
5113 | ||
5114 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
5115 | ||
5116 | * Makefile.in (bootstrapclean): New target. | |
5117 | (bootstrap-temacs, bootstrap-doc): Remove. | |
5118 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
5119 | Don't bother to build a DOC file. | |
5120 | ||
5121 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
5122 | ||
5123 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
5124 | in temacs even if !CANNOT_DUMP. | |
5125 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
5126 | ||
5127 | * alloc.c (check_pure_size): Only output a warning. | |
5128 | ||
5129 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
5130 | ||
5131 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
5132 | supported. | |
5133 | ||
5134 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
5135 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
5136 | (syms_of_w32term): Define x-use-underline-position-properties. | |
5137 | ||
5138 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
5139 | (clear_image_cache): Block input, fix logic, clear matrices in | |
5140 | all frames that share this cache. | |
5141 | ||
5142 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
5143 | ||
5144 | * emacs.c (main): Update the Copyright year in the blurb printed | |
5145 | by "emacs --version". | |
5146 | ||
5147 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
5148 | ||
5149 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
5150 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
5151 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
5152 | ||
5153 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
5154 | ||
5155 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
5156 | menu-bar bindings in keymap and local-map properties _are_ used. | |
5157 | But try keymap property first in accordance with 2002-01-03 patch. | |
5158 | Added comment describing why this is not always reliable. | |
5159 | (tool_bar_items): Ditto for tool-bar. | |
5160 | ||
5161 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
5162 | ||
5163 | * w32fns.c (x_clear_image_1): Disable color table code. | |
5164 | ||
5165 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
5166 | ||
5167 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
5168 | removed the wrong version of the DEFUN macro; fixed it. | |
5169 | ||
5170 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
5171 | Fmember rather than Fmemq). | |
5172 | (Fprovide): Check that subfeatures is a list. | |
5173 | ||
5174 | * process.c (QCfeature, QCdatagram): Removed variables. | |
5175 | (QCtype, Qdatagram): New variables. | |
5176 | (network_process_featurep): Removed function. | |
5177 | (Fmake_network_process): Removed :feature check. | |
5178 | Use :type 'datagram instead of :datagram t to create a datagram | |
5179 | socket. This allows us to add other connection types (e.g. raw | |
5180 | sockets) later in a consistent manner. | |
5181 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
5182 | supported subfeatures for feature make-network-process. | |
5183 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
5184 | Intern and staticpro QCtype and Qdatagram. | |
5185 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
5186 | ||
5187 | * xfns.c: (QCtype): Remove duplicate declaration and | |
5188 | initialization (is now declared in process.c). | |
5189 | ||
5190 | * w32fns.c: (QCtype): Remove duplicate declaration and | |
5191 | initialization (is now declared in process.c). | |
5192 | ||
5193 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
5194 | ||
5195 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
5196 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
5197 | when jumping to `fail' to avoid undoing reg changes in the | |
5198 | last iteration of the loop. | |
5199 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
5200 | ||
5201 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
5202 | Depend on process.h. | |
5203 | ||
5204 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
5205 | ||
5206 | Most of the following changes are still conditional on HAVE_IMAGES | |
5207 | which is not set by default on Windows. | |
5208 | ||
5209 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
5210 | ||
5211 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
5212 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
5213 | (four_corners_best, x_clear_image_1, x_clear_image) | |
5214 | (x_alloc_image_color, postprocess_image) | |
5215 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
5216 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
5217 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
5218 | ||
5219 | * w32gui.h (struct XImage): Define. | |
5220 | ||
5221 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
5222 | extract mouse co-ordinates. | |
5223 | ||
5224 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
5225 | ||
5226 | * w32.c (init_winsock): Dynamically load new server and UDP | |
5227 | socket functions. | |
5228 | (socket_to_fd): New function. | |
5229 | (sys_socket): Use it. | |
5230 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
5231 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
5232 | ||
5233 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
5234 | and initialization. | |
5235 | ||
5236 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
5237 | ||
5238 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
5239 | ||
5240 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
5241 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
5242 | machines. | |
5243 | ||
5244 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5245 | ||
5246 | * bytecode.c (Fbyte_code): Revert last change. | |
5247 | ||
5248 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
5249 | ||
5250 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
5251 | From David Ponce <dponce@voila.fr>. | |
5252 | ||
5253 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5254 | ||
5255 | * process.c (wait_reading_process_input): Move variables `pname' | |
5256 | and `pnamelen' down where they are used. | |
5257 | ||
5258 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
5259 | prevent gcc warning. | |
5260 | ||
5261 | * lisp.h (Fplist_member): Add prototype. | |
5262 | ||
5263 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
5264 | ||
5265 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
5266 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
5267 | ||
5268 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
5269 | Remove explicit GNU_LINUX settings for datagram support. | |
5270 | ||
5271 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5272 | ||
5273 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
5274 | Doc fix. Add usage:. | |
5275 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
5276 | ||
5277 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
5278 | ||
5279 | * xdisp.c (cursor_type_changed): New variable. | |
5280 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
5281 | Clear it when clearing windows_or_buffers_changed. | |
5282 | (try_cursor_movement, redisplay_window, try_window_id) | |
5283 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
5284 | along with windows_or_buffers_changed. | |
5285 | ||
5286 | * window.h (cursor_type_changed): New variable. | |
5287 | ||
5288 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
5289 | not update_mode_lines, and always set it to 1. | |
5290 | ||
5291 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
5292 | if no frames needed redrawing. | |
5293 | ||
5294 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
5295 | ||
5296 | The following changes add support for network server processes, | |
5297 | datagram connections, and local (unix) sockets. | |
5298 | ||
5299 | * process.h (struct Lisp_Process): New member log. | |
5300 | Doc fix: Member command used to indicate stopped network process. | |
5301 | Doc fix: Member childp contains plist for network process. | |
5302 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
5303 | ||
5304 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
5305 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
5306 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
5307 | New variables. | |
5308 | (NETCONN1_P): New macro. | |
5309 | (DATAGRAM_SOCKETS): New conditional symbol. | |
5310 | (datagram_address): New array. | |
5311 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
5312 | (status_message): Use concat3. | |
5313 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
5314 | for a stopped network process. | |
5315 | (Fset_process_buffer): Update contact plist for network process. | |
5316 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
5317 | network processes. Server must listen, even if filter is t. | |
5318 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
5319 | New functions. | |
5320 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
5321 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
5322 | (list_processes_1): Optionally show only processes with the query | |
5323 | on exit flag set. Dynamically adjust column widths. Omit tty | |
5324 | column if not needed. Report stopped network processes. | |
5325 | Identify server and datagram network processes. | |
5326 | (Flist_processes): New optional arg `query-only'. | |
5327 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
5328 | (conv_lisp_to_sockaddr, set_socket_options) | |
5329 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
5330 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
5331 | (Fset_network_process_options): New lisp functions. | |
5332 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
5333 | (Fmake_network_process): New lisp function. Code is based on previous | |
5334 | Fopen_network_stream, but heavily reworked with new property list based | |
5335 | argument list, support for datagrams, server processes, and local | |
5336 | sockets in addition to old client-only functionality. | |
5337 | (server_accept_connection): New function. | |
5338 | (wait_reading_process_input): Use it to handle incoming connects. | |
5339 | Do not enable input on a new connection if process is stopped. | |
5340 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | |
5341 | (send_process): Handle datagram sockets. | |
5342 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
5343 | network process is indicated by setting command field to t . | |
5344 | (Fprocess_send_eof): No-op if datagram connection. | |
5345 | (Fstatus_notify): Don't read input for a stream server socket or a | |
5346 | stopped network process. | |
5347 | (init_process): Initialize datagram_address array. | |
5348 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
5349 | functions. | |
5350 | ||
5351 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
5352 | ||
5353 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
5354 | startup case. | |
5355 | ||
5356 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
5357 | ||
5358 | * xdisp.c (redisplay_internal, redisplay_windows): | |
5359 | Use list_of_error to call internal_condition_case_1. | |
5360 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
5361 | so as to catch all errors with no possibility of debugger redisplay. | |
5362 | (list_of_error): New variable. | |
5363 | (syms_of_xdisp): Init and staticpro it. | |
5364 | ||
5365 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
5366 | ||
5367 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
5368 | ||
5369 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
5370 | until its implementation is fixed. | |
5371 | ||
5372 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5373 | ||
5374 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
5375 | ||
5376 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
5377 | ||
5378 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
5379 | ||
5380 | 2002-03-14 Miles Bader <miles@gnu.org> | |
5381 | ||
5382 | * intervals.c (adjust_for_invis_intang): New function. | |
5383 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
5384 | work for dealing with invisible+intangible regions. Do so before | |
5385 | and after both forward and backward movements, to handle both | |
5386 | front-sticky and rear-sticky cases. | |
5387 | * textprop.c (text_property_stickiness): Function moved here from | |
5388 | `editfns.c'. | |
5389 | * intervals.h (text_property_stickiness): New declaration. | |
5390 | * editfns.c (char_property_eq): Function removed. | |
5391 | (text_property_stickiness): Function moved to `textprop.c'. | |
5392 | ||
5393 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
5394 | ||
5395 | * config.in: Add STRFTIME_NO_POSIX2. | |
5396 | ||
5397 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
5398 | and %OX when underlying strftime does not. | |
5399 | ||
5400 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
5401 | ||
5402 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
5403 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
5404 | line) to avoid annoying flicker. | |
5405 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
5406 | (XTread_socket): Mark it static. | |
5407 | ||
5408 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
5409 | ||
5410 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
5411 | ||
5412 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
5413 | ||
5414 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
5415 | ||
5416 | * editfns.c (syms_of_editfns): Fix typo. | |
5417 | ||
5418 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
5419 | ||
5420 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
5421 | Include termopt.h for interrupt_input. | |
5422 | ||
5423 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
5424 | ||
5425 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
5426 | ||
5427 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
5428 | ||
5429 | * xterm.c (note_mouse_movement): Put code for | |
5430 | x_autoselect_window_p in #if 0. | |
5431 | ||
5432 | * lread.c (Fload): Don't assume that message_with_string uses the | |
5433 | string it is given like a C string. | |
5434 | ||
5435 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
5436 | ||
5437 | * xterm.h (x_session_check_input, x_session_initialize): Declared. | |
5438 | ||
5439 | * xterm.c: (XTread_socket): Add call to x_session_check_input and | |
5440 | x_session_have_connection. | |
5441 | (x_initialize): Add call to x_session_initialize. | |
5442 | ||
5443 | * termhooks.h (enum event_kind): Add save_session_event. | |
5444 | ||
5445 | * keyboard.c: Add Emacs event save_session_event. | |
5446 | ||
5447 | * emacs.c (main): Add call to syms_of_xsmfns. | |
5448 | ||
5449 | * lisp.h: Declare syms_of_xsmfns as extern. | |
5450 | ||
5451 | * config.in: Add HAVE_X_SM. | |
5452 | ||
5453 | * Makefile.in (LIBXT): Add -lSM -lICE | |
5454 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
5455 | (XOBJ): New file xsmfns.c added. | |
5456 | ||
5457 | * xsmfns.c: New file for X session management. | |
5458 | ||
5459 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
5460 | ||
5461 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
5462 | read-only when setting modified time. | |
5463 | ||
5464 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
5465 | ||
5466 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
5467 | when moving forward by lines, treat terminal frames specially. | |
5468 | ||
5469 | * keyboard.c (echo_char): Make sure to add a separator between | |
5470 | keys even if echo_dash hasn't been called. | |
5471 | ||
5472 | * xdisp.c: Use new string macros. | |
5473 | (update_echo_area): Pass number of bytes to message3 instead of | |
5474 | number of chars. | |
5475 | (set_message_1): Don't access a string's size_byte directly. | |
5476 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
5477 | instead number of chars. | |
5478 | ||
5479 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
5480 | ||
5481 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
5482 | ||
5483 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
5484 | 24-bit. | |
5485 | ||
5486 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
5487 | ||
5488 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
5489 | ||
5490 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
5491 | ||
5492 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
5493 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
5494 | work with new kboard definition. | |
5495 | (echo_now): Use message3_nolog instead of message2_nolog. | |
5496 | ||
5497 | * alloc.c (mark_kboards): Mark echo_string. | |
5498 | ||
5499 | * keyboard.h (ECHOBUFSIZE): Removed. | |
5500 | (struct kboard): Member echoptr removed, member echobuf renamed | |
5501 | to echo_string. | |
5502 | ||
5503 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
5504 | message3 instead of message2 to display the message using STRING's | |
5505 | text properties. | |
5506 | ||
5507 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
5508 | ||
5509 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
5510 | ||
5511 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
5512 | ||
5513 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
5514 | affect existing frames. | |
5515 | ||
5516 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
5517 | ||
5518 | * indent.c (skip_invisible): Fix my brain fart. | |
5519 | ||
5520 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
5521 | ||
5522 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
5523 | ||
5524 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
5525 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
5526 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
5527 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
5528 | and variables to use EMACS_INT instead of just int. | |
5529 | ||
5530 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
5531 | ||
5532 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
5533 | ||
5534 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
5535 | environment, pass it down with corrected value. | |
5536 | ||
5537 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5538 | ||
5539 | * lread.c (read_filtered_event): Do not call start_hourglass | |
5540 | before returning. | |
5541 | ||
5542 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
5543 | ||
5544 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
5545 | ||
5546 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
5547 | ||
5548 | * fileio.c (Fmake_temp_name): Doc fix. | |
5549 | ||
5550 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
5551 | ||
5552 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
5553 | libtermcap, for binary compatibility. | |
5554 | ||
5555 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
5556 | ||
5557 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
5558 | ||
5559 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
5560 | ||
5561 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
5562 | only if it is an integer. | |
5563 | ||
5564 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
5565 | If png_get_sRGB gives an answer, call png_set_gamma | |
5566 | using the default image gamma value. | |
5567 | ||
5568 | * lread.c (read1): When reading from a file, default string to | |
5569 | multibyte only if it has some multibyte characters. | |
5570 | ||
5571 | * print.c (print_object): Output multibyte chars 128...255 | |
5572 | using \x even if ! print_escape_multibyte. | |
5573 | ||
5574 | * xdisp.c (display_mode_element): Move the places where | |
5575 | bytepos, charpos, this, and lisp_string are set. | |
5576 | Use lisp_string to set bytepos. | |
5577 | ||
5578 | * xdisp.c (redisplay_internal): | |
5579 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
5580 | ||
5581 | * xdisp.c (display_mode_element): Merge properties specified with | |
5582 | :propertize onto those that come with the string. | |
5583 | ||
5584 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
5585 | ||
5586 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
5587 | automatic-hscrolling. Users changed. | |
5588 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
5589 | Users changed. | |
5590 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
5591 | ||
5592 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
5593 | ||
5594 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
5595 | ||
5596 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
5597 | ||
5598 | * window.c (Fminibuffer_selected_window): New function. | |
5599 | (syms_of_window): Defsubr it. | |
5600 | ||
5601 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
5602 | ||
5603 | * window.h (struct window): New member phys_cursor_width. | |
5604 | ||
5605 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
5606 | ||
5607 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
5608 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
5609 | ||
5610 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
5611 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
5612 | ||
5613 | * lisp.h (GCPRO6): New macro. | |
5614 | ||
5615 | * process.c (Fopen_network_stream): Use GCPRO6. | |
5616 | ||
5617 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
5618 | ||
5619 | * process.c (Qconnect, Qfailed): New variables. | |
5620 | (syms_of_process): Intern and staticpro them. | |
5621 | (Fprocess_status): Document connect and failed return values. | |
5622 | [NON_BLOCKING_CONNECT]: New conditional. | |
5623 | (connect_wait_mask, num_pending_connects): New variables. | |
5624 | (status_message): Convert Qfailed status. | |
5625 | (Fopen_network_stream): Added support for non-blocking connect. | |
5626 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
5627 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
5628 | (deactivate_process): Handle pending non-blocking connect. | |
5629 | (wait_reading_process_input): Poll for status of non-blocking | |
5630 | connects. Exec sentinel directly when connect succeeds. | |
5631 | (status_notify): Don't read process output if not yet connected. | |
5632 | ||
5633 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
5634 | ||
5635 | * window.c: (minibuf_selected_window): Renamed from | |
5636 | Vminibuf_selected_window. Users changed. | |
5637 | (syms_of_window): Staticpro it. | |
5638 | ||
5639 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
5640 | ||
5641 | The following changes add a new Vminibuf_selected_window variable | |
5642 | which is similar to Vminibuf_scroll_window, but which is only set | |
5643 | on entry to the minibuffer (from a non-minibuffer window): | |
5644 | ||
5645 | * window.c: (Vminibuf_selected_window): New variable. | |
5646 | (struct save_window_data): New member minibuf_selected_window. | |
5647 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
5648 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
5649 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
5650 | (compare_window_configurations): Compare minibuf_selected_window. | |
5651 | ||
5652 | * window.h: (Vminibuf_selected_window): Declare extern. | |
5653 | ||
5654 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
5655 | entry to minibuffer or on entry from a non-minibuffer window. | |
5656 | ||
5657 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
5658 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
5659 | ||
5660 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
5661 | instead of Vminibuf_scroll_window when deciding in which window | |
5662 | the region should be highlighted. Consequently, the region remains | |
5663 | highlighteded even when a completion buffer is also displayed. | |
5664 | ||
5665 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
5666 | ||
5667 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
5668 | ||
5669 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
5670 | Qcompound_text_no_extensions. | |
5671 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
5672 | ||
5673 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
5674 | ||
5675 | * w32proc.c (syms_of_ntproc): Doc fix. | |
5676 | ||
5677 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5678 | ||
5679 | * intervals.h: Include "dispextern.h" unconditionally. | |
5680 | ||
5681 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
5682 | ||
5683 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
5684 | and disp-table.elc. | |
5685 | (lisp): Add emacs-lisp/backquote.elc. | |
5686 | ||
5687 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
5688 | ||
5689 | * keymap.c (Flookup_key): Fixed problem in 2001-12-28 patch: | |
5690 | The validation of the event type was too strict as it didn't | |
5691 | allow string events; buffer names are used in bindings for | |
5692 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
5693 | ||
5694 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
5695 | ||
5696 | The following changes rework my patch of 2002-02-06 which | |
5697 | added command remapping by entering the commands directly into | |
5698 | the keymaps. Now, command remapping uses an explicit `remap' | |
5699 | prefix in the keymaps, i.e. [remap COMMAND]. | |
5700 | ||
5701 | * keymap.c (Qremap, remap_command_vector): New variables. | |
5702 | (is_command_symbol): Removed function. | |
5703 | (Fdefine_key): No longer accept a symbol for KEY. | |
5704 | Added validation of [remap COMMAND] argument for KEY. | |
5705 | The DEF is no longer required to be a symbol when remapping a command. | |
5706 | (Fremap_command): New function to remap command through keymaps. | |
5707 | (Flookup_key): Perform command remapping initiated by | |
5708 | Fremap_command directly for speed. | |
5709 | (Fkey_binding): Use Fremap_command for command remapping. | |
5710 | (where_is_internal): Handle new command remapping representation. | |
5711 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
5712 | staticpro them. Defsubr Fremap_command. | |
5713 | ||
5714 | * keymap.h (Fremap_command): Declare extern. | |
5715 | (is_command_symbol): Remove extern. | |
5716 | ||
5717 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
5718 | remapping; now try command remapping for all symbols. | |
5719 | ||
5720 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
5721 | ||
5722 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
5723 | ||
5724 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
5725 | ||
5726 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
5727 | on the string before encoding it. | |
5728 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
5729 | after decoding it. | |
5730 | ||
5731 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
5732 | ||
5733 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5734 | ||
5735 | * w32term.c (enter_timestamp): Remove unused static variable to | |
5736 | prevent warning. | |
5737 | ||
5738 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
5739 | ||
5740 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
5741 | ||
5742 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
5743 | ||
5744 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
5745 | ||
5746 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
5747 | ||
5748 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
5749 | ||
5750 | * w32menu.c (menubar_selection_callback): Free the menu and | |
5751 | clear the menu_command_in_progress flag. | |
5752 | ||
5753 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
5754 | (menu_free_timer): New variable. | |
5755 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
5756 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
5757 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
5758 | menu command is in progress. | |
5759 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
5760 | Kill any menu_free_timer that is running. | |
5761 | ||
5762 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
5763 | Call ExtTextOutA rather than ExtTextOut. | |
5764 | ||
5765 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
5766 | ||
5767 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
5768 | ||
5769 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
5770 | ||
5771 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
5772 | on the string before encoding it. | |
5773 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
5774 | after decoding it. | |
5775 | ||
5776 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
5777 | ||
5778 | Support for ICCCM Extended Segments in X selections: | |
5779 | ||
5780 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
5781 | (syms_of_xselect): Intern and staticpro it. | |
5782 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
5783 | selection text. | |
5784 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
5785 | compound-text-no-extensions, set the type of selection to be | |
5786 | compound-text. | |
5787 | ||
5788 | * xterm.h (x_encode_text): Update prototype. | |
5789 | ||
5790 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
5791 | callers changed. If SELECTIONP is non-zero, run the | |
5792 | pre-write-conversion function before encoding the selection text. | |
5793 | ||
5794 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
5795 | ||
5796 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
5797 | ||
5798 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
5799 | Correct composing of language-change event. | |
5800 | ||
5801 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
5802 | ||
5803 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
5804 | bindings at PT when building menu (the menu is not updated often | |
5805 | enough for this to work reliable). | |
5806 | (tool_bar_items): Likewise. | |
5807 | (current_active_maps): Removed unused (and buggy) function. | |
5808 | ||
5809 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
5810 | ||
5811 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
5812 | ||
5813 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
5814 | ||
5815 | * floatfns.c (Fatan): Accept an optional second arg and call | |
5816 | atan2 if passed 2 args. | |
5817 | ||
5818 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
5819 | ||
5820 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
5821 | ||
5822 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
5823 | ||
5824 | * w32term.c (x_autoselect_window_p): New variable. | |
5825 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
5826 | (note_mouse_movement): Use it. | |
5827 | ||
5828 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
5829 | ||
5830 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
5831 | ||
5832 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
5833 | New variables. | |
5834 | (syms_of_w32fns): Intern and staticpro them. | |
5835 | (x_frame_parms) <"fullscreen">: New parameter. | |
5836 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
5837 | (x_set_frame_parameters): Support Qfullscreen. | |
5838 | (x_real_positions): Save x/y_pixels_diff frame params. | |
5839 | (x_figure_window_size): Support full-screen frames. | |
5840 | (Fx_create_frame): Default the fullscreen parameter. | |
5841 | ||
5842 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
5843 | (x_fullscreen_adjust): New functions. | |
5844 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to | |
5845 | fullscreen. Call x_check_fullscreen_move, and set the | |
5846 | want_fullscreen member of output_data.w32 | |
5847 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
5848 | ||
5849 | * w32term.h: New enum for FULLSCREEN_* constants. | |
5850 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
5851 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
5852 | (x-fullscreen-adjust): New prototype. | |
5853 | ||
5854 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
5855 | ||
5856 | * frame.c: (Vmouse_highlight): New variable. | |
5857 | (syms_of_frame): DEFVAR_LISP it. | |
5858 | ||
5859 | * frame.h: (Vmouse_highlight): Declare extern. | |
8a8e19a3 | 5860 | |
048addec | 5861 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 5862 | |
048addec JD |
5863 | * xterm.c (disable_mouse_highlight): Removed variable. |
5864 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
5865 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
5866 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, | |
5867 | and on after keyboard input. | |
5868 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 5869 | |
048addec | 5870 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 5871 | |
048addec JD |
5872 | * msdos.c (disable_mouse_highlight): Removed variable. |
5873 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
5874 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
5875 | (internal_terminal_init): Initialize mouse_face_hidden. | |
5876 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
5877 | and on after keyboard input. | |
4f1b1854 | 5878 | |
048addec | 5879 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 5880 | |
048addec JD |
5881 | * w32term.c (disable_mouse_highlight): Removed variable. |
5882 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
5883 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. | |
5884 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, | |
5885 | and on after keyboard input. | |
5886 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 5887 | |
048addec | 5888 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 5889 | |
048addec JD |
5890 | * msdos.c (last_mouse_window): New variable. |
5891 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
5892 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 5893 | |
048addec | 5894 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 5895 | |
048addec JD |
5896 | * msdos.c (x_autoselect_window_p): New variable. |
5897 | (syms_of_msdos): Defvar it. | |
5898 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
5899 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 5900 | |
048addec JD |
5901 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
5902 | New variables. | |
5903 | (syms_of_xdisp): DEVFAR them. | |
5904 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
5905 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 5906 | |
048addec | 5907 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 5908 | |
048addec JD |
5909 | * xterm.c (x-autoselect-window): New variable. |
5910 | (note_mouse_movement): Use it. | |
9f696a00 | 5911 | |
048addec | 5912 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 5913 | |
048addec | 5914 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 5915 | |
048addec | 5916 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
d57966d7 | 5917 | |
048addec | 5918 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 5919 | |
048addec | 5920 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 5921 | |
048addec | 5922 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 5923 | |
048addec JD |
5924 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
5925 | (Vx_super_keysym): New variables. | |
5926 | (syms_of_xterm): DEFVAR_LISP them. | |
5927 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
5928 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 5929 | |
048addec | 5930 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 5931 | |
048addec JD |
5932 | * window.c: (Vmode_line_in_non_selected_windows): Removed. |
5933 | (mode_line_in_non_selected_windows): New variable. | |
5934 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 5935 | |
048addec JD |
5936 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
5937 | Use mode_line_in_non_selected_windows. | |
5938 | (mode_line_in_non_selected_windows): Declare extern. | |
5939 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 5940 | |
048addec | 5941 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 5942 | |
048addec JD |
5943 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
5944 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
5945 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 5946 | |
048addec JD |
5947 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
5948 | (update_face_from_frame_parameter): Increment face_change_count | |
5949 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 5950 | |
048addec JD |
5951 | * xdisp.c (QCpropertize): New variable. |
5952 | (mode_line_proptrans_alist): New variable. | |
5953 | (display_mode_element): New arg PROPS; all calls changed. | |
5954 | Implement this, for strings. | |
5955 | Handle literal output of strings by sharing the | |
5956 | main-line code for strings, using local var `literal'. | |
5957 | Handle :propertize feature. | |
5958 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
5959 | mode_line_proptrans_alist. | |
0b1e6b54 | 5960 | |
048addec | 5961 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 5962 | |
048addec JD |
5963 | * window.c: (Vmode_line_in_non_selected_windows): New variable. |
5964 | (syms_of_window): DEFVAR_LISP it. | |
7f2cddf3 | 5965 | |
048addec JD |
5966 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
5967 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
5968 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 5969 | |
048addec JD |
5970 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
5971 | to get mode line face. | |
e17144de | 5972 | |
048addec | 5973 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 5974 | |
048addec JD |
5975 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
5976 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 5977 | |
048addec | 5978 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 5979 | |
048addec JD |
5980 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
5981 | reduction. This fixes a display problem where stray newlines were | |
5982 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 5983 | |
048addec | 5984 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 5985 | |
048addec | 5986 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 5987 | |
048addec | 5988 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 5989 | |
048addec | 5990 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 5991 | |
048addec JD |
5992 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
5993 | match each other. | |
5994 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
5995 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 5996 | |
048addec | 5997 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 5998 | |
048addec JD |
5999 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
6000 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
6001 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 6002 | |
048addec JD |
6003 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
6004 | (pos_visible_p, handle_face_prop): Likewise. | |
6005 | (display_mode_lines): Likewise, but for the real selected window. | |
6006 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 6007 | |
048addec JD |
6008 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
6009 | in non-selected windows. | |
6010 | (realize_basic_faces): Realize it. | |
6011 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 6012 | |
048addec | 6013 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 6014 | |
048addec JD |
6015 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
6016 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 6017 | |
048addec | 6018 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 6019 | |
048addec JD |
6020 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
6021 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 6022 | |
048addec | 6023 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 6024 | |
048addec | 6025 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 6026 | |
048addec | 6027 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 6028 | |
048addec | 6029 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 6030 | |
048addec | 6031 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 6032 | |
048addec | 6033 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 6034 | |
048addec JD |
6035 | * keymap.c (where_is_internal): Only check whether definition is |
6036 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 6037 | |
048addec | 6038 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 6039 | |
048addec | 6040 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 6041 | |
048addec | 6042 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 6043 | |
048addec | 6044 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 6045 | |
048addec JD |
6046 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
6047 | defining command remapping. Doc updated. | |
6048 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
6049 | (is_command_symbol): New function. | |
6050 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
6051 | Doc updated. Callers changed. Perform command remapping via | |
6052 | recursive call unless that arg is non-nil. | |
6053 | (where_is_internal): New argument no_remap. Callers changed. | |
6054 | Call recursively to find original key bindings for a remapped | |
6055 | comand unless that arg is non-nil. | |
6056 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
6057 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 6058 | |
048addec JD |
6059 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
6060 | (is_command_symbol): Added prototype. | |
0d8466cc | 6061 | |
048addec JD |
6062 | * keyboard.c (Vthis_original_command): New variable. |
6063 | (syms_of_keyboard): DEFVAR_LISP it. | |
6064 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 6065 | |
048addec | 6066 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 6067 | |
048addec | 6068 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 6069 | |
048addec | 6070 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 6071 | |
048addec | 6072 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 6073 | |
048addec | 6074 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 6075 | |
048addec | 6076 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 6077 | |
048addec | 6078 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 6079 | |
048addec | 6080 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 6081 | |
048addec | 6082 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 6083 | |
048addec | 6084 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 6085 | |
048addec JD |
6086 | * lread.c (read1): Redesign strategy for force_multibyte and |
6087 | force_singlebyte. Now is_multibyte records whether read_buffer | |
6088 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 6089 | |
048addec | 6090 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 6091 | |
048addec JD |
6092 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
6093 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 6094 | |
048addec | 6095 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 6096 | |
048addec JD |
6097 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
6098 | latter never being defined on GNU/Linux. | |
749f499f | 6099 | |
048addec | 6100 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 6101 | |
048addec JD |
6102 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
6103 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 6104 | |
048addec | 6105 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 6106 | |
048addec JD |
6107 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
6108 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 6109 | |
048addec JD |
6110 | * eval.c (Fsignal): Remove duplicated declaration of |
6111 | the variable `display_hourglass_p'. | |
b4c45162 | 6112 | |
048addec | 6113 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 6114 | |
048addec | 6115 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 6116 | |
048addec JD |
6117 | * coding.c (decode_composition_emacs_mule): |
6118 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 6119 | |
048addec JD |
6120 | * callint.c (check_mark): New arg to specify clearer error message. |
6121 | Callers changed. | |
c95eaa61 | 6122 | |
048addec | 6123 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 6124 | |
048addec | 6125 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 6126 | |
048addec | 6127 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 6128 | |
048addec JD |
6129 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
6130 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
6131 | Fix doc-strings. | |
c95eaa61 | 6132 | |
048addec | 6133 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 6134 | |
048addec | 6135 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 6136 | |
048addec JD |
6137 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
6138 | and scroll_up_aggressively. | |
c95eaa61 | 6139 | |
048addec | 6140 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 6141 | |
048addec | 6142 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 6143 | |
048addec | 6144 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 6145 | |
048addec JD |
6146 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
6147 | (Fprevious_property_change, Fprevious_single_property_change): | |
6148 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 6149 | |
048addec | 6150 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 6151 | |
048addec JD |
6152 | * term.c (Ftty_display_color_cells): New function. |
6153 | (syms_of_term): Defsubr it. | |
6154 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
6155 | argument name to DISPLAY. Doc fix. | |
bf794306 | 6156 | |
048addec JD |
6157 | * dispextern.h: Add prototype for set_tty_color_mode and |
6158 | tty_setup_colors. | |
bf794306 | 6159 | |
048addec | 6160 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 6161 | |
048addec JD |
6162 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
6163 | If region left to draw is not what was expected, mark the frame as | |
6164 | garbaged. | |
62582985 | 6165 | |
048addec JD |
6166 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
6167 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 6168 | |
048addec | 6169 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 6170 | |
048addec JD |
6171 | * w32term.c (x_update_window_begin): Only hide caret if |
6172 | w32_use_visible_system_caret is set. | |
6173 | (x_update_window_end): Only show caret if | |
6174 | w32_use_visible_system_caret is set. | |
6175 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 6176 | |
048addec | 6177 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 6178 | |
048addec | 6179 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 6180 | |
048addec JD |
6181 | * unexelf.c (unexec): Define n so as to cause compilation error |
6182 | for the code where people have often written n instead of nn. | |
1e9a6186 | 6183 | |
048addec | 6184 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 6185 | |
048addec | 6186 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 6187 | |
048addec | 6188 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 6189 | |
048addec | 6190 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 6191 | |
048addec JD |
6192 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
6193 | if fullscreen is being set. | |
7c75be36 | 6194 | |
048addec | 6195 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 6196 | |
048addec JD |
6197 | * minibuf.c (Fminibuffer_contents) |
6198 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
6199 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 6200 | |
048addec | 6201 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 6202 | |
048addec | 6203 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 6204 | |
048addec | 6205 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 6206 | |
048addec JD |
6207 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
6208 | height before comparison. | |
6209 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 6210 | |
048addec | 6211 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 6212 | |
048addec JD |
6213 | * w32term.c (w32_system_caret_width): Remove. |
6214 | (w32_use_visible_system_caret): New user flag. | |
6215 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
6216 | Windows reports a screen reader running. | |
6217 | (x_update_window_begin): Hide the system caret. | |
6218 | (x_update_window_end): Show the system caret. | |
6219 | (x_display_and_set_cursor): Don't draw a cursor when | |
6220 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 6221 | |
048addec JD |
6222 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
6223 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
6224 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
6225 | the user requests it. Use system default width when creating. | |
6226 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 6227 | |
048addec JD |
6228 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
6229 | New window messages. | |
905cc05a | 6230 | |
048addec | 6231 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 6232 | |
048addec | 6233 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 6234 | |
048addec | 6235 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 6236 | |
048addec | 6237 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 6238 | |
048addec | 6239 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 6240 | |
048addec | 6241 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 6242 | |
048addec | 6243 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 6244 | |
048addec JD |
6245 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
6246 | that Windows returns. If a double check fails, try to guess how | |
6247 | ExtTextOut is going to act. | |
4d0fa4f3 | 6248 | |
048addec JD |
6249 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
6250 | in place of stricmp. | |
6251 | (w32_list_synthesized_fonts): Removed. | |
6252 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
6253 | (struct enumfont_t): New element; list. | |
6254 | (enum_font_cb2): List all style and charset variations of a font. | |
6255 | (Fw32_select_font): New optional argument; include_proportional. | |
6256 | Exclude vertical fonts. Exclude proportional fonts unless | |
6257 | include_proportional is non-nil. | |
6258 | (w32_enable_synthesized_fonts): Change to a boolean. | |
6259 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 6260 | |
048addec | 6261 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 6262 | |
048addec JD |
6263 | * dispnew.c (update_frame): Move the variable `tem' to the block |
6264 | where it is used. | |
4971e491 | 6265 | |
048addec | 6266 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 6267 | |
048addec JD |
6268 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
6269 | call to face-set-after-frame-default. | |
4971e491 | 6270 | |
048addec | 6271 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 6272 | |
048addec JD |
6273 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
6274 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 6275 | |
048addec | 6276 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 6277 | |
048addec JD |
6278 | * window.c (enlarge_window): When exceeding size of parent, |
6279 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 6280 | |
048addec | 6281 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 6282 | |
048addec | 6283 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 6284 | |
048addec | 6285 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 6286 | |
048addec | 6287 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 6288 | |
048addec | 6289 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 6290 | |
048addec JD |
6291 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
6292 | is invisible. This can happen if cursor is on top line of a | |
6293 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 6294 | |
048addec | 6295 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 6296 | |
048addec | 6297 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 6298 | |
048addec JD |
6299 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
6300 | `dont_resize' only when used. | |
61e3b944 | 6301 | |
048addec | 6302 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 6303 | |
048addec | 6304 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 6305 | |
048addec JD |
6306 | * xdisp.c (display_mode_element): When computing charpos, depend |
6307 | on multibyteness of elt, not the text in field. | |
8af01033 | 6308 | |
048addec | 6309 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 6310 | |
048addec JD |
6311 | * buffer.c (Fkill_all_local_variables): |
6312 | Increment `update_mode_lines' only once. | |
7363986a | 6313 | |
048addec | 6314 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 6315 | |
048addec JD |
6316 | * lisp.h (adjust_after_replace_noundo) |
6317 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 6318 | |
048addec | 6319 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 6320 | |
048addec | 6321 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 6322 | |
048addec JD |
6323 | Support for the --color command-line argument and tty-color-mode |
6324 | frame parameter: | |
f1a85b89 | 6325 | |
048addec JD |
6326 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
6327 | (set_tty_color_mode): New functions. | |
6328 | (term_init): Call tty_default_color_capabilities. | |
6329 | (Qtty_color_mode_alist): New variable. | |
6330 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 6331 | |
048addec JD |
6332 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
6333 | frames. | |
6334 | (do_switch_frame): For termcap frames, switch the tty | |
6335 | color mode as specified by the frame's parameters. | |
6336 | (Qtty_color_mode): New variable. | |
6337 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 6338 | |
048addec JD |
6339 | * emacs.c (USAGE2): Add the --color option. |
6340 | (standard_args): Ditto. | |
72244db2 | 6341 | |
048addec JD |
6342 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6343 | ||
6344 | * xterm.h (struct x_output): New members want_fullscreen, | |
6345 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
6346 | y_pixels_outer_diff. | |
6347 | New enum for FULLSCREEN_* constants. | |
6348 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
6349 | is NULL. | |
6350 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 6351 | |
048addec JD |
6352 | * emacs.c (USAGE2): Add the new full-screen arguments. |
6353 | (standard_args): Ditto. | |
3a62677f | 6354 | |
048addec JD |
6355 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
6356 | New variables. | |
6357 | (syms_of_xfns): Intern and staticpro them. | |
6358 | (x_frame_parms) <"fullscreen">: New parameter. | |
6359 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
6360 | (x_set_frame_parameters): Support for Qfullscreen. | |
6361 | (x_real_positions): More accurate computation of the frame position. | |
6362 | (x_figure_window_size): Support full-screen frames. | |
6363 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 6364 | |
048addec JD |
6365 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
6366 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
6367 | <ConfigureNotify>: Don't resize to fullscreen. | |
6368 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
6369 | output_data.x. | |
3a62677f | 6370 | |
048addec | 6371 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 6372 | |
048addec JD |
6373 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
6374 | for mice with more than 3 buttons. | |
b8523839 | 6375 | |
048addec JD |
6376 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
6377 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 6378 | |
048addec JD |
6379 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
6380 | (syms_of_w32fns): DEFVAR_BOOL it. | |
6381 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 6382 | |
048addec | 6383 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 6384 | |
048addec | 6385 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 6386 | |
048addec | 6387 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 6388 | |
048addec | 6389 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 6390 | |
048addec | 6391 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 6392 | |
048addec JD |
6393 | * .gdbinit (xbuffer): Remove address operator since data is now a |
6394 | pointer. | |
c93674bb | 6395 | |
048addec | 6396 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 6397 | |
048addec | 6398 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 6399 | |
048addec | 6400 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 6401 | |
048addec | 6402 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 6403 | |
048addec JD |
6404 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
6405 | when checking for multiple frames. | |
91175673 | 6406 | |
048addec | 6407 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 6408 | |
048addec JD |
6409 | * window.c (delete_window): Rewrite the code for changing the |
6410 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 6411 | |
048addec | 6412 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 6413 | |
048addec JD |
6414 | * process.c (send_process): Set src_multibyte to 1 after the call |
6415 | top setup_coding_system, not before the call. | |
e0fead5d | 6416 | |
048addec | 6417 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 6418 | |
048addec JD |
6419 | * xmenu.c (set_frame_menubar, xmenu_show): |
6420 | (xdialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 6421 | |
048addec JD |
6422 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
6423 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 6424 | |
048addec | 6425 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 6426 | |
048addec | 6427 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 6428 | |
048addec | 6429 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 6430 | |
048addec | 6431 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 6432 | |
048addec | 6433 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 6434 | |
048addec JD |
6435 | * insdel.c (make_gap_larger): Make sure buffer size does not |
6436 | overflow range of int. | |
62854fe2 | 6437 | |
048addec | 6438 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 6439 | |
048addec JD |
6440 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
6441 | OVERLAPS_P. | |
656f46bb | 6442 | |
048addec | 6443 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 6444 | |
048addec JD |
6445 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
6446 | to the left or to the right of the pointer, put it against | |
6447 | the left screen edge. | |
6448 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 6449 | |
048addec JD |
6450 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
6451 | background color if it doesn't have a Pixmap. | |
6452 | (notice_overwritten_cursor): Don't depend on | |
6453 | output_cursor and updated_area. Compare pixel coordinates with | |
6454 | window's cursor pixel coordinates. | |
6455 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
6456 | Call notice_overwritten_cursor with new arg list. | |
6457 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
6458 | unconditionally. | |
6459 | (x_draw_image_relief): Use predefined macro instead of | |
6460 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 6461 | |
048addec | 6462 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 6463 | |
048addec | 6464 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 6465 | |
048addec | 6466 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 6467 | |
048addec | 6468 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 6469 | |
048addec JD |
6470 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
6471 | (Fkey_binding): Try the `keymap' property map first. | |
6472 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
6473 | minor mode bindings. | |
90647b07 | 6474 | |
048addec | 6475 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 6476 | |
048addec | 6477 | * keyboard.c (read_key_sequence): Fixed cast of submaps arg to bcopy. |
ace9b298 | 6478 | |
048addec | 6479 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 6480 | |
048addec JD |
6481 | * keyboard.c (read_key_sequence): Handle the keymap property |
6482 | before minor mode maps. | |
9fbc32aa | 6483 | |
048addec JD |
6484 | * editfns.c (Fformat): Update thissize from field_width |
6485 | based on the actual width, in the string case. | |
036e218d | 6486 | |
048addec | 6487 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 6488 | |
048addec JD |
6489 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
6490 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 6491 | |
048addec JD |
6492 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
6493 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 6494 | |
048addec | 6495 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 6496 | |
048addec JD |
6497 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
6498 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
6499 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 6500 | |
048addec | 6501 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 6502 | |
048addec JD |
6503 | * print.c (print_object): Test print_escape_nonascii only for |
6504 | unibyte strings. | |
6505 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
6506 | when outputting to a multibyte buffer. | |
9fbc32aa | 6507 | |
048addec | 6508 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 6509 | |
048addec JD |
6510 | * print.c (print_object): In multibyte string, use hex escapes. |
6511 | Use octal only for unibyte strings. | |
6512 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 6513 | |
048addec JD |
6514 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
6515 | escape forces unibyte or multibyte. | |
6516 | (read1): When reading a string, take note of that info. | |
0142178a | 6517 | |
048addec | 6518 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 6519 | |
048addec JD |
6520 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
6521 | comparison to test lisp value returned by Fget. | |
d4824a5d | 6522 | |
048addec | 6523 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 6524 | |
048addec | 6525 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 6526 | |
048addec | 6527 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 6528 | |
048addec JD |
6529 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
6530 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 6531 | |
048addec | 6532 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 6533 | |
048addec JD |
6534 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
6535 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
6536 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
6537 | Update calls to Fdefine_abbrev. | |
6538 | (write_abbrev): Update for changed data format. | |
6539 | Don't list "system" abbrevs. | |
6540 | (Fexpand_abbrev): Update use count with new data format. | |
6541 | (describe_abbrev): Update for changed data format. | |
6542 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 6543 | |
048addec | 6544 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 6545 | |
048addec | 6546 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 6547 | |
048addec JD |
6548 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
6549 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 6550 | |
048addec JD |
6551 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
6552 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
6553 | (exclude_key): New variable. | |
59a86c99 | 6554 | |
048addec | 6555 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 6556 | |
048addec JD |
6557 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
6558 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 6559 | |
048addec JD |
6560 | * xterm.c (notice_overwritten_cursor): Don't depend on |
6561 | output_cursor and updated_area. Compare pixel coordinates with | |
6562 | window's cursor pixel coordinates. | |
6563 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
6564 | Call notice_overwritten_cursor with new arg list. | |
6565 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
6566 | unconditionally. | |
eb77a5f4 | 6567 | |
048addec JD |
6568 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
6569 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 6570 | |
048addec | 6571 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 6572 | |
048addec JD |
6573 | * intervals.c (set_point_both): The position after an invisible, |
6574 | intangible character is not an acceptable stopping point. | |
bb313871 | 6575 | |
048addec | 6576 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 6577 | |
048addec JD |
6578 | * window.c (enlarge_window): In new preserve_before code, convert |
6579 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 6580 | |
048addec | 6581 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 6582 | |
048addec | 6583 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 6584 | |
048addec | 6585 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 6586 | |
048addec JD |
6587 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
6588 | separated by mouse-movement. When tracking mouse, only record | |
6589 | first and last mouse-movement event in same window. | |
6590 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 6591 | |
048addec | 6592 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 6593 | |
048addec JD |
6594 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
6595 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 6596 | |
048addec JD |
6597 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
6598 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 6599 | |
048addec | 6600 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 6601 | |
048addec | 6602 | The following changes remove mocklisp support: |
9fabb2f5 | 6603 | |
048addec | 6604 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 6605 | |
048addec JD |
6606 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
6607 | `Qmocklisp' and `Qmocklisp_arguments'. | |
6608 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 6609 | |
048addec | 6610 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 6611 | |
048addec JD |
6612 | * callint.c: Do not include mocklisp.h. |
6613 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 6614 | |
048addec JD |
6615 | * eval.c: Remove variables `Qmocklisp_arguments', |
6616 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
6617 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
6618 | Do not test for mocklisp case. | |
6619 | (Fwhile): Remove unused variable `tem'. | |
6620 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 6621 | |
048addec | 6622 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 6623 | |
048addec | 6624 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 6625 | |
048addec | 6626 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 6627 | |
048addec | 6628 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 6629 | |
048addec JD |
6630 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
6631 | to the left or to the right of the pointer, put it against | |
6632 | the left screen edge. | |
6108b49c | 6633 | |
048addec | 6634 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 6635 | |
048addec JD |
6636 | * Makefile.in (distclean): Remove .gdbinit if we are building |
6637 | outside the source tree. | |
5eea19a4 | 6638 | |
048addec | 6639 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 6640 | |
048addec | 6641 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 6642 | |
048addec | 6643 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 6644 | |
048addec JD |
6645 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
6646 | of the current drive as the fallback for default_directory. | |
438e57dd | 6647 | |
048addec JD |
6648 | * dired.c (file_name_completion): Run the elements of |
6649 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 6650 | |
048addec JD |
6651 | * lisp.h (scmp): Remove prototype, since it's now a static |
6652 | function private to dired.c. | |
c88e5347 | 6653 | |
048addec | 6654 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 6655 | |
048addec JD |
6656 | * dired.c (scmp): Function moved from minibuf.c. |
6657 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 6658 | |
048addec | 6659 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 6660 | |
048addec | 6661 | * fns.c (merge): Add QUIT call. |
59ce1461 | 6662 | |
048addec | 6663 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 6664 | |
048addec JD |
6665 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
6666 | language/georgian.el. | |
8727d588 | 6667 | |
048addec | 6668 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 6669 | |
048addec JD |
6670 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
6671 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 6672 | |
048addec | 6673 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 6674 | |
048addec JD |
6675 | * xdisp.c (window_box_height): Do not return negative values. |
6676 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 6677 | |
048addec | 6678 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 6679 | |
048addec | 6680 | * term.c (keys): Likewise. |
deece6f5 | 6681 | |
048addec | 6682 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 6683 | |
048addec | 6684 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 6685 | |
048addec JD |
6686 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
6687 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 6688 | |
048addec | 6689 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 6690 | |
048addec | 6691 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 6692 | |
048addec JD |
6693 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
6694 | before calling decode_coding. | |
9b46de40 | 6695 | |
048addec | 6696 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 6697 | |
048addec JD |
6698 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
6699 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 6700 | |
048addec | 6701 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 6702 | |
048addec | 6703 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 6704 | |
048addec | 6705 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 6706 | |
048addec JD |
6707 | * buffer.h (struct buffer): New field `display_error_modiff'. |
6708 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 6709 | |
048addec | 6710 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 6711 | |
048addec JD |
6712 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
6713 | Call redisplay_window, but not if display_error_modiff field says no. | |
6714 | (redisplay_window_error): New function. | |
6715 | (displayed_buffer): New variable. | |
6716 | (redisplay_internal, redisplay_windows): Call the new functions | |
6717 | instead of redisplay_window directly. | |
2cd23960 | 6718 | |
048addec | 6719 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 6720 | |
048addec | 6721 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 6722 | |
048addec | 6723 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 6724 | |
048addec JD |
6725 | * makefile.w32-in (EMACSLOADPATH): Define. |
6726 | ($(EMACS)): Run `list-load-path-shadows' after dumping emacs. | |
6727 | (bootstrap-temacs): Remove dependency on bootstrap-clean. | |
a4184c1c | 6728 | |
048addec | 6729 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 6730 | |
048addec JD |
6731 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
6732 | parameter have a numeric value all the time. | |
f6fa0866 | 6733 | |
048addec | 6734 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 6735 | |
048addec | 6736 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 6737 | |
048addec | 6738 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 6739 | |
048addec JD |
6740 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
6741 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 6742 | |
048addec | 6743 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 6744 | |
048addec JD |
6745 | * xdisp.c (move_it_vertically_backward): Change heuristic |
6746 | for the case that we didn't move far enough initially. | |
91c153e2 | 6747 | |
048addec JD |
6748 | * window.c (Frecenter): Simplify computation in the case of window |
6749 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 6750 | |
048addec | 6751 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 6752 | |
048addec JD |
6753 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
6754 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 6755 | |
048addec | 6756 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 6757 | |
048addec JD |
6758 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
6759 | arg is negative. | |
be676094 | 6760 | |
048addec | 6761 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 6762 | |
048addec JD |
6763 | * m/hp800.h: Split the __hpux conditional into the parts |
6764 | that are right for GNU/Linux too and the parts that are not. | |
6765 | Use the former if GNU_LINUX. | |
6766 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 6767 | |
048addec | 6768 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 6769 | |
048addec | 6770 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 6771 | |
048addec JD |
6772 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
6773 | `new style' [w/`doc:' keyword]. | |
032a857d | 6774 | |
048addec | 6775 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 6776 | |
048addec JD |
6777 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
6778 | before using. | |
b6270150 | 6779 | |
048addec | 6780 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 6781 | |
048addec JD |
6782 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
6783 | keyword]. | |
98cbb9fa | 6784 | |
048addec | 6785 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 6786 | |
048addec | 6787 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 6788 | |
048addec | 6789 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 6790 | |
048addec | 6791 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 6792 | |
048addec JD |
6793 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
6794 | Add comment to explain where the struct came from. | |
6795 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. | |
6796 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
6797 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
6798 | Lisp_Object. | |
6799 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 6800 | |
048addec | 6801 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 6802 | |
048addec | 6803 | * COPYING: Moved back. |
fa336b91 | 6804 | |
048addec JD |
6805 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
6806 | Add parentheses around && within ||. | |
077907d4 | 6807 | |
048addec | 6808 | * indent.c (compute_motion): Likewise. |
aa2af83a | 6809 | |
048addec | 6810 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 6811 | |
048addec JD |
6812 | * coding.c (setup_coding_system, shrink_encoding_region) |
6813 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 6814 | |
048addec | 6815 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 6816 | |
048addec JD |
6817 | * xdisp.c (display_mode_element): Don't read past end of string if |
6818 | it ends with '%'. | |
60a653f1 | 6819 | |
048addec JD |
6820 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
6821 | can hold. | |
60a653f1 | 6822 | |
048addec JD |
6823 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
6824 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
6825 | type changed to Lisp_Object. | |
6826 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 6827 | |
048addec | 6828 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 6829 | |
048addec JD |
6830 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
6831 | location whenever Emacs was run uninstalled. | |
60a653f1 | 6832 | |
048addec | 6833 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 6834 | |
048addec JD |
6835 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
6836 | * process.c (create_process): | |
6837 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
6838 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
6839 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
6840 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
6841 | * m/intel386.h (HAVE_VFORK): Likewise. | |
6842 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
6843 | * m/mips.h (HAVE_VFORK): Likewise. | |
6844 | * s/freebsd.h (vfork): Remove #define. | |
6845 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
6846 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 6847 | |
048addec | 6848 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 6849 | |
048addec JD |
6850 | * s/hpux10.h (random): Add undef. |
6851 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 6852 | |
048addec | 6853 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 6854 | |
048addec | 6855 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 6856 | |
048addec | 6857 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 6858 | |
048addec JD |
6859 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
6860 | scroll bars of the frame before deleting the frame itself. If the | |
6861 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
6862 | not call XDestroyWindow before that. | |
60a653f1 | 6863 | |
048addec | 6864 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 6865 | |
048addec | 6866 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 6867 | |
048addec | 6868 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 6869 | |
048addec | 6870 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 6871 | |
048addec JD |
6872 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
6873 | excessively large. | |
60a653f1 | 6874 | |
048addec JD |
6875 | * insdel.c (make_gap_larger): New function. |
6876 | (make_gap_smaller): New function. | |
6877 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
6878 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 6879 | |
048addec | 6880 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 6881 | |
048addec JD |
6882 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
6883 | Pass a dummy argument when calling interrupt_signal. | |
6884 | (parse_menu_item): Mark disabled items before checking for empty def. | |
6885 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
6886 | (read_key_sequence): Add a `first_unbound' variable. | |
6887 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
6888 | unbound prefix as soon as we can detect it. | |
60a653f1 | 6889 | |
048addec JD |
6890 | * doc.c (Fsnarf_documentation): Add prototype. |
6891 | (get_doc_string): Handle negative arguments. | |
6892 | (Fdocumentation): Use AREF and ASIZE. | |
6893 | Move the calls to get_doc_string to a single place. | |
6894 | Don't confuse an interactive-spec for a docstring reference. | |
6895 | (Fdocumentation_property): Take advantage of the fact that | |
6896 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 6897 | |
048addec | 6898 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 6899 | |
048addec | 6900 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 6901 | |
048addec | 6902 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. |
60a653f1 | 6903 | |
048addec | 6904 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 6905 | |
048addec JD |
6906 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
6907 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 6908 | |
048addec | 6909 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 6910 | |
048addec JD |
6911 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
6912 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 6913 | |
048addec | 6914 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 6915 | |
048addec | 6916 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 6917 | |
048addec | 6918 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 6919 | |
048addec | 6920 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 6921 | |
048addec | 6922 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 6923 | |
048addec | 6924 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 6925 | |
048addec | 6926 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 6927 | |
048addec JD |
6928 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
6929 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 6930 | |
048addec JD |
6931 | * w32menu.c (current_popup_menu, get_menu_item_info): |
6932 | (set_menu_item_info): New vars. | |
6933 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
6934 | (w32_menu_show): Set current_popup_menu. | |
6935 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
6936 | and help strings. | |
6937 | Use owner-draw for disabled menu items again. | |
6938 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
6939 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 6940 | |
048addec JD |
6941 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
6942 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
6943 | <WM_EXITMENULOOP>: Free menu strings. | |
6944 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
6945 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 6946 | |
048addec JD |
6947 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
6948 | and mouse face. | |
60a653f1 | 6949 | |
048addec | 6950 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 6951 | |
048addec JD |
6952 | The following changes add left-fringe and right-fringe |
6953 | frame parameters to adjust fringe widths, or remove one or | |
6954 | both fringes. | |
60a653f1 | 6955 | |
048addec JD |
6956 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
6957 | trunc_area_cols fields. | |
6958 | (Qleft_fringe, Qright_fringe): Declare. | |
6959 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 6960 | |
048addec JD |
6961 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
6962 | (syms_of_frame): Initialize them. | |
60a653f1 | 6963 | |
048addec JD |
6964 | * window.c (coordinates_in_window): Handle separate left and right |
6965 | fringe widths. | |
60a653f1 | 6966 | |
048addec JD |
6967 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
6968 | and fringe_cols fields. | |
6969 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
6970 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
6971 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
6972 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
6973 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
6974 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 6975 | |
048addec JD |
6976 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
6977 | fill fringe evenly with small dashes. | |
6978 | (x_draw_fringe_bitmap): Clear background if necessary. Align and | |
6979 | clip the new ZV bitmap to avoid jitter between rows. | |
6980 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
6981 | background. Don't draw fringe bitmaps if fringe width is zero. | |
6982 | (x_compute_fringe_widths): New function. | |
6983 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 6984 | |
048addec JD |
6985 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
6986 | (x_set_frame_parameters): Process `font' parameter before other | |
6987 | parameters as fringe widths depend on it. | |
6988 | (x_set_fringe_width): New function. | |
6989 | (x_figure_window_size): Use x_compute_fringe_widths. | |
6990 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
6991 | parameters. | |
60a653f1 | 6992 | |
048addec JD |
6993 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
6994 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 6995 | |
048addec JD |
6996 | * w32term.h: Merged changes from xterm.h. |
6997 | * w32term.c: Merged changes from xterm.c. | |
6998 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 6999 | |
048addec | 7000 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 7001 | |
048addec | 7002 | * COPYING: Removed. |
60a653f1 | 7003 | |
048addec | 7004 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 7005 | |
048addec JD |
7006 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
7007 | extra extra slot. | |
7008 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 7009 | |
048addec | 7010 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 7011 | |
048addec JD |
7012 | * fileio.c (file-name-coding-system) |
7013 | (default-file-name-coding-system): Doc fix (links to referenced | |
7014 | variables added). | |
60a653f1 | 7015 | |
048addec | 7016 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7017 | |
048addec JD |
7018 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
7019 | Add dummy uses of gcproN variables. | |
60a653f1 | 7020 | |
048addec JD |
7021 | * category.c (describe_category, describe_category_1) |
7022 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
7023 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 7024 | |
048addec | 7025 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7026 | |
048addec | 7027 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 7028 | |
048addec JD |
7029 | * Makefile.in (lispdir): New variable, referring to build dir. |
7030 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 7031 | |
048addec | 7032 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 7033 | |
048addec JD |
7034 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
7035 | OWNER. | |
60a653f1 | 7036 | |
048addec | 7037 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 7038 | |
048addec JD |
7039 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
7040 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
7041 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
7042 | conditionally. | |
7043 | (w32_menu_display_help): New argument OWNER. Rewritten to store a | |
7044 | help event in the owner frame's keyboard buffer. | |
60a653f1 | 7045 | |
048addec JD |
7046 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
7047 | (Fx_show_tip): Don't subtract last width from row width. | |
7048 | ||
7049 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
7050 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 7051 | |
048addec | 7052 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 7053 | |
048addec JD |
7054 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
7055 | OVERLAPS_P. | |
60a653f1 | 7056 | |
048addec | 7057 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 7058 | |
048addec JD |
7059 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
7060 | `gcpro3' and `gcpro4'. | |
60a653f1 | 7061 | |
048addec | 7062 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 7063 | |
048addec | 7064 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7065 | |
048addec | 7066 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 7067 | |
048addec | 7068 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7069 | |
048addec JD |
7070 | * lisp.h (run_hook_list_with_args): Remove. |
7071 | (LIST_END_P): Fix call to wrong_type_argument. | |
7072 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 7073 | |
048addec | 7074 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7075 | |
048addec JD |
7076 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
7077 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 7078 | |
048addec JD |
7079 | * eval.c: Use AREF and ASIZE. |
7080 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 7081 | |
048addec JD |
7082 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
7083 | which match the end of the file-name. | |
7084 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
7085 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 7086 | |
048addec JD |
7087 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
7088 | Make nil bindings in char-tables transparent. | |
7089 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 7090 | |
048addec | 7091 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7092 | |
048addec JD |
7093 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
7094 | Do nothing if range is empty. | |
60a653f1 | 7095 | |
048addec | 7096 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 7097 | |
048addec JD |
7098 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
7099 | (clean): Not here. | |
60a653f1 | 7100 | |
048addec | 7101 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7102 | |
048addec JD |
7103 | * textprop.c (set_text_properties_1): Clearly mark that the |
7104 | interval should not be empty. | |
60a653f1 | 7105 | |
048addec JD |
7106 | * intervals.c (graft_intervals_into_buffer): |
7107 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 7108 | |
048addec | 7109 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7110 | |
048addec | 7111 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 7112 | |
048addec JD |
7113 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
7114 | don't lose the data in it. | |
60a653f1 | 7115 | |
048addec | 7116 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 7117 | |
048addec | 7118 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 7119 | |
048addec | 7120 | * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. |
60a653f1 | 7121 | |
048addec | 7122 | * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. |
60a653f1 | 7123 | |
048addec | 7124 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7125 | |
048addec | 7126 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 7127 | |
048addec | 7128 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 7129 | |
048addec JD |
7130 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
7131 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 7132 | |
048addec | 7133 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 7134 | |
048addec | 7135 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 7136 | |
048addec JD |
7137 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
7138 | (Fx_show_tip): Block input during frame creation. | |
7139 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 7140 | |
048addec | 7141 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7142 | |
048addec JD |
7143 | * lread.c (Fload): Detect recursive load error for more than 3 |
7144 | nestings of the same file. | |
7145 | (Vrecursive_load_depth_limit): Variable deleted. | |
7146 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 7147 | |
048addec | 7148 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 7149 | |
048addec JD |
7150 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
7151 | mouse position if either left or top is not specified. | |
60a653f1 | 7152 | |
048addec JD |
7153 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
7154 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
7155 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
7156 | (my_create_tip_window): Assign tip_window. | |
7157 | (x_create_tip_frame): Use same defaults as X. | |
7158 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
7159 | (Fx_show_tip): Do not double height. Call ShowWindow directly. | |
60a653f1 | 7160 | |
048addec JD |
7161 | * w32term.c (x_after_update_window_line): Doc fix. |
7162 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
7163 | frames. | |
7164 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 7165 | |
048addec JD |
7166 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
7167 | for all Windowed systems. | |
60a653f1 | 7168 | |
048addec | 7169 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 7170 | |
048addec JD |
7171 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
7172 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 7173 | |
048addec | 7174 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 7175 | |
048addec JD |
7176 | * textprop.c (Fset_text_properties): Remove unused variables |
7177 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 7178 | |
048addec JD |
7179 | * search.c (Freplace_match): Remove unused variable `inslen'. |
7180 | ||
7181 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
7182 | ||
7183 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
7184 | ||
7185 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
7186 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
7187 | (my_create_tip_window): New function. | |
7188 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
7189 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
7190 | ||
7191 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
7192 | ||
7193 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
7194 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
7195 | ||
7196 | * w32fns.c (Vw32_system_coding_system): Remove. | |
7197 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
7198 | ||
7199 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
7200 | ||
7201 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
7202 | after build_annotations. | |
7203 | ||
7204 | * syntax.c (describe_syntax): Add dummy arg. | |
7205 | (describe_syntax_1): Update call to describe_vector. | |
7206 | ||
7207 | * category.c (describe_category): Add dummy arg. | |
7208 | (describe_category_1): Update call to describe_vector. | |
7209 | ||
7210 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
7211 | (describe_command, describe_translation): Add dummy second param. | |
7212 | (describe_map): Call elt_describer with two arguments. | |
7213 | (describe_vector_princ): Add `fun' parameter. | |
7214 | Call it instead of the hardcoded `princ'. | |
7215 | (describe_vector): Add arg `args'. | |
7216 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 7217 | |
048addec | 7218 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 7219 | |
048addec JD |
7220 | * frame.c: Don't include keymap.h any more. |
7221 | (keys_of_frame): Remove. | |
60a653f1 | 7222 | |
048addec | 7223 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 7224 | |
048addec | 7225 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 7226 | |
048addec | 7227 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 7228 | |
048addec JD |
7229 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
7230 | if defined, 0 otherwise. | |
7231 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
7232 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 7233 | |
048addec | 7234 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7235 | |
048addec | 7236 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 7237 | |
048addec | 7238 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 7239 | |
048addec JD |
7240 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
7241 | (x_draw_bar_cursor): If the background color of the glyph under | |
7242 | the cursor equals the frame's cursor color, use the glyph's | |
7243 | foreground color for drawing the bar cursor. | |
7244 | (x_after_update_window_line): Clear internal border in different | |
7245 | circumstances. | |
7246 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
7247 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
7248 | (x_set_glyph_string_background_width): | |
7249 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
7250 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
7251 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
7252 | if cursor_in_non_selected_windows is false. | |
7253 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
7254 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
7255 | Notice if cursor gets overwritten. | |
7256 | (notice_overwritten_cursor): Renamed from | |
7257 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
7258 | into account, and to take X positions as parameters. | |
7259 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
7260 | around call to x_draw_glyphs. | |
7261 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
7262 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
7263 | color to use for image glyph reliefs. | |
7264 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
7265 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 7266 | |
048addec JD |
7267 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
7268 | some items. | |
7269 | (x_set_internal_border_width): Set frame garbaged when window | |
7270 | doesn't exist yet. | |
7271 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
7272 | (x_clear_image_1, four_corners_best, image_background) | |
7273 | (image_background_transparent): New functions. | |
7274 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
7275 | (gs_format): Add `:background' entry. | |
7276 | (lookup_image): Set IMG's background color if specified. | |
7277 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
7278 | when appropriate. | |
7279 | (x_clear_image_1): Reset `background_valid' and | |
7280 | `background_transparent_valid' fields. | |
7281 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
7282 | calculating it here. Set IMG's background_transparent field. | |
7283 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
7284 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
7285 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
7286 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
7287 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
7288 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
7289 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
7290 | Pre-calculate image background color where necessary. | |
7291 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
7292 | Use display info's n_cbits entry for screen depth. | |
7293 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
7294 | `left', `max_width' and `max_height'. | |
60a653f1 | 7295 | |
048addec | 7296 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 7297 | |
048addec | 7298 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 7299 | |
048addec | 7300 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 7301 | |
048addec | 7302 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 7303 | |
048addec | 7304 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 7305 | |
048addec | 7306 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7307 | |
048addec JD |
7308 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
7309 | (message_dolog_marker3): New static variables hold three markers. | |
7310 | (syms_of_xdisp): Initialize and staticpro them. | |
7311 | (message_dolog): Use message_dolog_marker1..3 instead of | |
7312 | allocating markers each time. Unchain them when done. | |
60a653f1 | 7313 | |
048addec | 7314 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7315 | |
048addec | 7316 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 7317 | |
048addec | 7318 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 7319 | |
048addec | 7320 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 7321 | |
048addec | 7322 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7323 | |
048addec | 7324 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 7325 | |
048addec | 7326 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 7327 | |
048addec | 7328 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 7329 | |
048addec | 7330 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 7331 | |
048addec JD |
7332 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
7333 | with invalid position. | |
60a653f1 | 7334 | |
048addec | 7335 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 7336 | |
048addec | 7337 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 7338 | |
048addec JD |
7339 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
7340 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
7341 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 7342 | |
048addec | 7343 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 7344 | |
048addec | 7345 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 7346 | |
048addec JD |
7347 | * fileio.c (build_annotations): Split off the tail. |
7348 | (build_annotations_2): New fun. Extracted from build_annotations. | |
7349 | (Fwrite_region): Split the call to build_annotations into two | |
7350 | calls to build_annotations and build_annotations_2. | |
077907d4 | 7351 | |
048addec | 7352 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 7353 | |
048addec JD |
7354 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
7355 | clear_waiting_for_input with argument. | |
1756e2fb | 7356 | |
048addec | 7357 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 7358 | |
048addec | 7359 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 7360 | |
048addec | 7361 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 7362 | |
048addec | 7363 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 7364 | |
048addec | 7365 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 7366 | |
048addec JD |
7367 | * fileio.c (choose_write_coding_system): New fun, extracted |
7368 | from Fwrite_region. | |
7369 | (Fwrite_region): Use it. | |
fa336b91 | 7370 | |
048addec JD |
7371 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
7372 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
7373 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 7374 | |
048addec | 7375 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 7376 | |
048addec | 7377 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 7378 | |
048addec JD |
7379 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
7380 | Required for ISC 4.1. | |
fa336b91 | 7381 | |
048addec | 7382 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 7383 | |
048addec JD |
7384 | * syswait.h: (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
7385 | Andrew Wiseman <a.wiseman@btclick.com>. | |
fa336b91 | 7386 | |
048addec | 7387 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 7388 | |
048addec JD |
7389 | The following changes are made to clean up the various internal |
7390 | references to the fringes to actually use the term `fringe' for | |
7391 | them. Previously, they were called `flags areas', `bitmap areas', | |
7392 | `left/right side of windows', or implicitly as `flags' or | |
7393 | `bitmaps': | |
fa336b91 | 7394 | |
048addec JD |
7395 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
7396 | Comments fixed. Use renamed symbols. | |
06e8f738 | 7397 | |
048addec | 7398 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 7399 | |
048addec JD |
7400 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
7401 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
7402 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 7403 | |
048addec | 7404 | * msdos.c: Comment fix. |
9ce647f4 | 7405 | |
048addec | 7406 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 7407 | |
048addec JD |
7408 | * w32term.c: Comment fixes. Use renamed symbols. |
7409 | (fringe_bitmap_type): Renamed from bitmap_type. | |
7410 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
7411 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
7412 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 7413 | |
048addec JD |
7414 | * w32term.h: Comment fixes. Use renamed symbols. |
7415 | (fringes_extra): Renamed from flags_areas_extra. | |
7416 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
7417 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
7418 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
7419 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
7420 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
7421 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
7422 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
7423 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 7424 | |
048addec | 7425 | * widget.c: Use renamed symbols. |
9f7e52b4 | 7426 | |
048addec JD |
7427 | * window.c: Comment fixes. Use renamed symbols. |
7428 | (coordinates-in-window-p): Doc fix. | |
fa336b91 | 7429 | |
048addec | 7430 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 7431 | |
048addec | 7432 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 7433 | |
048addec | 7434 | * xfns.c: Use renamed symbols. |
89512fcd | 7435 | |
048addec JD |
7436 | * xterm.c: Comment fixes. Use renamed symbols. |
7437 | (fringe_bitmap_type): Renamed from bitmap_type. | |
7438 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
7439 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
7440 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 7441 | |
048addec JD |
7442 | * xterm.h: Comment fixes. Use renamed symbols. |
7443 | (fringes_extra): Renamed from flags_areas_extra. | |
7444 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
7445 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
7446 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
7447 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
7448 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
7449 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
7450 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
7451 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
7452 | ||
7453 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
7454 | ||
7455 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
7456 | work for most menu items. From David Ponce | |
7457 | <david.ponce@wanadoo.fr>. | |
7458 | ||
7459 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
7460 | ||
7461 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
7462 | Some x_set_* function expect to be called even if old and new | |
7463 | value are equal. | |
7464 | ||
7465 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
7466 | tool_bar_button_relief. | |
7467 | ||
7468 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
7469 | ||
7470 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
7471 | ||
7472 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
7473 | glyph under the cursor equals the frame's cursor color, use | |
7474 | the glyph's foreground color for drawing the bar cursor. | |
7475 | ||
7476 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
7477 | position comparison. | |
7d18891d | 7478 | |
048addec | 7479 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 7480 | |
048addec JD |
7481 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
7482 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
7483 | Update arguments to find_field. | |
7484 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
7485 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
7486 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
7487 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 7488 | |
048addec | 7489 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 7490 | |
048addec | 7491 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 7492 | |
048addec JD |
7493 | * dispextern.h (image_background, image_background_transparent): |
7494 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 7495 | |
048addec | 7496 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 7497 | |
048addec | 7498 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 7499 | |
048addec | 7500 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 7501 | |
048addec | 7502 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 7503 | |
048addec | 7504 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 7505 | |
048addec | 7506 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 7507 | |
048addec | 7508 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 7509 | |
048addec | 7510 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 7511 | |
048addec | 7512 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 7513 | |
048addec | 7514 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 7515 | |
048addec | 7516 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 7517 | |
048addec | 7518 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 7519 | |
048addec | 7520 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 7521 | |
048addec | 7522 | * print.c (prin1, print): Doc fix. |
e3059a5d | 7523 | |
048addec | 7524 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 7525 | |
048addec JD |
7526 | * fontset.h: Remove declarations of variables |
7527 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 7528 | |
048addec JD |
7529 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
7530 | `Vclip_large_size_font'. | |
eae936e2 | 7531 | |
048addec | 7532 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 7533 | |
048addec | 7534 | * w32fns.c: Doc fix. |
ddb67bdc | 7535 | |
048addec | 7536 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 7537 | |
048addec | 7538 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 7539 | |
048addec | 7540 | * fns.c: Doc fix. |
6e1b91d7 | 7541 | |
048addec | 7542 | * emacs.c: Doc fix. |
1c1d3d69 | 7543 | |
048addec | 7544 | * coding.c: Doc fix. |
1c1d3d69 | 7545 | |
048addec JD |
7546 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
7547 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
7548 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 7549 | |
048addec | 7550 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 7551 | |
048addec JD |
7552 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
7553 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
7554 | (x_display_and_set_cursor): Do display hollow cursors in active | |
7555 | minibuffer windows when they are not selected. | |
b6f4c7ba | 7556 | |
048addec | 7557 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 7558 | |
048addec JD |
7559 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
7560 | * w32term.c: Change doc-string comments to `new style'. | |
7561 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 7562 | |
048addec JD |
7563 | * w32fns.c: Don't define max. |
7564 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 7565 | |
048addec | 7566 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 7567 | |
048addec JD |
7568 | * ccl.c: Change macros to use do-while block instead of if-else. |
7569 | Use braces to follow GNU Coding Standards. | |
eafb659a | 7570 | |
048addec | 7571 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 7572 | |
048addec | 7573 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 7574 | |
048addec | 7575 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 7576 | |
048addec JD |
7577 | * insdel.c (replace_range): Use adjust_markers_for_replace |
7578 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 7579 | |
048addec | 7580 | * intervals.h: Declare set_text_properties and set_text_properties_1. |
a4cd0cd7 | 7581 | |
048addec JD |
7582 | * textprop.c (set_text_properties_1): New subroutine |
7583 | broken out of set_text_properties. | |
7584 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 7585 | |
048addec JD |
7586 | * intervals.c (graft_intervals_into_buffer): |
7587 | Use set_text_properties_1 to clear out properties. | |
91823618 | 7588 | |
048addec JD |
7589 | * search.c (Freplace_match): Use replace_range to insert |
7590 | and delete. Don't request property inheritance from | |
7591 | surrounding text. | |
86928dfb | 7592 | |
048addec | 7593 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 7594 | |
048addec JD |
7595 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
7596 | vertical fonts. Allow them if face name is explicitly specified. | |
7597 | Do not give up if we find a font that cannot be converted to an xlfd. | |
40ef1eda | 7598 | |
048addec | 7599 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 7600 | |
048addec JD |
7601 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
7602 | instead of malloc/free. | |
a78e0303 | 7603 | |
048addec | 7604 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 7605 | |
048addec JD |
7606 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
7607 | Coding Standards. | |
7608 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 7609 | |
048addec | 7610 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 7611 | |
048addec | 7612 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 7613 | |
048addec JD |
7614 | * coding.c (encode_coding): Use precomputed value of `src'. |
7615 | (encode_coding): Remove unused variable `src_end'. | |
7616 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 7617 | |
048addec | 7618 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 7619 | |
048addec JD |
7620 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
7621 | if cursor_glyph is NULL. | |
55c6d645 | 7622 | |
048addec | 7623 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 7624 | |
048addec | 7625 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 7626 | |
048addec | 7627 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 7628 | |
048addec | 7629 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 7630 | |
048addec | 7631 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 7632 | |
048addec JD |
7633 | * intervals.c (graft_intervals_into_buffer): |
7634 | Remove #ifdef'd-out code. | |
7635 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 7636 | |
048addec JD |
7637 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
7638 | code (eval-current-buffer). | |
7639 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 7640 | |
048addec | 7641 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 7642 | |
048addec | 7643 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 7644 | |
048addec | 7645 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 7646 | |
048addec | 7647 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 7648 | |
048addec JD |
7649 | * keyboard.c (make_lispy_event): Check integerness and fix |
7650 | Lisp_Object/int mixup. | |
17893c65 | 7651 | |
048addec | 7652 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 7653 | |
048addec | 7654 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 7655 | |
048addec JD |
7656 | * fontset.c (fontset_font_pattern): Remove unused variable |
7657 | `family_registry'. | |
d5360cc7 | 7658 | |
048addec | 7659 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 7660 | |
048addec | 7661 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 7662 | |
048addec | 7663 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 7664 | |
048addec JD |
7665 | * buffer.c (Fkill_buffer): Don't delete auto save file |
7666 | if buffer is modified. | |
d9d54213 | 7667 | |
048addec | 7668 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 7669 | |
048addec JD |
7670 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
7671 | CHECK_NUMBER_CDR. | |
b116830b | 7672 | |
048addec | 7673 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 7674 | |
048addec | 7675 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 7676 | |
048addec | 7677 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 7678 | |
048addec | 7679 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 7680 | |
048addec | 7681 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 7682 | |
048addec | 7683 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 7684 | |
048addec | 7685 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 7686 | |
048addec JD |
7687 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
7688 | the program image directly. | |
982f6c7e | 7689 | |
048addec | 7690 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 7691 | |
048addec | 7692 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 7693 | |
048addec | 7694 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 7695 | |
048addec JD |
7696 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
7697 | and CHECK_BUFFER. | |
d31053f9 | 7698 | |
048addec JD |
7699 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
7700 | (record_char): Likewise. | |
d31053f9 | 7701 | |
048addec JD |
7702 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
7703 | move to a different buffer position. Instead, check for moving at | |
7704 | least double_click_fuzz. | |
982f6c7e | 7705 | |
048addec | 7706 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 7707 | |
048addec | 7708 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 7709 | |
048addec JD |
7710 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
7711 | for display-table glyphs from the code for buffer text, to fix | |
7712 | bugs in the former. | |
830047fd | 7713 | |
048addec | 7714 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 7715 | |
048addec JD |
7716 | * buffer.c (Fbuffer_local_value): New function. |
7717 | (syms_of_buffer): Defsubr it. | |
2df5238c | 7718 | |
048addec JD |
7719 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
7720 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 7721 | |
048addec JD |
7722 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
7723 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
7724 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 7725 | |
048addec | 7726 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 7727 | |
048addec | 7728 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 7729 | |
048addec JD |
7730 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
7731 | keyword]. | |
3ecaf7e5 | 7732 | |
048addec JD |
7733 | * eval.c (top_level_value, top_level_set): Remove commented and |
7734 | #ifdef'd-out code. | |
7735 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 7736 | |
048addec | 7737 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 7738 | |
048addec | 7739 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 7740 | |
048addec | 7741 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 7742 | |
048addec | 7743 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 7744 | |
048addec | 7745 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 7746 | |
048addec JD |
7747 | * lisp.h (CHECK_STRING_CAR): New macro. |
7748 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
7749 | treating XCAR and XCDR as lvalues. | |
7750 | (openp): Use CHECK_STRING_CAR. | |
7751 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 7752 | |
048addec | 7753 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 7754 | |
048addec JD |
7755 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
7756 | (SIGMASKTYPE): Define. | |
1b1acc13 | 7757 | |
048addec | 7758 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 7759 | |
048addec | 7760 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 7761 | |
048addec JD |
7762 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
7763 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
7764 | Fix typos in comments. | |
6cb16f95 | 7765 | |
048addec JD |
7766 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
7767 | and #ifdef'd-out code. | |
7768 | Fix and reindent comments. | |
6cb16f95 | 7769 | |
048addec | 7770 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 7771 | |
048addec JD |
7772 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
7773 | argument `i' in macros. | |
6cb16f95 | 7774 | |
048addec JD |
7775 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
7776 | `i' in macros. | |
7e9d3c2f | 7777 | |
048addec JD |
7778 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
7779 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
7780 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
7781 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
7782 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
7783 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
7784 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
7785 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
7786 | in macros. | |
7e9d3c2f | 7787 | |
048addec JD |
7788 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
7789 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
7790 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
7791 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
7792 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
7793 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
7794 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
7795 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
7796 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
7797 | (remove unused second argument). | |
7e9d3c2f | 7798 | |
048addec | 7799 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 7800 | |
048addec JD |
7801 | * syntax.c (describe_syntax): New wrapper. |
7802 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
7803 | Don't insert space at front and \n at the end. | |
7804 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 7805 | |
048addec JD |
7806 | * regex.c (re_wctype): Try to fix some warnings. |
7807 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 7808 | |
048addec | 7809 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 7810 | |
048addec | 7811 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 7812 | |
048addec | 7813 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 7814 | |
048addec | 7815 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 7816 | |
048addec | 7817 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 7818 | |
048addec | 7819 | * callint.c (Finteractive): Ditto. |
9271ed2c | 7820 | |
048addec | 7821 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 7822 | |
048addec JD |
7823 | * macros.c: Don't include keymap.h any more. |
7824 | ||
7825 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
7826 | ||
7827 | * data.c (Fmake_local_variable): Doc fix. | |
7828 | ||
7829 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
7830 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 7831 | |
048addec | 7832 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
7833 | bindings along with or instead of the buffer local map. |
7834 | Make the overriding maps override what they should. | |
7835 | ||
f00691a3 | 7836 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
7837 | |
7838 | * window.c (grow_mini_window): Fix typo in comment. | |
7839 | ||
27188d11 GM |
7840 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
7841 | ||
7b49b9d2 GM |
7842 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
7843 | (XTset_vertical_scroll_bar): Likewise. | |
7844 | ||
43f7c3ea GM |
7845 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
7846 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 7847 | |
b350c2e5 GM |
7848 | * xfns.c (four_corners_best): Reindent. |
7849 | ||
c22e59e1 | 7850 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
7851 | Handle :box so that it is possible to specify sexprs. |
7852 | ||
bf00d461 EZ |
7853 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
7854 | ||
7855 | * s/hpux11.h: New file. | |
7856 | ||
f00691a3 | 7857 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 7858 | |
2b209b97 PJ |
7859 | * emacs.c (USAGE1): Show command line option --no-window-system |
7860 | instead of --no-windows in usage. | |
7861 | (standard_args): Rename --no-windows to --no-window-system. | |
7862 | (bug_reporting_address): Follow Emacs coding conventions. | |
7863 | ||
9dbc9081 PJ |
7864 | * eval.c (Fcommandp): Doc fix. |
7865 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7866 | ||
4e10df59 PJ |
7867 | * frame.c (Fframe_live_p): Doc fix. |
7868 | ||
7869 | * buffer.c (selective-display-ellipses): Doc fix. | |
7870 | ||
dd387b25 GM |
7871 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
7872 | ||
fe957e65 GM |
7873 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
7874 | ||
dd387b25 GM |
7875 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
7876 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
7877 | members which have a different meaning. | |
7878 | (free_face_colors): Do nothing for a face whose colors have been | |
7879 | copied bitwise. | |
7880 | ||
c22e59e1 | 7881 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 7882 | |
f00691a3 | 7883 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 7884 | |
687784e8 PJ |
7885 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
7886 | [w/`doc:' keyword]. | |
2e1280f8 | 7887 | |
b9d9a9b9 GM |
7888 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
7889 | ||
7890 | * fns.c (require_unwind): Return Lisp_Object. | |
7891 | ||
f00691a3 | 7892 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 7893 | |
fa1361cb PJ |
7894 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
7895 | (last-input-char): Revert doc-string to be the same as the | |
7896 | doc-string of `last-input-event'. | |
7897 | ||
6c465a15 | 7898 | * xdisp.c: Fix typos in comments. |
48400103 | 7899 | |
eafa3196 GM |
7900 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
7901 | ||
7902 | * window.c (grow_mini_window): Handle case that the root | |
7903 | window is already smaller than the nominal mininum height. | |
7904 | ||
747d3f2a SM |
7905 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
7906 | ||
bf9bb76f SM |
7907 | * emacs.c (main): Don't call keys_of_macros any more. |
7908 | ||
7909 | * lisp.h (keys_of_macros): Remove. | |
7910 | ||
7911 | * macros.c (keys_of_macros): Remove. | |
7912 | ||
747d3f2a SM |
7913 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
7914 | ||
5e905a57 JR |
7915 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
7916 | ||
7917 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
7918 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
7919 | ||
3a426197 RS |
7920 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
7921 | ||
7922 | * keyboard.c (Finput_pending_p): Doc fix. | |
7923 | ||
a742d646 GM |
7924 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
7925 | ||
259cf6bc GM |
7926 | * xterm.c (x_after_update_window_line): Don't run the code |
7927 | clearing in borders for rows whose visible height is 0. | |
7928 | ||
3f99f948 GM |
7929 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
7930 | resized_p flag is set. If not set, use the much less flickering | |
7931 | method previously used. | |
7932 | ||
7933 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
7934 | ||
7935 | * frame.h (struct frame) <resized_p>: New member. | |
7936 | ||
b4a3be43 GM |
7937 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
7938 | as large as the number of bytes to convert. | |
747d3f2a | 7939 | |
a742d646 GM |
7940 | * lread.c (to_multibyte): New function. |
7941 | (read1): Use it. | |
7942 | ||
cacbb9e9 EZ |
7943 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
7944 | ||
7945 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
7946 | ||
99cb6b2f GM |
7947 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
7948 | ||
327f42ee | 7949 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
7950 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
7951 | if the row's fill_line_p is set and drawing the last glyph with | |
7952 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 7953 | |
99cb6b2f GM |
7954 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
7955 | ||
8e8223e2 SM |
7956 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
7957 | ||
7958 | * xmenu.c: Include coding.h and charset.h. | |
7959 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
7960 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
7961 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
7962 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
7963 | (menu_help_callback): Use empty_string. | |
7964 | ||
7965 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
7966 | (Fx_popup_dialog): Explicitly init f. | |
7967 | (w32_menu_display_help): Use empty_string. | |
7968 | ||
4d083a8f RS |
7969 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
7970 | ||
b2304472 RS |
7971 | * fns.c (Frequire): Detect recursive try to require the same |
7972 | feature 3 or more levels deep, and get error. | |
7973 | (require_unwind): New subroutine. | |
7974 | (require_nesting_list): New variable. | |
7975 | (syms_of_fns): Init and staticpro it. | |
7976 | ||
4d083a8f RS |
7977 | * print.c (print_object): Clarify indication of insertion type. |
7978 | ||
2fe41216 EZ |
7979 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
7980 | ||
90480000 EZ |
7981 | * coding.c (syms_of_coding): Document that locale-coding-system is |
7982 | used for decoding input on X. | |
7983 | ||
2fe41216 EZ |
7984 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
7985 | ||
f00691a3 | 7986 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
7987 | |
7988 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
7989 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
7990 | ||
60ebcfe8 GM |
7991 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
7992 | ||
9a7bdceb GM |
7993 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
7994 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
7995 | ||
3f08fcd2 GM |
7996 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
7997 | the slant attribute if FRAME is t. | |
7998 | ||
0ccfdad2 GM |
7999 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
8000 | when X window doesn't exist yet. | |
8001 | ||
ef253080 GM |
8002 | * xterm.c (x_after_update_window_line): Clear internal border |
8003 | in different circumstances. | |
b116830b | 8004 | |
60ebcfe8 GM |
8005 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
8006 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
8007 | <handa@etl.go.jp>. | |
8008 | ||
73d25f9c EZ |
8009 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
8010 | ||
8011 | * m/ibms390.h: New file. From Adam Thornton | |
8012 | <athornton@sinenomine.net>. | |
8013 | ||
cac1daf0 GM |
8014 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
8015 | ||
053b3256 | 8016 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 8017 | |
cac1daf0 GM |
8018 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
8019 | a loop counter. | |
8020 | ||
f00691a3 | 8021 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 8022 | |
186486eb PJ |
8023 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
8024 | ||
4707d2d0 PJ |
8025 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
8026 | keyword]. | |
8027 | Fix typos in comments. | |
b116830b | 8028 | |
d883731c PJ |
8029 | * emacs.c (bug_reporting_address): New function. |
8030 | Use it when displaying usage message. | |
8031 | ||
04012254 PJ |
8032 | * minibuf.c (read_minibuf): Remove unused external declaration of |
8033 | variable `Qread_only'. | |
8034 | ||
13b1a09c PJ |
8035 | * keymap.c (access_keymap): Remove unused variable `charset'. |
8036 | ||
5bbf4378 MB |
8037 | 2001-10-28 Miles Bader <miles@gnu.org> |
8038 | ||
8039 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
8040 | Remove #ifdef'd-out code. | |
8041 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
8042 | (syms_of_xfaces): Initialize them. | |
8043 | ||
1ce1e4ee JR |
8044 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
8045 | ||
8046 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
8047 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
8048 | position using the system caret. | |
8049 | ||
8050 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
8051 | (w32_system_caret_height, w32_system_caret_x) | |
8052 | (w32_system_caret_y): New variables for tracking system caret. | |
8053 | (w32_initialize): Initialize them. | |
c2d53558 | 8054 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 8055 | |
c2d53558 SM |
8056 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
8057 | New messages types. | |
1ce1e4ee JR |
8058 | |
8059 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
8060 | ||
f00691a3 | 8061 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 8062 | |
bb4600a4 PJ |
8063 | * xterm.c: Fix typo in a comment. |
8064 | ||
7db35a48 PJ |
8065 | * emacs.c: Fix typos in comments. |
8066 | Remove unnecessary spaces. | |
8067 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
8068 | (USAGE2): Fix typos in usage string. | |
8069 | ||
a7248e4f PJ |
8070 | * xterm.c: Fix typo in a comment. |
8071 | ||
4e30ce42 PJ |
8072 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
8073 | emacs.c. | |
8074 | ||
62725a92 GM |
8075 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
8076 | ||
798dbe1f | 8077 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 8078 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
8079 | farther backward when target_y was not reached. |
8080 | ||
62725a92 GM |
8081 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
8082 | Display errno only if non-zero. | |
8083 | (sound_warning): New function. | |
8084 | (vox_configure): Don't treat failing to set sample rate as error. | |
8085 | (various places): Improve error messages. | |
8086 | ||
d4e34d24 EZ |
8087 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
8088 | ||
944e6f60 EZ |
8089 | * fileio.c (Faccess_file): Run the argument filename through |
8090 | Fexpand_file_name, before using it. | |
8091 | ||
d4e34d24 EZ |
8092 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
8093 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
8094 | ||
38d2af0c GM |
8095 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
8096 | ||
da80a8d5 GM |
8097 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
8098 | ||
38d2af0c GM |
8099 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
8100 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 8101 | |
45de4a6f | 8102 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
8103 | |
8104 | * w32gui.h (XImage): Add a dummy typedef. | |
8105 | ||
fbd5ceb2 GM |
8106 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
8107 | ||
c2d53558 | 8108 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 8109 | |
b23236fb EZ |
8110 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
8111 | ||
8112 | * frame.c (Fframe_parameter): Fix last change. | |
8113 | ||
5d991fc4 EZ |
8114 | * fileio.c: Revert last change (which removed old commented-out |
8115 | version of expand-file-name). Add a comment that explains why | |
8116 | this old version should not be removed. | |
8117 | ||
879eadc3 GM |
8118 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
8119 | ||
75700ff2 GM |
8120 | * frame.c (Fframe_parameter): Fix a bug whereby some |
8121 | ``artificial'' frame parameters, like `minibuffer' were not | |
8122 | obtained by calling Fframe_parameters. | |
8123 | ||
dfe92a6a GM |
8124 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
8125 | cursor differently. | |
8126 | ||
879eadc3 GM |
8127 | * xdisp.c (move_it_vertically_backward): Compute line height |
8128 | differently. Add heuristic to try to be more compatible to 20.x. | |
8129 | ||
e1010ebe SM |
8130 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
8131 | ||
d73a471b SM |
8132 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
8133 | ||
d6da5a06 GM |
8134 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
8135 | boolean. | |
e1010ebe | 8136 | |
f66bd220 MB |
8137 | 2001-10-25 Miles Bader <miles@gnu.org> |
8138 | ||
8139 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
8140 | BG is a pointer to a structure, not a structure. | |
8141 | (gif_format, png_format): Add missing commas. | |
8142 | ||
d436d538 RS |
8143 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
8144 | ||
8145 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 8146 | (syms_of_xfaces): Defsubr it. |
d436d538 | 8147 | |
f00691a3 | 8148 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
8149 | |
8150 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
8151 | variable `area'. | |
8152 | ||
f00691a3 | 8153 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 8154 | |
c2d53558 | 8155 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 8156 | |
e2a57b34 MB |
8157 | 2001-10-25 Miles Bader <miles@gnu.org> |
8158 | ||
8159 | * dispextern.h (struct image): Add `background', | |
8160 | `background_valid', and `background_transparent' fields. | |
8161 | (image_background, image_background_transparent): New declarations. | |
8162 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
8163 | * xfns.c (image_background, image_background_transparent) | |
8164 | (four_corners_best): New functions. | |
c2d53558 | 8165 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
8166 | (gs_format): Add `:background' entry. |
8167 | (lookup_image): Set IMG's background color if specified. | |
8168 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
8169 | when appropriate. | |
8170 | (x_clear_image_1): Reset `background_valid' and | |
8171 | `background_transparent_valid' fields. | |
8172 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
8173 | calculating it here. Set IMG's background_transparent field. | |
8174 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
8175 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
8176 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
8177 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
8178 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
8179 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 8180 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
8181 | Pre-calculate image background color where necessary. |
8182 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
8183 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
8184 | color to use for image glyph reliefs. | |
8185 | ||
b547b6e8 GM |
8186 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
8187 | ||
d9e3b8c6 GM |
8188 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
8189 | in full-width rows. | |
c2d53558 | 8190 | |
b547b6e8 GM |
8191 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
8192 | Fix clearing of area not covered by scroll bar. | |
8193 | ||
f00691a3 | 8194 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 PJ |
8195 | |
8196 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' | |
8197 | and `real_start'. | |
c2d53558 | 8198 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
8199 | (glyph_rect): Remove unused variable `area'. |
8200 | ||
76cb5e06 GM |
8201 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
8202 | ||
bdbdebff | 8203 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
8204 | |
8205 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
8206 | (row_containing_pos): Take additional argument DY. | |
8207 | Treat rows ending in middle of char differently. | |
62e33982 GM |
8208 | (display_line): Handle tabs on window systems differently. |
8209 | ||
8210 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
8211 | with additional argument. | |
8212 | ||
8213 | * dispextern.h (row_containing_pos): Adjust prototype. | |
8214 | ||
76cb5e06 GM |
8215 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
8216 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
8217 | (try_window_id, try_window_reusing_current_matrix) | |
8218 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 8219 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 8220 | |
f00691a3 | 8221 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 8222 | |
c9e60620 PJ |
8223 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
8224 | gnuemacs). | |
8225 | (HAVE_BOXES): Fix typo in comment. | |
8226 | (push_menu_pane): Fix typo in comment. | |
8227 | ||
3b552d56 PJ |
8228 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
8229 | of `Qwhen'. | |
8230 | (single_display_prop_string_p): Remove unused local declarations | |
8231 | of `Qwhen' and `Qmargin'. | |
8232 | (string_buffer_position): Remove unused variable `around'. | |
8233 | (store_frame_title): Remove unused variable `width'. | |
8234 | ||
15c565ac PJ |
8235 | * window.c: Don't define max. |
8236 | (coordinates_in_window): Remove unused variable `uy'. | |
8237 | ||
a8818eb9 PJ |
8238 | * widget.c: Don't define max. |
8239 | ||
996fee11 PJ |
8240 | * process.c: Don't define max. |
8241 | (create_process): Remove unused variable `buffer'. | |
8242 | ||
496e1a5b GM |
8243 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
8244 | ||
c2d53558 | 8245 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 8246 | |
5905ae8b EZ |
8247 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
8248 | ||
8249 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
8250 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
8251 | frame is on a windowed display. | |
8252 | ||
24db49fb GM |
8253 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
8254 | ||
c2d53558 SM |
8255 | * dispnew.c (sync_window_with_frame_matrix_rows): |
8256 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
8257 | of marginal areas. |
8258 | ||
c2d53558 | 8259 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 8260 | |
f0487f05 EZ |
8261 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
8262 | ||
8263 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
8264 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
8265 | ||
f0a48a01 GM |
8266 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
8267 | ||
c2d53558 | 8268 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
8269 | REAL_END. Notice if cursor gets overwritten. |
8270 | (notice_overwritten_cursor): Take X positions as parameters. | |
8271 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
8272 | around call to x_draw_glyphs. | |
8273 | ||
f00691a3 | 8274 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 8275 | |
fc11dff0 PJ |
8276 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
8277 | instead of C) and usage. | |
a50a10a0 | 8278 | |
fc11dff0 PJ |
8279 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
8280 | of C) and usage. | |
a50a10a0 PJ |
8281 | |
8282 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
8283 | `left', `max_width' and `max_height'. | |
8284 | ||
8738febd GM |
8285 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
8286 | ||
8287 | * xdisp.c (display_line): For a tab continued to the next line, | |
8288 | set row's ends_in_middle_of_char_p. | |
8289 | ||
653c329b GM |
8290 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
8291 | ||
8292 | * xdisp.c (display_line): Fix computation of continuation lines | |
8293 | width for TABs. | |
8294 | ||
f00691a3 | 8295 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 8296 | |
7ba51063 PJ |
8297 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
8298 | `Qlaplace'. | |
8299 | ||
f958c5ac PJ |
8300 | * fileio.c: Remove unused code. |
8301 | ||
eb360291 MB |
8302 | 2001-10-22 Miles Bader <miles@gnu.org> |
8303 | ||
8304 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
8305 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
8306 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
8307 | ||
98515cf0 JR |
8308 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
8309 | ||
8310 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
8311 | ||
93026d88 EZ |
8312 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
8313 | ||
8314 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
8315 | (Finsert_string): Avoid the multi-line string literals warning. | |
8316 | ||
c9a95b79 MB |
8317 | 2001-10-22 Miles Bader <miles@gnu.org> |
8318 | ||
8319 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
8320 | (Fdocumentation): Don't use it. | |
8321 | (syms_of_doc): Don't initialize it. | |
8322 | ||
8323 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
8324 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
8325 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 8326 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 8327 | (Fsave_restriction): Likewise. |
c2d53558 SM |
8328 | * eval.c (Frun_hooks, Frun_hook_with_args) |
8329 | (Frun_hook_with_args_until_failure) | |
8330 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
8331 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
8332 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
8333 | (Funwind_protect, Fcondition_case): Likewise. |
8334 | * coding.c (Ffind_operation_coding_system): Likewise. | |
8335 | * keyboard.c (Ftrack_mouse): Likewise. | |
8336 | ||
a3b10252 MB |
8337 | 2001-10-21 Miles Bader <miles@gnu.org> |
8338 | ||
c2d53558 | 8339 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
8340 | (Fmake_hash_table): Add usage: string to doc string. |
8341 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 8342 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
8343 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
8344 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
8345 | (Fml_prefix_argument_loop): Likewise. | |
8346 | ||
f00691a3 | 8347 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 8348 | |
c2d53558 | 8349 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 8350 | |
c6f73eec PJ |
8351 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
8352 | style' [w/`doc:' keyword]. | |
8353 | ||
8354 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
8355 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
8356 | comments to `new style' [w/`doc:' keyword]. | |
8357 | ||
3cf3436e JR |
8358 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
8359 | ||
8360 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
8361 | ||
c169b8f1 JR |
8362 | * w32term.c (remember_mouse_glyph): New function. |
8363 | (w32_mouse_position): Use it. | |
8364 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
8365 | its new position. | |
c2d53558 | 8366 | |
4fdd691b JR |
8367 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
8368 | (w32_display_info): Add mouse_face_overlay. | |
8369 | ||
c169b8f1 JR |
8370 | * w32term.c (notice_overwritten_cursor): Renamed from |
8371 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
8372 | account. | |
8373 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
8374 | (fast_find_string_pos): New function. | |
8375 | (fast_find_position): Return the correct vpos. Add parameter | |
8376 | STOP. In the final row, stop before glyphs having STOP as object. | |
8377 | Don't consider glyphs that are not from a buffer. | |
8378 | (fast_find_position) [0]: Add a presumably more correct version | |
8379 | for after 21.1. | |
8380 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
8381 | (expose_window): Do it here instead. | |
8382 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
8383 | overwriting mouse-face. | |
8384 | (expose_window): If W is the window currently being updated, mark | |
8385 | the frame garbaged. | |
8386 | (expose_frame): If mouse-face was overwritten, redo it. | |
8387 | (x_use_underline_position_properties): New variable. | |
8388 | (syms_of_xterm): DEFVAR_BOOL it. | |
8389 | (x_draw_glyph_string): Add comment to use it in future. | |
8390 | (x_draw_glyph_string): Restore clipping after drawing box. | |
8391 | Fix a computation of the underline position. | |
8392 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
8393 | (x_fill_stretch_glyph_string): Remove an assertion. | |
8394 | (x_produce_glyphs): Don't convert multibyte characters | |
8395 | to unibyte characters in unibyte buffers. | |
8396 | (cursor_in_mouse_face_p): New function. | |
8397 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
8398 | when drawing a cursor within highlighted text. Don't draw | |
8399 | background again if it has already been drawn. | |
8400 | (x_draw_glyph_string_box): Don't draw a full-width | |
8401 | box just because the glyph row's full_width_p flag is set. | |
8402 | (x_draw_glyphs): Fix computation of rightmost x for | |
8403 | full-width rows. | |
8404 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
8405 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
8406 | change bottom shadow accordingly. Some cleanup. | |
8407 | (x_update_window_end): Handle overwritten mouse face | |
8408 | also for tool bar windows. | |
8409 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
8410 | DRAW is DRAW_IMAGE_RAISED. | |
8411 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
8412 | actually redrawn. Make the function static. |
8413 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
8414 | optimize away highlighting if we pass over that same overlay again. |
8415 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
8416 | to detect a case where we have to highlight a different region | |
8417 | despite not having left the currently highlighted region. | |
8418 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
8419 | mouse pointer shape when show_mouse_face has already done it, or | |
8420 | there is no need. Handle mouse-face and help-echo in strings. | |
8421 | (glyph_rect): New function. | |
8422 | (w32_mouse_position): Use it to raise the threshold for mouse | |
8423 | movement event generation. | |
8424 | (w32_initialize_display_info): Initialize the x_display_info's | |
8425 | mouse_face_overlay. | |
8426 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
8427 | or width area. | |
8428 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
8429 | a widget to zero height. | |
8430 | ||
3cf3436e | 8431 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 8432 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
8433 | equivalents in menu_items. |
8434 | (w32_menu_show): Don't overwrite an item's name with its key | |
8435 | description in case the description is a multibyte string. | |
8436 | (single_submenu): Some cleanup. | |
8437 | ||
8438 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
8439 | (postprocess_image): New function. | |
8440 | (lookup_image): Call it for all image types except PostScript. | |
8441 | (x_kill_gs_process): Call postprocess_image. | |
8442 | (tiff_error_handler, tiff_warning_handler): New functions. | |
8443 | (tiff_load): Install them as handlers. | |
8444 | (x_kill_gs_process): Recognize if someone has cleared the image | |
8445 | cache under us. | |
8446 | (valid_image_p): Protect better against invalid image | |
8447 | specifications. Previous code could signal an error. | |
8448 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
8449 | (Fv_max_tooltip_size): New variable. | |
8450 | (syns_of_xfns): DEFVAR_LISP it. | |
8451 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
8452 | window buffer to *tip* right after creating the frame. Set frame's | |
8453 | window_width. Use a maximum tooltip size specified by | |
8454 | Vx_max_tooltip_size, if that has valid contents. | |
8455 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
8456 | Make sure the tooltip is completely visible. | |
8457 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
8458 | (Fx_create_frame): Adjust the frame's height for presence | |
8459 | of the tool bar before calling x_figure_window_size. | |
8460 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
8461 | when the window gets smaller. | |
8462 | (x_set_foreground_color): Set frame's cursor_pixel. | |
8463 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
8464 | (x_set_font): Handle case of x_new_fontset returning the same name | |
8465 | as before, although there was a change in fontsets. | |
8466 | ||
386ca361 MB |
8467 | 2001-10-21 Miles Bader <miles@gnu.org> |
8468 | ||
c2d53558 | 8469 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
8470 | (Flogxor): Add usage: string to doc string. |
8471 | * charset.c (Fstring): Likewise. | |
8472 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
8473 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
8474 | ||
f00691a3 | 8475 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 8476 | |
03be2694 PJ |
8477 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
8478 | ||
8479 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
8480 | ||
8481 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
8482 | ||
14ff1ee0 PJ |
8483 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
8484 | keyword]. | |
8485 | ||
2f147815 | 8486 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
8487 | |
8488 | ;; Local Variables: | |
49b3bd82 | 8489 | ;; coding: iso-2022-7bit |
6922b018 | 8490 | ;; End: |
2a34a036 | 8491 | |
2f147815 | 8492 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
8493 | Copying and distribution of this file, with or without modification, |
8494 | are permitted provided the copyright notice and this notice are preserved. |