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