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