Commit | Line | Data |
---|---|---|
92a8ce63 JB |
1 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
2 | ||
3 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
4 | ||
5 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
6 | POLLING_PROBLEM_IN_SELECT. | |
7 | ||
8 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
9 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
10 | ||
11 | * s/hpux10-20.h: New file. | |
12 | ||
13 | * process.c (wait_reading_process_input): Use | |
14 | POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
15 | ||
20f1ef2e KH |
16 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
17 | ||
32d0a9dc KH |
18 | * fontset.c (check_fontset_name): If NAME is nil, return the |
19 | default fontset. | |
20 | (override_font_info): New function. | |
21 | (Fset_fontset_font): Document that NAME nil means the default | |
22 | fontset. | |
23 | (Ffontset_info): If FONTSET is not the default fontset, merge | |
24 | FONTSET onto the copy of the default fontset, and work on that | |
25 | copy. Document that NAME nil means the default fontset. | |
26 | (Ffontset_font): Document that NAME nil means the default fontset. | |
27 | ||
20f1ef2e KH |
28 | * process.c (setup_process_coding_systems): If the process's |
29 | in/out descriptor is -1, do nothing. | |
30 | ||
77d1daf2 AS |
31 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
32 | ||
33 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): Add | |
34 | prototypes. | |
35 | ||
f9a45bb3 KH |
36 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
37 | ||
38 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
39 | Vscalable_fonts_allowed is not Qt. | |
40 | ||
72ecb43c JD |
41 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
42 | ||
43 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
44 | ||
ee5be7c3 JD |
45 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
46 | ||
47 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
48 | names. | |
49 | ||
50 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
51 | (sorted_font_list): Moved allocation of struct font_name to | |
52 | x_face_list_fonts. | |
53 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
54 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
55 | ||
4cd519a7 KS |
56 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
57 | ||
068f9882 KS |
58 | * lread.c (read1): Fix last change. |
59 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 60 | |
7290a344 AC |
61 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
62 | ||
63 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
64 | ||
1f7fa69b AS |
65 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
66 | ||
67 | * window.c (window_scroll_pixel_based): Move outside a | |
68 | multi-glyph character before setting new window start. | |
69 | ||
70 | * xdisp.c (in_display_vector_p): New function. | |
71 | * dispextern.h (in_display_vector_p): Declare. | |
72 | ||
23e21195 KS |
73 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
74 | ||
75 | * lread.c (read1): Fix and relax read syntax. | |
76 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
77 | Only recognize "," after dotted-pair dot if inside backquote. | |
78 | Never include "`" or "," (inside backquote) in a symbol. | |
79 | Allow dotted-pair dot after a character constant. | |
80 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 81 | |
f098b121 JD |
82 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
83 | ||
84 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
85 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
86 | icons. Set name of tool bar to emacs-toolbar. | |
87 | (update_frame_tool_bar): Connect expose event to | |
88 | xg_tool_bar_expose_callback. | |
89 | ||
63020c46 RS |
90 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
91 | ||
92 | * keyboard.c (this_command_key_count_reset): New variable. | |
93 | Initiatize to 0 where this_command_key_count is set. | |
94 | (read_char): Save and restore this_command_key_count_reset | |
95 | around input method code. | |
96 | (read_char): If this_command_key_count_reset, echo reread commands. | |
97 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
98 | ||
fb4452cc KH |
99 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
100 | ||
101 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
102 | ||
bd11cc09 JR |
103 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
104 | ||
105 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): Negative | |
106 | max_fonts parameter means list all. | |
107 | ||
4cdf4bde DL |
108 | 2003-02-14 Dave Love <fx@gnu.org> |
109 | ||
110 | * fns.c (Flanginfo): Doc fix. | |
111 | ||
023b93f6 KS |
112 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
113 | ||
37cd4238 KS |
114 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
115 | for \s-X in a character constant which still is the super modifier. | |
116 | (read1): Signal an `invalid read syntax' error if a character | |
117 | constant is immediately followed by a digit or symbol character. | |
118 | ||
140a6b7e KS |
119 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
120 | match-data is undefined if last search failed. | |
121 | ||
023b93f6 KS |
122 | * keymap.c (Fcommand_remapping): Renamed from Fremap_command. |
123 | All uses changed. | |
124 | ||
7d5c86e5 JB |
125 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
126 | ||
127 | * eval.c (Fdefmacro): Fix typo. | |
128 | ||
295fff2c KS |
129 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
130 | ||
131 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
132 | macro is a string, convert meta modifiers in string when copying | |
133 | the string into a vector. | |
134 | ||
60f3202d KS |
135 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
136 | ||
137 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
138 | ||
61cb0b53 KH |
139 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
140 | ||
141 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
142 | ||
7392e23c KS |
143 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
144 | ||
145 | * process.c: Doc fixes. | |
146 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
147 | ||
ce4254bd KH |
148 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
149 | ||
9c7a329a KH |
150 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
151 | ||
ce4254bd KH |
152 | * process.c (QCfilter_multibyte): New variable. |
153 | (setup_process_coding_systems): New function. | |
154 | (Fset_process_buffer, Fset_process_filter): Call | |
155 | setup_process_coding_systems. | |
156 | (Fstart_process): Initialize the member `filter_multibyte' of | |
157 | struct Lisp_Process. | |
158 | (create_process): Call setup_process_coding_systems. | |
159 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
160 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
161 | Call setup_process_coding_systems. | |
162 | (server_accept_connection): Call setup_process_coding_systems. | |
163 | (read_process_output): If the process has a filter, decide the | |
164 | multibyteness of a string to given to the filter by | |
165 | `filter_multibyte' member of the process. If the process doesn't | |
166 | have a filter and the result of conversion is unibyte, use | |
167 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
168 | multibyte form. | |
169 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
170 | (Fset_process_filter_multibyte): New function. | |
171 | (Fprocess_filter_multibyte_p): New function. | |
172 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
173 | Defsubr Sset_process_filter_multibyte and | |
174 | Sprocess_filter_multibyte_p. | |
175 | ||
176 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
177 | ||
178 | * lisp.h (setup_process_coding_systems): Add prototype. | |
179 | ||
180 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
181 | process, update coding systems for the process. | |
182 | ||
b08d5f59 KH |
183 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
184 | ||
185 | * fns.c (string_to_multibyte): New function. | |
186 | (Fstring_to_multibyte): New function. | |
187 | (syms_of_fns): Defsubr it. | |
188 | ||
0dfd93c0 AS |
189 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
190 | ||
191 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
192 | instead of the substitution. | |
193 | ||
7b76ca1c JD |
194 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
195 | ||
196 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
197 | ||
198 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
199 | the menu is fully visible. | |
7b76ca1c | 200 | |
2436a4e4 JD |
201 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
202 | ||
203 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
204 | (x_make_frame_invisible, x_wm_set_icon_position): Use | |
205 | FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
206 | ||
207 | * xfns.c (x_set_name, x_set_title): Ditto. | |
208 | ||
37d1e680 RS |
209 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
210 | ||
211 | * keyboard.c (echo_now): Update before_command_echo_length. | |
212 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
213 | immediately rather than arranging to do it later. | |
214 | (before_command_key_count_1, before_command_echo_length_1) | |
215 | (before_command_restore_flag): Vars deleted. | |
216 | (add_command_key): Don't handle before_command_restore_flag. | |
217 | (read_char, record_menu_key): Don't update before_command_key_count or | |
218 | before_command_echo_length. | |
219 | (read_char): Don't handle before_command_restore_flag. | |
220 | ||
221 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
222 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
223 | ||
578846a3 KS |
224 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
225 | ||
226 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
227 | ||
49853a4d JD |
228 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
229 | ||
230 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
231 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
232 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
233 | on list returned from gtk_container_get_children to avoid memory leak. | |
234 | ||
8b53dc06 JR |
235 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
236 | ||
5d54d177 JR |
237 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
238 | local malloc. | |
239 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
240 | definitions in xpm.h. | |
241 | (init_xpm_functions): New function. | |
242 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. | |
243 | (init_external_image_libraries): Try to load libXpm.dll. | |
244 | ||
8b53dc06 JR |
245 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
246 | timestamp. | |
247 | ||
b222e415 DL |
248 | 2003-01-31 Dave Love <fx@gnu.org> |
249 | ||
250 | * syntax.c (Fskip_chars_forward) | |
251 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
252 | ||
c60ee5e7 JB |
253 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
254 | ||
255 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
256 | preprocessor tests). | |
257 | ||
258 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
259 | ||
260 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
261 | ||
262 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
263 | ||
264 | * s/cygwin.h: Added for Cygwin port. | |
265 | ||
53b37591 JB |
266 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
267 | ||
268 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
269 | when including gif_lib.h. | |
fe929957 JB |
270 | (init_gif_functions, init_tiff_functions): New functions. |
271 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for | |
272 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 273 | through pointers determined at runtime. |
fe929957 JB |
274 | (init_external_image_libraries): Try to load libungif.dll and |
275 | libtiff.dll. | |
53b37591 | 276 | |
45415a8f KH |
277 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
278 | ||
279 | * xdisp.c (SKIP_GLYPHS): New macro. | |
280 | (set_cursor_from_row): Skip all glyphs that comes from overlay | |
281 | string. | |
282 | ||
a97e4138 JD |
283 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
284 | ||
285 | * gtkutil.c (free_frame_tool_bar): Removed debug printf. | |
286 | ||
6eed9bed DL |
287 | 2003-01-30 Dave Love <fx@gnu.org> |
288 | ||
289 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
290 | (Fgarbage_collect): Use them. | |
291 | (init_alloc, syms_of_alloc): Set them up. | |
292 | ||
100dcd40 JB |
293 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
294 | ||
295 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
296 | ||
fbd852af JR |
297 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
298 | ||
299 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
300 | an alternative name for jpeg.dll. | |
301 | ||
8a2d8020 KH |
302 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
303 | ||
304 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
305 | properties. | |
306 | ||
058c18c7 AC |
307 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
308 | ||
309 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
310 | <escape>. | |
311 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
312 | (XTread_socket): Drop special case for backspace. | |
313 | ||
385f11cf AC |
314 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
315 | ||
316 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
317 | values in old-style RGB specs. | |
318 | ||
c922a224 JB |
319 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
320 | ||
321 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
322 | jpeg dll. | |
323 | ||
0a1d6de0 JD |
324 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
325 | ||
326 | * gtkutil.c (create_dialog, xg_separator_p) | |
327 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
328 | before calling strcmp or strlen. | |
329 | ||
a97e4138 | 330 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
331 | |
332 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
333 | and handle image load failure. | |
334 | ||
28908312 JR |
335 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
336 | ||
337 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
338 | New functions. | |
339 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. | |
340 | Disable color table lookups. Call jpeg library functions | |
341 | through pointers determined at runtime. | |
342 | (init_external_image_libraries): Try to load jpeg.dll. | |
343 | ||
84e47416 RS |
344 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
345 | ||
346 | * lisp.h: Declare format2 instead of format1. | |
347 | ||
348 | * fileio.c (barf_or_query_if_file_exists): | |
349 | Call format2 instead of format1. | |
350 | ||
351 | * editfns.c (format2): New function, replaces format1 | |
352 | but takes exactly two Lisp Objects as format args. | |
353 | ||
354 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
355 | ||
a97e4138 | 356 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
357 | |
358 | * xterm.h: Change to return value of x_dispatch_event to int. | |
359 | ||
360 | * xterm.c (x_filter_event): New function. | |
361 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
362 | (x_dispatch_event): Change to return value of finish. | |
363 | (event_handler_gdk): Use return value from x_dispatch_event. | |
364 | ||
365 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
366 | initialize input methods. | |
367 | ||
368 | * gtkutil.h: Add (void) prototypes. | |
369 | ||
370 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
371 | the right. | |
372 | ||
54eefef1 JR |
373 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
374 | ||
375 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
376 | [HAVE_PNG]: Sync with xfns.c version. | |
377 | (png_load): Adjust colors for Windows. Use Windows | |
378 | bitmaps. Disable color table lookups. | |
c262430d JR |
379 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
380 | (init_png_functions): New function. | |
381 | (png_read_from_memory, png_load): Call png library functions | |
382 | through pointers determined at runtime. | |
383 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
384 | (init_external_image_libraries): New function. | |
385 | (init_xfns): Call it. | |
54eefef1 | 386 | |
1a9e275b AS |
387 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
388 | ||
389 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
390 | ||
a97e4138 | 391 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
392 | |
393 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
394 | of static initializer. | |
395 | ||
422eec7e DL |
396 | 2003-01-24 Dave Love <fx@gnu.org> |
397 | ||
398 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
399 | architectures. | |
400 | ||
401 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
402 | Use __alignof__. | |
403 | ||
2a026b04 KH |
404 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
405 | ||
406 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
407 | It it is nonzero, don't pretend that an invisible area doesn't | |
408 | exist. | |
409 | (command_loop_1): Call adjust_point_for_property with proper | |
410 | second arg. | |
411 | ||
a18bb28d JR |
412 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
413 | ||
414 | Sync changes with xterm.c and xfns.c. | |
415 | ||
416 | * w32term.c (x_draw_glyph_string_foreground) | |
417 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
418 | ||
419 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
420 | phys_cursor's hpos is overwritten. This is still not completely | |
421 | correct, as it doesn't really make sense to use hpos at all to | |
422 | get the cursor glyph (as that is relative to the width of the | |
423 | characters on the line, which may have changed during the update). | |
424 | ||
425 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
426 | of the cursor being in the first blank non-text line at the | |
427 | end of a window. | |
428 | ||
429 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
430 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
431 | Compute from the x position returned by x_draw_glyphs. | |
432 | ||
433 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
434 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
435 | contain what its name suggests. | |
436 | (notice_overwritten_cursor): Consider the cursor image erased if | |
437 | the output area intersects the cursor image in y-direction. | |
438 | ||
439 | * w32term.c (note_mode_line_or_margin_highlight): Renamed from | |
440 | note_mode_line_highlight and extended. | |
441 | ||
442 | * w32term.c (last_window): New variable. | |
443 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
444 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
445 | ||
446 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
447 | not update_mode_lines, and always set it to 1. | |
448 | ||
ac6e47ef JR |
449 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
450 | ||
451 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
452 | ||
453 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
454 | ||
455 | * w32term.h (struct w32_output): New member hand_cursor. | |
456 | (WM_EMACS_SETCURSOR): New message definition. | |
457 | ||
458 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
459 | function w32_define_cursor. | |
460 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
461 | position, change member name output_data.x to output_data.w32 and | |
462 | add function w32_define_cursor. | |
463 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
464 | and change member name output_data.x to output_data.w32. | |
465 | (w32_initialize_display_info): Setup | |
466 | dpyinfo->vertical_scroll_bar_cursor. | |
467 | ||
468 | * w32fns.c (Vx_hand_shape): New variable. | |
469 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
470 | WM_EMACS_SETCURSOR. | |
471 | (x-create-frame): Setup Cursor types. | |
472 | ||
ceb39a17 JB |
473 | 2003-01-21 David Ponce <david@dponce.com> |
474 | ||
ac6e47ef JR |
475 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
476 | ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c | |
477 | x_encode_char change by Kenichi Handa <handa@m17n.org> on | |
ceb39a17 | 478 | 2002-09-30.) |
ac6e47ef JR |
479 | (w32_draw_relief_rect): Declare all args. |
480 | (w32_define_cursor): New. | |
481 | ||
482 | * w32fns.c (w32_load_cursor): New function. | |
483 | (w32_init_class): Use it. | |
484 | (x_put_x_image): Declare all args. | |
485 | ||
46cf0bed JB |
486 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> (tiny change) |
487 | ||
488 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
489 | ||
a97e4138 | 490 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 JD |
491 | |
492 | * gtkutil.c: Must include stdio.h before termhooks.h | |
493 | ||
83fc9c63 DL |
494 | 2003-01-21 Dave Love <fx@gnu.org> |
495 | ||
496 | * alloc.c (Fgc_status): Print zombie list. | |
497 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
498 | Fix assignment of zombies. | |
499 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
500 | Don't take car of non-cons. | |
501 | ||
502 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
503 | ||
504 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
505 | ||
fe04b8c8 JR |
506 | 2003-01-20 David Ponce <david@dponce.com> |
507 | ||
508 | * w32menu.c (digest_single_submenu): Declare all args. | |
509 | ||
510 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
511 | changes in xmenu.c: | |
512 | ||
513 | (parse_single_submenu): Use individual keymap's prompt | |
514 | string as pane name, if there is one. | |
515 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
516 | parse_single_submenu and use it when calling digest_single_submenu. | |
517 | ||
539e69a9 ST |
518 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
519 | ||
520 | * macterm.c (XTread_socket): Checks for valid, visible window | |
521 | before sending a scroll-wheel event. | |
522 | ||
675d000f RS |
523 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
524 | ||
525 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
526 | a minibuffer, then redisplay it like other windows. | |
527 | ||
a97e4138 | 528 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
529 | |
530 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
531 | external tool bar before setting tool bar height. | |
532 | ||
77d1daf2 | 533 | 2003-01-19 Ja |
3c02a6f5 | 534 | |
77d1daf2 AS |
535 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
536 | (x_from_xcolors): Adjust RGB values for W32. | |
537 | (image_background, image_background_transparent) | |
538 | (postprocess_image, x_to_xcolors, x_disable_image) | |
539 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
540 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
541 | (xbm_load): Remove unused variable. | |
cd7df9c0 | 542 | |
77d1daf2 | 543 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
cd7df9c0 | 544 | |
77d1daf2 | 545 | * buffer.c (syms_of_buffer): Doc fix. |
56210ecd | 546 | |
77d1daf2 | 547 | 2002-11-14 Dave Love <fx@gnu.org> |
56210ecd | 548 | |
77d1daf2 | 549 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
56210ecd | 550 | |
77d1daf2 AS |
551 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
552 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
553 | * xfns.c (x_put_x_image): | |
554 | * xdisp.c (message2_nolog, set_message): | |
555 | * undo.c (record_point): | |
556 | * terminfo.c (tparam): | |
557 | * syntax.c (scan_sexps_forward): | |
558 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
559 | * composite.c (update_compositions): | |
560 | * cm.c (calccost, cmgoto): | |
561 | * charset.c (c_string_width): Declare all args (per C99). | |
6df8b9fe | 562 | |
77d1daf2 | 563 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
6df8b9fe | 564 | |
77d1daf2 AS |
565 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
566 | Don't declare. | |
292ddc31 | 567 | |
77d1daf2 | 568 | * emacs.c (main) [!VMS]: Avoid third arg. |
292ddc31 | 569 | |
77d1daf2 AS |
570 | * fns.c (Fcopy_sequence): Doc fix. |
571 | (Fmap_char_table): Cast `call2'. | |
292ddc31 | 572 | |
77d1daf2 | 573 | 2002-11-14 Francesco Potorti` <pot@gnu.org> |
63e4e4c6 | 574 | |
77d1daf2 | 575 | * s/sol2-8.h: New file. |
63e4e4c6 | 576 | |
77d1daf2 | 577 | 2002-11-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 578 | |
77d1daf2 AS |
579 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol |
580 | dependency on `risky-local-variable' and the :propertize form. | |
7ed16567 | 581 | |
77d1daf2 | 582 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> |
7ed16567 | 583 | |
77d1daf2 | 584 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. |
e833850f | 585 | |
77d1daf2 AS |
586 | * syntax.c (scan_sexps_forward): Undo last patch. |
587 | Use a more obvious fix: check eob before updating the syntax table. | |
e833850f | 588 | |
77d1daf2 | 589 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> |
817cb127 | 590 | |
77d1daf2 AS |
591 | * syntax.c (scan_sexps_forward): Update syntax table before reading |
592 | a char rather than after so we don't update the table past eob. | |
817cb127 | 593 | |
77d1daf2 | 594 | 2002-11-09 Dave Love <fx@gnu.org> |
3e8cf2ea | 595 | |
77d1daf2 | 596 | * buffer.c (Fset_buffer_major_mode): Fix last change. |
3e8cf2ea | 597 | |
77d1daf2 | 598 | * regex.c (regexec): Fix pmatch declaration. |
3e8cf2ea | 599 | |
77d1daf2 | 600 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. |
3e8cf2ea | 601 | |
77d1daf2 AS |
602 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input |
603 | to self-inserting characters. | |
604 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
2c10f029 | 605 | |
77d1daf2 AS |
606 | * coding.c (Vtranslation_table_for_input): New. |
607 | (syms_of_coding): DEFVAR it. | |
94e8ffca | 608 | |
77d1daf2 | 609 | 2002-11-08 Juanma Barranquero <lektu@terra.es> |
94e8ffca | 610 | |
77d1daf2 AS |
611 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable |
612 | window. | |
2c10f029 | 613 | |
77d1daf2 | 614 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b8a76c6c | 615 | |
77d1daf2 AS |
616 | * process.c (Fformat_network_address): Removed unused locals p, |
617 | cp, and i. | |
b8a76c6c | 618 | |
77d1daf2 | 619 | 2002-11-06 Dave Love <fx@gnu.org> |
3a8d0899 | 620 | |
77d1daf2 AS |
621 | * buffer.c (Qset_buffer_major_mode_hook): New. |
622 | (Fset_buffer_major_mode): Use it. | |
3a8d0899 | 623 | |
77d1daf2 | 624 | 2002-11-06 Richard M. Stallman <rms@gnu.org> |
4abc7470 | 625 | |
77d1daf2 AS |
626 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling |
627 | and stop_polling. | |
4abc7470 | 628 | |
77d1daf2 AS |
629 | * process.c (wait_reading_process_input): |
630 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
631 | Avoid initialization for auto Lisp_Object var. | |
b809d662 | 632 | |
77d1daf2 | 633 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. |
b809d662 | 634 | |
77d1daf2 | 635 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. |
bf338245 | 636 | |
77d1daf2 | 637 | 2002-11-05 Richard M. Stallman <rms@gnu.org> |
bf338245 | 638 | |
77d1daf2 | 639 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. |
bf338245 | 640 | |
77d1daf2 AS |
641 | * callint.c (Fcall_interactively): New local filter_specs. |
642 | (Fcall_interactively): Check for progn as well as let. | |
643 | Add a gcpro. | |
644 | (Qprogn): New variable. | |
645 | (syms_of_callint): Staticpro and init Qprogn. | |
bf338245 | 646 | |
77d1daf2 | 647 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> |
e833850f | 648 | |
77d1daf2 | 649 | * lread.c (Feval_buffer): Doc fix. |
c4af2bce | 650 | |
77d1daf2 | 651 | 2002-11-04 Dave Love <fx@gnu.org> |
c4af2bce | 652 | |
77d1daf2 AS |
653 | * keyboard.c (read_char): Always translate iff |
654 | Vkeyboard_translate_table is a char table and c is valid. | |
00e3ab56 | 655 | |
77d1daf2 AS |
656 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table |
657 | and fix C types. | |
00e3ab56 | 658 | |
77d1daf2 | 659 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> |
f387e1fd | 660 | |
77d1daf2 | 661 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. |
f387e1fd | 662 | |
77d1daf2 | 663 | * editfns.c (get_pos_property): Don't hardcode Qfield. |
f387e1fd | 664 | |
77d1daf2 AS |
665 | * keyboard.c (adjust_point_for_property): Handle `display' prop on |
666 | overlays. Also handle `invisible' prop. | |
8c6d74c6 | 667 | |
77d1daf2 | 668 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e833850f | 669 | |
77d1daf2 AS |
670 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) |
671 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
8c6d74c6 | 672 | |
77d1daf2 | 673 | 2002-11-01 Andreas Schwab <schwab@suse.de> |
e833850f | 674 | |
77d1daf2 | 675 | * editfns.c (Fmessage): Revert last change to properly handle %%. |
8c6d74c6 | 676 | |
77d1daf2 | 677 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> |
8c6d74c6 | 678 | |
77d1daf2 AS |
679 | * xmenu.c (unuse_menu_items): New fun. |
680 | (menu_items_inuse): New var. | |
681 | (syms_of_xmenu): Initialize it. | |
682 | (init_menu_items): Use it to detect re-entrance. | |
683 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
684 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
8c6d74c6 | 685 | |
77d1daf2 | 686 | * editfns.c (find_field): Make an exception for nil fields. |
8c6d74c6 | 687 | |
77d1daf2 | 688 | 2002-11-01 Dave Love <fx@gnu.org> |
8c6d74c6 | 689 | |
77d1daf2 | 690 | * m/gec63.h: Deleted. |
8c6d74c6 | 691 | |
77d1daf2 | 692 | 2002-10-31 Dave Love <fx@gnu.org> |
8c6d74c6 | 693 | |
77d1daf2 AS |
694 | * xterm.c (XTread_socket): Fix last change. |
695 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
8c6d74c6 | 696 | |
77d1daf2 | 697 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> |
8c6d74c6 | 698 | |
77d1daf2 | 699 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. |
8c6d74c6 | 700 | |
77d1daf2 | 701 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> |
8c6d74c6 | 702 | |
77d1daf2 AS |
703 | * editfns.c (overlays_around, get_pos_property): New funs. |
704 | (find_field): Use them. | |
705 | Also be careful not to modify POS before its last use. | |
706 | (Fmessage): Don't Fformat if there's nothing to format. | |
8c609cff | 707 | |
77d1daf2 | 708 | 2002-10-30 Dave Love <fx@gnu.org> |
8c609cff | 709 | |
77d1daf2 AS |
710 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. |
711 | [HAVE_PTY_H]; Include pty.h. | |
b37113a1 | 712 | |
77d1daf2 | 713 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. |
b37113a1 | 714 | |
77d1daf2 AS |
715 | * xterm.c (Qeql): Declare. |
716 | (Vx_keysym_table): New. | |
717 | (syms_of_xterm): Initialize it. | |
718 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
719 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
fa634a5e | 720 | |
77d1daf2 AS |
721 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. |
722 | (lispy_kana_keys): Comment out. | |
723 | (make_lispy_event) [XK_kana_A]: Comment out. | |
724 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
725 | Fix sprintf call. | |
fa634a5e | 726 | |
77d1daf2 AS |
727 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by |
728 | regexp.h change). | |
729 | (TERMINFO, LIBS_TERMCAP): Define. | |
ce0669d4 | 730 | |
77d1daf2 AS |
731 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. |
732 | (bcmp): Define conditional on HAVE_BCMP. | |
733 | (NO_SIOCTL_H): Don't define. | |
734 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
ce0669d4 | 735 | |
77d1daf2 AS |
736 | * s/sol2-5.h: Don't include strings.h. |
737 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
2308af15 | 738 | |
77d1daf2 AS |
739 | * s/irix6-0.h (IRIX6): Don't define. |
740 | (bcopy, bcmp, bzero): Don't undef. | |
2308af15 | 741 | |
77d1daf2 AS |
742 | * s/irix6-5.h: Don't include strings.h. |
743 | (IRIX6): Don't define. | |
744 | (bcopy, bcmp, bzero): Don't undef. | |
2155ecf3 | 745 | |
77d1daf2 | 746 | * syntax.c (Fforward_comment): Doc fix. |
2155ecf3 | 747 | |
77d1daf2 | 748 | 2002-10-29 Kim F. Storm <storm@cua.dk> |
2155ecf3 | 749 | |
77d1daf2 AS |
750 | * process.c (Fsignal_process): Allow PROCESS to be specified by |
751 | name in addition to pid (as integer or string). | |
2155ecf3 | 752 | |
77d1daf2 | 753 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) |
61f1d295 | 754 | |
77d1daf2 AS |
755 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build |
756 | environments. | |
61f1d295 | 757 | |
77d1daf2 | 758 | 2002-10-27 Kim F. Storm <storm@cua.dk> |
0b17a217 | 759 | |
77d1daf2 | 760 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. |
0b17a217 | 761 | |
77d1daf2 | 762 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. |
0b17a217 | 763 | |
77d1daf2 | 764 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. |
402e4f8b | 765 | |
77d1daf2 | 766 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. |
402e4f8b | 767 | |
77d1daf2 | 768 | 2002-10-26 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 769 | |
77d1daf2 | 770 | * editfns.c (Fformat): Detect invalid format letters for floats. |
f02cac82 | 771 | |
77d1daf2 | 772 | 2002-10-25 Kenichi Handa <handa@m17n.org> |
f02cac82 | 773 | |
77d1daf2 AS |
774 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. |
775 | (x_set_title): Likewise. | |
f02cac82 | 776 | |
77d1daf2 | 777 | 2002-10-25 Juanma Barranquero <lektu@terra.es> |
f02cac82 | 778 | |
77d1daf2 AS |
779 | * macgui.h: |
780 | * w32gui.h: Remove definition of XColor. | |
f02cac82 | 781 | |
77d1daf2 | 782 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. |
f02cac82 | 783 | |
77d1daf2 | 784 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
f02cac82 | 785 | |
77d1daf2 AS |
786 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. |
787 | Callers changed (supply dummy arg). | |
f02cac82 | 788 | |
77d1daf2 | 789 | * lisp.h (get_window_cursor_type): Update prototype. |
1a590729 | 790 | |
77d1daf2 AS |
791 | * w32term.c (x_display_and_set_cursor): Get active_cursor from |
792 | get_window_cursor_type to track system caret. | |
1a590729 | 793 | |
77d1daf2 | 794 | 2002-10-24 Kim F. Storm <storm@cua.dk> |
f02cac82 | 795 | |
77d1daf2 AS |
796 | * process.c (Fformat_network_address): New function. |
797 | (syms_of_process): Defsubr it. | |
798 | (list_processes_1): Use it to format :local/:remote address if | |
799 | service/host is not set; before emacs would crash in that case. | |
800 | (Fmake_network_process): Don't use Ffind_operation_coding_system | |
801 | to setup coding system if host or service is not set. | |
2308af15 | 802 | |
77d1daf2 | 803 | 2002-10-23 Juanma Barranquero <lektu@terra.es> |
9785d95b | 804 | |
77d1daf2 | 805 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. |
9785d95b | 806 | |
77d1daf2 AS |
807 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not |
808 | COLORREF. | |
9785d95b | 809 | |
77d1daf2 AS |
810 | * macgui.h: |
811 | * w32gui.h: Add definition of XColor. | |
9785d95b | 812 | |
77d1daf2 AS |
813 | * macfns.c: |
814 | * w32fns.c: | |
815 | * xfaces.c: Remove definition of XColor. | |
2308af15 | 816 | |
77d1daf2 | 817 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> |
2308af15 | 818 | |
77d1daf2 | 819 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. |
9785d95b | 820 | |
77d1daf2 AS |
821 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, |
822 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
823 | window if it is dedicated. | |
824 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
825 | (Vspecial_display_function): Update docstring. | |
9785d95b | 826 | |
77d1daf2 AS |
827 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) |
828 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
829 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
9785d95b | 830 | |
77d1daf2 | 831 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> |
9785d95b | 832 | |
77d1daf2 AS |
833 | * casefiddle.c (casify_region): Don't treat a prefix char as part |
834 | of a word when at the beginning. | |
9785d95b | 835 | |
77d1daf2 | 836 | 2002-10-17 Juanma Barranquero <lektu@terra.es> |
9785d95b | 837 | |
77d1daf2 | 838 | * lread.c (syms_of_lread): Fix typos. |
9785d95b | 839 | |
77d1daf2 | 840 | 2002-10-17 Dave Love <fx@gnu.org> |
9785d95b | 841 | |
77d1daf2 | 842 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. |
9785d95b | 843 | |
77d1daf2 | 844 | 2002-10-16 Richard M. Stallman <rms@gnu.org> |
9785d95b | 845 | |
77d1daf2 | 846 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. |
9785d95b | 847 | |
77d1daf2 | 848 | 2002-10-14 Juanma Barranquero <lektu@terra.es> |
2308af15 | 849 | |
77d1daf2 AS |
850 | * w16select.c (syms_of_win16select): Fix docstring for |
851 | `selection-coding-system'. | |
b6da19ef | 852 | |
77d1daf2 | 853 | * w32select.c (syms_of_w32select): Likewise. |
b6da19ef | 854 | |
77d1daf2 | 855 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> |
b6da19ef | 856 | |
77d1daf2 AS |
857 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with |
858 | a backslash-quoted char. | |
859 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
b6da19ef | 860 | |
77d1daf2 | 861 | 2002-10-13 Richard M. Stallman <rms@gnu.org> |
bfcf6dbe | 862 | |
77d1daf2 | 863 | * window.c (window_scroll): Set immediate_quit. |
bfcf6dbe | 864 | |
77d1daf2 AS |
865 | * print.c (print): When backquote form is the car of a list, |
866 | output in old style. Use old_backquote_output to output all | |
867 | comma forms inside it in old style too. | |
2c568af5 | 868 | |
77d1daf2 | 869 | * buffer.h (struct buffer): Move `undo_list' down below `name'. |
2c568af5 | 870 | |
77d1daf2 | 871 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> |
b8c6225c | 872 | |
77d1daf2 AS |
873 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in |
874 | batch mode). | |
b8c6225c | 875 | |
77d1daf2 | 876 | * lread.c (Fload): Doc fix (load-suffixes). |
706ddb8f | 877 | |
77d1daf2 | 878 | 2002-10-10 Steven Tamm <steventamm@mac.com> |
706ddb8f | 879 | |
77d1daf2 AS |
880 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): |
881 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
882 | Also switch the default to Qnil from Qt. | |
96720f09 | 883 | |
77d1daf2 | 884 | 2002-10-08 Kenichi Handa <handa@m17n.org> |
96720f09 | 885 | |
77d1daf2 AS |
886 | * coding.c (code_convert_region): When we need more GAP for |
887 | conversion, pay attention to the case that coding->produced is not | |
888 | greater than coding->consumed. | |
e5ae1c49 | 889 | |
77d1daf2 | 890 | 2002-10-07 Richard M. Stallman <rms@gnu.org> |
e5ae1c49 | 891 | |
77d1daf2 | 892 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. |
2eb46b2d | 893 | |
77d1daf2 | 894 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> |
2eb46b2d | 895 | |
77d1daf2 AS |
896 | * macmenu.c (mac_menu_show): Add j to count menu items; match |
897 | menu_item_selection to it to find selected item. | |
b11f1d8a | 898 | |
77d1daf2 | 899 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
b11f1d8a | 900 | |
77d1daf2 AS |
901 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all |
902 | cases. The correct fix is to pass ReparentNotify to Xt. | |
903 | The shell widget interprets ConfigureNotify differently depending | |
904 | on if it has been reparented or not. | |
d8528226 | 905 | |
77d1daf2 | 906 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> |
d8528226 | 907 | |
77d1daf2 | 908 | * editfns.c (Fformat_time_string): Doc fix. |
a4ac5b17 | 909 | |
77d1daf2 | 910 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> |
a4ac5b17 | 911 | |
77d1daf2 | 912 | * fns.c (Flength): Doc fix. |
ac42d7b9 | 913 | |
77d1daf2 | 914 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> |
ac42d7b9 | 915 | |
77d1daf2 AS |
916 | * keyboard.c (keyremap): New struct. |
917 | (read_key_sequence): Use it: globally replace keytran_foo with | |
918 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
919 | keytran_next and fkey_next to just `next'. | |
85cce843 | 920 | |
77d1daf2 | 921 | 2002-10-04 Steven Tamm <steventamm@mac.com> |
85cce843 | 922 | |
77d1daf2 AS |
923 | * macterm.c (keycode_to_xkeysym_table): Change return to be |
924 | treated like an X keysym. | |
0d4d26a7 | 925 | |
77d1daf2 | 926 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0d4d26a7 | 927 | |
77d1daf2 AS |
928 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, |
929 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
930 | This is to also handle x/y changes that occur because of a resize. | |
b11f1d8a | 931 | |
77d1daf2 | 932 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> |
0d4d26a7 | 933 | |
77d1daf2 AS |
934 | * frame.c (Vdelete_frame_functions): New variable. |
935 | (syms_of_frame): Initialize and defvar it. | |
936 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
937 | it when frame's `tooltip' parameter is non-nil. | |
b11f1d8a | 938 | |
77d1daf2 | 939 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. |
0d4d26a7 | 940 | |
77d1daf2 | 941 | * w32fns.c (x_create_tip_frame): Likewise. |
9252f7bc | 942 | |
77d1daf2 | 943 | * macfns.c (x_create_tip_frame): Likewise. |
9252f7bc | 944 | |
77d1daf2 | 945 | 2002-09-30 Kenichi Handa <handa@m17n.org> |
9252f7bc | 946 | |
77d1daf2 AS |
947 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to |
948 | -1 before calling ccl_driver. | |
9252f7bc | 949 | |
77d1daf2 AS |
950 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. |
951 | Only when it is non-nil, handle composition sequence. | |
952 | (setup_coding_system) <0>: Don't force composition handling. | |
9252f7bc | 953 | |
77d1daf2 | 954 | * Makefile.in (lisp, shortlisp): Add utf-16.elc |
9252f7bc | 955 | |
77d1daf2 | 956 | 2002-09-29 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 957 | |
77d1daf2 AS |
958 | * search.c (Freplace_match): Adjust match data for the substitution |
959 | just made in the buffer. | |
bfa261c0 | 960 | |
77d1daf2 AS |
961 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. |
962 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
bfa261c0 | 963 | |
77d1daf2 | 964 | 2002-09-27 Richard M. Stallman <rms@gnu.org> |
c5992177 | 965 | |
77d1daf2 AS |
966 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. |
967 | (read_char): Use them. Do all exits thru the end of the function. | |
c5992177 | 968 | |
77d1daf2 | 969 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> |
c5992177 | 970 | |
77d1daf2 AS |
971 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY |
972 | is nil. | |
c5992177 | 973 | |
77d1daf2 | 974 | 2002-09-26 Richard M. Stallman <rms@gnu.org> |
02d588e2 | 975 | |
77d1daf2 | 976 | * regex.h (__restrict_arr): Don't define if already defined. |
02d588e2 | 977 | |
77d1daf2 AS |
978 | * coding.c (run_pre_post_conversion_on_str): |
979 | Save and restore Vdeactivate_mark. | |
451e2697 | 980 | |
77d1daf2 | 981 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> |
451e2697 | 982 | |
77d1daf2 | 983 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. |
72742a99 | 984 | |
77d1daf2 | 985 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> |
72742a99 | 986 | |
77d1daf2 AS |
987 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is |
988 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
989 | (choose_face_font): If C is a single byte char or latin-1, call | |
990 | try_font_list with PREFER_FACE_FAMILY 1. | |
72742a99 | 991 | |
77d1daf2 | 992 | 2002-09-21 Richard M. Stallman <rms@gnu.org> |
72742a99 | 993 | |
77d1daf2 AS |
994 | * window.c (select_window_1): Don't select frame. |
995 | Set frame's selected window only when frame itself is selected. | |
996 | (Fselect_window): Doc fix. | |
40e6ff95 | 997 | |
77d1daf2 | 998 | 2002-09-18 Kim F. Storm <storm@cua.dk> |
40e6ff95 | 999 | |
77d1daf2 AS |
1000 | * process.c (make-network-process): Doc fix (there is no |
1001 | network-server-log-function hook). | |
c02138c6 | 1002 | |
77d1daf2 | 1003 | 2002-09-18 Richard M. Stallman <rms@gnu.org> |
c02138c6 | 1004 | |
77d1daf2 AS |
1005 | * print.c (print): Clear out the unused parts of Vprint_number_table. |
1006 | (syms_of_print): Doc fix for `print-number-table'. | |
0e47bbf7 | 1007 | |
77d1daf2 | 1008 | * unexelf.c (unexec): Undo previous change. |
0e47bbf7 | 1009 | |
77d1daf2 | 1010 | 2002-09-17 Andreas Schwab <schwab@suse.de> |
44129dcb | 1011 | |
77d1daf2 | 1012 | * m/alpha.h [LINUX]: Don't define DATA_START. |
44129dcb | 1013 | |
77d1daf2 | 1014 | 2002-09-16 Dave Love <fx@gnu.org> |
f707342d | 1015 | |
77d1daf2 AS |
1016 | * unexelf.c (unexec): Deal with .got, reinstating change from |
1017 | 25-08-1999. | |
f707342d | 1018 | |
77d1daf2 | 1019 | 2002-09-13 Richard M. Stallman <rms@gnu.org> |
1637fd2c | 1020 | |
77d1daf2 | 1021 | * s/sol2-6.h (UNEXEC): Comment out definition. |
1637fd2c | 1022 | |
77d1daf2 | 1023 | * unexsol.c (unexec): Don't downcase first letter of error msg. |
1637fd2c | 1024 | |
77d1daf2 | 1025 | * xfaces.c (Fcolor_supported_p): Just one arg is required. |
540c2788 | 1026 | |
77d1daf2 | 1027 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> |
6b2fd6ea | 1028 | |
77d1daf2 | 1029 | * unexsol.c: Include buffer.h, charset.h, coding.h. |
6b2fd6ea | 1030 | |
77d1daf2 | 1031 | 2002-09-11 Richard M. Stallman <rms@gnu.org> |
6b2fd6ea | 1032 | |
77d1daf2 AS |
1033 | * unexsol.c: Don't use report_file_error; do it by hand |
1034 | using dlerror. | |
540c2788 | 1035 | |
77d1daf2 AS |
1036 | * process.c (wait_reading_process_input, both versions): |
1037 | Before calling turn_on_atimers, call stop_polling. | |
8cc03716 | 1038 | |
77d1daf2 | 1039 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. |
8cc03716 | 1040 | |
77d1daf2 AS |
1041 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible |
1042 | we go to too_near_end, call clear_glyph_matrix. | |
1043 | (redisplay_window): After make_cursor_line_fully_visible, | |
1044 | call clear_glyph_matrix and bypass `goto done'. | |
4042a81a | 1045 | |
77d1daf2 AS |
1046 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 |
1047 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
4042a81a | 1048 | |
77d1daf2 | 1049 | 2002-09-10 Richard M. Stallman <rms@gnu.org> |
4042a81a | 1050 | |
77d1daf2 AS |
1051 | * fileio.c (Fdo_auto_save): Catch error making directory. |
1052 | Only call push_message if we need to. | |
1053 | At the same time, make an unwind-protect to pop it. | |
1054 | Rename local message_p to old_message_p. | |
1055 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
1056 | (do_auto_save_unwind): Don't call pop_message. | |
be4ee72f | 1057 | |
77d1daf2 AS |
1058 | local_request 1. |
1059 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
be4ee72f | 1060 | |
77d1daf2 | 1061 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. |
82122254 | 1062 | |
77d1daf2 | 1063 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. |
82122254 | 1064 | |
77d1daf2 | 1065 | 2002-08-13 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 1066 | |
77d1daf2 AS |
1067 | * minibuf.c (Fminibufferp): New function. |
1068 | (syms_of_minibuf): Defsubr it. | |
1069 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
c1ee53bc | 1070 | |
77d1daf2 | 1071 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> |
c1ee53bc | 1072 | |
77d1daf2 | 1073 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. |
5598c32e | 1074 | |
77d1daf2 | 1075 | 2002-08-12 Richard M. Stallman <rms@gnu.org> |
5598c32e | 1076 | |
77d1daf2 AS |
1077 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. |
1078 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
1079 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
1080 | already. | |
5598c32e | 1081 | |
77d1daf2 | 1082 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. |
5598c32e | 1083 | |
77d1daf2 | 1084 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> |
97b14e22 | 1085 | |
77d1daf2 AS |
1086 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. |
1087 | (Vmac_pass_command_to_system): New variable. | |
1088 | (Vmac_pass_control_to_system): New variable. | |
1089 | (do_mouse_moved): Check wp with is_emacs_window. | |
1090 | (XTread_socket): Check window_ptr with is_emacs_window. | |
1091 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
1092 | events back to Mac Toolbox for processing, depending on values of | |
1093 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
1094 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
1095 | Vmac_pass_control_to_system. | |
97b14e22 | 1096 | |
77d1daf2 | 1097 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> |
516eea8e | 1098 | |
77d1daf2 AS |
1099 | * coding.c (unencodable_char_position): New function. |
1100 | (Funencodable_char_position): New function. | |
1101 | (syms_of_coding): Defsubr Funencodable_char_position. | |
516eea8e | 1102 | |
77d1daf2 | 1103 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> |
04dbfa08 | 1104 | |
77d1daf2 | 1105 | * mac.c (sys_select) [MAC_OSX]: New function. |
04dbfa08 | 1106 | |
77d1daf2 AS |
1107 | * macterm.c (MakeMeTheFrontProcess): New function. |
1108 | (mac_initialize): Call MakeMeTheFrontProcess. | |
b4aebae3 | 1109 | |
77d1daf2 | 1110 | * s/darwin.h: Define select to sys_select. |
b4aebae3 | 1111 | |
77d1daf2 | 1112 | 2002-08-09 Richard M. Stallman <rms@gnu.org> |
1998560a | 1113 | |
77d1daf2 | 1114 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. |
d824beee | 1115 | |
77d1daf2 | 1116 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> |
d824beee | 1117 | |
77d1daf2 AS |
1118 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the |
1119 | end of the buffer. | |
d824beee | 1120 | |
77d1daf2 | 1121 | 2002-08-08 Ken Raeburn <raeburn@mit.edu> |
d824beee | 1122 | |
77d1daf2 | 1123 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. |
d824beee | 1124 | |
77d1daf2 | 1125 | * puresize.h (BASE_PURESIZE): Increase to 910000. |
d824beee | 1126 | |
77d1daf2 | 1127 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> |
d824beee | 1128 | |
77d1daf2 AS |
1129 | * coding.c (Ffind_operation_coding_system): For write-region, if |
1130 | VISIT is a filename, make it the target. | |
d824beee | 1131 | |
77d1daf2 | 1132 | 2002-08-07 Richard M. Stallman <rms@gnu.org> |
d824beee | 1133 | |
77d1daf2 AS |
1134 | * alloc.c (mark_object): Detect long lists for debugging. |
1135 | (mark_object_loop_halt): New variable. | |
d824beee | 1136 | |
77d1daf2 | 1137 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. |
d824beee | 1138 | |
77d1daf2 | 1139 | * data.c (Fmake_variable_frame_local): Doc fix. |
1998560a | 1140 | |
77d1daf2 | 1141 | 2002-08-01 David Ponce <david@dponce.com> |
1998560a | 1142 | |
77d1daf2 AS |
1143 | * w32menu.c (local_heap, local_alloc, local_free): New macros. |
1144 | (malloc_widget_value, free_widget_value) | |
1145 | (w32_free_submenu_strings): Use them. | |
1998560a | 1146 | |
77d1daf2 AS |
1147 | (push_submenu_start, push_submenu_end, push_left_right_boundary) |
1148 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
1149 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
1150 | (single_submenu, set_frame_menubar) | |
1151 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
8704a6ab | 1152 | |
77d1daf2 AS |
1153 | (Fx_popup_menu): Don't show pop up menu until preceding one is |
1154 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
8704a6ab | 1155 | |
77d1daf2 AS |
1156 | * w32menu.c: Changes adapted from xmenu.c |
1157 | (set_frame_menubar): First parse all submenus, | |
1158 | then make widget_value trees from them. | |
1159 | Don't allocate any widget_value objects | |
1160 | until we are done with the parsing. | |
1161 | (parse_single_submenu): New function. | |
1162 | (digest_single_submenu): New function. | |
1163 | (single_submenu): Function deleted, replaced by those two. | |
6ae2cd57 | 1164 | |
77d1daf2 | 1165 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> |
6ae2cd57 | 1166 | |
77d1daf2 AS |
1167 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow |
1168 | returns a valid window pointer before proceeding for keyDown and | |
1169 | autoKey events. | |
6ae2cd57 | 1170 | |
77d1daf2 | 1171 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> |
3582b6a3 | 1172 | |
77d1daf2 AS |
1173 | * macterm.c (USE_CARBON_EVENTS): New macro. |
1174 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
1175 | (x_iconify_frame): Call CollapseWindow. | |
1176 | (Vmac_reverse_ctrl_meta): New variable. | |
1177 | (Vmac_wheel_button_is_mouse_2): New variable. | |
1178 | (init_mac_drag_n_drop): New function. | |
1179 | (mac_do_receive_drag): New function. | |
1180 | (mac_handle_service_event): New function. | |
1181 | (init_service_handler): New function. | |
1182 | (mac_to_emacs_modifiers): New function. | |
1183 | (mac_event_to_emacs_modifiers): New function. | |
1184 | (mac_get_mouse_btn): New function. | |
1185 | (mac_convert_event_ref): New function. | |
1186 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
1187 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
1188 | mac_get_mouse_btn. | |
1189 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
f60ae425 | 1190 | |
77d1daf2 AS |
1191 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and |
1192 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
1193 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
1194 | TOOL_BAR_EVENT for MAC_OS as well. | |
1195 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
1196 | as for WINDOWS_NT. | |
1197 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
f60ae425 | 1198 | |
77d1daf2 | 1199 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. |
f60ae425 | 1200 | |
77d1daf2 | 1201 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> |
f60ae425 | 1202 | |
77d1daf2 AS |
1203 | * xdisp.c (forward_to_next_line_start): Fix a condition that |
1204 | lead to a newline being skipped. | |
3582b6a3 | 1205 | |
77d1daf2 | 1206 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> |
f60ae425 | 1207 | |
77d1daf2 | 1208 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. |
f60ae425 | 1209 | |
77d1daf2 | 1210 | 2002-08-01 Richard M. Stallman <rms@gnu.org> |
f60ae425 | 1211 | |
77d1daf2 | 1212 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. |
a0f0878d | 1213 | |
77d1daf2 | 1214 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> |
517f42a0 | 1215 | |
77d1daf2 | 1216 | * macfns.c: #undef init_process before #define-ing it. |
517f42a0 | 1217 | |
77d1daf2 AS |
1218 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if |
1219 | HAVE_CARBON is defined. | |
517f42a0 | 1220 | |
77d1daf2 | 1221 | 2002-07-31 Richard M. Stallman <rms@gnu.org> |
a0f0878d | 1222 | |
77d1daf2 AS |
1223 | * xmenu.c (set_frame_menubar): First parse all submenus, |
1224 | then make widget_value trees from them. | |
1225 | Don't allocate any widget_value objects | |
1226 | until we are done with the parsing. | |
1227 | (parse_single_submenu): New function. | |
1228 | (digest_single_submenu): New function. | |
1229 | (single_submenu): Function deleted, replaced by those two. | |
a0f0878d | 1230 | |
77d1daf2 | 1231 | 2002-07-30 Juanma Barranquero <lektu@terra.es> |
aab83f91 | 1232 | |
77d1daf2 AS |
1233 | * w32proc.c (syms_of_ntproc): Fix docstring of |
1234 | `w32-get-true-file-attributes'. | |
aab83f91 | 1235 | |
77d1daf2 | 1236 | 2002-07-28 Richard M. Stallman <rms@gnu.org> |
aab83f91 | 1237 | |
77d1daf2 AS |
1238 | * s/hpux8.h (HPUX8): Define this before including hpux.h. |
1239 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
a4478a76 | 1240 | |
77d1daf2 | 1241 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. |
a4478a76 | 1242 | |
77d1daf2 AS |
1243 | * keyboard.c (make_lispy_event): |
1244 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
1245 | Explicitly clear up_modifier in event->modifiers. | |
a4478a76 | 1246 | |
77d1daf2 | 1247 | 2002-07-27 Richard M. Stallman <rms@gnu.org> |
03670a65 | 1248 | |
77d1daf2 | 1249 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. |
03670a65 | 1250 | |
77d1daf2 AS |
1251 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH |
1252 | for bar cursor. | |
59daa29a | 1253 | |
77d1daf2 | 1254 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> |
59daa29a | 1255 | |
77d1daf2 AS |
1256 | * coding.c (detect_coding_iso2022): While checking a byte sequence |
1257 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
1258 | it in the normal loop. | |
59daa29a | 1259 | |
77d1daf2 | 1260 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> |
59daa29a | 1261 | |
77d1daf2 AS |
1262 | * xterm.c (expose_overlaps): New function. |
1263 | (expose_window): Use it to fix the display of overlapping rows. | |
59daa29a | 1264 | |
77d1daf2 | 1265 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. |
59daa29a | 1266 | |
77d1daf2 | 1267 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> |
59daa29a | 1268 | |
77d1daf2 AS |
1269 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, |
1270 | since it only depends on XUINT. | |
3947677c | 1271 | |
77d1daf2 AS |
1272 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, |
1273 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
1274 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
1275 | Macros deleted. | |
3947677c | 1276 | |
77d1daf2 AS |
1277 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
1278 | its value over other approaches. | |
1279 | * sysdep.c (start_of_data): Don't define the function if a macro | |
1280 | form has been defined. | |
8a8e19a3 | 1281 | |
77d1daf2 | 1282 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
8a8e19a3 | 1283 | |
77d1daf2 AS |
1284 | * xdisp.c (redisplay_updating_p): New variable. |
1285 | (init_iterator): Don't free realized faces when | |
1286 | redisplay_updating_p is set. | |
1287 | (redisplay_internal): Set redisplay_updating_p while updating | |
1288 | the display. | |
8a8e19a3 | 1289 | |
77d1daf2 | 1290 | 2002-07-23 Richard M. Stallman <rms@gnu.org> |
8a8e19a3 | 1291 | |
77d1daf2 | 1292 | * editfns.c (Fmessage): Treat "" like nil. |
8a8e19a3 | 1293 | |
77d1daf2 | 1294 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> |
4f1b1854 | 1295 | |
77d1daf2 AS |
1296 | * xdisp.c (face_before_or_after_it_pos): |
1297 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
4f1b1854 | 1298 | |
77d1daf2 | 1299 | 2002-07-22 Juanma Barranquero <lektu@terra.es> |
4f1b1854 | 1300 | |
77d1daf2 AS |
1301 | * callproc.c (init_callproc) [DOS_NT]: |
1302 | Initialize Vshared_game_score_directory to nil. | |
1303 | (syms_of_callproc) [DOS_NT]: Likewise. | |
4f1b1854 | 1304 | |
77d1daf2 | 1305 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> |
5cb6905d | 1306 | |
77d1daf2 | 1307 | * xdisp.c (display_line): Replace an abort with xassert. |
5cb6905d | 1308 | |
77d1daf2 | 1309 | 2002-07-21 Richard M. Stallman <rms@gnu.org> |
437dfb9f | 1310 | |
77d1daf2 AS |
1311 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED |
1312 | and END_UNCHANGED when setting buffer_unchanged_p. | |
1313 | Use current_matrix_up_to_date_p to decide whether to use | |
1314 | try_cursor_movement. | |
437dfb9f | 1315 | |
77d1daf2 | 1316 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. |
9f696a00 | 1317 | |
77d1daf2 | 1318 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. |
9f696a00 | 1319 | |
77d1daf2 AS |
1320 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. |
1321 | Set to nil if dir does not exist. | |
1322 | (syms_of_callproc): Init unconditionally and simply. | |
d57966d7 | 1323 | |
77d1daf2 | 1324 | * buffer.c (Fbuffer_list): Doc fix. |
d57966d7 | 1325 | |
77d1daf2 | 1326 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> |
d57966d7 | 1327 | |
77d1daf2 | 1328 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. |
74779f52 | 1329 | |
77d1daf2 AS |
1330 | * buffer.c (mmap_realloc): When shrinking, make sure number of |
1331 | pages to unmap is rounded towards zero. | |
74779f52 | 1332 | |
77d1daf2 AS |
1333 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. |
1334 | (XSETINT): Deleted. | |
a474d59c | 1335 | |
77d1daf2 AS |
1336 | * m/att3b.h (XINT): Don't define. |
1337 | (VALBITS, VALMASK, XTYPE): Deleted. | |
1338 | (DATA_SEG_BITS): Define. | |
1339 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
1340 | ARRAY_MARK_FLAG): Deleted. | |
1341 | (DATA_SEG_BITS): Define. | |
1342 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
1343 | (DATA_SEG_BITS): Define. | |
a474d59c | 1344 | |
77d1daf2 | 1345 | 2002-07-20 Richard M. Stallman <rms@gnu.org> |
fbb70ad9 | 1346 | |
77d1daf2 AS |
1347 | * print.c (print_error_message): New args CONTEXT and CALLER. |
1348 | Calls changed. | |
fbb70ad9 | 1349 | |
77d1daf2 | 1350 | * lisp.h (print_error_message): Declare new args. |
2d10309f | 1351 | |
77d1daf2 AS |
1352 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function |
1353 | and CONTEXT to print_error_message, don't print them here. | |
1354 | For a Quit, don't use Vsignaling_function. | |
1355 | Call message_log_maybe_newline. | |
2d10309f | 1356 | |
77d1daf2 | 1357 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. |
2d10309f | 1358 | |
77d1daf2 | 1359 | 2002-07-20 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 1360 | |
77d1daf2 | 1361 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. |
0b1e6b54 | 1362 | |
77d1daf2 | 1363 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> |
7f2cddf3 | 1364 | |
77d1daf2 AS |
1365 | * bytecode.c (struct byte_stack): Pointers into byte string now |
1366 | point to const. | |
1367 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
1368 | const. | |
1369 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
1370 | * coding.c (encode_eol, detect_coding, detect_eol): | |
1371 | (decode_coding, encode_coding, detect_coding_system): | |
1372 | Source strings now treated as const. | |
1373 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
1374 | modify Lisp string contents. | |
1375 | * coding.h (decode_coding, encode_coding, detect_coding, | |
1376 | detect_eol): Declarations updated. | |
1377 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
1378 | as const. | |
1379 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
1380 | * lisp.h (STRING_COPYIN): New macro. | |
1381 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
1382 | (internal_with_output_to_temp_buffer): Declarations updated. | |
1383 | * print.c (temp_output_buffer_setup): | |
1384 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
1385 | pointer to const. | |
1386 | * sound.c (struct sound_device): Function pointer field "write" | |
1387 | buffer argument now points to const. | |
1388 | (vox_write): Buffer argument points to const. | |
1389 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
1390 | contents as const. | |
1391 | * sysdep.c (emacs_write): Buffer pointer now const. | |
1392 | * term.c (encode_terminal_code): Buffer pointer now const. | |
1393 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
1394 | (x_face_list_fonts, x_update_menu_appearance): | |
1395 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
7f2cddf3 | 1396 | |
77d1daf2 | 1397 | 2002-07-19 Juanma Barranquero <lektu@terra.es> |
e17144de | 1398 | |
77d1daf2 AS |
1399 | * fileio.c (Ffile_name_as_directory): Fix argument name in docstring. |
1400 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
e17144de | 1401 | |
77d1daf2 | 1402 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
6637c996 | 1403 | |
77d1daf2 | 1404 | * fileio.c (syms_of_fileio): Likewise. |
44368f8f | 1405 | |
77d1daf2 | 1406 | 2002-07-18 Richard M. Stallman <rms@gnu.org> |
f884b6f4 | 1407 | |
77d1daf2 | 1408 | * data.c (Fdefalias): Doc fix. |
6637c996 | 1409 | |
77d1daf2 | 1410 | 2002-07-17 Dave Love <fx@gnu.org> |
6637c996 | 1411 | |
77d1daf2 | 1412 | * intervals.h (text_property_stickiness): Use P_. |
6637c996 | 1413 | |
77d1daf2 AS |
1414 | * ccl.c: Remove `emacs' conditionals. |
1415 | (ccl_backtrace_table): Fix size spec. | |
1416 | (ccl_driver): Fix type errors. | |
453c5510 | 1417 | |
77d1daf2 | 1418 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> |
453c5510 | 1419 | |
77d1daf2 AS |
1420 | * alloc.c (xstrdup, make_string, make_unibyte_string) |
1421 | (make_multibyte_string, build_string): String pointer args now | |
1422 | point to const. | |
1423 | * charset.c (find_charset_in_text, c_string_width): | |
1424 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
1425 | * fileio.c (report_file_error): | |
1426 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
1427 | (count_combining_before, count_combining_after, insert_1_both): | |
1428 | (insert, insert_and_inherit, insert_string): | |
1429 | (insert_before_markers, insert_before_markers_and_inherit): | |
1430 | * lread.c (intern, oblookup, hash_string): | |
1431 | * minibuf.c (temp_echo_area_glyphs): | |
1432 | * search.c (fast_c_string_match_ignore_case): | |
1433 | * sysdep.c (emacs_open, set_file_times): | |
1434 | * xfaces.c (xstricmp): | |
1435 | * xdisp.c (store_frame_title, string_char_and_length): | |
1436 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
1437 | (set_message_1): Cast message string argument to const pointer. | |
1438 | * editfns.c (general_insert_function): Insertion function now | |
1439 | takes pointer to const for input data. | |
1440 | * charset.h (find_charset_in_text, c_string_width): | |
1441 | (parse_str_as_multibyte): Declarations updated. | |
1442 | * dispextern.h (xstricmp): Declaration updated. | |
1443 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
1444 | (count_size_as_multibyte, count_combining_before): | |
1445 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
1446 | (insert, insert_and_inherit, insert_before_markers) | |
1447 | (insert_before_markers_and_inherit, set_message, message2): | |
1448 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
1449 | (make_multibyte_string, intern, oblookup, report_file_error): | |
1450 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
1451 | (emacs_open, xstrdup): Declarations updated. | |
1452 | * systime.h (set_file_times): Declaration updated. | |
d1d070e3 | 1453 | |
77d1daf2 AS |
1454 | * charset.c (find_charset_in_text, lisp_string_width): Use const |
1455 | for pointer to lisp string data. | |
1456 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
1457 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
1458 | * coding.c (Ffind_coding_systems_region_interval): | |
1459 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
1460 | (Fmake_directory_internal, Fdelete_directory): | |
1461 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
1462 | * fontset.c (font_family_registry, fs_query_fontset): | |
1463 | (list_fontsets): | |
1464 | * frame.c (Fframe_parameter): | |
1465 | * keyboard.c (cmd_error_internal): | |
1466 | * keymap.c (Fdescribe_buffer_bindings): | |
1467 | * lread.c (complete_filename_p, openp): | |
1468 | * minibuf.c (Fminibuffer_complete_word): | |
1469 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
1470 | (face_before_or_after_it_pos, next_element_from_string): | |
1471 | (get_overlay_arrow_glyph_row, display_mode_element): | |
1472 | (decode_mode_spec_coding): | |
1473 | * xterm.c (same_x_server): Likewise. | |
d1d070e3 | 1474 | |
77d1daf2 AS |
1475 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" |
1476 | settings of non-existent fields. | |
9ec1bdb6 | 1477 | |
77d1daf2 AS |
1478 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to |
1479 | copy a lisp value. | |
9ec1bdb6 | 1480 | |
77d1daf2 AS |
1481 | * lread.c (Fintern_soft): Use string macros instead of |
1482 | Lisp_String fields. | |
1483 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
1484 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
1485 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
308dd672 | 1486 | |
77d1daf2 | 1487 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. |
edde72f6 | 1488 | |
77d1daf2 AS |
1489 | * charset.h (FETCH_STRING_CHAR_ADVANCE) |
1490 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
1491 | XSTRING()->size_byte. | |
308dd672 | 1492 | |
77d1daf2 AS |
1493 | * lisp.h (SDATA, SREF): Produce rvalue. |
1494 | (SSET): New macro. | |
1495 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
1496 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
1497 | a string. | |
1498 | * casefiddle.c (casify_object): Use SSET. | |
1499 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
1500 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
1501 | address of string contents. | |
1502 | * data.c (Faref): Use SDATA. | |
1503 | (Faset): Use SDATA, SSET. | |
1504 | * dired.c (directory_files_internal): Use SSET. | |
1505 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
1506 | (Fread_file_name): Use SREF, SSET. | |
1507 | * fns.c (concat): Use SSET. | |
1508 | (concat, Fdelete): Use SDATA. | |
1509 | * insdel.c (insert_from_string_1): Use SDATA. | |
1510 | * keyboard.c (Fevent_convert_list): Use SREF. | |
1511 | * lread.c (Fload): Use SDATA, SSET. | |
1512 | * macfns.c (validate_x_resource_name): Use SSET. | |
1513 | * process.c (status_message): Use SSET. | |
1514 | * search.c (wordify): Use SDATA. | |
1515 | (Freplace_match): Use SREF. | |
1516 | * w32fns.c (validate_x_resource_name): Use SSET. | |
1517 | * xfns.c (validate_x_resource_name): Use SSET. | |
1518 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
3c1e6b46 | 1519 | |
77d1daf2 | 1520 | 2002-07-16 Richard M. Stallman <rms@gnu.org> |
03950b5b | 1521 | |
77d1daf2 | 1522 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. |
3c1e6b46 | 1523 | |
77d1daf2 AS |
1524 | * xdisp.c (reconsider_clip_changes): |
1525 | Don't test prevent_redisplay_optimizations_p. | |
1526 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
1527 | along with clip_changed in some cases. | |
1528 | (try_window_id): Likewise. | |
1529 | (redisplay_window): New local var buffer_unchanged_p. | |
c1e11810 | 1530 | |
77d1daf2 | 1531 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. |
c1e11810 | 1532 | |
77d1daf2 AS |
1533 | * process.c (create_process): Test USG_SUBTTY_WORKS. |
1534 | (process_send_signal): Clean up handling of GID. | |
1535 | Detect errors in ioctls meant to set GID. | |
1996baee | 1536 | |
77d1daf2 AS |
1537 | * window.c (temp_output_buffer_show): |
1538 | Don't set prevent_redisplay_optimizations_p. | |
1996baee | 1539 | |
77d1daf2 | 1540 | 2002-07-15 Juanma Barranquero <lektu@terra.es> |
0065bb74 | 1541 | |
77d1daf2 | 1542 | * eval.c (Fdefvaralias): Add docstring argument. |
0065bb74 | 1543 | |
77d1daf2 | 1544 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> |
0065bb74 | 1545 | |
77d1daf2 AS |
1546 | * lisp.h (STRING_INTERVALS): Produce rvalue. |
1547 | (STRING_SET_INTERVALS): New macro. | |
1548 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
1549 | * fns.c (Fstring_as_multibyte): Likewise. | |
1550 | * intervals.c (balance_possible_root_interval, delete_interval) | |
1551 | (create_root_interval, copy_intervals_to_string): Likewise. | |
1552 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
1553 | instead of 0. | |
b5cb6072 | 1554 | |
77d1daf2 | 1555 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> |
b5cb6072 | 1556 | |
77d1daf2 AS |
1557 | * lisp.h (STRING_SET_CHARS): New macro. |
1558 | (SCHARS, SBYTES): Produce rvalues. | |
1559 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
1560 | * fns.c (concat): Likewise. | |
1561 | * lread.c (read_vector): Likewise. | |
15fff01d | 1562 | |
77d1daf2 AS |
1563 | * lisp.h (SMBP): Deleted. All uses changed to STRING_MULTIBYTE. |
1564 | (STRING_SET_UNIBYTE): New macro. | |
1565 | (SET_STRING_BYTES): Deleted. Callers (all of which supplied a | |
1566 | length of -1) changed to use STRING_SET_UNIBYTE. | |
1567 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
1568 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
1569 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
1570 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
1571 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
1572 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
1573 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
1574 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
1575 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
1576 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
1577 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
1578 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
1579 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
1580 | unchanged for now. | |
0065bb74 | 1581 | |
77d1daf2 | 1582 | 2002-07-13 Kim F. Storm <storm@cua.dk> |
0d8466cc | 1583 | |
77d1daf2 | 1584 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. |
15fff01d | 1585 | |
77d1daf2 | 1586 | 2002-07-12 Richard M. Stallman <rms@gnu.org> |
2fae9111 | 1587 | |
77d1daf2 | 1588 | * fileio.c (Fwrite_region): Doc fix. |
2d6c1fc0 | 1589 | |
77d1daf2 | 1590 | * print.c (print_error_message): Don't handle Vsignaling_function here. |
07025a55 | 1591 | |
77d1daf2 AS |
1592 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. |
1593 | (command_loop_1): Avoid certain actions after memory-full error. | |
07025a55 | 1594 | |
77d1daf2 AS |
1595 | * eval.c (Fsignal): Don't call cancel_hourglass. |
1596 | For a memory-full error, don't call Vsignal_hook_function | |
1597 | and don't set Vsignaling_function. | |
07025a55 | 1598 | |
77d1daf2 | 1599 | * process.c (process_send_signal): Add abort call. |
3a232704 | 1600 | |
77d1daf2 | 1601 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> |
539e92ad | 1602 | |
77d1daf2 | 1603 | * keymap.c (Fkey_binding): Fix typo. |
3a232704 | 1604 | |
77d1daf2 | 1605 | 2002-07-11 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 1606 | |
77d1daf2 AS |
1607 | * alloc.c (Vmemory_full): New variable. |
1608 | (Vmemory_signal_data): Renamed from memory_signal_data. | |
1609 | Uses changed. | |
1610 | (syms_of_alloc): Defvar them. | |
1611 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
539e92ad | 1612 | |
77d1daf2 AS |
1613 | * lisp.h (Vmemory_full): Add declaration. |
1614 | (current_column, indented_beyond_p): Change declaration. | |
4e02881b | 1615 | |
77d1daf2 AS |
1616 | * indent.c (last_known_column): Declare as double, not float. |
1617 | (current_column, current_column_1, string_display_width) | |
1618 | (position_indentation): Return `double'. | |
1619 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
4e02881b | 1620 | |
77d1daf2 AS |
1621 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. |
1622 | (back_to_previous_visible_line_start) | |
1623 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
1624 | Use `double', not `float', when calling indented_beyond_p. | |
1ab964d7 | 1625 | |
77d1daf2 | 1626 | * s/hpux11.h (BROKEN_SA_RESTART): Defined. |
1ab964d7 | 1627 | |
77d1daf2 | 1628 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. |
749f499f | 1629 | |
77d1daf2 | 1630 | 2002-07-11 Juanma Barranquero <lektu@terra.es> |
749f499f | 1631 | |
77d1daf2 AS |
1632 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, |
1633 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, | |
1634 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
1635 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
1636 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
1637 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
b5d9aaba | 1638 | |
77d1daf2 | 1639 | 2002-07-10 Juanma Barranquero <lektu@terra.es> |
3a232704 | 1640 | |
77d1daf2 AS |
1641 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. All callers |
1642 | changed. | |
d0fd26dd | 1643 | |
77d1daf2 | 1644 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> |
b4c45162 | 1645 | |
77d1daf2 AS |
1646 | * data.c (Fdefalias): Add an optional `docstring' argument. |
1647 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
d0fd26dd | 1648 | |
77d1daf2 AS |
1649 | * composite.c (HASH_VALUE, HASH_KEY): |
1650 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
c95eaa61 | 1651 | |
77d1daf2 | 1652 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> |
c95eaa61 | 1653 | |
77d1daf2 | 1654 | * callproc.c (Fcall_process): Fix previous change. |
c95eaa61 | 1655 | |
77d1daf2 | 1656 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> |
c95eaa61 | 1657 | |
77d1daf2 AS |
1658 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): |
1659 | Add support for hash-tables. | |
1660 | (Ftry_completion): Return t even if the string appears multiple times. | |
c95eaa61 | 1661 | |
77d1daf2 AS |
1662 | * fns.c (Fnconc): Use XCDR. |
1663 | (Fprovide): Use CONSP and XCDR. | |
1664 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
1665 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
1666 | (Fmake_hash_table): Accept `:size nil'. | |
1667 | (Fmakehash): Delete: moved to subr.el. | |
1668 | (syms_of_fns): Don't defsubr makehash. | |
c95eaa61 | 1669 | |
77d1daf2 AS |
1670 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) |
1671 | (HASH_TABLE_SIZE): Move from fns.c. | |
c95eaa61 | 1672 | |
77d1daf2 | 1673 | 2002-07-07 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 1674 | |
77d1daf2 AS |
1675 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. |
1676 | Instead just return 0 when there is something to be done. | |
1677 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
1678 | retry scrolling as if cursor were off the bottom. | |
1679 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
1680 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
1681 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
1682 | go to try_to_scroll. | |
c95eaa61 | 1683 | |
77d1daf2 AS |
1684 | * buffer.c (Fbuffer_local_value): Store current value into its binding |
1685 | so we get the up-to-date value for the binding that is loaded. | |
c95eaa61 | 1686 | |
77d1daf2 | 1687 | * eval.c (Fdefmacro): Doc fix. |
31877e0a | 1688 | |
77d1daf2 | 1689 | 2002-07-05 Dave Love <fx@gnu.org> |
31877e0a | 1690 | |
77d1daf2 AS |
1691 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time |
1692 | correctly. | |
e2c3786a | 1693 | |
77d1daf2 AS |
1694 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) |
1695 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
1696 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
1697 | CCL_LookupCharConstTbl. | |
1698 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
e2c3786a | 1699 | |
77d1daf2 | 1700 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c513fc03 | 1701 | |
77d1daf2 | 1702 | * xdisp.c: Remove unused variable `face'. |
bf794306 | 1703 | |
77d1daf2 | 1704 | 2002-07-04 Juanma Barranquero <lektu@terra.es> |
bf794306 | 1705 | |
77d1daf2 AS |
1706 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) |
1707 | obsolescence information. | |
bf794306 | 1708 | |
77d1daf2 | 1709 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> |
62582985 | 1710 | |
77d1daf2 AS |
1711 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching |
1712 | pattern. Search cache first. | |
1713 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
1714 | for Japanese font. | |
1715 | (XLoadQueryFont): Use it. | |
c513fc03 | 1716 | |
77d1daf2 | 1717 | 2002-07-02 Richard M. Stallman <rms@gnu.org> |
3509a04c | 1718 | |
77d1daf2 | 1719 | * keymap.c (Fdefine_key): Doc fix. |
3509a04c | 1720 | |
77d1daf2 | 1721 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. |
3509a04c | 1722 | |
77d1daf2 | 1723 | 2002-07-02 Juanma Barranquero <lektu@terra.es> |
3509a04c | 1724 | |
77d1daf2 | 1725 | * keymap.c (syms_of_keymap): Fix typo. |
1e9a6186 | 1726 | |
77d1daf2 | 1727 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> |
1e9a6186 | 1728 | |
77d1daf2 | 1729 | * s/darwin.h: Define POSIX_SIGNALS. |
e4e34e31 | 1730 | |
77d1daf2 AS |
1731 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef |
1732 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
1733 | Posix pathname. | |
1734 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
1735 | Call init_required_apple_events and disable the `Quit' menu item | |
1736 | provided automatically by the Carbon Toolbox. | |
e4e34e31 | 1737 | |
77d1daf2 | 1738 | 2002-07-01 Dave Love <fx@gnu.org> |
4521d1fc | 1739 | |
77d1daf2 AS |
1740 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl |
1741 | for K&R. | |
7c75be36 | 1742 | |
77d1daf2 | 1743 | * xterm.c: Fix prototype for K&R. |
4521d1fc | 1744 | |
77d1daf2 | 1745 | * term.c (costs_set): Declare static, non-initialized for pcc. |
4521d1fc | 1746 | |
77d1daf2 | 1747 | 2002-07-01 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 1748 | |
77d1daf2 AS |
1749 | * keyboard.c (timer_last_idleness_start_time): New variable. |
1750 | (timer_start_idle): Set that. | |
1751 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
1752 | to previous value. | |
93dec019 | 1753 | |
77d1daf2 | 1754 | * window.c (Frecenter): With arg, set optional_new_start. |
93dec019 | 1755 | |
77d1daf2 | 1756 | * xdisp.c (redisplay_internal): Make optional_new_start really work. |
905cc05a | 1757 | |
77d1daf2 AS |
1758 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of |
1759 | buffer for completion. | |
2ed06289 | 1760 | |
77d1daf2 | 1761 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> |
0e79d667 | 1762 | |
77d1daf2 | 1763 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. |
0e79d667 | 1764 | |
77d1daf2 | 1765 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
905cc05a | 1766 | |
77d1daf2 AS |
1767 | * keyboard.c (readable_filtered_events): New function that filters |
1768 | FOCUS_IN_EVENT depending on parameter. | |
1769 | (readable_events): Calls readable_filtered_events, not filtering | |
1770 | FOCUS_IN_EVENT. | |
1771 | (get_filtered_input_pending): New function, filtering parameter passed | |
1772 | to readable_filtered_events. | |
1773 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
1774 | FOCUS_IN_EVENT. | |
1775 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
1776 | FOCUS_IN_EVENT. | |
82a7ab23 | 1777 | |
77d1daf2 | 1778 | * xterm.h (struct x_output): Add focus_state. |
d75bec6a | 1779 | |
77d1daf2 AS |
1780 | * xterm.c (x_focus_changed): New function. |
1781 | (x_detect_focus_change): New function. | |
1782 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
1783 | EnterNotify and LeaveNotify to track X focus changes. | |
52dcb476 | 1784 | |
77d1daf2 | 1785 | 2002-06-28 Andreas Schwab <schwab@suse.de> |
82a7ab23 | 1786 | |
77d1daf2 | 1787 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. |
82a7ab23 | 1788 | |
77d1daf2 | 1789 | 2002-06-27 Kim F. Storm <storm@cua.dk> |
82a7ab23 | 1790 | |
77d1daf2 AS |
1791 | * xdisp.c: (mode_line_string_list, mode_line_string_face) |
1792 | (mode_line_string_face_prop): New variables. | |
1793 | (store_mode_line_string): New function. | |
1794 | (display_mode_element): Use store_mode_line_string to | |
1795 | add mode-line string elements to mode_line_string_list | |
1796 | when mode_line_string_list is non-nil. | |
1797 | (Fformat_mode_line): Now returns propertized string by | |
1798 | default. New arg NO-PROPS to ignore properties. | |
1799 | (decode_mode_spec): Only add two dashes for %- in propertized | |
1800 | mode-line string. | |
1801 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
4d0fa4f3 | 1802 | |
77d1daf2 | 1803 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> |
4d0fa4f3 | 1804 | |
77d1daf2 | 1805 | * minibuf.c (minibuffer_completion_contents): Add return type. |
493faf20 | 1806 | |
77d1daf2 | 1807 | 2002-06-27 Juanma Barranquero <lektu@terra.es> |
493faf20 | 1808 | |
77d1daf2 | 1809 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. |
4971e491 | 1810 | |
77d1daf2 | 1811 | 2002-06-26 Juanma Barranquero <lektu@terra.es> |
4971e491 | 1812 | |
77d1daf2 | 1813 | * fileio.c (read_file_name_cleanup): Add missing return. |
4971e491 | 1814 | |
77d1daf2 | 1815 | 2002-06-26 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 1816 | |
77d1daf2 | 1817 | * window.c (Frecenter): Don't set force_start flag. |
d911a0fa | 1818 | |
77d1daf2 AS |
1819 | * minibuf.c (do_completion, Fminibuffer_complete_word) |
1820 | (Fminibuffer_completion_help): Complete just the text before point. | |
1821 | (minibuffer_completion_contents): New function. | |
d911a0fa | 1822 | |
77d1daf2 | 1823 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. |
201c831a | 1824 | |
77d1daf2 | 1825 | * frame.c (frames_bury_buffer): Function deleted. |
201c831a | 1826 | |
77d1daf2 | 1827 | 2002-06-25 Miles Bader <miles@gnu.org> |
201c831a | 1828 | |
77d1daf2 AS |
1829 | * callint.c (Fcall_interactively): When checking to see if doprnt hit |
1830 | the end of callint_message, allow for a terminating '\0'. | |
34e39c95 | 1831 | |
77d1daf2 | 1832 | 2002-06-24 Juanma Barranquero <lektu@terra.es> |
34e39c95 | 1833 | |
77d1daf2 | 1834 | * w32select.c: Include composite.h |
d77fbc16 | 1835 | |
77d1daf2 | 1836 | * w16select.c: Likewise. |
d77fbc16 | 1837 | |
77d1daf2 | 1838 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> |
61e3b944 | 1839 | |
77d1daf2 AS |
1840 | * callproc.c (Fcall_process): If code detection is necessary, |
1841 | call detect_coding directly here. | |
61e3b944 | 1842 | |
77d1daf2 | 1843 | * coding.c (detect_eol): Preserve coding->cmp_data. |
61e3b944 | 1844 | |
77d1daf2 AS |
1845 | * w16select.c (Fw16_get_clipboard_data): |
1846 | * w32fns.c (w32_to_x_font): | |
1847 | * w32select.c (Fw32_get_clipboard_data): | |
1848 | * xselect.c (selection_data_to_lisp_data): | |
1849 | * xterm.c (XTread_socket): Disable composition handling. | |
70da46c3 | 1850 | |
77d1daf2 | 1851 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> |
70da46c3 | 1852 | |
77d1daf2 | 1853 | * print.c (temp_output_buffer_setup): Kill all local variables. |
8af01033 | 1854 | |
77d1daf2 | 1855 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> |
8af01033 | 1856 | |
77d1daf2 | 1857 | * lread.c (Fread): Remove redundant and imprecise declaration. |
7363986a | 1858 | |
77d1daf2 | 1859 | * xfns.c (check_x_display_info): Use check_x_frame. |
7363986a | 1860 | |
77d1daf2 AS |
1861 | * .gdbinit (xprintsym): Use the new `xname' field. |
1862 | (xsymbol): Use it. | |
d9e6c4b1 | 1863 | |
77d1daf2 | 1864 | 2002-06-22 Jason Rumney <jasonr@gnu.org> |
d20fc48a | 1865 | |
77d1daf2 AS |
1866 | * w32fns.c (file_dialog_callback): New function. |
1867 | (Fx_file_dialog): Allow selecting directories as well as files. | |
d9e6c4b1 | 1868 | |
77d1daf2 | 1869 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f1a85b89 | 1870 | |
77d1daf2 AS |
1871 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and |
1872 | OpenBSD. Add support for mipseb-*-netbsd* machines. | |
f1a85b89 | 1873 | |
77d1daf2 | 1874 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
3a62677f | 1875 | |
77d1daf2 AS |
1876 | * macterm.c (mac_scroll_area): Set foreground and backcolor to |
1877 | black and white before scrolling. Restore frame background and | |
1878 | foreground color after scrolling. | |
1879 | (do_window_update): Call XClearWindow before calling expose_frame. | |
1880 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
1881 | FRAME_FOREGROUND_PIXEL of frame. | |
72244db2 | 1882 | |
77d1daf2 AS |
1883 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
1884 | test Mac command key as <ALT> key. | |
3a62677f | 1885 | |
77d1daf2 | 1886 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> |
3a62677f | 1887 | |
77d1daf2 | 1888 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. |
3a62677f | 1889 | |
77d1daf2 AS |
1890 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. |
1891 | Lookup keys in function-key-map immediately so that key-translation-map | |
1892 | can be applied earlier. | |
1893 | Remove function_key_possible and key_translation_possible, replaced | |
1894 | by checking `keytran_start < t'. | |
3a62677f | 1895 | |
77d1daf2 | 1896 | * .gdbinit (xsymbol): Use the new `xname' field. |
9d113d9d | 1897 | |
77d1daf2 | 1898 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> |
b8523839 | 1899 | |
77d1daf2 AS |
1900 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, |
1901 | test Mac command key as <ALT> key. | |
9464dea4 | 1902 | |
77d1daf2 AS |
1903 | * mac.c (do_applescript): Call initialize_applescript if necessary |
1904 | when first called. Dispose of result_desc only when there is no error. | |
1905 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
9d113d9d | 1906 | |
77d1daf2 | 1907 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> |
70ec1377 | 1908 | |
77d1daf2 AS |
1909 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead |
1910 | of FrontWindow for cases keyDown and autoKey. | |
70ec1377 | 1911 | |
77d1daf2 AS |
1912 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of |
1913 | Vdefault_fontset to Monaco with mac-roman coding. | |
92f7dd37 | 1914 | |
77d1daf2 AS |
1915 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine |
1916 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
92f7dd37 | 1917 | |
77d1daf2 AS |
1918 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and |
1919 | cursor_gc. | |
1920 | (add_font_name_table_entry): New function. | |
1921 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
1922 | bold, and bold-italic entries for truetype fonts. | |
c93674bb | 1923 | |
77d1daf2 AS |
1924 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces |
1925 | for Mac too. | |
1926 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
1927 | fonts with any registry matching face_family. | |
1928 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
c93674bb | 1929 | |
77d1daf2 AS |
1930 | * s/darwin.h: If autoconf detects the Ncurses library, define |
1931 | LIBS_TERMCAP to -lncurses to use it. | |
59b59892 | 1932 | |
77d1daf2 | 1933 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> |
59b59892 | 1934 | |
77d1daf2 | 1935 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. |
c6ea2775 | 1936 | |
77d1daf2 | 1937 | 2002-06-15 Richard M. Stallman <rms@gnu.org> |
c6ea2775 | 1938 | |
77d1daf2 AS |
1939 | * window.c (Fset_window_configuration): Explicitly preserve |
1940 | the point value that new_current_buffer had at the start. | |
91175673 | 1941 | |
77d1daf2 | 1942 | 2002-06-14 Juanma Barranquero <lektu@terra.es> |
91175673 | 1943 | |
77d1daf2 AS |
1944 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): |
1945 | Fix typos. | |
91175673 | 1946 | |
77d1daf2 | 1947 | 2002-06-14 Kim F. Storm <storm@cua.dk> |
e0fead5d | 1948 | |
77d1daf2 AS |
1949 | * insdel.c (insert_1_both, insert_from_string_1) |
1950 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
1951 | insert happened in the end_unchanged region. Otherwise, the | |
1952 | redisplay may be confused and duplicate the last line in the | |
1953 | buffer [seen after save-buffer when require-final-newline==t]. | |
e0fead5d | 1954 | |
77d1daf2 | 1955 | 2002-06-13 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 1956 | |
77d1daf2 AS |
1957 | * w32.c (init_environment): Remove EMACSLOCKDIR. |
1958 | (stat): Swap _S_IFDIR and _S_IFREG. | |
c186cdb3 | 1959 | |
77d1daf2 | 1960 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c186cdb3 | 1961 | |
77d1daf2 AS |
1962 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c |
1963 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
1964 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
1965 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
1966 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
1967 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
1968 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
1969 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
1970 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
1971 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
1972 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
1973 | SELECTION_CLEAR_EVENT, buffer_sw | |
c186cdb3 | 1974 | |
77d1daf2 | 1975 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> |
c186cdb3 | 1976 | |
77d1daf2 | 1977 | * region-cache.c (new_region_cache): Use BEG. |
58cfce98 | 1978 | |
77d1daf2 AS |
1979 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): |
1980 | Use BEG and BEG_BYTE. | |
58cfce98 | 1981 | |
77d1daf2 AS |
1982 | * doc.c (get_doc_string): Return nil if the location is wrong. |
1983 | (reread_doc_file): New fun. | |
1984 | (Fdocumentation, Fdocumentation_property): | |
1985 | Call it if get_doc_string fails. | |
1986 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
62854fe2 | 1987 | |
77d1daf2 AS |
1988 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. |
1989 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
62854fe2 | 1990 | |
77d1daf2 | 1991 | * charset.c (Fstring): Allow 0 arguments. |
656f46bb | 1992 | |
77d1daf2 | 1993 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. |
656f46bb | 1994 | |
77d1daf2 AS |
1995 | * process.c (DATAGRAM_CONN_P, list_processes_1) |
1996 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
1997 | (Fset_network_process_options, server_accept_connection): | |
1998 | Fix some int/Lisp_Object confusions (thank you union types). | |
656f46bb | 1999 | |
77d1daf2 | 2000 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
036e218d | 2001 | |
77d1daf2 | 2002 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. |
036e218d | 2003 | |
77d1daf2 AS |
2004 | * w32term.c: Likewise. |
2005 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
7ddb2c16 | 2006 | |
77d1daf2 AS |
2007 | * keyboard.c (Qselect_window): New symbol. |
2008 | (head_table): Use it. | |
2009 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
2010 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
7ddb2c16 | 2011 | |
77d1daf2 AS |
2012 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. |
2013 | (last_window): New variable. | |
2014 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
2015 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
2016 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
2017 | Emacs windows. | |
ace9b298 | 2018 | |
77d1daf2 | 2019 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. |
90647b07 | 2020 | |
77d1daf2 | 2021 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> |
90647b07 | 2022 | |
77d1daf2 AS |
2023 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. |
2024 | Callers changed. | |
ace9b298 | 2025 | |
77d1daf2 | 2026 | 2002-03-30 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 2027 | |
77d1daf2 AS |
2028 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines |
2029 | loop whenever it stops making progress. | |
ace9b298 | 2030 | |
77d1daf2 | 2031 | * widget.c (set_frame_size): Don't call change_frame_size. |
9fbc32aa | 2032 | |
77d1daf2 | 2033 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> |
036e218d | 2034 | |
77d1daf2 AS |
2035 | * dispnew.c (direct_output_for_insert): |
2036 | Call mark_window_display_accurate. | |
9fbc32aa | 2037 | |
77d1daf2 | 2038 | 2002-03-29 Jason Rumney <jasonr@gnu.org> |
9fbc32aa | 2039 | |
77d1daf2 | 2040 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. |
9fbc32aa | 2041 | |
77d1daf2 | 2042 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> |
9fbc32aa | 2043 | |
77d1daf2 | 2044 | * Makefile.in (lread.o): Depend on coding.h. |
9fbc32aa | 2045 | |
77d1daf2 AS |
2046 | * lread.c (openp, Fload): Encode the file name before passing it |
2047 | to `stat', `access', and `emacs_open'. | |
2048 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
2049 | strings unnecessarily. | |
9fbc32aa | 2050 | |
77d1daf2 | 2051 | 2002-03-29 Kim F. Storm <storm@cua.dk> |
9fbc32aa | 2052 | |
77d1daf2 | 2053 | * fns.c (Flax_plist_put): Doc fix. |
9fbc32aa | 2054 | |
77d1daf2 | 2055 | 2002-03-28 Miles Bader <miles@gnu.org> |
0142178a | 2056 | |
77d1daf2 | 2057 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. |
0142178a | 2058 | |
77d1daf2 | 2059 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d4824a5d | 2060 | |
77d1daf2 AS |
2061 | * process.c (set-network-process-options): Add usage. |
2062 | (make-network-process): Doc fix. | |
d4824a5d | 2063 | |
77d1daf2 | 2064 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> |
b1356234 | 2065 | |
77d1daf2 | 2066 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". |
b1356234 | 2067 | |
77d1daf2 | 2068 | 2002-03-26 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 2069 | |
77d1daf2 AS |
2070 | * fns.c (Fsubstring_no_properties): New function. |
2071 | (Flax_plist_get, Flax_plist_put): New functions. | |
2072 | (syms_of_fns): defsubr them. | |
99e380ee | 2073 | |
77d1daf2 AS |
2074 | * xdisp.c (update_menu_bar): Test only update_mode_lines; |
2075 | don't test or alter w->update_mode_line. | |
3ce081f5 | 2076 | |
77d1daf2 | 2077 | * window.c (Fdisplay_buffer): Doc fix. |
66458f32 | 2078 | |
77d1daf2 | 2079 | 2002-03-24 Richard M. Stallman <rms@gnu.org> |
66458f32 | 2080 | |
77d1daf2 | 2081 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. |
66458f32 | 2082 | |
77d1daf2 | 2083 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> |
59a86c99 | 2084 | |
77d1daf2 AS |
2085 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. |
2086 | (Fdefmacro): Handle `(declare ...)'. | |
2087 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
2088 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
59a86c99 | 2089 | |
77d1daf2 | 2090 | 2002-03-24 Jason Rumney <jasonr@gnu.org> |
eb77a5f4 | 2091 | |
77d1daf2 AS |
2092 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) |
2093 | (xbm_file_p): Add prototypes. | |
2094 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
2095 | (reflect_byte): New function. | |
2096 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
2097 | (xbm_load_image): Create bitmaps with a depth of 1. | |
2098 | (init_xfns): Enable XBM images. | |
eb77a5f4 | 2099 | |
77d1daf2 | 2100 | 2002-03-23 Jason Rumney <jasonr@gnu.org> |
eb77a5f4 | 2101 | |
77d1daf2 AS |
2102 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events |
2103 | correctly. Do not pass up_modifier to keyboard buffer. | |
eb77a5f4 | 2104 | |
77d1daf2 | 2105 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. |
bb313871 | 2106 | |
77d1daf2 | 2107 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> |
bb313871 | 2108 | |
77d1daf2 AS |
2109 | * Makefile.in (bootstrapclean): New target. |
2110 | (bootstrap-temacs, bootstrap-doc): Remove. | |
2111 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
2112 | Don't bother to build a DOC file. | |
55b43a63 | 2113 | |
77d1daf2 | 2114 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. |
6052529b | 2115 | |
77d1daf2 AS |
2116 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup |
2117 | in temacs even if !CANNOT_DUMP. | |
2118 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
3ce081f5 | 2119 | |
77d1daf2 | 2120 | * alloc.c (check_pure_size): Only output a warning. |
3ce081f5 | 2121 | |
77d1daf2 | 2122 | 2002-03-22 Jason Rumney <jasonr@gnu.org> |
3ce081f5 | 2123 | |
77d1daf2 AS |
2124 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are |
2125 | supported. | |
3ce081f5 | 2126 | |
77d1daf2 AS |
2127 | * w32term.c (zv_bits): Declare as short, for word alignment. |
2128 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
2129 | (syms_of_w32term): Define x-use-underline-position-properties. | |
55b43a63 | 2130 | |
77d1daf2 AS |
2131 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. |
2132 | (clear_image_cache): Block input, fix logic, clear matrices in | |
2133 | all frames that share this cache. | |
111ed14e | 2134 | |
77d1daf2 | 2135 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> |
9fabb2f5 | 2136 | |
77d1daf2 AS |
2137 | * emacs.c (main): Update the Copyright year in the blurb printed |
2138 | by "emacs --version". | |
9fabb2f5 | 2139 | |
77d1daf2 | 2140 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. |
9fabb2f5 | 2141 | |
77d1daf2 AS |
2142 | * xterm.c (XTread_socket): If XK_ISO_Lock and |
2143 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
2144 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
111ed14e | 2145 | |
77d1daf2 | 2146 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
2fa0eedf | 2147 | |
77d1daf2 AS |
2148 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so |
2149 | menu-bar bindings in keymap and local-map properties _are_ used. | |
2150 | But try keymap property first in accordance with 2002-01-03 patch. | |
2151 | Added comment describing why this is not always reliable. | |
2152 | (tool_bar_items): Ditto for tool-bar. | |
d1420435 | 2153 | |
77d1daf2 | 2154 | 2002-03-21 Jason Rumney <jasonr@gnu.org> |
2fa0eedf | 2155 | |
77d1daf2 | 2156 | * w32fns.c (x_clear_image_1): Disable color table code. |
ebcbef4e | 2157 | |
77d1daf2 | 2158 | 2002-03-21 Kim F. Storm <storm@cua.dk> |
5c131048 | 2159 | |
77d1daf2 AS |
2160 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch |
2161 | removed the wrong version of the DEFUN macro; fixed it. | |
5c131048 | 2162 | |
77d1daf2 AS |
2163 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using |
2164 | Fmember rather than Fmemq). | |
2165 | (Fprovide): Check that subfeatures is a list. | |
5c131048 | 2166 | |
77d1daf2 AS |
2167 | * process.c (QCfeature, QCdatagram): Removed variables. |
2168 | (QCtype, Qdatagram): New variables. | |
2169 | (network_process_featurep): Removed function. | |
2170 | (Fmake_network_process): Removed :feature check. | |
2171 | Use :type 'datagram instead of :datagram t to create a datagram | |
2172 | socket. This allows us to add other connection types (e.g. raw | |
2173 | sockets) later in a consistent manner. | |
2174 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
2175 | supported subfeatures for feature make-network-process. | |
2176 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
2177 | Intern and staticpro QCtype and Qdatagram. | |
2178 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
96d276c3 | 2179 | |
77d1daf2 AS |
2180 | * xfns.c: (QCtype): Remove duplicate declaration and |
2181 | initialization (is now declared in process.c). | |
6108b49c | 2182 | |
77d1daf2 AS |
2183 | * w32fns.c: (QCtype): Remove duplicate declaration and |
2184 | initialization (is now declared in process.c). | |
96d276c3 | 2185 | |
77d1daf2 | 2186 | 2002-03-21 Richard M. Stallman <rms@gnu.org> |
5eea19a4 | 2187 | |
77d1daf2 AS |
2188 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. |
2189 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
2190 | when jumping to `fail' to avoid undoing reg changes in the | |
2191 | last iteration of the loop. | |
2192 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
5eea19a4 | 2193 | |
77d1daf2 AS |
2194 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): |
2195 | Depend on process.h. | |
5eea19a4 | 2196 | |
77d1daf2 | 2197 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
5eea19a4 | 2198 | |
77d1daf2 AS |
2199 | Most of the following changes are still conditional on HAVE_IMAGES |
2200 | which is not set by default on Windows. | |
438e57dd | 2201 | |
77d1daf2 | 2202 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. |
438e57dd | 2203 | |
77d1daf2 AS |
2204 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. |
2205 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
2206 | (four_corners_best, x_clear_image_1, x_clear_image) | |
2207 | (x_alloc_image_color, postprocess_image) | |
2208 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
2209 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
2210 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
c88e5347 | 2211 | |
77d1daf2 | 2212 | * w32gui.h (struct XImage): Define. |
c88e5347 | 2213 | |
77d1daf2 AS |
2214 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to |
2215 | extract mouse co-ordinates. | |
59ce1461 | 2216 | |
77d1daf2 | 2217 | 2002-03-20 Jason Rumney <jasonr@gnu.org> |
59ce1461 | 2218 | |
77d1daf2 AS |
2219 | * w32.c (init_winsock): Dynamically load new server and UDP |
2220 | socket functions. | |
2221 | (socket_to_fd): New function. | |
2222 | (sys_socket): Use it. | |
2223 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
2224 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
59ce1461 | 2225 | |
77d1daf2 AS |
2226 | * process.c (QCfamily, QCfilter): Remove duplicate declaration |
2227 | and initialization. | |
8727d588 | 2228 | |
77d1daf2 | 2229 | * makefile.w32-in (LIBS): Remove $(WSOCK32). |
8727d588 | 2230 | |
77d1daf2 | 2231 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 2232 | |
77d1daf2 AS |
2233 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): |
2234 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
2235 | machines. | |
cc63037e | 2236 | |
77d1daf2 | 2237 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 2238 | |
77d1daf2 | 2239 | * bytecode.c (Fbyte_code): Revert last change. |
cc63037e | 2240 | |
77d1daf2 | 2241 | 2002-03-19 Kim F. Storm <storm@cua.dk> |
cc63037e | 2242 | |
77d1daf2 AS |
2243 | * makefile.w32-in (LIBS): Add $(WSOCK32). |
2244 | From David Ponce <dponce@voila.fr>. | |
deece6f5 | 2245 | |
77d1daf2 | 2246 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
deece6f5 | 2247 | |
77d1daf2 AS |
2248 | * process.c (wait_reading_process_input): Move variables `pname' |
2249 | and `pnamelen' down where they are used. | |
1b944d9c | 2250 | |
77d1daf2 AS |
2251 | * bytecode.c (Fbyte_code): Discard unused computed value to |
2252 | prevent gcc warning. | |
28ff4293 | 2253 | |
77d1daf2 | 2254 | * lisp.h (Fplist_member): Add prototype. |
a395ef6a | 2255 | |
77d1daf2 | 2256 | 2002-03-18 Kim F. Storm <storm@cua.dk> |
a395ef6a | 2257 | |
77d1daf2 AS |
2258 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, |
2259 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
9b46de40 | 2260 | |
77d1daf2 AS |
2261 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. |
2262 | Remove explicit GNU_LINUX settings for datagram support. | |
9b46de40 | 2263 | |
77d1daf2 | 2264 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9b46de40 | 2265 | |
77d1daf2 AS |
2266 | * process.c (Fmake_network_process): Remove unused variable `sa'. |
2267 | Doc fix. Add usage:. | |
2268 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
aff37336 | 2269 | |
77d1daf2 | 2270 | 2002-03-17 Richard M. Stallman <rms@gnu.org> |
aff37336 | 2271 | |
77d1daf2 AS |
2272 | * xdisp.c (cursor_type_changed): New variable. |
2273 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
2274 | Clear it when clearing windows_or_buffers_changed. | |
2275 | (try_cursor_movement, redisplay_window, try_window_id) | |
2276 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
2277 | along with windows_or_buffers_changed. | |
b9937f07 | 2278 | |
77d1daf2 | 2279 | * window.h (cursor_type_changed): New variable. |
b9937f07 | 2280 | |
77d1daf2 AS |
2281 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, |
2282 | not update_mode_lines, and always set it to 1. | |
2cd23960 | 2283 | |
77d1daf2 AS |
2284 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed |
2285 | if no frames needed redrawing. | |
2cd23960 | 2286 | |
77d1daf2 | 2287 | 2002-03-17 Kim F. Storm <storm@cua.dk> |
2cd23960 | 2288 | |
77d1daf2 AS |
2289 | The following changes add support for network server processes, |
2290 | datagram connections, and local (unix) sockets. | |
2cd23960 | 2291 | |
77d1daf2 AS |
2292 | * process.h (struct Lisp_Process): New member log. |
2293 | Doc fix: Member command used to indicate stopped network process. | |
2294 | Doc fix: Member childp contains plist for network process. | |
2295 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
a4184c1c | 2296 | |
77d1daf2 AS |
2297 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) |
2298 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery,QCstop) | |
2299 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): | |
2300 | New variables. | |
2301 | (NETCONN1_P): New macro. | |
2302 | (DATAGRAM_SOCKETS): New conditional symbol. | |
2303 | (datagram_address): New array. | |
2304 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
2305 | (status_message): Use concat3. | |
2306 | (Fprocess_status): Add `listen' status to doc string. Return `stop' | |
2307 | for a stopped network process. | |
2308 | (Fset_process_buffer): Update contact plist for network process. | |
2309 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
2310 | network processes. Server must listen, even if filter is t. | |
2311 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
2312 | New functions. | |
2313 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
2314 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
2315 | (list_processes_1): Optionally show only processes with the query | |
2316 | on exit flag set. Dynamically adjust column widths. Omit tty | |
2317 | column if not needed. Report stopped network processes. | |
2318 | Identify server and datagram network processes. | |
2319 | (Flist_processes): New optional arg `query-only'. | |
2320 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
2321 | (conv_lisp_to_sockaddr, set_socket_options) | |
2322 | (network_process_featurep, unwind_request_sigio): New helper functions. | |
2323 | (Fprocess_datagram_address, Fset_process_datagram_address): | |
2324 | (Fset_network_process_options): New lisp functions. | |
2325 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
2326 | (Fmake_network_process): New lisp function. Code is based on previous | |
2327 | Fopen_network_stream, but heavily reworked with new property list based | |
2328 | argument list, support for datagrams, server processes, and local | |
2329 | sockets in addition to old client-only functionality. | |
2330 | (server_accept_connection): New function. | |
2331 | (wait_reading_process_input): Use it to handle incoming connects. | |
2332 | Do not enable input on a new connection if process is stopped. | |
2333 | (read_process_output): Handle datagram sockets. Use 2k buffer for them. | |
2334 | (send_process): Handle datagram sockets. | |
2335 | (Fstop_process, Fcontinue_process): Apply to network processes. A stopped | |
2336 | network process is indicated by setting command field to t . | |
2337 | (Fprocess_send_eof): No-op if datagram connection. | |
2338 | (Fstatus_notify): Don't read input for a stream server socket or a | |
2339 | stopped network process. | |
2340 | (init_process): Initialize datagram_address array. | |
2341 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
2342 | functions. | |
a4184c1c | 2343 | |
77d1daf2 | 2344 | 2002-03-16 Jason Rumney <jasonr@gnu.org> |
f6fa0866 | 2345 | |
77d1daf2 AS |
2346 | * w32fns.c (w32_to_all_x_charsets): Return correct type in |
2347 | startup case. | |
f6fa0866 | 2348 | |
77d1daf2 | 2349 | 2002-03-16 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 2350 | |
77d1daf2 AS |
2351 | * xdisp.c (redisplay_internal, redisplay_windows): |
2352 | Use list_of_error to call internal_condition_case_1. | |
2353 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
2354 | so as to catch all errors with no possibility of debugger redisplay. | |
2355 | (list_of_error): New variable. | |
2356 | (syms_of_xdisp): Init and staticpro it. | |
f4ca4b00 | 2357 | |
77d1daf2 | 2358 | * print.c (print_object): Delete `\ ' from printed rep of frame. |
f4e25f94 | 2359 | |
77d1daf2 | 2360 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> |
f4e25f94 | 2361 | |
77d1daf2 AS |
2362 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, |
2363 | until its implementation is fixed. | |
91c153e2 | 2364 | |
77d1daf2 | 2365 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
91c153e2 | 2366 | |
77d1daf2 | 2367 | * xfns.c (png_load): Remove unused variable `gamma_str'. |
65b7d3e7 | 2368 | |
77d1daf2 | 2369 | 2002-03-14 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 2370 | |
77d1daf2 | 2371 | * xfns.c (x_real_positions): Handle failure in XQueryTree. |
6b5f6311 | 2372 | |
77d1daf2 | 2373 | 2002-03-14 Miles Bader <miles@gnu.org> |
6b5f6311 | 2374 | |
77d1daf2 AS |
2375 | * intervals.c (adjust_for_invis_intang): New function. |
2376 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
2377 | work for dealing with invisible+intangible regions. Do so before | |
2378 | and after both forward and backward movements, to handle both | |
2379 | front-sticky and rear-sticky cases. | |
2380 | * textprop.c (text_property_stickiness): Function moved here from | |
2381 | `editfns.c'. | |
2382 | * intervals.h (text_property_stickiness): New declaration. | |
2383 | * editfns.c (char_property_eq): Function removed. | |
2384 | (text_property_stickiness): Function moved to `textprop.c'. | |
be676094 | 2385 | |
77d1daf2 | 2386 | 2002-03-13 Jason Rumney <jasonr@gnu.org> |
be676094 | 2387 | |
77d1daf2 | 2388 | * config.in: Add STRFTIME_NO_POSIX2. |
032a857d | 2389 | |
77d1daf2 AS |
2390 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX |
2391 | and %OX when underlying strftime does not. | |
032a857d | 2392 | |
77d1daf2 | 2393 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> |
032a857d | 2394 | |
77d1daf2 AS |
2395 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: |
2396 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
2397 | line) to avoid annoying flicker. | |
2398 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
2399 | (XTread_socket): Mark it static. | |
032a857d | 2400 | |
77d1daf2 | 2401 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. |
b6270150 | 2402 | |
77d1daf2 | 2403 | 2002-03-13 Kim F. Storm <storm@cua.dk> |
b6270150 | 2404 | |
77d1daf2 | 2405 | * puresize.h (BASE_PURESIZE): Increase to 775000. |
792e5cbd | 2406 | |
77d1daf2 | 2407 | 2002-03-12 Juanma Barranquero <lektu@terra.es> |
98cbb9fa | 2408 | |
77d1daf2 | 2409 | * editfns.c (syms_of_editfns): Fix typo. |
98cbb9fa | 2410 | |
77d1daf2 | 2411 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> |
98cbb9fa | 2412 | |
77d1daf2 AS |
2413 | * xsmfns.c: Include stdio.h because termhooks.h needs it. |
2414 | Include termopt.h for interrupt_input. | |
98cbb9fa | 2415 | |
77d1daf2 | 2416 | 2002-03-11 Andreas Schwab <schwab@suse.de> |
792e5cbd | 2417 | |
77d1daf2 | 2418 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. |
fa336b91 | 2419 | |
77d1daf2 | 2420 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> |
fa336b91 | 2421 | |
77d1daf2 AS |
2422 | * xterm.c (note_mouse_movement): Put code for |
2423 | x_autoselect_window_p in #if 0. | |
fa336b91 | 2424 | |
77d1daf2 AS |
2425 | * lread.c (Fload): Don't assume that message_with_string uses the |
2426 | string it is given like a C string. | |
077907d4 | 2427 | |
77d1daf2 | 2428 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
aa2af83a | 2429 | |
77d1daf2 | 2430 | * xterm.h (x_session_check_input, x_sess |
077907d4 | 2431 | |
77d1daf2 AS |
2432 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
2433 | New variables. | |
2434 | (syms_of_xdisp): DEVFAR them. | |
2435 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
2436 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
1756e2fb | 2437 | |
77d1daf2 | 2438 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 2439 | |
77d1daf2 AS |
2440 | * xterm.c (x-autoselect-window): New variable. |
2441 | (note_mouse_movement): Use it. | |
06e8f738 | 2442 | |
77d1daf2 | 2443 | * keyboard.c: Do not include "systime.h" twice. |
06e8f738 | 2444 | |
77d1daf2 | 2445 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
fa336b91 | 2446 | |
77d1daf2 | 2447 | * puresize.h (BASE_PURESIZE): Increase to 9/5. |
fa336b91 | 2448 | |
77d1daf2 | 2449 | * alloc.c (NSTATICS): Increase to 1280. |
fa336b91 | 2450 | |
77d1daf2 | 2451 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
fa336b91 | 2452 | |
77d1daf2 | 2453 | * alloc.c (NSTATICS): Bump to 1026. |
fa336b91 | 2454 | |
77d1daf2 AS |
2455 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
2456 | (Vx_super_keysym): New variables. | |
2457 | (syms_of_xterm): DEFVAR_LISP them. | |
2458 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
2459 | variables to determine which keys to use for the various modifiers. | |
fa336b91 | 2460 | |
77d1daf2 | 2461 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fa336b91 | 2462 | |
77d1daf2 AS |
2463 | * window.c: (Vmode_line_in_non_selected_windows): Removed. |
2464 | (mode_line_in_non_selected_windows): New variable. | |
2465 | (syms_of_window): DEFVAR_BOOL it. | |
fa336b91 | 2466 | |
77d1daf2 AS |
2467 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
2468 | Use mode_line_in_non_selected_windows. | |
2469 | (mode_line_in_non_selected_windows): Declare extern. | |
2470 | (Vmode_line_in_non_selected_windows): Removed extern. | |
fa336b91 | 2471 | |
77d1daf2 | 2472 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
fa336b91 | 2473 | |
77d1daf2 AS |
2474 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
2475 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
2476 | (Fclear_this_command_keys): Doc fixes. | |
fa336b91 | 2477 | |
77d1daf2 AS |
2478 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
2479 | (update_face_from_frame_parameter): Increment face_change_count | |
2480 | and windows_or_buffers_changed to force redisplay using changed faces. | |
fa336b91 | 2481 | |
77d1daf2 AS |
2482 | * xdisp.c (QCpropertize): New variable. |
2483 | (mode_line_proptrans_alist): New variable. | |
2484 | (display_mode_element): New arg PROPS; all calls changed. | |
2485 | Implement this, for strings. | |
2486 | Handle literal output of strings by sharing the | |
2487 | main-line code for strings, using local var `literal'. | |
2488 | Handle :propertize feature. | |
2489 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
2490 | mode_line_proptrans_alist. | |
06e8f738 | 2491 | |
77d1daf2 | 2492 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
06e8f738 | 2493 | |
77d1daf2 AS |
2494 | * window.c: (Vmode_line_in_non_selected_windows): New variable. |
2495 | (syms_of_window): DEFVAR_LISP it. | |
9ce647f4 | 2496 | |
77d1daf2 AS |
2497 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
2498 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
2499 | (Vmode_line_in_non_selected_windows): Declare extern. | |
9ce647f4 | 2500 | |
77d1daf2 AS |
2501 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
2502 | to get mode line face. | |
9b784ab8 | 2503 | |
77d1daf2 | 2504 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
9f7e52b4 | 2505 | |
77d1daf2 AS |
2506 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
2507 | variables; cus-start.el doesn't need them anymore. | |
9f7e52b4 | 2508 | |
77d1daf2 | 2509 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
9f7e52b4 | 2510 | |
77d1daf2 AS |
2511 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
2512 | reduction. This fixes a display problem where stray newlines were | |
2513 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
fa336b91 | 2514 | |
77d1daf2 | 2515 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
34e5d0af | 2516 | |
77d1daf2 | 2517 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
9b784ab8 | 2518 | |
77d1daf2 | 2519 | * xdisp.c (display_mode_lines): Fix last change. |
89512fcd | 2520 | |
77d1daf2 | 2521 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
89512fcd | 2522 | |
77d1daf2 AS |
2523 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
2524 | match each other. | |
2525 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
2526 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
7d18891d | 2527 | |
77d1daf2 | 2528 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d2936d21 | 2529 | |
77d1daf2 AS |
2530 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
2531 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
2532 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
7d18891d | 2533 | |
77d1daf2 AS |
2534 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
2535 | (pos_visible_p, handle_face_prop): Likewise. | |
2536 | (display_mode_lines): Likewise, but for the real selected window. | |
2537 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
7d18891d | 2538 | |
77d1daf2 AS |
2539 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
2540 | in non-selected windows. | |
2541 | (realize_basic_faces): Realize it. | |
2542 | (syms_of_term): Intern and staticpro it. | |
7d18891d | 2543 | |
77d1daf2 | 2544 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
7d18891d | 2545 | |
77d1daf2 AS |
2546 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
2547 | Changed mail addresses to emacs-devel@gnu.org. | |
7d18891d | 2548 | |
77d1daf2 | 2549 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
7d18891d | 2550 | |
77d1daf2 AS |
2551 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
2552 | ~user, and there's no such user, don't discard everything before ~user. | |
7d18891d | 2553 | |
77d1daf2 | 2554 | * floatfns.c (Fround): Doc fix. |
7d18891d | 2555 | |
77d1daf2 | 2556 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7d18891d | 2557 | |
77d1daf2 | 2558 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
7d18891d | 2559 | |
77d1daf2 | 2560 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
7d18891d | 2561 | |
77d1daf2 | 2562 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
7d18891d | 2563 | |
77d1daf2 | 2564 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
7d18891d | 2565 | |
77d1daf2 AS |
2566 | * keymap.c (where_is_internal): Only check whether definition is |
2567 | remapped if it fulfills is_command_symbol. | |
9474c847 | 2568 | |
77d1daf2 | 2569 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
9474c847 | 2570 | |
77d1daf2 | 2571 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
e3059a5d | 2572 | |
77d1daf2 | 2573 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
e3059a5d | 2574 | |
77d1daf2 | 2575 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
e3059a5d | 2576 | |
77d1daf2 AS |
2577 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
2578 | defining command remapping. Doc updated. | |
2579 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
2580 | (is_command_symbol): New function. | |
2581 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
2582 | Doc updated. Callers changed. Perform command remapping via | |
2583 | recursive call unless that arg is non-nil. | |
2584 | (where_is_internal): New argument no_remap. Callers changed. | |
2585 | Call recursively to find original key bindings for a remapped | |
2586 | comand unless that arg is non-nil. | |
2587 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
2588 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
b3700ae7 | 2589 | |
77d1daf2 AS |
2590 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
2591 | (is_command_symbol): Added prototype. | |
b3700ae7 | 2592 | |
77d1daf2 AS |
2593 | * keyboard.c (Vthis_original_command): New variable. |
2594 | (syms_of_keyboard): DEFVAR_LISP it. | |
2595 | (command_loop_1): Set it, and perform command remapping. | |
eae936e2 | 2596 | |
77d1daf2 | 2597 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4bb962be | 2598 | |
77d1daf2 | 2599 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
ddb67bdc | 2600 | |
77d1daf2 | 2601 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
3467c402 | 2602 | |
77d1daf2 | 2603 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
3467c402 | 2604 | |
77d1daf2 | 2605 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
6e1b91d7 | 2606 | |
77d1daf2 | 2607 | * charset.c (get_charset_id): Use if-else instead of ?:. |
1c1d3d69 | 2608 | |
77d1daf2 | 2609 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
1c1d3d69 | 2610 | |
77d1daf2 | 2611 | * filelock.c (S_ISLNK): Define if not defined. |
b6f4c7ba | 2612 | |
77d1daf2 | 2613 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 2614 | |
77d1daf2 | 2615 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
b6f4c7ba | 2616 | |
77d1daf2 AS |
2617 | * lread.c (read1): Redesign strategy for force_multibyte and |
2618 | force_singlebyte. Now is_multibyte records whether read_buffer | |
2619 | is multibyte. Encountering any multibyte character makes it so. | |
a89f435d | 2620 | |
77d1daf2 | 2621 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
a89f435d | 2622 | |
77d1daf2 AS |
2623 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
2624 | with the same sequence, map that sequence to f10 rather than f0. | |
a4cd0cd7 | 2625 | |
77d1daf2 | 2626 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
eafb659a | 2627 | |
77d1daf2 AS |
2628 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
2629 | latter never being defined on GNU/Linux. | |
eafb659a | 2630 | |
77d1daf2 | 2631 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
a4cd0cd7 | 2632 | |
77d1daf2 AS |
2633 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
2634 | the default face to Qnormal, unless these attributes are unspecified. | |
a4cd0cd7 | 2635 | |
77d1daf2 | 2636 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a4cd0cd7 | 2637 | |
77d1daf2 AS |
2638 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
2639 | Call cancel_hourglass unconditionally. | |
a4cd0cd7 | 2640 | |
77d1daf2 AS |
2641 | * eval.c (Fsignal): Remove duplicated declaration of |
2642 | the variable `display_hourglass_p'. | |
a4cd0cd7 | 2643 | |
77d1daf2 | 2644 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
91823618 | 2645 | |
77d1daf2 | 2646 | * editfns.c (region_limit): Nicer error message. |
91823618 | 2647 | |
77d1daf2 AS |
2648 | * coding.c (decode_composition_emacs_mule): |
2649 | Give up if NCOMPONENT gets too large to index `component'. | |
86928dfb | 2650 | |
77d1daf2 AS |
2651 | * callint.c (check_mark): New arg to specify clearer error message. |
2652 | Callers changed. | |
86928dfb | 2653 | |
77d1daf2 | 2654 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
40ef1eda | 2655 | |
77d1daf2 | 2656 | * minibuf.c (Fcompleting_read): Doc fix. |
ab8469eb | 2657 | |
77d1daf2 | 2658 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a78e0303 | 2659 | |
77d1daf2 AS |
2660 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
2661 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
2662 | Fix doc-strings. | |
40ef1eda | 2663 | |
77d1daf2 | 2664 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
fabf4a91 | 2665 | |
77d1daf2 | 2666 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
0c99b139 | 2667 | |
77d1daf2 AS |
2668 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
2669 | and scroll_up_aggressively. | |
0c99b139 | 2670 | |
77d1daf2 | 2671 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
830ddd77 | 2672 | |
77d1daf2 | 2673 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
830ddd77 | 2674 | |
77d1daf2 | 2675 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
55c6d645 | 2676 | |
77d1daf2 AS |
2677 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
2678 | (Fprevious_property_change, Fprevious_single_property_change): | |
2679 | Stay within the narrowed-buffer boundaries. | |
55c6d645 | 2680 | |
77d1daf2 | 2681 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
5de38842 | 2682 | |
77d1daf2 AS |
2683 | * term.c (Ftty_display_color_cells): New function. |
2684 | (syms_of_term): Defsubr it. | |
2685 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
2686 | argument name to DISPLAY. Doc fix. | |
7a4564a4 | 2687 | |
77d1daf2 AS |
2688 | * dispextern.h: Add prototype for set_tty_color_mode and |
2689 | tty_setup_colors. | |
5de38842 | 2690 | |
77d1daf2 | 2691 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
4fa23df5 | 2692 | |
77d1daf2 AS |
2693 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
2694 | If region left to draw is not what was expected, mark the frame as | |
2695 | garbaged. | |
4fa23df5 | 2696 | |
77d1daf2 AS |
2697 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
2698 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
7a6a97d7 | 2699 | |
77d1daf2 | 2700 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
c191d13c | 2701 | |
77d1daf2 AS |
2702 | * w32term.c (x_update_window_begin): Only hide caret if |
2703 | w32_use_visible_system_caret is set. | |
2704 | (x_update_window_end): Only show caret if | |
2705 | w32_use_visible_system_caret is set. | |
2706 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
7a6a97d7 | 2707 | |
77d1daf2 | 2708 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
44dc78e0 | 2709 | |
77d1daf2 | 2710 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
44dc78e0 | 2711 | |
77d1daf2 AS |
2712 | * unexelf.c (unexec): Define n so as to cause compilation error |
2713 | for the code where people have often written n instead of nn. | |
17893c65 | 2714 | |
77d1daf2 | 2715 | * .gdbinit (hookpost-run): Defined. |
4d994a79 | 2716 | |
77d1daf2 | 2717 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
d5360cc7 | 2718 | |
77d1daf2 | 2719 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
d5360cc7 | 2720 | |
77d1daf2 | 2721 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
d5360cc7 | 2722 | |
77d1daf2 AS |
2723 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
2724 | if fullscreen is being set. | |
96238a5a | 2725 | |
77d1daf2 | 2726 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
96238a5a | 2727 | |
77d1daf2 AS |
2728 | * minibuf.c (Fminibuffer_contents) |
2729 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
2730 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
d9d54213 | 2731 | |
77d1daf2 | 2732 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
d9d54213 | 2733 | |
77d1daf2 | 2734 | * window.c (check_frame_size): Fix minimum height calculation. |
b116830b | 2735 | |
77d1daf2 | 2736 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
b116830b | 2737 | |
77d1daf2 AS |
2738 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
2739 | height before comparison. | |
2740 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
3297e2a1 | 2741 | |
77d1daf2 | 2742 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
3297e2a1 | 2743 | |
77d1daf2 AS |
2744 | * w32term.c (w32_system_caret_width): Remove. |
2745 | (w32_use_visible_system_caret): New user flag. | |
2746 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
2747 | Windows reports a screen reader running. | |
2748 | (x_update_window_begin): Hide the system caret. | |
2749 | (x_update_window_end): Show the system caret. | |
2750 | (x_display_and_set_cursor): Don't draw a cursor when | |
2751 | w32_use_visible_system_caret is set. Do not adjust width. | |
6fb8339c | 2752 | |
77d1daf2 AS |
2753 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
2754 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
2755 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
2756 | the user requests it. Use system default width when creating. | |
2757 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
6fb8339c | 2758 | |
77d1daf2 AS |
2759 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
2760 | New window messages. | |
7dd73b78 | 2761 | |
77d1daf2 | 2762 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
7dd73b78 | 2763 | |
77d1daf2 | 2764 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
982f6c7e | 2765 | |
77d1daf2 | 2766 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 2767 | |
77d1daf2 | 2768 | * doprnt.c (doprnt1): Fix typos in error call. |
d31053f9 | 2769 | |
77d1daf2 | 2770 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
d31053f9 | 2771 | |
77d1daf2 | 2772 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
d31053f9 | 2773 | |
77d1daf2 | 2774 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
d31053f9 | 2775 | |
77d1daf2 AS |
2776 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
2777 | that Windows returns. If a double check fails, try to guess how | |
2778 | ExtTextOut is going to act. | |
982f6c7e | 2779 | |
77d1daf2 AS |
2780 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
2781 | in place of stricmp. | |
2782 | (w32_list_synthesized_fonts): Removed. | |
2783 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
2784 | (struct enumfont_t): New element; list. | |
2785 | (enum_font_cb2): List all style and charset variations of a font. | |
2786 | (Fw32_select_font): New optional argument; include_proportional. | |
2787 | Exclude vertical fonts. Exclude proportional fonts unless | |
2788 | include_proportional is non-nil. | |
2789 | (w32_enable_synthesized_fonts): Change to a boolean. | |
2790 | (Fw32_send_sys_command): Doc fix. | |
830047fd | 2791 | |
77d1daf2 | 2792 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b116830b | 2793 | |
77d1daf2 AS |
2794 | * dispnew.c (update_frame): Move the variable `tem' to the block |
2795 | where it is used. | |
830047fd | 2796 | |
77d1daf2 | 2797 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
b116830b | 2798 | |
77d1daf2 AS |
2799 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
2800 | call to face-set-after-frame-default. | |
2df5238c | 2801 | |
77d1daf2 | 2802 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
4e397688 | 2803 | |
77d1daf2 AS |
2804 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
2805 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
48b0f3ae | 2806 | |
77d1daf2 | 2807 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
2df5238c | 2808 | |
77d1daf2 AS |
2809 | * window.c (enlarge_window): When exceeding size of parent, |
2810 | directly delete all the siblings instead of trying to resize it. | |
3ecaf7e5 | 2811 | |
77d1daf2 | 2812 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3ecaf7e5 | 2813 | |
77d1daf2 | 2814 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
3ecaf7e5 | 2815 | |
77d1daf2 | 2816 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
3ecaf7e5 | 2817 | |
77d1daf2 | 2818 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
8db2e33b | 2819 | |
77d1daf2 | 2820 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
8db2e33b | 2821 | |
77d1daf2 AS |
2822 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
2823 | is invisible. This can happen if cursor is on top line of a | |
2824 | window, and we switch to a buffer with a header line. | |
aed29b97 | 2825 | |
77d1daf2 | 2826 | * w32term.c (x_erase_phys_cursor): Ditto. |
aed29b97 | 2827 | |
77d1daf2 | 2828 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
aed29b97 | 2829 | |
77d1daf2 AS |
2830 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
2831 | `dont_resize' only when used. | |
6cb16f95 | 2832 | |
77d1daf2 | 2833 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
1b1acc13 | 2834 | |
77d1daf2 | 2835 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
020f9b38 | 2836 | |
77d1daf2 AS |
2837 | * xdisp.c (display_mode_element): When computing charpos, depend |
2838 | on multibyteness of elt, not the text in field. | |
020f9b38 | 2839 | |
77d1daf2 | 2840 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6cb16f95 | 2841 | |
77d1daf2 AS |
2842 | * buffer.c (Fkill_all_local_variables): |
2843 | Increment `update_mode_lines' only once. | |
6cb16f95 | 2844 | |
77d1daf2 | 2845 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
6cb16f95 | 2846 | |
77d1daf2 AS |
2847 | * lisp.h (adjust_after_replace_noundo) |
2848 | (Fupdate_coding_systems_internal): Add prototypes. | |
6cb16f95 | 2849 | |
77d1daf2 | 2850 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
7e9d3c2f | 2851 | |
77d1daf2 | 2852 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
7e9d3c2f | 2853 | |
77d1daf2 AS |
2854 | Support for the --color command-line argument and tty-color-mode |
2855 | frame parameter: | |
7e9d3c2f | 2856 | |
77d1daf2 AS |
2857 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
2858 | (set_tty_color_mode): New functions. | |
2859 | (term_init): Call tty_default_color_capabilities. | |
2860 | (Qtty_color_mode_alist): New variable. | |
2861 | (syms_of_term): Intern and staticpro it. | |
e6bff182 | 2862 | |
77d1daf2 AS |
2863 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
2864 | frames. | |
2865 | (do_switch_frame): For termcap frames, switch the tty | |
2866 | color mode as specified by the frame's parameters. | |
2867 | (Qtty_color_mode): New variable. | |
2868 | (syms_of_frame): Intern and staticpro it. | |
e6bff182 | 2869 | |
77d1daf2 AS |
2870 | * emacs.c (USAGE2): Add the --color option. |
2871 | (standard_args): Ditto. | |
9ba48103 | 2872 | |
77d1daf2 | 2873 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9ba48103 | 2874 | |
77d1daf2 AS |
2875 | * xterm.h (struct x_output): New members want_fullscreen, |
2876 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
2877 | y_pixels_outer_diff. | |
2878 | New enum for FULLSCREEN_* constants. | |
2879 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
2880 | is NULL. | |
2881 | (x_fullscreen_adjust): Add prototype. | |
9ba48103 | 2882 | |
77d1daf2 AS |
2883 | * emacs.c (USAGE2): Add the new full-screen arguments. |
2884 | (standard_args): Ditto. | |
9ba48103 | 2885 | |
77d1daf2 AS |
2886 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
2887 | New variables. | |
2888 | (syms_of_xfns): Intern and staticpro them. | |
2889 | (x_frame_parms) <"fullscreen">: New parameter. | |
2890 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
2891 | (x_set_frame_parameters): Support for Qfullscreen. | |
2892 | (x_real_positions): More accurate computation of the frame position. | |
2893 | (x_figure_window_size): Support full-screen frames. | |
2894 | (Fx_create_frame): Default the fullscreen parameter. | |
c22e59e1 | 2895 | |
77d1daf2 AS |
2896 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
2897 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
2898 | <ConfigureNotify>: Don't resize to fullscreen. | |
2899 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
2900 | output_data.x. | |
c22e59e1 | 2901 | |
77d1daf2 | 2902 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9271ed2c | 2903 | |
77d1daf2 AS |
2904 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
2905 | for mice with more than 3 buttons. | |
e6bff182 | 2906 | |
77d1daf2 AS |
2907 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
2908 | (w32_read_socket): Handle new "XBUTTON" messages. | |
e6bff182 | 2909 | |
77d1daf2 | 2910 | * w32fns. |
9271ed2c RS |
2911 | bindings along with or instead of the buffer local map. |
2912 | Make the overriding maps override what they should. | |
2913 | ||
f00691a3 | 2914 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
2915 | |
2916 | * window.c (grow_mini_window): Fix typo in comment. | |
2917 | ||
27188d11 GM |
2918 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
2919 | ||
7b49b9d2 GM |
2920 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
2921 | (XTset_vertical_scroll_bar): Likewise. | |
2922 | ||
43f7c3ea GM |
2923 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
2924 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 2925 | |
b350c2e5 GM |
2926 | * xfns.c (four_corners_best): Reindent. |
2927 | ||
c22e59e1 | 2928 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
2929 | Handle :box so that it is possible to specify sexprs. |
2930 | ||
bf00d461 EZ |
2931 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
2932 | ||
2933 | * s/hpux11.h: New file. | |
2934 | ||
f00691a3 | 2935 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 2936 | |
2b209b97 PJ |
2937 | * emacs.c (USAGE1): Show command line option --no-window-system |
2938 | instead of --no-windows in usage. | |
2939 | (standard_args): Rename --no-windows to --no-window-system. | |
2940 | (bug_reporting_address): Follow Emacs coding conventions. | |
2941 | ||
9dbc9081 PJ |
2942 | * eval.c (Fcommandp): Doc fix. |
2943 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
2944 | ||
4e10df59 PJ |
2945 | * frame.c (Fframe_live_p): Doc fix. |
2946 | ||
2947 | * buffer.c (selective-display-ellipses): Doc fix. | |
2948 | ||
dd387b25 GM |
2949 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
2950 | ||
fe957e65 GM |
2951 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
2952 | ||
dd387b25 GM |
2953 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
2954 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
2955 | members which have a different meaning. | |
2956 | (free_face_colors): Do nothing for a face whose colors have been | |
2957 | copied bitwise. | |
2958 | ||
c22e59e1 | 2959 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 2960 | |
f00691a3 | 2961 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 2962 | |
687784e8 PJ |
2963 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
2964 | [w/`doc:' keyword]. | |
2e1280f8 | 2965 | |
b9d9a9b9 GM |
2966 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
2967 | ||
2968 | * fns.c (require_unwind): Return Lisp_Object. | |
2969 | ||
f00691a3 | 2970 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 2971 | |
fa1361cb PJ |
2972 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
2973 | (last-input-char): Revert doc-string to be the same as the | |
2974 | doc-string of `last-input-event'. | |
2975 | ||
6c465a15 | 2976 | * xdisp.c: Fix typos in comments. |
48400103 | 2977 | |
eafa3196 GM |
2978 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
2979 | ||
2980 | * window.c (grow_mini_window): Handle case that the root | |
2981 | window is already smaller than the nominal mininum height. | |
2982 | ||
747d3f2a SM |
2983 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
2984 | ||
bf9bb76f SM |
2985 | * emacs.c (main): Don't call keys_of_macros any more. |
2986 | ||
2987 | * lisp.h (keys_of_macros): Remove. | |
2988 | ||
2989 | * macros.c (keys_of_macros): Remove. | |
2990 | ||
747d3f2a SM |
2991 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
2992 | ||
5e905a57 JR |
2993 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
2994 | ||
2995 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
2996 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
2997 | ||
3a426197 RS |
2998 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
2999 | ||
3000 | * keyboard.c (Finput_pending_p): Doc fix. | |
3001 | ||
a742d646 GM |
3002 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
3003 | ||
259cf6bc GM |
3004 | * xterm.c (x_after_update_window_line): Don't run the code |
3005 | clearing in borders for rows whose visible height is 0. | |
3006 | ||
3f99f948 GM |
3007 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
3008 | resized_p flag is set. If not set, use the much less flickering | |
3009 | method previously used. | |
3010 | ||
3011 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
3012 | ||
3013 | * frame.h (struct frame) <resized_p>: New member. | |
3014 | ||
b4a3be43 GM |
3015 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
3016 | as large as the number of bytes to convert. | |
747d3f2a | 3017 | |
a742d646 GM |
3018 | * lread.c (to_multibyte): New function. |
3019 | (read1): Use it. | |
3020 | ||
cacbb9e9 EZ |
3021 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
3022 | ||
3023 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
3024 | ||
99cb6b2f GM |
3025 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
3026 | ||
327f42ee | 3027 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
3028 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
3029 | if the row's fill_line_p is set and drawing the last glyph with | |
3030 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 3031 | |
99cb6b2f GM |
3032 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
3033 | ||
8e8223e2 SM |
3034 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
3035 | ||
3036 | * xmenu.c: Include coding.h and charset.h. | |
3037 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
3038 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
3039 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
3040 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
3041 | (menu_help_callback): Use empty_string. | |
3042 | ||
3043 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
3044 | (Fx_popup_dialog): Explicitly init f. | |
3045 | (w32_menu_display_help): Use empty_string. | |
3046 | ||
4d083a8f RS |
3047 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
3048 | ||
b2304472 RS |
3049 | * fns.c (Frequire): Detect recursive try to require the same |
3050 | feature 3 or more levels deep, and get error. | |
3051 | (require_unwind): New subroutine. | |
3052 | (require_nesting_list): New variable. | |
3053 | (syms_of_fns): Init and staticpro it. | |
3054 | ||
4d083a8f RS |
3055 | * print.c (print_object): Clarify indication of insertion type. |
3056 | ||
2fe41216 EZ |
3057 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
3058 | ||
90480000 EZ |
3059 | * coding.c (syms_of_coding): Document that locale-coding-system is |
3060 | used for decoding input on X. | |
3061 | ||
2fe41216 EZ |
3062 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
3063 | ||
f00691a3 | 3064 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
3065 | |
3066 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
3067 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
3068 | ||
60ebcfe8 GM |
3069 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
3070 | ||
9a7bdceb GM |
3071 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
3072 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
3073 | ||
3f08fcd2 GM |
3074 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
3075 | the slant attribute if FRAME is t. | |
3076 | ||
0ccfdad2 GM |
3077 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
3078 | when X window doesn't exist yet. | |
3079 | ||
ef253080 GM |
3080 | * xterm.c (x_after_update_window_line): Clear internal border |
3081 | in different circumstances. | |
b116830b | 3082 | |
60ebcfe8 GM |
3083 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
3084 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
3085 | <handa@etl.go.jp>. | |
3086 | ||
73d25f9c EZ |
3087 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
3088 | ||
3089 | * m/ibms390.h: New file. From Adam Thornton | |
3090 | <athornton@sinenomine.net>. | |
3091 | ||
cac1daf0 GM |
3092 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
3093 | ||
053b3256 | 3094 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 3095 | |
cac1daf0 GM |
3096 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
3097 | a loop counter. | |
3098 | ||
f00691a3 | 3099 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 3100 | |
186486eb PJ |
3101 | * emacs.c: Use argv[0] instead of emacs when -t was specified. |
3102 | ||
4707d2d0 PJ |
3103 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
3104 | keyword]. | |
3105 | Fix typos in comments. | |
b116830b | 3106 | |
d883731c PJ |
3107 | * emacs.c (bug_reporting_address): New function. |
3108 | Use it when displaying usage message. | |
3109 | ||
04012254 PJ |
3110 | * minibuf.c (read_minibuf): Remove unused external declaration of |
3111 | variable `Qread_only'. | |
3112 | ||
13b1a09c PJ |
3113 | * keymap.c (access_keymap): Remove unused variable `charset'. |
3114 | ||
5bbf4378 MB |
3115 | 2001-10-28 Miles Bader <miles@gnu.org> |
3116 | ||
3117 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
3118 | Remove #ifdef'd-out code. | |
3119 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
3120 | (syms_of_xfaces): Initialize them. | |
3121 | ||
1ce1e4ee JR |
3122 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
3123 | ||
3124 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
3125 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
3126 | position using the system caret. | |
3127 | ||
3128 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
3129 | (w32_system_caret_height, w32_system_caret_x) | |
3130 | (w32_system_caret_y): New variables for tracking system caret. | |
3131 | (w32_initialize): Initialize them. | |
c2d53558 | 3132 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 3133 | |
c2d53558 SM |
3134 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
3135 | New messages types. | |
1ce1e4ee JR |
3136 | |
3137 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
3138 | ||
f00691a3 | 3139 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 3140 | |
bb4600a4 PJ |
3141 | * xterm.c: Fix typo in a comment. |
3142 | ||
7db35a48 PJ |
3143 | * emacs.c: Fix typos in comments. |
3144 | Remove unnecessary spaces. | |
3145 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
3146 | (USAGE2): Fix typos in usage string. | |
3147 | ||
a7248e4f PJ |
3148 | * xterm.c: Fix typo in a comment. |
3149 | ||
4e30ce42 PJ |
3150 | * lisp.h: (gdb_lisp_params): Remove code in #if 0 which is now in |
3151 | emacs.c. | |
3152 | ||
62725a92 GM |
3153 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
3154 | ||
798dbe1f | 3155 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 3156 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
3157 | farther backward when target_y was not reached. |
3158 | ||
62725a92 GM |
3159 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
3160 | Display errno only if non-zero. | |
3161 | (sound_warning): New function. | |
3162 | (vox_configure): Don't treat failing to set sample rate as error. | |
3163 | (various places): Improve error messages. | |
3164 | ||
d4e34d24 EZ |
3165 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
3166 | ||
944e6f60 EZ |
3167 | * fileio.c (Faccess_file): Run the argument filename through |
3168 | Fexpand_file_name, before using it. | |
3169 | ||
d4e34d24 EZ |
3170 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
3171 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
3172 | ||
38d2af0c GM |
3173 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
3174 | ||
da80a8d5 GM |
3175 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
3176 | ||
38d2af0c GM |
3177 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
3178 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 3179 | |
45de4a6f | 3180 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
3181 | |
3182 | * w32gui.h (XImage): Add a dummy typedef. | |
3183 | ||
fbd5ceb2 GM |
3184 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
3185 | ||
c2d53558 | 3186 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 3187 | |
b23236fb EZ |
3188 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
3189 | ||
3190 | * frame.c (Fframe_parameter): Fix last change. | |
3191 | ||
5d991fc4 EZ |
3192 | * fileio.c: Revert last change (which removed old commented-out |
3193 | version of expand-file-name). Add a comment that explains why | |
3194 | this old version should not be removed. | |
3195 | ||
879eadc3 GM |
3196 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
3197 | ||
75700ff2 GM |
3198 | * frame.c (Fframe_parameter): Fix a bug whereby some |
3199 | ``artificial'' frame parameters, like `minibuffer' were not | |
3200 | obtained by calling Fframe_parameters. | |
3201 | ||
dfe92a6a GM |
3202 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
3203 | cursor differently. | |
3204 | ||
879eadc3 GM |
3205 | * xdisp.c (move_it_vertically_backward): Compute line height |
3206 | differently. Add heuristic to try to be more compatible to 20.x. | |
3207 | ||
e1010ebe SM |
3208 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
3209 | ||
d73a471b SM |
3210 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
3211 | ||
d6da5a06 GM |
3212 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
3213 | boolean. | |
e1010ebe | 3214 | |
f66bd220 MB |
3215 | 2001-10-25 Miles Bader <miles@gnu.org> |
3216 | ||
3217 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
3218 | BG is a pointer to a structure, not a structure. | |
3219 | (gif_format, png_format): Add missing commas. | |
3220 | ||
d436d538 RS |
3221 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
3222 | ||
3223 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 3224 | (syms_of_xfaces): Defsubr it. |
d436d538 | 3225 | |
f00691a3 | 3226 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
3227 | |
3228 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
3229 | variable `area'. | |
3230 | ||
f00691a3 | 3231 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 3232 | |
c2d53558 | 3233 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 3234 | |
e2a57b34 MB |
3235 | 2001-10-25 Miles Bader <miles@gnu.org> |
3236 | ||
3237 | * dispextern.h (struct image): Add `background', | |
3238 | `background_valid', and `background_transparent' fields. | |
3239 | (image_background, image_background_transparent): New declarations. | |
3240 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
3241 | * xfns.c (image_background, image_background_transparent) | |
3242 | (four_corners_best): New functions. | |
c2d53558 | 3243 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
3244 | (gs_format): Add `:background' entry. |
3245 | (lookup_image): Set IMG's background color if specified. | |
3246 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
3247 | when appropriate. | |
3248 | (x_clear_image_1): Reset `background_valid' and | |
3249 | `background_transparent_valid' fields. | |
3250 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
3251 | calculating it here. Set IMG's background_transparent field. | |
3252 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
3253 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
3254 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
3255 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
3256 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
3257 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 3258 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
3259 | Pre-calculate image background color where necessary. |
3260 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
3261 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
3262 | color to use for image glyph reliefs. | |
3263 | ||
b547b6e8 GM |
3264 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
3265 | ||
d9e3b8c6 GM |
3266 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
3267 | in full-width rows. | |
c2d53558 | 3268 | |
b547b6e8 GM |
3269 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
3270 | Fix clearing of area not covered by scroll bar. | |
3271 | ||
f00691a3 | 3272 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 PJ |
3273 | |
3274 | * xterm.c: (x_insert_glyphs): Remove unused variables `real_end' | |
3275 | and `real_start'. | |
c2d53558 | 3276 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
3277 | (glyph_rect): Remove unused variable `area'. |
3278 | ||
76cb5e06 GM |
3279 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
3280 | ||
bdbdebff | 3281 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
3282 | |
3283 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
3284 | (row_containing_pos): Take additional argument DY. | |
3285 | Treat rows ending in middle of char differently. | |
62e33982 GM |
3286 | (display_line): Handle tabs on window systems differently. |
3287 | ||
3288 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
3289 | with additional argument. | |
3290 | ||
3291 | * dispextern.h (row_containing_pos): Adjust prototype. | |
3292 | ||
76cb5e06 GM |
3293 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
3294 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
3295 | (try_window_id, try_window_reusing_current_matrix) | |
3296 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 3297 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 3298 | |
f00691a3 | 3299 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 3300 | |
c9e60620 PJ |
3301 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
3302 | gnuemacs). | |
3303 | (HAVE_BOXES): Fix typo in comment. | |
3304 | (push_menu_pane): Fix typo in comment. | |
3305 | ||
3b552d56 PJ |
3306 | * xdisp.c: (display_prop_string_p): Remove unused local declaration |
3307 | of `Qwhen'. | |
3308 | (single_display_prop_string_p): Remove unused local declarations | |
3309 | of `Qwhen' and `Qmargin'. | |
3310 | (string_buffer_position): Remove unused variable `around'. | |
3311 | (store_frame_title): Remove unused variable `width'. | |
3312 | ||
15c565ac PJ |
3313 | * window.c: Don't define max. |
3314 | (coordinates_in_window): Remove unused variable `uy'. | |
3315 | ||
a8818eb9 PJ |
3316 | * widget.c: Don't define max. |
3317 | ||
996fee11 PJ |
3318 | * process.c: Don't define max. |
3319 | (create_process): Remove unused variable `buffer'. | |
3320 | ||
496e1a5b GM |
3321 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3322 | ||
c2d53558 | 3323 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 3324 | |
5905ae8b EZ |
3325 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
3326 | ||
3327 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
3328 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
3329 | frame is on a windowed display. | |
3330 | ||
24db49fb GM |
3331 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3332 | ||
c2d53558 SM |
3333 | * dispnew.c (sync_window_with_frame_matrix_rows): |
3334 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
3335 | of marginal areas. |
3336 | ||
c2d53558 | 3337 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 3338 | |
f0487f05 EZ |
3339 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
3340 | ||
3341 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
3342 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
3343 | ||
f0a48a01 GM |
3344 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3345 | ||
c2d53558 | 3346 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
3347 | REAL_END. Notice if cursor gets overwritten. |
3348 | (notice_overwritten_cursor): Take X positions as parameters. | |
3349 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
3350 | around call to x_draw_glyphs. | |
3351 | ||
f00691a3 | 3352 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 3353 | |
fc11dff0 PJ |
3354 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
3355 | instead of C) and usage. | |
a50a10a0 | 3356 | |
fc11dff0 PJ |
3357 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
3358 | of C) and usage. | |
a50a10a0 PJ |
3359 | |
3360 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
3361 | `left', `max_width' and `max_height'. | |
3362 | ||
8738febd GM |
3363 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
3364 | ||
3365 | * xdisp.c (display_line): For a tab continued to the next line, | |
3366 | set row's ends_in_middle_of_char_p. | |
3367 | ||
653c329b GM |
3368 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
3369 | ||
3370 | * xdisp.c (display_line): Fix computation of continuation lines | |
3371 | width for TABs. | |
3372 | ||
f00691a3 | 3373 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 3374 | |
7ba51063 PJ |
3375 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
3376 | `Qlaplace'. | |
3377 | ||
f958c5ac PJ |
3378 | * fileio.c: Remove unused code. |
3379 | ||
eb360291 MB |
3380 | 2001-10-22 Miles Bader <miles@gnu.org> |
3381 | ||
3382 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
3383 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
3384 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
3385 | ||
98515cf0 JR |
3386 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
3387 | ||
3388 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
3389 | ||
93026d88 EZ |
3390 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
3391 | ||
3392 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
3393 | (Finsert_string): Avoid the multi-line string literals warning. | |
3394 | ||
c9a95b79 MB |
3395 | 2001-10-22 Miles Bader <miles@gnu.org> |
3396 | ||
3397 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
3398 | (Fdocumentation): Don't use it. | |
3399 | (syms_of_doc): Don't initialize it. | |
3400 | ||
3401 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
3402 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
3403 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 3404 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 3405 | (Fsave_restriction): Likewise. |
c2d53558 SM |
3406 | * eval.c (Frun_hooks, Frun_hook_with_args) |
3407 | (Frun_hook_with_args_until_failure) | |
3408 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
3409 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
3410 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
3411 | (Funwind_protect, Fcondition_case): Likewise. |
3412 | * coding.c (Ffind_operation_coding_system): Likewise. | |
3413 | * keyboard.c (Ftrack_mouse): Likewise. | |
3414 | ||
a3b10252 MB |
3415 | 2001-10-21 Miles Bader <miles@gnu.org> |
3416 | ||
c2d53558 | 3417 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
3418 | (Fmake_hash_table): Add usage: string to doc string. |
3419 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 3420 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
3421 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
3422 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
3423 | (Fml_prefix_argument_loop): Likewise. | |
3424 | ||
f00691a3 | 3425 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 3426 | |
c2d53558 | 3427 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 3428 | |
c6f73eec PJ |
3429 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
3430 | style' [w/`doc:' keyword]. | |
3431 | ||
3432 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
3433 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
3434 | comments to `new style' [w/`doc:' keyword]. | |
3435 | ||
3cf3436e JR |
3436 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
3437 | ||
3438 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
3439 | ||
c169b8f1 JR |
3440 | * w32term.c (remember_mouse_glyph): New function. |
3441 | (w32_mouse_position): Use it. | |
3442 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
3443 | its new position. | |
c2d53558 | 3444 | |
4fdd691b JR |
3445 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
3446 | (w32_display_info): Add mouse_face_overlay. | |
3447 | ||
c169b8f1 JR |
3448 | * w32term.c (notice_overwritten_cursor): Renamed from |
3449 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
3450 | account. | |
3451 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
3452 | (fast_find_string_pos): New function. | |
3453 | (fast_find_position): Return the correct vpos. Add parameter | |
3454 | STOP. In the final row, stop before glyphs having STOP as object. | |
3455 | Don't consider glyphs that are not from a buffer. | |
3456 | (fast_find_position) [0]: Add a presumably more correct version | |
3457 | for after 21.1. | |
3458 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
3459 | (expose_window): Do it here instead. | |
3460 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
3461 | overwriting mouse-face. | |
3462 | (expose_window): If W is the window currently being updated, mark | |
3463 | the frame garbaged. | |
3464 | (expose_frame): If mouse-face was overwritten, redo it. | |
3465 | (x_use_underline_position_properties): New variable. | |
3466 | (syms_of_xterm): DEFVAR_BOOL it. | |
3467 | (x_draw_glyph_string): Add comment to use it in future. | |
3468 | (x_draw_glyph_string): Restore clipping after drawing box. | |
3469 | Fix a computation of the underline position. | |
3470 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
3471 | (x_fill_stretch_glyph_string): Remove an assertion. | |
3472 | (x_produce_glyphs): Don't convert multibyte characters | |
3473 | to unibyte characters in unibyte buffers. | |
3474 | (cursor_in_mouse_face_p): New function. | |
3475 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
3476 | when drawing a cursor within highlighted text. Don't draw | |
3477 | background again if it has already been drawn. | |
3478 | (x_draw_glyph_string_box): Don't draw a full-width | |
3479 | box just because the glyph row's full_width_p flag is set. | |
3480 | (x_draw_glyphs): Fix computation of rightmost x for | |
3481 | full-width rows. | |
3482 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
3483 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
3484 | change bottom shadow accordingly. Some cleanup. | |
3485 | (x_update_window_end): Handle overwritten mouse face | |
3486 | also for tool bar windows. | |
3487 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
3488 | DRAW is DRAW_IMAGE_RAISED. | |
3489 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
3490 | actually redrawn. Make the function static. |
3491 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
3492 | optimize away highlighting if we pass over that same overlay again. |
3493 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
3494 | to detect a case where we have to highlight a different region | |
3495 | despite not having left the currently highlighted region. | |
3496 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
3497 | mouse pointer shape when show_mouse_face has already done it, or | |
3498 | there is no need. Handle mouse-face and help-echo in strings. | |
3499 | (glyph_rect): New function. | |
3500 | (w32_mouse_position): Use it to raise the threshold for mouse | |
3501 | movement event generation. | |
3502 | (w32_initialize_display_info): Initialize the x_display_info's | |
3503 | mouse_face_overlay. | |
3504 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
3505 | or width area. | |
3506 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
3507 | a widget to zero height. | |
3508 | ||
3cf3436e | 3509 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 3510 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
3511 | equivalents in menu_items. |
3512 | (w32_menu_show): Don't overwrite an item's name with its key | |
3513 | description in case the description is a multibyte string. | |
3514 | (single_submenu): Some cleanup. | |
3515 | ||
3516 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
3517 | (postprocess_image): New function. | |
3518 | (lookup_image): Call it for all image types except PostScript. | |
3519 | (x_kill_gs_process): Call postprocess_image. | |
3520 | (tiff_error_handler, tiff_warning_handler): New functions. | |
3521 | (tiff_load): Install them as handlers. | |
3522 | (x_kill_gs_process): Recognize if someone has cleared the image | |
3523 | cache under us. | |
3524 | (valid_image_p): Protect better against invalid image | |
3525 | specifications. Previous code could signal an error. | |
3526 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
3527 | (Fv_max_tooltip_size): New variable. | |
3528 | (syns_of_xfns): DEFVAR_LISP it. | |
3529 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
3530 | window buffer to *tip* right after creating the frame. Set frame's | |
3531 | window_width. Use a maximum tooltip size specified by | |
3532 | Vx_max_tooltip_size, if that has valid contents. | |
3533 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
3534 | Make sure the tooltip is completely visible. | |
3535 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
3536 | (Fx_create_frame): Adjust the frame's height for presence | |
3537 | of the tool bar before calling x_figure_window_size. | |
3538 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
3539 | when the window gets smaller. | |
3540 | (x_set_foreground_color): Set frame's cursor_pixel. | |
3541 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
3542 | (x_set_font): Handle case of x_new_fontset returning the same name | |
3543 | as before, although there was a change in fontsets. | |
3544 | ||
386ca361 MB |
3545 | 2001-10-21 Miles Bader <miles@gnu.org> |
3546 | ||
c2d53558 | 3547 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
3548 | (Flogxor): Add usage: string to doc string. |
3549 | * charset.c (Fstring): Likewise. | |
3550 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
3551 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
3552 | ||
f00691a3 | 3553 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 3554 | |
03be2694 PJ |
3555 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
3556 | ||
3557 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
3558 | ||
3559 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
3560 | ||
14ff1ee0 PJ |
3561 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
3562 | keyword]. | |
3563 | ||
2f147815 | 3564 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
3565 | |
3566 | ;; Local Variables: | |
49b3bd82 | 3567 | ;; coding: iso-2022-7bit |
6922b018 | 3568 | ;; End: |
2a34a036 | 3569 | |
2f147815 | 3570 | Copyright (C) 2001, 2002 Free Software Foundation, Inc. |
2a34a036 GM |
3571 | Copying and distribution of this file, with or without modification, |
3572 | are permitted provided the copyright notice and this notice are preserved. |