Commit | Line | Data |
---|---|---|
faa6ce91 KH |
1 | 2007-03-01 Kenichi Handa <handa@m17n.org> |
2 | ||
3 | * process.c (send_process_object): Check the process status and | |
4 | signal an error if something is wrong. | |
5 | ||
f79b31db CY |
6 | 2007-02-28 Chong Yidong <cyd@stupidchicken.com> |
7 | ||
8 | * insdel.c (Fcombine_after_change_execute): Return nil if | |
9 | combine_after_change_buffer has been invalidated. | |
10 | ||
5f5a9e29 DN |
11 | 2007-02-25 Dan Nicolaescu <dann@ics.uci.edu> |
12 | ||
13 | * m/xtensa.h: New file. | |
14 | ||
d3332249 NR |
15 | 2007-02-24 Nick Roberts <nickrob@snap.net.nz> |
16 | ||
17 | * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name | |
18 | as strings and not character arrays. | |
19 | ||
cd2e3962 YM |
20 | 2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
21 | ||
22 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) | |
23 | (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to | |
24 | scroll bar handle size in order to avoid `scroll backward' problem. | |
25 | (x_scroll_bar_create, XTset_vertical_scroll_bar) | |
26 | [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. | |
27 | ||
28 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New | |
29 | member `min_handle'. | |
30 | ||
948f7516 KS |
31 | 2007-02-23 Kim F. Storm <storm@cua.dk> |
32 | ||
33 | * print.c (print): Reset print_number_index if Vprint_number_table | |
34 | is nil. | |
35 | ||
617a6756 EZ |
36 | 2007-02-23 Eli Zaretskii <eliz@gnu.org> |
37 | ||
38 | * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk | |
39 | instead of strpbrk. | |
40 | ||
0efdda24 YM |
41 | 2007-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
42 | ||
43 | * macmenu.c (mac_menu_show): Call unbind_to early. Use variable | |
44 | `menu_item_selection' as in W32 version. | |
45 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit | |
46 | braces to avoid ambiguous `else'. | |
47 | ||
48 | * macterm.c (mac_display_info_for_display): Remove function. | |
49 | (mac_flush_display_optional) [USE_CG_DRAWING]: New function. | |
50 | (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for | |
51 | flush_display_optional. | |
52 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): New | |
53 | argument MOUSE_POS. All uses changed. Set bar->dragging to | |
54 | negative integer if scroll bar handle is pressed. | |
55 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): Negative | |
56 | bar->dragging means scroll bar handle is not dragged. | |
57 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial | |
58 | offset of scroll bar handle from negative bar->dragging. | |
59 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll | |
60 | bar click is compared against mapped one. Set down/up_modifier | |
61 | for scroll bar click event with control key. | |
62 | ||
63 | * macterm.h (x_display_info_for_display): Remove extern. | |
64 | (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit | |
65 | value to be unpacked to 32-bit on LP64 model. | |
66 | ||
8d4e7254 KH |
67 | 2007-02-23 Kenichi Handa <handa@m17n.org> |
68 | ||
69 | * process.c (send_process_object_unwind): New function. | |
70 | (send_process_object): New function. | |
71 | (Fprocess_send_region): Call send_process_object. | |
72 | (Fprocess_send_string): Likewise. | |
73 | ||
904700a0 JR |
74 | 2007-02-22 Jason Rumney <jasonr@gnu.org> |
75 | ||
2f028a74 JR |
76 | * w32menu.c (w32_menu_show): Mark the frame's menu as inactive |
77 | when popup menu finishes. | |
78 | ||
58e55497 | 79 | * w32fns.c (menubar_in_use): New flag. |
72a3a66a JR |
80 | (w32_wnd_proc) [WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND]: |
81 | Use it. | |
82 | ||
a67b5c3d JR |
83 | * w32menu.c (Fx_popup_menu): Don't free menu strings here. |
84 | (w32_menu_show): Do it here instead. | |
85 | ||
90816b86 JR |
86 | * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame |
87 | parameter. | |
88 | ||
904700a0 JR |
89 | * w32menu.c (current_popup_menu): Make available globally. |
90 | (menubar_selection_callback): Free menu strings before pushing the | |
91 | menu event into the keyboard buffer. Remove | |
92 | menu_command_in_progress. | |
93 | ||
94 | * w32fns.c (current_popup_menu): Use from w32menu.c. | |
90816b86 JR |
95 | (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active |
96 | and current_popup_menu to determine whether a menubar menu has | |
97 | been cancelled. | |
904700a0 JR |
98 | |
99 | * w32term.h (w32_output): Remove menu_command_in_progress. | |
100 | ||
d1eeefeb KS |
101 | 2007-02-22 Kim F. Storm <storm@cua.dk> |
102 | ||
103 | * dispnew.c (update_frame, update_single_window): Set force_p here if | |
104 | redisplay_dont_pause is set or Vredisplay_preemption_period is nil... | |
105 | (update_window, update_frame_1): ... instead of here. | |
e973477d | 106 | (update_text_area): Clear mouse face on header lines. |
d1eeefeb | 107 | |
dfb1e36c KS |
108 | 2007-02-21 Kim F. Storm <storm@cua.dk> |
109 | ||
110 | * minibuf.c (Fassoc_string): Doc fix. Allow symbol for KEY too. | |
111 | ||
d8506697 YM |
112 | 2007-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
113 | ||
114 | * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros. | |
115 | [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable | |
116 | `mapped_modifiers'. | |
117 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard | |
118 | Layout Services routines to get current Unicode keyboard layout. | |
119 | ||
864a4ae7 CY |
120 | 2007-02-20 Chong Yidong <cyd@stupidchicken.com> |
121 | ||
122 | * frame.c (x_set_screen_gamma): Apply gamma value to the frame's | |
123 | bgcolor. | |
124 | ||
86dcc2c3 KS |
125 | 2007-02-19 Kim F. Storm <storm@cua.dk> |
126 | ||
669b454d KS |
127 | * minibuf.c (Fassoc_string): Allow symbols as keys. |
128 | ||
86dcc2c3 KS |
129 | * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar |
130 | handle while dragging, except when we get close to eob. | |
131 | Fix position and size calculations so we don't scroll backwards | |
132 | just by clicking on the handle. | |
133 | ||
bc23733a YM |
134 | 2007-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
135 | ||
136 | * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) | |
137 | [HAVE_CARBON]: Remove target. | |
138 | (macosx-app) [HAVE_CARBON]: Don't depend on it. | |
139 | ||
ebf24b59 JB |
140 | 2007-02-17 Juanma Barranquero <lekktu@gmail.com> |
141 | ||
142 | * callproc.c (syms_of_callproc) <doc-directory>: | |
143 | <configure-info-directory>: | |
144 | (Fgetenv_internal): Fix typos in docstrings. | |
145 | ||
146 | * doc.c (Fsubstitute_command_keys): Fix typo in docstring. | |
147 | ||
52b2c096 AS |
148 | 2007-02-16 Andreas Schwab <schwab@suse.de> |
149 | ||
3b58be21 AS |
150 | * frame.c (Fmodify_frame_parameters): Return a value. |
151 | ||
52b2c096 AS |
152 | * editfns.c (Fformat): Add support for '+' flag. |
153 | * doprnt.c (doprnt1): Likewise. Fix overflow checking. | |
154 | ||
44713939 CY |
155 | 2007-02-14 Chong Yidong <cyd@stupidchicken.com> |
156 | ||
157 | * s/umips.h: Unused file removed. | |
158 | ||
424f6998 JB |
159 | 2007-02-14 Juanma Barranquero <lekktu@gmail.com> |
160 | ||
161 | * xfaces.c (Fcolor_distance): Don't continue checking a color for | |
162 | errors after it has been correctly parsed as an RGB list. | |
163 | ||
6dac214c JD |
164 | 2007-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
165 | ||
166 | * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. | |
167 | ||
409d2613 YM |
168 | 2007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
169 | ||
170 | * macfns.c (Fx_focus_frame): Move current process to foreground if | |
171 | it is not. | |
172 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with | |
173 | #ifdef MAC_OSX. | |
174 | (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from | |
175 | Fmac_set_font_panel_visibility. All uses changed. Rename argument | |
176 | VISIBLE to FLAG. | |
177 | ||
178 | * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function. | |
179 | (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of | |
180 | MakeMeTheFrontProcess. | |
181 | ||
09efb30a CY |
182 | 2007-02-12 Chong Yidong <cyd@stupidchicken.com> |
183 | ||
184 | * frame.c (x_set_screen_gamma): Clear face cache. | |
185 | ||
550934c8 JB |
186 | 2007-02-11 Juanma Barranquero <lekktu@gmail.com> |
187 | ||
188 | * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick): | |
189 | Reflow docstrings. | |
190 | ||
3570640e EZ |
191 | 2007-02-10 Eli Zaretskii <eliz@gnu.org> |
192 | ||
193 | * window.c (Fwindow_height, Fwindow_hscroll) | |
194 | (Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start) | |
195 | (Fwindow_end, Fwindow_display_table, Fwindow_text_height): | |
196 | Document the effect of WINDOW arg being nil. | |
197 | ||
2b7ef867 KS |
198 | 2007-02-08 Kim F. Storm <storm@cua.dk> |
199 | ||
200 | * minibuf.c (read_minibuf): Fix 2007-01-30 change. | |
550934c8 | 201 | Use Qlambda as interim value of Vminibuffer_completing_file_name. |
ac6ee452 | 202 | (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil). |
2b7ef867 KS |
203 | (syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda. |
204 | ||
8b57a7fd JB |
205 | 2007-02-07 Juanma Barranquero <lekktu@gmail.com> |
206 | ||
207 | * makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead | |
208 | of $(ALL_DEPS). | |
209 | ||
f3d5bd22 EZ |
210 | 2007-02-07 Eli Zaretskii <eliz@gnu.org> |
211 | ||
212 | * makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is | |
213 | put into $(BLD). | |
214 | ||
c9008e63 CY |
215 | 2007-02-06 Chong Yidong <cyd@stupidchicken.com> |
216 | ||
217 | * frame.c (Fmodify_frame_parameters): Don't bind | |
218 | Qinhibit_default_face_x_resources, which has no effect. | |
219 | (Qinhibit_default_face_x_resources): Symbol deleted. | |
220 | ||
77083ca3 EZ |
221 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
222 | ||
223 | * indent.c (Fmove_to_column): Document that the argument COLUMN is | |
224 | taken from prefix numeric argument. | |
225 | ||
191c4353 JB |
226 | 2007-02-03 Juanma Barranquero <lekktu@gmail.com> |
227 | ||
228 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
229 | ||
5e1a6e32 JB |
230 | 2007-01-29 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change) |
231 | ||
232 | * xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose): | |
233 | Use the foreground color of the scroll-bar face when drawing | |
234 | the scroll-bar's border. | |
1024f9c0 | 235 | |
849bb789 JD |
236 | 2007-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
237 | ||
238 | * xterm.c (do_ewmh_fullscreen): Check that what != NULL before | |
239 | calling wm_supports. | |
240 | ||
099de390 JB |
241 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> |
242 | ||
243 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
244 | Wording by Eli Zaretskii. | |
245 | ||
0cba6386 JD |
246 | 2007-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
247 | ||
248 | * gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0. | |
249 | ||
25752d87 RS |
250 | 2007-01-30 Richard Stallman <rms@gnu.org> |
251 | ||
252 | * minibuf.c (read_minibuf): | |
253 | Save and clear Vminibuffer_completing_file_name. | |
254 | (read_minibuf_unwind): Restore it. | |
255 | (Vminibuffer_completion_table, Qminibuffer_completion_table) | |
256 | (Vminibuffer_completion_predicate, Qminibuffer_completion_predicate) | |
257 | (Vminibuffer_completion_confirm, Qminibuffer_completion_confirm) | |
258 | (Vminibuffer_completing_file_name): Definitions moved up. | |
259 | ||
956d1928 CY |
260 | 2007-01-29 Chong Yidong <cyd@stupidchicken.com> |
261 | ||
262 | * m/hp800.h: Restore, removing HP-UX support. | |
263 | ||
4abaeb50 JD |
264 | 2007-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
265 | ||
266 | * Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB. | |
267 | ||
d9380425 RS |
268 | 2007-01-28 Richard Stallman <rms@gnu.org> |
269 | ||
270 | * minibuf.c (Ftry_completion, Fall_completions) | |
271 | (Fcompleting_read, Ftest_completion): | |
272 | Rename arg ALIST or TABLE to COLLECTION. | |
273 | ||
b99e3557 CY |
274 | 2007-01-27 Chong Yidong <cyd@stupidchicken.com> |
275 | ||
276 | * unexhp9k800.c: Remove due to lack of legal papers. | |
277 | ||
278 | * m/sr2k.h, m/hp800.h: Remove due to dependence on above. | |
279 | ||
4fda07c1 EZ |
280 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
281 | ||
65849ada EZ |
282 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix. |
283 | ||
4fda07c1 EZ |
284 | * minibuf.c (Fcompleting_read): Doc fix. |
285 | ||
aa4ff486 JD |
286 | 2007-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
287 | ||
cddb7844 JD |
288 | * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT. |
289 | ||
aa4ff486 JD |
290 | * Makefile.in: Use XFT_LIBS if defined. |
291 | ||
3fb8b536 YM |
292 | 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
293 | ||
294 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use | |
295 | BLOCK_INPUT/UNBLOCK_INPUT. | |
296 | ||
297 | * blockinput.h (interrupt_input_blocked): Declare volatile. | |
298 | ||
299 | * keyboard.c (interrupt_input_blocked): Declare volatile. | |
300 | ||
301 | * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal. | |
302 | ||
ff40b263 KS |
303 | 2007-01-24 Kim F. Storm <storm@cua.dk> |
304 | ||
305 | * keymap.c (describe_map): Don't consider prefix keys to be shadowed. | |
306 | ||
9671c13a JB |
307 | 2007-01-23 Juanma Barranquero <lekktu@gmail.com> |
308 | ||
309 | * editfns.c (Finsert_char): Doc fix. | |
310 | (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. | |
311 | ||
447466a5 YM |
312 | 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
313 | ||
314 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Don't | |
315 | pass keyboard modifiers to mac_store_drag_event, but put them as | |
316 | kEventParamKeyModifiers Apple event parameter. | |
317 | ||
64401adc CY |
318 | 2007-01-21 Chong Yidong <cyd@stupidchicken.com> |
319 | ||
320 | * xdisp.c (try_window): Revert previous change. | |
321 | ||
322 | * dispnew.c (update_text_area): Revert 2006-09-17 change. | |
323 | Always redraw non-mode-line rows with mouse-face. | |
324 | ||
7d100727 CY |
325 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
326 | ||
327 | * xdisp.c (try_window): Clear mouse-face highlights first. | |
328 | ||
329 | * window.c (set_window_buffer): Revert 2006-11-22 change. | |
330 | ||
4e251bd1 EZ |
331 | 2007-01-20 Eli Zaretskii <eliz@gnu.org> |
332 | ||
333 | * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe) | |
334 | (xbuffer, xcons, xcar, xcdr): Fix doc strings. | |
335 | ||
25170427 CY |
336 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
337 | ||
338 | * keyboard.c (read_key_sequence): Extract local map only if the | |
339 | given position is in an accessible buffer region. | |
340 | ||
acb38529 NR |
341 | 2007-01-19 Nick Roberts <nickrob@snap.net.nz> |
342 | ||
343 | * .gdbinit: Reformat documentation so that first sentence | |
344 | displays properly with "help user-defined" (like apropos). | |
345 | ||
9671c13a | 346 | 2007-01-18 Bruno Haible <bruno@clisp.org> (tiny change) |
4a75434a CY |
347 | |
348 | * epaths.in: Move PATH_DOC from local/info to local/share/info. | |
349 | ||
a35c8b70 YM |
350 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
351 | ||
4e251bd1 | 352 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: |
a35c8b70 | 353 | Create movable modal window instead of movable alert window. |
4e251bd1 EZ |
354 | (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead |
355 | of DisableControl. | |
a35c8b70 YM |
356 | |
357 | * macselect.c (Fmac_resume_apple_event): Set error number when | |
358 | descriptor type of reply is non-null. | |
359 | ||
28c96b4d YM |
360 | 2007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
361 | ||
4e251bd1 | 362 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use |
28c96b4d YM |
363 | DisableControl for disabled items. Set default button to first |
364 | enabled one. Use icon of application in execution. | |
365 | ||
9bd1cd35 EZ |
366 | 2007-01-13 Eli Zaretskii <eliz@gnu.org> |
367 | ||
9671c13a JB |
368 | * process.c (Fdelete_process, Fprocess_id, sigchld_handler): |
369 | Copy PID into EMACS_INT to avoid GCC warnings. | |
d30fe779 | 370 | |
9bd1cd35 EZ |
371 | * fns.c (maybe_resize_hash_table): Copy new size of hash table |
372 | into EMACS_INT to avoid GCC warnings. | |
373 | ||
374 | * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by | |
375 | geteuid and getuid into EMACS_INT to avoid GCC warnings. | |
376 | ||
377 | * dired.c (Ffile_attributes): Fix last change. | |
378 | ||
b55445d6 EZ |
379 | 2007-01-12 Eli Zaretskii <eliz@gnu.org> |
380 | ||
381 | * dired.c (Ffile_attributes): Copy some members of `struct stat' | |
382 | into int's to avoid GCC warnings about limited range of short in | |
383 | arguments to FIXNUM_OVERFLOW_P. | |
384 | ||
37370cea YM |
385 | 2007-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
386 | ||
387 | * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON. | |
388 | (mac_handle_dialog_event, install_dialog_event_handler) | |
389 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions. | |
390 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
391 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH) | |
392 | (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
393 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
394 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
395 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
396 | (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. | |
397 | (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. | |
398 | (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. | |
399 | ||
400 | * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: Call | |
401 | mac_prepare_for_quickdraw. | |
402 | (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs | |
403 | outside #ifdef MAC_OSX. | |
404 | (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function | |
405 | outside #ifdef MAC_OSX. | |
406 | (mac_check_bundle) [MAC_OSX]: Remove unused function. | |
407 | ||
408 | * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX. | |
409 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions. | |
410 | ||
959dc601 JD |
411 | 2007-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
412 | ||
413 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal, | |
414 | block/unblock SIGIO. | |
415 | ||
8b9ae6b0 SM |
416 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
417 | ||
c5c6b2cc SM |
418 | * editfns.c (Fformat): Allow integer-format to work with floats of size |
419 | larger than most-positive-fixnum (but still smaller than MAXINT). | |
420 | ||
8b9ae6b0 SM |
421 | * dired.c (Ffile_attributes): Use floats for large uids/gids. |
422 | ||
c7ed3276 EZ |
423 | 2007-01-09 Eli Zaretskii <eliz@gnu.org> |
424 | ||
425 | * emacs.c (syms_of_emacs) <path-separator>: Doc fix. | |
426 | ||
5d348d3f YM |
427 | 2007-01-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
428 | ||
429 | * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT | |
430 | around mkstemp. | |
431 | ||
432 | * image.c (XDrawLine) [MAC_OS]: Remove macro. | |
433 | (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise. | |
434 | (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of | |
435 | XCreateGC_pixmap. | |
436 | ||
437 | * macgui.h (Display): Typedef to opaque type. | |
438 | ||
439 | * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function. | |
440 | (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from | |
441 | Fmessage_box, Fyes_or_no_p, or Fy_or_n_p. | |
8b9ae6b0 SM |
442 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): |
443 | Use mac_quit_char_key_p. | |
5d348d3f YM |
444 | |
445 | * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
446 | (XCreateGC): Change type of 2nd argument to void *. | |
447 | (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
448 | Fix last change. | |
449 | (mac_to_emacs_modifiers): Change return type to int. | |
450 | [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise. | |
451 | (mac_mapped_modifiers): New function. | |
452 | (XTread_socket): Use it. | |
453 | [USE_TSM] (mac_handle_text_input_event): Likewise. | |
454 | (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
8b9ae6b0 SM |
455 | (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: |
456 | Remove variables. | |
5d348d3f YM |
457 | (mac_determine_quit_char_modifiers, init_quit_char_handler) |
458 | [MAC_OSX]: Remove functions. | |
459 | (make_ctrl_char) [MAC_OSX]: Add extern. | |
460 | (mac_quit_char_key_p) [MAC_OSX]: New function. | |
461 | (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler. | |
462 | ||
463 | * macterm.h (FONT_MAX_WIDTH): Remove unused macro. | |
464 | (XCreateGC): Change type in extern. | |
465 | (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
466 | (mac_quit_char_key_p) [MAC_OSX]: Add extern. | |
467 | ||
287110f5 JD |
468 | 2007-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
469 | ||
4c180390 JD |
470 | * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and |
471 | interrupt_input_pending. | |
472 | ||
287110f5 JD |
473 | * xterm.h (x_display_info): New: net_supported_atoms, |
474 | nr_net_supported_atoms and net_supported_window. | |
475 | ||
9671c13a | 476 | * xterm.c (last_user_time): New variable. |
287110f5 JD |
477 | (handle_one_xevent): Set last_user_time from events that have Time. |
478 | Set net_supported_window to 0 when reparented. | |
479 | (wm_supports): New function. | |
480 | (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE. | |
481 | (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms | |
482 | and net_supported_window. | |
483 | ||
5be70981 KS |
484 | 2007-01-05 Kim F. Storm <storm@cua.dk> |
485 | ||
486 | * indent.c (Fvertical_motion): Fix it overshoot check for overlay | |
487 | strings without embedded newlines immediately followed by newline. | |
488 | ||
1675bac7 YM |
489 | 2007-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
490 | ||
491 | * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time) | |
492 | (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around | |
493 | gmtime/localtime/emacs_memftimeu/mktime. | |
494 | ||
495 | * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE | |
496 | instead of 'EMAx'. | |
497 | [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise. | |
498 | ||
499 | * macgui.h (struct _XGC) [USE_CG_DRAWING | |
500 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color | |
501 | and cg_back_color. | |
502 | ||
503 | * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern. | |
504 | (restore_show_help_function, menu_target_item_handler) | |
505 | [TARGET_API_MAC_CARBON]: New functions. | |
506 | (install_menu_target_item_handler): New function. | |
507 | (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu | |
508 | item property. | |
509 | ||
510 | * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR) | |
511 | (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) | |
512 | (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) | |
513 | (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR) | |
514 | (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros. | |
515 | (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable. | |
516 | (mac_cg_color_black) [USE_CG_DRAWING | |
517 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable. | |
518 | (init_cg_color) [USE_CG_DRAWING]: New function. | |
519 | (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use | |
520 | CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR. | |
521 | (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image) | |
522 | (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]: | |
523 | Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or | |
524 | CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR. | |
525 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise. | |
526 | (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING | |
5e1a6e32 | 527 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or |
1675bac7 YM |
528 | gc->cg_back_color. |
529 | (install_drag_handler, remove_drag_handler): Make extern. | |
530 | (install_menu_target_item_handler): Add extern. | |
531 | (install_window_handler): Call install_menu_target_item_handler. | |
532 | [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'. | |
5be70981 | 533 | (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color. |
1675bac7 YM |
534 | |
535 | * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator. | |
536 | ||
4c9564e8 JB |
537 | 2007-01-04 Juanma Barranquero <lekktu@gmail.com> |
538 | ||
539 | * window.c (Fwindow_end): Fix use of >= operator. | |
540 | ||
c3295e7b RS |
541 | 2007-01-03 Richard Stallman <rms@gnu.org> |
542 | ||
543 | * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. | |
544 | ||
0c5e9b06 JD |
545 | 2007-01-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
546 | ||
547 | * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and | |
548 | unhighlight_id. | |
549 | ||
550 | * gtkutil.c (menuitem_highlight_callback): Invoked widget is the | |
551 | parent of the menu item. Get menu item widget from event. | |
552 | (xg_create_one_menuitem, xg_update_menu_item): highlight_id and | |
553 | unhighlight_id has been removed. | |
554 | (create_menus): Connect enter/leave-notify-event to the menu instead | |
555 | of individual items. | |
556 | ||
1e0fe298 JD |
557 | 2006-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
558 | ||
559 | * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with | |
560 | xg_tool_bar_menu_proxy. | |
561 | (xg_tool_bar_menu_proxy): New function. | |
562 | (xg_tool_bar_proxy_callback): New function. | |
563 | ||
6e1440e6 JD |
564 | 2006-12-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
565 | ||
566 | * gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget. | |
567 | (xg_tool_bar_callback): Remove check for button. | |
568 | (update_frame_tool_bar): Put an event box in the tool bar and a button | |
569 | in the event box. Attach enter/leave-notify-event to the event box. | |
570 | ||
dced1a73 RS |
571 | 2006-12-30 Richard Stallman <rms@gnu.org> |
572 | ||
573 | * keymap.c (Fdefine_key): Doc fix. | |
574 | ||
05a699b6 KS |
575 | 2006-12-29 Kim F. Storm <storm@cua.dk> |
576 | ||
577 | * frame.h (struct frame): New member minimize_tool_bar_window_p. | |
578 | ||
579 | * xdisp.c (auto_resize_tool_bars_p): Replace with ... | |
580 | (Vauto_resize_tool_bars): ... this. | |
581 | (syms_of_xdisp): DEFVAR_LISP and initialize it. Update doc string | |
582 | to describe new value `grow-only', and use of C-l. | |
583 | (display_tool_bar_line): Only use default face for border below | |
584 | toolbar if not grow-only (to get acceptable visual appearence). | |
585 | Explicitly set visible_height for empty toolbar lines. | |
586 | (redisplay_tool_bar): Handle `grow-only' setting. Check and clear | |
587 | minimize_tool_bar_window_p flag. | |
588 | ||
589 | * window.c (Frecenter): Set minimize_tool_bar_window_p flag | |
590 | when called without arg to redraw with minimum toolbar height. | |
591 | Update doc string. | |
592 | ||
e37b3faf JR |
593 | 2006-12-29 Jason Rumney <jasonr@gnu.org> |
594 | ||
595 | * s/ms-w32.h (tzname): Do not define in msvc8. | |
40c41924 | 596 | (utime): Do not define in msvc8. |
e37b3faf JR |
597 | |
598 | * regex.c (regerror): Change parameter name err_code. | |
599 | ||
dbb8dfc7 RS |
600 | 2006-12-26 Richard Stallman <rms@gnu.org> |
601 | ||
e817cc9b RS |
602 | * search.c (Fsearch_forward): Doc fix. |
603 | ||
dbb8dfc7 RS |
604 | * callint.c (Finteractive): Doc fix. |
605 | ||
42f82ce7 KS |
606 | 2006-12-25 Kim F. Storm <storm@cua.dk> |
607 | ||
608 | * s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it. | |
609 | ||
fa1f0a88 EZ |
610 | 2006-12-23 Eli Zaretskii <eliz@gnu.org> |
611 | ||
612 | * keyboard.c (some_mouse_moved): Fix last change. | |
613 | ||
453027ac EZ |
614 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
615 | ||
616 | * callproc.c (syms_of_callproc) <shell-file-name>: Doc fix. | |
617 | ||
b9542c10 EZ |
618 | 2006-12-22 Mark Davies <mark@mcs.vuw.ac.nz> |
619 | ||
620 | * m/amdx86-64.h, m/hp800.h: Add support for NetBSD. | |
621 | * m/sh3el.h: New file. | |
622 | ||
5e059fc1 EZ |
623 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
624 | ||
625 | * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of | |
626 | $(BLD). | |
627 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. | |
628 | (bootstrap-temacs): Pass $(XMFLAGS) to sub-make. | |
6808dce1 | 629 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). |
f278d4a6 | 630 | (clean): Delete stamp_BLD. |
5e059fc1 | 631 | |
2f0fd19a YM |
632 | 2006-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
633 | ||
8b9ae6b0 SM |
634 | * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]: |
635 | Call mac_update_proxy_icon also when buffer modification flag changed. | |
2f0fd19a YM |
636 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias, |
637 | but compare FSRef/FSSpec of resolved alias. | |
638 | ||
274fa194 KS |
639 | 2006-12-21 Kim F. Storm <storm@cua.dk> |
640 | ||
641 | * w32.c (_sys_wait_accept): Fix handle leak. | |
642 | ||
7fb24298 JD |
643 | 2006-12-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
644 | ||
645 | * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is | |
646 | defined. | |
647 | ||
15d6777e KS |
648 | 2006-12-20 Kim F. Storm <storm@cua.dk> |
649 | ||
650 | * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it. | |
651 | ||
209ceeef JB |
652 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
653 | ||
654 | * keyboard.c (syms_of_keyboard) <double-click-time>: | |
655 | * mac.c (Fmac_code_convert_string): | |
656 | * search.c (Fsearch_forward): Doc fixes. | |
657 | ||
36ff6d6f KS |
658 | 2006-12-19 Kim F. Storm <storm@cua.dk> |
659 | ||
660 | Rework 2006-12-04 change. A SIGUSR1 (SIGUSR2) signal now generates | |
661 | a sigusr1 event instead of [signal usr1] sequence, and signal events | |
662 | are now supposed to be handled via special-event-map. | |
663 | ||
664 | * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change. | |
665 | (make_lispy_event): Don't generate Qsignal prefix for code 0. | |
666 | Abort if signal code is unknown. | |
667 | (store_user_signal_events): Don't make Qsignal prefix (code 0). | |
668 | (Qsignal): Move declaration back to process.c. | |
669 | (syms_of_keyboard): Don't intern or staticpro it here. | |
670 | ||
671 | * process.c (Qsignal): Declare here. | |
672 | (syms_of_process): Intern or staticpro it. | |
673 | ||
674 | * emacs.c (main): Rename user signals to sigusr1 and sigusr2. | |
675 | ||
676 | * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs. | |
677 | ||
6a28a84c JB |
678 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
679 | ||
ebf24b59 | 680 | * buffer.c (syms_of_buffer) <buffer-display-table>: |
6a28a84c JB |
681 | <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes. |
682 | ||
294f1c39 RS |
683 | 2006-12-17 Richard Stallman <rms@gnu.org> |
684 | ||
685 | * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate | |
686 | to Ffile_name_completion. | |
687 | ||
688 | * dired.c (file_name_completion): New arg PREDICATE. Some cleanup. | |
6a28a84c | 689 | (Ffile_name_completion): New arg PREDICATE. |
294f1c39 | 690 | |
f6e22881 JB |
691 | 2006-12-17 Juanma Barranquero <lekktu@gmail.com> |
692 | ||
693 | * buffer.c (Fkill_buffer): Doc fix. | |
694 | (syms_of_buffer) <kill-buffer-query-functions>: Doc fix. | |
695 | ||
f03c1894 JB |
696 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
697 | ||
698 | * minibuf.c (Ftry_completion): Check that obarray buckets are symbols. | |
699 | ||
04afd01e EZ |
700 | 2006-12-16 Eli Zaretskii <eliz@gnu.org> |
701 | ||
b58d0378 EZ |
702 | * w32fns.c (w32-window-exists-p): New function. |
703 | (syms_of_w32fns): Defsubr it. | |
704 | ||
04afd01e EZ |
705 | * prefix-args.c [STDC_HEADERS]: Include stdlib.h. |
706 | ||
33202706 JB |
707 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
708 | ||
709 | * minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector. | |
710 | ||
75036d1c EZ |
711 | 2006-12-15 Eli Zaretskii <eliz@gnu.org> |
712 | ||
713 | * emacs.c (USAGE3): Clarify documentation of --color. | |
714 | ||
e71b26ec YM |
715 | 2006-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
716 | ||
33202706 JB |
717 | * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]: |
718 | New variable. | |
e71b26ec YM |
719 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros. |
720 | [!MAC_OSX] (select): Use them. | |
721 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
722 | (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function. | |
723 | ||
724 | * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern. | |
725 | (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function. | |
726 | (syms_of_macfns) [USE_ATSUI]: Defsubr it. | |
727 | ||
8b9ae6b0 SM |
728 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): |
729 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
730 | |
731 | * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call | |
732 | ATSUGetGlyphBounds if not necessary. | |
33202706 | 733 | (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable. |
e71b26ec YM |
734 | (syms_of_macterm) [USE_ATSUI]: Don't defvar it. |
735 | (fm_get_style_from_font, atsu_find_font_from_family_name) | |
736 | (atsu_find_font_family_name, mac_atsu_font_face_attributes) | |
737 | [USE_ATSUI]: New functions. | |
738 | (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name. | |
739 | (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name. | |
740 | Don't get metrics for Latin-1 right half characters. | |
741 | (mac_load_query_font): Don't load font if space width is not positive. | |
8b9ae6b0 SM |
742 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): |
743 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
744 | (XTread_socket): Call SelectWindow when unfocused frame is clicked. |
745 | ||
746 | * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern. | |
747 | ||
cbaa9c44 KS |
748 | 2006-12-15 Kim F. Storm <storm@cua.dk> |
749 | ||
750 | * keyboard.c (ignore_mouse_drag_p): New global var. | |
751 | (some_mouse_moved): Return 0 if it is non-zero. | |
752 | (make_lispy_event): Generate click event on mouse up if | |
753 | ignore_mouse_drag_p is non-zero, even if mouse moved. | |
754 | Clear ignore_mouse_drag_p on mouse down/up. | |
755 | ||
756 | * xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar | |
757 | is resized to avoid generating a mouse drag event. | |
758 | ||
8a4c4c7f JB |
759 | 2006-12-14 Juanma Barranquero <lekktu@gmail.com> |
760 | ||
761 | * w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the | |
762 | minimum tracking size. Remove non-working old hack to do the same. | |
763 | ||
b1c6aa6e YM |
764 | 2006-12-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
765 | ||
766 | * emacs.c (handle_user_signal): Move function to keyboard.c. | |
767 | (main): Use add_user_signal for SIGUSR1 and SIGUSR2. | |
768 | ||
769 | * keyboard.c (make_lispy_event): Use find_user_signal_name. | |
770 | (read_avail_input): Store pending user signal events. | |
771 | (struct user_signal_info): New struct. | |
772 | (user_signals): New variable. | |
e71b26ec YM |
773 | (add_user_signal, store_user_signal_events) |
774 | (find_user_signal_name): New functions. | |
b1c6aa6e YM |
775 | (handle_user_signal): Move function from emacs.c. Don't store |
776 | USER_SIGNAL_EVENT here, but increment number of pending signals. | |
777 | ||
778 | * keyboard.h (add_user_signals): Add extern. | |
779 | ||
fc961256 JB |
780 | 2006-12-11 Juanma Barranquero <lekktu@gmail.com> |
781 | ||
782 | * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: | |
783 | <default-scroll-up-aggressively, default-scroll-down-aggressively>: | |
784 | <line-spacing, left-margin>: Doc fixes. | |
785 | ||
53d45a17 JB |
786 | * xdisp.c (syms_of_xdisp) <mode-line-inverse-video>: Doc fix. |
787 | ||
df20dc2b KS |
788 | 2006-12-10 Kim F. Storm <storm@cua.dk> |
789 | ||
790 | * xdisp.c (show_mouse_face): Never use text cursor in tool-bar. | |
791 | ||
28e86dc4 JB |
792 | 2006-12-10 Juanma Barranquero <lekktu@gmail.com> |
793 | ||
794 | * abbrev.c (syms_of_abbrev) <last-abbrev-text>: | |
795 | * buffer.c (syms_of_buffer) <default-major-mode>: | |
796 | * keymap.c (Flookup_key): | |
797 | * lread.c (Feval_buffer, Feval_region): | |
798 | * macterm.c (syms_of_macterm) <x-use-underline-position-properties>: | |
799 | <x-underline-at-descent-line, mac-emulate-three-button-mouse>: | |
800 | * marker.c (Fmarker_insertion_type): | |
801 | * minibuf.c (syms_of_minibuf) <minibuffer-completion-table>: | |
802 | * msdos.c (syms_of_msdos) <delete-exited-processes>: | |
803 | * w32term.c (syms_of_w32term) <x-use-underline-position-properties>: | |
804 | <x-underline-at-descent-line>: | |
805 | * xdisp.c (format-mode-line): | |
806 | * xterm.c (syms_of_xterm) <x-use-underline-position-properties>: | |
807 | <x-underline-at-descent-line>: Doc fixes. | |
808 | ||
64d962c1 AS |
809 | 2006-12-10 Andreas Schwab <schwab@suse.de> |
810 | ||
811 | * systime.h (EMACS_GET_TIME): Remove check for | |
812 | HAVE_STRUCT_TIMEZONE which is never defined. | |
813 | ||
43726c05 AM |
814 | 2006-12-10 Alan Mackenzie <acm@muc.de> |
815 | ||
816 | * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the | |
817 | result is now neither the last elt nor optional for OLDSTATE. | |
818 | ||
cbf9640e EZ |
819 | 2006-12-09 Eli Zaretskii <eliz@gnu.org> |
820 | ||
821 | * process.c (Fsignal_process): Doc fix. Use XFLOAT_DATA to | |
822 | extract the process ID from a Lisp float. | |
823 | ||
3ca241e1 CY |
824 | 2006-12-09 Chong Yidong <cyd@stupidchicken.com> |
825 | ||
28e86dc4 | 826 | * xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code. |
3ca241e1 | 827 | |
9e67e94f EZ |
828 | 2006-12-08 Eli Zaretskii <eliz@gnu.org> |
829 | ||
830 | * frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit | |
831 | platforms where long is 64-bit. | |
832 | ||
833 | * msdos.h (PIX_TYPE): Redefine as `unsigned long'. | |
834 | ||
28e86dc4 | 835 | 2006-12-08 NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (tiny change) |
a15fc3c3 CY |
836 | |
837 | * m/amdx86-64.h: Add support for Solaris 10 on x86-64. | |
838 | ||
65fa9a64 KH |
839 | 2006-12-08 Kenichi Handa <handa@m17n.org> |
840 | ||
841 | * xterm.c (x_query_font): Use xstricmp instead off strcasecmp. | |
842 | ||
b4963755 JB |
843 | 2006-12-08 Juanma Barranquero <lekktu@gmail.com> |
844 | ||
845 | * emacs.c (syms_of_emacs) <system-type>: Doc fix. | |
846 | ||
f7a706cf KS |
847 | 2006-12-07 Kim F. Storm <storm@cua.dk> |
848 | ||
849 | * process.c (parse_signal): Use xstricmp instead of strcasecmp. | |
850 | (Fsignal_process): Don't use strncasecmp. | |
851 | ||
da9109f7 GM |
852 | 2006-12-05 Glenn Morris <rgm@gnu.org> |
853 | ||
854 | * abbrev.c (Qforce): New Lisp_Object. | |
855 | (Fdefine_abbrev): Do not overwrite non-system abbrevs with system | |
856 | abbrevs, unless 'force is applied. | |
857 | (syms_of_abbrev): Add Qforce. | |
858 | ||
5c35ec32 KS |
859 | 2006-12-04 Kim F. Storm <storm@cua.dk> |
860 | ||
55ba687b KS |
861 | * process.c (parse_signal): Rename macro from handle_signal. |
862 | (Fsignal_process): Also accept lower-case variants of signal | |
863 | names (to align with signal names generated by Emacs itself). | |
864 | ||
5c35ec32 KS |
865 | * emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by... |
866 | (handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs | |
867 | first with code == 0 [signal] and one with code == sig number. | |
868 | (main): Use it as handler for SIGUR1 and SIGUSR2. | |
869 | ||
870 | * keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input | |
871 | if first event in [signal xxx] sequence. | |
872 | (lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove. | |
873 | (syms_of_keyboard): Don't intern and staticpro them. | |
9d8b24a2 KS |
874 | (Qsignal): Declare here. |
875 | (syms_of_keyboard): Intern and staticpro it. | |
876 | (make_lispy_event): Use it. Intern symbols on the fly for other | |
877 | USER_SIGNAL_EVENTs events. | |
5c35ec32 KS |
878 | |
879 | * process.c (Qsignal): Declare extern. | |
9d8b24a2 | 880 | (syms_of_process): Don't intern/staticpro it here. |
5c35ec32 KS |
881 | |
882 | * process.c (read_process_output): Abort if carryover < 0. | |
883 | ||
ee77eef5 YM |
884 | 2006-12-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
885 | ||
886 | * config.in: Regenerate. | |
887 | ||
888 | * fileio.c [__NetBSD__]: Don't define `unix'. | |
889 | (Funix_sync, syms_of_fileio): Use `#ifdef HAVE_SYNC' instead of | |
890 | `#ifdef unix'. | |
891 | ||
4a3363c5 GM |
892 | 2006-12-04 Glenn Morris <rgm@gnu.org> |
893 | ||
894 | * Makefile.in (version): New variable, set by configure. | |
895 | (bootstrapclean, mostlyclean): Also remove emacs-${version}. | |
896 | ||
a3893a90 JD |
897 | 2006-12-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
898 | ||
899 | * gtkutil.c (update_frame_tool_bar): Handle modifying a toolbar item | |
900 | without an image. | |
901 | ||
107fae8b EZ |
902 | 2006-12-01 Eli Zaretskii <eliz@gnu.org> |
903 | ||
904 | * w32fns.c (Fw32_shell_execute): Doc fix. | |
905 | ||
b88548b1 CY |
906 | 2006-11-30 Chong Yidong <cyd@stupidchicken.com> |
907 | ||
908 | * xdisp.c (move_it_to): Correctly count tab glyphs for continued | |
909 | lines ending in tab. | |
910 | ||
65dc67a9 JD |
911 | 2006-11-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
912 | ||
913 | * xterm.c (x_raise_frame): Move setting of _NET_ACTIVE_WINDOW | |
914 | property ... | |
915 | (XTframe_raise_lower): ... to here. | |
916 | ||
3aaab9a0 KH |
917 | 2006-11-30 Kenichi Handa <handa@m17n.org> |
918 | ||
919 | * regex.c (regex_compile): Fix previous change. | |
920 | ||
c6605d63 JB |
921 | 2006-11-29 Juanma Barranquero <lekktu@gmail.com> |
922 | ||
923 | * sound.c (Fplay_sound_internal): Remove spurious newline in docstring. | |
924 | ||
1a52930b CY |
925 | 2006-11-28 Chong Yidong <cyd@stupidchicken.com> |
926 | ||
927 | * config.in: Regenerate. | |
928 | ||
6358f8b2 KH |
929 | 2006-11-28 Kenichi Handa <handa@m17n.org> |
930 | ||
931 | * regex.c (regex_compile): Don't call SET_LIST_BIT with a | |
932 | multibyte character. | |
933 | ||
55107ae5 CY |
934 | 2006-11-27 Chong Yidong <cyd@stupidchicken.com> |
935 | ||
2b8d8474 | 936 | * s/aix4-2.h: Undefine _NO_PROTO. Suggested by Joe Buehler. |
55107ae5 | 937 | |
89692b9a KS |
938 | 2006-11-27 Kim F. Storm <storm@cua.dk> |
939 | ||
940 | * window.c (set_window_buffer): Refactor recent changes. | |
941 | ||
7e993c06 JR |
942 | 2006-11-27 Jason Rumney <jasonr@gnu.org> |
943 | ||
944 | * w32term.c (w32_msg_worker): Declare correctly. | |
945 | (w32_initialize): Don't cast w32_msg_worker. | |
946 | ||
947 | * w32fns.c (w32_msg_worker): Define as WINAPI and arg as void pointer. | |
948 | ||
fb873e6b CY |
949 | 2006-11-26 Chong Yidong <cyd@stupidchicken.com> |
950 | ||
951 | * m/amdx86-64.h: Look for standard libs in /usr/lib64 only if that | |
952 | directory exists. | |
953 | ||
69a6e74d EZ |
954 | 2006-11-25 Eli Zaretskii <eliz@gnu.org> |
955 | ||
956 | * w16select.c (Fw16_set_clipboard_data): Fix the call to sit_for | |
957 | as per the calling sequence change on 2006-07-11. | |
958 | ||
d496cfc0 CY |
959 | 2006-11-25 Chong Yidong <cyd@stupidchicken.com> |
960 | ||
961 | * window.c (set_window_buffer): Use BLOCK_INPUT. | |
962 | ||
5ee699a7 JB |
963 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
964 | ||
965 | * fns.c (substring_both): Add missing address operator. | |
966 | ||
7edbb0da SM |
967 | 2006-11-24 Stefan Monnier <monnier@iro.umontreal.ca> |
968 | ||
969 | * fns.c: Use AREF/ASIZE macros. | |
970 | (concat): Provide the full ANSI prototype. | |
971 | ||
96215ace JB |
972 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
973 | ||
974 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
975 | ||
09566666 NR |
976 | 2006-11-23 William Smith <William.Smith@global360.com> (tiny change) |
977 | ||
609b291d | 978 | * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo. |
09566666 | 979 | |
550934c8 | 980 | 2006-11-22 Alfred M. Szmidt <ams@gnu.org> (tiny change) |
6a022bd9 CY |
981 | |
982 | * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and | |
983 | /usr/pkg/lib from the library search path. | |
984 | (LD_SWITCH_X_DEFAULT): New macro. | |
985 | ||
63cb1543 CY |
986 | 2006-11-22 Chong Yidong <cyd@stupidchicken.com> |
987 | ||
988 | * window.c (set_window_buffer): Clear mouse highlight if it is in | |
989 | this window. | |
990 | ||
ca612449 CY |
991 | 2006-11-21 Chong Yidong <cyd@stupidchicken.com> |
992 | ||
993 | * xfaces.c (realize_default_face): Check if the default font name | |
994 | exists on this display before trying to use it. | |
995 | ||
a98d0b8e RS |
996 | 2006-11-21 Richard Stallman <rms@gnu.org> |
997 | ||
998 | * fileio.c: Break line before &&, not after. | |
999 | ||
1ce0a32d EZ |
1000 | 2006-11-20 Eli Zaretskii <eliz@gnu.org> |
1001 | ||
1002 | * fns.c (concat) [!__GNUC__]: Add prototype. | |
1003 | ||
565f08cd KH |
1004 | 2006-11-20 Kenichi Handa <handa@m17n.org> |
1005 | ||
1006 | * fileio.c (Fread_file_name_internal): Use SBYTES (not SCHARS) to | |
1007 | check the tailing slash of a filename. | |
1008 | ||
e15a0495 KH |
1009 | 2006-11-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change) |
1010 | ||
1011 | * indent.c (Fvertical_motion): Include composition in the case of | |
1012 | overshoot expected. | |
1013 | ||
221439a0 AS |
1014 | 2006-11-19 Andreas Schwab <schwab@gnu.org> |
1015 | ||
7edbb0da | 1016 | * xfaces.c (Fdisplay_supports_face_attributes_p): Initialize supports. |
221439a0 AS |
1017 | |
1018 | * xmenu.c (Fx_popup_menu): Initialize selection. | |
1019 | ||
bcd7101a AS |
1020 | 2006-11-18 Andreas Schwab <schwab@suse.de> |
1021 | ||
7edbb0da | 1022 | * s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Update call to mark_memory. |
bcd7101a | 1023 | |
118ddbdd JD |
1024 | 2006-11-17 Tetsurou Okazaki <okazaki@be.to> (tiny change) |
1025 | ||
1026 | * xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME | |
1027 | to avoid gcc 2.96 error. | |
1028 | ||
347d9bbe KH |
1029 | 2006-11-17 NIIMI Satoshi <sa2c@sa2c.net> (tiny change) |
1030 | ||
1031 | * search.c (simple_search): In the loop of backward searching, | |
1032 | check also the byte position against the limit. | |
1033 | ||
d089c7a8 RF |
1034 | 2006-11-14 Romain Francoise <romain@orebokech.com> |
1035 | ||
1036 | * minibuf.c (Fcompleting_read): Fix typo in docstring. | |
1037 | ||
1364f420 KH |
1038 | 2006-11-14 Kenichi Handa <handa@m17n.org> |
1039 | ||
7edbb0da | 1040 | * coding.c (code_convert_region): Initialize coding->heading_ascii. |
1364f420 KH |
1041 | (decode_coding_string, code_convert_region): Likewise. |
1042 | ||
9b150aa2 YM |
1043 | 2006-11-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1044 | ||
1045 | * config.in: Regenerate. | |
1046 | ||
1047 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
1048 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
1049 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
1050 | CGDisplayScreenSize is available. | |
1051 | ||
1052 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): | |
1053 | Replace `#ifdef HAVE_CANCELMENUTRACKING' with | |
1054 | `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030'. | |
1055 | (install_menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
1056 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
1057 | CancelMenuTracking is available. | |
1058 | ||
1059 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg) | |
1060 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
1061 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
1062 | CGContextShowGlyphsWithAdvances is available. | |
1063 | ||
52dcc2d0 JR |
1064 | 2006-11-13 Jason Rumney <jasonr@gnu.org> |
1065 | ||
1066 | * s/ms-w32.h: Define HAVE_INET_SOCKETS. | |
1067 | ||
55a314a5 YM |
1068 | 2006-11-13 Nozomu Ando <nand@mac.com> |
1069 | ||
1070 | * alloc.c (mark_memory): New argument OFFSET. All uses changed. | |
1071 | Fix address calculations for case END < START. | |
1072 | (mark_stack): Impose Lisp_Object alignment on jmp_buf. | |
1073 | ||
4cb8645c JB |
1074 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
1075 | ||
1076 | * coding.c (Fencode_sjis_char, Fencode_big5_char): | |
1077 | Improve argument/docstring consistency. | |
1078 | ||
1079 | * editfns.c (Fmessage): Doc fixes. | |
1080 | ||
1081 | * process.c (syms_of_process) <delete-exited-processes>: Doc fix. | |
1082 | ||
b071677f CY |
1083 | 2006-11-12 Chong Yidong <cyd@stupidchicken.com> |
1084 | ||
1085 | * xmenu.c (popup_activated): Define outside HAVE_MENUS. | |
1086 | ||
0924e3f6 RF |
1087 | 2006-11-12 Romain Francoise <romain@orebokech.com> |
1088 | ||
1089 | * xselect.c (selection-coding-system): Fix docstring. | |
1090 | ||
947129a2 JB |
1091 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
1092 | ||
1093 | * category.c (Fchar_category_set): Improve arg/docstring consistency. | |
1094 | ||
1095 | * data.c (Flogxor): | |
1096 | * fns.c (Frandom, Flength, Fsafe_length, Fstring_bytes) | |
1097 | (Fstring_equal, Fcompare_strings, Fstring_lessp, Fcopy_sequence) | |
1098 | (Fstring_make_unibyte): Fix typos in docstrings. | |
1099 | ||
b8e7655f JD |
1100 | 2006-11-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1101 | ||
1102 | * xterm.h (struct x_display_info): Fix indentation. | |
1103 | ||
1104 | * xterm.c (do_ewmh_fullscreen, XTfullscreen_hook): New functions. | |
1105 | (x_check_fullscreen): Call do_ewmh_fullscreen. | |
1106 | (x_initialize): Set fullscreen_hook to XTfullscreen_hook. | |
1107 | ||
1108 | * frame.c (x_set_fullscreen): Call fullscreen_hook if set. | |
1109 | ||
1110 | * term.c: Define fullscreen_hook. | |
1111 | (syms_of_term): Initialize fullscreen_hook to NULL. | |
1112 | ||
1113 | * termhooks.h: Add fullscreen_hook. | |
1114 | ||
eed1152f JB |
1115 | 2006-11-08 Juanma Barranquero <lekktu@gmail.com> |
1116 | ||
1117 | * bytecode.c (Fbyte_code): | |
1118 | * data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro. | |
1119 | ||
3dd428fa JB |
1120 | 2006-11-06 Juanma Barranquero <lekktu@gmail.com> |
1121 | ||
1122 | * lread.c (syms_of_lread): | |
1123 | * xsmfns.c (syms_of_xsmfns): Fix typo in docstring. | |
1124 | ||
e8407323 CY |
1125 | 2006-11-06 Martin Rudalics <rudalics@gmx.at> |
1126 | ||
1127 | * macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
1128 | ||
1129 | * w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
1130 | Return nil if building without menus. | |
1131 | ||
1132 | * xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
1133 | Return nil if building without menus. | |
1134 | ||
faefde36 RS |
1135 | 2006-11-05 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
1136 | ||
7edbb0da | 1137 | * s/netbsd.h (POSIX_SIGNALS): Define. |
faefde36 | 1138 | |
107709d4 EZ |
1139 | 2006-11-05 Martin Rudalics <rudalics@gmx.at> |
1140 | ||
1141 | * macmenu.c (Fmenu_or_popup_active_p): New function. | |
1142 | (syms_of_macmenu): Defsubr it. | |
1143 | ||
1144 | * w32menu.c (Fmenu_or_popup_active_p): New function. | |
1145 | (syms_of_w32menu): Defsubr it. | |
1146 | (popup_activated_flag, popup_activated): Remove. | |
1147 | ||
1148 | * xdisp.c (note_mouse_highlight) [HAVE_NTGUI]: Don't bother to | |
1149 | check popup_activated. | |
1150 | ||
1151 | * xmenu.c (Fmenu_or_popup_active_p): New function. | |
1152 | (syms_of_xmenu): Defsubr it. | |
1153 | ||
c57038f8 YM |
1154 | 2006-11-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1155 | ||
1156 | * unexmacosx.c (malloc_cookie): Remove unused variable. | |
1157 | (region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr) | |
1158 | (text_seg_lowest_offset, mh, curr_header_offset, infd, outfd) | |
1159 | (emacs_zone, data_segment_old_fileoff, data_segment_scp) | |
1160 | (num_unexec_regions, unexec_regions): Make variables static. | |
1161 | (print_regions, find_emacs_zone_regions): Make static. | |
1162 | (unexec_region_info): New typedef. | |
1163 | (unexec_regions): Change type from vm_range_t[] to unexec_region_info[]. | |
1164 | All uses changed. | |
1165 | (unexec_regions_recorder): Subtract size of trailing null pages from | |
1166 | filesize. Show filesize. | |
1167 | (unexec_regions_merge): Don't merge if null pages of preceding region | |
1168 | is not too small. Use long format in printf. | |
1169 | (copy_segment, copy_data_segment): Show filesize. | |
7edbb0da SM |
1170 | (copy_data_segment): Write filesize bytes of region data. |
1171 | Adjust filesize in segment command accordingly. | |
c57038f8 YM |
1172 | (dump_it): Use long format in printf. |
1173 | ||
60a294e2 JB |
1174 | 2006-11-05 Juanma Barranquero <lekktu@gmail.com> |
1175 | ||
1176 | * dosfns.c (Finsert_startup_screen): | |
1177 | * fns.c (Ffeaturep, syms_of_fns): | |
1178 | * frame.c (syms_of_frame): Fix typos in docstrings. | |
1179 | ||
1180 | * unexcw.c (unexec): Fix typo in output message. | |
1181 | ||
b20d6154 EZ |
1182 | 2006-11-04 Ralf Angeli <angeli@caeruleus.net> |
1183 | ||
1184 | * w32fns.c (w32_createwindow): Remove code for handling -geometry | |
1185 | command line option and `initial-frame-alist' which is superfluous | |
1186 | after the last change to `w32_createwindow'. | |
1187 | ||
ccc54d96 | 1188 | 2006-11-04 Slawomir Nowaczyk <slawek@cs.lth.se> (tiny change) |
3ac04ed0 | 1189 | |
ccc54d96 JB |
1190 | * w32proc.c (sys_wait): Only wait for processes with fd<0. |
1191 | Others should be handled by sys_select instead. Fixes problems | |
1192 | with (progn (start-process "" nil "ls") (call-process "ls")). | |
3ac04ed0 | 1193 | |
ccc54d96 | 1194 | 2006-11-04 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
8630721e CY |
1195 | |
1196 | * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to | |
1197 | avoid gcc 2.95 error. | |
1198 | ||
b20d6154 | 1199 | 2006-11-04 Chong Yidong <cyd@stupidchicken.com> |
ffbdf67b CY |
1200 | |
1201 | * gtkutil.c (update_frame_tool_bar): If icon image is invalid and | |
1202 | wicon is null, insert an empty button. | |
1203 | ||
45a26c42 JD |
1204 | 2006-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1205 | ||
1206 | * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the | |
1207 | window. | |
1208 | ||
b224de9b JB |
1209 | 2006-11-02 Juanma Barranquero <lekktu@gmail.com> |
1210 | ||
1211 | * emacs.c (Fkill_emacs): Fix typo in docstring. | |
1212 | ||
73da71f9 YM |
1213 | 2006-11-02 Nozomu Ando <nand@mac.com> |
1214 | ||
1215 | * unexmacosx.c (mach_header, segment_command, vm_region, section) | |
1216 | [_LP64]: New defines. | |
1217 | (VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT) | |
1218 | (MH_MAGIC) [_LP64]: Redefine. | |
1219 | (delta): Remove variable. | |
1220 | (curr_file_offset, pagesize): New variables. | |
1221 | (ROUNDUP_TO_PAGE_BOUNDARY): New macro. | |
1222 | (data_segment_old_fileoff): Initialize explicitly. | |
1223 | (print_region, unexec_regions_recorder, print_load_command_name) | |
1224 | (copy_segment, copy_data_segment): Use long format in printf. | |
1225 | (MAX_UNEXEC_REGIONS): Increase to 400. | |
1226 | (unexec_regions_recorder): Don't warn too many regions here. | |
1227 | (find_emacs_zone_regions): Warn too many regions here. | |
1228 | (print_load_command_name) [_LP64]: Show correct load command name. | |
1229 | (copy_segment, copy_data_segment): Use variable `curr_file_offset'. | |
1230 | Show starting virtual memory address. Don't show ending file offset. | |
1231 | (copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA. | |
1232 | (dump_it): Use new local variable `linkedit_delta' and pass to them. | |
1233 | Error if trying to handle multiple DATA segments. | |
1234 | (unexec): Initialize variable `pagesize'. | |
1235 | ||
ebc20ca0 JB |
1236 | 2006-11-01 Juanma Barranquero <lekktu@gmail.com> |
1237 | ||
1238 | * eval.c (Fcatch): Doc fix. | |
1239 | ||
6ceb8058 YM |
1240 | 2006-10-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1241 | ||
1242 | * image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v) | |
5e1a6e32 | 1243 | (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h) |
6ceb8058 YM |
1244 | (xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key) |
1245 | (xpm_load_image): Add const qualifier to arguments. | |
1246 | [MAC_OS] (xpm_color_key_strings): Make static const. | |
1247 | ||
1248 | * mac.c (create_apple_event_from_event_ref) | |
1249 | (create_apple_event_from_drag_ref, skip_white_space, parse_comment) | |
1250 | (parse_include_file, parse_binding, parse_component) | |
1251 | (parse_resource_name, parse_value, parse_resource_line) | |
1252 | (xrm_merge_string_database, xrm_get_resource) | |
1253 | (xrm_get_preference_database): Add const qualifier to arguments. | |
1254 | [MAC_OSX] (sys_select): Make variable `context' static const. | |
1255 | ||
1256 | * macfns.c (mac_color_map): Make static const. | |
1257 | (mac_color_map_lookup): Add const qualifier to arguments. | |
1258 | ||
1259 | * macmenu.c (install_menu_quit_handler): Make variable `typesList' | |
1260 | static const. | |
1261 | (name_is_separator): Add const qualifier to arguments. | |
1262 | ||
1263 | * macselect.c (init_service_handler): Make variable `specs' static | |
1264 | const. | |
1265 | ||
1266 | * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable | |
1267 | `swap_nibbles' static const. | |
1268 | (atsu_get_text_layout_with_text_ptr): Make variables `lengths', | |
1269 | `tags', `sizes', `values' static const. | |
7edbb0da SM |
1270 | (mac_draw_string_common): Make variables `context' static. |
1271 | Make variables `tags', `sizes', and `values' static const. | |
6ceb8058 YM |
1272 | (pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click) |
1273 | (xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match) | |
1274 | (mac_to_x_fontname, parse_x_font_name, add_mac_font_name) | |
1275 | (mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window) | |
1276 | (mac_store_event_ref_as_apple_event, mac_make_rdb): Add const | |
1277 | qualifier to arguments. | |
1278 | (xlfd_scalable_fields, keycode_to_xkeysym_table) | |
1279 | (fn_keycode_to_keycode_table): Make static const. | |
1280 | (mac_load_query_font): Make variables `tags', `sizes', `values', | |
1281 | `types', and `selectors' static const. | |
7edbb0da SM |
1282 | (mac_handle_command_event, mac_handle_window_event): |
1283 | Make variables `names' and `types' static const. | |
6ceb8058 YM |
1284 | (init_command_handler, install_window_handler): Make variables |
1285 | `specs*' static const. | |
1286 | (mac_handle_font_event, mac_handle_text_input_event) | |
1287 | (mac_store_service_event): Make variables `names' and `types' | |
1288 | const. Make variables `names_*' and `types_*' static const. | |
1289 | ||
1290 | * macterm.h (create_apple_event_from_event_ref) | |
1291 | (create_apple_event_from_drag_ref, xrm_merge_string_database) | |
1292 | (xrm_get_resource, xrm_get_preference_database): Add const | |
1293 | qualifier to arguments in externs. | |
1294 | ||
7147863a KH |
1295 | 2006-10-31 Kenichi Handa <handa@m17n.org> |
1296 | ||
1297 | * xfns.c (xic_create_xfontset): Fix previous change. | |
1298 | ||
78667db7 CY |
1299 | 2006-10-30 Chong Yidong <cyd@stupidchicken.com> |
1300 | ||
1301 | * s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and | |
1302 | /usr/pkg/lib to library search path. | |
1303 | ||
ebc20ca0 | 1304 | 2006-10-29 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
8d31e373 CY |
1305 | |
1306 | * ralloc.c (relinquish): Use a long for excess space counter to | |
1307 | handle 64-bit case correctly. | |
1308 | ||
1dbfd8e3 CY |
1309 | 2006-10-29 Jeramey Crawford <jeramey@jeramey.com> |
1310 | ||
1311 | * m/amdx86-64.h: Add defines for OpenBSD x86-64. | |
1312 | ||
856bb2b0 JB |
1313 | 2006-10-29 Juanma Barranquero <lekktu@gmail.com> |
1314 | ||
1315 | * window.c (Fdisplay_buffer): Fix typo in docstring. | |
1316 | ||
4975e695 JB |
1317 | 2006-10-27 Ben North <ben@redfrontdoor.org> (tiny change) |
1318 | ||
1319 | * w32term.c (x_draw_glyph_string_foreground): Set background mode | |
1320 | to TRANSPARENT before using overstrike to simulate bold faces. | |
1321 | ||
1322 | * xfaces.c (best_matching_font): Fix logic to decide whether to | |
1323 | use overstriking to simulate bold-face (it was reversed). | |
1324 | ||
cbfe778a KS |
1325 | 2006-10-23 Kim F. Storm <storm@cua.dk> |
1326 | ||
4975e695 JB |
1327 | * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not |
1328 | initialized. | |
a4614668 | 1329 | |
cbfe778a KS |
1330 | * keyboard.c (read_char): Make an element (t . EVENT) in |
1331 | unread-command-events add EVENT to the current command's key sequence. | |
1332 | (syms_of_keyboard) <unread-command-events>: Update doc. | |
1333 | ||
627fb581 RS |
1334 | 2006-10-21 Richard Stallman <rms@gnu.org> |
1335 | ||
1336 | * minibuf.c (Vread_expression_map): Define here. | |
1337 | (Qread_expression_history): New variable. | |
1338 | (syms_of_minibuf): Initialize them. | |
1339 | (Feval_minibuffer): Use Vread_expression_map and | |
1340 | Qread_expression_history. | |
1341 | ||
cd987aaa KH |
1342 | 2006-10-21 Kenichi Handa <handa@m17n.org> |
1343 | ||
1344 | * xfns.c (xic_create_fontsetname): If ADSTYLE field is not a wild | |
1345 | card, change it to "*". | |
1346 | (xic_create_xfontset): Call XCreateFontSet for each single | |
1347 | fontname in fontsetname. | |
1348 | ||
55b41ef5 CY |
1349 | 2006-10-19 Chong Yidong <cyd@stupidchicken.com> |
1350 | ||
1351 | * callint.c (callint_message): Convert to a Lisp string. | |
1352 | (syms_of_callint): Initialize it. | |
1353 | (callint_message_size): Var deleted. | |
1354 | (Fcall_interactively): Use Fformat instead of doprnt to construct | |
1355 | prompt string. | |
1356 | ||
cc7aa8dc KS |
1357 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1358 | ||
1359 | * xdisp.c (display_mode_line): Clear enabled_p flag on mode-line row. | |
1360 | ||
045b1908 YM |
1361 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1362 | ||
1363 | * macfns.c (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]: | |
1364 | New variable. | |
1365 | (syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it. | |
1366 | ||
866f8518 JD |
1367 | 2006-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1368 | ||
1369 | * xselect.c (x_handle_selection_request): If the converted_selection | |
14a56a1b | 1370 | is nil or XCDR (converted_selection) is nil, decline the request. |
866f8518 | 1371 | |
b43da352 JD |
1372 | 2006-10-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1373 | ||
1374 | * gtkutil.c (get_utf8_string): Remove warnings with casts. | |
7edbb0da | 1375 | (xg_tool_bar_button_cb): Ditto. |
b43da352 JD |
1376 | (xg_tool_bar_callback): Ditto. |
1377 | ||
7c682cf1 YM |
1378 | 2006-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1379 | ||
1380 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Remove unused | |
1381 | variable ch_dim. | |
1382 | (adjust_frame_glyphs_for_window_redisplay): Likewise. Don't allocate | |
1383 | menu bar window matrices on non-X systems. | |
1384 | ||
1385 | * mac.c (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs. | |
1386 | ||
1387 | * macterm.c (mac_query_char_extents): Don't return glyph ID if layout | |
1388 | adjustment is needed. | |
1389 | (mac_load_query_font): Check if width and height are positive. | |
1390 | ||
563964ae RS |
1391 | 2006-10-14 Richard Stallman <rms@gnu.org> |
1392 | ||
1393 | * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place. | |
1394 | ||
98721beb CY |
1395 | 2006-10-13 Chong Yidong <cyd@stupidchicken.com> |
1396 | ||
1397 | * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame | |
1398 | title. | |
1399 | ||
eae637ec CY |
1400 | 2006-10-12 Chong Yidong <cyd@stupidchicken.com> |
1401 | ||
1402 | * keymap.c (Fkey_binding): Check Lisp_Object types before doing | |
1403 | XCAR and XINT. | |
1404 | ||
431feaf6 RF |
1405 | 2006-10-12 Romain Francoise <romain@orebokech.com> |
1406 | ||
1407 | * image.c (xbm_read_bitmap_data): Delete extra semicolon. | |
1408 | ||
de9855d5 SM |
1409 | 2006-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1410 | ||
b70e1a2b SM |
1411 | * eval.c: Include xterm.h for x_fully_uncatch_errors and friends. |
1412 | ||
1413 | * dispextern.h: Declare x_create_bitmap_from_xpm_data. | |
1414 | ||
1415 | * xterm.c (x_check_expected_move): Remove unused var `count'. | |
1416 | ||
de9855d5 SM |
1417 | * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since |
1418 | Fdefalias is not declared in any *.h file. | |
1419 | ||
394ccd7d CY |
1420 | 2006-10-09 Chong Yidong <cyd@stupidchicken.com> |
1421 | ||
2bcac766 CY |
1422 | * dispnew.c (sit_for): Sit forever if TIMEOUT is t. |
1423 | ||
1424 | * keyboard.c (command_loop_1): Handle non-number values of | |
1425 | `minibuffer-message-timeout'. | |
1426 | (Fexecute_extended_command): Fix typo. | |
1427 | ||
394ccd7d CY |
1428 | * minibuf.c (temp_echo_area_glyphs): Sit for |
1429 | `minibuffer-message-timeout' seconds. | |
1430 | ||
bb420759 YM |
1431 | 2006-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1432 | ||
de9855d5 SM |
1433 | * macterm.c (mac_draw_image_string, mac_draw_image_string_16): |
1434 | Add argument OVERSTRIKE_P. | |
bb420759 YM |
1435 | (mac_draw_string_common, mac_draw_image_string_cg): Likewise. |
1436 | Support overstrike. | |
1437 | (mac_draw_string, mac_draw_string_16): Remove functions. | |
1438 | (x_draw_glyph_string_foreground): Use overstrike when needed. | |
de9855d5 SM |
1439 | (x_draw_composite_glyph_string_foreground): Likewise. |
1440 | Use mac_draw_image_string_16 instead of mac_draw_string_16. | |
4975e695 JB |
1441 | (mac_load_query_font): Rename from XLoadQueryFont. Take argument |
1442 | F instead of DPY. All uses changed. Don't save/restore font. | |
bb420759 | 1443 | |
2770d589 JR |
1444 | 2006-10-07 Ralf Angeli <angeli@caeruleus.net> |
1445 | ||
1446 | * w32fns.c (w32_createwindow): Honour left and top positions if | |
1447 | supplied explicitly. | |
1448 | ||
ee37d135 KS |
1449 | 2006-10-06 Kim F. Storm <storm@cua.dk> |
1450 | ||
1451 | * xdisp.c (pos_visible_p): Fix value when EOB is visible. | |
1452 | ||
26c34ec2 CY |
1453 | 2006-10-05 Chong Yidong <cyd@stupidchicken.com> |
1454 | ||
1455 | * frame.c (Qinhibit_face_set_after_frame_default): New var. | |
1456 | (syms_of_frame): Initialize it. | |
1457 | (x_set_frame_parameters): Avoid resetting :font attributes to the | |
1458 | new-frame defaults. | |
1459 | ||
54dd3310 SM |
1460 | 2006-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
1461 | ||
1462 | * lisp.h (clear_regexp_cache): Declare. | |
1463 | ||
1464 | * search.c (compile_pattern): Only check `cp->syntax_table' if needed. | |
1465 | (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. | |
1466 | (clear_regexp_cache): Only flush those regexps which depend on | |
1467 | a syntax-table. | |
1468 | ||
1469 | * regex.c (regex_compile): Set the new `used_syntax' bit. | |
1470 | ||
1471 | * regex.h: Remove file local variables. | |
1472 | (struct re_pattern_buffer): New field `used_syntax'. | |
1473 | ||
73812be6 KS |
1474 | 2006-10-03 Kim F. Storm <storm@cua.dk> |
1475 | ||
1476 | * process.c (list_processes_1): Run sentinels before removing dead | |
1477 | processes. Also remove `closed' network connections. | |
1478 | ||
2201c41c SM |
1479 | 2006-10-01 Stefan Monnier <monnier@iro.umontreal.ca> |
1480 | ||
1481 | * xdisp.c (handle_fontified_prop): Don't fontify at EOB. | |
1482 | ||
79e01e93 EZ |
1483 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> |
1484 | ||
4975e695 | 1485 | * config.in: Regenerated. |
79e01e93 | 1486 | |
f9df5f68 JL |
1487 | 2006-09-29 Juri Linkov <juri@jurta.org> |
1488 | ||
1489 | * buffer.c (syms_of_buffer): Reorder coding systems in the | |
1490 | docstring of %z to the real order displayed in the modeline. | |
1491 | ||
7ae8428d SM |
1492 | 2006-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
1493 | ||
1494 | * keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM). | |
1495 | ||
14a7cabf CY |
1496 | 2006-09-26 Chong Yidong <cyd@stupidchicken.com> |
1497 | ||
1498 | * indent.c (Fvertical_motion): Do move back if the Lisp string | |
1499 | being displayed contains newlines. | |
1500 | ||
444a42fd YM |
1501 | 2006-09-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1502 | ||
1503 | * macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont) | |
1504 | [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds. | |
1505 | ||
4ccaff67 KH |
1506 | 2006-09-26 Kenichi Handa <handa@m17n.org> |
1507 | ||
1508 | * keymap.c (Fsingle_key_description): For an invalid char, return | |
1509 | "Invalid char code NNNNN". | |
1510 | ||
2a95a27c CY |
1511 | 2006-09-25 Chong Yidong <cyd@stupidchicken.com> |
1512 | ||
1513 | * callint.c (Fcall_interactively): Doc fix. | |
1514 | ||
cf2c6835 YM |
1515 | 2006-09-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1516 | ||
1517 | * macterm.c (x_underline_at_descent_line): New variable. | |
1518 | (syms_of_macterm): DEFVAR_BOOL it. | |
1519 | (x_draw_glyph_string): Use it. | |
1520 | (XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent. | |
1521 | ||
173517c6 KH |
1522 | 2006-09-25 Kenichi Handa <handa@m17n.org> |
1523 | ||
1524 | * keymap.c (Fsingle_key_description): Return unique names for | |
1525 | generic characters. | |
1526 | ||
45c912f2 RS |
1527 | 2006-09-24 Richard Stallman <rms@gnu.org> |
1528 | ||
1529 | * search.c (compile_pattern_1): Don't BLOCK_INPUT. | |
1530 | ||
1133f8e7 EZ |
1531 | 2006-09-24 Eli Zaretskii <eliz@gnu.org> |
1532 | ||
de9855d5 SM |
1533 | * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): |
1534 | Depend on nt/inc/langinfo.h and nt/inc/nl_types.h. | |
8f59d602 EZ |
1535 | |
1536 | * w32proc.c (nl_langinfo): New function. | |
1537 | ||
1133f8e7 EZ |
1538 | * w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta) |
1539 | (w32-pass-lwindow-to-system, w32-enable-num-lock) | |
1540 | (w32-enable-caps-lock, w32-scroll-lock-modifier) | |
1541 | (w32-lwindow-modifier, w32-rwindow-modifier) | |
1542 | (w32-apps-modifier, w32-mouse-button-tolerance): Doc fix. | |
1543 | ||
ba5524f4 JB |
1544 | 2006-09-23 Juanma Barranquero <lekktu@gmail.com> |
1545 | ||
1546 | * minibuf.c (Finternal_complete_buffer, Fread_minibuffer) | |
1547 | (Fdisplay_completion_list): Fix typos in docstrings. | |
1548 | ||
47a0ee40 RF |
1549 | 2006-09-23 Romain Francoise <romain@orebokech.com> |
1550 | ||
1551 | * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too. | |
1552 | ||
5dfe789c KH |
1553 | 2006-09-23 Kenichi Handa <handa@m17n.org> |
1554 | ||
ba5524f4 | 1555 | * keymap.c (Fmap_keymap): Docstring mentions about generic character. |
5dfe789c | 1556 | |
4560a582 SM |
1557 | 2006-09-22 Stefan Monnier <monnier@iro.umontreal.ca> |
1558 | ||
1559 | * regex.c (analyse_first): For eight-bit-control chars, mark both the | |
1560 | char's value and its leading byte in the fastmap. | |
1561 | (re_search_2): When fast-scanning without translation, be careful to | |
1562 | check that we only match the leading byte of a multibyte char. | |
1563 | ||
1564 | * charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's | |
1565 | byte sequence. | |
1566 | (AT_CHAR_BOUNDARY): New macro. | |
1567 | ||
2e77924d KH |
1568 | 2006-09-22 Kenichi Handa <handa@m17n.org> |
1569 | ||
1570 | * fns.c (optimize_sub_char_table): Don't optimize a sub-char-table | |
1571 | whose default value is non-nil. | |
1572 | ||
66687b7c JD |
1573 | 2006-09-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1574 | ||
db4fd914 | 1575 | * gtkutil.c (xg_get_file_with_chooser): Only show C-l help for |
782447bd JD |
1576 | Gtk+ versions < 2.10. |
1577 | ||
66687b7c JD |
1578 | * xfns.c (syms_of_xfns): Fix typo in help text for |
1579 | x-gtk-file-dialog-help-text. | |
1580 | ||
b521ddce KS |
1581 | 2006-09-21 Kim F. Storm <storm@cua.dk> |
1582 | ||
1583 | * fns.c (Fmemq): Refill doc string. | |
1584 | (Fmemql): New defun, like memq but using eql. | |
1585 | (syms_of_fns): Defsubr it. | |
1586 | ||
d0e0bd5f KS |
1587 | 2006-09-20 Kim F. Storm <storm@cua.dk> |
1588 | ||
1589 | * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for | |
1590 | last visible glyph in window. | |
1591 | ||
a4df1f8b | 1592 | * window.c (Fset_window_hscroll, Fwindow_line_height): |
d0e0bd5f KS |
1593 | Doc fix. Use "off-window" instead of "off-screen". |
1594 | (Fpos_visible_in_window_p): Likewise. | |
1595 | If POS is t, return info for last visible glyph in window. | |
1596 | ||
b69e3c18 CY |
1597 | 2006-09-19 Chong Yidong <cyd@stupidchicken.com> |
1598 | ||
1599 | * search.c (struct regexp_cache): New entry syntax_table. | |
1600 | (compile_pattern_1): Set it. | |
1601 | (syms_of_search): Initialize it. | |
1602 | (compile_pattern): Require the syntax_table entry of the cache | |
1603 | element to match the current syntax table entry. | |
1604 | ||
31790df3 SM |
1605 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
1606 | ||
1607 | * window.c (Fwindow_end): Fix recent change. | |
1608 | ||
06e6b4be KS |
1609 | 2006-09-19 Kim F. Storm <storm@cua.dk> |
1610 | ||
1611 | * window.c (Fset_window_hscroll, Fpos_visible_in_window_p): | |
1612 | Doc fix. Use "off-screen" instead of "invisible". | |
1613 | (Fwindow_line_height): Make line numbers 0-based. Make line arg | |
1614 | optional; if nil, use current cursor row. Handle text terminals | |
1615 | properly. Return nil if non-interactive or pseudo-window. | |
1616 | ||
08e26e8b SM |
1617 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
1618 | ||
1619 | * keymap.c: Include alloca.h if available. | |
1620 | (Fkey_binding): Only use AREF after checking it's a vector. | |
1621 | Remove unused var `window'. | |
1622 | ||
61973eb6 YM |
1623 | 2006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1624 | ||
1625 | * emacs.c (shut_down_emacs) [!subprocesses]: Don't set | |
1626 | inhibit_sentinels. | |
1627 | ||
1628 | * mac.c [!MAC_OSX] (select): Fix argument name. | |
1629 | ||
1630 | * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and | |
1631 | menu ID for Apple menu. | |
1632 | (menubar_selection_callback): Remove function. | |
1633 | (find_and_call_menu_selection): New function from xmenu.c. | |
1634 | (x_activate_menubar): Use it. | |
1635 | (set_frame_menubar): Don't use f->output_data.mac->menubar_active. | |
1636 | ||
1637 | * macterm.c (menubar_selection_callback): Remove extern. | |
1638 | (M_APPLE): Change to 234. | |
1639 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static. | |
1640 | (do_menu_choice): Remove function. | |
1641 | ||
1642 | * macterm.h (struct mac_output): Remove member menubar_active. | |
1643 | (do_menu_choice): Remove extern. | |
1644 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern. | |
1645 | ||
1dd3c9b6 JD |
1646 | 2006-09-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1647 | ||
1a2b3a9f JD |
1648 | * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to |
1649 | x_gtk_file_dialog_help_text. | |
1650 | ||
1dd3c9b6 JD |
1651 | * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog |
1652 | to x-gtk-use-old-file-dialog. | |
1a2b3a9f JD |
1653 | (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to |
1654 | x_gtk_file_dialog_help_text. | |
1dd3c9b6 JD |
1655 | |
1656 | * xfns.c (syms_of_xfns): Ditto. | |
1657 | ||
661bdc06 KS |
1658 | 2006-09-18 Kim F. Storm <storm@cua.dk> |
1659 | ||
1660 | * window.c (Fwindow_line_visibility): Remove. | |
1661 | (Fwindow_line_height): New defun replacing it. | |
1662 | (syms_of_window): Defsubr it. | |
1663 | ||
37228c38 YM |
1664 | 2006-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1665 | ||
1666 | * mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1. | |
1667 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type. | |
1668 | ||
a688d8b5 JB |
1669 | 2006-09-17 Jay Belanger <belanger@truman.edu> |
1670 | ||
1671 | * gmalloc.c: | |
1672 | * md5.c: | |
1673 | * md5.h: | |
1674 | * strftime.c: Replace "GNU Library General Public License" by "GNU | |
1675 | General Public License" throughout. | |
1676 | ||
059fd1a1 KS |
1677 | 2006-09-17 Kim F. Storm <storm@cua.dk> |
1678 | ||
1679 | * dispnew.c (update_text_area): Undo 2000-07-18 change. | |
1680 | Always redrawing whole row if line has mouse-face in it causes | |
1681 | excessive flickering of the mode line. | |
1682 | ||
e5b94d44 CY |
1683 | 2006-09-17 Chong Yidong <cyd@stupidchicken.com> |
1684 | ||
1685 | * search.c (clear_regexp_cache): New function. | |
1686 | ||
1687 | * syntax.c (Fmodify_syntax_entry): Clear regexp cache. | |
1688 | ||
241ad3ca JD |
1689 | 2006-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1690 | ||
31790df3 SM |
1691 | * gtkutil.c (xg_get_file_with_chooser): |
1692 | Check x-gtk-show-chooser-help-text before adding the help text. | |
fbce5860 JD |
1693 | |
1694 | * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text. | |
1695 | ||
241ad3ca JD |
1696 | * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+ |
1697 | will simply crash if we fail. | |
1698 | ||
6875fe9a RS |
1699 | 2006-09-16 Richard Stallman <rms@gnu.org> |
1700 | ||
1701 | * regex.c (re_compile_pattern): Set gl_state.current_syntax_table. | |
1702 | ||
0c9337fb KS |
1703 | 2006-09-15 Kim F. Storm <storm@cua.dk> |
1704 | ||
1705 | * window.c (Fwindow_line_visibility): New defun for line-move-partial. | |
1706 | (syms_of_window): Defsubr it. | |
1707 | (Fwindow_end): Use window's buffer rather than current buffer. | |
1708 | ||
45a2056c JB |
1709 | 2006-09-15 Jay Belanger <belanger@truman.edu> |
1710 | ||
1711 | * COPYING: Replace "Library Public License" by "Lesser Public | |
1712 | License" throughout. | |
1713 | ||
b74e16a3 DK |
1714 | 2006-09-15 David Kastrup <dak@gnu.org> |
1715 | ||
de9855d5 | 1716 | * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. |
b74e16a3 DK |
1717 | |
1718 | * keymap.c: include "window.h". | |
1719 | (Fcommand_remapping): New optional POSITION argument. | |
1720 | (Fkey_binding): New optional POSITION argument. Completely rework | |
1721 | handling of mouse clicks to get the same order of keymaps as | |
1722 | `read-key-sequence' and heed POSITION. Also temporarily switch | |
1723 | buffers to location of mouse click and back. | |
1724 | ||
1725 | * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' | |
1726 | for additional argument. | |
1727 | (parse_menu_item): Adjust call of `Fkey_binding' for additional | |
1728 | argument. | |
1729 | (read_key_sequence): If there are both `local-map' and `keymap' | |
1730 | text properties at some buffer position, heed both. | |
1731 | ||
1732 | * keymap.h: Declare additional optional arguments of | |
1733 | `Fcommand_remapping' and `Fkey_binding'. | |
1734 | ||
6cb66a31 JB |
1735 | 2006-09-15 Juanma Barranquero <lekktu@gmail.com> |
1736 | ||
1737 | * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring. | |
1738 | ||
cd3587c1 AS |
1739 | 2006-09-14 Andreas Schwab <schwab@suse.de> |
1740 | ||
1741 | * print.c: Whitespace fixup. | |
1742 | ||
84be646f KS |
1743 | 2006-09-14 Kim F. Storm <storm@cua.dk> |
1744 | ||
1745 | * xdisp.c (produce_image_glyph): Automatically crop wide images at | |
1746 | right window edge so we can draw the cursor on the same row to | |
1747 | avoid confusing redisplay by placing the cursor outside the visible | |
1748 | window area. | |
1749 | ||
856bb2b0 | 1750 | 2006-09-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
98a20c65 CY |
1751 | |
1752 | * xterm.c (x_initialize): Don't install Xt event timer here. | |
1753 | (x_timeout_atimer_activated_flag): New var. | |
1754 | (x_activate_timeout_atimer): New function to install Xt timer. | |
1755 | (x_send_scroll_bar_event, x_process_timeouts): Use it. | |
1756 | ||
1757 | * xmenu.c (x_menu_set_in_use, popup_activate_callback) | |
1758 | (create_and_show_popup_menu, create_and_show_dialog): Use it. | |
1759 | ||
2371cbe9 | 1760 | * xterm.h (x_activate_timeout_atimer): Add prototype. |
98a20c65 | 1761 | |
efb15f96 RS |
1762 | 2006-09-13 Richard Stallman <rms@gnu.org> |
1763 | ||
1764 | * print.c (print_string): When printcharfun is t, | |
1765 | copy string contents and call strout on the copy. | |
1766 | ||
1767 | * keyboard.c (read_char): If end_time specified, don't put the | |
1768 | event into this_command_keys. | |
1769 | (read_key_sequence): If Voverriding_terminal_local_map is specified, | |
1770 | don't check Voverriding_local_map at all. | |
1771 | ||
1baa749c | 1772 | 2006-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
52c0f270 CY |
1773 | |
1774 | * textprop.c (Fnext_property_change, Fnext_single_property_change) | |
1775 | (Fprevious_property_change, Fprevious_single_property_change): | |
1776 | Avoid changing limit, so we can correctly catch the case where the | |
1777 | property is constant up to limit. | |
1778 | ||
eee81f5d YM |
1779 | 2006-09-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1780 | ||
1781 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1782 | * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1783 | Undo 2006-09-08 change. | |
1784 | ||
91197db4 CY |
1785 | 2006-09-11 Chong Yidong <cyd@stupidchicken.com> |
1786 | ||
1787 | * keymap.c (Fkey_binding): Use string position for string objects. | |
1788 | ||
83279b3e KS |
1789 | 2006-09-11 Kim F. Storm <storm@cua.dk> |
1790 | ||
9a71d7de KS |
1791 | * keymap.c (Fkey_binding): Fix last change. |
1792 | ||
83279b3e KS |
1793 | * editfns.c (Fmessage): Recommend using (message "%s" ...). |
1794 | ||
b067ddb6 CY |
1795 | 2006-09-10 Chong Yidong <cyd@stupidchicken.com> |
1796 | ||
1797 | * keymap.c (Fkey_binding): Check for local keymap for mouse click | |
1798 | events. | |
1799 | ||
322dd254 KS |
1800 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
1801 | ||
606fd469 KS |
1802 | * keyboard.c (Finput_pending_p): Check Vunread_input_method_events |
1803 | and Vunread_post_input_method_events. | |
1804 | ||
322dd254 KS |
1805 | * dispnew.c (Fredisplay): Document return value. |
1806 | ||
437b2a15 JD |
1807 | 2006-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1808 | ||
1809 | * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. | |
1810 | ||
1811 | * gtkutil.c (xg_display_close): Always change default display if needed, | |
1812 | check for < Gtk+ version 2.10 before calling gdk_display_close. | |
1813 | ||
6eeee4d6 YM |
1814 | 2006-09-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1815 | ||
eee81f5d YM |
1816 | * mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly. |
1817 | Make variable `ofds' static. Remove variable `maxfd'. | |
6eeee4d6 | 1818 | |
6cb66a31 JB |
1819 | * macfns.c (Fx_file_dialog): Remove unused variable `f'. |
1820 | Call check_mac. | |
6eeee4d6 | 1821 | |
eee81f5d | 1822 | * macmenu.c (Vmenu_updating_frame, syms_of_macmenu): |
6cb66a31 JB |
1823 | * w32menu.c (Vmenu_updating_frame, syms_of_w32menu): |
1824 | Apply 2006-09-08 change for xmenu.c. | |
6eeee4d6 | 1825 | |
d7b1ea44 | 1826 | * xfns.c (Fx_file_dialog): Call check_x. |
6eeee4d6 | 1827 | |
f90660aa KS |
1828 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
1829 | ||
1830 | * xdisp.c (get_window_cursor_type): Use hollow cursor on | |
1831 | non-transparent images. | |
1832 | ||
c048d606 EZ |
1833 | 2006-09-09 Eli Zaretskii <eliz@gnu.org> |
1834 | ||
1835 | * editfns.c (Fsystem_name): Mention "host" in the doc string. | |
1836 | (syms_of_editfns) <system-name>: Likewise. | |
1837 | ||
f4cfdbbe | 1838 | 2006-09-08 Martin Rudalics <rudalics@gmx.at> |
92b23323 | 1839 | |
4560a582 | 1840 | * xdisp.c (mouse_autoselect_window): Remove. |
92b23323 CY |
1841 | (Vmouse_autoselect_window): New variable. DEFVAR_LISP it. |
1842 | ||
1843 | * dispextern.h (mouse_autoselect_window): Remove extern. | |
1844 | (Vmouse_autoselect_window): Add extern. | |
1845 | ||
1846 | * macterm.c (XTread_socket): Test Vmouse_autoselect_window | |
1847 | instead of mouse_autoselect_window. | |
1848 | ||
1849 | * msdos.c (dos_rawgetc): Likewise. | |
1850 | ||
1851 | * w32term.c (w32_read_socket): Likewise. | |
1852 | ||
1853 | * xterm.c (handle_one_xevent): Likewise. | |
1854 | ||
d799329b RS |
1855 | 2006-09-08 Richard Stallman <rms@gnu.org> |
1856 | ||
af09dd78 RS |
1857 | * xdisp.c (Vmenu_updating_frame): Define here. |
1858 | (syms_of_xdisp): DEFVAR it here. | |
1859 | (update_menu_bar): Always return hooks_run. | |
1860 | Set Vmenu_updating_frame. | |
c989bc87 | 1861 | |
af09dd78 RS |
1862 | * xdisp.c (redisplay_internal): Test Vinhibit_redisplay |
1863 | before calculating SELECTED_FRAME. | |
1864 | ||
1865 | * xmenu.c (Vmenu_updating_frame): Don't define here. | |
1866 | (syms_of_xmenu): Don't DEFVAR it here. | |
1867 | ||
1868 | * xterm.c (x_error_quitter): For BadName error, just return. | |
1869 | ||
d799329b RS |
1870 | * eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P. |
1871 | ||
1872 | * casetab.c (init_casetab_once): Call set_case_table. | |
1873 | ||
1874 | * emacs.c (shut_down_emacs): Set inhibit_sentinels. | |
1875 | ||
1876 | * process.c (inhibit_sentinels): New variable. | |
1877 | (exec_sentinel): Test inhibit_sentinels. | |
1878 | (init_process): Initialize it. | |
1879 | ||
1880 | * process.h (inhibit_sentinels): Add decl. | |
1881 | ||
1882 | * search.c (looking_at_1, string_match_1, search_command): | |
1883 | Make syntax table's canon table point to eqv table. | |
1884 | ||
bcdbfd36 AS |
1885 | 2006-09-08 Andreas Schwab <schwab@suse.de> |
1886 | ||
1887 | * print.c (strout): Fix whitespace. | |
1888 | ||
70c6267a KS |
1889 | 2006-09-08 Kim F. Storm <storm@cua.dk> |
1890 | ||
1891 | * xterm.c (x_draw_glyph_string): Fix 2006-08-24 change. | |
1892 | ||
9deaefb7 YM |
1893 | 2006-09-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1894 | ||
1895 | * mac.c [!MAC_OSX]: Don't include keyboard.h. | |
1896 | [!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent | |
1897 | in the same BLOCK_INPUT block, in case that some input has already | |
1898 | been read asynchronously. Pretend to be interrupted by a signal | |
1899 | if some input is available. | |
1900 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
1901 | (SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000. | |
1902 | Now used for ReceiveNextEvent timeout instead of select timeout. | |
1903 | (EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro. | |
1904 | [SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect | |
1905 | support. Quit event loop. | |
1906 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking | |
1907 | connect support. Reuse previously allocated CFRunLoopSource. | |
1908 | (Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function. | |
1909 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
1910 | ||
1911 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1912 | Specify kWindowAsyncDragAttribute. | |
1913 | ||
1914 | * macterm.c (mac_handle_origin_change, mac_handle_size_change) | |
1915 | (mac_get_ideal_size): New functions. | |
1916 | (x_set_offset, x_set_window_size, x_make_frame_visible) | |
1917 | (do_zoom_window, mac_handle_window_event, XTread_socket): Use them. | |
1918 | (install_window_handler, mac_handle_window_event) | |
1919 | [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and | |
1920 | kEventWindowBoundsChanged. | |
1921 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call | |
1922 | DragWindow. | |
70c6267a | 1923 | |
d7695a63 AS |
1924 | 2006-09-07 Andreas Schwab <schwab@suse.de> |
1925 | ||
1926 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to | |
1927 | use lib64 instead of lib. | |
1928 | ||
be9b5a60 SM |
1929 | 2006-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
1930 | ||
1931 | * Makefile.in: Avoid double quotes when possible. | |
1932 | ||
04e28558 KH |
1933 | 2006-09-06 Kenichi Handa <handa@m17n.org> |
1934 | ||
1935 | * editfns.c (Fformat_time_string): Use make_unibyte_string to make | |
1936 | a Lisp string from the result of emacs_memftimeu call. | |
1937 | ||
902f06ed KS |
1938 | 2006-09-06 Kim F. Storm <storm@cua.dk> |
1939 | ||
1940 | * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg; | |
f90660aa KS |
1941 | so calculate heights even when pos-visible-in-window-p is called |
1942 | with partially = t. Don't overshoot last_visible_y in move_it_to. | |
1943 | Return row height and row number in new rowh and vpos args. | |
1944 | (cursor_row_fully_visible_p): First line is always "fully visible". | |
902f06ed KS |
1945 | (try_window): Don't clear matrix if vscrolled. |
1946 | ||
1947 | * lisp.h (pos_visible_p): Update prototype. | |
1948 | ||
1949 | * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p. | |
1950 | Return row height and row number for partially visible rows. | |
647b07d1 AS |
1951 | Modify return value to a 2 element list for fully visible rows and |
1952 | 6 for partially visible row. | |
902f06ed | 1953 | (window_scroll_pixel_based): Use pos_visible_p directly instead of |
647b07d1 AS |
1954 | Fpos_visible_in_window_p. Fix auto vscrolling for partially |
1955 | visible lines. Only vscroll backwards if already vscrolled | |
1956 | forwards. Unconditionally vscroll forwards if PT is first (and | |
1957 | only) line. Set new window start instead of scrolling at | |
1958 | start/end of tall line. | |
902f06ed | 1959 | |
750a6cf4 YM |
1960 | 2006-09-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1961 | ||
1962 | * macterm.c (install_window_handler, mac_handle_window_event) | |
1963 | [USE_CARBON_EVENTS]: Handle kEventWindowClose. | |
1964 | [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for | |
1965 | ASCII keystroke event. | |
1966 | ||
ae6c1c19 JD |
1967 | 2006-09-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1968 | ||
1969 | * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in | |
1970 | the file chooser message. Only call gtk_file_chooser_set_current_name | |
1971 | when action is SAVE. | |
1972 | ||
5aa17bb2 AS |
1973 | 2006-09-04 Andreas Schwab <schwab@suse.de> |
1974 | ||
1975 | * Makefile.in: Double all single and back quotes in C-style | |
1976 | comments to help fontifier. | |
1977 | ||
934db434 JR |
1978 | 2006-09-03 Jason Rumney <jasonr@gnu.org> |
1979 | ||
1980 | * w32.c (shutdown_handler): New function to exit cleanly on shutdown. | |
1981 | (globals_of_w32): Register it as a signal handler. | |
1982 | ||
6a8c7cfe JL |
1983 | 2006-09-02 Juri Linkov <juri@jurta.org> |
1984 | ||
1985 | * marker.c (Fmarker_position): Doc fix. | |
1986 | ||
5c4aaa79 EZ |
1987 | 2006-09-03 Eli Zaretskii <eliz@gnu.org> |
1988 | ||
1989 | * window.c (syms_of_window) <split-height-threshold>: | |
1990 | <window-min-height, window-min-width>: Doc fix. | |
1991 | ||
655ea21c JD |
1992 | 2006-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1993 | ||
4f3097d8 JD |
1994 | * gtkutil.c (xg_get_file_with_chooser): Change file chooser message |
1995 | for writing files. Call gtk_file_chooser_set_current_name to keep | |
1996 | default filename. | |
1997 | ||
655ea21c JD |
1998 | * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls |
1999 | ||
79f6ba1f EZ |
2000 | 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change) |
2001 | ||
2002 | * fns.c (concat) [__GNUC__]: Declare with | |
2003 | `__attribute__((noinline))'. | |
2004 | ||
2005 | * eval.c (apply1, call2) [__GNUC__]: Declare with | |
2006 | `__attribute__((noinline))'. | |
2007 | ||
ebc80ddf EZ |
2008 | 2006-09-02 Stuart D. Herring <herring@lanl.gov> |
2009 | ||
2010 | * minibuf.c (Finternal_complete_buffer): New function. | |
2011 | (syms_of_minibuf): Defsubr it. | |
2012 | (Fread_buffer): Use it, instead of Vbuffer_alist. | |
2013 | ||
5deb7a51 | 2014 | 2006-09-01 Martin Rudalics <rudalics@gmx.at> |
3e145152 | 2015 | |
5deb7a51 RF |
2016 | * buffer.h (struct buffer_text): New field chars_modiff. |
2017 | (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. | |
2018 | * buffer.c (Fbuffer_chars_modified_tick): New function returning | |
2019 | value of BUF_CHARS_MODIFF. | |
2020 | (syms_of_buffer): Defsubr it. | |
2021 | (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. | |
2022 | * insdel.c (modify_region): New argument preserve_chars_modiff. | |
2023 | Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. | |
2024 | (insert_1_both, insert_from_string_1, insert_from_buffer_1) | |
2025 | (adjust_after_replace, adjust_after_replace_noundo) | |
2026 | (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. | |
2027 | * lisp.h (modify_region): Add fourth argument in extern. | |
2028 | * casefiddle.c (casify_region): Call modify_region with fourth | |
2029 | argument zero to assert that CHARS_MODIFF is updated. | |
2030 | * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) | |
2031 | (Ftranspose_regions): Likewise. | |
2032 | * textprop.c (Fadd_text_properties, Fset_text_properties) | |
2033 | (Fremove_text_properties, Fremove_list_of_text_properties): | |
2034 | Call modify_region with fourth argument 1 to avoid that | |
2035 | CHARS_MODIFF is updated. | |
3e145152 | 2036 | |
80e0572b RS |
2037 | 2006-08-31 Richard Stallman <rms@gnu.org> |
2038 | ||
2039 | * editfns.c (Fformat): Don't sign-extend for %o or %x. | |
2040 | ||
41d24b39 CY |
2041 | 2006-08-29 Chong Yidong <cyd@stupidchicken.com> |
2042 | ||
2043 | * indent.c (Fvertical_motion): Don't move back if we were | |
2044 | displaying a Lisp string, either. | |
2045 | ||
62d108d4 KS |
2046 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
2047 | ||
2048 | * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: | |
2049 | Don't attempt to replace cursor on image glyphs. | |
2050 | ||
c6f8bb3a KH |
2051 | 2006-08-28 Kenichi Handa <handa@m17n.org> |
2052 | ||
2053 | * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix | |
2054 | docstring about ISO-2022 control characters. | |
2055 | ||
7b9c9125 KS |
2056 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
2057 | ||
2058 | * xdisp.c (get_window_cursor_type): Replace BOX cursor on images | |
2059 | with a hollow box cursor if image is larger than 32x32 (or the default | |
2060 | frame font if that is bigger). Replace any other cursor on images | |
2061 | with hollow box cursor, as redisplay doesn't support bar and hbar | |
2062 | cursors on images. | |
2063 | ||
eb411049 YM |
2064 | 2006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2065 | ||
2066 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous | |
2067 | change. Move mutex lock/unlock operations inside BLOCK_INPUT. | |
2068 | ||
2069 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
2070 | (file_name_completion): Add BLOCK_INPUT around opendir/closedir. | |
2071 | ||
2072 | * image.c [MAC_OS] (image_load_qt_1): Use ComponentResult instead | |
2073 | of OSErr. | |
2074 | ||
2075 | * keyboard.c (in_sighandler): Remove variable. | |
2076 | (Fcurrent_idle_time): Add missing `doc:'. | |
2077 | (input_available_signal, init_keyboard): Undo previous change. | |
2078 | ||
2079 | * keyboard.h (in_sighandler): Remove extern. | |
2080 | ||
2081 | * mac.c (create_apple_event_from_event_ref, select) | |
2082 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
2083 | (Fmac_set_file_type, cfstring_create_normalized) | |
6cb66a31 JB |
2084 | (mac_get_system_locale, select_and_poll_event, sys_select): |
2085 | Use OSStatus instead of OSErr. | |
eb411049 | 2086 | |
6cb66a31 JB |
2087 | * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): |
2088 | Don't use FRAME_FILE_NAME. Use (FS)UpdateAlias. | |
eb411049 YM |
2089 | (Fx_create_frame): Apply 2006-07-03 for xfns.c. |
2090 | ||
2091 | * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string) | |
2092 | (put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string) | |
2093 | (get_scrap_private_timestamp, get_scrap_target_type_list) | |
2094 | (x_own_selection, x_get_foreign_selection) | |
2095 | (Fx_disown_selection_internal, Fx_selection_owner_p) | |
2096 | (Fx_selection_exists_p): Use OSStatus instead of OSErr. | |
2097 | ||
2098 | * macterm.c (mac_draw_string_common, mac_query_char_extents) | |
2099 | (x_iconify_frame, XLoadQueryFont, install_window_handler) | |
2100 | (mac_handle_command_event, init_command_handler, init_menu_bar): | |
2101 | Use OSStatus instead of OSErr. | |
2102 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use | |
2103 | FRAME_FILE_NAME. | |
2104 | (x_query_font): Apply 2006-08-04 change for xterm.c. | |
2105 | (Qhi_command): Rename from Qhicommand. All uses changed. | |
2106 | ||
2107 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member | |
2108 | file_name. | |
2109 | (FRAME_FILE_NAME): Remove macro. | |
2110 | (install_window_handler, create_apple_event_from_event_ref): | |
2111 | Return OSStatus instead of OSErr. | |
2112 | ||
d489b9c5 KS |
2113 | 2006-08-26 Kim F. Storm <storm@cua.dk> |
2114 | ||
2115 | * buffer.c (Fset_buffer_multibyte): | |
2116 | * editfns.c (Fcurrent_time, Fget_internal_run_time): | |
2117 | * macfns.c (Fxw_color_values): | |
2118 | * w32fns.c (Fxw_color_values): | |
2119 | * xfns.c (Fxw_color_values): Simplify; use list3. | |
2120 | ||
2121 | * fileio.c (Fmake_directory_internal, Fdelete_directory) | |
2122 | (Fdelete_file): Simplify; use list1. | |
2123 | (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): | |
2124 | Simplify; remove NO_ARG_ARRAY stuff, use list2. | |
2125 | ||
24d8984e RS |
2126 | 2006-08-25 Richard Stallman <rms@gnu.org> |
2127 | ||
2128 | * buffer.c (Fswitch_to_buffer): Fix previous change. | |
2129 | ||
16fb6ded KS |
2130 | 2006-08-25 Kim F. Storm <storm@cua.dk> |
2131 | ||
2132 | * keyboard.c (Fcurrent_idle_time): Simplify. | |
2133 | ||
3e04a8fc RS |
2134 | 2006-08-25 Richard Stallman <rms@gnu.org> |
2135 | ||
2136 | * fns.c (sxhash_string): Rotate properly; don't lose bits. | |
2137 | ||
8d8dafeb KS |
2138 | 2006-08-24 Francesc Rocher <francesc.rocher@gmail.com> |
2139 | ||
2140 | * xdisp.c (overline_margin): New variable. | |
2141 | (x_produce_glyphs): Use it. | |
2142 | (syms_of_xdisp): DEFVAR_INT it. | |
2143 | ||
2144 | * xterm.c (x_underline_at_descent_line): New variable. | |
2145 | (syms_of_xterm): DEFVAR_BOOL it. | |
2146 | (x_draw_glyph_string): Use it. | |
2147 | Draw underline and overline up to the end of line if the face | |
2148 | extends to the end of line. | |
2149 | ||
2150 | * macterm.c: Likewise. | |
2151 | ||
2152 | * w32term.c: Likewise. | |
2153 | ||
2154 | 2006-08-24 Nick Roberts <nickrob@snap.net.nz> | |
6410aac9 NR |
2155 | |
2156 | * buffer.c (Fswitch_to_buffer): Move buffer to front of | |
2157 | buffer-alist if necessary. | |
2158 | ||
6b4d8762 KS |
2159 | 2006-08-22 Kim F. Storm <storm@cua.dk> |
2160 | ||
2161 | * xdisp.c (update_tool_bar): Redisplay toolbar also when only | |
2162 | number of items changes. | |
2163 | ||
7e1de68d KS |
2164 | 2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
2165 | ||
2166 | * buffer.c (Fset_buffer_multibyte): Record proper undo entry. | |
2167 | ||
f73858ce JD |
2168 | 2006-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2169 | ||
2170 | * keyboard.c: Clarify difference between in_sighandler and | |
2171 | handling_signal. | |
2172 | ||
c58790e6 KS |
2173 | 2006-08-21 Kim F. Storm <storm@cua.dk> |
2174 | ||
2175 | * macterm.c (x_draw_stretch_glyph_string): | |
2176 | * w32term.c (x_draw_stretch_glyph_string): | |
2177 | * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a | |
5e1a6e32 | 2178 | stretch glyph in left marginal areas on header and mode lines. |
c58790e6 | 2179 | |
748726f4 KH |
2180 | 2006-08-21 Kenichi Handa <handa@m17n.org> |
2181 | ||
2182 | * keyboard.c (syms_of_keyboard): Docstring of | |
2183 | Vunread_post_input_method_events and Vunread_input_method_events | |
2184 | fixed. | |
2185 | ||
c5b76d6c CY |
2186 | 2006-08-20 Chong Yidong <cyd@stupidchicken.com> |
2187 | ||
2188 | * keyboard.c (show_help_echo): Preserve mouse movement flag if | |
2189 | tracking mouse. | |
2190 | ||
ce629713 RS |
2191 | 2006-08-20 Richard Stallman <rms@gnu.org> |
2192 | ||
2193 | * xfaces.c (load_pixmap): Add quotes in error message. | |
2194 | ||
2195 | * keyboard.c (Fcurrent_idle_time): New function. | |
2196 | (syms_of_keyboard): defsubr it. | |
2197 | ||
454e31b3 NR |
2198 | 2006-08-18 Nick Roberts <nickrob@snap.net.nz> |
2199 | ||
2200 | * window.c (Fset_window_fringes): Do nothing on a tty. | |
2201 | (Fwindow_fringes): Put ? operator after the line break. | |
2202 | ||
dae581bf AS |
2203 | 2006-08-16 Andreas Schwab <schwab@suse.de> |
2204 | ||
2205 | * print.c (debug_output_compilation_hack): Fix return type. | |
2206 | ||
3cb74cd1 RS |
2207 | 2006-08-16 Richard Stallman <rms@gnu.org> |
2208 | ||
2209 | * print.c (debug_output_compilation_hack): New function. | |
2210 | ||
29cbc482 KH |
2211 | 2006-08-16 Kenichi Handa <handa@m17n.org> |
2212 | ||
2213 | * fileio.c (choose_write_coding_system): Use LF for end-of-line | |
2214 | in auto-saving. | |
2215 | ||
3236e6b8 CY |
2216 | 2006-08-15 Chong Yidong <cyd@stupidchicken.com> |
2217 | ||
2218 | * keyboard.c (read_char): Don't change idle timer state at all if | |
2219 | end_time is supplied. | |
2220 | ||
8db1f9fa KH |
2221 | 2006-08-15 Kenichi Handa <handa@m17n.org> |
2222 | ||
2223 | * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC | |
2224 | is exhausted, return with RET. | |
2225 | (detect_coding_emacs_mule, detect_coding_iso2022) | |
2226 | (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) | |
2227 | (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above | |
2228 | change. | |
2229 | ||
70282fce CY |
2230 | 2006-08-14 Chong Yidong <cyd@stupidchicken.com> |
2231 | ||
2232 | * keyboard.c (read_char): Don't reset idle timers if a time limit | |
2233 | is supplied. | |
2234 | ||
9bdc2a5d KS |
2235 | 2006-08-14 Kim F. Storm <storm@cua.dk> |
2236 | ||
2237 | * .gdbinit (pitx): Print iterator position. | |
2238 | Limit stack dump in case iterator is not initialized. | |
2239 | ||
e6b8d662 EZ |
2240 | 2006-08-12 Eli Zaretskii <eliz@gnu.org> |
2241 | ||
2242 | * frame.c (Fmouse_position, Fmouse_pixel_position) | |
2243 | (Fset_mouse_position, Fset_mouse_pixel_position): Doc fix. | |
2244 | ||
0c584069 JD |
2245 | 2006-08-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2246 | ||
2247 | * xselect.c (Fx_register_dnd_atom): New function. | |
2248 | (syms_of_xselect): Defsubr it. | |
9bdc2a5d | 2249 | (x_handle_dnd_message): Check that message_type is in |
0c584069 JD |
2250 | dpyinfo->x_dnd_atoms before generating lisp event. |
2251 | ||
2252 | * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track | |
2253 | of drag and drop Atoms. | |
2254 | ||
2255 | * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* | |
2256 | ||
abef1dd7 JD |
2257 | 2006-08-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2258 | ||
2259 | * keyboard.c: Define in_sighandler. | |
2260 | (input_available_signal): Set in_sighandler. | |
2261 | (init_keyboard): Initialize in_sighandler. | |
2262 | ||
2263 | * keyboard.h: Declare in_sighandler. | |
2264 | ||
2265 | * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler | |
2266 | to check if mutex should be locked or not. | |
2267 | ||
c2028ac6 RS |
2268 | 2006-08-09 Richard Stallman <rms@gnu.org> |
2269 | ||
2270 | * keyboard.c (keyremap_step): No-op if fkey->parent = nil. | |
2271 | (read_key_sequence): Always start fkey.start and fkey.end at 0, | |
2272 | and likewise for keytran. | |
2273 | ||
bb0825cb KH |
2274 | 2006-08-09 Kenichi Handa <handa@m17n.org> |
2275 | ||
2276 | * coding.c (syms_of_coding): Improve the docstring | |
2277 | file-coding-system-alist. | |
2278 | ||
61486999 AS |
2279 | 2006-08-07 Andreas Schwab <schwab@suse.de> |
2280 | ||
2281 | * puresize.h (BASE_PURESIZE): Increase to 1120000. | |
2282 | ||
43ed3b8d CY |
2283 | 2006-08-06 Chong Yidong <cyd@stupidchicken.com> |
2284 | ||
2285 | * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars. | |
2286 | (Fkill_all_local_variables): Use it. | |
2287 | (syms_of_buffer): Defvar it. | |
2288 | ||
6b657e42 EZ |
2289 | 2006-08-05 Eli Zaretskii <eliz@gnu.org> |
2290 | ||
0a3297f7 EZ |
2291 | * w32.c (w32_valid_pointer_p): New function. |
2292 | ||
2293 | * w32.h: Add prototype for w32_valid_pointer_p. | |
2294 | ||
2295 | * alloc.c: Include w32.h. | |
2296 | (valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do | |
2297 | the job. | |
2298 | ||
6b657e42 EZ |
2299 | * keyboard.c (kbd_buffer_get_event): Return Qnil when current time |
2300 | is exactly equal to end_time, not only when it is past that. | |
2301 | ||
092869b9 CY |
2302 | 2006-08-04 Chong Yidong <cyd@stupidchicken.com> |
2303 | ||
2304 | * keyboard.c (read_char): Rebalance specpdl after receiving jump. | |
2305 | ||
2306 | * process.c: Reapply 2006-08-01 change. | |
2307 | ||
3046c3f9 EZ |
2308 | 2006-08-04 Eli Zaretskii <eliz@gnu.org> |
2309 | ||
2310 | * w32fns.c (w32_query_font): Fix last change: use stricmp. | |
2311 | ||
0f2e2a3b SM |
2312 | 2006-08-04 Stefan Monnier <monnier@iro.umontreal.ca> |
2313 | ||
2314 | * editfns.c (Fsubst_char_in_region): Redo the setup work after running | |
2315 | the before-change-functions since they may have altered the buffer. | |
2316 | ||
316a275a EZ |
2317 | 2006-08-04 Ralf Angeli <angeli@caeruleus.net> |
2318 | ||
2319 | * w32fns.c (w32_createwindow): Handle -geometry command line option | |
2320 | and the geometry settings in the Registry. | |
2321 | ||
ef8f7cdd KH |
2322 | 2006-08-04 Kenichi Handa <handa@m17n.org> |
2323 | ||
6f64cebf KH |
2324 | * w32fns.c (w32_query_font): Compare names by ignoring case. |
2325 | ||
ef8f7cdd KH |
2326 | * xterm.c (x_query_font): Compare names by ignoring case. |
2327 | ||
f3e0a6de JR |
2328 | 2006-08-03 Jason Rumney <jasonr@gnu.org> |
2329 | ||
2330 | * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit | |
2331 | when no option selected. | |
2332 | ||
d634a670 CY |
2333 | 2006-08-03 Chong Yidong <cyd@stupidchicken.com> |
2334 | ||
2335 | * process.c: Revert last change. | |
2336 | ||
0885202f KS |
2337 | 2006-08-01 Kim F. Storm <storm@cua.dk> |
2338 | ||
2339 | * process.c (wait_reading_process_output_unwind): New function. | |
2340 | Restores waiting_for_user_input_p to saved value. | |
2341 | (wait_reading_process_output): Unwind protect waiting_for_user_input_p | |
2342 | instead of save/restore old value on stack. | |
2343 | ||
0f42ea76 TTN |
2344 | 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org> |
2345 | ||
2346 | * editfns.c: Undo 2006-06-27 change. | |
2347 | ||
69666f77 EZ |
2348 | 2006-07-29 Eli Zaretskii <eliz@gnu.org> |
2349 | ||
cfb37af8 EZ |
2350 | * coding.c (Ffind_operation_coding_system): Revert the change from |
2351 | 2006-05-29. | |
2352 | ||
69666f77 EZ |
2353 | * alloc.c [WINDOWSNT]: Include fcntl.h, to fix last change. |
2354 | ||
0de8dcc9 RS |
2355 | 2006-07-28 Richard Stallman <rms@gnu.org> |
2356 | ||
0f42ea76 | 2357 | * xfaces.c (lookup_named_face, Fdisplay_supports_face_attributes_p): |
0de8dcc9 RS |
2358 | Add conditional aborts for clarity. |
2359 | ||
2360 | * xdisp.c (update_menu_bar): New arg HOOKS_RUN. Callers changed. | |
2361 | Used to avoid running the hooks over and over for each frame. | |
2362 | (prepare_menu_bars): Pass value from update_menu_bar | |
2363 | as HOOKS_RUN of next call. | |
2364 | ||
2365 | * keyboard.c (safe_run_hooks_1): Don't crash if Vrun_hooks is nil. | |
2366 | ||
4dbdb9eb KS |
2367 | 2006-07-28 Kim F. Storm <storm@cua.dk> |
2368 | ||
2369 | * alloc.c (valid_pointer_p): New function (from valid_lisp_object_p). | |
2370 | (valid_lisp_object_p): Use it to check for valid SUBRP obj. | |
2371 | ||
2f1950bf CY |
2372 | 2006-07-26 Chong Yidong <cyd@stupidchicken.com> |
2373 | ||
2374 | * keyboard.c (read_char): New arg END_TIME specifying timeout. | |
2375 | All callers changed. Turn off echoing if END_TIME is non-NULL. | |
2376 | (kbd_buffer_get_event): New arg END_TIME. | |
2377 | ||
2378 | * lread.c (read_filtered_event): New arg SECONDS to wait until. | |
2379 | (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS. | |
2380 | ||
2381 | * lisp.h: Update read-char, read-event, and read_filtered_event | |
2382 | prototypes. | |
2383 | ||
2384 | * keyboard.h: Include systime.h. Update read_char prototype. | |
2385 | ||
55a90501 YM |
2386 | 2006-07-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2387 | ||
2388 | * alloc.c (find_string_data_in_pure): New function. | |
2389 | (make_pure_string): Use it to reuse existing string data if possible. | |
2390 | ||
2391 | * puresize.h (BASE_PURESIZE): Decrease to 1102000. | |
2392 | ||
2db8f173 SM |
2393 | 2006-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
2394 | ||
2395 | * keymap.c (Fdefine_key): If the key binding definition looks like an | |
2396 | XEmacs-style key sequence, convert it to Emacs's format. | |
2397 | ||
272f22eb EZ |
2398 | 2006-07-22 Ralf Angeli <angeli@caeruleus.net> |
2399 | ||
2400 | * w32fns.c (w32_createwindow): If `left' and/or `top' frame | |
2401 | parameters are bound to some values, use that instead of | |
2402 | CW_USEDEFAULT. | |
2403 | ||
69b72317 EZ |
2404 | 2006-07-21 Eli Zaretskii <eliz@gnu.org> |
2405 | ||
2406 | * w32.c (convert_time): Use explicit long double constants to | |
2407 | ensure long double arithmetics is used throughout. | |
2408 | ||
14eee502 YM |
2409 | 2006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2410 | ||
5e1a6e32 | 2411 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars. |
14eee502 YM |
2412 | (init_alloc_once): Initialize them. |
2413 | (pure_alloc): Allocate non-Lisp objects from the end of pure storage | |
2414 | without alignment. | |
2415 | ||
2416 | * puresize.h (BASE_PURESIZE): Decrease to 1141000. | |
2417 | ||
eeeda6f1 KS |
2418 | 2006-07-18 Francis Litterio <franl@world.std.com> |
2419 | ||
2420 | * w32term.c (x_calc_absolute_position): Fix frame positioning | |
2421 | with negative X/Y coordinates. | |
2422 | ||
2381d38d DN |
2423 | 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu> |
2424 | ||
2425 | * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. | |
2426 | ||
2427 | * textprop.c (text_read_only): Likewise. | |
2428 | ||
2429 | * lread.c (end_of_file_error): Likewise. | |
2430 | ||
2431 | * lisp.h (circular_list_error, memory_full, buffer_memory_full): | |
2432 | Likewise. | |
2433 | ||
2434 | * eval.c (unwind_to_catch): Likewise. | |
2435 | ||
2436 | * buffer.h (buffer_slot_type_mismatch): Likewise. | |
2437 | ||
5b5fca28 KS |
2438 | 2006-07-18 Kim F. Storm <storm@cua.dk> |
2439 | ||
2440 | Cleanup Fsignal calls that never returns; now only use it for Qquit. | |
2441 | ||
2442 | * eval.c (xsignal): New func. Like Fsignal, but marked no-return. | |
2443 | (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions. | |
2444 | (signal_error): New no-return function (from xfaces.c). | |
2445 | (Fthrow): Use xsignal2 instead of Fsignal + abort. | |
2446 | (error): Use xsignal1 instead of Fsignal + abort. | |
2447 | (FletX, Flet, grow_specpdl): Use signal_error. | |
2448 | (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2. | |
2449 | ||
6cb66a31 | 2450 | * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop. |
5b5fca28 KS |
2451 | (list1): New function. |
2452 | ||
2453 | * lisp.h (list1): Add EXFUN. | |
2454 | (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error): | |
2455 | Add prototypes. Mark them as no-return. | |
2456 | ||
2457 | * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only): | |
2458 | Use xsignal1. | |
2459 | ||
2460 | * callint.c (check_mark): Use xsignal0. | |
2461 | ||
2462 | * casefiddle.c (casify_object): wrong_type_argument is no-return. | |
2463 | ||
2464 | * cmds.c (Fforward_char, Fdelete_char): Use xsignal0. | |
2465 | ||
2466 | * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop. | |
2467 | (Fdefine_coding_system_internal): Use xsignal1. | |
2468 | ||
2469 | * data.c (circular_list_error): Use xsignal. | |
2470 | (wrong_type_argument): Use xsignal2. Don't care about return value. | |
2471 | (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3. | |
2472 | Remove loop around Fsignal. | |
2473 | (indirect_variable, Fsymbol_value, set_internal, Fdefault_value) | |
2474 | (indirect_function, Findirect_function, Fstring_to_number) | |
2475 | (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1. | |
2476 | (arith_driver, float_arith_driver, Frem, Fmod, arith_error): | |
2477 | Use xsignal0. | |
2478 | ||
2479 | * doc.c (Fdocumentation): Use xsignal1. | |
2480 | ||
2481 | * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0. | |
2482 | ||
2483 | * fileio.c (report_file_error): Use xsignal. | |
2484 | (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file) | |
2485 | (Finsert_file_contents): Use xsignal2. | |
2486 | (syms_of_fileio): Use list2, list3. | |
2487 | ||
2488 | * floatfns.c (arith_error, range_error, domain_error): Use xsignal2. | |
2489 | (range_error2, domain_error2): Use xsignal3. | |
2490 | (rounding_driver, fmod_float): Use xsignal0. | |
2491 | (float_error): Use xsignal1. | |
2492 | (matherr): Use xsignal. | |
2493 | ||
2494 | * fns.c (Flength): wrong_type_argument is no-return. | |
2495 | (hashfn_user_defined, Fmake_hash_table): Use signal_error. | |
2496 | (Fmd5): Use xsignal1. | |
2497 | ||
2498 | * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error. | |
2499 | ||
2500 | * keyboard.c (recursive_edit_1): Use xsignal1. | |
2501 | ||
2502 | * keymap.c (Fmap_keymap): Use xsignal1. | |
2503 | ||
2504 | * lread.c (Fload): Use xsignal2, signal_error. | |
2505 | (end_of_file_error): Use xsignal0, xsignal1. | |
2506 | (read0): Use xsignal1. | |
2507 | (invalid_syntax): New error function marked no-return. | |
2508 | (read_integer, read1, read_list): Use it. | |
2509 | ||
2510 | * macselect.c (x_get_local_selection): Use signal_error. | |
2511 | ||
2512 | * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2. | |
2513 | ||
2514 | * search.c (compile_pattern_1): Use xsignal1. | |
2515 | (signal_failure): Remove (was only called once). | |
2516 | (search_command): Use xsignal1 instead of signal_failure. | |
2517 | ||
2518 | * syntax.c (scan_lists): Use xsignal3. | |
2519 | ||
2520 | * textprop.c (text_read_only): Use xsignal0, xsignal1. | |
2521 | ||
2522 | * unexsol.c (unexec): Use xsignal. | |
2523 | ||
2524 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
2525 | Use xsignal0. | |
2526 | ||
2527 | * xfaces.c (signal_error): Move to eval.c. | |
2528 | (resolve_face_name): Use xsignal1. | |
2529 | ||
2530 | * xfns.c (x_decode_color): Use signal_error. | |
2531 | ||
2532 | * xselect.c (x_get_local_selection, copy_multiple_data) | |
2533 | (x_get_window_property_as_lisp_data) | |
2534 | (lisp_data_to_selection_data, CHECK_CUT_BUFFER) | |
2535 | (Fx_get_cut_buffer_internal): Use signal_error. | |
2536 | ||
d3f31bc5 YM |
2537 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2538 | ||
2539 | * macterm.c (XTread_socket): Undo previous change. | |
2540 | ||
1e53bd0e YM |
2541 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2542 | ||
2543 | * macterm.c (keycode_to_xkeysym): Remove function. All uses now | |
2544 | directly lookup keycode_to_xkeysym_table. | |
2545 | [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct | |
2546 | ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries. | |
2547 | (XTread_socket): Use character codes to construct keypad key events. | |
2548 | (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel. | |
2549 | (x_delete_display): Apply 2006-07-04 change for xterm.c. | |
2550 | ||
0de8dcc9 RS |
2551 | 2006-07-17 Richard Stallman <rms@gnu.org> |
2552 | ||
2553 | * keyboard.c (Vcommand_error_function): New variable. | |
2554 | (syms_of_keyboard): Defvar it. | |
2555 | (cmd_error_internal): Simplify, and handle Vcommand_error_function. | |
2556 | ||
2557 | * dispnew.c (init_display): Mention DISPLAY as well as TERM in err msg. | |
2558 | ||
55dc982c KS |
2559 | 2006-07-17 Kim F. Storm <storm@cua.dk> |
2560 | ||
2561 | * xdisp.c (handle_single_display_spec): Ensure the right value of | |
2562 | it->position is saved by push_it. | |
2563 | (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING. | |
2564 | (reseat_1): Don't setup it->object twice. | |
2565 | (set_iterator_to_next): No need to set it->object after pop_it. | |
2566 | (move_it_to): Explicitly check to see if last move reached to_charpos. | |
2567 | ||
ce7d5efe TTN |
2568 | 2006-07-17 Thien-Thi Nguyen <ttn@gnu.org> |
2569 | ||
2570 | * xdisp.c (display_mode_line): Preserve match data. | |
2571 | ||
d753d9b7 KS |
2572 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
2573 | ||
2574 | * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. | |
2575 | (init_winsock): Load them. Use ws2_32.dll. | |
2576 | (sys_listen): Undo last change. Just set FILE_LISTEN flag. | |
2577 | (sys_accept): Undo last change. Instead, set child status to | |
2578 | STATUS_READ_ACKNOWLEDGED and reset char_avail event so next | |
2579 | sys_select will wakeup the reader thread. | |
2580 | (_sys_wait_accept): New function used by reader thread to wait for | |
2581 | an incoming connection on a server socket. | |
2582 | ||
2583 | * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes. | |
2584 | ||
2585 | * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a | |
2586 | server socket (FILE_LISTEN flag). | |
2587 | ||
dcc88121 JD |
2588 | 2006-07-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2589 | ||
2590 | * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open. | |
2591 | ||
8a8476f9 KS |
2592 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
2593 | ||
2594 | * w32.c: Fix high cpu load for server sockets. | |
2595 | (pfn_WSAEventSelect): New function ptr. | |
2596 | (init_winsock): Load it. | |
2597 | (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's | |
2598 | char_avail event object to FD_ACCEPT. | |
2599 | (sys_accept): Check FILE_LISTEN flag. Set event mask on new | |
2600 | socket's char_avail event object to FD_READ|FD_CLOSE. | |
2601 | ||
2602 | * w32.h (FILE_LISTEN): New filedesc flag value. | |
2603 | ||
f3500bbe KS |
2604 | 2006-07-13 Kim F. Storm <storm@cua.dk> |
2605 | ||
2606 | * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr. | |
2607 | Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe. | |
2608 | Simplify loops and use CAR for Bnth and Belt. | |
2609 | ||
2610 | * data.c (Findirect_function): Optimize for no indirection. | |
2611 | ||
2612 | * eval.c (Fthrow): Remove loop around Fsignal. | |
2613 | (Feval, Fapply, Ffuncall): Optimize for no function indirection. | |
2614 | Use original function name in all signaled errors. | |
2615 | Simplify Fsignal calls (no return). | |
2616 | (funcall_lambda): Simplify Fsignal calls (no return). | |
2617 | ||
60c86a83 AS |
2618 | 2006-07-13 Andreas Schwab <schwab@suse.de> |
2619 | ||
2620 | * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and | |
2621 | out_charpos. | |
2622 | ||
d40ec4a0 KH |
2623 | 2006-07-13 Kenichi Handa <handa@m17n.org> |
2624 | ||
2625 | * editfns.c (Fformat): Fix calculation of text property positions | |
2626 | of format string. | |
2627 | ||
b8a6aaa7 KS |
2628 | 2006-07-12 Kim F. Storm <storm@cua.dk> |
2629 | ||
2630 | * lisp.h (CHECK_TYPE): New macro for generic type checking. | |
2631 | (CAR_SAFE, CDR_SAFE): New macros. | |
2632 | (ARRAYP, CHECK_ARRAY): New macros. | |
2633 | (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros. | |
2634 | (CHECK_WINDOW_CONFIGURATION): New macro. | |
2635 | (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal. | |
2636 | (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) | |
2637 | (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL) | |
2638 | (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE) | |
2639 | (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS) | |
2640 | (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY) | |
2641 | (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
2642 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE. | |
2643 | ||
2644 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): | |
2645 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE. | |
2646 | ||
2647 | * callint.c (Fcall_interactively): | |
2648 | * casefiddle.c (casify_object): | |
2649 | * editfns.c (general_insert_function): | |
2650 | * fns.c (Flength, Felt, Ffillarray): | |
2651 | * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument. | |
2652 | ||
2653 | * data.c (wrong_type_argument): Remove loop around Fsignal. | |
2654 | (Farrayp, Fsequencep): Use ARRAYP. | |
2655 | (Fcar): Use CAR. | |
2656 | (Fcar_safe): Use CAR_SAFE. | |
2657 | (Fcdr): Use CDR. | |
2658 | (Fcdr_safe): Use CDR_SAFE. | |
2659 | (Fsetcar, Fsetcdr): Use CHECK_CONS. | |
2660 | (Fsubr_arity, Fsubr_name): Use CHECK_SUBR. | |
2661 | (Faset): Use CHECK_ARRAY. | |
2662 | ||
2663 | * fns.c (Felt): Use CHECK_ARRAY. | |
2664 | (concat): Use CHECK_NUMBER. | |
2665 | (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING. | |
2666 | (Fmemq): Use CHECK_LIST. | |
2667 | (Fassq, Fassoc, Frassq, Frassoc): Use CAR. | |
2668 | (assq_no_quit): Use CAR_SAFE. | |
2669 | (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc): | |
2670 | Use CHECK_LIST_CONS. | |
2671 | (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END. | |
2672 | ||
2673 | * bytecode.c (Fbyte_code): Use CHECK_VECTOR. | |
2674 | ||
2675 | * casetab.c (check_case_table): | |
2676 | * category.c (check_category_table): | |
2677 | * marker.c (Fcopy_marker): | |
2678 | * syntax.c (check_syntax_table): | |
2679 | * xfaces.c (load_pixmap): Use CHECK_TYPE. | |
2680 | ||
2681 | * fns.c (Fcopy_sequence, concat): | |
2682 | * fringe.c (Fdefine_fringe_bitmap): | |
2683 | * lread.c (check_obarray): Cleanup wrong_type_argument use. | |
2684 | ||
e55deb0b KS |
2685 | * keyboard.c (access_keymap_keyremap): Use ARRAYP. |
2686 | ||
b8a6aaa7 KS |
2687 | * keymap.c (Fdefine_key, Flookup_key): |
2688 | * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING. | |
2689 | ||
2690 | * mac.c (Fmac_get_preference): Use CHECK_LIST_END. | |
2691 | ||
2692 | * search.c (Fset_match_data): Use CHECK_LIST. | |
2693 | ||
2694 | * sunfns.c (sun_item_create): Use CHECK_LIST_CONS. | |
2695 | ||
2696 | * window.c (Fwindow_configuration_frame, Fset_window_configuration): | |
2697 | (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION. | |
2698 | ||
099d4201 YM |
2699 | 2006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2700 | ||
2701 | * Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h. | |
2702 | ||
2703 | * dired.c: Include blockinput.h. | |
2704 | (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid. | |
2705 | ||
2706 | * editfns.c: Include blockinput.h. | |
2707 | (Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around | |
2708 | getpwuid/getpwnam. | |
2709 | ||
2710 | * fileio.c: Include blockinput.h. | |
2711 | (Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT | |
2712 | around getpwnam. | |
2713 | (search_embedded_absfilename): Remove spurious xfree. | |
2714 | ||
2e42ee7b KS |
2715 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
2716 | ||
2717 | * dispnew.c (sit_for): Reduce number of args from 5 to 3. | |
2718 | Now just one TIMEOUT arg that can be a Lisp float or Lisp int. | |
2719 | Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY. | |
8e09f23f | 2720 | Signal error if TIMEOUT is not a number. |
2e42ee7b KS |
2721 | Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0. |
2722 | The rework of sit_for args also fixes several incorrect Qt args | |
2723 | which should have been 1. | |
2724 | (Fredisplay): Pass 1 instead of Qt to swallow_events and | |
2725 | detect_input_pending_run_timers. | |
2726 | ||
2727 | * lisp.h (sit_for): Update prototype. | |
2728 | (Fredisplay): Add EXFUN. | |
2729 | ||
2730 | * dispextern.h (sit_for): Remove prototype. | |
2731 | ||
2732 | * callint.c (Fcall_interactively): | |
2733 | * minibuf.c (temp_echo_area_glyphs): | |
2734 | * keyboard.c (command_loop_1, read_char, Fexecute_extended_command): | |
2735 | * fileio.c (Fdo_auto_save): Update/simplify sit_for calls. | |
2736 | ||
a0aa7fcf SM |
2737 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
2738 | ||
2739 | * syntax.c (forw_comment): Also use EMACS_INT for buffer positions. | |
2740 | ||
ff97f952 KS |
2741 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
2742 | ||
68ade564 | 2743 | * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when |
ff97f952 KS |
2744 | input is available. Fix test for redisplay_dont_pause non-nil. |
2745 | Specbind redisplay-dont-pause to t if FORCE non-nil. | |
2746 | ||
7ba07a1a CY |
2747 | 2006-07-10 Chong Yidong <cyd@stupidchicken.com> |
2748 | ||
2749 | * puresize.h (BASE_PURESIZE): Increment to 1211000. | |
2750 | ||
2751 | * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). | |
2752 | (Fsit_for): Function deleted. | |
2753 | ||
a0aa7fcf SM |
2754 | * keyboard.c (command_loop_1, Fexecute_extended_command): |
2755 | Call sit_for instead of Fsit_for. | |
7ba07a1a CY |
2756 | |
2757 | * minibuf.c (temp_echo_area_glyphs): Likewise. | |
2758 | ||
2312c580 SM |
2759 | 2006-07-09 Stefan Monnier <monnier@iro.umontreal.ca> |
2760 | ||
2761 | * syntax.c (Fforward_comment): Revert the reversion. | |
932e6895 | 2762 | (back_comment, scan_lists): Also use EMACS_INT for buffer positions. |
2312c580 | 2763 | |
bf88ca63 JPW |
2764 | 2006-07-09 John Paul Wallington <jpw@pobox.com> |
2765 | ||
2766 | * syntax.c (Fforward_comment): Revert previous change. | |
2767 | ||
08b17d37 KS |
2768 | 2006-07-09 Kim F. Storm <storm@cua.dk> |
2769 | ||
2770 | * window.c (Fforce_window_update): Doc fix. | |
2771 | ||
26816cbf SG |
2772 | 2006-07-08 Stephen Gildea <gildea@stop.mail-abuse.org> |
2773 | ||
2774 | * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file | |
2775 | directory unreadable for better user privacy. | |
2776 | ||
4332cf50 SM |
2777 | 2006-07-07 Stefan Monnier <monnier@iro.umontreal.ca> |
2778 | ||
dd9f0dcd SM |
2779 | * syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup. |
2780 | ||
4332cf50 SM |
2781 | * lread.c (read_filtered_event): Remove `register' qualifier because it |
2782 | causes compilation problem with gcc-4.0.2-20051125 on amd64. | |
91fe9496 SM |
2783 | (readevalloop): Remove unused var `bpos'. |
2784 | Yet another int/Lisp_Object mixup (YAILOM). | |
4332cf50 | 2785 | |
dfb4bff5 EZ |
2786 | 2006-07-07 Eli Zaretskii <eliz@gnu.org> |
2787 | ||
2788 | * keyboard.c (Fexecute_extended_command): Mention the argument | |
2789 | PREFIXARG in the doc string. | |
2790 | ||
efaed3b0 KS |
2791 | 2006-07-07 Kim F. Storm <storm@cua.dk> |
2792 | ||
2793 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. | |
2794 | ||
e2e6e4d2 CY |
2795 | 2006-07-05 Chong Yidong <cyd@stupidchicken.com> |
2796 | ||
234fb773 CY |
2797 | * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do |
2798 | clash detection using the base buffer. | |
2799 | ||
e2e6e4d2 CY |
2800 | * puresize.h (BASE_PURESIZE): Increment to 1210500. |
2801 | ||
e128be55 KS |
2802 | 2006-07-04 Kim F. Storm <storm@cua.dk> |
2803 | ||
2804 | * xterm.c (x_delete_display): Don't free or derefence NULL pointers. | |
2805 | ||
2462bc66 KH |
2806 | 2006-07-04 Kenichi Handa <handa@m17n.org> |
2807 | ||
2808 | * fontset.c (Fset_overriding_fontspec_internal): Check if we need | |
2809 | to update Voverriding_fontspec_alist. | |
2810 | ||
9ca24617 RS |
2811 | 2006-07-03 Richard Stallman <rms@gnu.org> |
2812 | ||
2813 | * xfns.c (Fx_create_frame): Move unwind_create_frame setup down. | |
2814 | ||
2815 | * xfaces.c (Fface_attribute_relative_p): Doc fix. | |
2816 | ||
2817 | * textprop.c (Fget_char_property_and_overlay): Doc fix. | |
2818 | ||
2819 | * eval.c (Fdefvaralias): Doc fix. | |
2820 | ||
d8ab3c6d KS |
2821 | 2006-07-03 Kim F. Storm <storm@cua.dk> |
2822 | ||
2823 | * dispnew.c (sit_for): Fix preempt condition. | |
2824 | ||
ca77ee45 SM |
2825 | 2006-07-02 Stefan Monnier <monnier@iro.umontreal.ca> |
2826 | ||
2827 | * lread.c (read_filtered_event): Treat select-window just like | |
2828 | switch-frame. | |
2829 | ||
8cb72de5 KS |
2830 | 2006-07-02 Kim F. Storm <storm@cua.dk> |
2831 | ||
2832 | * xdisp.c (display_tool_bar_line): Skip glyphs which are too big | |
2833 | to ever fit the tool-bar, | |
2834 | (MAX_FRAME_TOOL_BAR_HEIGHT): New macro. | |
2835 | (tool_bar_lines_needed): Use unused mode-line row as temp_row. | |
2836 | (redisplay_tool_bar): Only clear desired matrix if we actually | |
2837 | change the tool-bar window height. Only try to make the tool-bar | |
2838 | window bigger if there is actually room for it. | |
2839 | ||
6407e67c EZ |
2840 | 2006-06-30 Ralf Angeli <angeli@caeruleus.net> |
2841 | ||
2842 | * w32term.c (x_make_frame_visible): Use SystemParametersInfo with | |
2843 | SPI_GETWORKAREA to find the dimensions of the screen work area, | |
2844 | and adjust vertical position of the frame in order to avoid being | |
2845 | covered by the task bar. | |
2846 | ||
2847 | * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of | |
2848 | f->left_pos and SH_SHOW instead of f->top_pos in the call to | |
2849 | CreateWindow. Record the actual position in f->left_pos and | |
2850 | f->top_pos. | |
2851 | ||
639804b3 JPW |
2852 | 2006-06-30 John Paul Wallington <jpw@pobox.com> |
2853 | ||
2854 | * w32console.c (syms_of_ntterm) <w32-use-full-screen-buffer>: | |
2855 | Doc fix - default value has changed. | |
2856 | ||
3ff05183 YM |
2857 | 2006-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2858 | ||
2859 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h. | |
2860 | ||
2861 | * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c. | |
2862 | ||
2863 | * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1. | |
2864 | ||
2865 | * macterm.c (Qeql): Add extern. | |
2866 | (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition. | |
2867 | (fm_style_face_attributes_alist) [USE_ATSUI]: New variable. | |
2868 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
2869 | Change keys of Vmac_atsu_font_table from strings to numbers. | |
2870 | (fm_style_to_face_attributes) [USE_ATSUI]: New function. | |
2871 | (init_font_name_table) [USE_ATSUI]: Use it. | |
2872 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
2873 | (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it. | |
2874 | [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes | |
2875 | only when saved_ts_script_language_on_focus coincides with | |
2876 | Vmac_ts_script_language_on_focus. | |
2877 | [USE_MAC_TSM] (mac_tsm_suspend): Save value of | |
2878 | Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus. | |
2879 | (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support. | |
2880 | [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise. | |
2881 | ||
df8ffa05 CY |
2882 | 2006-06-27 Chong Yidong <cyd@stupidchicken.com> |
2883 | ||
2884 | * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning) | |
2885 | (Ffield_string_no_properties, Ffield_end): Mention | |
2886 | args-out-of-range error condition in docstring. | |
2887 | ||
04405ad9 KS |
2888 | 2006-06-27 Kim F. Storm <storm@cua.dk> |
2889 | ||
2890 | * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. | |
2891 | ||
f8e83735 KS |
2892 | 2006-06-25 Kim F. Storm <storm@cua.dk> |
2893 | ||
2894 | * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel | |
2895 | version 2.4 and later. | |
2896 | ||
86b2ba0d CY |
2897 | 2006-06-24 Chong Yidong <cyd@stupidchicken.com> |
2898 | ||
2899 | * xfns.c (Fx_create_frame): Set font parameter directly instead of | |
2900 | using x_default_parameter, since x_get_args clears the parm alist. | |
2901 | ||
eff6bfea EZ |
2902 | 2006-06-24 Eli Zaretskii <eliz@gnu.org> |
2903 | ||
2904 | * dired.c (directory_files_internal) [WINDOWSNT]: Find files | |
2905 | case-insensitively. | |
2906 | ||
d9034473 EZ |
2907 | 2006-06-24 Aidan Kehoe <kehoea@parhasard.net> |
2908 | ||
2909 | * lread.c (read_escape): When an unknown Unicode code point is | |
2910 | encountered as a string or character escape, signal an error. | |
2911 | ||
8800bd5c KS |
2912 | 2006-06-23 Kim F. Storm <storm@cua.dk> |
2913 | ||
31005921 KS |
2914 | * .gdbinit (pitx): Dump iterator stack. |
2915 | ||
8800bd5c KS |
2916 | * xdisp.c (handle_composition_prop): Push iterator on stack. |
2917 | (set_iterator_to_next): Pop iterator at end of composition. | |
2918 | ||
28fa06ea EZ |
2919 | 2006-06-23 Martin Rudalics <rudalics@gmx.at> |
2920 | ||
2921 | * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to | |
2922 | itself on DOS_NT platforms, if the old and new names are identical | |
2923 | but for the letter-case. | |
2924 | ||
43a37241 KS |
2925 | 2006-06-21 Kim F. Storm <storm@cua.dk> |
2926 | ||
2927 | * dispextern.h (struct it): Add `position' member to iterator stack. | |
2928 | Rename `pos' member to `current'. Rearrange and add comments. | |
2929 | ||
2930 | * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p | |
2931 | if we get any overlays. | |
2932 | (set_cursor_from_row): Don't clobber `end' if we rescan from | |
2933 | start_string. | |
2934 | (push_it, pop_it): Save it->position. | |
2935 | ||
a5bd14d3 RS |
2936 | 2006-06-19 Richard Stallman <rms@gnu.org> |
2937 | ||
2938 | * window.c (size_window): New arg FIRST_ONLY. All callers changed. | |
2939 | (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL | |
2940 | for the case of a top-level window and the following minibuffer. | |
2941 | Don't exit because of no `next' when there is a parent. | |
2942 | Use the FIRST_ONLY feature when resizing following windows. | |
eb85ecac | 2943 | |
a5bd14d3 RS |
2944 | * syntax.c (init_syntax_once): Give most control chars' syntax Spunct. |
2945 | ||
a3efc408 KS |
2946 | 2006-06-17 Kim F. Storm <storm@cua.dk> |
2947 | ||
2948 | * dispnew.c (update_frame): Check for input pending on entry. | |
2949 | (update_window, update_frame_1): Break loop if input is detected. | |
2950 | ||
d692a3d5 JD |
2951 | 2006-06-16 Francis Litterio <flitterio@gmail.com> |
2952 | ||
2953 | * xterm.c (x_check_expected_move, handle_one_xevent) | |
2954 | (x_set_offset, x_check_fullscreen): Extensive changes to make | |
2955 | frame positioning deterministic under X. | |
2956 | ||
b70e1a2b | 2957 | * xterm.h (x_output): Add members left_before_move and |
d692a3d5 JD |
2958 | top_before_move. Removed members expected_left and expected_top. |
2959 | ||
df05d913 KS |
2960 | 2006-06-16 Kim F. Storm <storm@cua.dk> |
2961 | ||
626c7c71 KS |
2962 | * dispextern.h (struct it): Add union to iterator stack to save |
2963 | image, composition, and stretch specific paramters. | |
2964 | ||
2965 | * xdisp.c (next_overlay_string): Fix assert. | |
2966 | (push_it, pop_it): Handle composition and stretch specific values. | |
2967 | Only handle it->slice in image (for now). | |
2968 | (back_to_previous_visible_line_start): Continue search if newline is | |
2969 | part of a compisition. Simplify. | |
2970 | (reseat_1): Set it->object to buffer. | |
2971 | (set_iterator_to_next): Set it->object to string or buffer, when | |
2972 | setting it->method to GET_FROM_STRING or GET_FROM_BUFFER. | |
2973 | (next_element_from_composition): Set it->object to buffer if not | |
2974 | from string. | |
2975 | (set_cursor_from_row): Only save start of string if not already | |
2976 | done to handle multiple strings in a row. | |
2977 | ||
df05d913 KS |
2978 | * .gdbinit (pitx): Show composition parameters. |
2979 | (pgx, pg): New commands to print a glyph structure. | |
2980 | (pgi, pgn): New commands to print specific/next glyph. | |
2981 | (pgrowx, pgrow): New commands to print all glyphs in a row. | |
2982 | ||
aa2f234a YM |
2983 | 2006-06-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2984 | ||
2985 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
2986 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize. | |
2987 | ||
2988 | * macterm.c (do_app_resume, do_app_suspend): Remove functions. | |
2989 | (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions. | |
2990 | (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them. | |
2991 | (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
2992 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | |
2993 | (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables. | |
2994 | (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display | |
2995 | Services functions to get size of main display in pixels. | |
2996 | ||
633e63ca CY |
2997 | 2006-06-14 Chong Yidong <cyd@stupidchicken.com> |
2998 | ||
d0f891a7 SM |
2999 | * xdisp.c (back_to_previous_visible_line_start): |
3000 | Reset it->continuation_lines_width. | |
633e63ca | 3001 | |
cac9d766 RS |
3002 | 2006-06-14 Richard Stallman <rms@gnu.org> |
3003 | ||
3004 | * eval.c (Fdefconst): Mark variable as risky. | |
3005 | ||
3006 | * callproc.c (Fcall_process): Doc fix. | |
3007 | ||
3008 | * window.c (adjust_window_trailing_edge): Don't break out of the loop | |
3009 | because there's no next window, if there are parallel windows. | |
3010 | Do break out when WINDOW is nil. | |
df05d913 | 3011 | |
bae1ed29 KS |
3012 | 2006-06-14 Kim F. Storm <storm@cua.dk> |
3013 | ||
1bb32610 KS |
3014 | * dispextern.h (IT_STACK_SIZE): New macro specifying size of |
3015 | iterator stack (instead of hardcoded number). Increase from 2 to | |
3016 | 4 to make room for propertized overlay strings before and after a | |
3017 | display string, image or composition. | |
3018 | (struct it): Add image_id and method members to iterator stack. | |
3019 | ||
3020 | * xdisp.c (init_from_display_pos): Don't set it->method and | |
3021 | overlay_string_index after pop_it. Add asserts. | |
3022 | (handle_stop): Look for overlay strings around a display string, | |
3023 | image, or composition. Handle properties on those strings. | |
3024 | (next_overlay_string): Don't set string, pos or method after pop_it. | |
3025 | (get_overlay_strings_1): Split from get_overlay_strings; don't | |
3026 | modify it if no overlay strings are found. | |
3027 | (get_overlay_strings): Use get_overlay_strings_1. Always set | |
3028 | it->string and it->method. | |
3029 | (push_it): Push it->image_id and it->method. Push it->object | |
3030 | instead of it->string if method is GET_FROM_IMAGE. | |
3031 | (pop_it): Pop it->image_id and it->method. Ppo it->object | |
3032 | instead of it->string if method is GET_FROM_IMAGE. | |
3033 | Reset it->current.string_pos if popped it->string is nil. | |
3034 | (reseat_1): Remove comment dated 19 May 2003. It expressed doubt | |
3035 | whether a given change was correct; but the change is correct. | |
3036 | Clear it->string_from_display_prop_p. | |
3037 | (set_iterator_to_next): Rely on it->method and it->image_id from | |
3038 | iterator stack, instead of setting them explicitly after pop_it. | |
3039 | ||
bae1ed29 KS |
3040 | * dispnew.c (sit_for): Undo 2006-06-01 change. Instead, a |
3041 | negative time forces redisplay even when input is available. | |
3042 | (Fsit_for): Doc fix. | |
3043 | ||
8eb2b87f KS |
3044 | 2006-06-13 Kim F. Storm <storm@cua.dk> |
3045 | ||
3046 | * dispnew.c: Modify preemptive redisplay to be based on periodic | |
3047 | checks for input. | |
3048 | (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS. | |
3049 | (Vredisplay_preemption_period): New variable. | |
3050 | (syms_of_display): DEFVAR_LISP and initialize it. | |
3051 | (preemption_period, preemption_next_check): New variables. | |
3052 | (update_frame, update_single_window): Initialize them based on | |
3053 | Vredisplay_preemption_period if !force_p. | |
3054 | (update_window, update_frame_1): Use them to determine when to | |
3055 | check for input. | |
3056 | ||
7cb93181 EZ |
3057 | 2006-06-03 Aidan Kehoe <kehoea@parhasard.net> |
3058 | ||
3059 | * lread.c (read_escape): Provide a Unicode character escape | |
3060 | syntax; \u followed by exactly four or \U followed by exactly | |
3061 | eight hex digits in a comment or string is read as a Unicode | |
3062 | character with that code point. | |
3063 | ||
cf402f3f EZ |
3064 | 2006-06-09 Eli Zaretskii <eliz@gnu.org> |
3065 | ||
3066 | * window.c (window_scroll_pixel_based): Signal "Beginning of | |
3067 | buffer" when scroll-down at the beginning of an empty buffer. | |
3068 | ||
67b5f809 YM |
3069 | 2006-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3070 | ||
d0f891a7 SM |
3071 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): |
3072 | Exclude 0x7f from ASCII range. | |
67b5f809 | 3073 | |
94856834 JR |
3074 | 2006-06-05 Jason Rumney <jasonr@gnu.org> |
3075 | ||
3076 | * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create) | |
3077 | (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click) | |
3078 | (x_scroll_bar_report_motion): Remove workarounds for | |
3079 | versions of Windows NT < 3.51. | |
3080 | [!SIF_ALL]: Remove. | |
3081 | (pfnSetScrollInfo, pfnGetScrollInfo): Remove. | |
3082 | (w32_initialize): Don't dynamically load Get/SetScrollInfo. | |
3083 | ||
d495ccfc DK |
3084 | 2006-06-04 David Kastrup <dak@gnu.org> |
3085 | ||
3086 | * dispnew.c: Mention `redisplay-dont-pause' in doc string of | |
3087 | `sit-for'. | |
3088 | ||
fabcf455 YM |
3089 | 2006-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3090 | ||
3091 | * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c. | |
3092 | ||
3093 | * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X. | |
3094 | ||
3095 | * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable. | |
3096 | (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event) | |
3097 | [USE_MAC_TSM]: Likewise. | |
3098 | (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them. | |
3099 | (Qbefore_string) [USE_MAC_TSM]: Add extern. | |
3100 | (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call | |
3101 | ActivateTSMDocument/DeactivateTSMDocument. | |
3102 | (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event. | |
3103 | (mac_handle_window_event) [USE_MAC_TSM]: Handle | |
3104 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
3105 | (mac_handle_text_input_event) [USE_MAC_TSM]: New function. | |
3106 | (install_window_handler) [USE_MAC_TSM]: Install it. Register | |
3107 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
3108 | (keycode_to_xkeysym_table): Add entry for f16. | |
3109 | (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev | |
3110 | before/after passing keystroke event to toolbox dispatcher. | |
3111 | (init_tsm) [USE_MAC_TSM]: New function. | |
3112 | (mac_initialize) [USE_MAC_TSM]: Call it. | |
3113 | (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar. | |
3114 | ||
3115 | * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator. | |
3116 | ||
4985dde2 JPW |
3117 | 2006-06-02 John Paul Wallington <jpw@gnu.org> |
3118 | ||
3119 | * xfns.c (x_set_name_internal): Set icon to `text', derived from | |
3120 | name, when frame's icon_name isn't a string rather than only when | |
3121 | it is nil. | |
3122 | ||
3f65d6f5 EZ |
3123 | 2006-06-03 Eli Zaretskii <eliz@gnu.org> |
3124 | ||
3125 | * w32fns.c (x_set_icon_name): Don't use arg if it's not a string | |
3126 | and not nil. | |
3127 | ||
56f41f98 CY |
3128 | 2006-06-02 Chong Yidong <cyd@stupidchicken.com> |
3129 | ||
3130 | * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a | |
3131 | string. | |
3132 | ||
70a4cae4 YM |
3133 | 2006-06-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3134 | ||
3135 | * xdisp.c (next_element_from_composition): Set it->object to | |
3136 | it->string if composition is coming from string. | |
3137 | (set_cursor_from_row): Don't return 0 unless row displays a | |
3138 | continued line. | |
3139 | (dump_glyph): Dump composite glyph. | |
06c7827a | 3140 | |
8b2b00f5 JD |
3141 | 2006-06-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3142 | ||
3143 | * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. | |
3144 | ||
963128f3 RS |
3145 | 2006-06-01 Richard Stallman <rms@gnu.org> |
3146 | ||
3147 | * window.c (Fsplit_window): Doc fix. | |
3148 | ||
24a71bb1 KS |
3149 | 2006-06-01 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
3150 | ||
3151 | * process.c (deleted_pid_list): New variable to store the pids | |
3152 | of deleted processes. Declare it only if SIGCHLD is defined. | |
3153 | (init_process): Initialize it. | |
3154 | (syms_of_process): Staticpro it. | |
3155 | (Fdelete_process): Add pid of the deleted process to it. Check after | |
3156 | the addition and before the kill if the process is already stopped, | |
3157 | in which case it is deleted from the list and not killed. | |
3158 | (sigchld_handler): Define it only if SIGCHLD is. Search the process | |
3159 | that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'. | |
3160 | Original idea by Stefan Monnier. | |
3161 | ||
a71a7704 KS |
3162 | 2006-06-01 Kim F. Storm <storm@cua.dk> |
3163 | ||
3164 | * dispnew.c (sit_for): Perform redisplay even if input is pending | |
3165 | when redisplay-dont-pause is non-nil. | |
3166 | ||
36f0107c YM |
3167 | 2006-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3168 | ||
3169 | * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil. | |
3170 | (XTread_socket): Remove obsolete comment. | |
3171 | ||
2e92a7cb JD |
3172 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3173 | ||
3174 | * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for | |
3175 | menu-bar-open. | |
3176 | ||
c9467aaa JD |
3177 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3178 | ||
3179 | * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to | |
3180 | menu-bar-open. | |
3181 | ||
3182 | * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. | |
3183 | ||
82db8fa7 JL |
3184 | 2006-05-31 Juri Linkov <juri@jurta.org> |
3185 | ||
3186 | * minibuf.c (Vhistory_add_new_input): New variable. | |
3187 | (read_minibuf): Use it. | |
3188 | (syms_of_minibuf) <history-add-new-input>: New Lisp variable. | |
3189 | (syms_of_minibuf) <history-delete-duplicates>: Doc fix. | |
3190 | ||
360fecca KS |
3191 | 2006-05-31 Kim F. Storm <storm@cua.dk> |
3192 | ||
3193 | * process.c (select_wrapper): Add wrapper around select to work around | |
3194 | "incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside | |
3195 | select called from wait_reading_process_output. | |
3196 | ||
303e108c AS |
3197 | 2006-05-30 Andreas Schwab <schwab@suse.de> |
3198 | ||
3199 | * xmenu.c (Fmenu_bar_start): Return a value. | |
3200 | ||
d9e8091d RS |
3201 | 2006-05-30 Richard Stallman <rms@gnu.org> |
3202 | ||
3203 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
3204 | ||
7c42b3e0 EZ |
3205 | 2006-05-30 Eli Zaretskii <eliz@gnu.org> |
3206 | ||
3207 | * w32term.c (x_draw_hollow_cursor): Fix last change. | |
3208 | ||
73af0716 KS |
3209 | 2006-05-29 Kim F. Storm <storm@cua.dk> |
3210 | ||
3211 | * w32term.c (x_draw_stretch_glyph_string): Fix last change. | |
3212 | ||
3213 | 2006-05-29 Eli Zaretskii <eliz@gnu.org> | |
a952cebe EZ |
3214 | |
3215 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
3216 | ||
ffd71266 YM |
3217 | 2006-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3218 | ||
3219 | * macfns.c [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): | |
3220 | Call mac_set_font_info_for_selection if font panel is made visible. | |
3221 | ||
3222 | * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. | |
3223 | (mac_font_panel_visible_p, mac_show_hide_font_panel) | |
3224 | [USE_MAC_FONT_PANEL]: New functions. | |
3225 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Return | |
3226 | immediately if font panel is not visible. | |
3227 | ||
3228 | * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): | |
3229 | Add externs. | |
3230 | ||
01d09305 DN |
3231 | 2006-05-29 Dan Nicolaescu <dann@ics.uci.edu> |
3232 | ||
3233 | * search.c (matcher_overflow): Mark as NO_RETURN. | |
3234 | ||
3235 | * xterm.c (x_connection_closed): Likewise. | |
3236 | ||
3237 | * sysdep.c (croak): Likewise. | |
3238 | ||
3239 | * sound.c (sound_perror, alsa_sound_perror): Likewise. | |
3240 | ||
3241 | * lisp.h (die, nsberror): Likewise. | |
3242 | ||
c1c032a3 JD |
3243 | 2006-05-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3244 | ||
3fc7a865 JD |
3245 | * sound.c (alsa_open, alsa_configure, alsa_write): Move |
3246 | assignment to err out of if-statement. | |
3247 | ||
c1c032a3 JD |
3248 | * gtkutil.c (menu_nav_ended): New function. |
3249 | (create_menus): Connect menu_nav_ended to "selection-done" to fix | |
3250 | grabs. | |
3251 | ||
3252 | * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. | |
3253 | ||
345b3483 DN |
3254 | 2006-05-28 Dan Nicolaescu <dann@ics.uci.edu> |
3255 | ||
3256 | * charset.h (invalid_character): Mark as NO_RETURN. | |
3257 | ||
7311509e KH |
3258 | 2006-05-29 Kenichi Handa <handa@m17n.org> |
3259 | ||
3260 | * coding.c (Ffind_operation_coding_system): Call a function by | |
3261 | safe_call1 instead of call1. | |
3262 | ||
6ad0381c SM |
3263 | 2006-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
3264 | ||
3265 | * window.c (struct saved_window): Add `dedicated'. | |
3266 | (Fset_window_configuration, save_window_save): Save/restore the | |
3267 | `dedicated' flag. | |
3268 | ||
794033ae KS |
3269 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
3270 | ||
3271 | * xdisp.c (set_cursor_from_row): If cursor cannot be set in row, | |
3272 | don't update w->cursor and return 0. Return 1 on success. | |
3273 | (try_cursor_movement): Repeat set_cursor_from_row on successive rows | |
3274 | until it succeeds. | |
3275 | ||
3276 | * dispextern.h (set_cursor_from_row): Update prototype. | |
3277 | ||
26837cd3 KS |
3278 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
3279 | ||
3280 | * xdisp.c (get_phys_cursor_geometry): Return computed x and y through | |
3281 | parameters. Adjust x and width in case cursor in on a partially | |
3282 | visible stretch glyph on the left edge. | |
3283 | (erase_phys_cursor): Don't erase into left fringe/margin in case | |
3284 | previous cursor glyph is a partially visible stretch glyph on left. | |
3285 | ||
3286 | * dispextern.h (get_phys_cursor_geometry): Update prototype. | |
3287 | ||
3288 | * xterm.c (x_draw_stretch_glyph_string): Fix problems with invisible | |
3289 | cursor and erasing cursor on partially visible stretch glyph on left. | |
3290 | (x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry. | |
3291 | ||
3292 | * macterm.c: Likewise. | |
3293 | ||
3294 | * w32term.c: Likewise. | |
3295 | ||
412f3f18 YM |
3296 | 2006-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3297 | ||
6ad0381c SM |
3298 | * macselect.c (mac_handle_apple_event): |
3299 | Return errAEEventNotHandled if key binding is not found. | |
412f3f18 | 3300 | |
0f7078f0 EZ |
3301 | 2006-05-26 Eli Zaretskii <eliz@gnu.org> |
3302 | ||
3303 | * emacs.c (main) [PROFILING]: Enable also for __MINGW32__. | |
3304 | [__MINGW32__]: MinGW-specific declaration of `etext'. | |
3305 | ||
3306 | * w32heap.c (etext, edata): Remove unused definitions. | |
3307 | ||
795c20df CY |
3308 | 2006-05-26 Chong Yidong <cyd@stupidchicken.com> |
3309 | ||
6ad0381c SM |
3310 | * fileio.c (Fcopy_file): Delete argument MUSTBENEW. |
3311 | Incorporate the exclusive file-opening functionality into the behavior | |
3312 | when OK-IF-ALREADY-EXISTS is nil. | |
795c20df CY |
3313 | (Frename_file): Call Fcopy_file without MUSTBENEW argument. |
3314 | ||
07a7837c JD |
3315 | 2006-05-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3316 | ||
3317 | * sound.c (alsa_configure): Move get period/buffer_size after | |
3318 | setting hwparams. | |
3319 | ||
f1c582b4 KH |
3320 | 2006-05-26 Kenichi Handa <handa@m17n.org> |
3321 | ||
3322 | * coding.c (Ffind_operation_coding_system): Allow (FILENAME | |
3323 | . BUFFER) in TARGET. | |
3324 | ||
3165e450 CY |
3325 | 2006-05-25 Chong Yidong <cyd@stupidchicken.com> |
3326 | ||
3327 | * image.c (png_load): Don't call fclose on NULL. | |
3328 | ||
d579f53b LT |
3329 | 2006-05-25 Luc Teirlinck <teirllm@auburn.edu> |
3330 | ||
3331 | * fns.c (Fyes_or_no_p): | |
3332 | * callint.c (Fcall_interactively): Fread_from_minibuffer now takes | |
3333 | only seven args. | |
3334 | ||
abeb5483 JL |
3335 | 2006-05-25 Juri Linkov <juri@jurta.org> |
3336 | ||
3337 | * lisp.h (Fread_from_minibuffer): Decrement number of args. | |
3338 | ||
3339 | * minibuf.c (read_minibuf): Remove arg KEEP_ALL. Callers changed. | |
3340 | (Fread_from_minibuffer): Remove arg KEEP_ALL. Callers changed. | |
3341 | ||
3342 | * buffer.c (mode-line-format): Fix docstring. | |
3343 | ||
403a7bca RS |
3344 | 2006-05-25 Richard Stallman <rms@gnu.org> |
3345 | ||
3346 | * emacs.c (main, Fdump_emacs): Don't test __linux or __linux__. | |
3347 | ||
24b0232f LT |
3348 | 2006-05-24 Luc Teirlinck <teirllm@auburn.edu> |
3349 | ||
3350 | * puresize.h (BASE_PURESIZE): Increase to 1210000. | |
3351 | ||
ac9f37df AM |
3352 | 2006-05-24 Alan Mackenzie <acm@muc.de> |
3353 | ||
3354 | * lread.c (Vload_history): Enhance doc-string to say that the file | |
3355 | is the absolute truename of the loaded file. | |
3356 | ||
3357 | * lread.c (Vafter_load_alist): doc-string: state that an element | |
3358 | now has a regexp to match file names, not a file name as such. | |
3359 | ||
3360 | * lread.c (readevalloop): Call file-truename on the name for | |
3361 | load-history, except at preloading time. | |
3362 | ||
3363 | * lread.c (Fload): At preloading time, preserve the extension of | |
6ad0381c | 3364 | the filename which goes into load-history. New var hist_file_name. |
ac9f37df AM |
3365 | |
3366 | * lread.c (Fload): Do eval-after-load stuff by calling the lisp | |
3367 | function do-after-load-evaluation. | |
3368 | ||
e4dff88d YM |
3369 | 2006-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3370 | ||
3371 | * mac.c (ae_attr_table): New variable. | |
3372 | (syms_of_mac): Intern and staticpro its elements. | |
3373 | (mac_aelist_to_lisp): Also convert Apple event attributes. | |
3374 | (mac_ae_put_lisp): New function. | |
3375 | (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text. | |
3376 | ||
3377 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc. | |
3378 | ||
3379 | * macselect.c (Qemacs_suspension_id): New variable. | |
3380 | (syms_of_macselect): Intern and staticpro it. | |
3381 | (struct suspended_ae_info): New struct. | |
3382 | (deferred_apple_events, defer_apple_events) | |
3383 | (Fmac_process_deferred_apple_events): Use it. | |
3384 | (suspended_apple_events): New variable. | |
3385 | (mac_handle_apple_event_1): New function. | |
3386 | (mac_handle_apple_event): Use it. Don't process previously | |
3387 | suspended events. | |
412f3f18 | 3388 | (cleanup_suspended_apple_events, get_suspension_id) |
e4dff88d YM |
3389 | (cleanup_all_suspended_apple_events): New functions. |
3390 | (init_apple_event_handler): Call cleanup_all_suspended_apple_events | |
3391 | at exit. | |
3392 | (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter) | |
3393 | (Fmac_resume_apple_event): New defuns. | |
3394 | (syms_of_macselect): Defsubr them. | |
3395 | ||
3396 | * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]: | |
3397 | Fix last change. Don't map `fn' modifier if pressed with F1 ... F12. | |
3398 | ||
3399 | * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator. | |
3400 | (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator. | |
3401 | (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise. | |
3402 | (gestaltSystemVersionMajor, gestaltSystemVersionMinor) | |
3403 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: | |
3404 | Likewise. | |
3405 | (typeUTF8Text, kEventParamWindowMouseLocation) | |
3406 | [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise. | |
3407 | (x_get_focus_frame, mac_ae_put_lisp): Add externs. | |
3408 | ||
b8c6940e YM |
3409 | 2006-05-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3410 | ||
3411 | * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove. | |
3412 | (fn_keycode_to_keycode_table) [MAC_OSX]: New variable. | |
3413 | (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function. | |
3414 | (XTread_socket) [TARGET_API_MAC_CARBON]: Use it. | |
3415 | (XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout | |
3416 | resource to backtranslate key with modifiers. | |
3417 | (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent. | |
3418 | ||
0277e36c JD |
3419 | 2006-05-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3420 | ||
3421 | * xterm.c: Remove declarations already in xterm.h | |
3422 | ||
3423 | * xterm.h: Add extern declarations for x_clear_errors, | |
26837cd3 | 3424 | x_fully_uncatch_errors, x_catching_errors and |
0277e36c JD |
3425 | x_alloc_lighter_color_for_widget. Remove duplicated declarations. |
3426 | ||
63af6055 RS |
3427 | 2006-05-21 Richard Stallman <rms@gnu.org> |
3428 | ||
55815819 RS |
3429 | * xfaces.c (best_matching_font): Abort for best == NULL |
3430 | before we start to use it. | |
3431 | ||
63af6055 RS |
3432 | * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes. |
3433 | ||
5748161e KS |
3434 | 2006-05-20 Kim F. Storm <storm@cua.dk> |
3435 | ||
3436 | * xfaces.c (best_matching_font): Fix crash in 2006-05-17 change. | |
3437 | ||
431225c6 YM |
3438 | 2006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3439 | ||
3440 | * macterm.c (convert_fn_keycode): Fix last change. | |
3441 | ||
e00b99c8 EZ |
3442 | 2006-05-19 Eli Zaretskii <eliz@gnu.org> |
3443 | ||
3444 | * w32.c (init_environment): Perform the processing of environment | |
3445 | variables on a copy of default variables and their values, not on | |
75e3b957 EZ |
3446 | the original. Simplify code that calls ExpandEnvironmentStrings |
3447 | and make buf1[] and buf2[] more visible for easier debugging. | |
e00b99c8 | 3448 | |
689840b9 YM |
3449 | 2006-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3450 | ||
3451 | * frame.c (x_set_border_width): Remove #ifndef MAC_OS. | |
3452 | ||
3453 | * image.c [MAC_OS] (gif_load): Allocate Lisp string first. | |
3454 | ||
3455 | * macfns.c (Fx_focus_frame): Don't check dpyinfo->x_focus_frame. | |
3456 | ||
3457 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]: | |
3458 | Forward keyUp events to toolbox_dispatcher. | |
3459 | ||
3460 | * window.c (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)). | |
3461 | ||
a940e2c6 JD |
3462 | 2006-05-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3463 | ||
3464 | * config.in: Regenerated (HAVE_ALSA). | |
3465 | ||
3466 | * sound.c (alsa_sound_perror, alsa_open, alsa_period_size) | |
3467 | (alsa_configure, alsa_close, alsa_choose_format, alsa_write) | |
3468 | (snd_error_quiet, alsa_init): New functions. | |
3469 | (vox_init): Return 0 if unable to open device. | |
3470 | (Fplay_sound_internal): Test for alsa first and use vox (oss) as | |
3471 | a fallback. | |
3472 | (struct sound_device): Add period_size. | |
3473 | (wav_play, au_play): Use period_size if set. | |
3474 | ||
14a56a1b JB |
3475 | * Makefile.in (CFLAGS_SOUND): New flags for ALSA. |
3476 | (ALL_CFLAGS): Add CFLAGS_SOUND. | |
a940e2c6 | 3477 | |
8acb7dad KH |
3478 | 2006-05-18 Kenichi Handa <handa@m17n.org> |
3479 | ||
3480 | * callproc.c (Fcall_process): Reject encoding arguments by | |
3481 | ascii-incompatible coding systems (e.g. utf-16). | |
3482 | ||
3483 | * coding.c (Qascii_incompatible): New variable. | |
3484 | (syms_of_coding): Setup Qascii_incompatible. | |
3485 | (setup_coding_system): Be sure to initialize coding->common_flags. | |
3486 | Check `ascii-incompatible' property of the coding system. | |
3487 | ||
3488 | * coding.h (CODING_ASCII_INCOMPATIBLE_MASK): New macro. | |
3489 | ||
f5ecbcee KS |
3490 | 2006-05-18 Kim F. Storm <storm@cua.dk> |
3491 | ||
647b07d1 AS |
3492 | * xdisp.c (display_tool_bar_line): Restore entire tool-bar |
3493 | geometry when backtracking in case last image doesn't fit on line. | |
f5ecbcee | 3494 | |
856bb2b0 | 3495 | 2006-05-18 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change) |
f5ecbcee | 3496 | |
647b07d1 AS |
3497 | * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by |
3498 | more than height of one frame default line. | |
f5ecbcee | 3499 | |
5748161e KS |
3500 | 2006-05-17 Richard Stallman <rms@gnu.org> |
3501 | ||
3502 | * xfaces.c (better_font_p): Any font beats no font. | |
3503 | (best_matching_font): Simplify based on above change. | |
26837cd3 | 3504 | |
6f5c4cc9 | 3505 | * buffer.c (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes. |
5748161e | 3506 | |
b3abe3a5 KS |
3507 | 2006-05-16 Kim F. Storm <storm@cua.dk> |
3508 | ||
3509 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
3510 | calling x_kill_gs_process. | |
3511 | ||
46a2df8e RS |
3512 | 2006-05-14 Richard Stallman <rms@gnu.org> |
3513 | ||
3514 | * textprop.c (Fnext_single_char_property_change) | |
3515 | (Fprevious_single_char_property_change): Don't allow returning | |
3516 | value beyond LIMIT in any cases. | |
3517 | (Fnext_char_property_change, Fprevious_char_property_change): Doc fix. | |
b3abe3a5 | 3518 | |
46a2df8e RS |
3519 | * intervals.c (get_local_map): Abort if POSITION outside BEGV, ZV. |
3520 | ||
79fb0ab7 JD |
3521 | 2006-05-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3522 | ||
3523 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
3524 | calling _XEditResCheckMessages. | |
3525 | ||
0f479f06 KS |
3526 | 2006-05-14 Kim F. Storm <storm@cua.dk> |
3527 | ||
3528 | * xterm.c (handle_one_xevent): Fix crash in 2006-03-24 change. | |
3529 | ||
642c61f3 EZ |
3530 | 2006-05-13 Eli Zaretskii <eliz@gnu.org> |
3531 | ||
dac85f4b EZ |
3532 | * frame.c (x_set_border_width): Fix error message to say "frame", |
3533 | not "window". | |
3534 | ||
642c61f3 EZ |
3535 | * Makefile.in (SOME_MACHINE_LISP): Add fringe.elc. |
3536 | ||
4e8f005c CY |
3537 | 2006-05-12 Chong Yidong <cyd@stupidchicken.com> |
3538 | ||
3539 | * intervals.c (set_point_both): Fix mixup before before and after | |
3540 | in variable names. | |
3541 | ||
3542 | * editfns.c (Fline_beginning_position): Inhibit point-motion hooks | |
3543 | while setting point temporarily. | |
3544 | ||
1ed7b9ae RS |
3545 | 2006-05-11 Richard Stallman <rms@gnu.org> |
3546 | ||
3547 | * lread.c (readevalloop): Abort if START non-nil for non-buffer input. | |
3548 | ||
f46f3e21 KS |
3549 | 2006-05-11 Kim F. Storm <storm@cua.dk> |
3550 | ||
3551 | * xdisp.c (redisplay_tool_bar): Handle large tool-bar-border values. | |
3552 | ||
17ad716a KH |
3553 | 2006-05-11 Kenichi Handa <handa@m17n.org> |
3554 | ||
3555 | * fileio.c (Finsert_file_contents): Fix for the case of IO error | |
3556 | while handling replace operation. | |
3557 | ||
4da9c136 KH |
3558 | 2006-05-10 Kenichi Handa <handa@m17n.org> |
3559 | ||
3560 | * xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font | |
3561 | chosen for the default face was different from the frame font, | |
3562 | adjust the frame font. | |
3563 | ||
dec94049 YM |
3564 | 2006-05-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3565 | ||
3566 | * image.c (Qduration) [MAC_OS]: Undo previous change. | |
3567 | (syms_of_image) [MAC_OS]: Likewise. | |
3568 | [MAC_OS] (gif_load): Emulate Graphic Control Extension block. | |
3569 | ||
3570 | * macfns.c (x_to_mac_color): Fix shift amount change. | |
b8c6940e | 3571 | (mac_set_font) [USE_MAC_FONT_PANEL]: Use x_get_focus_frame. |
dec94049 YM |
3572 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix. |
3573 | ||
3574 | * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from | |
3575 | Vmac_services_selection. All uses changed. | |
3576 | (mac_store_service_event): Rename from mac_store_services_event in | |
3577 | extern and calls. | |
3578 | ||
3579 | * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. All uses | |
3580 | changed. | |
3581 | [MAC_OSX] (mac_store_service_event): Rename from | |
3582 | mac_store_services_event. All callers changed. | |
3583 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args | |
3584 | FACE_ID and C. All callers changed. | |
3585 | (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call | |
3586 | mac_set_font_info_for_selection when focus frame is destroyed. | |
3587 | (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow. | |
3588 | ||
3589 | * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd | |
3590 | args in extern. | |
3591 | ||
d3ee989e CY |
3592 | 2006-05-09 Chong Yidong <cyd@stupidchicken.com> |
3593 | ||
3594 | * keymap.c (describe_map): Avoid generating duplicate entries if | |
3595 | the shadowed binding has the same definition. | |
3596 | ||
5f2c7b2a KH |
3597 | 2006-05-09 Kenichi Handa <handa@m17n.org> |
3598 | ||
3599 | * keymap.c (push_key_description): Handle invalid character key. | |
3600 | ||
76a25e79 KH |
3601 | 2006-05-08 Kenichi Handa <handa@m17n.org> |
3602 | ||
3603 | * callproc.c (Fcall_process): Use system_eol_type for encoding | |
3604 | arguments if eol_type is not yet decided. | |
3605 | ||
3606 | * coding.h (system_eol_type): Extern it. | |
3607 | ||
3608 | * coding.c (setup_coding_system): For invalid coding-system, set | |
3609 | coding->eol_type to CODING_EOL_UNDECIDED. | |
3610 | (encode_coding): Cancel previous change. | |
3611 | (shrink_encoding_region): Likewise. | |
3612 | (code_convert_region1): Likewise. | |
3613 | (code_convert_string1): Likewise. | |
3614 | (code_convert_string_norecord): Likewise. | |
3615 | ||
3616 | * fileio.c (choose_write_coding_system): Use system_eol_type for | |
3617 | encoding if eol_type is not yet decided. | |
3618 | ||
3619 | * process.c (setup_process_coding_systems): Use system_eol_type | |
3620 | for encoding if eol_type is not yet decided. | |
3621 | (read_process_output): Likewise. | |
3622 | (send_process): Likewise. | |
3623 | ||
f4b46bb9 JB |
3624 | 2006-05-07 Juanma Barranquero <lekktu@gmail.com> |
3625 | ||
3626 | * minibuf.c (syms_of_minibuf) <history-length>: Fix typo in doc. | |
3627 | ||
cc9945f2 YM |
3628 | 2006-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3629 | ||
3630 | * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c. | |
3631 | (syms_of_mac): Likewise for defsubr. | |
3632 | ||
3633 | * macfns.c (mac_set_font): New function. | |
3634 | (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it. | |
3635 | (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify | |
3636 | kWindowToolbarButtonAttribute when creating window. | |
3637 | (Fmac_clear_font_name_table): Move from macfns.c. | |
3638 | (syms_of_macfns): Likewise for defsubr. | |
3639 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun. | |
3640 | (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it. | |
3641 | ||
3642 | * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set | |
3643 | and build is done on Mac OS X 10.2 and later. | |
3644 | ||
3645 | * macselect.c (mac_do_receive_drag): Remove unused variable `index'. | |
3646 | (mac_store_services_event): Change return type in extern. | |
3647 | ||
dec94049 YM |
3648 | * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set font->mac_fontnum to |
3649 | FMFontFamily value. | |
cc9945f2 YM |
3650 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function. |
3651 | (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it. | |
3652 | (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern. | |
3653 | (QWindow) [MAC_OSX]: Likewise. | |
3654 | (Qfont) [USE_MAC_FONT_PANEL]: Likewise. | |
3655 | (Vmac_atsu_font_table) [USE_ATSUI]: New variable. | |
3656 | (syms_of_macterm) [USE_ATSUI]: Defvar it. | |
3657 | (Qtoolbar_switch_mode) [MAC_OSX]: New variable. | |
3658 | (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. | |
3659 | (syms_of_macterm): Intern and staticpro them. | |
dec94049 | 3660 | (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. |
cc9945f2 YM |
3661 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): New |
3662 | function. | |
3663 | [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. | |
3664 | [MAC_OSX] (mac_store_services_event): Likewise. | |
3665 | [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle | |
3666 | kEventWindowToolbarSwitchMode event. | |
3667 | (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it. | |
3668 | [MAC_OSX] (mac_store_services_event): Change return type to OSStatus. | |
3669 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function. | |
3670 | (install_window_handler) [USE_MAC_FONT_PANEL]: Install it. | |
3671 | (XTread_socket): Select window on mouse click if x_focus_frame is NULL. | |
3672 | ||
3673 | * macterm.h (mac_set_font_info_for_selection): Add extern. | |
3674 | ||
41f7a85e YM |
3675 | 2006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3676 | ||
3677 | * image.c (Qduration) [MAC_OS]: New variable. | |
3678 | (syms_of_image) [MAC_OS]: Intern and staticpro it. | |
3679 | [MAC_OS] (gif_load): Save image extension data in img->data.lisp_val. | |
3680 | [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring | |
3681 | instead of cfstring_create_with_string. | |
3682 | ||
a1dfdf24 KS |
3683 | 2006-05-06 Kim F. Storm <storm@cua.dk> |
3684 | ||
3685 | * .gdbinit (xframe): Print frame name. | |
3686 | (xlist): New command to print a list (max 10 elements). | |
3687 | (xpr): Print lisp object of any type. | |
3688 | (pitx): Print it->pixel_width. | |
3689 | ||
37e21325 KH |
3690 | 2006-05-05 Kenichi Handa <handa@m17n.org> |
3691 | ||
3692 | * xdisp.c (handle_composition_prop): Fix for the case of empty | |
3693 | composition component. | |
3694 | ||
ef0154b5 YM |
3695 | 2006-05-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3696 | ||
3697 | * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info | |
3698 | from event->arg. | |
3699 | ||
3700 | * termhooks.h (enum event_kind) [MAC_OS]: Update comment for | |
3701 | MAC_APPLE_EVENT. | |
3702 | ||
3703 | * macterm.h (mac_make_lispy_event_code): Remove extern. | |
3704 | (mac_post_mouse_moved_event): Add extern. | |
3705 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
3706 | `const AEDesc *' in externs. | |
3707 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern. | |
3708 | ||
3709 | * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
3710 | `const AEDesc *'. | |
3711 | [TARGET_API_MAC_CARBON] (create_apple_event): New function. | |
3712 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. | |
3713 | Use xrealloc instead of repeated xmalloc/xfree. | |
3714 | [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): New | |
3715 | function. | |
3716 | ||
3717 | * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. | |
3718 | ||
3719 | * macselect.c: Update copyright year. | |
3720 | (mac_store_apple_event): Change return type to void in extern. | |
3721 | (mac_handle_apple_event): Don't get return value from | |
3722 | mac_store_apple_event. | |
3723 | [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable. | |
3724 | (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it. | |
3725 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from | |
3726 | macterm.c. Use Vmac_dnd_known_types as acceptable flavors. | |
3727 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New | |
3728 | implementation using create_apple_event_from_drag_ref. | |
3729 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
3730 | (mac_do_receive_dragUPP): Move variables from macterm.c. | |
3731 | (install_drag_handler, remove_drag_handler): New functions. | |
3732 | ||
3733 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window | |
3734 | path select also for proxy icon click. | |
3735 | [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function. | |
3736 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it. | |
3737 | (xlfdpat_create): Remove unused label `error' and trailing sentences. | |
3738 | (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c. | |
3739 | (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to | |
3740 | macselect.c. | |
3741 | (install_drag_handler, remove_drag_handler): Add extern. | |
3742 | (mac_store_apple_event): Change return type to void. All uses changed. | |
3743 | Create Lisp object from Apple event and store it into input event. | |
3744 | (mac_make_lispy_event_code): Remove function. | |
3745 | [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function. | |
3746 | (install_window_handler): Call install_drag_handler. | |
3747 | (remove_window_handler): Call remove_drag_handler. | |
3748 | ||
8b0ba111 RS |
3749 | 2006-05-03 Richard Stallman <rms@gnu.org> |
3750 | ||
e4a9a1cf RS |
3751 | * sound.c (Fplay_sound_internal): Dynamically allocate |
3752 | current_sound_device and current_sound. | |
3753 | (sound_cleanup): Free them. | |
3754 | ||
8b0ba111 RS |
3755 | * minibuf.c (read_minibuf): Don't use read_minibuf_noninteractive |
3756 | when inside a keyboard macro. | |
3757 | ||
64ec8b2f AS |
3758 | 2006-05-02 Andreas Schwab <schwab@suse.de> |
3759 | ||
3760 | * xmenu.c (restore_menu_items): Return a value. | |
3761 | ||
fcdd4585 SM |
3762 | 2006-05-01 Martin Rudalics <rudalics@gmx.at> |
3763 | ||
3764 | * syntax.c (Fforward_comment): Detect generic comment at beginning of | |
3765 | buffer when moving backwards. | |
3766 | ||
c1eb34c2 YM |
3767 | 2006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3768 | ||
3769 | * dispnew.c (update_window): Don't set changed_p when mode/header | |
3770 | line is updated. | |
3771 | ||
3772 | * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar. | |
fcdd4585 SM |
3773 | (get_glyph_face_and_encoding, get_char_face_and_encoding): |
3774 | Don't distinguish known faces from others. | |
c1eb34c2 YM |
3775 | |
3776 | * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion | |
3777 | through typeFileURL failed. | |
3778 | ||
3779 | * macfns.c (mac_update_title_bar): New function. | |
3780 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function. | |
fcdd4585 SM |
3781 | (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: |
3782 | Call mac_prepare_for_quickdraw. | |
c1eb34c2 YM |
3783 | |
3784 | * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined. | |
3785 | (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1. | |
3786 | (enum pcm_status): New enum. | |
3787 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID) | |
3788 | (XCharStructRow): Remove. Now validity is represented by | |
3789 | non-negativeness of sum of ascent and descent. | |
3790 | (struct MacFontStruct): Change type of member `rows'. | |
3791 | (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'. | |
3792 | ||
fcdd4585 SM |
3793 | * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): |
3794 | Adjust endpoints of strictly horizontal/vertical lines. | |
c1eb34c2 YM |
3795 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects. |
3796 | (pcm_init, pcm_get_status): New functions. | |
3797 | (x_per_char_metric, XLoadQueryFont): Use them instead of | |
3798 | XCharStructRow and related macros. | |
3799 | (x_draw_relief_rect): Don't adjust arguments of mac_draw_line. | |
3800 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME. | |
3801 | (XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag | |
3802 | and window path pop-up menu on title bar. | |
3803 | (mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1. | |
3804 | ||
3805 | * macterm.h (mac_update_title_bar): Add extern. | |
3806 | (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. | |
3807 | (FRAME_FILE_NAME): New macro. | |
3808 | ||
3809 | * unexmacosx.c (unexec): Error if trying unexec from dumped executable. | |
3810 | ||
9abc5f45 RS |
3811 | 2006-04-30 Richard Stallman <rms@gnu.org> |
3812 | ||
3813 | * keymap.c (Fdefine_key): Improve error message | |
3814 | when KEY begins with a non-prefix key. | |
3815 | ||
5fed8c15 | 3816 | 2006-04-30 Martin Rudalics <rudalics@gmx.at> |
39c41ad4 SM |
3817 | |
3818 | * syntax.c (Fforward_comment): Don't forget to break out of the loop | |
3819 | when we skipped backward over a generic comment. | |
3820 | ||
4a113e3f NR |
3821 | 2006-04-27 Nick Roberts <nickrob@snap.net.nz> |
3822 | ||
3823 | * .gdbinit (pp1, pv1): Only print value as expression is now | |
3824 | printed out by gud-print. | |
3825 | (pv1): Correct doc string. | |
3826 | ||
e89e07cc SM |
3827 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
3828 | ||
3829 | * keymap.c (store_in_keymap): Change `def' arg to not be `register'. | |
3830 | Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): | |
3831 | keymap.c:895: error: address of register variable `def' requested. | |
3832 | ||
7d6f8c68 JR |
3833 | 2006-04-26 Jason Rumney <jasonr@gnu.org> |
3834 | ||
8b03732e JR |
3835 | * w32term.c (construct_mouse_wheel): Handle negative coordinates. |
3836 | ||
7d6f8c68 JR |
3837 | * w32fns.c (w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>: |
3838 | <WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases | |
3839 | where we preempt mouse_button_timer. | |
3840 | ||
51d793da MB |
3841 | 2006-04-25 Miles Bader <miles@gnu.org> |
3842 | ||
3843 | * editfns.c (Ffield_beginning, find_field): Undo change of 2006-04-23. | |
3844 | ||
a9ec7317 SM |
3845 | 2006-04-24 Stefan Monnier <monnier@iro.umontreal.ca> |
3846 | ||
3847 | * process.h: Include headers for pid_t. | |
3848 | ||
e9346494 KS |
3849 | 2006-04-24 Kim F. Storm <storm@cua.dk> |
3850 | ||
1ada896b KS |
3851 | * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which |
3852 | does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief. | |
6fcd305c | 3853 | (produce_stretch_glyph): Assume that face box height and width is |
5e1a6e32 | 3854 | already included in stretch glyph size so caller doesn't have to |
6fcd305c | 3855 | consider the extra space otherwise added (fixes problem in ses.el). |
1ada896b | 3856 | |
e9346494 KS |
3857 | * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame |
3858 | matrices to force recalculation of tool-bar height after font change. | |
3859 | ||
3860 | * xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity. | |
14922abe KS |
3861 | Clear it when done, so we don't accidentally draw a second copy of |
3862 | the tool-bar after resetting f->n_tool_bar_rows. | |
e9346494 KS |
3863 | (redisplay_tool_bar): Update tool-bar-lines frame parameter whenever |
3864 | we recalculate f->n_tool_bar_rows. | |
3865 | ||
4f261b99 RF |
3866 | 2006-04-23 Lars Hansen <larsh@soem.dk> |
3867 | ||
59062dce LH |
3868 | * editfns.c (find_field): Fix comment. |
3869 | (Ffield_beginning): Fix bug when POS is at field beginning. | |
3870 | ||
3705332d EZ |
3871 | 2006-04-22 Eli Zaretskii <eliz@gnu.org> |
3872 | ||
3873 | * puresize.h (BASE_PURESIZE): Increase to 1205000. | |
3874 | ||
cdd2341c KS |
3875 | 2006-04-21 Kim F. Storm <storm@cua.dk> |
3876 | ||
95797ede KS |
3877 | * xdisp.c (redisplay_window): Fix last change. Don't recenter if |
3878 | window start is at BEGV. | |
3879 | ||
cdd2341c KS |
3880 | * dispextern.h (struct image): New member `corners'. |
3881 | (TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros. | |
3882 | ||
3883 | * image.c (four_corners_best): New arg CORNERS specifies what pixels | |
3884 | to look at in case image has margin. | |
3885 | (x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best. | |
3886 | (image_background, image_background_transparent) | |
3887 | (x_build_heuristic_mask): Pass img->corners to four_corners_best. | |
3888 | (gif_load): Set img->corners according to image's margin spec. | |
3889 | Use img->corners values directly where applicable. | |
3890 | Save image extension data in img->data.lisp_val. | |
3891 | (gif_clear_image): New function to free img->data.lisp_val. | |
3892 | (gif_type): Use it instead of generic x_clear_image. | |
3893 | (Fimage_extension_data): New defun. | |
3894 | (syms_of_image): Defsubr it. | |
3895 | ||
72ffd9d0 EZ |
3896 | 2006-04-21 John Sullivan <john@wjsullivan.net> (tiny change) |
3897 | ||
3898 | * window.c (Fdisplay_buffer): Doc fix. | |
3899 | ||
0d95f6b2 EZ |
3900 | 2006-04-21 Eli Zaretskii <eliz@gnu.org> |
3901 | ||
3902 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000. | |
3903 | ||
a0c62ca2 YM |
3904 | 2006-04-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3905 | ||
3906 | * image.c [MAC_OS] (xpm_load_image): Fill in background field | |
3907 | while we have ximg handy. | |
3908 | ||
3909 | * macmenu.c (restore_menu_items, save_menu_items): New functions | |
3910 | from xmenu.c. | |
3911 | (set_frame_menubar, digest_single_submenu): Apply 2006-04-18 | |
3912 | changes for xmenu.c. | |
3913 | ||
3914 | * macterm.c (x_per_char_metric): Return NULL if glyph width is 0. | |
3915 | (add_mac_font_name): New function. | |
3916 | (init_font_name_table): Use it. Adopt the first found font from | |
3917 | those having the same family name. | |
3918 | ||
bf49275d NR |
3919 | 2006-04-21 Nick Roberts <nickrob@snap.net.nz> |
3920 | ||
3921 | * xdisp.c (note_mouse_highlight): Use build_string. | |
3922 | ||
570fab6c LH |
3923 | 2006-04-20 Lars Hansen <larsh@soem.dk> |
3924 | ||
a9ec7317 SM |
3925 | * textprop.c (Fremove_list_of_text_properties): |
3926 | Ensure modify_region is called only when buffer is modified and that | |
570fab6c LH |
3927 | signal_after_change is allways called in that case. |
3928 | ||
3929 | * print.c (PRINTFINISH): Call signal_after_change. | |
3930 | ||
7f32b80b KS |
3931 | 2006-04-20 Kim F. Storm <storm@cua.dk> |
3932 | ||
bdb60d06 KS |
3933 | * xdisp.c (redisplay_window): Fix last change. |
3934 | ||
5e1a6e32 | 3935 | * xdisp.c (redisplay_window): If current window start is not at the |
7f32b80b KS |
3936 | beginning of a line, select a new window start if buffer is modified |
3937 | and window start is in the modified region, but the first change is | |
3938 | before window start. | |
3939 | ||
290e4aae RS |
3940 | 2006-04-18 Richard Stallman <rms@gnu.org> |
3941 | ||
3942 | * xmenu.c (restore_menu_items, save_menu_items): New fns. | |
3943 | (set_frame_menubar): Use save_menu_items. Save updated vector in | |
a9ec7317 SM |
3944 | the frame before unwinding it. Don't use unuse_menu_items. |
3945 | Don't use discard_menu_items. | |
290e4aae RS |
3946 | (digest_single_submenu): Abort if an item is not in a pane. |
3947 | (init_menu_items): Put the error check at the top. | |
3948 | ||
3949 | * keymap.c (describe_map): Make "shadowed" warning more verbose. | |
3950 | ||
3951 | * window.c (adjust_window_trailing_edge): Correctly distinguish | |
3952 | series vs parallel cases, even when window has no parent. | |
3953 | ||
3954 | * abbrev.c (record_symbol): New function. | |
3955 | (Finsert_abbrev_table_description): Sort the abbrevs alphabetically. | |
3956 | ||
b96fe6ea YM |
3957 | 2006-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3958 | ||
3959 | * image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return | |
3960 | value of xmalloc. | |
3961 | ||
3962 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
3963 | (create_apple_event_from_event_ref, xrm_get_preference_database) | |
3964 | (cfstring_create_normalized): Don't check return value of xmalloc. | |
3965 | ||
3966 | * macselect.c (get_scrap_target_type_list, defer_apple_events) | |
3967 | (copy_scrap_flavor_data, mac_handle_service_event): Don't check | |
3968 | return value of xmalloc/xrealloc. | |
3969 | ||
3970 | * macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create) | |
3971 | (init_font_name_table, init_font_name_table, mac_do_list_fonts) | |
a0c62ca2 YM |
3972 | (XLoadQueryFont, mac_store_apple_event): Don't check return value |
3973 | of xmalloc. | |
b96fe6ea | 3974 | |
6c7809b3 NR |
3975 | 2006-04-17 Kim F. Storm <storm@cua.dk> |
3976 | ||
3977 | * window.c (coordinates_in_window): On the vertical border, | |
3978 | calculate the row number measured from the top of the window, not | |
3979 | the top of the frame. | |
39d78835 KS |
3980 | (window_loop): Test w->dedicated with !NILP instead of EQ Qt. |
3981 | (window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change. | |
6c7809b3 | 3982 | |
4bba3064 EZ |
3983 | 2006-04-16 Eli Zaretskii <eliz@gnu.org> |
3984 | ||
3985 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000. | |
3986 | ||
8d95636b RF |
3987 | 2006-04-16 Romain Francoise <romain@orebokech.com> |
3988 | ||
3989 | * puresize.h (BASE_PURESIZE): Decrement back to 1200000. | |
3990 | ||
6a258a33 AS |
3991 | 2006-04-16 Andreas Schwab <schwab@suse.de> |
3992 | ||
3993 | * puresize.h (PURESIZE_RATIO): Reduce to 10/6. | |
3994 | ||
f70a96b0 RF |
3995 | 2006-04-15 Romain Francoise <romain@orebokech.com> |
3996 | ||
3997 | * puresize.h (BASE_PURESIZE): Increment to 1210000. | |
3998 | ||
28b257dc | 3999 | 2006-04-13 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
cda4c00b EZ |
4000 | |
4001 | * print.c (Fprin1_to_string): Mention in the `doc' that the | |
4002 | behavior is modified by `print-level' and `print-length'. | |
4003 | ||
6e9715ae KH |
4004 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
4005 | ||
4006 | * coding.c (setup_coding_system): If eol-type is not yet decided | |
4007 | and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK. | |
4008 | If coding_system is nil, return 0. | |
4009 | (code_convert_region1): Even if coding_system is nil, don't skip | |
4010 | conversion if system_eol_type is not LF. | |
4011 | (code_convert_string1): Likewise. | |
4012 | (code_convert_string_norecord): Likewise. | |
4013 | ||
2b89a53f KH |
4014 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
4015 | ||
4016 | * coding.c (setup_coding_system): Fix previous change. | |
a9ec7317 | 4017 | (encode_coding): If eol_type is not yet decided, use system_eol_type. |
73ec0f89 KH |
4018 | (shrink_encoding_region): If eol_type is not yet decided and |
4019 | system_eol_type is not LF, don't shrink. | |
2b89a53f | 4020 | |
5c24517a NR |
4021 | 2006-04-13 Nick Roberts <nickrob@snap.net.nz> |
4022 | ||
4023 | * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical | |
4024 | line. | |
4025 | ||
9d1a8e5d RS |
4026 | 2006-04-12 Richard Stallman <rms@gnu.org> |
4027 | ||
a53fe666 RS |
4028 | * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1]. |
4029 | ||
9d1a8e5d RS |
4030 | * process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return. |
4031 | (Fprocess_send_eof): Abort if fail to open null device. | |
4032 | ||
190998d8 YM |
4033 | 2006-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4034 | ||
4035 | * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h. | |
4036 | ||
4037 | * image.c [MAC_OS] (xpm_load_image): Add parentheses around | |
4038 | assignment used as truth value. Add explicit braces to avoid | |
4039 | ambiguous `else'. | |
4040 | [MAC_OS] (gif_load): Remove unused variable `gcpro1'. | |
4041 | ||
4042 | * lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and | |
4043 | EXFUN in #ifdef HAVE_WINDOW_SYSTEM. | |
4044 | (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm): | |
4045 | Put externs in #ifdef HAVE_X_WINDOWS. | |
4046 | (syms_of_macfns, syms_of_macselect, syms_of_macterm) | |
4047 | (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs. | |
4048 | (init_mac_osx_environment) [MAC_OSX]: Add extern. | |
4049 | ||
4050 | * mac.c (init_process): Remove undef. | |
4051 | (select) [MAC_OSX]: Undefine before including sysselect.h. | |
4052 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]: | |
4053 | Remove functions and prototypes. | |
4054 | (parse_value): Add parentheses around + inside shift. | |
4055 | (path_from_vol_dir_name): Make static. | |
4056 | (get_temp_dir_name): Remove unused variables `cpb' and `dir_name'. | |
4057 | [!MAC_OSX] (get_path_to_system_folder): Likewise. | |
4058 | (Fmac_get_file_creator, Fmac_get_file_type): Remove unused | |
4059 | variable `cCode'. | |
4060 | (Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'. | |
4061 | (Fmac_get_preference): Add explicit braces to avoid ambiguous `else'. | |
4062 | ||
4063 | * macfns.c (x_to_mac_color): Remove unused variable `tail'. | |
4064 | (x_set_mouse_color): Remove unused variable `dpy'. | |
4065 | (Fx_create_frame): Remove unused variable `x_frame_count'. | |
4066 | (Fx_server_version): Add explicit braces to avoid ambiguous `else'. | |
4067 | (x_sync): Move from macterm.c. | |
4068 | (Fx_file_dialog): Remove unused variable `default_filter_index'. | |
4069 | ||
4070 | * macmenu.c (min_menu_id): Make element type explicit. | |
4071 | ||
4072 | * macselect.c (get_flavor_type_from_symbol): Remove unused | |
4073 | variable `val'. | |
4074 | (get_scrap_private_timestamp, x_get_foreign_selection) | |
4075 | (copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'. | |
4076 | (Fmac_process_deferred_apple_events): Remove unused variables | |
4077 | `keyword', `reply', `apple_event', `count', and `err'. | |
4078 | ||
4079 | * macterm.c: Don't include gnu.h. | |
4080 | (x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes. | |
4081 | (x_sync): Move to macfns.c. | |
4082 | [USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused | |
4083 | variable `mask_bits'. | |
4084 | (mac_compute_glyph_string_overhangs): Avoid ambiguous `else'. | |
4085 | (x_draw_image_glyph_string): Remove unused variable `pixmap'. | |
4086 | (x_mac_to_emacs_modifiers): Remove function. | |
4087 | (XTset_vertical_scroll_bar, mac_handle_visibility_change) | |
4088 | (x_make_frame_visible, xlfdpat_create, mac_handle_command_event): | |
4089 | Add explicit braces to avoid ambiguous `else'. | |
4090 | (x_make_frame_visible): Remove unused variables `type', | |
4091 | `original_top', and `original_left'. | |
4092 | (mac_do_list_fonts, XTread_socket): Add parentheses around && within ||. | |
4093 | (x_load_font): Remove unused variables `full_name', and `value'. | |
4094 | (do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]: | |
4095 | Remove functions. | |
4096 | (do_zoom_window): Reorganize variables with respect to conditionals. | |
4097 | (init_command_handler): Remove unused variable `err'. | |
4098 | [MAC_OSX] (mac_check_bundle): Remove unused variable `child'. | |
4099 | ||
4100 | * macterm.h (x_set_mouse_position, x_set_mouse_pixel_position) | |
4101 | (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources) | |
4102 | (x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC) | |
4103 | (do_menu_choice, have_menus_p, x_real_positions) | |
4104 | (x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width) | |
4105 | (x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar) | |
4106 | (free_frame_menubar): Add externs. | |
4107 | ||
4108 | * unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H. | |
4109 | (malloc, realloc, free): Add undefs. | |
4110 | (read_load_commands): Remove unused variable `n' and `j'. | |
4111 | (copy_data_segment): Remove unused variable `r'. | |
4112 | ||
4113 | * xdisp.c (get_glyph_string_clip_rects): Add parentheses around && | |
4114 | within ||. Add explicit braces to avoid ambiguous `else'. | |
4115 | (dump_glyph_row): Remove label for `inverse_p' from legend. | |
4116 | ||
a9ec7317 SM |
4117 | * xfaces.c (Finternal_merge_in_global_face, try_font_list): |
4118 | Add explicit braces to avoid ambiguous `else'. | |
190998d8 | 4119 | |
28b257dc | 4120 | 2006-04-11 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
00d70d57 JD |
4121 | |
4122 | * dispnew.c (init_display): Don't init X display if the user asked | |
4123 | for a non-X display. | |
7e37cb69 | 4124 | |
957b3c5f KH |
4125 | 2006-04-12 Kenichi Handa <handa@m17n.org> |
4126 | ||
4127 | * coding.c (setup_coding_system): Use system_eol_type for default | |
4128 | coding->eol_type. | |
4129 | ||
db926d80 DN |
4130 | 2006-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
4131 | ||
4132 | * lisp.h (wrong_type_argument): Mark as NO_RETURN. | |
4133 | ||
4134 | * data.c (wrong_type_argument): Try to avoid compiler warnings due | |
4135 | to the fact the function is now marked as NO_RETURN. | |
4136 | ||
978781a5 EZ |
4137 | 2006-04-10 Eli Zaretskii <eliz@gnu.org> |
4138 | ||
4139 | * s/ms-w32.h (pid_t) [_MSC_VER]: New typedef. | |
4140 | ||
8fd0f424 RF |
4141 | 2006-04-10 Romain Francoise <romain@orebokech.com> |
4142 | ||
4143 | * xrdb.c (gethomedir): Use xstrdup. | |
4144 | ||
f8f10777 AS |
4145 | 2006-04-10 Andreas Schwab <schwab@suse.de> |
4146 | ||
4147 | * xrdb.c (gethomedir): Make sure to always return a pointer that | |
4148 | can be passed to free. | |
4149 | ||
2a8da555 RS |
4150 | 2006-04-09 Richard Stallman <rms@gnu.org> |
4151 | ||
4152 | * lisp.h (Fkill_emacs): Undo previous change. | |
4153 | ||
4154 | 2006-04-08 Richard Stallman <rms@gnu.org> | |
4155 | ||
4156 | * search.c (boyer_moore): Test ch >= 0400, not >. | |
4157 | ||
404be028 DN |
4158 | 2006-04-09 Dan Nicolaescu <dann@ics.uci.edu> |
4159 | ||
4160 | * puresize.h (pure_write_error): Mark as NO_RETURN. | |
4161 | ||
4ca412ec | 4162 | * lisp.h (args_out_of_range, args_out_of_range_3) |
404be028 | 4163 | |
f93bd8e4 EZ |
4164 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
4165 | ||
4166 | * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements | |
4167 | if a menu is active on this frame. | |
4168 | ||
31a4f621 DN |
4169 | 2006-04-08 Dan Nicolaescu <dann@ics.uci.edu> |
4170 | ||
4171 | * lisp.h (report_file_error): Mark as NO_RETURN. | |
4172 | ||
7e773529 EZ |
4173 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
4174 | ||
4f27350a EZ |
4175 | * alloc.c [STDC_HEADERS]: Include stddef.h. |
4176 | ||
7e773529 EZ |
4177 | * lisp.h (PSEUDOVECSIZE): Fix last change. |
4178 | ||
6bfd98e7 SM |
4179 | 2006-04-08 Stefan Monnier <monnier@iro.umontreal.ca> |
4180 | ||
4181 | * process.h (struct Lisp_Process): Replace Lisp_Objects `pid', | |
4182 | `raw_status_high', and `raw_status_low' with plain integers, and move | |
4183 | them to the end of the structure. | |
4184 | ||
4185 | * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the | |
4186 | pseudovector's size field so only the Lisp_Object fields get GC'd. | |
4187 | ||
4188 | * process.c (update_status, make_process, Fdelete_process) | |
4189 | (Fprocess_status, list_processes_1, start_process_unwind) | |
4190 | (create_process, Fmake_network_process, server_accept_connection) | |
4191 | (wait_reading_process_output, send_process, Fprocess_running_child_p) | |
4192 | (process_send_signal, proc_encode_coding_system, Fprocess_send_eof) | |
4193 | (sigchld_handler, status_notify): Adjust to new non-Lisp fields for | |
4194 | `pid' and `raw_status'. | |
4195 | (Fprocess_id, Fsignal_process): Same, and additionally use floats when | |
4196 | representing PIDs that are larger than most-positive-fixnum. | |
4197 | ||
4198 | * keymap.c (describe_map): Only use XINT if we checked INTEGERP. | |
4199 | ||
4200 | * lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros. | |
4201 | ||
1d79e521 EZ |
4202 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
4203 | ||
4204 | * w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos. | |
4205 | ||
d65b4235 PE |
4206 | 2006-04-03 Paul Eggert <eggert@cs.ucla.edu> |
4207 | ||
4208 | * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to | |
4209 | ../lib-src/b2m.c and ../lib-src/editfns.c. | |
4210 | (Fcurrent_time_string): Use it. | |
4211 | Document that the year might not consume 4 columns if it's outside | |
4212 | the range 1000-9999. | |
4213 | Check for asctime failure. | |
4214 | Don't assume that the output string length is always exactly 24. | |
4215 | ||
fc9f8d15 YM |
4216 | 2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4217 | ||
4218 | * macterm.c (XTread_socket): Initialize variable `f' before its use. | |
4219 | ||
022af124 KH |
4220 | 2006-04-03 Kenichi Handa <handa@m17n.org> |
4221 | ||
4222 | * image.c: Include "charset.h" and "coding.h". | |
4223 | (x_find_image_file): Return an encoded file name. | |
4224 | ||
61be4a8a EZ |
4225 | 2006-04-01 Eli Zaretskii <eliz@gnu.org> |
4226 | ||
4227 | * configure: Regenerated. | |
4228 | ||
a869edd4 KH |
4229 | 2006-03-31 Kenichi Handa <handa@m17n.org> |
4230 | ||
4231 | * xfns.c (xg_set_icon): Delete superfluous UNGCPRO. | |
4232 | ||
29444a2f DN |
4233 | 2006-03-30 Dan Nicolaescu <dann@ics.uci.edu> |
4234 | ||
4235 | * xdisp.c (syms_of_xdisp): Fix variable name. | |
4236 | ||
3c5f9492 KH |
4237 | 2006-03-30 Kenichi Handa <handa@m17n.org> |
4238 | ||
4239 | * xterm.c (x_term_init): Delete superfluous UNGCPRO. | |
4240 | ||
267ee78f JB |
4241 | 2006-03-29 Juanma Barranquero <lekktu@gmail.com> |
4242 | ||
4243 | * keyboard.c (process_tool_bar_item): Reorder dummy args. | |
4244 | ||
293bd733 SM |
4245 | 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca> |
4246 | ||
4247 | * keyboard.c (tool_bar_items): Use map_keymap. | |
4248 | (process_tool_bar_item): Add dummy args to fit the required interface. | |
4249 | ||
4fccedb5 EZ |
4250 | 2006-03-25 Eli Zaretskii <eliz@gnu.org> |
4251 | ||
4252 | * .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag | |
4253 | to zero before calling debug_print or safe_debug_print. | |
4254 | ||
4255 | * print.c (print_output_debug_flag): New global variable. | |
4256 | (Fexternal_debugging_output) [WINDOWSNT]: Don't call | |
4257 | OutputDebugString if print_output_debug_flag is zero. | |
4258 | ||
aac18aa4 PE |
4259 | 2006-03-24 Paul Eggert <eggert@cs.ucla.edu> |
4260 | ||
71c3f28f | 4261 | * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it. |
aac18aa4 | 4262 | (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900. |
71c3f28f EZ |
4263 | (Fdecode_time): Cast tm_year to EMACS_INT. |
4264 | (Fcurrent_time_string): Report an invalid time specification if | |
293bd733 | 4265 | the argument is invalid. Also, check for out-of-range time stamps. |
aac18aa4 | 4266 | |
0ef4f79b KS |
4267 | 2006-03-24 Kim F. Storm <storm@cua.dk> |
4268 | ||
95d8aa28 KS |
4269 | * xterm.c (handle_one_xevent): |
4270 | * w32term.c (w32_read_socket): | |
95d8aa28 KS |
4271 | * macterm.c (XTread_socket): Don't let key-press clear mouse face |
4272 | on in toolbar window if mouse-highlight is an integer. | |
4273 | ||
0ef4f79b KS |
4274 | * fns.c (sxhash_list): Include last non-nil CDR in hash. |
4275 | ||
e2e206ae YM |
4276 | 2006-03-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4277 | ||
4278 | * macmenu.c (enum mac_menu_kind): New enum. | |
4279 | (min_menu_id): New variable. | |
4280 | (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID) | |
4281 | (MIN_SUBMENU_ID): Remove defines. All uses are replaced with | |
4282 | min_menu_id and enumerators in enum mac_menu_kind. | |
4283 | (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND. | |
4284 | All uses changed. Add range check for menu ID. | |
4285 | (fill_menubar): Add range check for menu ID. | |
4286 | [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of | |
4287 | GetEventParameter. | |
4288 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler | |
4289 | for each menu kind. | |
4290 | ||
5a32a2f2 KS |
4291 | 2006-03-22 Kim F. Storm <storm@cua.dk> |
4292 | ||
ea049c5e KS |
4293 | * xdisp.c: Undo 2006-03-21 change. |
4294 | ||
4295 | * term.c: Define aliases for append_glyph and produce_stretch_glyph | |
4296 | when `static' is defined to avoid name clash with those in xdisp.c. | |
4297 | ||
647b07d1 AS |
4298 | * process.c (Faccept_process_output): Fix to comply with lisp |
4299 | reference. Change arg "timeout" to "seconds" and allow both | |
4300 | integer and float value. Change arg "timeout-msec" to "millisec" | |
4301 | and interpret" as milliseconds rather than microseconds. Fix doc | |
4302 | string accordingly. | |
5a32a2f2 | 4303 | |
d63cd766 KR |
4304 | 2006-03-21 Ken Raeburn <raeburn@raeburn.org> |
4305 | ||
293bd733 SM |
4306 | * xdisp.c (store_next_glyph): Rename from append_glyph. |
4307 | (generate_stretch_glyph): Rename from produce_stretch_glyph. | |
d63cd766 KR |
4308 | All callers changed accordingly. |
4309 | ||
11e887e2 JD |
4310 | 2006-03-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4311 | ||
4312 | * xterm.c: x_session_initialized new variable. | |
4313 | (x_term_init): Use x_session_initialized to check if | |
4314 | x_session_initialize should be called. | |
4315 | (x_initialize): Initialize x_session_initialized. | |
4316 | ||
52bd2f43 KS |
4317 | 2006-03-21 Kim F. Storm <storm@cua.dk> |
4318 | ||
4319 | * fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow | |
4320 | bitmap here, but ... | |
4321 | (update_window_fringes): ... here, so we can test if it has changed. | |
4322 | ||
c1fc674b AS |
4323 | 2006-03-20 Andreas Schwab <schwab@suse.de> |
4324 | ||
4325 | * dispnew.c (init_display): Check DISPLAY here. | |
4326 | ||
4327 | * emacs.c (main): Don't check here. | |
4328 | ||
4329 | * xterm.c (x_display_ok): Don't use DISPLAY env var. | |
4330 | ||
7d619454 SM |
4331 | 2006-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
4332 | ||
4333 | * window.c (window_scroll_pixel_based): Yet another int/Lisp_Object | |
4334 | mixup (YAILOM). | |
4335 | ||
e2916251 EZ |
4336 | 2006-03-20 Eli Zaretskii <eliz@gnu.org> |
4337 | ||
4338 | * emacs.c (main): Fix last change. | |
4339 | ||
95c1c901 KH |
4340 | 2006-03-20 Kenichi Handa <handa@m17n.org> |
4341 | ||
7d619454 | 4342 | * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it. |
95c1c901 KH |
4343 | |
4344 | * keymap.c (map_keymap): Set tail to Qnil before GCPRO it. | |
4345 | ||
4346 | * xfns.c (xg_set_icon): Remove unnecessary GCPRO. | |
4347 | ||
4348 | * xterm.c (x_term_init): Remove unnecessary GCPRO. | |
4349 | ||
45c1c789 KS |
4350 | 2006-03-19 Kim F. Storm <storm@cua.dk> |
4351 | ||
5e1a6e32 | 4352 | * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string, |
45c1c789 KS |
4353 | so it doesn't associate overlay string with following glyph by default. |
4354 | Allow integer property value to specify explicit number of buffer | |
4355 | positions associate with overlay string. | |
4356 | ||
11aaf447 CY |
4357 | 2006-03-18 Chong Yidong <cyd@stupidchicken.com> |
4358 | ||
4359 | * xterm.c (x_display_ok): Fix minor bug and compilation warnings. | |
4360 | ||
e4d181dc EZ |
4361 | 2006-03-18 Nozomu Ando <nand@mac.com> |
4362 | ||
4363 | * m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define. | |
4364 | (LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define. | |
4365 | (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]: | |
4366 | Don't redefine. | |
4367 | ||
4368 | * m/mips.h: Don't use unexmips on NetBSD. | |
4369 | (LIBS_MACHINE): Move definition lower, so it doesn't use | |
4370 | LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP, | |
4371 | C_SWITCH_MACHINE, and C_DEBUG_SWITCH. | |
4372 | ||
4373 | * unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h. | |
4374 | (unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc | |
4375 | option is broken (e.g., MIPS/NetBSD). | |
4376 | ||
50f9edc2 EZ |
4377 | 2006-03-18 Craig McDaniel <craigmcd@gmail.com> (tiny change) |
4378 | ||
4379 | * sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB. | |
7b833ed1 | 4380 | Remove the HAVE_X_WINDOWS conditional. |
50f9edc2 | 4381 | |
7e37c7c0 EZ |
4382 | 2006-03-18 Vivek Dasmohapatra <vivek@etla.org> (tiny change) |
4383 | ||
4384 | * emacs.c (main): If user asks for a display that is unavailable, | |
4385 | simulate -nw. | |
4386 | ||
4387 | * xterm.c (x_display_ok): New function. | |
4388 | ||
4389 | * xterm.h: Add prototype for x_display_ok. | |
4390 | ||
c85eab3a EZ |
4391 | 2006-03-18 Eli Zaretskii <eliz@gnu.org> |
4392 | ||
4393 | * w32fns.c (Fw32_select_font): Doc fix. | |
4394 | ||
e09ce637 YM |
4395 | 2006-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4396 | ||
4397 | * image.c [MAC_OS] (XPutPixel, XGetPixel) | |
4398 | [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized | |
4399 | version when depth is 32. | |
7d619454 SM |
4400 | (mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]: |
4401 | New function. | |
e09ce637 YM |
4402 | (prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it. |
4403 | (x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage. | |
4404 | ||
4405 | * macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: | |
4406 | Create GWorld in ARGB pixel format. | |
7d619454 SM |
4407 | (mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]: |
4408 | Remove functions. | |
e09ce637 YM |
4409 | (x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image |
4410 | instead of mac_copy_area/mac_copy_area_with_mask. | |
4411 | ||
b0896280 KS |
4412 | 2006-03-15 Kim F. Storm <storm@cua.dk> |
4413 | ||
4414 | * xdisp.c (extend_face_to_end_of_line): Always add space glyph to | |
4415 | empty row. Fixes memory corruption revealed by 2006-03-02 change. | |
4416 | (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0. | |
4417 | (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar | |
4418 | width is exactly the same as the window width. Don't count a final | |
4419 | empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line). | |
4420 | ||
713cb18d JB |
4421 | 2006-03-15 Juanma Barranquero <lekktu@gmail.com> |
4422 | ||
364d0cf8 | 4423 | * fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being |
713cb18d JB |
4424 | conditional on HAVE_NTGUI, not WINDOWS_NT. |
4425 | ||
ad21830e YM |
4426 | 2006-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4427 | ||
4428 | * dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype. | |
4429 | ||
4430 | * fringe.c (mac_init_fringe) [MAC_OS]: New function. | |
4431 | ||
4432 | * macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe. | |
4433 | (max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables. | |
4434 | (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap) | |
4435 | (mac_draw_cg_image) [USE_CG_DRAWING]: New functions. | |
4436 | (mac_draw_bitmap) [USE_CG_DRAWING]: Remove function. | |
4437 | (x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image | |
4438 | instead of mac_draw_bitmap. | |
4439 | (x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for | |
4440 | define_fringe_bitmap and destroy_fringe_bitmap. | |
4441 | ||
8a34117e CY |
4442 | 2006-03-14 Chong Yidong <cyd@stupidchicken.com> |
4443 | ||
4444 | * xterm.c (x_uncatch_errors): Block input for entire function. | |
4445 | ||
ab68b375 JR |
4446 | 2006-03-12 Jason Rumney <jasonr@gnu.org> |
4447 | ||
92cc46af | 4448 | * w32fns.c (Fx_create_frame): Remove call to |
364d0cf8 | 4449 | Qface_set_after_frame_default (from xfns.c 2003-05-26). |
92cc46af | 4450 | |
335be36b JR |
4451 | * w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when |
4452 | finished with the menu. | |
4453 | ||
ab68b375 JR |
4454 | * w32term.c: Sync 2005-10-24 xterm.c changes. |
4455 | (last_mouse_glyph_frame): New var. | |
4456 | (note_mouse_movement): Say mouse moved if current frame differs | |
4457 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
4458 | (w32_mouse_position): Set last_mouse_glyph_frame. | |
875e613d | 4459 | Remove OLD_REDISPLAY_CODE block. |
ab68b375 | 4460 | |
204b78de YM |
4461 | 2006-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4462 | ||
4463 | * macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. | |
4464 | ||
4465 | * macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context. | |
4466 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype. | |
4467 | ||
4468 | * mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
4469 | ||
4470 | * macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c. | |
4471 | ||
4472 | * macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground) | |
4473 | (x_draw_composite_glyph_string_foreground) | |
4474 | (x_draw_image_foreground): Undo previous changes. | |
4475 | (x_draw_hollow_cursor): Likewise. Subtract 1 from the last | |
4476 | argument of mac_draw_rectangle. | |
4477 | (CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros. | |
4478 | (mac_draw_string_common, mac_draw_image_string_cg): Use them. | |
4479 | (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro. | |
4480 | (mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw) | |
4481 | [USE_CG_DRAWING]: New functions. | |
4482 | (mac_draw_line, mac_erase_rectangle, mac_clear_window) | |
4483 | (mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common) | |
4484 | (mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part. | |
4485 | (mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common) | |
4486 | (mac_copy_area, mac_scroll_area, x_scroll_bar_create) | |
4487 | (x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size) | |
4488 | (XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
4489 | ||
a9d54793 KL |
4490 | 2006-03-12 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
4491 | ||
4492 | * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'. | |
4493 | ||
b452fd7a JR |
4494 | 2006-03-11 Jason Rumney <jasonr@gnu.org> |
4495 | ||
4496 | * w32fns.c (signal_user_input): New function. | |
4497 | (post_character_message): Use it for keyboard input. | |
4498 | (w32_msg_pump): Use it for mouse input. | |
4499 | ||
f372bd5b LT |
4500 | 2006-03-11 Luc Teirlinck <teirllm@auburn.edu> |
4501 | ||
4502 | * window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y. | |
4503 | (window_scroll_pixel_based, syms_of_window): Adapt to above change. | |
4504 | ||
2c1bd367 EZ |
4505 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
4506 | ||
4507 | * w32fns.c (w32_wnd_proc): Ignore middle and extra button events | |
4508 | if a menu is already active (the menubar_active flag is on). | |
4509 | ||
f161146b EZ |
4510 | 2006-03-11 David Ponce <david@dponce.com> |
4511 | ||
7d619454 | 4512 | * xfns.c (x_create_tip_frame): Preserve received parms by copying them. |
f161146b | 4513 | |
9257b627 EZ |
4514 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
4515 | ||
db3c0e9c EZ |
4516 | * w32term.c: Add x_fully_uncatch_errors and x_catching_errors to |
4517 | the list of unused display error handling functions. | |
4518 | ||
8887e8ec EZ |
4519 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors only if |
4520 | HAVE_X_WINDOWS. | |
4521 | (internal_condition_case, internal_condition_case_1) | |
4522 | (internal_condition_case_2): Call x_catching_errors only if | |
4523 | HAVE_X_WINDOWS. | |
4524 | ||
9257b627 EZ |
4525 | * vm-limit.c [HAVE_GETRLIMIT]: Don't define unconditionally. |
4526 | Don't include sys/resource.h unless defined. | |
4527 | ||
395d3972 RS |
4528 | 2006-03-11 Richard Stallman <rms@gnu.org> |
4529 | ||
5a893bff RS |
4530 | * keymap.c (describe_map): Shorten string to indicate shadowed binding. |
4531 | ||
395d3972 | 4532 | * vm-limit.c (get_lim_data, lim_data, data_space_start): |
7d619454 | 4533 | Move from mem-limits.h. |
395d3972 RS |
4534 | (enum warnlevel): New data type. |
4535 | (check_memory_limits): Rewrite the logic about warnings. | |
4536 | Use standard `struct rlimit'. Check return values for nonsense. | |
4537 | (memory_warnings): Always clear lim_data. | |
4538 | ||
4539 | * mem-limits.h (get_lim_data, lim_data, data_space_start): | |
7d619454 | 4540 | Move to vm-limit.c. |
395d3972 RS |
4541 | |
4542 | * xterm.c (x_fully_uncatch_errors, x_catching_errors): New functions. | |
4543 | ||
4544 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors. | |
f372bd5b | 4545 | (internal_condition_case_1, internal_condition_case_2): |
395d3972 RS |
4546 | Abort if within unclosed x_catch_errors. |
4547 | ||
635a3496 RF |
4548 | 2006-03-11 Romain Francoise <romain@orebokech.com> |
4549 | ||
4550 | * process.c (Vprocess_adaptive_read_buffering): Doc fix. | |
4551 | ||
306cea3a EZ |
4552 | 2006-03-11 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
4553 | ||
4554 | * lisp.h: Remove duplicate prototypes. Make the prototype of | |
4555 | getloadavg be conditioned on HAVE_GETLOADAVG being undefined. | |
4556 | ||
97b5ae78 EZ |
4557 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
4558 | ||
7325e714 EZ |
4559 | * xterm.c (x_draw_hollow_cursor): Subtract 1 from the last |
4560 | argument of XDrawRectangle. | |
4561 | ||
97b5ae78 EZ |
4562 | * xdisp.c (get_phys_cursor_geometry): Don't decrease height by 1. |
4563 | ||
4564 | * macterm.c (mac_draw_rectangle): Don't add 1 to width and height. | |
4565 | (x_draw_glyph_string_foreground) | |
4566 | (x_draw_composite_glyph_string_foreground) | |
4567 | (x_draw_image_foreground): Don't subtract 1 from width and height | |
4568 | arguments to mac_draw_rectangle. | |
4569 | (x_draw_hollow_cursor): Add 1 to w->phys_cursor_width. | |
4570 | ||
68f632a8 KS |
4571 | 2006-03-10 Kim F. Storm <storm@cua.dk> |
4572 | ||
4573 | * alloc.c (USE_POSIX_MEMALIGN): Fix last change. | |
4574 | ||
349a4500 SM |
4575 | 2006-03-09 Stefan Monnier <monnier@iro.umontreal.ca> |
4576 | ||
4577 | * alloc.c (USE_POSIX_MEMALIGN): New macro. | |
4578 | (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. | |
4579 | ||
53a5eba9 KH |
4580 | 2006-03-09 Kenichi Handa <handa@m17n.org> |
4581 | ||
4582 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding | |
4583 | ASCII component of a composition. | |
4584 | ||
629f023d LT |
4585 | 2006-03-08 Luc Teirlinck <teirllm@auburn.edu> |
4586 | ||
4587 | * window.c: Declare preserve_y as a static global variable. | |
4588 | (window_scroll_pixel_based): No longer declare preserve_y; | |
4589 | it is global now. | |
f945af42 | 4590 | (syms_of_window): Set preserve_y to -1. |
629f023d | 4591 | |
4cdffedf YM |
4592 | 2006-03-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4593 | ||
4594 | * image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap | |
4595 | depth is 32. | |
204b78de | 4596 | [MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap |
4cdffedf YM |
4597 | depth is 32. |
4598 | ||
45b5f35d CY |
4599 | 2006-03-06 Chong Yidong <cyd@stupidchicken.com> |
4600 | ||
4601 | * xdisp.c (handle_invisible_prop): Don't update it->position with | |
4602 | a buffer position if we're in a display string. | |
4603 | ||
48b60fa1 YM |
4604 | 2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4605 | ||
4606 | * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) | |
4607 | (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines. | |
4608 | ||
4609 | * macfns.c (x_default_scroll_bar_color_parameter) | |
349a4500 SM |
4610 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background): |
4611 | Remove unnecessary prototypes. | |
4612 | (x_set_scroll_bar_default_width): | |
4613 | Use MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH. | |
48b60fa1 YM |
4614 | (mac_set_scroll_bar_width): New function. |
4615 | (mac_frame_parm_handlers): Set it as handler for scroll-bar-width. | |
4616 | ||
4617 | * macterm.c (get_control_part_bounds): Fix type of return value. | |
4618 | (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) | |
4619 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show | |
4620 | scroll bar if it is not tall enough to display scroll bar thumb. | |
4621 | [USE_CARBON_EVENTS] (mac_convert_event_ref) | |
4622 | (mac_handle_command_event, mac_handle_window_event) | |
4623 | (mac_handle_mouse_event): Check error code of GetEventParameter. | |
4624 | (convert_fn_keycode) [MAC_OSX]: Likewise. | |
f945af42 | 4625 | |
6f10509c AS |
4626 | 2006-03-05 Andreas Schwab <schwab@suse.de> |
4627 | ||
4628 | * xselect.c (x_catch_errors_unwind): Fix missing return value. | |
4629 | ||
f79bc642 KS |
4630 | 2006-03-02 Kim F. Storm <storm@cua.dk> |
4631 | ||
4632 | * frame.h (struct frame): New member n_tool_bar_rows. | |
4633 | ||
4634 | * xdisp.c: Minimize the unpleasent visual impact of the requirement | |
4635 | that non-toolkit tool-bars must occupy an integral number of screen | |
875e613d | 4636 | lines, by distributing the rows evenly over the tool-bar screen area. |
f79bc642 KS |
4637 | (Vtool_bar_border): New variable. |
4638 | (syms_of_xdisp): DEFVAR_LISP it. | |
349a4500 SM |
4639 | (display_tool_bar_line): Add HEIGHT arg for desired row height. |
4640 | Make tool-bar row the desired height. Use default face for border | |
4641 | below tool-bar. | |
f79bc642 KS |
4642 | (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of |
4643 | actual tool-bar rows. | |
4644 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially. | |
4645 | Adjust the height of the tool-bar rows to fill tool-bar screen area. | |
4646 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area | |
4647 | is resized. | |
4648 | ||
0bbe0c9c LT |
4649 | 2006-03-01 Luc Teirlinck <teirllm@auburn.edu> |
4650 | ||
4651 | * search.c (Fregexp_quote): Do not precede a literal `]' with two | |
4652 | backslashes to try to make clear that it has a literal meaning; it | |
4653 | does not do that. (It could close a character alternative | |
4654 | containing a backslash.) | |
4655 | ||
c525d842 CY |
4656 | 2006-02-28 Chong Yidong <cyd@stupidchicken.com> |
4657 | ||
4658 | * xselect.c (x_catch_errors_unwind): New function. | |
4659 | (x_reply_selection_request): Put x_uncatch_errors in an unwind. | |
4660 | (Fx_get_atom_name): Call x_uncatch_errors earlier. | |
4661 | ||
4662 | * window.c (Qscroll_up, Qscroll_down): New syms. | |
4663 | (window_scroll_pixel_based): Make preserve_y static to avoid | |
4664 | getting point stuck when scrolling 1 line. | |
4665 | ||
4545fa20 CY |
4666 | 2006-02-26 Chong Yidong <cyd@stupidchicken.com> |
4667 | ||
349a4500 | 4668 | * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary argument. |
4545fa20 | 4669 | |
364d0cf8 JB |
4670 | * xterm.c (x_load_font, x_term_init, XTmouse_position) |
4671 | (handle_one_xevent, x_connection_closed, x_list_fonts): | |
4672 | No arg for x_uncatch_errors. | |
4545fa20 CY |
4673 | |
4674 | * xselect.c (x_own_selection, x_decline_selection_request) | |
4675 | (x_reply_selection_request, x_get_foreign_selection) | |
4676 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
4677 | ||
4678 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
4679 | Likewise. | |
4680 | ||
a5e25a4c LT |
4681 | 2006-02-26 Luc Teirlinck <teirllm@auburn.edu> |
4682 | ||
440cbd9e LT |
4683 | * lread.c: Declare Vload_file_rep_suffixes instead of |
4684 | deleted variable default_suffixes. | |
4685 | (Fget_load_suffixes): New function. | |
4686 | (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes. | |
4687 | No longer use deleted variable default_suffixes. Update docstring. | |
4688 | (syms_of_lread): defsubr Sget_load_suffixes. | |
4689 | Expand `load-suffixes' docstring. | |
4690 | Delete default_suffixes and DEFVAR_LISP the new variable | |
4691 | `load-file-rep-suffixes'. | |
4692 | ||
4693 | * w32.c (check_windows_init_file): Use Fget_load_suffixes instead | |
4694 | of Vload_suffixes. | |
4695 | ||
4696 | * lisp.h: EXFUN Fget_load_suffixes. | |
4697 | Extern Vload_file_rep_suffixes. | |
4698 | ||
a5e25a4c LT |
4699 | * eval.c (specpdl_ptr): Remove volatile qualifier for consistency |
4700 | with lisp.h. | |
4701 | ||
a7af5886 SM |
4702 | 2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca> |
4703 | ||
4704 | * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile | |
4705 | qualifier which was trying to avoid the bug that was fixed by | |
4706 | yesterday's changes to xterm.c. | |
4707 | ||
9ba8e10d CY |
4708 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> |
4709 | ||
4710 | * xterm.h (x_catch_errors) Return value changed to void. | |
4545fa20 | 4711 | (x_uncatch_errors): Delete unused count argument. |
a7af5886 | 4712 | |
9ba8e10d CY |
4713 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since |
4714 | it can be called in a signal handler. | |
4715 | (x_catch_errors_unwind): Function deleted. | |
4716 | (x_uncatch_errors): Deallocate last x_error_message_stack struct. | |
4717 | (x_check_errors): Call x_uncatch_errors before signalling error. | |
4718 | ||
4719 | (x_load_font, x_term_init, XTmouse_position, handle_one_xevent) | |
4720 | (x_connection_closed, x_list_fonts): Use new versions of | |
4721 | x_catch_errors and x_uncatch_errors. | |
4722 | ||
4723 | * xselect.c (x_own_selection, x_decline_selection_request) | |
4724 | (x_reply_selection_request, x_get_foreign_selection) | |
4725 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
4726 | ||
4727 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
4728 | Likewise. | |
4729 | ||
4730 | * eval.c (record_unwind_protect): Add an assertion. | |
4731 | ||
f523e0c3 SM |
4732 | 2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
4733 | ||
4734 | * process.c (Fmake_network_process): Init the process's mark. | |
4735 | ||
a7a7e1d7 KS |
4736 | 2006-02-25 Kim F. Storm <storm@cua.dk> |
4737 | ||
4738 | * buffer.c (modify_overlay): Force redisplay if we modify an | |
4739 | overlay at the end of the buffer. | |
4740 | ||
a821c035 JD |
4741 | 2006-02-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4742 | ||
4743 | * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns | |
4744 | nil the image file has been removed, in that case use the (cached) | |
4745 | pixmap. | |
4746 | ||
77343e1d KH |
4747 | 2006-02-24 Kenichi Handa <handa@m17n.org> |
4748 | ||
4749 | * fileio.c (Finsert_file_contents): When a text is replaced | |
4750 | partially, be sure to set point before the inserted characters. | |
4751 | ||
92fb5516 KH |
4752 | 2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change) |
4753 | ||
4754 | * xfns.c (Fx_file_dialog): Return a decoded file name. | |
4755 | ||
78897758 YM |
4756 | 2006-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4757 | ||
4758 | * dispnew.c (update_text_area): Avoid needless redraw of rightmost | |
4759 | glyph whose face is extended to the text area end. | |
4760 | ||
5b574e69 YM |
4761 | * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control |
4762 | values if control is not visible or values are not changed. | |
4763 | ||
acc6289a SM |
4764 | 2006-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
4765 | ||
4766 | * window.c (Fwindow_list): Check `window' before doing XWINDOW. | |
4767 | The default `window' should not be "on a different frame". | |
4768 | ||
c4336e88 KS |
4769 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
4770 | ||
4771 | * indent.c (Fvertical_motion): Only try to move back if we can. | |
4772 | ||
b6e3efe0 YM |
4773 | 2006-02-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4774 | ||
4775 | * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member | |
4776 | n_clip_rects. | |
4777 | ||
4778 | * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for | |
4779 | xmenu.c. | |
4780 | ||
4781 | * macterm.c (GC_CLIP_REGION): Remove macro. | |
4782 | (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION. | |
4783 | All uses changed. Don't do clipping if n_clip_rects is zero. | |
acc6289a SM |
4784 | (mac_set_clip_rectangles): Use xassert instead of abort. |
4785 | Set n_clip_rects. Don't make clip_region empty when number of | |
b6e3efe0 YM |
4786 | clipping rectangles is zero. |
4787 | (mac_reset_clip_rectangles): Set n_clip_rects directly instead of | |
4788 | calling mac_set_clip_rectangles. | |
4789 | (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to | |
4790 | avoid multiple redraws. | |
4791 | ||
6f62a45e KS |
4792 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
4793 | ||
4794 | * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display. | |
4795 | ||
dd9959da KS |
4796 | 2006-02-21 Kim F. Storm <storm@cua.dk> |
4797 | ||
4798 | * fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix. | |
4799 | ||
364d0cf8 | 4800 | 2006-02-21 Zhang Wei <brep@newsmth.org> |
a8f4bdc6 JD |
4801 | |
4802 | * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before | |
4803 | returning it. | |
4804 | ||
dd9959da | 4805 | 2006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
9866a438 JB |
4806 | |
4807 | * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. | |
4808 | (standard_bitmaps): Use it. | |
4809 | ||
9fb446e3 YM |
4810 | 2006-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4811 | ||
4812 | * macterm.c (mac_draw_string_common): Remove arg MODE. New arg | |
4813 | BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero. | |
4814 | (mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH. | |
4815 | [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from | |
acc6289a SM |
4816 | mac_draw_string_cg. New arg BG_WIDTH. All uses changed. |
4817 | Draw background if BG_WIDTH is not zero. Use float constants as | |
9fb446e3 YM |
4818 | divisors instead of double. Use alloca instead of xmalloc/xfree. |
4819 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
4820 | [!MAC_OS8 || USE_ATSUI]: Background may be drawn using | |
4821 | mac_draw_image_string* functions. | |
4822 | (XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of | |
4823 | some fonts when srcCopy text transfer mode might be used. | |
4824 | (mac_begin_clip, mac_end_clip): Check if region is empty. | |
4825 | (mac_set_clip_rectangles): When resetting clip region, make it | |
4826 | empty instead of disposing of it. | |
4827 | ||
49af2995 KS |
4828 | 2006-02-20 Kim F. Storm <storm@cua.dk> |
4829 | ||
4830 | * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. | |
4831 | ||
4832 | * buffer.h (struct buffer): New members fringe_indicator_alist and | |
4833 | fringe_cursor_alist. | |
4834 | ||
4835 | * buffer.c (init_buffer_once): Set dummy default values for | |
4836 | fringe-indicator-alist and fringe-cursor-alist. The proper | |
4837 | default values are set by pre-loading fringe.el. | |
4838 | (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and | |
4839 | fringe-cursor-alist buffer-local variables and defvar_lisp_nopro | |
9866a438 | 4840 | corresponding default- variables. |
49af2995 KS |
4841 | |
4842 | * fringe.c (enum fringe_bitmap_type): Remove. Change all uses | |
4843 | to use `int'. | |
4844 | (NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS): | |
4845 | Define explicitly. | |
4846 | (Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom) | |
4847 | (Qhollow_small): New variables. | |
4848 | (syms_of_fringe): Intern and staticpro them. | |
4849 | (question_mark_bits): Rename from unknown_bits. | |
4850 | (left_curly_arrow_bits): Rename from continuation_bits. | |
4851 | (right_curly_arrow_bits): Rename from continued_bits. | |
4852 | (left_triangle_bits): Rename from ov_bits. | |
acc6289a | 4853 | (right_triangle_bits): Add. |
49af2995 KS |
4854 | (filled_rectangle_bits): Rename from filled_box_cursor_bits. |
4855 | (hollow_rectangle_bits): Rename from hollow_box_cursor_bits. | |
acc6289a | 4856 | (filled_square_bits): Add. |
49af2995 | 4857 | (vertical_bar_bits): Rename from bar_cursor_bits. |
9866a438 | 4858 | (horizontal_bar_bits): Rename from hbar_cursor_bits. |
49af2995 KS |
4859 | (empty_line_bits): Rename from zv_bits. |
4860 | (standard_bitmaps): Update to use new names. | |
4861 | (draw_fringe_bitmap_1): Make static. | |
4862 | (get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions | |
4863 | to map from logical cursors and indicators to physical bitmaps. | |
875e613d | 4864 | (draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow |
49af2995 KS |
4865 | bitmaps using symbol names instead of bitmap numbers. |
4866 | (update_window_fringes): Use logical indicator symbol names | |
4867 | instead of bitmap numbers for logical. Add bitmap cache. | |
4868 | (LEFT_FRINGE, RIGHT_FRINGE): New helper macros. | |
4869 | ||
a77f947b CY |
4870 | 2006-02-20 Chong Yidong <cyd@stupidchicken.com> |
4871 | ||
a073faa6 CY |
4872 | * regex.c: Revert 2006-02-19 change. |
4873 | (xmalloc, xrealloc): Define these when not linked to Emacs. | |
4874 | Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case. | |
a77f947b | 4875 | |
2f90d2bc LT |
4876 | 2006-02-19 Luc Teirlinck <teirllm@auburn.edu> |
4877 | ||
4878 | * regex.c (extend_range_table_work_area): Fix typo. | |
4879 | ||
5498b6af RS |
4880 | 2006-02-19 Richard M. Stallman <rms@gnu.org> |
4881 | ||
7b1d7d66 RS |
4882 | * xterm.c (x_catch_errors): Use xmalloc. |
4883 | ||
4884 | * regex.c (extend_range_table_work_area): Call xmalloc and xrealloc. | |
4885 | (regex_compile): Likewise. | |
4886 | (regcomp): Use xmalloc. | |
4887 | ||
4888 | * gtkutil.c (malloc_widget_value): Use xmalloc. | |
4889 | ||
5498b6af RS |
4890 | * vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h. |
4891 | (check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit. | |
4892 | ||
4893 | * xmenu.c (digest_single_submenu): When pane_string is empty, | |
4894 | do initialize save_wv. | |
4895 | ||
4f2f3214 YM |
4896 | 2006-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4897 | ||
4898 | * xdisp.c (update_menu_bar) [MAC_OS]: Don't set | |
4899 | w->update_mode_line if arg F is not the selected frame. | |
4900 | ||
4901 | * macmenu.c (popup_activated_flag, submenu_id) | |
4902 | (next_menubar_widget_id): Remove variables. | |
4903 | (initialize_frame_menubar): Remove function. | |
4904 | (pop_down_menu, mac_menu_show): Simplify save value. | |
4905 | (dispose_menus): New function. | |
4906 | (pop_down_menu, fill_menubar): Use it. | |
4907 | (fill_submenu): Remove function. All uses changed to fill_menu. | |
4908 | (add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg | |
4909 | POS. Don't call SetMenuItemHierarchicalID here. | |
4910 | (fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be | |
4911 | used next. Call SetMenuItemHierarchicalID here. | |
4912 | (fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu | |
4913 | objects if needed. Reuse existing menu bar titles if possible. | |
4914 | (set_frame_menubar): Don't clean up menu objects here. | |
4915 | ||
da7520de CY |
4916 | 2006-02-18 Chong Yidong <cyd@stupidchicken.com> |
4917 | ||
4918 | * window.c (window_min_size_1): Ensure room for the scroll bar and | |
4919 | fringes. | |
4920 | ||
a9c18b84 RF |
4921 | 2006-02-17 Romain Francoise <romain@orebokech.com> |
4922 | ||
4923 | * puresize.h (BASE_PURESIZE): Increment to 1200000. | |
4924 | ||
537407f0 SM |
4925 | 2006-02-17 Stefan Monnier <monnier@iro.umontreal.ca> |
4926 | ||
4927 | * alloc.c (Fmake_symbol): Comment-out left-over assert from before the | |
4928 | addition of the BLOCK_INPUTs. | |
4929 | ||
5bf3610f JB |
4930 | 2006-02-17 Juanma Barranquero <lekktu@gmail.com> |
4931 | ||
4932 | * window.c (Fset_window_scroll_bars): Doc fix. | |
4933 | ||
ed0218e2 KH |
4934 | 2006-02-17 Kenichi Handa <handa@m17n.org> |
4935 | ||
4936 | * xdisp.c (display_mode_element): Call display_string with correct | |
4937 | PREC arg (which must be a number of characters, not column width). | |
4938 | ||
f036d043 YM |
4939 | 2006-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4940 | ||
4941 | * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. | |
4942 | ||
4943 | * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. | |
4944 | ||
4945 | * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. | |
4946 | ||
885f1975 RS |
4947 | 2006-02-14 Richard M. Stallman <rms@gnu.org> |
4948 | ||
9d8f542c RS |
4949 | * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. |
4950 | ||
885f1975 RS |
4951 | * m/ibms390x.h: New file. |
4952 | ||
26ebccfd JD |
4953 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4954 | ||
4955 | * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the | |
4956 | value of x-gtk-whole-detached-tool-bar. | |
d8d3d48c | 4957 | (xg_tool_bar_attach_callback): Set show-arrow to TRUE. |
26ebccfd JD |
4958 | |
4959 | * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. | |
4960 | ||
4d7637b8 | 4961 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
58118de5 JD |
4962 | |
4963 | * xterm.c (x_x_to_emacs_modifiers): Make non-static. | |
4964 | ||
4965 | * xterm.h: Declare x_x_to_emacs_modifiers. | |
4966 | ||
4967 | * gtkutil.c (xg_tool_bar_button_cb): New function. | |
4968 | (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to | |
4969 | store modifiers in event. | |
4970 | (update_frame_tool_bar): Connect button-release-event to | |
4971 | xg_tool_bar_button_cb. | |
4972 | ||
f8d775e1 RS |
4973 | 2006-02-13 Richard M. Stallman <rms@gnu.org> |
4974 | ||
4975 | * .gdbinit (xwindow): Update the code to show the window box. | |
4976 | ||
0c0351b5 JD |
4977 | 2006-02-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4978 | ||
4979 | * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). | |
4980 | ||
4d94dd9a RS |
4981 | 2006-02-12 Richard M. Stallman <rms@gnu.org> |
4982 | ||
4983 | * cmds.c (internal_self_insert): Handle weird auto-fill-function. | |
4984 | ||
c54fb9ef EZ |
4985 | 2006-02-11 Eli Zaretskii <eliz@gnu.org> |
4986 | ||
4987 | * keyboard.c (Venable_disabled_menus_and_buttons): New variable. | |
4988 | (syms_of_keyboard): DEVFAR_LISP and initialize it. | |
4989 | (parse_tool_bar_item, parse_menu_item): If that variable is | |
4990 | non-nil, don't disable menu items and tool-bar buttons. | |
4991 | ||
ac6a9b55 JB |
4992 | 2006-02-11 Juanma Barranquero <lekktu@gmail.com> |
4993 | ||
4994 | * doc.c (Fsubstitute_command_keys): Doc fix. | |
4995 | ||
0ddb0ae8 TTN |
4996 | 2006-02-10 Thien-Thi Nguyen <ttn@gnu.org> |
4997 | ||
4998 | * data.c (Findirect_function): Rewrite docstring. | |
4999 | Fix omission bug: Declare new arg NOERROR. | |
5000 | ||
cbd488c4 YM |
5001 | 2006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5002 | ||
5003 | * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor | |
5004 | if window_desc is not set yet. | |
5005 | (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 | |
5006 | and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame | |
5007 | parameter `visibility' is `icon'. | |
5008 | (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" | |
5009 | instead of "fontset-mac". | |
5010 | (Fx_focus_frame): New defun. | |
5011 | (syms_of_macfns): Defsubr it. | |
5012 | ||
5013 | * macterm.c (mac_define_frame_cursor): Don't change pointer shape | |
5014 | for unfocused frame. | |
5015 | (x_raise_frame): Call BringToFront instead of SelectWindow. | |
5016 | (x_lower_frame): Use NULL instead of nil. | |
5017 | (x_make_frame_visible): Don't call SelectWindow. | |
5018 | (XTread_socket): Increment handling_signal at the start, decrement | |
5019 | it at the end. | |
5020 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use | |
5021 | CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. | |
5022 | ||
a7f96a35 KS |
5023 | 2006-02-10 Kim F. Storm <storm@cua.dk> |
5024 | ||
5025 | * data.c (Findirect_function): Add NOERROR arg. All callers changed | |
5026 | to pass Qnil for NOERROR. | |
5027 | ||
5028 | * keymap.c (current_minor_maps_error): Remove. | |
5029 | (current_minor_maps): Pass Qt for NOERROR to Findirect_function | |
5030 | instead of using internal_condition_case_1+current_minor_maps_error. | |
5031 | ||
1834d8e7 JD |
5032 | 2006-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5033 | ||
5034 | * xterm.c (handle_one_xevent): Must note mouse movement even for nil | |
5035 | frames for GTK, in that case it is the tool bar. This is so that | |
5036 | highlighted text get reset properly. | |
5037 | ||
cffc3472 JB |
5038 | 2006-02-09 Juanma Barranquero <lekktu@gmail.com> |
5039 | ||
5040 | * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. | |
5041 | ||
e99c7521 JD |
5042 | 2006-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5043 | ||
5044 | * window.c (adjust_window_trailing_edge): Check that shrinking | |
5045 | does not set a window to size zero or less. | |
5046 | ||
42ab8e36 MB |
5047 | 2006-02-08 Miles Bader <miles@gnu.org> |
5048 | ||
5049 | * editfns.c (Fconstrain_to_field): Use Fget_char_property instead | |
cffc3472 | 5050 | of Fget_text_property (other field functions work with overlays as |
42ab8e36 MB |
5051 | well as text-properties). |
5052 | ||
6a80c3ba KH |
5053 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
5054 | ||
e1a67366 | 5055 | * dispextern.h (unibyte_display_via_language_environment): Extern it. |
6a80c3ba | 5056 | |
e1a67366 KS |
5057 | * xterm.h (unibyte_display_via_language_environment): |
5058 | * w32term.h (unibyte_display_via_language_environment): | |
5059 | * macterm.h (unibyte_display_via_language_environment): Delete extern. | |
6a80c3ba | 5060 | |
d2b4c17d KH |
5061 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
5062 | ||
e1a67366 | 5063 | * term.c (append_glyph): Refer to it->char_to_display instead of it->c. |
d2b4c17d | 5064 | (produce_glyphs): Set the character to print in |
e1a67366 KS |
5065 | it->char_to_display. Handle unibyte-display-via-language-environment. |
5066 | (produce_stretch_glyph): Set character to print in it->char_to_display. | |
d2b4c17d | 5067 | |
8b9d426a KH |
5068 | 2006-02-06 Kenichi Handa <handa@m17n.org> |
5069 | ||
e1a67366 | 5070 | * lread.c (openp): Initialize encoded_fn before GCPRO it. |
8b9d426a | 5071 | |
d63b4018 KR |
5072 | 2006-02-05 Ken Raeburn <raeburn@raeburn.org> |
5073 | ||
5074 | * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. | |
5075 | ||
98950fd6 KR |
5076 | * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: |
5077 | Cast bitfield value to EMACS_INT, to suppress gcc warning. | |
5078 | ||
0cf36656 KR |
5079 | * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before |
5080 | defining. | |
5081 | ||
ad02d7ea KS |
5082 | 2006-02-03 Kim F. Storm <storm@cua.dk> |
5083 | ||
5084 | * xdisp.c: Cache last merged escape glyph face. | |
5085 | (last_escape_glyph_frame, last_escape_glyph_face_id) | |
5086 | (last_escape_glyph_merged_face_id): New variables. | |
5087 | (get_next_display_element): Use/update them. | |
5088 | (redisplay_internal): Reset them before redisplay. | |
5089 | ||
5090 | * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. | |
5091 | Only recheck faces after displaying ellipsis. | |
5092 | ||
999a0fe5 KH |
5093 | 2006-02-02 Kenichi Handa <handa@m17n.org> |
5094 | ||
5095 | * coding.c (decode_composition_emacs_mule): Fix handling of | |
5096 | incorrect format data. | |
5097 | ||
cd7cd4ac JD |
5098 | 2006-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5099 | ||
14a56a1b JB |
5100 | * gtkutil.c (update_frame_tool_bar): Use new tool bar function |
5101 | gtk_toolbar_insert() so we can have tool bars of different sizes. | |
cd7cd4ac | 5102 | |
4cf7e99c LT |
5103 | 2006-01-30 Luc Teirlinck <teirllm@auburn.edu> |
5104 | ||
5105 | * data.c (Flistp): Doc fix. | |
5106 | ||
a3bc032f JB |
5107 | 2006-01-30 Juanma Barranquero <lekktu@gmail.com> |
5108 | ||
5109 | * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): | |
5110 | Fix typos in docstrings. | |
5111 | ||
6badf38c LT |
5112 | 2006-01-28 Luc Teirlinck <teirllm@auburn.edu> |
5113 | ||
1f2907ee | 5114 | * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. |
6badf38c | 5115 | |
e2984df0 CY |
5116 | 2006-01-27 Chong Yidong <cyd@stupidchicken.com> |
5117 | ||
5118 | * alloc.c (make_interval, allocate_string) | |
5119 | (allocate_string_data, make_float, Fcons, allocate_vectorlike) | |
5120 | (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing | |
5121 | global variables. | |
5122 | ||
dc86c16d EZ |
5123 | 2006-01-27 Eli Zaretskii <eliz@gnu.org> |
5124 | ||
5125 | * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use | |
5126 | the MSDOS definition. | |
5127 | ||
57436ee7 RS |
5128 | 2006-01-26 Richard M. Stallman <rms@gnu.org> |
5129 | ||
5130 | * alloc.c (check_pure_size): Make overflow message an "error message". | |
5131 | ||
5132 | * keymap.c (Fmap_keymap): Doc fix. | |
5133 | ||
5134 | * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist | |
5135 | unless they were cleared out. | |
5136 | ||
5137 | * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. | |
5138 | ||
2cb3aec4 KL |
5139 | 2006-01-26 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5140 | ||
e477bb04 KL |
5141 | * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. |
5142 | (find_field): Set before_field to after_field when pos is at BEGV. | |
293bd733 SM |
5143 | (Fline_beginning_position, Fline_end_position): |
5144 | Clarify confusing doc string. | |
2cb3aec4 KL |
5145 | |
5146 | * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc | |
5147 | string. | |
5148 | ||
34b87689 KH |
5149 | 2006-01-26 Kenichi Handa <handa@m17n.org> |
5150 | ||
5151 | * callproc.c (Fcall_process): GCPRO error_file. Encode infile, | |
5152 | current_dir, and error_file. On reporting an error, decode them | |
5153 | back. | |
5154 | ||
1cee1e27 SM |
5155 | 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca> |
5156 | ||
5157 | * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. | |
5158 | (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>: | |
5159 | Don't check for quit, since any loop will go through fail or jump. | |
5160 | ||
a0b08700 CY |
5161 | 2006-01-24 Chong Yidong <cyd@stupidchicken.com> |
5162 | ||
5163 | * alloc.c (allocate_string_data): Update next_free immediately, to | |
5164 | reduce risk of memory clobberage. | |
5165 | ||
bf7f1d30 KL |
5166 | 2006-01-24 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5167 | ||
5168 | * xdisp.c (handle_invisible_prop): Set it->position to fix cursor | |
5169 | display when point moves across an ellipsis. If there are | |
5170 | adjacent invisible texts, don't lose the second one's ellipsis. | |
5171 | (x_produce_glyphs): Doc fix. | |
5172 | ||
e5e26d8f SM |
5173 | 2006-01-23 Stefan Monnier <monnier@iro.umontreal.ca> |
5174 | ||
5175 | * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. | |
5176 | ||
1ff4535b KS |
5177 | 2006-01-23 Kim F. Storm <storm@cua.dk> |
5178 | ||
5179 | * xdisp.c (handle_single_display_spec): Fix handling of space | |
5180 | property on char from string: set *position rather than | |
5181 | it->current.pos. | |
5182 | (produce_stretch_glyph): Reduce width of stretch glyphs so they | |
5183 | don't get wider than the window (unless truncate-lines is on). | |
5184 | ||
5badc98d SM |
5185 | 2006-01-22 Stefan Monnier <monnier@iro.umontreal.ca> |
5186 | ||
5187 | * xterm.c: Avoid allocating Lisp data from a signal handler. | |
5188 | (x_error_message): New var to replace x_error_message_string. | |
5189 | (x_error_catcher, x_catch_errors, x_catch_errors_unwind) | |
5190 | (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) | |
5191 | (syms_of_xterm): Use it instead of x_error_message_string. | |
5192 | ||
5193 | * alloc.c (lisp_align_free): Add an assertion. | |
5194 | (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) | |
5195 | (allocate_misc): If ENABLE_CHECKING is on, check we're not called from | |
5196 | a signal handler. | |
5197 | ||
638590e8 LT |
5198 | 2006-01-21 Luc Teirlinck <teirllm@auburn.edu> |
5199 | ||
5200 | * dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix. | |
5201 | ||
cde0a40c RF |
5202 | 2006-01-21 Romain Francoise <romain@orebokech.com> |
5203 | ||
5204 | * xdisp.c (get_window_cursor_type): Fix last change. | |
5205 | Update copyright year. | |
5206 | ||
ea5f3ad4 EZ |
5207 | 2006-01-20 Eli Zaretskii <eliz@gnu.org> |
5208 | ||
3fdf12ca EZ |
5209 | * lread.c (Fload): Don't leak the file descriptor returned by |
5210 | openp if we are going to signal an error. | |
5211 | ||
7559f399 EZ |
5212 | * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it |
5213 | directly to _close. | |
5214 | (sys_dup): Protect against new_fd larger than fd_info[] can handle. | |
5215 | (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly | |
5216 | to _read. | |
cde0a40c | 5217 | (sys_write): If FD is outside [0..MAXDESC) limits, pass it |
7559f399 EZ |
5218 | directly to _write. |
5219 | ||
ea5f3ad4 EZ |
5220 | * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer |
5221 | if it is NULL. | |
5222 | ||
ef8beec6 KH |
5223 | 2006-01-20 Kenichi Handa <handa@m17n.org> |
5224 | ||
5225 | * puresize.h (BASE_PURESIZE): Increment to 1190000. | |
5226 | ||
995f2df9 CY |
5227 | 2006-01-19 Chong Yidong <cyd@stupidchicken.com> |
5228 | ||
5229 | * xdisp.c (get_window_cursor_type): Use cursor type specified by | |
5230 | the selected buffer for the echo area too. | |
5231 | ||
c94c4d0a RS |
5232 | 2006-01-19 Richard M. Stallman <rms@gnu.org> |
5233 | ||
5234 | * keymap.c (Fmap_keymap): Doc fix. | |
5235 | ||
5236 | * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. | |
5237 | ||
5238 | * keyboard.c (echo_char): Don't omit the space between first two | |
5239 | echoed chars. | |
5240 | ||
5241 | * minibuf.c (read_minibuf): Fix previous change. | |
5242 | ||
71578d4f KH |
5243 | 2006-01-19 Kenichi Handa <handa@m17n.org> |
5244 | ||
5245 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | |
5246 | ||
edd1c685 RS |
5247 | 2006-01-17 Richard M. Stallman <rms@gnu.org> |
5248 | ||
5249 | * frame.c (x_frame_get_and_record_arg): Don't record Qunbound | |
5250 | value in f->param_alist. | |
5251 | ||
0501acd4 AS |
5252 | 2006-01-15 Andreas Schwab <schwab@suse.de> |
5253 | ||
5254 | * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. | |
5255 | ||
d33a7384 NR |
5256 | 2006-01-13 Richard M. Stallman <rms@gnu.org> |
5257 | ||
5258 | * Makefile.in: Define new macro WINDOW_SUPPORT. | |
5259 | (lisp): Use it. | |
5260 | (SOME_MACHINE_LISP): Add conditionally loaded files. | |
5261 | ||
2026418c YM |
5262 | 2006-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5263 | ||
5264 | * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
22e6707e | 5265 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. |
2026418c YM |
5266 | (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in |
5267 | decomposed form. | |
5268 | ||
5269 | * process.c [HAVE_INTTYPES_H]: Include inttypes.h. | |
5270 | (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). | |
5271 | (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK | |
5272 | macro. Also try member ifr_addr when getting netmask. | |
5273 | ||
b8f7f3be SM |
5274 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
5275 | ||
5276 | * fileio.c (Fexpand_file_name): Remove redundant tests. | |
5277 | Fix elimination of // so that it doesn't prevent elimination of an | |
5278 | immediately following /. or /.. | |
5279 | ||
4c9ca1a3 JD |
5280 | 2006-01-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5281 | ||
5282 | * gtkutil.c (xg_toggle_notify_cb): New function. | |
5283 | (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to | |
5284 | xg_toggle_notify_cb. | |
5285 | (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when | |
5286 | parameter value changes so the toggle button gets updated. | |
5287 | ||
340bb2ea NR |
5288 | 2006-01-06 Nick Roberts <nickrob@snap.net.nz> |
5289 | ||
5290 | * .gdbinit: Fix typo. | |
5291 | ||
feaf060a EZ |
5292 | 2006-01-05 Eli Zaretskii <eliz@gnu.org> |
5293 | ||
5294 | * .gdbinit: Fix last change. | |
5295 | ||
c22cc558 KS |
5296 | 2006-01-05 Kim F. Storm <storm@cua.dk> |
5297 | ||
5298 | * process.c (Fmake_network_process): Use AF_INET instead of | |
22e6707e | 5299 | AF_UNSPEC when AF_INET6 is not defined. |
c22cc558 | 5300 | |
07f9b01c YM |
5301 | 2006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5302 | ||
5303 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): | |
5304 | Don't check that the other type is known file-related one. | |
5305 | ||
5306 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, | |
5307 | gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac | |
5308 | OS X 10.4 and later. | |
5309 | ||
0facd9c3 JD |
5310 | 2006-01-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5311 | ||
5312 | * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, | |
5313 | let GTK do all image processing. Importing Emacs own pixmaps to GTK | |
5314 | looks bad for inactive tool bar items with some Gnome themes. | |
5315 | ||
805b0439 EZ |
5316 | 2006-01-04 Eli Zaretskii <eliz@gnu.org> |
5317 | ||
913645cd EZ |
5318 | * .gdbinit: Avoid a warning message when x_error_quitter is not |
5319 | compiled in. | |
5320 | ||
805b0439 EZ |
5321 | * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support |
5322 | for w32. | |
5323 | ||
0f5642c2 KS |
5324 | 2006-01-04 Kim F. Storm <storm@cua.dk> |
5325 | ||
8a5db8ae KS |
5326 | * process.c: Add IPv6 support. |
5327 | (Qipv4, Qipv6): New vars. | |
5328 | (syms_of_process): Intern and staticpro them. | |
5329 | (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address | |
5330 | with or without port number. Handle 4 element vector as IPv4 address | |
5331 | without port number. | |
5332 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
5333 | (conv_lisp_to_sockaddr): Handle IPv6 addresses. | |
5334 | (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly | |
5335 | request that address family only. :family nil or omitted means to | |
5336 | determine address family from the specified :host and :service. | |
5337 | (ifflag_table): Add missing OpenBSD IFF_ flags. | |
5338 | (server_accept_connection): Handle IPv6 addresses. | |
5339 | (init_process): Add (:family ipv4) and (:family ipv6) sub-features. | |
5340 | ||
0f5642c2 KS |
5341 | * .gdbinit: Undo last change. Instead, look at Vsystem_type to |
5342 | determine which breakpoints to set. | |
5343 | ||
e7b394e1 SM |
5344 | 2006-01-03 Stefan Monnier <monnier@iro.umontreal.ca> |
5345 | ||
5346 | * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup. | |
5347 | ||
5348 | * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c). | |
5349 | ||
dcc9b98d RF |
5350 | 2006-01-03 Romain Francoise <romain@orebokech.com> |
5351 | ||
5352 | * emacs.c (main): Update copyright year. | |
5353 | ||
6918ac24 | 5354 | 2006-01-03 Ken Raeburn <raeburn@gnu.org> |
1a271e14 KR |
5355 | |
5356 | * callproc.c (delete_temp_file): Bind file-name-handler-alist to | |
5357 | nil for the call to internal_delete_file. | |
5358 | ||
bb951f0e KR |
5359 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> |
5360 | ||
5361 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist | |
5362 | to nil for the call to Fwrite_region. | |
5363 | ||
b20de1cd RS |
5364 | 2005-12-31 Richard M. Stallman <rms@gnu.org> |
5365 | ||
5366 | * minibuf.c (read_minibuf): Clear out all other minibuffer windows. | |
5367 | ||
b5871831 EZ |
5368 | 2005-12-31 Eli Zaretskii <eliz@gnu.org> |
5369 | ||
5370 | * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake. | |
5371 | ||
c26ec07f LT |
5372 | 2005-12-30 Luc Teirlinck <teirllm@auburn.edu> |
5373 | ||
5374 | * textprop.c (set_text_properties): Reword description of return value. | |
5375 | Return Qnil if caller wants to remove all text properties from a | |
5376 | string and the string already has no intervals. | |
5377 | ||
0db017c0 SM |
5378 | 2005-12-30 Stefan Monnier <monnier@iro.umontreal.ca> |
5379 | ||
5380 | * term.c (visible_cursor): New boolean var. | |
5381 | (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on | |
5382 | visible_cursor. | |
5383 | (syms_of_term): Export the new var as "visible-cursor". | |
5384 | ||
fc8dc7cf EZ |
5385 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
5386 | ||
5387 | * .gdbinit: Tell users not to worry about GDB warnings that some | |
5388 | functions do not exist in the binary. | |
5389 | ||
82a80058 AS |
5390 | 2005-12-30 Andreas Schwab <schwab@suse.de> |
5391 | ||
5392 | * process.c (Fnetwork_interface_info): Correctly terminate the | |
5393 | loop over ifflag_table. | |
5394 | ||
c36238ee RS |
5395 | 2005-12-29 Richard M. Stallman <rms@gnu.org> |
5396 | ||
d11db2c8 RS |
5397 | * lread.c (readevalloop): Test for reading a whole buffer |
5398 | before actually reading anything. Handle all cases, including | |
5399 | START = END = nil and an already-narrowed buffer. | |
5400 | Convert END to a marker if it is a number. | |
5401 | ||
c36238ee RS |
5402 | * keymap.c (describe_map): Put sparse map elements into an array, |
5403 | sort them, then output a sequence of identical bindings on one line. | |
5404 | (struct describe_map_elt): New data type. | |
5405 | (describe_map_compare): New function. | |
5406 | ||
82bc1fd6 JD |
5407 | 2005-12-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5408 | ||
e7b394e1 | 5409 | * gtkutil.c (xg_get_file_with_chooser): Change message shown |
82bc1fd6 JD |
5410 | in file chooser. |
5411 | ||
fe5195e8 RS |
5412 | 2005-12-27 Richard M. Stallman <rms@gnu.org> |
5413 | ||
6281e1e8 RS |
5414 | * lread.c (readevalloop): Set PT and ZV in the proper buffer, |
5415 | not the current one. | |
5416 | ||
5417 | * minibuf.c (Fminibuffer_message): Doc fix. | |
5418 | (read_minibuf): Set current_buffer->enable_multibyte_characters sooner. | |
5419 | ||
fe5195e8 RS |
5420 | * eval.c (do_autoload): Ignore elements of Vautoload_queue |
5421 | where car is not symbol. | |
5422 | ||
0d9fb289 KH |
5423 | 2005-12-27 Kenichi Handa <handa@m17n.org> |
5424 | ||
5425 | * charset.c (lisp_string_width): Check multibyteness of STRING. | |
5426 | ||
ff9c9c59 JD |
5427 | 2005-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5428 | ||
14a56a1b | 5429 | * xfns.c (x_show_hidden_files): New variable. |
ff9c9c59 JD |
5430 | (syms_of_xfns): Defvar it. |
5431 | ||
5432 | * gtkutil.c (xg_toggle_visibility_cb): New function. | |
5433 | (xg_get_file_with_chooser): Add toggle hidden files and a message | |
5434 | to the new file chooser dialog. Show hidden files if | |
5435 | x_show_hidden_files is non-zero. | |
5436 | ||
d7504d5c RS |
5437 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
5438 | ||
5439 | * keyboard.h: Undo previous change. | |
5440 | ||
5441 | * Makefile.in (undo.o): Undo previous change. | |
5442 | ||
5443 | * undo.c: Undo previous change. | |
5444 | ||
0ad017ce LT |
5445 | 2005-12-26 Luc Teirlinck <teirllm@auburn.edu> |
5446 | ||
403c00a5 LT |
5447 | * keyboard.h: extern last_point_position_window. |
5448 | ||
0ad017ce LT |
5449 | * undo.c: include keyboard.h. |
5450 | ||
403c00a5 | 5451 | * Makefile.in (undo.o): Depend on keyboard.h. |
0ad017ce | 5452 | |
91e25f5e RS |
5453 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
5454 | ||
d7504d5c RS |
5455 | * commands.h (last_point_position_window): Declare. |
5456 | ||
91e25f5e RS |
5457 | * undo.c: Depend on window.h. |
5458 | (record_point): Save old point from the correct window. | |
5459 | ||
5460 | * keyboard.c (last_point_position_window): New variable. | |
5461 | (command_loop_1): Set last_point_position_window. | |
5462 | (syms_of_keyboard): Init it. | |
5463 | ||
5464 | * Makefile.in (undo.o): Depend on window.h. | |
5465 | ||
cad1051b RS |
5466 | 2005-12-25 Richard M. Stallman <rms@gnu.org> |
5467 | ||
5468 | * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue | |
5469 | to undo a `provide'. | |
5470 | ||
5471 | * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. | |
5472 | ||
d52c26e9 KB |
5473 | 2005-12-25 Giorgos Keramidas <keramida@ceid.upatras.gr> |
5474 | ||
5475 | * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD): | |
5476 | define for FreeBSD on this platform. | |
5477 | ||
14af1e44 YM |
5478 | 2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5479 | ||
5480 | * macterm.h (TYPE_FILE_NAME): New define. | |
5481 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. | |
5482 | ||
e7b394e1 SM |
5483 | * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): |
5484 | Add prototypes. Make static. | |
14af1e44 YM |
5485 | (mac_aedesc_to_lisp): Initialize err to noErr. |
5486 | (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
5487 | (init_coercion_handler): New functions. | |
5488 | (Fmac_coerce_ae_data): Use coercion of Apple event data for | |
5489 | translation from/to file names. | |
5490 | ||
5491 | * macterm.c: Don't include sys/param.h. | |
5492 | (init_coercion_handler): Add extern. | |
5493 | [MAC_OS8] (main): Call init_coercion_handler. | |
5494 | (mac_initialize) [MAC_OSX]: Likewise. | |
5495 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of | |
5496 | Apple event data for translation from/to file names. | |
5497 | ||
5498 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
5499 | ||
5500 | * image.c [MAC_OS] (find_image_fsspec): Likewise. | |
5501 | ||
5fed8c15 | 5502 | 2005-12-23 Martin Rudalics <rudalics@gmx.at> |
bab3eee1 EZ |
5503 | |
5504 | * insdel.c (insert, insert_and_inherit, insert_before_markers) | |
5505 | (insert_before_markers_and_inherit): Make sure FROM is correct | |
5506 | when `after-change-functions' are called. | |
5507 | ||
90f2e16b JD |
5508 | 2005-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5509 | ||
5510 | * xfns.c (Fx_uses_old_gtk_dialog): New function. | |
5511 | ||
5512 | * gtkutil.c (xg_uses_old_file_dialog): New function. | |
5513 | (xg_get_file_name): Use xg_uses_old_file_dialog. | |
5514 | ||
5515 | * gtkutil.h: Declare xg_uses_old_file_dialog. | |
5516 | ||
0ee01fff RS |
5517 | 2005-12-22 Richard M. Stallman <rms@gnu.org> |
5518 | ||
5519 | * xmenu.c (xmenu_show): Call inhibit_garbage_collection. | |
5520 | ||
b73e4d84 YM |
5521 | 2005-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5522 | ||
5523 | * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. | |
5524 | ||
5525 | * macgui.h (XCharStruct): Remove member `valid_p'. | |
5526 | (STORE_XCHARSTRUCT): Don't set member `valid_p'. | |
5527 | (XCharStructRow): New typedef. | |
e7b394e1 SM |
5528 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): |
5529 | New macros. | |
b73e4d84 YM |
5530 | (struct MacFontStruct): Add member `bounds'. Remove member |
5531 | `per_char'. All uses for QuichDraw Text fonts are changed to | |
5532 | `bounds.per_char'. ATSUI font bounds are represented as an array | |
5533 | `bounds.rows' of XCharStructRow's, each of which consists of a | |
5534 | bitmap of valid entries and an array of char bounds. | |
5535 | ||
5536 | * macterm.c (mac_per_char_metric): Add prototype. | |
5537 | (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype. | |
5538 | (mac_query_char_extents): New function. | |
5539 | (x_per_char_metric): Use it. | |
5540 | (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. | |
e7b394e1 SM |
5541 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): |
5542 | Use mac_per_char_metric instead of x_per_char_metric. | |
b73e4d84 YM |
5543 | (mac_text_extents_16): New function. |
5544 | (mac_compute_glyph_string_overhangs): Use it. | |
5545 | (mac_unload_font): Free member `bounds' in struct MacFontStruct. | |
5546 | ||
a425bd03 SM |
5547 | 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
5548 | ||
5549 | * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. | |
5550 | (Fminibuffer_completion_help): Remove duplicates before display. | |
5551 | ||
aa0b0cd9 KL |
5552 | 2005-12-21 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5553 | ||
da3863b5 | 5554 | * print.c (print_preprocess): Don't lose print_depth levels while |
aa0b0cd9 KL |
5555 | iterating. |
5556 | ||
5a61ec18 YM |
5557 | 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5558 | ||
5559 | * macmenu.c (Qmac_apple_event): Add extern. | |
5560 | (set_frame_menubar, mac_menu_show keymp_panes) | |
5561 | (single_keymap_panes, list_of_panes, list_of_item) | |
5562 | (single_menu_item): Add argument types to prototypes. | |
5563 | (mac_dialog_show) [HAVE_DIALOGS]: Likewise. | |
5564 | (struct skp): New struct (from xmenu.c). | |
5565 | (single_keymap_panes, single_menu_item, list_of_panes) | |
5566 | (list_of_item): Sync with xmenu.c. | |
5567 | (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from | |
5568 | POSITION if it is mac-apple-event event. | |
5569 | (menubar_selection_callback): Don't use menu_command_in_progress. | |
5570 | (set_frame_menubar): First parse all submenus, then make | |
5571 | widget_value trees from them. Don't allocate any widget_value | |
5572 | objects until we are done with the parsing. | |
5573 | (parse_single_submenu, digest_single_submenu): New functions. | |
5574 | (single_submenu): Function deleted, replaced by those two. | |
5575 | (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't | |
5576 | create or dispose of EventHandlerUPP. Install hander to all submenus. | |
5577 | (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING | |
5578 | instead of ENCODE_SYSTEM. | |
5579 | (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for | |
5580 | integer values. | |
5581 | [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). | |
5582 | (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to | |
5583 | format menu item string. Don't use NULL for integer value. | |
5584 | ||
5585 | * macterm.h (struct mac_output): Remove unused member | |
5586 | menu_command_in_progress. | |
5587 | ||
3bdba51d JL |
5588 | 2005-12-20 Juri Linkov <juri@jurta.org> |
5589 | ||
5590 | * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if | |
5591 | position is non-nil, else set it to nil. | |
5592 | ||
5593 | * macmenu.c (Fx_popup_menu): Add `else' to set | |
5594 | Vmenu_updating_frame to nil only if position is nil. | |
5595 | ||
5596 | * w32menu.c (Fx_popup_menu): Add `else' to set | |
5597 | Vmenu_updating_frame to nil only if position is nil. | |
5598 | ||
d6a90a49 YM |
5599 | 2005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5600 | ||
5601 | * keyboard.c (make_lispy_event): Drag-and-drop items are now | |
5602 | stored in member `args' of struct input_event. | |
5603 | ||
5604 | * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT. | |
5605 | ||
5606 | * xselect.c (x_handle_dnd_message): Drag-and-drop items are now | |
5607 | stored in member `args' of struct input_event. | |
5608 | ||
5609 | * w32term.c (construct_drag_n_drop): Likewise. | |
5610 | ||
5611 | * macterm.c (mac_do_receive_drag): Likewise. | |
5612 | (x_use_underline_position_properties): Undo 2005-07-13 change. | |
5613 | (syms_of_macterm) <x-use-underline-position-properties>: Likewise. | |
5614 | (mac_use_core_graphics, mac_wheel_button_is_mouse_2) | |
a425bd03 SM |
5615 | (mac_pass_command_to_system, mac_pass_control_to_system): |
5616 | New boolean variables renamed from Lisp_Object ones | |
d6a90a49 | 5617 | Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2, |
a425bd03 SM |
5618 | Vmac_pass_command_to_system, and Vmac_pass_control_to_system. |
5619 | All uses changed. | |
d6a90a49 YM |
5620 | (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs. |
5621 | Make them user options. | |
a425bd03 SM |
5622 | (mac_handle_command_event, mac_store_services_event): |
5623 | Call create_apple_event_from_event_ref without 5th argument. | |
d6a90a49 YM |
5624 | (backtranslate_modified_keycode): Mask off modifier keys that are |
5625 | mapped to some Emacs modifiers before passing it to KeyTranslate. | |
5626 | (syms_of_macterm): Make variables `mac-emulate-three-button-mouse', | |
5627 | `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options. | |
5628 | Fix docstrings of `mac-*-modifier'. | |
5629 | ||
5630 | * mac.c (create_apple_event_from_event_ref): Remove arg `types'. | |
a425bd03 SM |
5631 | (do_applescript): Change argument types to Lisp_Object. |
5632 | All uses changed. | |
d6a90a49 YM |
5633 | |
5634 | * macterm.h (create_apple_event_from_event_ref): Remove 5th | |
5635 | argument from extern. | |
5636 | ||
20d1c5c5 DN |
5637 | 2005-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
5638 | ||
5639 | * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine | |
5640 | the answer, return `lambda', not nil. | |
5641 | ||
abeb5855 EZ |
5642 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
5643 | ||
5644 | * makefile.w32-in (bootstrap-temacs): Warn that parts of commands | |
5645 | enclosed in $(ARGQUOTE)s should not be split between two lines, as | |
5646 | that will break with GNU Make >3.80, when sh.exe is used and | |
5647 | arg quoting is with '..'. | |
5648 | ||
6b8dfbf7 CY |
5649 | 2005-12-17 Chong Yidong <cyd@stupidchicken.com> |
5650 | ||
5651 | * print.c (print_preprocess): Just signal an error if print_depth | |
5652 | is exceeded. | |
5653 | ||
d912b87a EZ |
5654 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
5655 | ||
5656 | * .gdbinit: Set a breakpoint on w32_abort. | |
5657 | ||
2a502a32 JL |
5658 | 2005-12-16 Juri Linkov <juri@jurta.org> |
5659 | ||
5660 | * minibuf.c (Fminibuffer_completion_contents): New Lisp function | |
5661 | created from minibuffer_completion_contents. | |
5662 | (minibuffer_completion_contents): Remove. | |
5663 | (do_completion, Fminibuffer_complete_word) | |
5664 | (Fminibuffer_completion_help): Replace minibuffer_completion_contents | |
5665 | with Fminibuffer_completion_contents. | |
5666 | (syms_of_minibuf): Add Sminibuffer_completion_contents. | |
5667 | (Fdisplay_completion_list): Doc fix. | |
5668 | (display_completion_list_1): Use `nil' for second arg of | |
5669 | `Fdisplay_completion_list'. | |
5670 | ||
bf63eb69 JD |
5671 | 2005-12-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5672 | ||
5673 | * xfns.c (compute_tip_xy): Handle negative dx and dy. | |
5674 | ||
a425bd03 | 5675 | * w32fns.c (compute_tip_xy): Ditto. |
bf63eb69 | 5676 | |
a425bd03 | 5677 | * macfns.c (compute_tip_xy): Ditto. |
bf63eb69 | 5678 | |
9b98e161 CY |
5679 | 2005-12-14 Chong Yidong <cyd@stupidchicken.com> |
5680 | ||
5681 | * print.c (print_preprocess): Go to a deeper print_depth to avoid | |
5682 | print_object loop. | |
5683 | ||
89aa725a KH |
5684 | 2005-12-14 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
5685 | ||
5686 | * coding.c (code_convert_region_unwind): GCPRO arg. | |
5687 | ||
3b006f5b JD |
5688 | 2005-12-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5689 | ||
57134802 JD |
5690 | * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x, |
5691 | i.e. dy is offset from top of frame instead of bottom. | |
5692 | ||
5693 | * macfns.c (compute_tip_xy): Ditto. | |
5694 | ||
5695 | * w32fns.c (compute_tip_xy): Ditto. | |
5696 | ||
3b006f5b JD |
5697 | * gtkutil.c (SSDATA): New macro to remove compiler warnings. |
5698 | (xg_get_image_for_pixmap, xg_create_frame_widgets) | |
5699 | (xg_get_file_with_chooser): Use SSDATA instead of SDATA. | |
5700 | ||
5701 | * xmenu.c (menubar_selection_callback): Do nothing if the callback | |
5702 | is for an unselected radio menu item. | |
5703 | ||
2cb33a98 RS |
5704 | 2005-12-11 Richard M. Stallman <rms@gnu.org> |
5705 | ||
5706 | * xdisp.c (syms_of_xdisp) <blink-cursor-alist>: Doc fix. | |
5707 | ||
5708 | * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once. | |
5709 | ||
5710 | * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE. | |
5711 | (Flookup_key): Doc fix. | |
5712 | (syms_of_keymap) <function-key-map>: Doc fix. | |
5713 | ||
5714 | * fns.c (Frequire): Treat evaluating from a source file | |
5715 | like loading the file. | |
5716 | ||
5717 | * floatfns.c (Flog): Doc fix. | |
5718 | ||
5719 | * fileio.c (Finsert_file_contents): Set Vdeactivate_mark | |
5720 | when we change the buffer. | |
5721 | ||
d7d1f75e JL |
5722 | 2005-12-11 Juri Linkov <juri@jurta.org> |
5723 | ||
5724 | * minibuf.c (display_completion_list_1): | |
5725 | Call `minibuffer_completion_contents' instead of using `nil' as | |
5726 | second arg of `Fdisplay_completion_list'. | |
5727 | (keys_of_minibuf): Unbind SPC in | |
5728 | Vminibuffer_local_filename_completion_map (see also related | |
5729 | change on 2005-12-06). | |
5730 | ||
ac8fcf0f YM |
5731 | 2005-12-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5732 | ||
5733 | * emacs.c (main) [MAC_OS8]: Undo previous change. | |
5734 | ||
5735 | * macselect.c (syms_of_macselect) <mac-apple-event-map>: | |
5736 | Initialize to nil. Keymap is now created in lisp/term/mac-win.el. | |
5737 | ||
4b3eb407 YM |
5738 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5739 | ||
5740 | * Makefile.in (macselect.o): Depend on keymap.h. | |
5741 | ||
5742 | * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before | |
5743 | syms_of_macselect. | |
5744 | ||
5745 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies. | |
5746 | [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies. | |
5747 | ||
5748 | * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable. | |
5749 | (syms_of_keyboard) [MAC_OS]: Initialize it. | |
5750 | (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT. | |
5751 | ||
5752 | * mac.c (Qundecoded_file_name): New variable. | |
5753 | (syms_of_mac): Initialize it. | |
5754 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions. | |
a425bd03 | 5755 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun. |
4b3eb407 YM |
5756 | (Fmac_coerce_ae_data): New defun. |
5757 | (syms_of_mac): Defsubr it. | |
5758 | ||
5759 | * macselect.c: Include keymap.h. | |
5760 | (mac_ready_for_apple_events): New variable. | |
5761 | (Vmac_apple_event_map, Qmac_apple_event_class) | |
5762 | (Qmac_apple_event_id): New variables. | |
5763 | (syms_of_macselect): Initialize them. | |
5764 | (Qundefined, mac_store_apple_event): Add externs. | |
5765 | (struct apple_event_binding): New struct. | |
5766 | (find_event_binding_fun, find_event_binding) | |
5767 | (mac_find_apple_event_spec, defer_apple_events) | |
5768 | (mac_handle_apple_event, init_apple_event_handler) | |
5769 | (copy_scrap_flavor_data): New functions. | |
5770 | (Fmac_process_deferred_apple_events): New defun. | |
5771 | (syms_of_macselect): Defsubr it. | |
5772 | (mac_store_services_event): Fix extern. | |
5773 | (mac_handle_service_event): Don't allocate Lisp objects during | |
5774 | asynchronous input processing. Use mac_store_services_event | |
5775 | instead of mac_store_application_menu_event. | |
5776 | ||
5777 | * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) | |
5778 | (Qpreferences): Remove variables. | |
5779 | (syms_of_macterm) : Don't initialize them. | |
5780 | (Qhicommand) [USE_CARBON_EVENTS]: New variable. | |
5781 | (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. | |
5782 | (init_required_apple_events, do_ae_open_application) | |
5783 | (do_ae_print_documents, do_ae_open_documents) | |
5784 | (do_ae_quit_application): Remove functions and prototypes. | |
5785 | (mac_ready_for_apple_events, Qundefined, init_apple_event_handler) | |
5786 | (mac_find_apple_event_spec): Add externs. | |
5787 | (mac_store_application_menu_event): Remove function. | |
5788 | (mac_store_apple_event, mac_make_lispy_event_code): New functions. | |
5789 | (mac_handle_command_event): Create Apple event from Carbon event. | |
5790 | Use mac_store_apple_event instead of mac_store_application_menu_event. | |
5791 | [MAC_OSX] (mac_store_services_event): Likewise. | |
5792 | (struct SelectionRange, SelectionRange): Remove struct and typedef. | |
5793 | [MAC_OS8] (main): Call init_apple_event_handler instead of | |
5794 | init_required_apple_events. | |
5795 | (mac_initialize) [MAC_OSX]: Likewise. | |
e7b394e1 SM |
5796 | [!USE_CARBON_EVENTS] (mac_wait_next_event): |
5797 | Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. | |
4b3eb407 | 5798 | |
e7b394e1 SM |
5799 | * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): |
5800 | Add externs. | |
4b3eb407 YM |
5801 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. |
5802 | (Fmac_get_preference): Add EXFUN. | |
5803 | ||
5804 | * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT | |
5805 | event. | |
5806 | ||
e358e052 RS |
5807 | 2005-12-09 Richard M. Stallman <rms@gnu.org> |
5808 | ||
5809 | * xfns.c (Fx_create_frame): Reinstate previous change. | |
5810 | ||
9ea74bfb EZ |
5811 | 2005-12-09 Eli Zaretskii <eliz@gnu.org> |
5812 | ||
5813 | * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching | |
5814 | GDB to the abort dialog. | |
5815 | ||
9dd28cae | 5816 | 2005-12-09 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
84fdb82c KS |
5817 | |
5818 | * indent.c (Fvertical_motion): Force move if starting on | |
5819 | stretch glyph. | |
5820 | ||
2fda6977 RS |
5821 | 2005-12-08 Richard M. Stallman <rms@gnu.org> |
5822 | ||
2663a204 RS |
5823 | * lread.c (read_escape) <\s>: Don't treat strings specially. |
5824 | ||
2fda6977 RS |
5825 | * xfns.c (Fx_create_frame): Comment out previous change. |
5826 | ||
225c13a5 KL |
5827 | 2005-12-07 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5828 | ||
5829 | * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, | |
5830 | when needed. | |
5831 | ||
da8ec671 SM |
5832 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
5833 | ||
5834 | * minibuf.c (keys_of_minibuf): Just unbind SPC in | |
5835 | Vminibuffer_local_filename_completion_map rather than forcing it | |
5836 | explicitly to the same binding as the global map. | |
5837 | ||
88fde92a KR |
5838 | 2005-12-06 Ken Raeburn <raeburn@gnu.org> |
5839 | ||
e7b394e1 | 5840 | * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args. |
88fde92a | 5841 | * bytecode.c (Fbyte_code): Likewise. |
e7b394e1 | 5842 | * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise. |
88fde92a KR |
5843 | * minibuf.c (Fminibuffer_complete_and_exit): Likewise. |
5844 | * undo.c (truncate_undo_list): Likewise. | |
5845 | ||
fa0d4d0c RS |
5846 | 2005-12-05 Richard M. Stallman <rms@gnu.org> |
5847 | ||
5848 | * window.c (enlarge_window): Eliminate arg preserve_before. | |
5849 | Assume it is 0. All callers changed. | |
5850 | (Fenlarge_window, Fshrink_window): Likewise. | |
5851 | ||
5a98616e EZ |
5852 | 2005-12-02 Eli Zaretskii <eliz@gnu.org> |
5853 | ||
5854 | * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't | |
5855 | fit below. | |
5856 | ||
1dbacb90 JD |
5857 | 2005-12-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5858 | ||
5859 | * xterm.h: Add prototype for xg_set_icon_from_xpm_data. | |
5860 | ||
5861 | * xfns.c (x_real_positions): int ign => unsigned int. | |
5862 | (xg_set_icon_from_xpm_data): Remove unused variable err. | |
5863 | (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast | |
5864 | to remove compiler warning. | |
5865 | (compute_tip_xy): Put tip above pointer if it doesn't fit below. | |
5866 | ||
0a79da1b EZ |
5867 | 2005-12-02 David Reitter <david.reitter@gmail.com> |
5868 | ||
5869 | * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is | |
5870 | non-nil, use the new keymaps Vminibuffer_local_filename_completion_map | |
5871 | and Vminibuffer_local_must_match_filename_map keymaps. | |
5872 | (keys_of_minibuf): Bind SPC in the new file-name completion keymaps. | |
5873 | ||
5874 | * keymap.c (Vminibuffer_local_filename_completion_map) | |
5875 | (Vminibuffer_local_must_match_filename_map): New variables. | |
5876 | (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their | |
5877 | parent to be Vminibuffer_local_completion_map and | |
5878 | Vminibuffer_local_must_match_map, respectively. | |
5879 | ||
5880 | * commands.h (Vminibuffer_local_filename_completion_map) | |
5881 | (Vminibuffer_local_must_match_filename_map): Declare the new keymaps. | |
5882 | ||
e67a1dea SM |
5883 | 2005-12-01 Stefan Monnier <monnier@iro.umontreal.ca> |
5884 | ||
5885 | * window.c (Fset_window_configuration): Don't accidentally copy the | |
5886 | window-point of one window to another. | |
5887 | ||
6ad0f04d KL |
5888 | 2005-11-30 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5889 | ||
7854b2a3 | 5890 | * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. |
6ad0f04d | 5891 | |
4269a2fd KS |
5892 | 2005-11-30 Kim F. Storm <storm@cua.dk> |
5893 | ||
5894 | * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. | |
5895 | (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by | |
5896 | passing it to `emacs_write'. | |
5897 | ||
96013ba9 SM |
5898 | 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change) |
5899 | ||
5900 | * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. | |
5901 | ||
161ef3be RS |
5902 | 2005-11-27 Richard M. Stallman <rms@gnu.org> |
5903 | ||
5904 | * window.c (adjust_window_trailing_edge): New function. | |
5905 | (Fadjust_window_trailing_edge): New function. | |
96013ba9 | 5906 | (syms_of_window): Defsubr it. |
161ef3be RS |
5907 | (window_deletion_count): New variable. |
5908 | (delete_window): Update window_deletion_count. | |
5909 | ||
02b1a164 EZ |
5910 | 2005-11-26 Eli Zaretskii <eliz@gnu.org> |
5911 | ||
5912 | * minibuf.c (syms_of_minibuf): Mention the extension of | |
5913 | `completion-auto-help's meaning by complete.el. | |
5914 | ||
07908aec EZ |
5915 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> |
5916 | ||
96013ba9 | 5917 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
07908aec EZ |
5918 | Handle :inherit property as a lisp expression. |
5919 | ||
b9c7cbf9 YM |
5920 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5921 | ||
5922 | * macterm.c (Qcontrol): Rename from Qctrl. All uses changed. | |
5923 | (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper, | |
5924 | Qsuper, and Qmodifier_value. | |
5925 | (Vmac_control_modifier, Vmac_option_modifier) | |
5926 | (Vmac_command_modifier, Vmac_function_modifier) | |
5927 | (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2) | |
5928 | (Vmac_pass_command_to_system, Vmac_pass_control_to_system) | |
5929 | (Vmac_charset_info_alist): Doc fixes. | |
5930 | ||
2c012c41 YM |
5931 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5932 | ||
5933 | * emacs.c (main) [MAC_OSX]: Change working directory to home | |
5934 | directory if `-psn_*' option is specified. | |
5935 | ||
5936 | * mac.c (DECODE_UTF_8): Remove macro. | |
5937 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function | |
5938 | created from cfstring_to_lisp. | |
5939 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it. | |
5940 | (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise. | |
5941 | ||
5942 | * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]: | |
5943 | Add prototype. | |
5944 | ||
88fde92a | 5945 | 2005-11-21 Ken Raeburn <raeburn@gnu.org> |
d7c0be75 KR |
5946 | |
5947 | * keymap.c (shadow_lookup): Use make_number to pass a number to | |
5948 | Fsubstring. | |
5949 | ||
17c1971a JL |
5950 | 2005-11-21 Juri Linkov <juri@jurta.org> |
5951 | ||
5952 | * puresize.h (BASE_PURESIZE): Increment to 1180000. | |
5953 | ||
0268cef3 CY |
5954 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> |
5955 | ||
96013ba9 SM |
5956 | * xfaces.c (Finternal_set_lisp_face_attribute): |
5957 | Use :ignore-defface for new frame defaults when `unspecified' is | |
0268cef3 CY |
5958 | supplied. |
5959 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. | |
67d23e01 CY |
5960 | (merge_face_vectors): Don't do :ignore-defface overwriting here. |
5961 | (Finternal_merge_in_global_face): Do it here. | |
0268cef3 | 5962 | |
dd949173 JL |
5963 | 2005-11-20 Juri Linkov <juri@jurta.org> |
5964 | ||
5965 | * charset.c (invalid_character): Use Lisp-readable syntax | |
5966 | for octal and hex. Reorder decimal, octal and hex values. | |
5967 | ||
76986433 NR |
5968 | 2005-11-20 Nick Roberts <nickrob@snap.net.nz> |
5969 | ||
5970 | * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that | |
5971 | this type is recognised when debugging. | |
5972 | ||
603add2d AS |
5973 | 2005-11-19 Andreas Schwab <schwab@suse.de> |
5974 | ||
5975 | * .gdbinit (nextcons, xcdr, xfloat): Update for changes in | |
5976 | Lisp_Cons and Lisp_Float. | |
5977 | ||
125ce9ec YM |
5978 | 2005-11-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5979 | ||
5980 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): | |
5981 | New variable. | |
96013ba9 | 5982 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. |
125ce9ec YM |
5983 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. |
5984 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if | |
5985 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. | |
5986 | ||
2ff10663 CY |
5987 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
5988 | ||
96013ba9 | 5989 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. |
fe45ad15 | 5990 | |
2ff10663 CY |
5991 | * xfaces.c (Qignore_defface): New variable. |
5992 | (syms_of_xfaces): Provide `:ignore-defface'. | |
5993 | (IGNORE_DEFFACE_P): New macro. | |
05338727 CY |
5994 | (check_lface_attrs, lface_fully_specified_p) |
5995 | (Finternal_set_lisp_face_attribute) | |
96013ba9 SM |
5996 | (Fface_attribute_relative_p, Fmerge_face_attribute): |
5997 | Handle Qignore_defface as a possible value. | |
2ff10663 CY |
5998 | (merge_face_vectors): The merged face is `unspecified' if the |
5999 | mergee specifies `:ignore-defface'. | |
6000 | ||
c01f0ed3 SM |
6001 | 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
6002 | ||
6003 | * lread.c (readevalloop): Add missing GCPROs. | |
6004 | ||
786a43d6 CY |
6005 | 2005-11-16 Chong Yidong <cyd@stupidchicken.com> |
6006 | ||
9f7b984b CY |
6007 | * xfns.c (xg_set_icon_from_xpm_data): New function. |
6008 | ||
c01f0ed3 SM |
6009 | * gnu.h (gnu_xpm_bits): Rename from gnu_bits. |
6010 | (gnu_xbm_bits): Rename from gnu_bits (xbm version). | |
786a43d6 CY |
6011 | |
6012 | * xterm.c (x_bitmap_icon): Use the xpm if available. | |
6013 | ||
6014 | * image.c (x_create_bitmap_from_xpm_data): New function. | |
54188d8f | 6015 | (x_create_bitmap_from_xpm_data): Initialize XpmAttributes. |
786a43d6 | 6016 | |
8ab84823 LT |
6017 | 2005-11-15 Luc Teirlinck <teirllm@auburn.edu> |
6018 | ||
6019 | * Makefile.in (lisp, shortlisp): Add rfn-eshadow. | |
6020 | ||
3671718b NR |
6021 | 2005-11-16 Nick Roberts <nickrob@snap.net.nz> |
6022 | ||
6023 | * .gdbinit: Make SIGTSTP work like SIGINT normally does. | |
6024 | ||
28a099a4 AS |
6025 | 2005-11-15 Andreas Schwab <schwab@suse.de> |
6026 | ||
6027 | * lisp.h (struct Lisp_Cons): Make cdr a union. | |
6028 | (XCDR_AS_LVALUE): Adjust. | |
6029 | (struct Lisp_Float): Make data a union. | |
6030 | (XFLOAT_DATA): Adjust. | |
6031 | ||
6032 | * alloc.c (free_float): Make free list chaining aliasing-safe. | |
6033 | (make_float): Likewise. | |
6034 | (free_cons): Likewise. | |
6035 | (Fcons): Likewise. | |
6036 | (check_cons_list): Likewise. | |
6037 | (Fmake_symbol): Likewise. | |
6038 | (allocate_misc): Likewise. | |
6039 | (free_misc): Likewise. | |
6040 | (gc_sweep): Likewise. | |
6041 | ||
308a6607 YM |
6042 | 2005-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6043 | ||
fc09d07f YM |
6044 | * mac.c (HASHKEY_QUERY_CACHE): New define. |
6045 | (xrm_create_database, xrm_q_put_resource): Empty query cache. | |
6046 | (xrm_get_resource): Use query cache. | |
6047 | ||
308a6607 YM |
6048 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies if |
6049 | inhibit_window_system is set. | |
6050 | ||
29b585db YM |
6051 | 2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6052 | ||
6053 | * macgui.h (USE_CG_TEXT_DRAWING): New define. | |
6054 | (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font | |
6055 | and cg_glyphs. | |
6056 | ||
6057 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function. | |
6058 | (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it. | |
6059 | (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and | |
6060 | cg_glyphs in struct MacFontStruct if synthesized bold or italic is | |
6061 | not used and font substitution never occurs for ASCII and Latin-1 | |
6062 | characters. | |
6063 | (XLoadQueryFont): Maximum and minimum metrics are now those among | |
6064 | ASCII characters. | |
6065 | (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style | |
6066 | height adjustments for Courier, Helvetica, and Times. | |
6067 | ||
6068 | * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. | |
6069 | ||
9dd28cae | 6070 | 2005-11-11 David Reitter <david.reitter@gmail.com> |
b02e3f7b | 6071 | |
dff79d04 | 6072 | * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, |
267ee78f | 6073 | macMetaKey, macAltKey. Introduce Qctrl, Qmeta, |
dff79d04 ST |
6074 | Vmac_control_modifier / mac-control-modifier, |
6075 | Vmac_option_modifier / mac-option-modifier, | |
6076 | Vmac_command_modifier / mac-command-modifier. | |
6077 | (mac_to_emacs_modifiers): Use the new style modifier | |
c01f0ed3 SM |
6078 | variables. Return UInt32 (modifiers are longs now.) |
6079 | (backtranslate_modified_keycode): New function (refactoring). | |
6080 | (XTread_socket): Use new modifier variables and refactored function. | |
6081 | (mac_determine_quit_char_modifiers): Remove macMetaKey (there is | |
6082 | no dedicated meta key. Not in use anyway.) | |
b02e3f7b ST |
6083 | (convert_fn_keycode): Map Fn-keys to their original keycode |
6084 | using a table (english keyboard only). | |
b02e3f7b | 6085 | |
6a77a9f5 KS |
6086 | 2005-11-11 Kim F. Storm <storm@cua.dk> |
6087 | ||
ab4d879e KS |
6088 | * .gdbinit (pitx): Fix output format if n_overlay_strings > 0. |
6089 | Add post hook to "backtrace" to always dump lisp call stack to | |
6090 | increase chance of people sending it to us when reporting bugs. | |
6091 | ||
8c41220c KS |
6092 | * doc.c (Fsubstitute_command_keys): Doc fix. |
6093 | ||
6a77a9f5 KS |
6094 | * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p. |
6095 | ||
6096 | * xdisp.c (handle_stop): Skip overlay string handling if | |
6097 | ignore_overlay_strings_at_pos_p is set. | |
6098 | (set_iterator_to_next): At end of display vector, set | |
6099 | ignore_overlay_strings_at_pos_p if dpvec came from an overlay | |
6100 | string, so we skip those overlay strings at current pos. | |
6101 | ||
9dd28cae | 6102 | 2005-11-10 Lars Hansen <larsh@soem.dk> |
19a9c3b7 LH |
6103 | |
6104 | * fileio.c (file-regular-p): Doc fix. | |
6105 | ||
932954d1 KS |
6106 | 2005-11-10 Kim F. Storm <storm@cua.dk> |
6107 | ||
6108 | * alloc.c (valid_lisp_object_p): New function to validate that | |
6109 | an object is really a valid Lisp_Object. | |
6110 | ||
6111 | * lisp.h (valid_lisp_object_p): Add prototype. | |
6112 | ||
6113 | * print.c (safe_debug_print): New function to be called from gdb | |
6114 | to print Lisp objects; use valid_lisp_object_p to avoid crashing | |
6115 | if user tries to print something which is not a Lisp object. | |
6116 | ||
6117 | * .gdbinit (pp, pp1): Use safe_debug_print. | |
6118 | (pv, pv1): New commands to print value of a lisp variable. | |
6119 | ||
78e5988d NR |
6120 | 2005-11-10 Nick Roberts <nickrob@snap.net.nz> |
6121 | ||
6122 | * .gdbinit (pp1): New user-defined function. | |
6123 | ||
f56a5bd8 YM |
6124 | 2005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6125 | ||
6126 | * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak. | |
6127 | ||
6128 | * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale | |
6129 | related variables for dumped executable. | |
6130 | ||
6131 | * unexmacosx.c (unexec_write_zero): New function. | |
6132 | (copy_data_segment): Clear uninitialized local variables in | |
6133 | statically linked libraries. | |
6134 | ||
6135 | * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common. | |
6136 | ||
58b6f884 JL |
6137 | 2005-11-09 Juri Linkov <juri@jurta.org> |
6138 | ||
6139 | * keymap.c (shadow_lookup): If Flookup_key returns a number, | |
6140 | call it again with a sub-key-sequence, and if its return value | |
6141 | is non-nil (sub-key is bound), return nil. | |
6142 | ||
1f5f957a KS |
6143 | 2005-11-08 Kim F. Storm <storm@cua.dk> |
6144 | ||
6145 | * process.c (Fsignal_process): Recognize signal names with and | |
6146 | without SIG prefix, e.g. SIGHUP and HUP. | |
6147 | ||
6148 | * search.c (search_buffer): No need to initialize base_pat. | |
6149 | ||
20b69789 SM |
6150 | 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> |
6151 | ||
6152 | * window.c (Fget_lru_window, Fget_largest_window, window_loop): | |
6153 | Don't abuse the `mini' arg. Use the `obj' arg instead. | |
6154 | ||
7353f169 KS |
6155 | 2005-11-04 Kim F. Storm <storm@cua.dk> |
6156 | ||
6157 | * xdisp.c (show_mouse_face): Clear mouse face to eol. | |
6158 | ||
1f7b1131 DN |
6159 | 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu> |
6160 | ||
6161 | * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc, | |
6162 | font-lock.elc and jit-lock.elc. | |
6163 | ||
e082564e RS |
6164 | 2005-11-03 Richard M. Stallman <rms@gnu.org> |
6165 | ||
6166 | * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL. | |
6167 | (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG. | |
6168 | (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG. | |
6169 | ||
6170 | * sheap.c (STATIC_HEAP_SIZE): Increment both definitions. | |
6171 | ||
6172 | * alloc.c (refill_memory_reserve): Move decl out of conditionals. | |
6173 | ||
49e99345 SM |
6174 | 2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
6175 | ||
6176 | * window.c (Fdisplay_buffer): Fix last change to not use | |
6177 | a dedicated window. | |
6178 | ||
8f15921b KS |
6179 | 2005-11-01 Kim F. Storm <storm@cua.dk> |
6180 | ||
6181 | * fringe.c (update_window_fringes): Undo 2005-10-27 change. | |
6182 | Instead, rotate the bottom angle bitmap 180 degrees to indicate | |
6183 | that the bottom row does not end in a newline. | |
6184 | ||
b4235a80 AS |
6185 | 2005-11-01 Andreas Schwab <schwab@suse.de> |
6186 | ||
6187 | * unexelf.c (unexec): Handle .plt section in BSS segment. | |
6188 | ||
3cbb13c8 SM |
6189 | 2005-11-01 Stefan Monnier <monnier@iro.umontreal.ca> |
6190 | ||
e5f64be2 SM |
6191 | * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). |
6192 | ||
3cbb13c8 SM |
6193 | * window.c (window_loop): For LRU and LARGEST, let the `mini' argument |
6194 | determine whether to consider dedicated windows as well. | |
6195 | (Fget_lru_window, Fget_largest_window): Add `dedicated' argument. | |
6196 | (Fdisplay_buffer): Do consider dedicated windows in those cases where | |
6197 | we will split the window rather than reuse it. | |
6198 | Don't try to use windows on other displays. | |
6199 | ||
c94f08ff DN |
6200 | 2005-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
6201 | ||
6202 | * puresize.h (BASE_PURESIZE): Increment to 1170000. | |
6203 | ||
edf84ae9 RF |
6204 | 2005-10-31 Romain Francoise <romain@orebokech.com> |
6205 | ||
6206 | * macfns.c: Update copyright year. | |
6207 | * m/gould.h: Likewise. | |
6208 | ||
6f07f649 KS |
6209 | 2005-10-30 Kim F. Storm <storm@cua.dk> |
6210 | ||
6211 | * xdisp.c (display_line): Restore it->current_x and call | |
6212 | extend_face_to_end_of_line when last glyph doesn't fit on line. | |
9dd28cae | 6213 | (set_glyph_string_background_width): Remove specific tests here |
6f07f649 KS |
6214 | to see if face background should extend to end of line. Simplify. |
6215 | ||
4d74a5fc RS |
6216 | 2005-10-30 Richard M. Stallman <rms@gnu.org> |
6217 | ||
6218 | * alloc.c (BYTES_USED): Use uordblks, not arena. | |
6219 | (bytes_used_when_reconsidered): New variable. | |
6220 | (emacs_blocked_free): Set that. | |
6221 | ||
bccfb310 CY |
6222 | 2005-10-29 Chong Yidong <cyd@stupidchicken.com> |
6223 | ||
6224 | * alloc.c (emacs_blocked_free): Fix typo. | |
6225 | ||
f5b8d5f2 RS |
6226 | 2005-10-29 Richard M. Stallman <rms@gnu.org> |
6227 | ||
4d74a5fc RS |
6228 | * data.c (Fmake_variable_frame_local): Doc fix. |
6229 | ||
f5b8d5f2 RS |
6230 | * xdisp.c (handle_fontified_prop): Do nothing if memory full. |
6231 | (format_mode_line_unwind_data): New arg SAVE_PROPTRANS | |
6232 | controls whether to save and restore mode_line_proptrans_alist. | |
6233 | Callers changed. | |
6234 | (unwind_format_mode_line): Work with that feature. | |
6235 | (redisplay_internal): Don't call prepare_menu_bars if memory full. | |
6236 | (move_elt_to_front): New function. | |
6237 | (display_mode_element): Use move_elt_to_front. | |
6238 | Don't bother munging text props on a null string. | |
6239 | Delete obsolete elts from mode_line_proptrans_alist. | |
6240 | (decode_mode_spec): Test Vmemory_full, not spare_memory. | |
685abb98 | 6241 | (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. |
f5b8d5f2 | 6242 | |
49e99345 SM |
6243 | * lisp.h (memory_full_cons_threshold): Declare. |
6244 | (internal_lisp_condition_case): Declare. | |
f5b8d5f2 RS |
6245 | |
6246 | * alloc.c (syms_of_alloc) <memory-full>: Doc fix. | |
6247 | (Fmemory_full_p): Function deleted. | |
6248 | (syms_of_alloc): Don't defsubr it. | |
6249 | (memory_full_cons_threshold): New variable. | |
6250 | (spare_memory): Now a vector of 7 elts. | |
6251 | (buffer_memory_full): Don't set Vmemory_full here. | |
6252 | (xfree): Don't try to refill here. | |
6253 | (emacs_blocked_free): Record BYTES_USED in local var. | |
6254 | (memory_full): Now free all the slots in spare_memory. | |
6255 | (refill_memory_reserve): Allocate each slot in spare_memory. | |
6256 | (init_alloc_once): Call refill_memory_reserve. | |
6257 | ||
6258 | * keyboard.c (command_loop_1): Don't set Vmemory_full here. | |
6259 | ||
6260 | * eval.c (internal_lisp_condition_case): New function. | |
6261 | (Fcondition_case): Use internal_lisp_condition_case. | |
6262 | (Feval): Test Vmemory_full and memory_full_cons_threshold. | |
6263 | (Ffuncall): Likewise. | |
6264 | ||
6265 | * bytecode.c (Fbyte_code): Use internal_lisp_condition_case. | |
6266 | ||
c390e28c SM |
6267 | 2005-10-29 Stefan Monnier <monnier@iro.umontreal.ca> |
6268 | ||
6269 | * syntax.c (Fparse_partial_sexp): Fix docstring. | |
6270 | ||
ab5d87b3 RF |
6271 | 2005-10-28 Romain Francoise <romain@orebokech.com> |
6272 | ||
c390e28c | 6273 | * puresize.h (BASE_PURESIZE): Increment to 1130000. |
ab5d87b3 | 6274 | |
107fb6c9 RS |
6275 | 2005-10-28 Richard M. Stallman <rms@gnu.org> |
6276 | ||
6277 | * xfns.c (syms_of_xfns): Provide `x' as feature. | |
6278 | ||
6279 | * xdisp.c (decode_mode_spec): Define %e to indicate memory full. | |
6280 | ||
6281 | * editfns.c (Fformat): Don't include string padding | |
6282 | between info[n].start and info[n].end. | |
6283 | ||
6284 | * alloc.c (spare_memory): No longer static. | |
6285 | (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve. | |
6286 | ||
c390e28c | 6287 | * puresize.h (BASE_PURESIZE): Increment to 1120000. |
107fb6c9 | 6288 | |
f351b58b CY |
6289 | 2005-10-27 Chong Yidong <cyd@stupidchicken.com> |
6290 | ||
c390e28c | 6291 | * data.c (Fmake_variable_frame_local): Add clarification to docstring. |
437610c5 | 6292 | |
f351b58b CY |
6293 | * fringe.c (update_window_fringes): Handle case where buffer ends |
6294 | with a newline. | |
6295 | ||
581e7427 KH |
6296 | 2005-10-27 Kenichi Handa <handa@m17n.org> |
6297 | ||
6298 | * coding.h (DECODE_SYSTEM): Fix argument name; name->str. | |
6299 | ||
6300 | 2005-10-24 Kenichi Handa <handa@m17n.org> | |
6301 | ||
6302 | * charset.h (charset_mule_unicode_0100_24ff) | |
6303 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
6304 | Extern them. | |
6305 | ||
6306 | * charset.c (charset_mule_unicode_0100_24ff) | |
6307 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
6308 | New variables. | |
6309 | (Fsetup_special_charsets): Initialize them. | |
6310 | ||
6311 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
6312 | supported Unicode characters. | |
6313 | ||
813fa8a8 JR |
6314 | 2005-10-25 Jason Rumney <jasonr@gnu.org> |
6315 | ||
6316 | * w32fns.c (w32_to_x_font): Avoid forcing font widths. | |
6317 | ||
05f7d868 YM |
6318 | 2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6319 | ||
6320 | * image.c [MAC_OS] (image_load_qt_1): Check image size. | |
6321 | Use GraphicsImportGetImageDescription instead of | |
6322 | GraphicsImportGetNaturalBounds. | |
6323 | [MAC_OSX] (image_load_quartz2d): Check image size. | |
6324 | [MAC_OS] (xpm_load_image): Likewise. | |
6325 | ||
6326 | * macterm.c (last_mouse_glyph_frame): New var. | |
6327 | (note_mouse_movement): Say mouse moved if current frame differs | |
6328 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
6329 | (XTmouse_position): Set last_mouse_glyph_frame. | |
6330 | (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event. | |
29b585db | 6331 | (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo. |
05f7d868 YM |
6332 | Use EndianU16_BtoN. |
6333 | (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls. | |
6334 | (x_per_char_metric, XLoadQueryFont) | |
6335 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get | |
6336 | glyph bounds. | |
6337 | (mac_to_x_fontname, mac_do_list_fonts) | |
6338 | (mac_initialize_display_info): Change screen resolutions to 72dpi. | |
6339 | ||
128e729d MY |
6340 | 2005-10-25 Masatake YAMATO <jet@gyve.org> |
6341 | ||
6342 | * minibuf.c (Fdisplay_completion_list): Small doc fix. | |
6343 | ||
59017afb KS |
6344 | 2005-10-24 Kim F. Storm <storm@cua.dk> |
6345 | ||
94717db1 KS |
6346 | * xterm.c: Undo 2005-10-23 change. |
6347 | (last_mouse_glyph_frame): New var. | |
6348 | (note_mouse_movement): Say mouse moved if current frame differs | |
6349 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
6350 | (XTmouse_position): Set last_mouse_glyph_frame. | |
6351 | (handle_one_xevent): Clear last_mouse_glyph_frame [instead of | |
6352 | last_mouse_glyph] on mouse up/down event. | |
6353 | ||
59017afb KS |
6354 | * editfns.c (Fcompare_buffer_substrings): Fix last change. |
6355 | ||
7c5ba0d2 SM |
6356 | 2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
6357 | ||
6358 | * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars. | |
6359 | ||
a4b0e228 JD |
6360 | 2005-10-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6361 | ||
6362 | * xterm.c (note_mouse_movement): Always call note_mouse_highlight | |
6363 | so tool tips don't interfere with press on tool bar button. | |
6364 | ||
f6a18aa2 RS |
6365 | 2005-10-23 Richard M. Stallman <rms@gnu.org> |
6366 | ||
6367 | * casetab.c (Fset_case_table): Doc fix. | |
6368 | ||
6369 | * lread.c (build_load_history): Replace STREAM arg with ENTIRE. | |
6370 | (readevalloop): Compute ENTIRE properly. | |
6371 | (syms_of_lread) <load-history>: Doc fix. | |
6372 | ||
45158e77 RS |
6373 | 2005-10-21 Richard M. Stallman <rms@gnu.org> |
6374 | ||
6375 | * lread.c (Fload): Simplify gcpro structure. | |
6376 | Gcpro FOUND as well as FILE, but not EFOUND. | |
6377 | Unless preloading, record FOUND instead of FILE in Vload_history. | |
6378 | Rename repeat local FILE to MSG_FILE. | |
6379 | (syms_of_lread) <load-history>: Doc fix. | |
6380 | ||
dfa1cd4d KH |
6381 | 2005-10-21 Kenichi Handa <handa@m17n.org> |
6382 | ||
96664fc0 | 6383 | * search.c (boyer_moore): Add parens to fix and/or precedence bug. |
dfa1cd4d | 6384 | |
1064a9ea KS |
6385 | 2005-10-20 Kim F. Storm <storm@cua.dk> |
6386 | ||
6387 | * buffer.c (clone_per_buffer_values): Remove unused var tem. | |
6388 | (init_buffer): Remove unused vars dotstat, pwdstat. | |
6389 | ||
6390 | * ccl.c (check_ccl_update): Remove unused var vp. | |
6391 | ||
6392 | * fileio.c (auto_save_error): Call SAFE_FREE. | |
6393 | ||
6394 | * fns.c (Fchar_table_range): Remove unused var i. | |
6395 | ||
6396 | * minibuf.c (display_completion_list_1): New wrapper function | |
6397 | for Fdisplay_completion_list. | |
6398 | (Fminibuffer_completion_help): Use it. | |
6399 | ||
6400 | * term.c (encode_terminal_code): Remove unused var src_start. | |
6401 | ||
6402 | * window.c (Fwindow_tree): Remove unused var alist. | |
6403 | ||
6404 | * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. | |
6405 | ||
ce13796f EZ |
6406 | 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change) |
6407 | ||
20b69789 | 6408 | * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments. |
ce13796f | 6409 | |
ad9c16d3 EZ |
6410 | 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) |
6411 | ||
6412 | * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. | |
6413 | ||
26e9d2cf AS |
6414 | 2005-10-20 Andreas Schwab <schwab@suse.de> |
6415 | ||
6416 | * minibuf.c (Fdisplay_completion_list): Doc fix. | |
6417 | ||
e50165ec KS |
6418 | 2005-10-19 Kim F. Storm <storm@cua.dk> |
6419 | ||
6420 | * image.c (check_image_size): Handle integer Vmax_image_size value | |
6421 | directly as max pixel value. Use default frame size for null frame. | |
6422 | (syms_of_image) <max-image-size>: Describe integer value. | |
6423 | ||
d7b94c98 RF |
6424 | 2005-10-19 Romain Francoise <romain@orebokech.com> |
6425 | ||
6426 | * emacs.c (main): Update copyright year. | |
6427 | ||
f1f25b99 CY |
6428 | 2005-10-18 Chong Yidong <cyd@stupidchicken.com> |
6429 | ||
6430 | * image.c (Vmax_image_size): New variable. | |
6431 | (check_image_size): New function. | |
6432 | (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load) | |
6433 | (gif_load, gs_load): Use it. | |
6434 | (lookup_image): Try loading again if previous load failed. | |
6435 | (xbm_read_bitmap_data): Add a new argument, a pointer to the frame | |
6436 | to display in, NULL if none. | |
6437 | (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new | |
6438 | argument. | |
6439 | ||
f42d19a2 RS |
6440 | 2005-10-18 Richard M. Stallman <rms@gnu.org> |
6441 | ||
6442 | * search.c (Fstring_match): Doc fix. | |
6443 | ||
bcbdafce YM |
6444 | 2005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6445 | ||
6446 | * macterm.c (note_mouse_movement): Use PtInRect. | |
6447 | (XTread_socket): Also ignore mouse motion just before a button | |
6448 | release event. Don't process button release event when mouse is | |
6449 | not grabbed. | |
6450 | ||
f5fab556 MY |
6451 | 2005-10-16 Masatake YAMATO <jet@gyve.org> |
6452 | ||
6453 | * minibuf.c (Fdisplay_completion_list): Add new optional | |
e5f64be2 | 6454 | argument COMMON_SUBSTRING. Bind `completion-common-substring' |
f5fab556 MY |
6455 | to the optional argument during running `completion-setup-hook'. |
6456 | ||
2ef1363e YM |
6457 | 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6458 | ||
6459 | * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): | |
6460 | Allow nil as argument. | |
6461 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil | |
6462 | for encoding arguments as UTF-16 in native byte order, no BOM. | |
6463 | ||
6464 | * macfns.c (Fx_create_frame): Add debugging code. | |
6465 | (Fx_show_tip): Set frame pixel width and height. | |
6466 | ||
6467 | * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro. | |
6468 | (FRAME_NORMAL_GC): New macro. | |
6469 | (mac_draw_line, mac_clear_area, mac_clear_window) | |
6470 | (mac_fill_rectangle, mac_draw_string, mac_draw_string_16) | |
6471 | (mac_draw_image_string, mac_draw_image_string_16): Rename from | |
6472 | XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString, | |
6473 | XDrawString16, XDrawImageString, and XDrawImageString16, respectively. | |
6474 | All uses changed. | |
6475 | (mac_draw_line, mac_erase_rectangle, mac_clear_area) | |
6476 | (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle) | |
6477 | (mac_invert_rectangle, mac_draw_string_common, mac_draw_string) | |
6478 | (mac_draw_string_16, mac_draw_image_string) | |
6479 | (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask) | |
6480 | (mac_scroll_area): Drawing functions now take frame as destination. | |
6481 | All uses changed. | |
6482 | (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT. | |
6483 | (x_draw_fringe_bitmap): Set clipping area in face->gc. | |
6484 | ||
6485 | * macterm.h (mac_clear_area): Add extern. | |
6486 | ||
fc5c7550 YM |
6487 | 2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6488 | ||
6489 | * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14 | |
6490 | changes for xterm.c. | |
6491 | ||
6492 | * w32term.c (note_mouse_movement, w32_read_socket): Likewise. | |
6493 | ||
fed91c38 KH |
6494 | 2005-10-14 Kenichi Handa <handa@m17n.org> |
6495 | ||
6496 | * search.c (search_buffer): Give up BM search on case-fold-search | |
6497 | if one of a target character has a case-equivalence of different | |
6498 | charset even if that target charcter is an ASCII. | |
6499 | ||
6500 | * casefiddle.c (casify_object): Fix for the case that case | |
6501 | conversion change the byte length. | |
6502 | ||
0ea1a8af KS |
6503 | 2005-10-14 Kim F. Storm <storm@cua.dk> |
6504 | ||
6505 | * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise. | |
6506 | (handle_one_xevent): Only clear help_echo_string; restore it if | |
6507 | note_mouse_movement didn't record any mouse movement. | |
6508 | ||
6509 | * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. | |
6510 | (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. | |
6511 | ||
647b07d1 AS |
6512 | * keyboard.c (make_lispy_position): Adjust wx for left margin if |
6513 | ON_TEXT. | |
0ea1a8af KS |
6514 | (Fposn_at_x_y): Fix calculation of x coordinate. |
6515 | (Fposn_at_point): Return nil if point is hscrolled out of view. | |
6516 | ||
6e5b2385 AS |
6517 | 2005-10-13 Andreas Schwab <schwab@suse.de> |
6518 | ||
6519 | * sysdep.c (request_sigio, unrequest_sigio): Do nothing in | |
6520 | non-interactive mode. | |
6521 | ||
6de0e1a2 YM |
6522 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6523 | ||
6524 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change. | |
6525 | ||
78f3b91f KS |
6526 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
6527 | ||
6528 | * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. | |
6529 | ||
b639c9be RF |
6530 | 2005-10-12 Romain Francoise <romain@orebokech.com> |
6531 | ||
6532 | * buffer.c (init_buffer): Rename `rc' to `len' for clarity. | |
6533 | ||
76d8f04c YM |
6534 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6535 | ||
6536 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to | |
6537 | get end of text rows. Obtain header-line/mode-line rows directly. | |
6538 | ||
96013ba9 SM |
6539 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): |
6540 | Restore help_echo_string if mouse is moved inside last_mouse_glyph. | |
621036f9 | 6541 | |
d76432f5 KS |
6542 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
6543 | ||
7a127784 KS |
6544 | * xdisp.c (remember_mouse_glyph): New generic version based on |
6545 | glyph_rect and remember_mouse_glyph from xterm.c enhanced to | |
6546 | properly handle all different window areas. | |
6547 | ||
6548 | * dispextern.h (remember_mouse_glyph): Add prototype. | |
6549 | ||
6550 | * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions. | |
6551 | (note_mouse_movement, XTmouse_position): Use generic | |
6552 | remember_mouse_glyph, add last_mouse_glyph arg. | |
6553 | ||
6554 | * w32term.c (note_mouse_movement): Fix last_mouse_glyph check. | |
6555 | (glyph_rect, remember_mouse_glyph): Remove w32 specific versions. | |
6556 | (note_mouse_movement, w32_mouse_position): Use generic | |
6557 | remember_mouse_glyph, add last_mouse_glyph arg. | |
6558 | ||
6559 | * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph. | |
6560 | (glyph_rect, remember_mouse_glyph): Remove mac specific versions. | |
6561 | (XTmouse_position): Adapt to use generic remember_mouse_glyph | |
6562 | instead of pixel_to_glyph_coords. | |
6563 | ||
d76432f5 KS |
6564 | * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN. |
6565 | Fix x position for ON_TEXT when left margin width > 0. | |
6566 | ||
55a4ac3e KS |
6567 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
6568 | ||
d76432f5 | 6569 | * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR. |
55a4ac3e KS |
6570 | |
6571 | * keyboard.c (make_lispy_position): Fix buffer calculations for | |
6572 | mouse click or movement in right fringe and the margins. | |
6573 | ||
2d4713aa JB |
6574 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
6575 | ||
6576 | * image.c (fn_jpeg_stdio_src): Don't define it. | |
6577 | (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'. | |
6578 | (our_common_init_source): Rename from `our_init_source'. | |
6579 | (our_common_term_source): Rename from `our_term_source'. | |
6580 | (our_memory_fill_input_buffer): Rename from | |
6581 | `our_fill_input_buffer'. | |
6582 | (our_memory_skip_input_data): Rename from `our_skip_input_data'. | |
6583 | (jpeg_memory_src): Use the new names. | |
6584 | (struct jpeg_stdio_mgr): New struct. | |
6585 | (JPEG_STDIO_BUFFER_SIZE): New constant. | |
6586 | (our_stdio_fill_input_buffer, our_stdio_skip_input_data) | |
6587 | (jpeg_file_src): New functions. | |
6588 | (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'. | |
6589 | ||
71b7a47f YM |
6590 | 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6591 | ||
6592 | * macterm.c (PER_CHAR_METRIC): Remove unused macro. | |
6593 | (fm_font_family_alist): New variable. | |
6594 | (syms_of_macterm): Initialize and staticpro it. | |
6595 | (decode_mac_font_name): Replace '-' in family name with '_' if it | |
6596 | occurs just once. Lower family name. | |
6597 | (parse_x_font_name): Rename from x_font_name_to_mac_font_name. | |
6598 | All uses changed. Remove argument MF and code conversion for it. | |
6599 | Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS | |
6600 | to CHARSET. Parse font size. Lower family name. Return integer | |
6601 | value for status of parsing. | |
6602 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | |
6603 | Don't use Fdowncase because family name is already lowered by | |
6604 | decode_mac_font_name. | |
96013ba9 SM |
6605 | (init_font_name_table): Always call decode_mac_font_name. |
6606 | Add pair of family name and its reference to fm_font_family_alist. | |
71b7a47f YM |
6607 | (mac_clear_font_name_table): Clear fm_font_family_alist. |
6608 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | |
6609 | Lookup fm_font_family_alist to get font family reference. | |
6610 | (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family | |
6611 | name is already lowered by parse_x_font_name. | |
6612 | ||
74051a92 KS |
6613 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
6614 | ||
31ab1f05 KS |
6615 | * xterm.c (glyph_rect): Return 0 if position is outside text area. |
6616 | ||
74051a92 KS |
6617 | * keyboard.c (make_lispy_position): Fix buffer position calculation for |
6618 | mouse click or movement in fringe. | |
6619 | ||
9b909870 JR |
6620 | 2005-10-10 Jason Rumney <jasonr@gnu.org> |
6621 | ||
6622 | * xterm.c (remember_mouse_glyph): New function. | |
58af5591 | 6623 | (note_mouse_movement): Use it to remember the current glyph if changed. |
9b909870 | 6624 | (XTmouse_position): Fix calculation of fake glyph under mouse. |
58af5591 | 6625 | Move code to calculate glyph under mouse into remember_mouse_glyph. |
9b909870 | 6626 | |
f9e36a6d JD |
6627 | 2005-10-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6628 | ||
58af5591 | 6629 | * emacs.c (USAGE3, standard_args): -nb => -nbi. |
f9e36a6d | 6630 | |
04bc7945 JB |
6631 | 2005-10-10 Juanma Barranquero <lekktu@gmail.com> |
6632 | ||
6633 | * frame.c (Fredirect_frame_focus): Fix typos in docstring. | |
6634 | (next_frame, prev_frame, set_term_frame_name): Make static. | |
6635 | ||
6636 | * window.c (Fwindow_tree): Fix spelling. | |
6637 | ||
41791a20 RF |
6638 | 2005-10-09 Romain Francoise <romain@orebokech.com> |
6639 | ||
6640 | * window.c (Fwindow_end): Don't try to redisplay if non-interactive. | |
6641 | ||
e313fc07 JD |
6642 | 2005-10-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6643 | ||
58af5591 KS |
6644 | * emacs.c (standard_args): Remove options -i, -itype, --icon-type. |
6645 | Add options -nb, --no-bitmap-icon. | |
e313fc07 JD |
6646 | |
6647 | * xfns.c (Fx_create_frame): Make bitmapIcon have default on. | |
6648 | ||
61e62f5f YM |
6649 | 2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6650 | ||
6651 | * macgui.h (MAX_CLIP_RECTS): New define. | |
6652 | (struct _XGC): New member clip_region. | |
6653 | (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and | |
6654 | clip_rects. | |
6655 | ||
6656 | * macterm.c (GC_CLIP_REGION): New macro. | |
6657 | (saved_port_clip_region): New variable. | |
6658 | (mac_begin_clip, mac_end_clip): New functions. | |
6659 | (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle) | |
6660 | (mac_draw_rectangle, mac_draw_string_common, mac_copy_area) | |
6661 | (mac_copy_area_with_mask, mac_scroll_area): Use them. | |
6662 | (mac_set_clip_rectangle, mac_reset_clipping): Remove functions. | |
6663 | [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
6664 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. | |
6665 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping | |
6666 | rectangles stored in gc. | |
71b7a47f | 6667 | (XFreeGC): Dispose of clipping region. |
61e62f5f YM |
6668 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. |
6669 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) | |
6670 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) | |
6671 | (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor) | |
6672 | (x_draw_bar_cursor): Use them. | |
6673 | (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to | |
6674 | get multiple clipping rectangles. | |
6675 | ||
6676 | * macterm.h (mac_term_init): Add types to extern. | |
6677 | (struct mac_output): Remove members mWP and pending_menu_activation. | |
f7270128 | 6678 | Put members scroll_bar_foreground_pixel and |
61e62f5f YM |
6679 | scroll_bar_background_pixel in #if 0. |
6680 | (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc. | |
6681 | ||
6682 | * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT. | |
2ef1363e | 6683 | Add debugging code. |
61e62f5f | 6684 | |
ef1b4c9e KS |
6685 | 2005-10-08 Kim F. Storm <storm@cua.dk> |
6686 | ||
6687 | * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04. | |
6688 | ||
f1010549 KS |
6689 | 2005-10-07 Kim F. Storm <storm@cua.dk> |
6690 | ||
6691 | * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows) | |
6692 | [!HAVE_WINDOW_SYSTEM]: Don't declare them... | |
6693 | (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. | |
6694 | ||
c2ded1b7 YM |
6695 | 2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6696 | ||
6697 | * dispextern.h (struct glyph_string): Rename member for_overlaps_p | |
6698 | to for_overlaps. Now occupy 3 bits. | |
6699 | (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH) | |
6700 | (OVERLAPS_ERASED_CURSOR): New defines. | |
6701 | (struct redisplay_interface): Add new OVERLAPS arg to member | |
6702 | fix_overlapping_area. | |
6703 | (x_fix_overlapping_area): Add new OVERLAPS arg. | |
6704 | (get_glyph_string_clip_rects): Add extern. | |
6705 | ||
96013ba9 SM |
6706 | * dispnew.c (redraw_overlapping_rows): |
6707 | Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. | |
c2ded1b7 YM |
6708 | |
6709 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to | |
6710 | for_overlaps. | |
6711 | (get_glyph_string_clip_rects): New function created from | |
f1010549 KS |
6712 | get_glyph_string_clip_rect. Set clipping rectangles according to the |
6713 | value of for_overlaps. Enable to store multiple clipping rectangles. | |
c2ded1b7 YM |
6714 | (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects. |
6715 | (fill_composite_glyph_string, fill_glyph_string, draw_glyphs): | |
6716 | Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed. | |
f7270128 | 6717 | (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs. |
c2ded1b7 | 6718 | (draw_phys_cursor_glyph): Set width of erased cursor to use it for |
f1010549 KS |
6719 | calculating clipping rectangles later. Call x_fix_overlapping_area |
6720 | with new OVERLAPS arg to draw only erased cursor area. | |
f7270128 | 6721 | (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg |
f1010549 | 6722 | to draw overlaps in both preceding and succeeding rows. |
c2ded1b7 YM |
6723 | |
6724 | * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in | |
6725 | struct glyph_string to for_overlaps. | |
6726 | ||
a19a0003 RS |
6727 | 2005-10-04 Richard M. Stallman <rms@gnu.org> |
6728 | ||
6729 | * alloc.c (refill_memory_reserve): Conditionalize the body, | |
6730 | not the function's existence. | |
6731 | ||
abc8ce50 KS |
6732 | 2005-10-04 Kim F. Storm <storm@cua.dk> |
6733 | ||
6734 | * window.c (window_split_tree): New function. | |
6735 | (Fwindow_split_tree): New defun. | |
6736 | (syms_of_window): Defsubr it. | |
6737 | ||
66533b25 YM |
6738 | 2005-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6739 | ||
6740 | * macterm.c (mac_invert_rectangle): New function. | |
6741 | (XTflash): Use it. | |
6742 | ||
4156359e SM |
6743 | 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> |
6744 | ||
4e2f601f SM |
6745 | * regex.h (re_char): Don't expose it in the interface. |
6746 | (re_set_whitespace_regexp): Adjust the arg's type to not use it. | |
6747 | ||
6748 | * regex.c (re_char): Move it back here. | |
6749 | (re_set_whitespace_regexp): Change the arg's type to not use it. | |
6750 | ||
4156359e SM |
6751 | * keyboard.c (make_lispy_event): If point has moved between down and up |
6752 | event, make it a drag, not a click, to mirror what | |
6753 | mouse-drag-region expects. | |
6754 | ||
eb27c2ca DN |
6755 | 2005-10-02 Dan Nicolaescu <dann@ics.uci.edu> |
6756 | ||
6757 | * lisp.h (fatal): Undo previous change. | |
6758 | * term.c (fatal): Undo previous change. | |
6759 | ||
b059f7d0 RS |
6760 | 2005-10-01 Richard M. Stallman <rms@gnu.org> |
6761 | ||
6762 | * xfaces.c (face_color_gray_p): Colors close to black count as gray. | |
6763 | ||
21a9a7be KS |
6764 | 2005-10-01 Kim F. Storm <storm@cua.dk> |
6765 | ||
6766 | * xdisp.c (try_window): Skip scroll-margin check if ZV is visible. | |
6767 | ||
ddcb7665 YM |
6768 | 2005-10-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6769 | ||
6770 | * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler. | |
6771 | ||
6772 | * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c. | |
2ef1363e | 6773 | (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code. |
4156359e SM |
6774 | (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]: |
6775 | Try ATSUI-compatible 12pt Monaco font first. | |
ddcb7665 YM |
6776 | |
6777 | * macgui.h (struct _XCharStruct): New member valid_p. | |
6778 | (STORE_XCHARSTRUCT): Set valid_p. | |
6779 | (struct MacFontStruct) [USE_ATSUI]: New member mac_style. | |
6780 | ||
6781 | * macterm.c (mac_draw_string_common, x_per_char_metric) | |
6782 | (mac_compute_glyph_string_overhangs, init_font_name_table) | |
6783 | (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support. | |
6784 | (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function. | |
6785 | (x_draw_glyph_string_background) | |
6786 | (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use | |
6787 | XDrawImageString. Always draw background and foreground separately. | |
6788 | (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit | |
6789 | functions for one-byte chars when using ATSUI-compatible fonts. | |
6790 | (atsu_font_id_hash) [USE_ATSUI]: New variable. | |
6791 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
6792 | (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and | |
6793 | max_char_or_byte2 more in detail. | |
6794 | (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions. | |
6795 | ||
fa8459a3 DN |
6796 | 2005-09-30 Dan Nicolaescu <dann@ics.uci.edu> |
6797 | ||
4156359e | 6798 | * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. |
fa8459a3 DN |
6799 | * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. |
6800 | ||
6801 | * unexelf.c (fatal): Fix prototype. | |
6802 | ||
6803 | * term.c (fatal): Implement using varargs. | |
6804 | ||
21a9a7be | 6805 | * regex.c (re_char): Move typedef ... |
fa8459a3 | 6806 | * regex.h (re_char): ... here. |
4156359e | 6807 | (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. |
fa8459a3 DN |
6808 | |
6809 | * emacs.c (malloc_set_state): Fix return type. | |
6810 | (endif): Fix type. | |
6811 | ||
6812 | * lisp.h (fatal): Add argument types. | |
6813 | ||
6814 | * dispextern.h (fatal): Delete prototype. | |
6815 | ||
9dd28cae | 6816 | * systime.h (make_time): Prototype moved from ... |
fa8459a3 DN |
6817 | * editfns.c (make_time): ... here. |
6818 | ||
6819 | * editfns.c: Move systime.h include after lisp.h. | |
21a9a7be KS |
6820 | * dired.c: |
6821 | * xsmfns.c: | |
fa8459a3 | 6822 | * process.c: Likewise. |
21a9a7be | 6823 | |
fa8459a3 DN |
6824 | * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): |
6825 | Add parameter types. | |
6826 | (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. | |
6827 | (emacs_blocked_free): Change definition to match __free_hook. | |
6828 | (emacs_blocked_malloc): Change definition to match __malloc_hook. | |
4156359e | 6829 | (emacs_blocked_realloc): Change definition to match __realloc_hook. |
fa8459a3 | 6830 | |
97c3e4cc RF |
6831 | 2005-09-30 Romain Francoise <romain@orebokech.com> |
6832 | ||
6833 | * minibuf.c (Fread_buffer): Follow convention for reading from the | |
6834 | minibuffer with a default value. Doc fix. | |
6835 | ||
8ad8c5ce JL |
6836 | 2005-09-29 Juri Linkov <juri@jurta.org> |
6837 | ||
6838 | * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box): | |
6839 | Rename argument name `string' to `format-string'. | |
6840 | (Fformat): Doc fix. | |
6841 | ||
64da5759 KS |
6842 | 2005-09-28 Kim F. Storm <storm@cua.dk> |
6843 | ||
6844 | * image.c (gif_load): Fix size of allocated image buffer | |
6845 | for images where a sub-image may be larger than the image's | |
6846 | total height/width specifications. | |
6847 | ||
eaf92438 YM |
6848 | 2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6849 | ||
6850 | * macgui.h (struct _XCharStruct): Each member now takes short value. | |
6851 | ||
43f15d4a DN |
6852 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
6853 | ||
6854 | * xfaces.c (lookup_derived_face): Add parameter type. | |
6855 | ||
6856 | * xdisp.c (cursor_row_fully_visible_p): Add parameter type. | |
6857 | ||
6858 | * marker.c (verify_bytepos): Add parameter type. | |
6859 | ||
6860 | * process.c (get_operating_system_release): Move prototype ... | |
6861 | ||
6862 | * systime.h (get_operating_system_release): ... here. | |
6863 | ||
04bc7945 JB |
6864 | * xterm.c (handle_one_xevent): Refer to union field to match the |
6865 | type required by the function definition. | |
6866 | (set_vertical_scroll_bar): Move prototype ... | |
43f15d4a DN |
6867 | |
6868 | * xterm.h: ... here. | |
6869 | ||
6870 | * fns.c (internal_equal, seed_random): Fix prototypes. | |
6871 | (internal_equal): Add missing parameter. | |
6872 | ||
c769dcac RS |
6873 | 2005-09-25 Richard M. Stallman <rms@gnu.org> |
6874 | ||
6875 | * keyboard.c (update_menu_bindings): Variable deleted. | |
6876 | (syms_of_keyboard): Don't defvar it. | |
6877 | (parse_menu_item): Don't test it. | |
6878 | ||
8dbf19c7 RS |
6879 | 2005-09-23 Richard M. Stallman <rms@gnu.org> |
6880 | ||
6881 | * editfns.c (Fformat): Explicitly test for end of format string | |
6882 | and don't use `index'. | |
6883 | ||
3480d92b DN |
6884 | 2005-09-23 Dan Nicolaescu <dann@ics.uci.edu> |
6885 | ||
4156359e SM |
6886 | * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): |
6887 | Define BROKEN_GET_CURRENT_DIR_NAME. | |
3480d92b DN |
6888 | |
6889 | * sysdep.c (get_current_dir_name): Also define if | |
64da5759 | 6890 | BROKEN_GET_CURRENT_DIR_NAME. |
3480d92b DN |
6891 | |
6892 | * m/ibmrs6000.h: Test for USG5, not USG5_4. | |
6893 | ||
5db60f31 KS |
6894 | 2005-09-22 Kim F. Storm <storm@cua.dk> |
6895 | ||
6896 | * xdisp.c (message_dolog): Add warning about GC and Lisp strings. | |
6897 | (message2): Fix commentary. Ok to use alloca'ed memory. | |
6898 | Still not ok to use Lisp string data (because of GC). | |
6899 | (set_message): Add comment why GC cannot happen. | |
6900 | ||
7c3d233d YM |
6901 | 2005-09-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6902 | ||
6903 | * macterm.c (xlfdpat_block_match_1): Fix assertion. | |
6904 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style | |
6905 | variants for a scalable font multiple times. | |
6906 | ||
acde1152 YM |
6907 | 2005-09-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6908 | ||
6909 | * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]: | |
6910 | Setup slave tty options before forking. | |
6911 | ||
52d166e0 JD |
6912 | 2005-09-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6913 | ||
6914 | * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program | |
6915 | positions have been set for the frame (as is done for frames in | |
6916 | special-display-buffer-names). | |
6917 | ||
12d10bc7 KS |
6918 | 2005-09-19 Kim F. Storm <storm@cua.dk> |
6919 | ||
6920 | * editfns.c (Fformat): Don't scan past end of format string that | |
6921 | ends in %. Reported by: Johan Bockg\e,Ae\e(Brd. | |
6922 | ||
9f1cf0e3 AS |
6923 | 2005-09-18 Andreas Schwab <schwab@suse.de> |
6924 | ||
6925 | * window.h (struct window): Remove height_fixed_p, no longer set. | |
6926 | ||
6927 | * window.c (make_window): Don't initialize height_fixed_p. | |
6928 | (window_fixed_size_p): Don't use it. | |
6929 | ||
8a658a52 JPW |
6930 | 2005-09-18 John Paul Wallington <jpw@pobox.com> |
6931 | ||
6932 | * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol. | |
6933 | ||
be9bb408 YM |
6934 | 2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6935 | ||
6936 | * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change. | |
6937 | ||
6938 | * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: | |
6939 | New variables. | |
6940 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple | |
6941 | file selection. | |
6942 | ||
6943 | * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. | |
6944 | ||
cbf223e1 EZ |
6945 | 2005-09-17 Eli Zaretskii <eliz@gnu.org> |
6946 | ||
6947 | * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable. | |
6948 | (obj): Use XMENU_OBJ, not a literal xmenu.o. | |
6949 | ||
e3f509dd RF |
6950 | 2005-09-16 Romain Francoise <romain@orebokech.com> |
6951 | ||
8ccd3630 | 6952 | * fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix. |
e3f509dd | 6953 | |
5c4757d3 RS |
6954 | 2005-09-15 Richard M. Stallman <rms@gnu.org> |
6955 | ||
6956 | * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. | |
6957 | (display_mode_element): Instead of `lisp_string' and `this', | |
6958 | record `offset' and increment that. | |
6959 | `last_offset' replaces `last'. | |
6960 | ||
6961 | * Makefile.in (XMENU_OBJ): Variable deleted. | |
6962 | (obj): Use xmenu.o unconditionally. | |
6963 | (SOME_MACHINE_OBJECTS): Delete xmenu.o. | |
6964 | ||
6965 | * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU. | |
6966 | ||
01978521 KS |
6967 | 2005-09-15 Kim F. Storm <storm@cua.dk> |
6968 | ||
6969 | * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1. | |
6970 | (reseat_at_next_visible_line_start): Likewise (in xassert). | |
6971 | ||
ccf61795 RF |
6972 | 2005-09-14 Romain Francoise <romain@orebokech.com> |
6973 | ||
6974 | * fileio.c (write_region_inhibit_fsync): New variable. | |
6975 | (Fwrite_region): Use it to skip call to fsync. | |
6976 | (syms_of_fileio): Initialize it. | |
6977 | ||
2b046a72 KH |
6978 | 2005-09-14 Kenichi Handa <handa@m17n.org> |
6979 | ||
24a2b282 KH |
6980 | * coding.c (code_convert_region_unwind): Argument format changed. |
6981 | (run_pre_post_conversion_on_str): If pre-write-conversion function | |
6982 | changed the current buffer, delete the new buffer. | |
6983 | (run_pre_write_conversin_on_c_str): Likewise. | |
6984 | ||
2b046a72 KH |
6985 | * fileio.c (Fexpand_file_name): Check multibyteness of |
6986 | default_directory. | |
6987 | ||
d008f7b7 KH |
6988 | 2005-09-13 Kenichi Handa <handa@m17n.org> |
6989 | ||
6990 | * composite.c (compose_chars_in_text): Delete it. | |
6991 | ||
6992 | * composite.h (compose_chars_in_text): Delete extern. | |
6993 | ||
2ada8ac5 KS |
6994 | 2005-09-13 Kim F. Storm <storm@cua.dk> |
6995 | ||
6996 | * print.c (print_error_message): Fix last change. | |
6997 | ||
48c60938 KS |
6998 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
6999 | ||
0fdbe302 KS |
7000 | * composite.c (compose_chars_in_text): Fix setup of `pend'. |
7001 | Unconditionally reload `ptr' and `pend' after eval. | |
7002 | ||
48c60938 KS |
7003 | * xdisp.c (message3): Pass copy of lisp string to message_dolog. |
7004 | ||
7005 | * print.c (print_error_message): Pass copy of caller name to | |
7006 | message_dolog. | |
7007 | ||
7008 | * fileio.c (auto_save_error): Pass copy of lisp string to message2. | |
7009 | ||
5add1986 KH |
7010 | 2005-09-12 Kenichi Handa <handa@m17n.org> |
7011 | ||
7012 | * xdisp.c (display_mode_element): Be sure to make variables THIS | |
7013 | and LISP_STRING point into a string data of ELT. | |
7014 | ||
18bb66c7 KS |
7015 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
7016 | ||
7017 | * editfns.c (Ftranslate_region_internal): Reload `tt' after | |
7018 | signal_after_change that may have GC'ed. | |
7019 | (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix. | |
7020 | ||
7021 | * keymap.c (Fdescribe_buffer_bindings): Reload `translate' | |
7022 | after insert while runs signal_after_change. | |
7023 | ||
7024 | * minibuf.c (Fminibuffer_complete_word): Move `completion_string' | |
7025 | declaration to where it is used. | |
7026 | ||
7027 | * w32.c (check_windows_init_file): Fix allocation of error buffer. | |
7028 | ||
7029 | * xfns.c (x_encode_text): Declare static. Add FREEP arg. | |
7030 | (x_set_name_internal): Call x_encode_text with new FREEP arg to | |
7031 | know if xfree is needed instead of guessing. | |
7032 | ||
7033 | * xterm.h (x_encode_text): Remove prototype. | |
7034 | ||
945a75f8 JR |
7035 | 2005-09-11 Chris Prince <cprince@gmail.com> (tiny change) |
7036 | ||
7037 | * w32term.c (x_bitmap_icon): Load small icons too. | |
7038 | ||
156bdb41 RF |
7039 | 2005-09-10 Romain Francoise <romain@orebokech.com> |
7040 | ||
7041 | * buffer.c (init_buffer): Grow buffer to add directory separator | |
f9962371 | 7042 | and terminal zero. Fix typos. |
156bdb41 | 7043 | |
67b8391b EZ |
7044 | 2005-09-10 Eli Zaretskii <eliz@gnu.org> |
7045 | ||
a17b5ed1 EZ |
7046 | * buffer.c (init_buffer): Fix error message for failed call to |
7047 | get_current_dir_name. | |
7048 | (get_current_dir_name): Remove prototype. | |
7049 | ||
9dd28cae | 7050 | * xsmfns.c (get_current_dir_name): Remove prototype. |
a17b5ed1 | 7051 | |
9dd28cae | 7052 | * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
96013ba9 | 7053 | Add prototype. |
a17b5ed1 | 7054 | |
ed326e35 | 7055 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. |
b04a3120 | 7056 | Don't #undef NULL after including blockinput.h. |
ed326e35 | 7057 | |
67b8391b EZ |
7058 | * config.in: Regenerated. |
7059 | ||
c187839d EZ |
7060 | 2005-09-10 Giuseppe Scrivano <gscrivano@gmail.com> |
7061 | ||
7062 | Remove the MAXPATHLEN limitations: | |
7063 | ||
1486d036 EZ |
7064 | * sysdep.c (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
7065 | New function. | |
c187839d EZ |
7066 | |
7067 | * buffer.c (init_buffer): Use it. | |
7068 | ||
7069 | * xsmfns.c (smc_save_yourself_CB): Ditto. | |
7070 | ||
ae8a5689 KS |
7071 | 2005-09-09 Kim F. Storm <storm@cua.dk> |
7072 | ||
39cac6b3 KS |
7073 | * doc.c (Fsubstitute_command_keys): Lookup key binding for |
7074 | commands that are remapped from some other command. | |
7075 | ||
aeb55c44 KS |
7076 | * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p |
7077 | flag in disabled rows below the window. | |
7078 | ||
ae8a5689 KS |
7079 | * frame.h (struct frame): New member updated_p. |
7080 | ||
7081 | * xdisp.c (redisplay_internal): Mark updated frames in new updated_p | |
7082 | member. Remove local `updated' array and associated variables. | |
7083 | ||
821f6dae KS |
7084 | 2005-09-07 Kim F. Storm <storm@cua.dk> |
7085 | ||
6e5395f2 KS |
7086 | * xdisp.c (handle_display_prop): Respect overlay window property. |
7087 | ||
821f6dae KS |
7088 | * xdisp.c (try_window): Remove superfluous cursor_height calculation. |
7089 | Fixes crash reported by YAMAMOTO Mitsuharu. | |
7090 | ||
9655b404 YM |
7091 | 2005-09-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7092 | ||
7093 | * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs. | |
7094 | (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p) | |
7095 | (xlfdpat_block_match_1, xlfdpat_match): New functions. | |
7096 | (xlfdpat_block_match): New macro. | |
7097 | (mac_to_x_fontname): Don't use tolower for non-ASCII characters. | |
7098 | (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0. | |
7099 | (add_font_name_table_entry): Increase font_name_table_size more | |
7100 | rapidly. | |
7101 | (mac_c_string_match): Remove function. | |
7102 | (mac_do_list_fonts): Use XLFD pattern match instead of regular | |
7103 | expression match. | |
7104 | ||
7105 | * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters. | |
7106 | ||
d7ea8b71 RS |
7107 | 2005-09-03 Richard M. Stallman <rms@gnu.org> |
7108 | ||
7109 | * xdisp.c (redisplay_internal): Make UPDATED as long as needed. | |
7110 | (move_it_in_display_line_to): Stop after last char on line even | |
7111 | on a windowing terminal, if that's the specified stop position. | |
7112 | ||
7113 | * fns.c (Fsort): Doc fix. | |
7114 | ||
7115 | * editfns.c (Fpropertize): Don't insist that properties be symbols. | |
7116 | ||
1550ae60 SM |
7117 | 2005-09-02 Stefan Monnier <monnier@iro.umontreal.ca> |
7118 | ||
7119 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
7120 | (file_name_completion): Use a Save_Value object rather than a cons of | |
7121 | two 16bit ints to store the DIR*. | |
7122 | (directory_files_internal, file_name_completion): Handle both EINTR and | |
7123 | EAGAIN consistently after `readdir'. | |
7124 | ||
bdb4d6d8 SM |
7125 | 2005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> |
7126 | ||
1550ae60 SM |
7127 | * intervals.c (update_interval): Add position info in error. |
7128 | ||
bdb4d6d8 SM |
7129 | * dispnew.c (window_to_frame_hpos, update_window): |
7130 | Avoid gcc warning about unused variable `f'. | |
7131 | ||
6bcc3ca4 JR |
7132 | 2005-08-31 Jason Rumney <jasonr@gnu.org> |
7133 | ||
7134 | * w32menu.c (add_menu_item): If unicode_append_menu returns an | |
7135 | error, revert to using AppendMenu. | |
7136 | ||
07c5948c YM |
7137 | 2005-08-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7138 | ||
bdb4d6d8 SM |
7139 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. |
7140 | All uses changed. | |
07c5948c YM |
7141 | [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common |
7142 | cases. | |
7143 | (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. | |
bdb4d6d8 SM |
7144 | [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. |
7145 | Use posix_pathname_to_fsspec. | |
07c5948c YM |
7146 | [MAC_OS] (xpm_load_image): Fill in background_transparent field |
7147 | while we have mask. | |
7148 | ||
7149 | * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. | |
7150 | ||
7151 | * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. | |
7152 | ||
5a774522 SM |
7153 | 2005-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
7154 | ||
7155 | * syntax.c (update_syntax_table): Properly reproduce the special +1 | |
7156 | setting of e_property at the end of the buffer when bumping into the | |
7157 | INTERVALS_AT_ONCE limit. | |
7158 | ||
0fb57cc0 EZ |
7159 | 2005-08-27 Eli Zaretskii <eliz@gnu.org> |
7160 | ||
7161 | * emacs.c (USAGE1): Fix the description of the -Q option. | |
7162 | ||
5a774522 SM |
7163 | 2005-08-26 Stefan Monnier <monnier@iro.umontreal.ca> |
7164 | ||
7165 | * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). | |
7166 | ||
4e6b8c5a KS |
7167 | 2005-08-26 Kim F. Storm <storm@cua.dk> |
7168 | ||
7169 | * xdisp.c (resize_mini_window): Fix 2005-08-20 change. | |
7170 | Don't move PT to new window start. | |
7171 | ||
1f98fbb4 YM |
7172 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7173 | ||
7174 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | |
7175 | ICONIFY/DEICONIFY_EVENT. | |
7176 | ||
5a774522 SM |
7177 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): |
7178 | Restore background color. | |
1f98fbb4 YM |
7179 | (mac_handle_visibility_change): New function. |
7180 | (x_make_frame_invisible, x_iconify_frame) | |
7181 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | |
7182 | [USE_CARBON_EVENTS] (mac_handle_window_event) | |
07c5948c | 7183 | (install_window_handler): Handle visibility change events. |
1f98fbb4 YM |
7184 | (x_make_frame_visible): Don't reposition window if it is iconified |
7185 | or asked for visible before. Select and uncollapse window when it | |
7186 | is made visible. | |
7187 | (x_make_frame_invisible): Don't reset x_highlight_frame. | |
7188 | (x_iconify_frame): Likewise. Make invisible frame visible before | |
7189 | it is iconified. | |
7190 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | |
7191 | (do_window_update): Don't change visibility of invisible frame. | |
7192 | ||
16691d29 JL |
7193 | 2005-08-22 Juri Linkov <juri@jurta.org> |
7194 | ||
7195 | * term.c (turn_on_face): Check for TS_set_foreground and | |
7196 | TS_set_background depending on standout_mode. Simplify. | |
7197 | ||
7c3f805b KS |
7198 | 2005-08-21 Kim F. Storm <storm@cua.dk> |
7199 | ||
0f467468 KS |
7200 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM |
7201 | bitmaps on fully visible rows. | |
7202 | ||
7c3f805b KS |
7203 | * fringe.c (update_window_fringes): Replace FORCE_P arg with |
7204 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | |
7205 | and return 0. | |
7206 | ||
7207 | * xdisp.c (redisplay_window): Call update_window_fringes with | |
7208 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | |
7209 | ||
40b388f9 RS |
7210 | 2005-08-20 Richard M. Stallman <rms@gnu.org> |
7211 | ||
7212 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | |
7213 | (resize_mini_window): Set w->start, and PT, so as to display the tail | |
7214 | end of the buffer, if it doesn't all fit. | |
7215 | ||
581360f0 KS |
7216 | 2005-08-18 Kim F. Storm <storm@cua.dk> |
7217 | ||
7218 | * xdisp.c (calc_pixel_width_or_height): Use actual display | |
7219 | resolution when available instead of Vdisplay_pixels_per_inch. | |
7220 | ||
0eefa6fb KS |
7221 | 2005-08-17 Kim F. Storm <storm@cua.dk> |
7222 | ||
7223 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | |
7224 | ||
7225 | * dispnew.c (buffer_posn_from_coords): Check that target row is | |
7226 | within matrix. | |
7227 | ||
ada192ba JD |
7228 | 2005-08-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7229 | ||
7230 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | |
7231 | xg_set_frame_icon and call it. | |
7232 | ||
7233 | * gtkutil.c (xg_set_frame_icon): New function. | |
7234 | ||
0eefa6fb | 7235 | * gtkutil.h (xg_set_frame_icon): Declare it. |
ada192ba | 7236 | |
ab89a403 KS |
7237 | 2005-08-16 Kim F. Storm <storm@cua.dk> |
7238 | ||
7239 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | |
7240 | ||
7241 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | |
7242 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | |
7243 | ||
8d34b5e1 RS |
7244 | 2005-08-15 Richard M. Stallman <rms@gnu.org> |
7245 | ||
7246 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | |
7247 | ||
71e37f3c KS |
7248 | 2005-08-15 Kim F. Storm <storm@cua.dk> |
7249 | ||
0781c303 KS |
7250 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. |
7251 | ||
71e37f3c KS |
7252 | * process.c (deactivate_process, status_notify, read_process_output) |
7253 | (update_status, status_convert, decode_status, allocate_pty) | |
7254 | (make_process, remove_process, list_processes_1) | |
7255 | (create_process_1, unwind_request_sigio, read_process_output) | |
7256 | (send_process, keyboard_bit_set): Declare static. | |
7257 | (Fdelete_process): Simplify. Pass process to status_notify, so we | |
7258 | don't try to read output from it. | |
7259 | (status_notify): New arg deleting_process--don't try to read | |
7260 | output from that process. | |
7261 | ||
7262 | * lisp.h (deactivate_process, status_notify, read_process_output): | |
7263 | Remove prototypes. | |
7264 | ||
0bf14bfd RS |
7265 | 2005-08-14 Richard M. Stallman <rms@gnu.org> |
7266 | ||
bdb4d6d8 SM |
7267 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling |
7268 | define_image_type. | |
0bf14bfd | 7269 | |
6c7eb721 JD |
7270 | 2005-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7271 | ||
7272 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | |
7273 | (xg_get_image_for_pixmap): Move some code to | |
7274 | xg_get_pixbuf_from_pix_and_mask, and call it. | |
7275 | ||
7276 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | |
7277 | ||
7278 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | |
7279 | to get an GTK icon and set it with GTK functions to avoid having GTK | |
7280 | override an icon set with just X functions. | |
7281 | ||
6e2d14c8 RS |
7282 | 2005-08-11 Richard M. Stallman <rms@gnu.org> |
7283 | ||
bdb4d6d8 SM |
7284 | * image.c (syms_of_image): Init image_types here, and call |
7285 | define_image_type. | |
6e2d14c8 RS |
7286 | (init_image): Not here. |
7287 | ||
61298e17 RS |
7288 | 2005-08-09 Richard M. Stallman <rms@gnu.org> |
7289 | ||
7290 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | |
7291 | ||
7292 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | |
7293 | ||
5a9807a8 TTN |
7294 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> |
7295 | ||
7296 | * floatfns.c (Fexpt): Use floats for negative exponent. | |
7297 | ||
93469010 JD |
7298 | 2005-08-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7299 | ||
7300 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | |
7301 | should not be there, causing menu display errors with GTK 2.6.9. | |
7302 | ||
44edd521 RS |
7303 | 2005-08-07 Richard M. Stallman <rms@gnu.org> |
7304 | ||
8b6a9551 RS |
7305 | * floatfns.c (Fexpt): Undo previous change. |
7306 | ||
44edd521 RS |
7307 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg |
7308 | so it can be used with various state vectors. | |
7309 | ||
7310 | * emacs.c (endif): Convert -script into -scriptload. | |
7311 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | |
7312 | ||
7313 | * fns.c (syms_of_fns): Add `emacs' to features. | |
7314 | ||
7315 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | |
7316 | output newlines to scroll the old screen contents off the screen. | |
7317 | ||
cac87e30 TTN |
7318 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> |
7319 | ||
2a205424 TTN |
7320 | * floatfns.c (Fexpt): Use floats for negative exponent. |
7321 | Reported by D Goel. | |
cac87e30 | 7322 | |
31b7cc74 JB |
7323 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
7324 | ||
7325 | * frame.c (Fframe_char_width): Doc fix. | |
7326 | ||
e2b64074 JB |
7327 | 2005-07-30 Juanma Barranquero <lekktu@gmail.com> |
7328 | ||
7329 | * xdisp.c (syms_of_xdisp) <redisplay-end-trigger-functions>: | |
7330 | Defvar it. | |
7331 | ||
0962822d JB |
7332 | 2005-07-28 Juanma Barranquero <lekktu@gmail.com> |
7333 | ||
7334 | * w32fns.c (my_set_window_pos, my_show_window): Don't declare. | |
7335 | (my_create_window, my_create_tip_window): Make static. | |
7336 | ||
7337 | * w32term.c (my_show_window, my_set_window_pos, my_set_focus) | |
7338 | (my_set_foreground_window, my_destroy_window): Make static. | |
7339 | ||
9eff9fe3 PE |
7340 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
7341 | ||
7342 | Merge gnulib getopt implementation into Emacs. | |
7343 | ||
7344 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | |
7345 | now part of lib-src. | |
7346 | ||
1c9916a1 SM |
7347 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
7348 | ||
7349 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | |
7350 | ||
94c7f257 JR |
7351 | 2005-07-25 Jason Rumney <jasonr@gnu.org> |
7352 | ||
7353 | * w32menu.c (w32_menu_display_help): Suppress tooltip when | |
7354 | navigating menus with the keyboard. | |
7355 | ||
bf0bf758 RS |
7356 | 2005-07-23 Richard M. Stallman <rms@gnu.org> |
7357 | ||
7358 | * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. | |
7359 | ||
7360 | * bytecode.c (MAYBE_GC): Test gc_cons_threshold and | |
7361 | gc_relative_threshold, one by one. | |
7362 | ||
7363 | * keyboard.c (read_char): Test gc_cons_threshold. | |
7364 | (syms_of_keyboard): staticpro Qecho_area_clear_hook. | |
7365 | ||
7366 | * eval.c (Feval, Ffuncall): Test gc_cons_threshold and | |
7367 | gc_relative_threshold, one by one. | |
7368 | ||
7369 | * alloc.c (gc_cons_threshold): Not static. | |
7370 | (gc_cons_combined_threshold): Var deleted. | |
7371 | (gc_relative_threshold): New variable. | |
7372 | (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold | |
7373 | instead of gc_cons_combined_threshold. | |
7374 | ||
1c9916a1 | 7375 | * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. |
bf0bf758 RS |
7376 | (gc_cons_combined_threshold): Declaration deleted. |
7377 | ||
99f963e4 YM |
7378 | 2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7379 | ||
7380 | * mac.c: Don't include stdlib.h or string.h. | |
7381 | (Fdo_applescript, Fmac_file_name_to_posix) | |
7382 | (Fmac_file_name_to_posix): Doc fixes. | |
7383 | [TARGET_API_MAC_CARBON] (Fmac_get_preference) | |
7384 | (Fmac_code_convert_string): Likewise. | |
7385 | [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode | |
7386 | if the executable is not contained in a bundle. | |
7387 | ||
7388 | * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. | |
7389 | (gray_width, gray_height): Remove defines. | |
7390 | (gray_bits, gray_bitmap_width, gray_bitmap_height) | |
7391 | (gray_bitmap_bits): Remove variables. | |
7392 | (lispy_function_keys): Remove extern. | |
7393 | (free_frame_menubar): Add extern. | |
7394 | (x_window_to_frame): Remove function. | |
7395 | (unwind_create_tip_frame): Add declaration. | |
7396 | (x_set_name_internal): New function. | |
7397 | (x_set_name, x_set_title): Use it. | |
7398 | (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) | |
7399 | (Fx_display_pixel_height, Fx_display_planes) | |
7400 | (Fx_display_color_cells, Fx_server_max_request_size) | |
7401 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
7402 | (Fx_display_mm_height, Fx_display_mm_width) | |
7403 | (Fx_display_backing_store, Fx_display_visual_class) | |
7404 | (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. | |
7405 | ||
7406 | * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
7407 | ||
bdb4d6d8 | 7408 | * macselect.c (Fx_own_selection_internal): Follow error conventions. |
99f963e4 YM |
7409 | (Fx_get_selection_internal, Fx_selection_owner_p) |
7410 | (Fx_selection_exists_p): Doc fixes. | |
7411 | (syms_of_macselect) <selection-converter-alist>: Likewise. | |
7412 | ||
1d256714 JB |
7413 | 2005-07-21 Juanma Barranquero <lekktu@gmail.com> |
7414 | ||
7415 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
7416 | ||
7417 | * ccl.c (Fregister_ccl_program): Fix typos in docstring. | |
7418 | (Fccl_execute_on_string): Likewise; add usage info. | |
7419 | ||
7420 | * composite.c (Fcompose_region_internal) | |
7421 | (Fcompose_string_internal): | |
7422 | Improve argument/docstring consistency. | |
7423 | ||
7424 | * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): | |
7425 | Fix typos in docstrings. | |
7426 | ||
7427 | * textprop.c (Fnext_char_property_change) | |
7428 | (Fprevious_char_property_change): Doc fixes. | |
7429 | ||
7430 | * window.c (Fset_window_margins, Fset_window_fringes): | |
7431 | Improve argument/docstring consistency. | |
7432 | ||
7433 | * xfaces.c (Finternal_lisp_face_p): Doc fix. | |
7434 | ||
538f78c3 AS |
7435 | 2005-07-21 Andreas Schwab <schwab@suse.de> |
7436 | ||
7437 | * eval.c (restore_stack_limits): Return a value. | |
7438 | ||
a5b5bf44 JB |
7439 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> |
7440 | ||
7441 | * eval.c (Fdefvar): Doc fix. | |
7442 | ||
ae643123 KS |
7443 | 2005-07-20 Kim F. Storm <storm@cua.dk> |
7444 | ||
0ed4bf15 KS |
7445 | * fileio.c (Fdo_auto_save, do_auto_save_unwind): |
7446 | Use make_save_value to unwind protect stream. | |
7447 | ||
7448 | * lread.c (Fload, load_unwind): | |
7449 | Use make_save_value to unwind protect stream. | |
ae643123 | 7450 | |
82fc29a1 JB |
7451 | 2005-07-19 Juanma Barranquero <lekktu@gmail.com> |
7452 | ||
7453 | * eval.c (Fprog2, Fcalled_interactively_p), | |
7454 | (syms_of_eval) <debug-on-quit>: Doc fixes. | |
7455 | (syms_of_eval) <max-specpdl-size>: | |
7456 | (Finteractive_p): Fix typos in docstrings. | |
7457 | ||
73b90087 KS |
7458 | 2005-07-19 Kim F. Storm <storm@cua.dk> |
7459 | ||
7460 | * w32fns.c (Vx_hand_shape): Variable removed. | |
7461 | (syms_of_w32fns): Intern and staticpro Qw32_charset_default. | |
7462 | ||
dfc434d0 KH |
7463 | 2005-07-19 Kenichi Handa <handa@m17n.org> |
7464 | ||
bdb4d6d8 | 7465 | * fns.c (Fstring_as_multibyte): Escape backslashes in the docstring. |
dfc434d0 | 7466 | |
bcd98331 SM |
7467 | 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
7468 | ||
7469 | * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). | |
7470 | ||
2a85a754 KS |
7471 | 2005-07-18 Kim F. Storm <storm@cua.dk> |
7472 | ||
7473 | * frame.h (struct frame): New member already_hscrolled_p. | |
7474 | ||
7475 | * xdisp.c (redisplay_internal): Only try to hscroll each frame once | |
7476 | to avoid redisplay looping hscrolling back and forth ad infinitum. | |
7477 | ||
426179e1 JL |
7478 | 2005-07-18 Juri Linkov <juri@jurta.org> |
7479 | ||
7480 | * buffer.c (scroll-up-aggressively, scroll-down-aggressively): | |
7481 | * keymap.c (Fminor_mode_key_binding): | |
7482 | * macterm.c (mac-emulate-three-button-mouse): | |
7483 | Delete duplicate duplicate words. | |
7484 | ||
9f4a578d KR |
7485 | 2005-07-18 Ken Raeburn <raeburn@gnu.org> |
7486 | ||
7487 | * minibuf.c (Ftest_completion): Fix odd syntax in test. | |
7488 | ||
d005338b YM |
7489 | 2005-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7490 | ||
bcd98331 | 7491 | * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. |
d005338b YM |
7492 | |
7493 | * macgui.h (struct _XGC): New struct. | |
7494 | (GC): Use it. | |
7495 | (GCForeground, GCBackground, GCFont): Use X11 mask values. | |
7496 | (XCreateGC, XParseGeometry): Move externs to macterm.h. | |
7497 | ||
bcd98331 | 7498 | * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. |
d005338b | 7499 | (XSetFont): Add declaration. |
bcd98331 SM |
7500 | (mac_set_forecolor, mac_set_backcolor, mac_set_colors): |
7501 | Remove functions. | |
7502 | (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): | |
7503 | New defines. | |
d005338b YM |
7504 | (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) |
7505 | (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) | |
bcd98331 SM |
7506 | (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): |
7507 | Use them. | |
d005338b YM |
7508 | (mac_erase_rectangle): New function. |
7509 | (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) | |
7510 | (x_draw_stretch_glyph_string): Use it. | |
7511 | (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) | |
7512 | (XSetBackground, XSetFont): Adjust for new GC implementation. | |
7513 | (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. | |
7514 | (XTset_vertical_scroll_bar): Clear area under scroll bar. | |
7515 | ||
7516 | * macterm.h (struct mac_display_info): Change types of | |
7517 | scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. | |
7518 | (XCreateGC, XParseGeometry): Move externs from macgui.h. | |
7519 | ||
7520 | * xfaces.c [MAC_OS] (XCreateGC): Remove extern. | |
7521 | ||
9b0c2c56 RS |
7522 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
7523 | ||
7524 | * buffer.c (Fmake_overlay): Doc fix. | |
7525 | ||
2e9c1c6d EZ |
7526 | 2005-07-16 Eli Zaretskii <eliz@gnu.org> |
7527 | ||
7528 | * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, | |
7529 | Vw32_valid_locale_ids, and Vw32_valid_codepages. | |
7530 | ||
407289a4 YM |
7531 | 2005-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7532 | ||
bcd98331 SM |
7533 | * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): |
7534 | Use Fstring_as_unibyte instead of string_make_unibyte. | |
407289a4 | 7535 | |
e4b477a1 RS |
7536 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
7537 | ||
7538 | * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. | |
7539 | ||
a8613adf KS |
7540 | 2005-07-15 Kim F. Storm <storm@cua.dk> |
7541 | ||
7542 | * xdisp.c: Fix redisplay loop in last change. | |
7543 | (IT_POS_VALID_AFTER_MOVE_P): New macro. | |
7544 | (move_it_vertically_backward, move_it_by_lines): Use it. | |
7545 | ||
2d5324c5 JR |
7546 | 2005-07-14 Jason Rumney <jasonr@gnu.org> |
7547 | ||
7548 | * w32.c (init_environment): Default HOME directory to user's | |
7549 | appdata directory if possible. | |
7550 | ||
3ed70dc4 KS |
7551 | 2005-07-14 Kim F. Storm <storm@cua.dk> |
7552 | ||
7b9389b0 KS |
7553 | * .gdbinit (pitx): Fix output format. Print string charpos. |
7554 | ||
3ed70dc4 KS |
7555 | * lread.c (syms_of_lread): Initialize seen_list. |
7556 | ||
7557 | * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. | |
7558 | ||
7559 | * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. | |
7560 | Staticpro re_match_object. | |
7561 | ||
ef029e5a YM |
7562 | 2005-07-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7563 | ||
7564 | * macselect.c (get_scrap_target_type_list): Avoid NULL pointer | |
7565 | dereference. | |
7566 | ||
7567 | * macterm.c (mac_window_to_frame): Remove duplicate define. | |
7568 | ||
16ef9c56 KH |
7569 | 2005-07-14 Kenichi Handa <handa@m17n.org> |
7570 | ||
7571 | * coding.c (code_convert_region_unwind): ARG is changed to a cons. | |
bcd98331 | 7572 | (code_convert_region): Adjust for the above change. |
16ef9c56 KH |
7573 | (set_conversion_work_buffer): If the work buffer is already in |
7574 | use, generate a new buffer and return it. Otherwise return Qnil. | |
bcd98331 | 7575 | (run_pre_post_conversion_on_str): Adjust for the above change. |
16ef9c56 KH |
7576 | (run_pre_write_conversin_on_c_str): Likewise. |
7577 | ||
098e1273 KS |
7578 | 2005-07-13 Kim F. Storm <storm@cua.dk> |
7579 | ||
010b9a45 KS |
7580 | * xdisp.c (start_display): Don't reseat to next visible line start |
7581 | if current start position is in a string or image. | |
7582 | (move_it_vertically_backward): Be sure to move out of strings and | |
7583 | images when moving it2 forward. | |
7584 | (move_it_by_lines): When moving forward, move to next buffer | |
7585 | position if we end up in a string or image. When moving backward, | |
7586 | count rows moved over when moving to start of current row in case | |
7587 | row starts in middle of a string or image. Also move further | |
7588 | backward if we end up in a string or image. | |
bcd98331 | 7589 | (try_cursor_movement): If overlay string spans multiple lines, |
010b9a45 KS |
7590 | move backward to set cursor on start of an overlay string. |
7591 | (cursor_row_p): Row is ok if cursor is at newline from string, but | |
7592 | string starts on this line (so we always position cursor at start | |
7593 | of string). | |
7594 | ||
7595 | * indent.c (Fvertical_motion): If start position is on an image, | |
7596 | don't move back if we move too far (that's almost certain to happen). | |
7597 | ||
098e1273 KS |
7598 | * xdisp.c (cursor_row_fully_visible_p): Allow partially visible |
7599 | row in minibuffer windows. | |
7600 | (try_window): Don't check margins in minibuffer windows. | |
7601 | ||
c229fb15 YM |
7602 | 2005-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7603 | ||
7604 | * macterm.c: Don't include stdlib.h or composite.h. | |
7605 | (x_use_underline_position_properties, last_mouse_press_frame) | |
7606 | (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. | |
7607 | (syms_of_macterm, mac_initialize): Don't initialize them. | |
7608 | (waiting_for_input, initial_argv, initial_argc) | |
7609 | (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) | |
7610 | (set_frame_menubar, path_from_vol_dir_name): Remove externs. | |
7611 | (extra_keyboard_modifiers): Fix type in extern. | |
7612 | (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. | |
7613 | (x_scroll_bar_report_motion): Add argument types to declaration. | |
7614 | (mac_compute_glyph_string_overhangs): Add declaration. | |
7615 | (disable_mouse_highlight): Remove unused variable. | |
7616 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) | |
7617 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
bcd98331 SM |
7618 | (x_scroll_bar_handle_drag): Remove argument `timestamp'. |
7619 | All callers changed. | |
c229fb15 YM |
7620 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set |
7621 | timestamp. | |
7622 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. | |
7623 | (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar | |
7624 | only when its width is less than the height. | |
7625 | (XTredeem_scroll_bar): Sync with xterm.c. | |
bcd98331 SM |
7626 | (font_name_table, font_name_table_size, font_name_count): |
7627 | Make static. | |
c229fb15 YM |
7628 | (drag_and_drop_file_list): Remove variable. Previous use is now |
7629 | local to function. | |
7630 | (do_ae_open_documents): Move DRAG_N_DROP event construction part | |
7631 | from XTread_socket. | |
bcd98331 SM |
7632 | (XTread_socket): Consolidate setting of event timestamp. |
7633 | Move DRAG_N_DROP event construction part to do_ae_open_documents. | |
c229fb15 YM |
7634 | Support extra_keyboard_modifiers. |
7635 | ||
7636 | * xfaces.c (try_font_list) [MAC_OS]: Try font family name | |
7637 | beginning with that for ASCII. | |
7638 | ||
69d05d83 SM |
7639 | 2005-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7640 | ||
7641 | * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. | |
7642 | (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. | |
7643 | (syms_of_alloc): Declare gc-cons-percentage. | |
7644 | ||
7645 | * eval.c (Feval, Ffuncall): | |
7646 | * keyboard.c (read_char): | |
7647 | * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. | |
7648 | ||
7649 | * lisp.h (gc_cons_combined_threshold): Declare. | |
7650 | ||
5c7f9de1 KS |
7651 | 2005-07-12 Kim F. Storm <storm@cua.dk> |
7652 | ||
7653 | * coding.c (Qprocess_argument): | |
7654 | * coding.h (Qprocess_argument): Remove unused var. | |
7655 | ||
7656 | * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. | |
7657 | ||
c37efb7a YM |
7658 | 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7659 | ||
7660 | * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and | |
7661 | Endian.h. | |
7662 | [!MAC_OSX] (fchmod, fchown): New functions. | |
7663 | (mac_get_code_from_arg): Don't accept Lisp integer as argument. | |
7664 | Use SBYTES and EndianU32_BtoN. | |
7665 | (mac_get_object_from_code): Return 4 byte string even if argument | |
7666 | is 0. Use make_unibyte_string and EndianU32_NtoB. | |
7667 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
7668 | (Fmac_set_file_type): Fix documents and argument declarations. | |
7669 | Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. | |
7670 | ||
a4429c5b SM |
7671 | 2005-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
7672 | ||
7673 | * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). | |
7674 | ||
a2d7e722 JD |
7675 | 2005-07-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7676 | ||
7677 | * xfaces.c (x_update_menu_appearance): Use fontSet resource for | |
7678 | Lucid if X_I18N, font otherwise. | |
7679 | ||
9a4183e9 ST |
7680 | 2005-07-10 Steven Tamm <steventamm@mac.com> |
7681 | ||
a4429c5b SM |
7682 | * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. |
7683 | (Fmac_set_file_type, Fmac_set_file_creator): Add. | |
7684 | (mac_get_object_from_code, mac_get_code_from_arg): Add. | |
9a4183e9 | 7685 | |
51f74c37 RS |
7686 | 2005-07-10 Richard M. Stallman <rms@gnu.org> |
7687 | ||
7688 | * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. | |
7689 | (syms_of_lread): Set up eval-buffer-list. | |
7690 | (Feval_buffer, Feval_region): Bind eval-buffer-list. | |
7691 | ||
93c7da4c RS |
7692 | 2005-07-08 Richard M. Stallman <rms@gnu.org> |
7693 | ||
7694 | * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. | |
7695 | ||
64af5917 KS |
7696 | 2005-07-08 Kim F. Storm <storm@cua.dk> |
7697 | ||
7698 | * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. | |
7699 | (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. | |
7700 | ||
a96b333c KS |
7701 | 2005-07-07 Kim F. Storm <storm@cua.dk> |
7702 | ||
7703 | * window.c (Frecenter): Fix last change (set iarg before use). | |
7704 | ||
dc2204be RS |
7705 | 2005-07-06 Richard M. Stallman <rms@gnu.org> |
7706 | ||
7707 | * window.c (Frecenter): When arg is inside the scroll margin, | |
7708 | move it out of the margin. | |
7709 | ||
3fb1d72b JR |
7710 | 2005-07-06 Jason Rumney <jasonr@gnu.org> |
7711 | ||
7712 | * w32console.c (initialize_w32_display): Detect when the console | |
7713 | dimensions are insane, and default to 80x25 instead. | |
14a56a1b | 7714 | (w32_use_full_screen_buffer): Default to nil. |
3fb1d72b | 7715 | |
dd15724d YM |
7716 | 2005-07-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7717 | ||
7718 | * macterm.c (mac_draw_vertical_window_border): Use foreground of | |
7719 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
7720 | (mac_encode_char): Call check_ccl_update in advance. | |
7721 | (mac_to_x_fontname, x_font_name_to_mac_font_name) | |
a4429c5b SM |
7722 | (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): |
7723 | Don't assume that font family length is less than 32. | |
dd15724d YM |
7724 | (x_compute_min_glyph_bounds): Make static. |
7725 | (x_load_font): Never set fonts_changed_p to zero. | |
a96b333c | 7726 | |
68003d6b LK |
7727 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
7728 | ||
dc2204be | 7729 | * Update FSF's address in GPL notices. |
68003d6b | 7730 | |
3d393029 RS |
7731 | 2005-07-03 Richard M. Stallman <rms@gnu.org> |
7732 | ||
7733 | * xdisp.c (try_window): Fix previous change in how it handles | |
7734 | a partially-visible line or one only partly past the margin. | |
7735 | ||
7736 | * window.c (window_scroll_pixel_based): Take account | |
7737 | of this_scroll_margin when finding point when scrolling up. | |
7738 | ||
7739 | 2005-06-29 Ralf Angeli <angeli@iwi.uni-sb.de> | |
7740 | ||
7741 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
7742 | Handle `scroll-preserve-screen-position' non-nil, non-t specially. | |
9dd28cae | 7743 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. |
3d393029 | 7744 | |
d6951bb4 EZ |
7745 | 2005-07-02 Juri Linkov <juri@jurta.org> |
7746 | ||
7747 | * w32term.c (w32_draw_vertical_window_border): Use foreground of | |
7748 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
7749 | ||
b016179b EZ |
7750 | 2005-07-02 Eli Zaretskii <eliz@gnu.org> |
7751 | ||
7752 | * fileio.c (Fcopy_file): Rearrange the code that calls fchown and | |
7753 | fchmod so that chmod doesn't get called on MSDOS before the file | |
7754 | is closed. | |
7755 | ||
c2baa2b6 JR |
7756 | 2005-07-01 Jason Rumney <jasonr@gnu.org> |
7757 | ||
7758 | * w32term.c (cleartype_active): New flag for enabling sub-pixel | |
7759 | workaround. | |
7760 | (w32_initialize): Initialize it. | |
7761 | (w32_native_per_char_metric): Allow a couple of extra pixels when | |
7762 | Cleartype is active. | |
7763 | ||
7764 | * w32term.c (w32_initialize): Move check for screen reader here | |
7765 | from syms_of_w32term. | |
7766 | ||
a6d0ae55 JD |
7767 | 2005-06-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7768 | ||
7769 | * xterm.c (handle_one_xevent): bzero compose_status when nbytes | |
7770 | is not zero. | |
7771 | ||
711877f3 MY |
7772 | 2005-07-01 Masatake YAMATO <jet@gyve.org> |
7773 | ||
a4429c5b | 7774 | * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. |
711877f3 | 7775 | |
63f7ffb3 JL |
7776 | 2005-06-30 Juri Linkov <juri@jurta.org> |
7777 | ||
7778 | * xdisp.c (x_draw_vertical_border): If left fringe is not present | |
7779 | decrease x coord of vertical border by 1 pixel to not occupy text | |
7780 | area of the right window. | |
7781 | ||
7782 | * xterm.c (x_draw_vertical_window_border): Use foreground of | |
7783 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
7784 | ||
7785 | * term.c (turn_on_face): In standout mode apply specified | |
7786 | fg to bg, and specified bg to fg (this makes the logic of | |
7787 | inversion on terminal consistent with X). | |
7788 | ||
b26860ad JB |
7789 | 2005-06-29 Juanma Barranquero <lekktu@gmail.com> |
7790 | ||
7791 | * eval.c (user_variable_p_eh): New function. | |
7792 | (Fuser_variable_p): Use it. Clarify docstring. | |
7793 | Return t for aliases of user options, nil for alias loops. | |
7794 | ||
3a1f1d79 RS |
7795 | 2005-06-27 Richard M. Stallman <rms@gnu.org> |
7796 | ||
7797 | * eval.c (Fdefvar): Improve error message. | |
7798 | ||
92de1e01 YM |
7799 | 2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7800 | ||
7801 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last | |
7802 | change. | |
7803 | ||
69410484 JB |
7804 | 2005-06-27 Juanma Barranquero <lekktu@gmail.com> |
7805 | ||
7806 | * eval.c (Fdefvar): Don't try to set constant symbols. | |
7807 | ||
09352e8f RS |
7808 | 2005-06-25 Richard M. Stallman <rms@gnu.org> |
7809 | ||
a68d870b RS |
7810 | * macfns.c (Fx_show_tip): Pass new arg to try_window. |
7811 | ||
7812 | * w32fns.c (Fx_show_tip): Pass new arg to try_window. | |
7813 | ||
7814 | * xfns.c (Fx_show_tip): Pass new arg to try_window. | |
7815 | ||
7816 | * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. | |
7817 | (redisplay_window): Handle try_window reporting point in scroll margin. | |
7818 | ||
7819 | * dispextern.h (try_window): Declare new arg. | |
7820 | ||
7821 | * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. | |
7822 | Use fchmod to copy the file modes. | |
7823 | (Frename_file): Don't copy UID and GID here; | |
7824 | instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. | |
7825 | ||
df13531d RS |
7826 | * eval.c (call_debugger): Take full care of extending stack limits |
7827 | to make space for the debugger, and restore the change afterward. | |
7828 | Bind debug-on-error to nil. | |
7829 | (restore_stack_limits): New subroutine. | |
7830 | (Fsignal): Extend specpdl bound along with eval depth bound, | |
7831 | for calling edebug. Don't do either one, for calling debugger. | |
7832 | (find_handler_clause): Don't bind debug-on-error here. | |
7833 | Don't unbind anything either. | |
7834 | Temporarily advance max_specpdl_size for calling | |
7835 | internal_with_output_to_temp_buffer. | |
7836 | (grow_specpdl): Don't alter max_specpdl_size before signaling | |
7837 | an error. | |
7838 | (syms_of_eval) <max-specpdl-size>: Doc fix. | |
7839 | ||
09352e8f RS |
7840 | * lread.c (read1): 0.0e+NaN should make a "positive" NaN. |
7841 | ||
90296dd3 EZ |
7842 | 2005-06-24 Eli Zaretskii <eliz@gnu.org> |
7843 | ||
7844 | * fileio.c (Frename_file): Undo last change: no need to ifdef away | |
7845 | chown on DOS_NT platforms. | |
7846 | ||
7847 | * w32.c (sys_chown): New function. | |
7848 | ||
7849 | * s/ms-w32.h (chown): New; define to sys_chown. | |
7850 | ||
c4f6ca24 JB |
7851 | 2005-06-24 Juanma Barranquero <lekktu@gmail.com> |
7852 | ||
3338c0ad JB |
7853 | * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix. |
7854 | (syms_of_xdisp) <void-text-area-pointer>: Doc fix. | |
7855 | ||
9a1505e9 | 7856 | * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. |
c4f6ca24 | 7857 | |
528b6abc RS |
7858 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
7859 | ||
7860 | * xdisp.c (get_next_display_element): Finish reversing the tests of | |
7861 | Vnobreak_char_display. | |
7862 | ||
9a1505e9 | 7863 | * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. |
528b6abc | 7864 | All uses changed. |
9a1505e9 | 7865 | (Qnobreak_space): Rename from Qno_break_space. All uses changed. |
528b6abc RS |
7866 | (syms_of_xdisp): Define nobreak-char-display and nobreak-space. |
7867 | ||
7868 | * fileio.c (Frename_file): Preserve owner and group, if possible, | |
7869 | when copying. | |
7870 | ||
1d1c7e75 JB |
7871 | 2005-06-23 Juanma Barranquero <lekktu@gmail.com> |
7872 | ||
253b2298 JB |
7873 | * abbrev.c (Funexpand_abbrev): |
7874 | * category.c (Fmake_category_set): | |
7875 | * dispnew.c (Fsleep_for, Fsit_for): | |
7876 | * editfns.c (Fsubst_char_in_region): | |
7877 | * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): | |
7878 | * frame.c (make_frame_without_minibuffer): | |
7879 | * lread.c (read_vector): | |
7880 | * macfns.c (check_x_frame): | |
7881 | * process.c (Fstop_process, Fcontinue_process): | |
7882 | * search.c (Freplace_match): | |
7883 | * syntax.c (Fstring_to_syntax): | |
7884 | * w32fns.c (check_x_frame, check_x_display_info): | |
7885 | * xfaces.c (x_supports_face_attributes_p): | |
7886 | * xselect.c (Fx_own_selection_internal): Follow error conventions. | |
7887 | ||
1d1c7e75 JB |
7888 | * image.c (fn_png_init_io): Don't define it. |
7889 | (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. | |
7890 | (png_read_from_file): New function, based on png_read_from_memory. | |
7891 | (png_load): Use it, instead of fn_png_init_io. | |
7892 | ||
d1fab151 KS |
7893 | 2005-06-23 Kim F. Storm <storm@cua.dk> |
7894 | ||
7895 | * search.c (Fmatch_data): Remove evaporate option. | |
9d12e52b | 7896 | (Fset_match_data): Do not mention evaporate option in doc string. |
d1fab151 KS |
7897 | Add commentary explaining evaporate arg (for internal use only). |
7898 | (unwind_set_match_data): Add comment on evaporate use. | |
7899 | ||
53abc3bf MB |
7900 | 2005-06-22 Miles Bader <miles@gnu.org> |
7901 | ||
a4429c5b | 7902 | * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. |
53abc3bf MB |
7903 | (realize_basic_faces, syms_of_xfaces): Update references to it. |
7904 | * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' | |
7905 | to `VERTICAL_BORDER_FACE_ID'. | |
7906 | * dispnew.c (build_frame_matrix_from_leaf_window): Update references. | |
7907 | ||
36a3b076 JL |
7908 | 2005-06-21 Juri Linkov <juri@jurta.org> |
7909 | ||
7910 | * dispextern.h: Add extern Qframe_set_background_mode. | |
7911 | ||
7912 | * xfaces.c: Rename obsolete function Qframe_update_face_colors to | |
7913 | Qframe_set_background_mode. | |
7914 | ||
7915 | * frame.c (Fmodify_frame_parameters): | |
7916 | Call frame-set-background-mode after changing the background color | |
7917 | on non-window non-dos branch. | |
7918 | ||
23873c96 JB |
7919 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
7920 | ||
7921 | * fns.c (Fchar_table_range): | |
7922 | * process.c (Fmake_network_process): Fix spellings. | |
7923 | ||
b7d1f38f KS |
7924 | 2005-06-20 Kim F. Storm <storm@cua.dk> |
7925 | ||
7926 | * fns.c (Fsort): Doc fix. | |
7927 | ||
b4e49aee MB |
7928 | 2005-06-20 Miles Bader <miles@gnu.org> |
7929 | ||
7930 | * xfaces.c (Qvertical_divider): New variable. | |
7931 | (realize_basic_faces): Realize its face. | |
7932 | (syms_of_xfaces): Initialize it. | |
7933 | ||
7934 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | |
7935 | ||
7936 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | |
7937 | window-separator on ttys using `vertical-divider' face by default. | |
7938 | ||
b7da00ba RS |
7939 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
7940 | ||
a4429c5b SM |
7941 | * xdisp.c (get_next_display_element): |
7942 | Reverse test of Vshow_nonbreak_escape. | |
b7da00ba RS |
7943 | |
7944 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | |
f19b57e3 RS |
7945 | (Ftty_no_underline): New function. |
7946 | (syms_of_term): defsubr it. | |
b7d1f38f | 7947 | |
b7da00ba RS |
7948 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
7949 | ||
7950 | * dispnew.c (spec_glyph_lookup_face): New function. | |
7951 | (build_frame_matrix_from_leaf_window): Use it. | |
7952 | ||
7953 | * dispextern.h (spec_glyph_lookup_face): Add declaration. | |
7954 | ||
7955 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
7956 | ||
7957 | 2005-06-12 Richard M. Stallman <rms@gnu.org> | |
7958 | ||
7959 | * keyboard.c (read_char): After catching a longjmp, | |
7960 | call restore_getcjmp. | |
7961 | ||
289824a3 JB |
7962 | 2005-06-17 Juanma Barranquero <lekktu@gmail.com> |
7963 | ||
7964 | * xselect.c (lisp_data_to_selection_data): Fix spelling. | |
7965 | ||
95085023 YM |
7966 | 2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7967 | ||
7968 | * macterm.c (mac_compute_glyph_string_overhangs): Don't set | |
7969 | overhangs unless the given glyph type is noncomposite CHAR_GLYPH. | |
7970 | [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down | |
7971 | events. | |
7972 | (XTread_socket): Don't pass keyboard events with the option | |
7973 | modifier to the system when Vmac_command_key_is_meta is nil or | |
7974 | Vmac_option_modifier is non-nil. | |
7975 | [USE_CARBON_EVENTS] (read_socket_inev): New variable. | |
7976 | [USE_CARBON_EVENTS] (init_command_handler): Fix argument. | |
7977 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event | |
7978 | handler function. | |
7979 | (install_window_handler) [USE_CARBON_EVENTS]: Install it. | |
7980 | (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event | |
7981 | handler part to mac_handle_mouse_event. | |
7982 | ||
4a9308b8 JB |
7983 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
7984 | ||
7985 | * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to | |
7986 | NEW-ALIAS and BASE-VARIABLE, respectively. | |
7987 | ||
5aa6db57 SM |
7988 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
7989 | ||
7990 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
7991 | (get_phys_cursor_geometry, format_mode_line_unwind_data) | |
7992 | (get_line_height_property, x_produce_glyphs): Remove unused vars. | |
7993 | ||
7994 | * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. | |
7995 | ||
0e0dddda EZ |
7996 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
7997 | ||
7998 | * w32term.c (x_use_underline_position_properties): New variable. | |
7999 | (x_draw_glyph_string): Remind in a comment to change doc string of | |
8000 | x-use-underline-position-properties if/when underline positioning | |
8001 | is implemented. | |
8002 | (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, | |
8003 | and initialize it to nil. | |
8004 | ||
7f2b4738 JR |
8005 | 2005-06-12 Jason Rumney <jasonr@gnu.org> |
8006 | ||
8007 | * w32fns.c (NEWOPENFILENAME): New struct. | |
8008 | (Fx_file_dialog): Use it to trick the system into giving us up to | |
8009 | date dialogs on systems that are documented to support it. | |
8010 | Do not set OFN_FILEMUSTEXIST flag if looking for a directory. | |
8011 | ||
a1e8cad6 EZ |
8012 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
8013 | ||
8014 | * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of | |
8015 | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. | |
8016 | ||
099a3eea EZ |
8017 | 2005-06-11 Eli Zaretskii <eliz@gnu.org> |
8018 | ||
2e09fef1 EZ |
8019 | * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg |
8020 | to CreateDIBSection to avoid a compiler warning. | |
8021 | (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler | |
8022 | warning. | |
8023 | (png_load): Cast return values of fn_png_create_read_struct and | |
8024 | fn_png_create_info_struct, to avoid compiler warnings on W32. | |
8025 | Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent | |
8026 | to avoid compiler warnings. | |
8027 | (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a | |
8028 | compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to | |
8029 | avoid a compiler warning. | |
8030 | (tiff_load): Cast return values of fn_TIFFOpen and | |
8031 | fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg | |
8032 | to IMAGE_BACKGROUND to avoid a compiler warning. | |
8033 | (gif_load): Cast return values of fn_DGifOpenFileName and | |
8034 | fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to | |
8035 | IMAGE_BACKGROUND to avoid a compiler warning. | |
8036 | (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef | |
8037 | before redefining. | |
8038 | ||
099a3eea EZ |
8039 | * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in |
8040 | the call to CreateDIBSection, to avoid a compiler warning. | |
8041 | ||
d11f8e1a JR |
8042 | 2005-06-11 Jason Rumney <jasonr@gnu.org> |
8043 | ||
8044 | * w32fns.c (Fx_file_dialog): Unblock input before falling back to | |
8045 | minibuffer. | |
8046 | * macfns.c (Fx_file_dialog): Likewise. | |
8047 | ||
cd4344a3 EZ |
8048 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
8049 | ||
8050 | * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. | |
8051 | ||
578c1340 JB |
8052 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
8053 | ||
8054 | * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: | |
8055 | * w32fns.c (syms_of_w32fns): Fix spellings. | |
8056 | ||
4162f25f EZ |
8057 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
8058 | ||
8059 | * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument | |
5aa6db57 SM |
8060 | `verbose'; print diagnostic messages only if it is non-zero. |
8061 | All callers changed to pass a zero value unless DEBUG_DUMP is defined | |
4162f25f EZ |
8062 | in the environment. |
8063 | (copy_executable_and_dump_data): Print section names with %.8s. | |
8064 | ||
121c59a3 MY |
8065 | 2005-06-10 Masatake YAMATO <jet@gyve.org> |
8066 | ||
8067 | * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face | |
8068 | when mouse_face is not given. | |
121c59a3 | 8069 | |
c869384d LT |
8070 | 2005-06-09 Luc Teirlinck <teirllm@auburn.edu> |
8071 | ||
8072 | * window.c (Fselect_window): Adapt call to Fselect_frame. | |
8073 | ||
8074 | * lisp.h: Update EXFUN of Fselect_frame. | |
8075 | ||
8076 | * keyboard.c (command_loop_1): Adapt call to Fselect_frame. | |
8077 | ||
6ecf436d LT |
8078 | * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg |
8079 | no_enter. | |
8080 | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): | |
c869384d LT |
8081 | Adapt to above change. |
8082 | ||
c14ec135 JB |
8083 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
8084 | ||
8085 | * fns.c (Fmemq, Fmaphash): Doc fixes. | |
8086 | ||
9fed2905 JB |
8087 | 2005-06-09 Juanma Barranquero <lekktu@gmail.com> |
8088 | ||
8089 | * xfaces.c (Fdisplay_supports_face_attributes_p): | |
8090 | Fix typo in docstring. | |
8091 | ||
427c5b1b ST |
8092 | 2005-06-08 Steven Tamm <steventamm@mac.com> |
8093 | ||
8094 | * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section | |
8095 | used by gcc4 on intel mac. | |
8096 | ||
b7aae902 KS |
8097 | 2005-06-09 Kim F. Storm <storm@cua.dk> |
8098 | ||
8099 | * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers | |
8100 | in REUSE list if non-nil; free them if equal to evaporate. | |
5e1a6e32 | 8101 | (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST |
b7aae902 KS |
8102 | if non-nil; free them if equal to evaporate. Use XCAR/XCDR. |
8103 | (restore_search_regs): Rename from restore_match_data. Uses changed. | |
8104 | (unwind_set_match_data): New function. | |
8105 | (record_unwind_save_match_data): New function like save-match-data. | |
8106 | ||
8107 | * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. | |
8108 | (record_unwind_save_match_data): Add prototype. | |
8109 | (restore_search_regs): Rename from restore_match_data. | |
8110 | ||
8111 | * composite.c (compose_chars_in_text): | |
8112 | * eval.c (do_autoload): | |
8113 | * macmenu.c (set_frame_menubar): | |
8114 | * process.c (read_process_output, exec_sentinel): | |
8115 | * xmenu.c (set_frame_menubar): | |
8116 | * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): | |
8117 | * w32menu.c (set_frame_menubar): | |
8118 | Use record_unwind_save_match_data. | |
8119 | ||
547d2b37 RS |
8120 | 2005-06-08 Richard M. Stallman <rms@gnu.org> |
8121 | ||
8122 | * xdisp.c (get_next_display_element): Alter previous change: | |
8123 | Distinguish Vshow_nonbreak_escape = t or not t. | |
8124 | For t, use escape_glyph once again, as before previous change. | |
8125 | Use space or hyphen for display, instead of the non-ASCII char. | |
8126 | (syms_of_xdisp) <show-nonbreak-escape>: Doc fix. | |
8127 | ||
8128 | * process.c (Fstart_process): Don't touch command_channel_p slot. | |
8129 | ||
99598737 | 8130 | * process.h (struct process): Delete command_channel_p. |
547d2b37 | 8131 | |
602907ae MY |
8132 | 2005-06-07 Masatake YAMATO <jet@gyve.org> |
8133 | ||
5aa6db57 SM |
8134 | * xdisp.c (note_mode_line_or_margin_highlight): |
8135 | Check the overlapping of re-rendering area to avoid flickering. | |
b7aae902 | 8136 | (note_mouse_highlight): Call clear_mouse_face if PART |
602907ae MY |
8137 | is not ON_MODE_LINE nor ON_HEADER_LINE. |
8138 | ||
8b793bed KS |
8139 | 2005-06-07 Kim F. Storm <storm@cua.dk> |
8140 | ||
8141 | * process.c: Improve commentary for adaptive read buffering. | |
8142 | ||
3d031334 SM |
8143 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> |
8144 | ||
8145 | * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars | |
8146 | if available. | |
8147 | ||
16d2e704 JD |
8148 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8149 | ||
5aa6db57 SM |
8150 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): |
8151 | New functions for popping down menus on C-g. | |
16d2e704 JD |
8152 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. |
8153 | ||
8154 | * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode | |
8155 | non-static. | |
8156 | ||
9fed2905 | 8157 | * config.in: Add HAVE_CANCELMENUTRACKING. |
16d2e704 | 8158 | |
b6cc2ad0 EZ |
8159 | 2005-06-06 Eli Zaretskii <eliz@gnu.org> |
8160 | ||
9a1505e9 | 8161 | * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. |
b6cc2ad0 | 8162 | |
5aa6db57 | 8163 | * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. |
b6cc2ad0 EZ |
8164 | |
8165 | * w32proc.c (RVA_TO_PTR): New macro. | |
8166 | ||
8167 | * w32heap.c (RVA_TO_PTR): No need to #undef now. | |
8168 | ||
8169 | * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): | |
8170 | Depend on w32heap.h. | |
8171 | ||
24e55feb LT |
8172 | 2005-06-06 Luc Teirlinck <teirllm@auburn.edu> |
8173 | ||
8174 | * keyboard.c (command_loop_1): Update Vthis_original_command. | |
8175 | ||
ce6e10af RS |
8176 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
8177 | ||
8178 | * xmenu.c (popup_get_selection): Undo previous change. | |
8179 | ||
c476bcb0 JL |
8180 | 2005-06-06 Juri Linkov <juri@jurta.org> |
8181 | ||
8182 | * xdisp.c (Qno_break_space): New variable. | |
8183 | (syms_of_xdisp): Initialize it. | |
8184 | (get_next_display_element): Add no-break space and soft hypen | |
8185 | codes for iso8859-2 and iso8859-5. Don't add `\' for them. | |
8186 | Use `no-break-space' face for no-break spaces. | |
8187 | ||
5494d7bc JD |
8188 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8189 | ||
8190 | * window.c (delete_window): Handle the case where a h/vchild has | |
8191 | a h/vchild. | |
8192 | ||
a0c38328 EZ |
8193 | 2005-06-05 Eli Zaretskii <eliz@gnu.org> |
8194 | ||
8195 | * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the | |
8196 | call to pfn_setsockopt, cast optval to `const char *'. | |
8197 | ||
91018229 EZ |
8198 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
8199 | ||
1a8fb426 EZ |
8200 | * w32.c (gettimeofday): Use struct _timeb, not struct timeb. |
8201 | (open_unc_volume): Cast return value of map_w32_filename, to avoid | |
8202 | compiler warnings. | |
8203 | ||
b6f0a397 EZ |
8204 | * s/ms-w32.h (fileno): Don't define if already defined. |
8205 | ||
17a7c5c2 | 8206 | * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. |
d01a9710 | 8207 | |
91018229 EZ |
8208 | * makefile.w32-in (DOC): Define to point to the generated DOC-X. |
8209 | ||
196ac78c RS |
8210 | 2005-06-04 Richard M. Stallman <rms@gnu.org> |
8211 | ||
8212 | * xmenu.c (popup_get_selection): Click not in menu deactivates menu. | |
8213 | ||
b8987570 JD |
8214 | 2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8215 | ||
8216 | * macmenu.c (cleanup_popup_menu): New function. | |
2d4713aa | 8217 | (Fx_popup_menu): Unwind protect cleanup_popup_menu in case |
b8987570 JD |
8218 | mac_menu_show Quit:s. |
8219 | (mac_menu_show): Quit on cancel if not popped up on click (i.e. | |
8220 | a dialog). | |
8221 | ||
555228aa KS |
8222 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
8223 | ||
8224 | * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. | |
8225 | ||
8226 | * callproc.c (Fcall_process): Don't use alloca to gradually | |
8227 | increase size of buf, as it effectively uses twice the necessary | |
8228 | space on the stack. Instead, pre-allocate buf of full size, and | |
8229 | gradually increase the read size. | |
8230 | ||
8231 | * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. | |
8232 | ||
8233 | * eval.c (unbind_to): Preserve value of Vquit_flag. | |
8234 | ||
8235 | * xterm.c (handle_one_xevent): Also ignore mouse motion just | |
8236 | before a button release event. | |
8237 | ||
6312e5f7 JB |
8238 | 2005-06-03 Juanma Barranquero <lekktu@gmail.com> |
8239 | ||
8240 | * xfaces.c (Finternal_lisp_face_equal_p): Really report | |
8241 | on faces in a frame, if the argument FRAME is non-nil. | |
8242 | Improve argument/docstring consistency. | |
8243 | ||
0493f7be KS |
8244 | 2005-06-02 Kim F. Storm <storm@cua.dk> |
8245 | ||
8246 | * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. | |
8247 | (x_consider_frame_title, Fformat_mode_line): Save offset into | |
8248 | mode_line_noprop_buf rather than pointer, in case buffer is relocated. | |
8249 | ||
89fe657e KS |
8250 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
8251 | ||
8252 | * fns.c (mapcar1): Maybe exit loop if original sequence was modified. | |
8253 | ||
02a6375c YM |
8254 | 2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8255 | ||
8256 | * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD | |
8257 | resolution fields for scalable fonts to 0. | |
8258 | ||
8259 | * xfaces.c (build_scalable_font_name): Round pixel size to the | |
8260 | nearest integer. | |
8261 | ||
95d4fad8 KS |
8262 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
8263 | ||
8264 | * xdisp.c (display_mode_line): Support nested calls to redisplay | |
8265 | and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. | |
8266 | ||
3c1b433a SM |
8267 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
8268 | ||
8269 | * fileio.c (Finsert_file_contents): | |
8270 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
8271 | ||
13cc7d61 KS |
8272 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
8273 | ||
8274 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | |
8275 | (mode_line_noprop_ptr): Rename from frame_title_*. | |
8276 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | |
8277 | (store_mode_line_noprop): Rename from store_frame_title. | |
3c1b433a | 8278 | (mode_line_target): New enum to specify current output target |
13cc7d61 KS |
8279 | for mode line formatting. |
8280 | (display_mode_element): Test it rather than frame_title_ptr and | |
8281 | mode_line_string_list to determine where output should go. | |
8282 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | |
8283 | (Vmode_line_unwind_vector): New variable. | |
3c1b433a SM |
8284 | (format_mode_line_unwind_data, unwind_format_mode_line): |
8285 | New functions for unwind protection in mode line formatting. | |
13cc7d61 | 8286 | (x_consider_frame_title): Use them and new local var 'title_start' |
5aa6db57 SM |
8287 | to support nested calls to format-mode-line and redisplay. |
8288 | Set mode_line_target to MODE_LINE_TITLE. | |
13cc7d61 | 8289 | (Fformat_mode_line): Use them and new local var 'string_start' to |
5aa6db57 SM |
8290 | support nested calls to format-mode-line and redisplay. |
8291 | Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. | |
95d4fad8 | 8292 | Don't trim trailing dashes. |
13cc7d61 KS |
8293 | (decode_mode_spec): Don't make infinite number of trailing dashes |
8294 | for MODE_LINE_NOPROP and MODE_LINE_STRING targets. | |
8295 | (syms_of_xdisp): Initialize and staticpro mode_line_string_face, | |
8296 | mode_line_string_face_prop, and Vmode_line_unwind_vector. | |
8297 | (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. | |
8298 | Initialize mode_line_target to MODE_LINE_DISPLAY. | |
8299 | ||
c16b1394 RS |
8300 | 2005-05-29 Richard M. Stallman <rms@gnu.org> |
8301 | ||
8302 | * buffer.c (Fbuffer_local_value): Call indirect_variable. | |
8303 | ||
edfaeb4e MY |
8304 | 2005-05-28 Masatake YAMATO <jet@gyve.org> |
8305 | ||
8306 | * xdisp.c (note_mode_line_or_margin_highlight): Change the | |
8307 | pointer to a hand cursor when hoovering over a mouse-face. | |
8308 | ||
7cf49add KH |
8309 | 2005-05-27 Kenichi Handa <handa@m17n.org> |
8310 | ||
8311 | * xterm.c (x_encode_char): Call check_ccl_update in advance. | |
8312 | ||
8313 | * ccl.c: Now an element of Vccl_program_table is a vector of | |
8314 | length 4, not 3. | |
3c1b433a SM |
8315 | (ccl_get_compiled_code): New arg idx. Caller changed. |
8316 | Adjust for the change of Vccl_program_table. | |
8317 | (setup_ccl_program): Adjust for the change of Vccl_program_table. | |
7cf49add KH |
8318 | (check_ccl_update): New function. |
8319 | (Fregister_ccl_program): Use ASET to set an element of a vector. | |
8320 | Adjusted for the change of Vccl_program_table. | |
8321 | ||
8322 | * ccl.h (struct ccl_program): New member idx. | |
8323 | (check_ccl_update): Extern it. | |
8324 | ||
5e2ad10b JB |
8325 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
8326 | ||
3c1b433a | 8327 | * image.c (Vimage_library_alist): Move from image.el. |
d5e1a786 JB |
8328 | (syms_of_image): Defvar it. |
8329 | (lookup_image_type): Use it. | |
8330 | ||
5e2ad10b JB |
8331 | * buffer.c (Fbuffer_local_value): Make argument name match its use |
8332 | in docstring. | |
8333 | ||
6e604a9b JB |
8334 | 2005-05-26 Juanma Barranquero <lekktu@gmail.com> |
8335 | ||
8336 | * keyboard.c (Frecursive_edit): Fix typo in docstring. | |
8337 | (Fposn_at_x_y): Make argument name match its use in docstring. | |
8338 | ||
59244a3f LK |
8339 | 2005-05-26 Lute Kamstra <lute@gnu.org> |
8340 | ||
8341 | * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. | |
8342 | ||
55ce5058 MY |
8343 | 2005-05-24 Masatake YAMATO <jet@gyve.org> |
8344 | ||
8345 | * xdisp.c (note_mode_line_or_margin_highlight): Use b and e | |
8346 | as loop sentinels. | |
8347 | ||
cb5db137 NR |
8348 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
8349 | ||
8350 | * xmenu.c (Fx_popup_dialog): Add a third boolean argument to | |
8351 | select frame title ("Question"/"Information"). | |
8352 | (xdialog_show): Use it. | |
8353 | ||
13dcfc35 NR |
8354 | * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. |
8355 | ||
8356 | * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. | |
8357 | ||
d3393daa NR |
8358 | * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with |
8359 | a third argument (Qnil). | |
8360 | ||
8361 | * lisp.h: x-popup-dialog can have three arguments. | |
cb5db137 NR |
8362 | |
8363 | * editfns.c (Fmessage_box): Use "Information" for frame title. | |
8364 | ||
71d4fba1 TTN |
8365 | 2005-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
8366 | ||
8367 | * termcap.c [VMS]: Include <starlet.h>. | |
8368 | ||
359e4563 MY |
8369 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
8370 | ||
6e604a9b JB |
8371 | * xdisp.c (note_mode_line_or_margin_highlight): Add code |
8372 | for mouse-face. Change the type of the first argument from `window' | |
8373 | to `Lisp_Object'. | |
359e4563 MY |
8374 | (note_mouse_highlight): Call note_mode_line_or_margin_highlight with |
8375 | window instead of w. | |
8376 | ||
edceb51c AS |
8377 | 2005-05-22 Andreas Schwab <schwab@suse.de> |
8378 | ||
41c4895c | 8379 | * process.c (send_process): Move misplaced volatile. |
edceb51c | 8380 | |
5c213fcc RS |
8381 | 2005-05-21 Richard M. Stallman <rms@gnu.org> |
8382 | ||
8383 | * xdisp.c (display_mode_element): If we're processing a list and | |
8384 | padding is specified, put it after the last element. | |
8385 | ||
aa4060b9 EZ |
8386 | 2005-05-21 Eli Zaretskii <eliz@gnu.org> |
8387 | ||
8388 | * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support | |
8389 | "superroot" on DOS_NT systems. | |
8390 | ||
a2c9aee6 EZ |
8391 | 2005-05-21 David Hunter <hunterd42@comcast.net> (tiny change) |
8392 | ||
8393 | * process.c (send_process): Restore the SIGPIPE handler if we | |
8394 | catch a SIGPIPE. | |
8395 | ||
09e8eb5b JB |
8396 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> |
8397 | ||
8398 | * image.c (lookup_image, png_read_from_memory): Remove hacks (and | |
8399 | misleading comments). | |
8400 | (DEF_IMGLIB_FN): Use C calling convention for image libraries. | |
8401 | ||
f3fbdb1f LK |
8402 | 2005-05-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
8403 | ||
8404 | * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): | |
8405 | Correct the right value. | |
8406 | ||
639ec765 NR |
8407 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
8408 | ||
240d926e | 8409 | * keyboard.c (syms_of_keyboard): Remove Lisp variables |
639ec765 NR |
8410 | post-command-idle-hook and post-command-idle-delay. |
8411 | (command_loop_1): Don't try to execute post-command-idle-hook. | |
8412 | ||
03d42907 KS |
8413 | 2005-05-16 Kim F. Storm <storm@cua.dk> |
8414 | ||
1cb83e13 KS |
8415 | * xdisp.c (handle_display_prop): Handle empty replacement. |
8416 | (handle_single_display_spec): Return -1 for empty replacement. | |
8417 | ||
8418 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | |
8419 | ||
03d42907 KS |
8420 | * .gdbinit (pitx): Print more info about iterator. |
8421 | ||
0da46b6e AS |
8422 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
8423 | ||
3c1b433a | 8424 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
0da46b6e | 8425 | |
d06ba294 RS |
8426 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
8427 | ||
8428 | * xdisp.c (message3): Call cancel_echoing. | |
8429 | ||
8430 | * alloc.c (Fmemory_full_p): New function. | |
8431 | (syms_of_alloc): defsubr it. | |
8432 | ||
8433 | * process.c (send_process_trap): Unblock SIGPIPE. | |
8434 | (send_process): Reset SIGPIPE handler before reporting error. | |
8435 | ||
90713743 NR |
8436 | 2005-05-14 Nick Roberts <nickrob@snap.net.nz> |
8437 | ||
8438 | * emacs.c (syms_of_emacs): Fix doc string for system-type. | |
8439 | ||
68780e2a RS |
8440 | 2005-05-13 Richard M. Stallman <rms@gnu.org> |
8441 | ||
8442 | * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. | |
8443 | (Finsert_file_contents): If we read 0 bytes from a special file, | |
8444 | unlock the visited file if we locked it. | |
8445 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | |
03d42907 | 8446 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
68780e2a | 8447 | |
5063dbbf YM |
8448 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8449 | ||
8450 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | |
8451 | ||
3c1b433a SM |
8452 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
8453 | Regard toolkit scroll bar thumb drag events as squeezable and prevent | |
5063dbbf YM |
8454 | redisplay from being paused by them. |
8455 | ||
8456 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | |
8457 | [!MAC_OSX] (target_ticks): Remove variable. | |
8458 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | |
8459 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | |
8460 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | |
3c1b433a | 8461 | event occurs before timeout, behave as if the function were interrupted. |
5063dbbf YM |
8462 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
8463 | handling using Time Manager routines. | |
3c1b433a SM |
8464 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
8465 | New variables. | |
5063dbbf YM |
8466 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
8467 | (setitimer): New functions. | |
8468 | ||
8469 | * macfns.c, macmenu.c: Don't include signal.h. | |
8470 | ||
8471 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): | |
8472 | Rename from get_control_part_bound. All callers changed. | |
8473 | (x_scroll_bar_clear): New function. | |
8474 | (x_clear_frame): Use it. | |
8475 | (XTset_vertical_scroll_bar): Don't call Draw1Control. | |
8476 | (x_scroll_bar_handle_click): Change type of second argument from | |
8477 | int to ControlPartCode. | |
8478 | (check_alarm): Remove declaration. | |
02a6375c YM |
8479 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. |
8480 | (XTread_socket): Use ControlPartCode instead of SInt16. | |
5063dbbf YM |
8481 | |
8482 | 2005-05-13 Nozomu Ando <nand@mac.com> | |
8483 | ||
8484 | * unexmacosx.c: Include assert.h. | |
8485 | (MACOSX_MALLOC_MULT16): New define. | |
8486 | [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether | |
8487 | ptr is in unexec regions by checking it is multiple of 16. | |
8488 | (unexec_malloc_header_t): New typedef. | |
8489 | (unexec_malloc, unexec_realloc, unexec_free): Store and use | |
8490 | allocated size information in unexec_malloc_header. | |
8491 | ||
d101bf56 RS |
8492 | 2005-05-10 Richard M. Stallman <rms@gnu.org> |
8493 | ||
8494 | * xterm.c (noinclude): Add #undef. | |
8495 | ||
8496 | * image.c, xfns.c, xmenu.c: Don't include signal.h. | |
8497 | ||
2f60660a JB |
8498 | 2005-05-09 Juanma Barranquero <lekktu@gmail.com> |
8499 | ||
f1701e65 JB |
8500 | * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) |
8501 | (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): | |
8502 | Doc fixes. | |
8503 | ||
2f60660a JB |
8504 | * dired.c (Ffile_name_completion): Make argument name |
8505 | match its use in docstring. | |
8506 | ||
9f29e806 LT |
8507 | 2005-05-08 Luc Teirlinck <teirllm@auburn.edu> |
8508 | ||
8509 | * eval.c (Fdefvaralias): Remove any pre-existing | |
8510 | variable-documentation property of the alias. | |
8511 | ||
a790bcd4 TTN |
8512 | 2005-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
8513 | ||
8514 | * xfns.c (start_hourglass): Do nothing when running on a tty. | |
8515 | ||
d5fb8dab JB |
8516 | 2005-05-07 Juanma Barranquero <lekktu@gmail.com> |
8517 | ||
8518 | * fns.c (Fchar_table_range): Fix typos in docstring. | |
8519 | ||
7ec64183 SM |
8520 | 2005-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
8521 | ||
8522 | * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. | |
8523 | ||
6ff95f1d EZ |
8524 | 2005-05-06 Eli Zaretskii <eliz@gnu.org> |
8525 | ||
2c6b25c7 EZ |
8526 | * lread.c (Flocate_file_internal): Doc fix. |
8527 | ||
6ff95f1d EZ |
8528 | * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. |
8529 | ||
17d28d26 YM |
8530 | 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8531 | ||
8532 | * macselect.c (x_own_selection): Accept Lisp string as result of | |
8533 | selection converter function. | |
8534 | (x_clear_frame_selections): Don't call x-lost-selection-functions | |
8535 | if Emacs is not owner of the selection. | |
8536 | (Vmac_services_selection): Put variable and initialization in | |
8537 | #ifdef MAC_OSX. | |
8538 | (syms_of_macselect) [MAC_OSX]: Set default value of | |
8539 | Vmac_services_selection to PRIMARY. | |
8540 | ||
7ec64183 SM |
8541 | * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. |
8542 | (mac_handle_tool_bar_click): Remove unused function and declaration. | |
17d28d26 YM |
8543 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) |
8544 | (install_scroll_bar_timer, set_scroll_bar_timer) | |
8545 | (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) | |
8546 | (get_control_part_bound, x_scroll_bar_handle_press) | |
8547 | (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) | |
8548 | (x_set_toolkit_scroll_bar_thumb): New functions and declarations. | |
8549 | [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) | |
8550 | (scroll_bar_timer_event_posted_p): New variables. | |
8551 | [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) | |
8552 | (SCROLL_BAR_CONTINUOUS_DELAY): New macros. | |
8553 | (x_scroll_bar_create): Set control reference with NewControl. | |
7ec64183 SM |
8554 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
8555 | Initialize track_top and track_height to nil. | |
8556 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement): | |
8557 | Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. | |
17d28d26 YM |
8558 | (XTset_vertical_scroll_bar): Don't make space between scroll bar |
8559 | and associated window. | |
8560 | (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width | |
8561 | from window config. | |
7ec64183 SM |
8562 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
8563 | Set track_top and track_height to nil when scroll bar size is changed. | |
17d28d26 YM |
8564 | Recalculate them if they are nil. |
8565 | (XTread_socket) [MAC_OSX]: Use control kind to determine if the | |
8566 | clicked control is a scroll bar. | |
8567 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar | |
8568 | event handler functions. Don't add modifiers to scroll bar click | |
7ec64183 | 8569 | events. Call scroll bar release handler when window is deactivated. |
17d28d26 | 8570 | (mac_initialize): Remove unused code for X toolkit. |
7ec64183 SM |
8571 | (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: |
8572 | Initialize Vx_toolkit_scroll_bars to nil. | |
17d28d26 | 8573 | |
7ec64183 SM |
8574 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
8575 | New members track_top and track_height. | |
17d28d26 YM |
8576 | |
8577 | * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine | |
8578 | init_process when including sys/select.h. | |
8579 | ||
643b4cf5 LT |
8580 | 2005-05-05 Luc Teirlinck <teirllm@auburn.edu> |
8581 | ||
8582 | * eval.c (Fdefvaralias): Doc fix. | |
8583 | ||
8584 | * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
8585 | ||
99bda128 KS |
8586 | 2005-05-05 Kim F. Storm <storm@cua.dk> |
8587 | ||
8588 | * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows | |
8589 | default value. | |
8590 | (syms_of_buffer): Add default-cursor-in-non-selected-windows. | |
8591 | Fix type of cursor-in-non-selected-windows. | |
8592 | ||
3a3563e9 JD |
8593 | 2005-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8594 | ||
8595 | * mac.c: #undef init_process so not to conflict with system headers. | |
8596 | ||
0124c5bd RS |
8597 | 2005-05-02 Richard M. Stallman <rms@gnu.org> |
8598 | ||
8599 | * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. | |
8600 | ||
8601 | * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. | |
8602 | ||
8603 | * xdisp.c (Vcursor_in_non_selected_windows) | |
8604 | (Qcursor_in_non_selected_windows): Vars deleted. | |
8605 | (syms_of_xdisp): Don't initialize them. | |
8606 | (get_window_cursor_type): Use cursor_in_non_selected_windows | |
8607 | buffer slot. | |
8608 | ||
4b3f161f KS |
8609 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
8610 | ||
e40527dc KS |
8611 | * macros.c (executing_kbd_macro_index): Rename from |
8612 | executing_macro_index. All uses changed. | |
8613 | (executing_kbd_macro_iterations): Rename from | |
8614 | executing_macro_iterations. All uses changed. | |
8615 | (executing_kbd_macro): Rename from executing_macro. | |
8616 | All uses changed. | |
8617 | (syms_of_macros): Rename Lisp var executing-macro-index to | |
8618 | executing-kbd-macro-index. | |
8619 | ||
4b3f161f KS |
8620 | * xdisp.c (move_it_in_display_line_to): Fix last change. |
8621 | ||
4d49edf6 LT |
8622 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
8623 | ||
f6b1b15a LT |
8624 | * xmenu.c (Fx_popup_menu): Doc fix. |
8625 | ||
4d49edf6 LT |
8626 | * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. |
8627 | ||
4a766fe6 JR |
8628 | 2005-05-02 Jason Rumney <jasonr@gnu.org> |
8629 | ||
8630 | * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. | |
8631 | ||
c924d3ff TTN |
8632 | 2005-05-02 Nozomu Ando <nand@mac.com> |
8633 | ||
8634 | * sysselect.h: Fix typo. | |
8635 | ||
b161ea4e | 8636 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> |
5c2e5a5e | 8637 | |
b161ea4e NR |
8638 | * charset.c (Fchars_in_region): Remove as obsolete. |
8639 | ||
d37e919d | 8640 | 2005-05-01 Kim F. Storm <storm@cua.dk> |
b161ea4e NR |
8641 | |
8642 | * xdisp.c (move_it_in_display_line_to): Stop if we move beyond | |
7ec64183 | 8643 | TO_CHARPOS. This may happen if last glyphs was an image or stretch |
b161ea4e | 8644 | glyph. |
5c2e5a5e | 8645 | |
bec0b768 LT |
8646 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
8647 | ||
8648 | * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. | |
8649 | ||
ebbfa918 RS |
8650 | 2005-05-01 Richard M. Stallman <rms@gnu.org> |
8651 | ||
8652 | * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): | |
8653 | If user cancels the menu, quit unless FOR_CLICK. | |
8654 | ||
7ec64183 | 8655 | * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. |
ebbfa918 RS |
8656 | All uses changed. |
8657 | (syms_of_macros): Define only executing-kbd-macro, not executing-macro. | |
8658 | * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. | |
8659 | * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. | |
8660 | * commands.h (Vexecuting_kbd_macro): Likewise. | |
8661 | ||
a72c2d97 TTN |
8662 | 2005-05-01 Thien-Thi Nguyen <ttn@gnu.org> |
8663 | ||
8664 | * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. | |
8665 | ||
7e995a23 RS |
8666 | 2005-04-30 Richard M. Stallman <rms@gnu.org> |
8667 | ||
8668 | * fileio.c (Ffind_file_name_handler): Handle the `operations' | |
8669 | property of the file name handler. | |
8670 | (Qoperations): New variable. | |
8671 | (syms_of_fileio): Initialize and staticpro it. | |
8672 | ||
8673 | * xdisp.c (set_message_1): Delete xassert. | |
8674 | ||
7a92caf8 YM |
8675 | 2005-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8676 | ||
7ec64183 | 8677 | * mac.c: Don't include time.h. Include sysselect.h after systime.h. |
7a92caf8 YM |
8678 | |
8679 | * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. | |
8680 | ||
8681 | * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime | |
8682 | before/after including Carbon.h if there is a working mktime. | |
8683 | ||
5ae91803 KS |
8684 | 2005-04-28 Kim F. Storm <storm@cua.dk> |
8685 | ||
8686 | * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. | |
8687 | Fix cyclic alias check. If alias loop is detected, signal | |
8688 | circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. | |
8689 | ||
d79b6c21 LK |
8690 | 2005-04-28 Lute Kamstra <lute@gnu.org> |
8691 | ||
8692 | * eval.c (do_autoload): Record only autoloads in the autoload | |
8693 | property of symbols. | |
8694 | ||
8c75afbf NR |
8695 | 2005-04-28 Nick Roberts <nickrob@snap.net.nz> |
8696 | ||
8697 | * emacs.c (USAGE1): Add --basic-display and --quick options. | |
8698 | ||
832e294f KS |
8699 | 2005-04-27 Kim F. Storm <storm@cua.dk> |
8700 | ||
8701 | * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. | |
8702 | ||
f03f317a RS |
8703 | 2005-04-26 Richard M. Stallman <rms@gnu.org> |
8704 | ||
c019856e RS |
8705 | * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. |
8706 | (syms_of_window): Doc fixes. | |
8707 | ||
f03f317a RS |
8708 | * indent.c (Fvertical_motion): Undo previous change. |
8709 | ||
38f60cd9 KH |
8710 | 2005-04-26 Kenichi Handa <handa@m17n.org> |
8711 | ||
8712 | * fns.c (char_table_range): New function. | |
8713 | (Fchar_table_range): Signal an error if characters in the range | |
8714 | have inconsistent values. Don't check the parent. | |
8715 | ||
87ede5a1 KH |
8716 | 2005-04-25 Kenichi Handa <handa@m17n.org> |
8717 | ||
8718 | * fontset.c (fontset_set): Fix previous change. | |
8719 | ||
a6390474 RS |
8720 | 2005-04-24 Richard M. Stallman <rms@gnu.org> |
8721 | ||
8722 | * indent.c (Fvertical_motion): Bind fontification-functions to nil. | |
8723 | ||
7fce7dfe EZ |
8724 | 2005-04-24 Eli Zaretskii <eliz@gnu.org> |
8725 | ||
cf1982d9 EZ |
8726 | * regex.c (re_search_2, re_match_2_internal): Convert second arg |
8727 | of RE_TRANSLATE to int, to shut up GCC warnings. | |
8728 | ||
7fce7dfe EZ |
8729 | * fileio.c (Fcopy_file): Doc fix. |
8730 | [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and | |
8731 | not needed. | |
8732 | ||
49ed33c7 YM |
8733 | 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8734 | ||
8735 | * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. | |
8736 | (SOME_MACHINE_OBJECTS): Likewise. | |
8737 | (mac.o): Depend on ccl.h. | |
8738 | (macselect.o): New target. | |
8739 | ||
7ec64183 SM |
8740 | * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: |
8741 | Call syms_of_macselect. | |
49ed33c7 YM |
8742 | |
8743 | * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. | |
8744 | ||
7ec64183 | 8745 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. |
49ed33c7 YM |
8746 | (QCLIPBOARD): Remove variable. |
8747 | (syms_of_mac): Don't initialize it. | |
8748 | (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): | |
8749 | Remove functions. | |
8750 | (syms_of_mac): Don't defsubr them. | |
8751 | [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) | |
8752 | (QHFS_plus_D, QHFS_plus_C): New variables. | |
8753 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
8754 | [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) | |
8755 | (cfstring_create_normalized): New functions. | |
8756 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. | |
8757 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
8758 | ||
7ec64183 SM |
8759 | * macterm.c (handling_window_update, terminate_flag): |
8760 | Remove variables. | |
8761 | (do_window_update, do_ae_quit_application, XTread_socket): | |
8762 | Don't use them. | |
49ed33c7 YM |
8763 | (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. |
8764 | [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) | |
8765 | (init_service_handler): Move to macselect.c. Remove declarations. | |
8766 | [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. | |
8767 | (Qapplication, Qabout): New variables. | |
8768 | (syms_of_mac): Initialize them. | |
8769 | [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) | |
8770 | (Qperform): New variables. | |
8771 | (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. | |
7a92caf8 | 8772 | (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. |
49ed33c7 YM |
8773 | (do_menu_choice): Unhighlight menu bar also when menu_id is 0. |
8774 | (mac_store_application_menu_event, init_menu_bar): New functions. | |
8775 | [USE_CARBON_EVENTS] (mac_handle_command_event) | |
8776 | (init_command_handler): New functions. | |
8777 | (mac_handle_window_event): Return noErr on window update event. | |
8778 | (do_ae_quit_application): Call mac_store_application_menu_event. | |
8779 | (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler | |
8780 | and init_menu_bar. | |
8781 | ||
8782 | * macterm.h (x_clear_frame_selections): Add extern. | |
8783 | ||
8784 | * macselect.c: New file for selection processing on Mac OS. | |
8785 | ||
469bc679 RS |
8786 | 2005-04-23 Richard M. Stallman <rms@gnu.org> |
8787 | ||
8788 | * fileio.c (Fcopy_file): New arg MUSTBENEW. | |
8789 | (Frename_file): Pass new arg to Fcopy_file. | |
8790 | ||
8791 | * window.c (window_size_fixed): Variable deleted. | |
8792 | (syms_of_window): Initialize window-size-fixed to nil. | |
8793 | But don't DEFVAR window_size_fixed. | |
8794 | ||
d379c558 AS |
8795 | 2005-04-23 Andreas Schwab <schwab@suse.de> |
8796 | ||
8797 | * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. | |
8798 | (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to | |
8799 | use lib64 instead of lib. | |
8800 | (_LP64) [_ARCH_PPC64]: Define if not defined. | |
8801 | ||
007d105b TTN |
8802 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
8803 | ||
8804 | * s/ms-w32.h (HAVE_PWD_H): Define. | |
8805 | ||
b9c15916 KH |
8806 | 2005-04-22 Kenichi Handa <handa@m17n.org> |
8807 | ||
8808 | * fns.c (copy_sub_char_table): Explicitly copy the default value | |
8809 | of the sub-chartable. | |
8810 | ||
8811 | * fontset.c (fontset_set): When a sub-chartable is created, | |
8812 | explicitly sets the defalt value. | |
8813 | ||
1ba52906 KS |
8814 | 2005-04-22 Kim F. Storm <storm@cua.dk> |
8815 | ||
8816 | * fns.c (Fplist_get): Replace by Fsafe_plist_get. | |
8817 | (Fsafe_plist_get): Rename to Fplist_get. | |
8818 | (Fsafe_get): Remove, as Fget now uses safe Fplist_get. | |
8819 | (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. | |
8820 | ||
8821 | * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. | |
8822 | ||
8823 | * xdisp.c (store_mode_line_string, produce_stretch_glyph) | |
8824 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
8825 | Use Fplist_get instead of Fsafe_plist_get. | |
8826 | ||
8827 | * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. | |
8828 | ||
e235145c MB |
8829 | 2005-04-21 Miles Bader <miles@gnu.org> |
8830 | ||
8831 | * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. | |
8832 | ||
766c5349 TTN |
8833 | 2005-04-20 Thien-Thi Nguyen <ttn@gnu.org> |
8834 | ||
c164a7e6 TTN |
8835 | * sysdep.c: Remove reference to defunct vms-pwd.h. |
8836 | * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. | |
8837 | * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. | |
8838 | ||
766c5349 TTN |
8839 | * config.in: Regenerate. |
8840 | ||
2b048bf5 KH |
8841 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
8842 | ||
8843 | * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. | |
8844 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. | |
8845 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. | |
8846 | ||
8847 | * alloc.c (make_sub_char_table): Argument changed to initial | |
8848 | value of the slots. | |
8849 | ||
8850 | * data.c (Faref): Handle special slots used as default values of | |
8851 | ascii, eight-bit-control, eight-bit-control. Don't ignore a | |
8852 | default value set for a group of characters. | |
8853 | (Faset): Signal an error if IDXVAL is not a valid character code. | |
8854 | Make a sub-chartable with correct initial value. | |
8855 | ||
8856 | * fns.c (Fset_char_table_range): Don't set slots used as default | |
7ec64183 SM |
8857 | values for ascii, eight-bit-control, eight-bit-graphic. |
8858 | Don't call Faref with charset-id. | |
2b048bf5 KH |
8859 | (Fset_char_table_default): Document how to treat normal character |
8860 | argument. Handle special slots used as default values of ascii, | |
8861 | eight-bit-control, eight-bit-control. Make a sub chartable if | |
8862 | necessary. | |
8863 | ||
b0a35939 KH |
8864 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
8865 | ||
8866 | * search.c (boyer_moore): Fix previous change. | |
8867 | ||
98dde726 KS |
8868 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
8869 | ||
8870 | * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default | |
8871 | face unless last visible char and first invisible char have the | |
8872 | same face. Also use default face if saved_face_id is undefined. | |
8873 | ||
327a3376 YM |
8874 | 2005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8875 | ||
8876 | * macgui.h (MacFontStruct): Remove member `fontname'. Add member | |
8877 | `full_name'. | |
8878 | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for | |
8879 | mac_scriptcode member. | |
8880 | ||
8881 | * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. | |
8882 | (syms_of_mac): Don't initialize them. | |
8883 | (Vmac_charset_info_alist): New variable. | |
8884 | (syms_of_mac): Defvar it. | |
8885 | (create_text_encoding_info_alist): New function. | |
8886 | (decode_mac_font_name, mac_to_x_fontname) | |
8887 | (x_font_name_to_mac_font_name, init_font_name_table): Don't hard | |
8888 | code the correspondence among XLFD charsets, Mac script codes, and | |
8889 | Emacs coding systems. Use Vmac_charset_info_alist and result of | |
8890 | create_text_encoding_info_alist instead. | |
8891 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager | |
8892 | routines also on Mac OS Classic. | |
7ec64183 SM |
8893 | (init_font_name_table) [!TARGET_API_MAC_CARBON]: |
8894 | Use add_font_name_table_entry. | |
327a3376 YM |
8895 | (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as |
8896 | specified. Derive unspecified scalable fields from specified one. | |
8897 | (x_list_fonts): Consider Valternate_fontname_alist. | |
8898 | (kDefaultFontSize): Change value from 9 to 12. | |
8899 | (XLoadQueryFont): Get decoded font family, font face, and charset | |
8900 | from x_font_name_to_mac_font_name. Set full name of loaded font. | |
8901 | (mac_unload_font): Free `full_name' member. | |
8902 | (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns | |
8903 | NULL. Copy full_name member of struct MacFontStruct to that of | |
8904 | struct font_info. | |
8905 | ||
d0636839 KS |
8906 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
8907 | ||
5827e9d4 KS |
8908 | * xdisp.c (handle_stop): Set saved_face_id to current face if |
8909 | selective_display_ellipsis_p so ellipsis will be shown in same | |
8910 | face as preceding text. | |
8911 | (setup_for_ellipsis): Don't set saved_face_id here. | |
8912 | (next_element_from_display_vector): Default to saved_face_id. | |
8913 | ||
d0636839 KS |
8914 | * fns.c (Fsafe_get): New function. |
8915 | (syms_of_fns): Defsubr it. | |
8916 | ||
8917 | * lisp.h (Fsafe_get): EXFUN it. | |
8918 | ||
8919 | * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay | |
8920 | loops in case of bad face property lists. Limit number of face | |
8921 | alias lookups to 10 (in case of face alias loops). | |
8922 | ||
e5c78c9d KS |
8923 | 2005-04-18 Kim F. Storm <storm@cua.dk> |
8924 | ||
8925 | * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. | |
8926 | It replaces the corresponding member from struct window, as a | |
8927 | window may now show multiple overlay arrows. | |
8928 | Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. | |
8929 | ||
8930 | * dispnew.c (row_equal_p, update_window_line, scrolling_window): | |
8931 | Compare overlay_arrow_bitmap than overlay_arrow_p members. | |
8932 | ||
8933 | * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row | |
8934 | rather than from window. | |
8935 | (update_window_fringes): Compare overlay_arrow_bitmap rather than | |
8936 | overlay_arrow_p members. | |
8937 | (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name | |
8938 | if not default. | |
8939 | ||
8940 | * window.h (struct window): Remove member overlay_arrow_bitmap. | |
8941 | ||
8942 | * window.c (make_window): Don't initialize overlay_arrow_bitmap. | |
8943 | ||
8944 | * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. | |
8945 | Calls changed. Don't check for overlay-arrow-bitmap property here. | |
8946 | (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left | |
8947 | fringe is present, return Lisp integer for bitmap (or -1 for default). | |
8948 | Fix value of overlay-arrow-bitmap property to be a symbol, use | |
8949 | lookup_fringe_bitmap to parse it. | |
8950 | (display_line): Change call to overlay_arrow_at_row. Store integer | |
8951 | return value as overlay bitmap in row rather than window. | |
8952 | Only show overlay arrow if row displays text, or if no other overlay | |
8953 | arrow is seen in window (if overlay marker is at point-max). | |
8954 | ||
7d603e3f TTN |
8955 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
8956 | ||
8957 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | |
8958 | ||
9942fa0c LK |
8959 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
8960 | ||
8961 | * lread.c (Vloads_in_progress): Static. | |
8962 | * fns.c (Vloads_in_progress): Remove extern. | |
8963 | (load_in_progress): Add extern. | |
8964 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | |
8965 | ||
999cdb8f TTN |
8966 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
8967 | ||
8968 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | |
8969 | ||
3f4413f8 YM |
8970 | 2005-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8971 | ||
8972 | * macterm.c (XTread_socket): Don't beep on keyboard input even if | |
8973 | no frame is visible. | |
8974 | ||
60ec7b7e DN |
8975 | 2005-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
8976 | ||
8977 | * term.c (struct keys): Add support for shifted keys. | |
8978 | ||
a8a1c0ee RS |
8979 | 2005-04-16 Richard M. Stallman <rms@gnu.org> |
8980 | ||
8981 | * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. | |
8982 | (set_message): Call with_echo_area_buffer with WHICH = 0. | |
8983 | (set_message_1): Erase the echo area buffer first thing. | |
8984 | (echo_area_display): Don't clear echo_message_buffer. | |
8985 | ||
f3cf04d3 YM |
8986 | 2005-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8987 | ||
8988 | * Makefile.in (mac.o): Depend on charset.h and coding.h. | |
8989 | ||
8990 | * mac.c: Include charset.h and coding.h. | |
8991 | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. | |
7ec64183 | 8992 | [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. |
f3cf04d3 YM |
8993 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. |
8994 | ||
8995 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
8996 | ||
8997 | * image.c [MAC_OSX] (image_load_quartz2d): Likewise. | |
8998 | ||
8999 | * macterm.c (x_autoselect_window_p): Remove variable. | |
9000 | (last_window): New variable. | |
7ec64183 SM |
9001 | (XTreassert_line_highlight, x_change_line_highlight): |
9002 | Remove declarations. | |
f3cf04d3 YM |
9003 | (mac_focus_changed, x_detect_focus_change): New functions and |
9004 | declarations. | |
9005 | (XTextExtents16, front_emacs_window): Remove function. | |
9006 | (mac_focus_frame): New function. | |
9007 | (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) | |
9008 | (mac_check_for_quit_char): Use it instead of front_emacs_window. | |
9009 | (x_scroll_bar_report_motion): Obtain window from control owner. | |
9010 | (x_make_frame_invisible): Set window manager size hint. | |
9011 | (do_mouse_moved): Remove function. | |
9012 | (XTread_socket): Move its contents here. Generate select-window | |
9013 | event on mouse movement if needed. Use x_detect_focus_change on | |
9014 | activate/deactivate events. Don't deiconify frame or invalidate | |
7ec64183 SM |
9015 | window rectangle when dnd items are dropped. |
9016 | Don't activate/deactivate root control. | |
f3cf04d3 YM |
9017 | (frame_highlight, frame_unhighlight): Activate/deactivate root |
9018 | control here. | |
9019 | (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. | |
9020 | ||
9021 | * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: | |
9022 | New extern. | |
9023 | ||
9e5b2858 LT |
9024 | 2005-04-15 Luc Teirlinck <teirllm@auburn.edu> |
9025 | ||
9026 | * Makefile.in: Define new macro TOOLTIP_SUPPORT. | |
9027 | (lisp): Use it. | |
9028 | (SOME_MACHINE_LISP): Add tooltip. | |
9029 | ||
42c6741e YM |
9030 | 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9031 | ||
7ec64183 SM |
9032 | * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. |
9033 | Don't include TextEncodingConverter.h. | |
42c6741e YM |
9034 | (mac_system_script_code, Vmac_system_locale): New variables. |
9035 | (syms_of_mac): Defvar them. | |
9036 | (mac_get_system_locale): New function. | |
9037 | ||
7ec64183 SM |
9038 | * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: |
9039 | Use ENCODE_SYSTEM to encode title bar string. | |
42c6741e | 9040 | (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. |
7ec64183 SM |
9041 | (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: |
9042 | Use CFStringGetSystemEncoding to get system default string encoding. | |
42c6741e YM |
9043 | |
9044 | * macterm.c [!TARGET_API_MAC_CARBON]: Don't include | |
9045 | TextEncodingConverter.h. | |
9046 | ||
0614c575 ST |
9047 | 2005-04-13 Steven Tamm <steventamm@mac.com> |
9048 | ||
7e26f91b KS |
9049 | * macterm.c (syms_of_macterm): Remove redundant definition of |
9050 | mac-pass-control-to-system. | |
0614c575 | 9051 | |
203eb0aa SM |
9052 | 2005-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
9053 | ||
9054 | * window.c (Fset_window_configuration): Be careful when you choose | |
9055 | among several possible points for the new_current_buffer. | |
9056 | ||
a56e6111 YM |
9057 | 2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9058 | ||
9059 | * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call | |
9060 | poll_for_input_1. Set interrupt_input_pending to 1 instead. | |
b7461be9 YM |
9061 | (Qlanguage_change) [MAC_OS]: New variable. |
9062 | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. | |
203eb0aa | 9063 | (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. |
b7461be9 YM |
9064 | |
9065 | * macterm.c (mac_keyboard_text_encoding) | |
9066 | (current_mac_keyboard_text_encoding): Remove variables. | |
5e1a6e32 | 9067 | (XTread_socket): Store language-change event if keyboard script change |
7e26f91b | 9068 | is detected. Don't convert input to `mac_keyboard_text_encoding'. |
203eb0aa | 9069 | (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. |
b7461be9 | 9070 | |
7e26f91b | 9071 | * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. |
a56e6111 | 9072 | |
6695c528 RS |
9073 | 2005-04-10 Richard M. Stallman <rms@gnu.org> |
9074 | ||
9075 | * emacs.c (standard_args): Rename --bare-bones to --quick. | |
9076 | Add -D aka --basic-display. | |
9077 | ||
9078 | * buffer.c (Fmake_indirect_buffer): Clear out some local variables. | |
9079 | ||
18e2d91f RS |
9080 | 2005-04-09 Richard M. Stallman <rms@gnu.org> |
9081 | ||
9082 | * keymap.c (where_is_internal): Convert a string used as event type | |
9083 | into "(any string)". | |
9084 | ||
9085 | * lread.c (Vloads_in_progress): Not static. | |
18e2d91f RS |
9086 | * fns.c (Vloads_in_progress): Add extern. |
9087 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | |
9088 | ||
9089 | 2005-04-09 Thien-Thi Nguyen <ttn@surf.glug.org> | |
9090 | ||
9091 | * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. | |
9092 | ||
1cf21850 LK |
9093 | 2005-04-09 Lute Kamstra <lute@gnu.org> |
9094 | ||
9095 | * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is | |
9096 | within the accessible part of the buffer. | |
9097 | ||
bfd93240 KS |
9098 | 2005-04-09 Kim F. Storm <storm@cua.dk> |
9099 | ||
9100 | * lread.c (readevalloop): Add args START and END as region in | |
9101 | current buffer to read. Callers changed. | |
9102 | When specified, narrow to this region only when reading, | |
9103 | not during eval. Track next point to read from during eval. | |
9104 | Also restore point to "real" buffer position before eval. | |
9105 | (Feval_region): Don't save excursion and restriction here, and | |
9106 | don't narrow to region. Just pass region to readevalloop. | |
9107 | Note: Point is now preserved even when PRINTFLAG is nil. | |
9108 | ||
9ba27690 KS |
9109 | 2005-04-08 Kim F. Storm <storm@cua.dk> |
9110 | ||
9111 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | |
9112 | ||
73f0d996 KS |
9113 | 2005-04-06 Kim F. Storm <storm@cua.dk> |
9114 | ||
9115 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | |
9116 | ||
369f76bb YM |
9117 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9118 | ||
9119 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | |
9120 | (Fmac_get_preference): Doc fix. | |
9121 | ||
203eb0aa SM |
9122 | * macfns.c (Fx_create_frame, x_create_tip_frame): |
9123 | Add "fontset-mac" to fallback font/fontsets. | |
369f76bb | 9124 | |
2ba613a6 KS |
9125 | 2005-04-04 Kim F. Storm <storm@cua.dk> |
9126 | ||
4d5ddddc KS |
9127 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. |
9128 | ||
2ba613a6 KS |
9129 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. |
9130 | Call it again after autoload. | |
9131 | ||
1673df2e JD |
9132 | 2005-04-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9133 | ||
9134 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | |
9135 | mallopt. | |
9136 | ||
9137 | * ralloc.c (r_alloc_init): Ditto. | |
9138 | ||
41639988 KH |
9139 | 2005-04-01 Kenichi Handa <handa@m17n.org> |
9140 | ||
1cf21850 LK |
9141 | * lisp.h (Vascii_upcase_table, Vascii_canon_table) |
9142 | (Vascii_eqv_table): Extern them. | |
41639988 KH |
9143 | |
9144 | * casetab.c (set_case_table): If standard is nonzero, setup | |
9145 | Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. | |
9146 | ||
9147 | * search.c (looking_at_1): Use current_buffer->case_canon_table, | |
9148 | not DOWNCASE_TABLE. | |
9149 | (string_match_1): Likewise. | |
9150 | (fast_c_string_match_ignore_case): Use Vascii_canon_table, not | |
9151 | Vascii_downcase_table. | |
9152 | (fast_string_match_ignore_case): Likewise. | |
9153 | (search_buffer): Fix checking of boyer-moore usability. | |
203eb0aa SM |
9154 | (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. |
9155 | No need of tranlating characters in PAT. Fix calculation of | |
41639988 KH |
9156 | simple_translate. |
9157 | ||
6ca53601 SM |
9158 | 2005-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
9159 | ||
9160 | * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. | |
9161 | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. | |
9162 | Use XtNtopShadowPixel and XtNbottomShadowPixel. | |
9163 | (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't | |
9164 | really work and that breaks with some versions of Xaw3d. | |
9165 | ||
fafbb99d | 9166 | 2005-03-31 Kenichi Handa <handa@m17n.org> |
bf762c98 KH |
9167 | |
9168 | * coding.c (syms_of_coding): Fix previous change. | |
9169 | ||
6ca53601 SM |
9170 | 2005-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
9171 | ||
9172 | * fileio.c (search_embedded_absfilename): Fix last change. | |
9173 | ||
bf762c98 KH |
9174 | 2005-03-25 Kenichi Handa <handa@m17n.org> |
9175 | ||
9176 | * coding.c (syms_of_coding): Suggest to use set-coding-category in | |
9177 | the docstring of coding-category-list. | |
9178 | ||
f793f885 KS |
9179 | 2005-03-31 Kim F. Storm <storm@cua.dk> |
9180 | ||
9181 | * keyboard.c (Qmouse_fixup_help_message): New var. | |
9182 | (syms_of_keyboard): Intern and staticpro it. | |
9183 | (show_help_echo): Apply mouse-fixup-help-message to help string. | |
9184 | ||
c364fe19 KS |
9185 | 2005-03-30 Kim F. Storm <storm@cua.dk> |
9186 | ||
9187 | * xdisp.c (display_line): Allow multiple overlay arrows in window. | |
9188 | ||
c70a4df6 SM |
9189 | 2005-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
9190 | ||
9191 | * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. | |
9192 | (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. | |
9193 | (Ffile_name_absolute_p): Use it. | |
9194 | (search_embedded_absfilename): New fun, extracted from | |
9195 | Fsubstitute_in_file_name. Use file_name_absolute_p. | |
9196 | Free the pw data after use. | |
9197 | (Fsubstitute_in_file_name): Use it. | |
9198 | After cutting a prefix, re-check file-name-handler. | |
9199 | ||
6e7d0438 JR |
9200 | 2005-03-26 Lennart Borgman <lennart.borgman.073@student.lu.se> |
9201 | ||
6ca53601 | 9202 | * w32term.h (x_output): Add focus_state. |
6e7d0438 JR |
9203 | |
9204 | * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. | |
9205 | (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change. | |
9206 | ||
65671706 SM |
9207 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
9208 | ||
9209 | * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): | |
9210 | Use Fexit_minibuffer. | |
9211 | (Fexit_minibuffer): Mark it as no-return, deactivate the mark. | |
9212 | ||
0de4dad4 SM |
9213 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
9214 | ||
781da985 SM |
9215 | * dired.c (Ffile_attributes): Add a missing gcpro. |
9216 | ||
0de4dad4 SM |
9217 | * alloc.c (make_number): The arg can be bigger than `int'. |
9218 | * lisp.h (make_number): Make prototype more precise. | |
9219 | ||
9220 | * process.c, dired.c (Vfile_name_coding_system) | |
9221 | (Vdefault_file_name_coding_system): | |
9222 | * callproc.c (Vdoc_file_name, Vfile_name_coding_system) | |
9223 | (Vdefault_file_name_coding_system): Remove unused declarations. | |
9224 | ||
ff18668f JD |
9225 | 2005-03-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9226 | ||
9227 | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | |
9228 | if it failed to pop up (Gnome "show pointer on ctrl" option makes | |
9229 | menus fail to pop up). | |
9230 | ||
0de4dad4 | 9231 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
66347da7 SM |
9232 | |
9233 | * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. | |
0de4dad4 | 9234 | Just prepend a backslash without replacing the NBSP by an SPC. |
66347da7 | 9235 | |
8df0ffbe KS |
9236 | 2005-03-22 Kim F. Storm <storm@cua.dk> |
9237 | ||
9238 | * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. | |
9239 | * dispextern.h (lookup_derived_face): Fix prototype. | |
9240 | * msdos.c (XMenuActivate): Fix call to lookup_derived_face. | |
9241 | ||
9242 | * xdisp.c (handle_single_display_spec): Derive left-fringe and | |
9243 | right-fringe face from fringe face. | |
9244 | ||
9245 | * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): | |
9246 | Derive face from fringe face. | |
9247 | ||
6ca30ba4 JD |
9248 | 2005-03-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9249 | ||
9250 | * xrdb.c (x_load_resources): Undo previous change (2005-03-18). | |
9251 | ||
d615870a DK |
9252 | 2005-03-22 David Kastrup <dak@gnu.org> |
9253 | ||
9254 | * textprop.c (Fnext_char_property_change) | |
66347da7 | 9255 | (Fprevious_char_property_change): Allow marker as limit. |
d615870a DK |
9256 | (Fnext_single_char_property_change) |
9257 | (Fprevious_single_char_property_change): Check that limit is a | |
9258 | number in strings. | |
9259 | (Fnext_single_char_property_change): Coerce position to integer. | |
9260 | (Fprevious_single_char_property_change): Same here. | |
9261 | ||
32b939ea TTN |
9262 | 2005-03-21 Thien-Thi Nguyen <ttn@gnu.org> |
9263 | ||
9264 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. | |
9265 | ||
6027e473 SM |
9266 | 2005-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
9267 | ||
9268 | * frame.c (Fignore_event): Remove. | |
9269 | (syms_of_frame): Don't defsubr it. | |
9270 | ||
9271 | * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the | |
9272 | redundant `ignore-event'. | |
9273 | ||
730f4d72 EZ |
9274 | 2005-03-19 Eli Zaretskii <eliz@gnu.org> |
9275 | ||
9276 | * unexec.c (write_segment, unexec): Move these functions to avoid | |
9277 | forward references (which cause errors with "gcc -gcoff"). | |
9278 | ||
c7f6afd5 JD |
9279 | 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9280 | ||
6027e473 | 9281 | * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so |
9188be47 | 9282 | that it doesn't become "tooltip". The specbind is enough. |
8d5980cf | 9283 | |
c7f6afd5 JD |
9284 | * xrdb.c (x_load_resources): Use different char *helv when I18N |
9285 | is present. | |
9286 | ||
db328182 KH |
9287 | 2005-03-17 Kenichi Handa <handa@m17n.org> |
9288 | ||
66347da7 | 9289 | * coding.c (syms_of_coding): Docstring of coding-category-list fixed. |
db328182 | 9290 | |
211f2210 SM |
9291 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
9292 | ||
9293 | * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: | |
9294 | Use xic_create_fontsetname even for non-Motif menus. | |
9295 | Don't forget to free the fontsetname. | |
9296 | ||
9297 | * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. | |
9298 | ||
c7bd5d57 RS |
9299 | 2005-03-17 Richard M. Stallman <rms@gnu.org> |
9300 | ||
9301 | * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. | |
9302 | ||
9303 | * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) | |
9304 | (Fmake_symbolic_link): Use G to read the new file name. | |
9305 | ||
9306 | * callint.c (Finteractive): Document G option. | |
9307 | (Fcall_interactively): Implement G option. | |
9308 | ||
9309 | * buffer.c (buffer_lisp_local_variables): New function, | |
9310 | broken out from Fbuffer_local_variables. | |
9311 | (clone_per_buffer_values): Use buffer_lisp_local_variables. | |
9312 | ||
888953f1 SM |
9313 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
9314 | ||
3c916d65 SM |
9315 | * xfns.c (xic_create_fontsetname): Add `motif' argument. |
9316 | Always return a freshly allocated string. | |
9317 | (xic_create_xfontset): Adjust call. | |
9318 | ||
9319 | * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: | |
9320 | Use xic_create_fontsetname to create a fontset so utf-8 locales work. | |
9321 | (dump_realized_face): Fix warning. | |
9322 | ||
9f9e5275 SM |
9323 | * emacs.c (Fkill_emacs): YAILOM. |
9324 | ||
888953f1 SM |
9325 | * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. |
9326 | ||
48502d68 YM |
9327 | 2005-03-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9328 | ||
9329 | * mac.c (HASHKEY_TERMINAL): Remove. | |
9330 | (HASHKEY_MAX_NID): New macro. | |
9331 | (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra | |
9332 | argument. | |
888953f1 | 9333 | (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. |
48502d68 YM |
9334 | (xrm_create_database, xrm_q_put_resource) |
9335 | (xrm_merge_string_database, xrm_q_get_resource_1) | |
9336 | (xrm_q_get_resource): Change resource database representation so | |
9337 | that it may not use multiple hash tables for a single database. | |
9338 | [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. | |
9339 | ||
d5161e8c SM |
9340 | 2005-03-16 Stefan Monnier <monnier@iro.umontreal.ca> |
9341 | ||
11a646cd SM |
9342 | * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. |
9343 | ||
9344 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the | |
9345 | locale-coding-system, as was already done for WINDOWSNT. | |
9346 | ||
d5161e8c SM |
9347 | * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta |
9348 | translation for chars in the 0-255 range. | |
9349 | ||
568b6e41 LK |
9350 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
9351 | ||
9352 | * floatfns.c (Ffloor): Doc fix. | |
9353 | ||
469fb3cf YM |
9354 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9355 | ||
9356 | * mac.c: Include macterm.h instead of directly including Carbon.h. | |
9357 | [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) | |
9358 | (Qarray, Qdictionary): New variables. | |
9359 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
9360 | [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. | |
9361 | [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. | |
9362 | [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used | |
9363 | in callback for CFDictionaryApplyFunction. | |
9364 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
9365 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
9366 | (cfobject_desc_to_lisp, cfdictionary_add_to_list) | |
9367 | (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. | |
9368 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. | |
9369 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
9370 | (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. | |
3d454340 | 9371 | (skip_white_space, parse_comment, parse_include_file) |
469fb3cf YM |
9372 | (parse_binding, parse_component, parse_resource_name, parse_value) |
9373 | (parse_resource_line, xrm_create_database, xrm_q_put_resource) | |
9374 | (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) | |
d5161e8c SM |
9375 | (xrm_cfproperty_list_to_value, xrm_get_preference_database): |
9376 | New functions. | |
469fb3cf YM |
9377 | |
9378 | * macfns.c (mac_get_rdb_resource): Remove function. | |
9379 | (x_get_string_resource): Use xrm_get_resource. | |
9380 | ||
9381 | * macgui.h (XrmDatabase): Typedef to Lisp_Object. | |
9382 | ||
9383 | * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of | |
9384 | name_list_element. | |
9385 | (mac_make_rdb): Create resource database from preferences and | |
9386 | argument string. | |
9387 | (mac_term_init): Save resource database to cddr part of | |
9388 | name_list_element. | |
9389 | ||
9390 | * macterm.h (xrm_merge_string_database, xrm_get_resource) | |
9391 | (xrm_get_preference_database): Add externs. | |
9392 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
9393 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
9394 | (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. | |
9395 | ||
9396 | * process.c (init_process): Change `#ifdef DARWIN' to `#if | |
9397 | defined (DARWIN) || defined (MAC_OSX)' | |
9398 | ||
9399 | * s/darwin.h (DARWIN): Don't define. | |
9400 | ||
6a3fac90 YM |
9401 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9402 | ||
9403 | * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): | |
9404 | Remove unused variables. | |
9405 | (syms_of_macfns): Don't initialize them. Likewise for | |
9406 | Qface_set_after_frame_default. Defvar and initialize | |
9407 | Vx_window_horizontal_drag_shape. | |
9408 | (x_set_mouse_color): Change mouse pointer shape. | |
9409 | (mac_window) [!MAC_OSX]: Create root control. | |
469fb3cf | 9410 | (Fx_create_frame): Remove initializations of mouse pointer shapes. |
6a3fac90 YM |
9411 | (hourglass_started): New function (from xfns.c). |
9412 | (start_hourglass, cancel_hourglass): Put function body in #ifdef | |
9413 | MAC_OSX. | |
9414 | (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress | |
9415 | indicator for each non-tooltip frame if needed, and show it. | |
d5161e8c | 9416 | (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. |
6a3fac90 YM |
9417 | |
9418 | * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and | |
9419 | Controls.h. Use ThemeCursor instead of CursHandle. | |
9420 | ||
d5161e8c SM |
9421 | * macterm.c (activate_scroll_bars, deactivate_scroll_bars): |
9422 | Remove functions and declarations. | |
9423 | (mac_set_colors): Take argument for saving background color. | |
9424 | All callers changed. | |
6a3fac90 YM |
9425 | (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) |
9426 | (mac_draw_rectangle, mac_draw_string_common): Save and Restore | |
9427 | background color. | |
9428 | (x_update_end, mac_do_track_drag): Don't reset background color. | |
d5161e8c SM |
9429 | (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: |
9430 | Use SetThemeCursor. | |
6a3fac90 YM |
9431 | (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress |
9432 | indicator control to the upper-right corner of the window. | |
9433 | (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. | |
9434 | (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. | |
9435 | (do_window_update): Update controls after updating content area. | |
9436 | (mac_handle_window_event): Remove unused extern. | |
9437 | (XTread_socket): Check both control handle and control part code | |
9438 | to determine whether a scroll bar is clicked. Activate/deactivate | |
9439 | root control instead of contained scroll bar controls. | |
9440 | (make_mac_terminal_frame): Use ThemeCursor constants. | |
9441 | ||
d5161e8c SM |
9442 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: |
9443 | New member hourglass_control. | |
6a3fac90 | 9444 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. |
d5161e8c | 9445 | (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. |
6a3fac90 | 9446 | |
a7321976 YM |
9447 | 2005-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9448 | ||
9449 | * macterm.c (keycode_to_xkeysym_table): Change mapping so that it | |
6a3fac90 | 9450 | coincides with that in Apple X11 except `clear', `enter' on |
a7321976 YM |
9451 | laptops, and fn + `enter' on laptops. |
9452 | ||
f7b758bd SM |
9453 | 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
9454 | ||
9455 | * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | |
9456 | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. | |
9457 | (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | |
9458 | ||
9459 | * xfns.c (xic_defaut_fontset): New constant. | |
9460 | (xic_create_fontsetname): New function. | |
9461 | Extracted from create_frame_xic. Try to generate a slightly | |
9462 | better fontset. | |
9463 | (xic_create_xfontset): Use it. | |
9464 | (create_frame_xic): Simplify. | |
9465 | ||
dac24db4 SM |
9466 | 2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
9467 | ||
9468 | * fileio.c (Fmake_symbolic_link): Fix last change. | |
9469 | ||
e0402468 RS |
9470 | 2005-03-11 Richard M. Stallman <rms@gnu.org> |
9471 | ||
9472 | * fileio.c (Frename_file, Fadd_name_to_file) | |
9473 | (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, | |
9474 | expand the basename of FILE relative to it. | |
9475 | ||
fa815b14 KH |
9476 | 2005-03-11 Kenichi Handa <handa@m17n.org> |
9477 | ||
9478 | * fileio.c (Finsert_file_contents): Call Fcheck_coding_system | |
9479 | before calling setup_coding_system so that autoloading of a coding | |
9480 | system work. | |
9481 | ||
817d354b JD |
9482 | 2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9483 | ||
68a505ef JD |
9484 | * xfns.c (hourglass_started): New function. |
9485 | ||
9486 | * dispextern.h: Declare hourglass_started. | |
9487 | ||
9488 | * keyboard.c (Fexecute_extended_command): Restart hourglass | |
9489 | after call to Fcompleting_read if already started. | |
9490 | ||
817d354b JD |
9491 | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the |
9492 | GTK main loop is entered in xterm.c, thus doing the redraw. | |
9493 | ||
b0a6f45c KS |
9494 | 2005-03-10 Kim F. Storm <storm@cua.dk> |
9495 | ||
9496 | * xdisp.c (pos_visible_p): Fix X value in last line of buffer. | |
9497 | ||
ee5d57b0 KH |
9498 | 2005-03-08 Kenichi Handa <handa@m17n.org> |
9499 | ||
9500 | * frame.c (x_set_font): Call set_default_ascii_font if an | |
9501 | available font is found. | |
9502 | ||
9503 | * fontset.c (set_default_ascii_font): New function. | |
dac24db4 | 9504 | (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. |
ee5d57b0 KH |
9505 | |
9506 | * fontset.h (set_default_ascii_font): Extern it. | |
9507 | ||
f30c4a5c KS |
9508 | 2005-03-07 Kim F. Storm <storm@cua.dk> |
9509 | ||
3fb26a86 KS |
9510 | * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. |
9511 | (clear_image_cache_count): New var. | |
9512 | (redisplay_internal): Don't clear face and image caches in the | |
9513 | middle of redisplay; do it afterwards. | |
9514 | ||
a54595d4 KS |
9515 | * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. |
9516 | ||
f30c4a5c KS |
9517 | * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos |
9518 | is valid. If not, clear phys_cursor_on_p and return. | |
9519 | ||
3d182f9d AS |
9520 | 2005-03-07 Andreas Schwab <schwab@suse.de> |
9521 | ||
9522 | * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. | |
9523 | ||
85d964de RS |
9524 | 2005-03-06 Richard M. Stallman <rms@gnu.org> |
9525 | ||
9526 | * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. | |
9527 | ||
9528 | * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. | |
9529 | (Feval, Ffuncall): Use CHECK_CONS_LIST. | |
9530 | ||
9531 | * lisp.h (CHECK_CONS_LIST): New macro (two definitions). | |
9532 | ||
9533 | * blockinput.h (UNBLOCK_INPUT_TO): New macro. | |
9534 | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. | |
9535 | ||
3ff96c81 JL |
9536 | 2005-03-05 Juri Linkov <juri@jurta.org> |
9537 | ||
9538 | * emacs.c (USAGE1): Replace Info node name "command arguments" | |
9539 | with "emacs invocation". | |
9540 | (USAGE3): Fix usage of `--color=MODE' which actually doesn't | |
9541 | allow arguments `--color' and `MODE' to be separated by space. | |
9542 | Add --no-blinking-cursor, -nbc. | |
9543 | (standard_args): Add -nbc, --no-blinking-cursor. | |
9544 | ||
64eb0083 TTN |
9545 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
9546 | ||
9547 | * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. | |
9548 | * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. | |
9549 | * fileio.c (Fexpand_file_name) [VMS]: | |
9550 | Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. | |
9551 | * doc.c (munge_doc_file_name) [VMS]: Likewise. | |
9552 | (Fsnarf_documentation): Call munge_doc_file_name. | |
9553 | ||
ad708ae5 TTN |
9554 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
9555 | ||
9556 | * s/vms.h (FILE_SYSTEM_CASE): New macro. | |
9557 | * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name | |
9558 | "manually"; this is now handled generally via FILE_SYSTEM_CASE. | |
9559 | ||
ba025f6d YM |
9560 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9561 | ||
9562 | * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if | |
9563 | defined (MAC_OSX) && defined (HAVE_CARBON)'. | |
ad708ae5 | 9564 | |
dac24db4 | 9565 | * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. |
ba025f6d YM |
9566 | |
9567 | * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
9568 | [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. | |
dac24db4 | 9569 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. |
ba025f6d YM |
9570 | (mac_clear_font_name_table): Move extern to macterm.h. |
9571 | ||
9572 | * macfns.c (install_window_handler): Move extern to macterm.h. | |
9573 | (Fx_file_dialog): Check STRINGP (default_filename) to see it is | |
9574 | valid. Don't check !NILP (dir) because it is already checked with | |
9575 | CHECK_STRING. | |
9576 | (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for | |
dac24db4 | 9577 | specifying the default location and obtaining the selected filename. |
ba025f6d YM |
9578 | |
9579 | * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
9580 | ||
2313f861 | 9581 | * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that |
ba025f6d YM |
9582 | are included via Carbon.h. |
9583 | ||
dac24db4 SM |
9584 | * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: |
9585 | Define USE_CARBON_EVENTS to 1. | |
2313f861 | 9586 | (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. |
ba025f6d YM |
9587 | (x_free_frame_resources): Call remove_window_handler for |
9588 | non-tooltip windows. | |
9589 | [TARGET_API_MAC_CARBON]: Don't include headers that are included | |
9590 | via Carbon.h. | |
9591 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
9592 | (mac_do_receive_dragUPP): New variables. | |
9593 | (mac_handle_service_event, init_service_handler): Put declarations | |
9594 | and definitions in #ifdef MAC_OSX. | |
9595 | (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for | |
9596 | drag-and-drop handler functions and register them. | |
9597 | (remove_window_handler): New function. | |
dac24db4 SM |
9598 | (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: |
9599 | Use fsspec_to_posix_pathname. | |
ba025f6d YM |
9600 | (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. |
9601 | (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. | |
dac24db4 SM |
9602 | [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: |
9603 | Set default cursors. | |
ba025f6d YM |
9604 | (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX] : Don't call |
9605 | init_service_handler or init_quit_char_handler. | |
9606 | (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. | |
9607 | ||
9608 | * macterm.h (install_window_handler, remove_window_handler) | |
9609 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) | |
9610 | (mac_clear_font_name_table): New externs. | |
ad708ae5 | 9611 | |
c1558952 TTN |
9612 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
9613 | ||
9614 | * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. | |
9615 | (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. | |
9616 | (Fexpand_file_name): Likewise. | |
9617 | ||
fa439170 TTN |
9618 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
9619 | ||
9620 | * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; | |
9621 | no longer special-case VMS. Add bogus return value. | |
9622 | ||
db2dacf6 KS |
9623 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
9624 | ||
9625 | * dispextern.h (XASSERTS): Define to 0 if not already defined. | |
9626 | (xassert) [!XASSERTS]: Define dummy version. | |
9627 | ||
0870514c KS |
9628 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
9629 | ||
9630 | * xdisp.c (redisplay_window): YABX (yet another bogus xassert). | |
9631 | Reported by David Kastrup. | |
9632 | ||
6b640092 KS |
9633 | 2005-03-01 Ehud Karni <ehud@unix.mvs.co.il> |
9634 | ||
9635 | * xdisp.c (get_next_display_element): Fix control and escape | |
9636 | glyph from display vector. | |
9637 | ||
f4a5a485 SM |
9638 | 2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca> |
9639 | ||
9640 | * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. | |
9641 | ||
85d964de RS |
9642 | 2005-02-27 Richard M. Stallman <rms@gnu.org> |
9643 | ||
9644 | * xdisp.c (fast_find_position): Rename END to BEG. | |
9645 | (syms_of_xdisp) <menu-bar-update-hook>: Doc fix. | |
9646 | ||
6e8db3ea JD |
9647 | 2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9648 | ||
f4a5a485 | 9649 | * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to |
6e8db3ea JD |
9650 | gtk_window_resize and x_wm_set_size_hint. |
9651 | ||
0f465b55 KS |
9652 | 2005-02-25 Kim F. Storm <storm@cua.dk> |
9653 | ||
9654 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | |
9655 | ||
9656 | * xdisp.c (init_from_display_pos): Don't read past end of | |
9657 | it->overlay_strings array. | |
9658 | ||
d5fb8dab | 9659 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) |
845a78b4 LK |
9660 | |
9661 | * buffer.c (syms_of_buffer): Fix typo. | |
9662 | ||
b02c3eed LK |
9663 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
9664 | ||
9665 | * buffer.c (Foverlay_buffer): Doc fix. | |
9666 | ||
c8500765 KS |
9667 | 2005-02-22 Kim F. Storm <storm@cua.dk> |
9668 | ||
b686dd59 KS |
9669 | * minibuf.c (Ftry_completion, Fall_completions): Allow both string |
9670 | and symbol keys in alists and hash tables. | |
9671 | ||
c8500765 KS |
9672 | * xdisp.c (fast_find_position): Fix search for start of overlay. |
9673 | ||
81c85b53 KS |
9674 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
9675 | ||
9676 | * window.c (window_scroll_pixel_based): When scrolling backwards, | |
9677 | handle partial visible line at end of window even when we hit PT. | |
9678 | ||
f4a5a485 | 9679 | 2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9df747e1 SM |
9680 | |
9681 | * keymap.h: Declare Fcurrent_active_maps, used in doc.c. | |
9682 | ||
0dd5a842 KS |
9683 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
9684 | ||
9685 | * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. | |
9686 | I think those asserts are bogus if buffer contains invisible text | |
9687 | or images. | |
9688 | ||
d5fb8dab | 9689 | 2005-02-21 David Kastrup <dak@gnu.org> |
19e05d1f KS |
9690 | |
9691 | * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. | |
9692 | ||
0fba9f25 KS |
9693 | 2005-02-20 Kim F. Storm <storm@cua.dk> |
9694 | ||
9695 | * xdisp.c (pos_visible_p): Be sure to move to the specified | |
9696 | position. Always get the full ascent / descent of the | |
9697 | corresponding row, to return reliable rtop and rbot values. | |
9698 | (back_to_previous_visible_line_start): Fix 2005-01-18 change. | |
9699 | Must look one character back, as back_to_previous_line_start | |
9700 | returns position after the newline. | |
9701 | (move_it_vertically_backward): Fix heuristic for when to move further | |
9702 | back in case line_height * 2/3 is larger than window height. | |
9703 | (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p | |
9704 | as it does not do anything anymore. Add arg current_matrix_p to | |
9705 | use current matrix rather than desired matrix when set. | |
9706 | (try_cursor_movement): Don't scroll to make cursor row fully | |
9707 | visible if cursor didn't move. This avoids unexpected recentering | |
9708 | in case of blinking cursor or accepting process output. | |
9709 | Use current matrix to check cursor row visibility. | |
9710 | (redisplay_window): Fix whether to recenter or move to top in case | |
9711 | cursor line is taller than window height. | |
9712 | (find_first_unchanged_at_end_row): Stop search if we reach a row | |
9713 | which not enabled (instead of abort). | |
9714 | ||
b1c2adc3 KS |
9715 | 2005-02-18 Kim F. Storm <storm@cua.dk> |
9716 | ||
c2ee48fb KS |
9717 | * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property |
9718 | to be nil in a :box attribute value list; customize prints that | |
9719 | as lisp value when no box color is specified. | |
9720 | ||
b1c2adc3 KS |
9721 | * .gdbinit (pitx, pit): Pretty print display iterator. |
9722 | (prowx, prow): Pretty print glyph row. | |
9723 | (pcursorx, pcursor): Pretty print a window cursor. | |
9724 | (pwinx, pwin): Pretty print struct window. | |
9725 | ||
f102186f SM |
9726 | 2005-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
9727 | ||
9728 | * alloc.c (BLOCK_BYTES): Harmless typo. | |
9729 | ||
9b516537 AS |
9730 | 2005-02-17 Andreas Schwab <schwab@suse.de> |
9731 | ||
9732 | * xfns.c (hack_wm_protocols): Use correct type for last parameter | |
9733 | of XGetWindowProperty to avoid aliasing issues. | |
9734 | (Fx_window_property): Likewise. | |
9735 | ||
9736 | * xselect.c (Fx_disown_selection_internal): Use union of struct | |
f4a5a485 | 9737 | input_event and struct selection_input_event to avoid aliasing issues. |
9b516537 AS |
9738 | |
9739 | * xterm.c (handle_one_xevent): Use union of struct input_event and | |
9740 | struct selection_input_event to avoid aliasing issues. | |
9741 | (SET_SAVED_MENU_EVENT): Adapt reference to inev. | |
9742 | ||
886b1418 KS |
9743 | 2005-02-17 Kim F. Storm <storm@cua.dk> |
9744 | ||
9745 | * dispextern.h (enum it_method): New enum. | |
9746 | (GET_FROM_*): Its members. | |
9747 | (struct it): Change member method from function pointer to enum. | |
9748 | ||
9749 | * xdisp.c (check_it, init_from_display_pos, handle_stop) | |
9750 | (setup_for_ellipsis, handle_single_display_spec) | |
9751 | (handle_composition_prop, next_overlay_string) | |
9752 | (get_overlay_strings, reseat_1, reseat_to_string) | |
9753 | (next_element_from_ellipsis, BUFFER_POS_REACHED_P) | |
9754 | (in_display_vector_p, display_line, get_next_display_element): | |
9755 | Change it->method from function pointer to enum. | |
9756 | (get_next_element): New array to map it->method to function. | |
9757 | (get_next_display_element): Use it. | |
9758 | (set_iterator_to_next): Use switch instead of if/else chain. | |
9759 | ||
99ee2c6a | 9760 | 2005-02-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
52c7f9ee JR |
9761 | |
9762 | * w32select.c: Summary: Thorough rework to implement Unicode | |
9763 | clipboard operations and delayed rendering. | |
9764 | ||
9765 | Drop last_clipboard_text and related code, keep track of | |
f4a5a485 | 9766 | ownership via clipboard_owner instead. Drop old #if0 sections. |
52c7f9ee JR |
9767 | |
9768 | (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) | |
9769 | (clipboard_owner, modifying_clipboard, cfg_coding_system) | |
9770 | (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) | |
9771 | (current_coding_system, current_requires_encoding) | |
f4a5a485 SM |
9772 | (current_num_nls, current_clipboard_type, current_lcid): |
9773 | New static variables. | |
52c7f9ee JR |
9774 | |
9775 | (convert_to_handle_as_ascii, convert_to_handle_as_coded) | |
9776 | (render, render_all, run_protected, lisp_error_handler) | |
9777 | (owner_callback, create_owner, setup_config) | |
f4a5a485 SM |
9778 | (enum_locale_callback, cp_from_locale, coding_from_cp): |
9779 | New local functions. | |
52c7f9ee JR |
9780 | |
9781 | (term_w32select, globals_of_w32select): New global functions. | |
9782 | ||
9783 | (Fw32_set_clipboard_data): Ignore parameter FRAME, use | |
9784 | clipboard_owner instead. Use delayed rendering and provide | |
9785 | all text formats. Provide CF_LOCALE if necessary. | |
9786 | ||
9787 | (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and | |
9788 | CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not | |
9789 | available. Force DOS line-ends for decoding. | |
9790 | ||
9791 | (Fx_selection_exists_p): Handle CF_UNICODETEXT. | |
9792 | ||
9793 | (syms_of_w32select): Init and register new variables. | |
9794 | ||
9795 | * w32.h: Add prototypes for globals_of_w32select and | |
9796 | term_w32select. Make the neighboring K&R declarations into | |
9797 | prototypes, too. | |
9798 | ||
9799 | * emacs.c: Include w32.h to get function prototypes. | |
9800 | (main): Call globals_of_w32select. | |
9801 | ||
886b1418 | 9802 | * w32.c (term_ntproc): Call term_w32select. |
52c7f9ee JR |
9803 | |
9804 | * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. | |
9805 | ||
86e61586 KS |
9806 | 2005-02-16 Kim F. Storm <storm@cua.dk> |
9807 | ||
9808 | * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and | |
9809 | at end of display vector. | |
9810 | ||
6407f07b RS |
9811 | 2005-02-15 Richard M. Stallman <rms@gnu.org> |
9812 | ||
9813 | * xdisp.c (get_next_display_element): Fix escape-glyph criterion | |
9814 | for mode and header lines. | |
9815 | ||
9816 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
9817 | ||
9818 | * keymap.h (describe_map_tree): Change decl. | |
9819 | ||
9820 | * keyboard.c (command_loop_1): Always use safe_run_hooks | |
9821 | to run Qdeferred_action_function. | |
9822 | ||
9823 | * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. | |
9824 | (describe_map, describe_vector): Likewise. When it's 1, | |
9825 | don't omit shadowed bindings, instead mark them as shadowed. | |
9826 | ||
9827 | * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps | |
9828 | for describe_map_tree. Pass 1 for MENTION_SHADOW. | |
9829 | ||
9830 | * data.c (Fsetq_default): Allow no arg case. | |
9831 | ||
3bb917bf KH |
9832 | 2005-02-14 Kenichi Handa <handa@m17n.org> |
9833 | ||
9834 | * coding.c (encode_coding_string): Always return a unibyte string. | |
9835 | If NOCOPY is nonzero and there's no need of encoding, make STR | |
9836 | unibyte directly. | |
9837 | ||
9838 | * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII | |
9839 | multibyte string, signal an error instead of aborting. | |
9840 | ||
e31d908f DN |
9841 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> |
9842 | ||
9843 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | |
9844 | ||
48e029b6 KS |
9845 | 2005-02-12 Kim F. Storm <storm@cua.dk> |
9846 | ||
9847 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | |
9848 | ||
c10bb00a KS |
9849 | 2005-02-10 Kim F. Storm <storm@cua.dk> |
9850 | ||
9851 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | |
9852 | if it moves outside window or it doesn't display text. | |
9853 | ||
9ca0f64a KS |
9854 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
9855 | ||
9856 | * undo.c (Fprimitive_undo): Check that undo function does not | |
9857 | switch buffer. | |
9858 | ||
b8d6f4af JD |
9859 | 2005-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9860 | ||
9861 | * xselect.c (selection_data_to_lisp_data): For the special case | |
9862 | type == XA_ATOM, data contains array of int, not array of Atom. | |
d5161e8c SM |
9863 | (x_property_data_to_lisp, selection_data_to_lisp_data): |
9864 | Comment update: data must be array of int for format == 32. | |
b8d6f4af | 9865 | |
3419757d SM |
9866 | 2005-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
9867 | ||
9868 | * undo.c (Fprimitive_undo): Check veracity of delta,start,end. | |
9869 | ||
3a441526 JD |
9870 | 2005-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9871 | ||
fc34503b JD |
9872 | * xfns.c (Fx_change_window_property): Use long array when format is 32. |
9873 | (Fx_window_property): If format is 32 and long is bigger than 32 bits, | |
9874 | convert long array returned from XGetWindowProperty to an int array. | |
bae45dc3 JD |
9875 | (x_set_tool_bar_lines): Check that width and height is greater than |
9876 | zero before clearing area. | |
fc34503b JD |
9877 | |
9878 | * xselect.c (x_reply_selection_request): Pass long array to | |
9879 | XChangeProperty so that 64 bit longs are handeled correctly. | |
9880 | (x_get_window_property): If format is 32 and long is bigger than 32 | |
9881 | bits convert data from XGetWindowProperty from long array to int array. | |
9882 | (lisp_data_to_selection_data): When the input is a vector and the | |
9883 | format is 32, allocate a long array even if long is bigger than 32 bits. | |
9884 | (x_fill_property_data): Use char, short and long as the man page | |
9885 | for XChangeProperty specifies. This way the data returned is OK for | |
9886 | both 32 and 64 bit machines. | |
9887 | (x_handle_dnd_message): Calculate size correctly even for 64 bit | |
9888 | machines. | |
9889 | (Fx_send_client_event): Undo change from 2005-02-05, | |
9890 | x_fill_property_data now handles that case. | |
9891 | ||
3419757d | 9892 | * xfns.c (Fx_backspace_delete_keys_p): Add comment about the |
3a441526 JD |
9893 | reason for the approach in the code. |
9894 | ||
82ec225b KS |
9895 | 2005-02-07 Kim F. Storm <storm@cua.dk> |
9896 | ||
9897 | * undo.c (Fprimitive_undo): Record max one dummmy apply element. | |
9898 | ||
ba2c991c RS |
9899 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
9900 | ||
9901 | * eval.c (Frun_hook_with_args) | |
9902 | (Frun_hook_with_args_until_success) | |
9903 | (Frun_hook_with_args_until_failure): Doc fixes. | |
9904 | ||
e120ea40 AS |
9905 | 2005-02-05 Andreas Schwab <schwab@suse.de> |
9906 | ||
3419757d | 9907 | * sysdep.c (sys_subshell): Properly terminate execlp argument list. |
e120ea40 | 9908 | |
31f16913 JD |
9909 | 2005-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9910 | ||
9911 | * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle | |
9912 | the longs in a XClientMessageEvent correctly when long is 64 bits. | |
9913 | ||
6082a820 EZ |
9914 | 2005-02-05 Eli Zaretskii <eliz@gnu.org> |
9915 | ||
9916 | * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM | |
9917 | instead of HAVE_X_WINDOWS, for non-X windowed sessions. | |
9918 | ||
0e95095b JD |
9919 | 2005-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9920 | ||
9921 | * xmenu.c (menubar_selection_callback): Force out GTK buffered | |
9922 | events so the menu event comes after them. This is to prevent sit-for | |
9923 | from exiting on buffered events directly after a menu selection, | |
9924 | lisp code for Help => About Emacs uses sit-for. | |
9925 | ||
9926 | * gtkutil.c (create_menus): Connect selection-done event instead of | |
9927 | the deactivate event to deactivate_cb. This will make the last | |
9928 | leave event come before the call to deactivate_cb, so the leave | |
9929 | event does not make sit-for exit after a menu selection. | |
9930 | ||
5bb6a3c1 KS |
9931 | 2005-02-03 Kim F. Storm <storm@cua.dk> |
9932 | ||
9933 | * dispnew.c (build_frame_matrix_from_leaf_window) | |
9934 | [!GLYPH_DEBUG]: Fix xassert. | |
9935 | ||
9936 | * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. | |
9937 | ||
9938 | * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
9939 | ||
e9859e26 YM |
9940 | 2005-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9941 | ||
9942 | * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by | |
9943 | the compiling OS version. | |
9944 | ||
9945 | * macfns.c (x_create_tip_frame): Likewise. | |
9946 | ||
3419757d | 9947 | * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. |
e9859e26 | 9948 | |
4e07258f RS |
9949 | 2005-02-03 Richard M. Stallman <rms@gnu.org> |
9950 | ||
9951 | * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. | |
9952 | ||
9953 | * xdisp.c (echo_area_display): Clear echo_message_buffer. | |
9954 | ||
9955 | * buffer.c (Fbury_buffer): Doc fix. | |
9956 | ||
4a34b529 ST |
9957 | 2005-02-02 Steven Tamm <steventamm@mac.com> |
9958 | ||
7e26f91b | 9959 | * macfns.c (unwind_create_frame): Fix compile error due to |
f6c62d96 | 9960 | xassert being uncondition, but predicate is. |
7e26f91b | 9961 | * dispnew.c (update_window): Fix compile error due to |
f6c62d96 | 9962 | xassert being uncondition, but predicate is. |
4a34b529 | 9963 | |
d78f30b8 MB |
9964 | 2005-02-02 Miles Bader <miles@gnu.org> |
9965 | ||
9966 | * dispextern.h (xassert): Enable unconditionally. | |
9967 | ||
b044278d KS |
9968 | 2005-02-02 Kim F. Storm <storm@cua.dk> |
9969 | ||
9970 | * undo.c (Fprimitive_undo): Fix dummy apply undo entry. | |
9971 | ||
56072160 KH |
9972 | 2005-02-02 Kenichi Handa <handa@m17n.org> |
9973 | ||
9974 | * casefiddle.c (casify_object): Enable changing characters of | |
9975 | different byte length. | |
9976 | (casify_region): Fix loop condition, args to replace_range_2, and | |
9977 | update opoint_byte. | |
9978 | ||
f4a5a485 | 9979 | * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. |
56072160 | 9980 | |
5e1674c5 KS |
9981 | 2005-02-01 Kim F. Storm <storm@cua.dk> |
9982 | ||
9983 | * xdisp.c (back_to_previous_visible_line_start): Reset iterator | |
9984 | stack before calling handle_display_prop. | |
9985 | ||
fb89c330 KS |
9986 | 2005-01-31 Kim F. Storm <storm@cua.dk> |
9987 | ||
9988 | * undo.c (Qapply): New lisp var. | |
9989 | (syms_of_undo): Intern and staticpro it. | |
9990 | (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and | |
9991 | (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). | |
9992 | ||
9993 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
9994 | ||
7bf72fa6 JH |
9995 | 2005-01-30 Jesper Harder <harder@phys.au.dk> |
9996 | ||
a050b1a9 KS |
9997 | * macterm.c (syms_of_macterm) <mac-reverse-ctrl-meta> |
9998 | <mac-emulate-three-button-mouse>: Fix docstring indentation. | |
7bf72fa6 | 9999 | |
03c64f2e LT |
10000 | 2005-01-29 Luc Teirlinck <teirllm@auburn.edu> |
10001 | ||
10002 | * undo.c (syms_of_undo) <undo-outer-limit>: Doc update. | |
6de38aa3 | 10003 | Increase value to 3 Meg. |
03c64f2e | 10004 | |
49b8b5dc JD |
10005 | 2005-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10006 | ||
10007 | * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, | |
10008 | button events are not received otherwise. | |
10009 | ||
5a92a9eb RS |
10010 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
10011 | ||
10012 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
10013 | ||
10014 | * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. | |
10015 | ||
5c243ee4 SM |
10016 | 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
10017 | ||
10018 | * keymap.c (access_keymap): YAILOM. | |
10019 | ||
caf533af KS |
10020 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
10021 | ||
10022 | * xdisp.c (get_phys_cursor_geometry): New function to calculate | |
10023 | phys cursor position and size for hollow cursor. Position is | |
10024 | aligned with get_glyph_string_clip_rect and ensures that a hollow | |
10025 | cursor is shown, even when the actual glyph is not visible. | |
10026 | ||
10027 | * dispextern.h (get_phys_cursor_geometry): Add prototype. | |
10028 | ||
10029 | * xterm.c (x_clip_to_row): Ensure y >= 0. | |
10030 | (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
10031 | ||
10032 | * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
10033 | ||
10034 | * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
10035 | ||
043f7f73 SM |
10036 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
10037 | ||
10038 | * xterm.c (x_error_quitter): Add a prototype. Make it static again. | |
10039 | ||
889f3641 KS |
10040 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
10041 | ||
10042 | * xdisp.c (get_glyph_string_clip_rect): Always show a cursor | |
10043 | glyph, even when row is only partially visible and actual cursor | |
10044 | position is not visible. | |
10045 | ||
29099c2f RS |
10046 | 2005-01-24 Richard M. Stallman <rms@gnu.org> |
10047 | ||
10048 | * xterm.c (x_error_quitter): No longer static, and moved after | |
10049 | x_error_handler. | |
10050 | ||
6adb6f01 KS |
10051 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
10052 | ||
10053 | * xdisp.c (move_it_by_lines): If we move forward after going too | |
10054 | far back, cancel move if end position is same as start position. | |
10055 | ||
4d904fa0 ST |
10056 | 2005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10057 | ||
10058 | * dispextern.h (struct glyph_string): New members clip_head and | |
10059 | clip_tail. | |
6adb6f01 | 10060 | |
4d904fa0 ST |
10061 | * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip |
10062 | region to the area between clip_head and clip_tail. | |
10063 | (draw_glyphs): Record the area that need to be actually redrawn to | |
10064 | the new variables clip_head and clip_tail when there are | |
10065 | overhangs. Set values of these variables to the corresponding | |
10066 | members in struct glyph_string. Refine x coordinates for | |
10067 | notice_overwritten_cursor using clip_head and clip_tail. | |
6adb6f01 | 10068 | |
4d904fa0 ST |
10069 | * macgui.h (STORE_XCHARSETSTRUCT): New macro. |
10070 | ||
10071 | * macterm.c (mac_compute_glyph_string_overhangs): Implement with | |
10072 | QDTextBounds. | |
10073 | (x_draw_glyph_string): Don't fill the background of the successor | |
6adb6f01 | 10074 | of a glyph with a right overhang if the successor will draw a cursor. |
4d904fa0 | 10075 | (XLoadQueryFont): Obtain font metrics using QDTextBounds. |
6adb6f01 | 10076 | (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. |
4d904fa0 | 10077 | |
f2417699 KS |
10078 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
10079 | ||
6f67f013 KS |
10080 | * window.c (window_scroll_pixel_based): Fix scrolling in the wrong |
10081 | direction if window height was smaller than next-screen-context-lines. | |
10082 | Now always scroll at least one line in the requested direction. | |
10083 | Ensure that we actually do scroll backwards when requested to do so. | |
10084 | ||
f2417699 KS |
10085 | * xdisp.c (redisplay_window): Only try to make cursor line fully |
10086 | visible once (to avoid redisplay loop). | |
10087 | ||
a354b72c KS |
10088 | 2005-01-23 Kim F. Storm <storm@cua.dk> |
10089 | ||
6b3d88f7 | 10090 | * window.c (Fpos_visible_in_window_p): Simplify return value for |
8f958b40 | 10091 | partially visible rows. |
6b3d88f7 KS |
10092 | (window_scroll_pixel_based): Adapt to that change. |
10093 | ||
5c20cae2 KS |
10094 | * window.c (window_scroll_pixel_based): Force moving to next line |
10095 | if scrolling doesn't move start point, e.g. if looking at tall image. | |
10096 | ||
a354b72c | 10097 | * xdisp.c (pos_visible_p): Return 0 if non-interactive. |
5c20cae2 KS |
10098 | Clear last_height before calling line_bottom_y to get real height. |
10099 | Fix calculation of y. | |
a354b72c | 10100 | |
d9e7c622 ST |
10101 | 2005-01-22 Steven Tamm <steventamm@mac.com> |
10102 | ||
10103 | * s/darwin.h: Removed PTY_ITERATION from here. | |
043f7f73 | 10104 | (DARWIN): Define. |
7e26f91b | 10105 | |
d9e7c622 ST |
10106 | * process.c (init_process): Default process-connection-type to |
10107 | nil on darwin 6 or less, t if it is 7 or higher. This way the | |
10108 | broken pty behavior is still allowed on darwin 6 for interactive | |
10109 | processes for people that know what they are doing. | |
10110 | ||
d00e399a KS |
10111 | 2005-01-22 Kim F. Storm <storm@cua.dk> |
10112 | ||
10113 | * window.c (auto_window_vscroll_p): New boolean. | |
10114 | (syms_of_window): DEFVAR_BOOL it. | |
10115 | (Fpos_visible_in_window_p): Extend return value to include RTOP | |
10116 | and RBOT values if FULLY is nil. | |
10117 | (window_scroll_pixel_based): Adjust vscroll for partially visible | |
10118 | rows if auto_window_vscroll_p is set. | |
10119 | (Fset_window_vscroll): Do nothing if vscroll is not modified. | |
10120 | ||
10121 | * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args | |
10122 | to return number of partially invisible pixels at top and bottom | |
10123 | of the dislay row at POS. | |
10124 | ||
10125 | * lisp.h (pos_visible_p): Fix prototype. | |
10126 | ||
f95a20e7 RS |
10127 | 2005-01-21 Richard M. Stallman <rms@gnu.org> |
10128 | ||
10129 | * fileio.c (Fcopy_file): Doc fix. | |
10130 | ||
eee141ce JD |
10131 | 2005-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10132 | ||
10133 | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | |
10134 | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to | |
10135 | start of function for older compilers. | |
10136 | ||
6f771c32 RS |
10137 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
10138 | ||
10139 | * editfns.c (Fmessage): If arg is "", return "" (as before). | |
10140 | ||
10141 | * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. | |
10142 | ||
10143 | * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp | |
10144 | variable. | |
10145 | ||
a15252fd ST |
10146 | 2005-01-20 Steven Tamm <steventamm@mac.com> |
10147 | ||
043f7f73 | 10148 | * editfns.c (Voperating_system_release): Add. |
a15252fd ST |
10149 | (init_editfns): Assign new variable operating-system-release |
10150 | based on call to uname if available. | |
043f7f73 | 10151 | (get_operating_system_release): Add function to |
d00e399a | 10152 | allow c-level access to operating system release. |
a15252fd ST |
10153 | |
10154 | * config.h: Regenerated. | |
10155 | ||
043f7f73 SM |
10156 | * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. |
10157 | (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for | |
a15252fd ST |
10158 | using ptys as '7'. |
10159 | ||
3d6a4b2d KS |
10160 | 2005-01-20 Kim F. Storm <storm@cua.dk> |
10161 | ||
62fc9b0f KS |
10162 | * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. |
10163 | ||
c310aca4 KS |
10164 | * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. |
10165 | Thanks to Chong Yidong <cyd@stupidchicken.com> for debugging this. | |
10166 | ||
10167 | * macterm.c (x_draw_glyph_string_box): Likewise. | |
10168 | ||
10169 | * w32term.c (x_draw_glyph_string_box): Likewise. | |
10170 | ||
3d6a4b2d KS |
10171 | * indent.c (Fvertical_motion): Temporarily disable selective display. |
10172 | ||
27c8be45 KS |
10173 | 2005-01-19 Kim F. Storm <storm@cua.dk> |
10174 | ||
77db5cf3 KS |
10175 | * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer |
10176 | image property. | |
10177 | ||
27c8be45 KS |
10178 | * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. |
10179 | ||
81f498dc KS |
10180 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
10181 | ||
10182 | * xdisp.c (fast_find_position): Backtrack to find first row if | |
10183 | charpos is inside a display overlay that spans multiple lines. | |
10184 | ||
1cdb0707 KH |
10185 | 2005-01-18 Kenichi Handa <handa@m17n.org> |
10186 | ||
10187 | * coding.c (decode_coding_iso2022): Translate invalid codes if | |
10188 | translation-table is specified. | |
10189 | ||
677159ce KS |
10190 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
10191 | ||
10192 | * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 | |
10193 | change. If handle_display_prop indicates newline is replaced by | |
10194 | image or text, move back to start of relevant overlay or interval | |
10195 | and continue scan from there. Simplify. | |
10196 | ||
977284cc KS |
10197 | 2005-01-17 Kim F. Storm <storm@cua.dk> |
10198 | ||
043f7f73 SM |
10199 | * dispnew.c (mode_line_string, marginal_area_string): |
10200 | Fix off-by-one error in search for glyph. | |
977284cc | 10201 | |
e24531b7 KS |
10202 | 2005-01-16 Kim F. Storm <storm@cua.dk> |
10203 | ||
10204 | * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. | |
10205 | ||
5ddd7664 ST |
10206 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
10207 | ||
043f7f73 | 10208 | * macterm.c (mac_to_x_fontname): Remove spurious argument. |
5ddd7664 | 10209 | |
fc2ff44b AS |
10210 | 2005-01-16 Andreas Schwab <schwab@suse.de> |
10211 | ||
10212 | * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. | |
10213 | ||
50af5100 JD |
10214 | 2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10215 | ||
10216 | * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning | |
10217 | fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. | |
10218 | ||
a2d5fca0 JD |
10219 | 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10220 | ||
10221 | * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) | |
e24531b7 KS |
10222 | (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): |
10223 | New flags for readable_events. | |
043f7f73 | 10224 | (get_filtered_input_pending, readable_filtered_events): Remove. |
a2d5fca0 JD |
10225 | (tracking_off): Call readable_events and get_input_pending with |
10226 | flag READABLE_EVENTS_DO_TIMERS_NOW. | |
10227 | (readable_events): Move code from old readable_filtered_events here, | |
10228 | but check new READABLE_EVENTS_* in argument flags instead of previous | |
10229 | two boolean arguments do_timers_now and filter_events. | |
10230 | If we are doing mouse tracking and the mouse moved, return only if | |
10231 | READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. | |
10232 | (swallow_events): Call get_input_pending with flag | |
10233 | READABLE_EVENTS_DO_TIMERS_NOW. | |
e24531b7 | 10234 | (get_input_pending): Move code from old get_filtered_input_pending |
a2d5fca0 JD |
10235 | here. Replace boolean arguments do_timers_now, filter_events with |
10236 | flags, and pass flags to readable_events. Document new | |
10237 | READABLE_EVENTS_* flags. | |
10238 | (detect_input_pending_ignore_squeezables): New function. | |
10239 | (detect_input_pending_run_timers): Call get_input_pending with flag | |
10240 | READABLE_EVENTS_DO_TIMERS_NOW. | |
10241 | (Finput_pending_p): Call get_input_pending with flags | |
10242 | READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. | |
10243 | ||
10244 | * dispnew.c (update_window, update_frame_1): Replace calls to | |
10245 | detect_input_pending with detect_input_pending_ignore_squeezables | |
e24531b7 | 10246 | so that redisplay is not paused if the event queue contains only |
a2d5fca0 JD |
10247 | mouse movements. |
10248 | ||
10249 | * lisp.h: Declare detect_input_pending_ignore_squeezables. | |
10250 | ||
42afbcda ST |
10251 | 2005-01-15 Steven Tamm <steventamm@mac.com> |
10252 | ||
e24531b7 KS |
10253 | * macterm.c (Vmac_use_core_graphics): Declare variable for |
10254 | mac-allow-anti-aliasing. | |
10255 | (syms_of_macterm): DEFVAR_LISP and initialize it. | |
743d0696 | 10256 | (mac_draw_string_common): Use core graphics text rendering if |
0530c679 | 10257 | mac-allow-anti-aliasing is enabled. |
743d0696 | 10258 | |
42afbcda ST |
10259 | * macfns.c (Fx_file_dialog): Save As dialog includes only the |
10260 | file name in the text box. | |
10261 | ||
9cdd4884 ST |
10262 | 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10263 | ||
043f7f73 SM |
10264 | * macfns.c (x_set_foreground_color, x_set_background_color): |
10265 | Sync with xfns.c. | |
9cdd4884 ST |
10266 | (mac_window, x_create_tip_frame): Use XSetWindowBackground. |
10267 | * macterm.c (XSetBackground, XSetWindowBackground): New functions. | |
10268 | * macterm.h (XSetBackground, XSetWindowBackground): Add externs. | |
10269 | ||
88948d55 KS |
10270 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
10271 | ||
10272 | * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. | |
10273 | ||
20d6de82 RS |
10274 | 2005-01-13 Richard M. Stallman <rms@gnu.org> |
10275 | ||
10276 | * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map | |
10277 | if Voverriding_terminal_local_map is non-nil. | |
10278 | ||
10279 | * keyboard.c (syms_of_keyboard): Doc fix. | |
10280 | ||
f75a592e KS |
10281 | 2005-01-13 Kim F. Storm <storm@cua.dk> |
10282 | ||
10283 | * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg | |
52eb0373 | 10284 | (specify 0 for FACE instead). Reorder arg list. Doc fix. |
f75a592e | 10285 | |
28f94a34 RS |
10286 | 2005-01-12 Richard M. Stallman <rms@gnu.org> |
10287 | ||
10288 | * xdisp.c (Fformat_mode_line): New arg FACE specifies a default | |
10289 | face property for characters that don't specify one. | |
10290 | ||
10291 | * fns.c (Frequire): Record in load-history unconditionally. | |
10292 | ||
57a230b1 KS |
10293 | 2005-01-10 Kim F. Storm <storm@cua.dk> |
10294 | ||
10295 | * dispextern.h (merge_faces): Rename from merge_into_realized_face. | |
10296 | ||
10297 | * xfaces.c (merge_faces): Rename from merge_into_realized_face. | |
10298 | Callers changed. | |
10299 | Add support to merge with lisp face id too (if face_name is t). | |
10300 | ||
10301 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
10302 | Don't lookup lface_id from display table glyphs here; instead use | |
10303 | merge_faces to merge the lisp face id into current face. | |
10304 | ||
8ab2c119 KS |
10305 | 2005-01-09 Kim F. Storm <storm@cua.dk> |
10306 | ||
10307 | * dispextern.h (struct it): New member dpvec_face_id. | |
10308 | (merge_into_realized_face): Add prototype. | |
10309 | ||
10310 | * xfaces.c (merge_into_realized_face): New function. Used to | |
5e1a6e32 | 10311 | merge escape-glyph face or face from display table into current face. |
8ab2c119 KS |
10312 | |
10313 | * xdisp.c (Vshow_nonbreak_escape): New lisp var. | |
10314 | (syms_of_xdisp): DEFVAR_LISP it. | |
10315 | (escape_glyph_face): Remove var. | |
10316 | (redisplay_window): Don't initialize it. | |
10317 | (setup_for_ellipsis, get_next_display_element): | |
10318 | Set it->dpvec_face_id to -1. | |
10319 | (get_next_display_element): Test Vshow_nonbreak_escape. | |
10320 | Do not setup escape_glyph_face. | |
10321 | Properly merge escape-glyph face or face from display table with | |
043f7f73 SM |
10322 | current face for escape and control characters. |
10323 | Set it->dpvec_face_id to relevant face id instead of adding it to each | |
8ab2c119 KS |
10324 | element of display vector. |
10325 | (next_element_from_display_vector): If it->dpvec_face_id is set, | |
10326 | use that instead of lface_id from glyph itself. | |
10327 | ||
e0910857 JD |
10328 | 2005-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10329 | ||
10330 | * xterm.h (struct x_output): New member, toolbar_detached. | |
10331 | ||
10332 | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to | |
10333 | 38. | |
10334 | (xg_tool_bar_detach_callback): Set toolbar_detached to 1. | |
10335 | (xg_tool_bar_attach_callback): Set toolbar_detached to 0. | |
10336 | (xg_create_tool_bar): Initialize toolbar_detached. | |
10337 | (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if | |
10338 | toolbar_detached is zero. | |
10339 | ||
ff59904a JD |
10340 | 2005-01-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10341 | ||
9b85e63d JD |
10342 | * xmenu.c (create_and_show_popup_menu): Pass zero as button to |
10343 | gtk_menu_popup if not for_click, so callbacks for the menu are called. | |
10344 | ||
ff59904a JD |
10345 | * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) |
10346 | (xg_tool_bar_callback, xg_tool_bar_help_callback) | |
043f7f73 | 10347 | (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. |
ff59904a JD |
10348 | |
10349 | * xselect.c (x_get_foreign_selection, x_fill_property_data) | |
8ab2c119 | 10350 | (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with |
ff59904a JD |
10351 | XFLOAT_DATA to get extract number from Lisp object. |
10352 | ||
f9a23a6f KS |
10353 | 2005-01-07 Kim F. Storm <storm@cua.dk> |
10354 | ||
10355 | * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. | |
10356 | Set stop_charpos to current charpos instead of 0. | |
10357 | ||
28f94a34 RS |
10358 | 2005-01-06 Nick Roberts <nickrob@snap.net.nz> |
10359 | ||
10360 | * xdisp.c (Fformat_mode_line): First arg now required. | |
10361 | ||
a6fffcdc ST |
10362 | 2005-01-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10363 | ||
10364 | * macterm.c (XLoadQueryFont): Correctly handle 0 size | |
10365 | font widths that are returned from some Japanese fonts. | |
10366 | ||
c35b0c6b KS |
10367 | 2005-01-06 Kim F. Storm <storm@cua.dk> |
10368 | ||
10369 | * fringe.c (fringe_faces): Change to Lisp_Object pointer. | |
10370 | (draw_fringe_bitmap_1): Lookup user defined fringe faces here. | |
10371 | (destroy_fringe_bitmap): Set fringe_faces element to nil. | |
10372 | (Fdefine_fringe_bitmap, init_fringe): Change allocation of | |
10373 | fringe_faces array and init elements to nil. | |
10374 | (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of | |
10375 | non-persistent face id. | |
10376 | (mark_fringe_data): New function for GC. | |
10377 | ||
10378 | * alloc.c (mark_fringe_data): Declare extern. | |
10379 | (Fgarbage_collect): Call mark_fringe_data. | |
10380 | ||
10381 | * alloc.c (overrun_check_free): Invalidate freed memory if | |
10382 | XMALLOC_CLEAR_FREE_MEMORY is defined. | |
10383 | ||
e0e76ab9 ST |
10384 | 2005-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10385 | ||
10386 | * macfns.c: Include sys/param.h. | |
10387 | [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration | |
10388 | and function. | |
10389 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | |
10390 | of filename string. Set event callback function when creating | |
10391 | dialog boxes. Add code conversions for filenames. Don't dispose | |
71b7a47f | 10392 | of apple event descriptor record if failed to create it. |
e0e76ab9 ST |
10393 | |
10394 | * macterm.c: Include sys/param.h. | |
10395 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | |
10396 | kEventWindowUpdate. | |
10397 | (install_window_handler) [USE_CARBON_EVENTS]: Register it. | |
10398 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead | |
10399 | of FSSpec from apple event descriptor record. | |
10400 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for | |
10401 | size of filename string. | |
10402 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. | |
10403 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a | |
10404 | file dialog is in action. | |
043f7f73 SM |
10405 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. |
10406 | Reject only when there are no filename items. Set background color | |
e0e76ab9 | 10407 | before (un)highlighting the window below the dragged items. |
2313f861 | 10408 | (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. |
e0e76ab9 | 10409 | |
043bc640 KH |
10410 | 2005-01-05 Romain Francoise <romain@orebokech.com> |
10411 | ||
10412 | * term.c (encode_terminal_code): Fix buffer size computation. | |
10413 | ||
dd496df6 RS |
10414 | 2005-01-04 Richard M. Stallman <rms@gnu.org> |
10415 | ||
10416 | * xdisp.c (Fformat_mode_line): Doc fix. | |
10417 | ||
026cdede SM |
10418 | 2005-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
10419 | ||
10420 | * alloc.c (refill_memory_reserve): Move. | |
10421 | (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) | |
10422 | (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. | |
10423 | ||
d57c7572 RS |
10424 | 2005-01-03 Richard M. Stallman <rms@gnu.org> |
10425 | ||
10426 | * window.c (window_scroll_pixel_based): Don't correct preserve_y | |
10427 | for CURRENT_HEADER_LINE_HEIGHT when moving backwards. | |
10428 | ||
b14f868c JR |
10429 | 2005-01-03 Jason Rumney <jasonr@gnu.org> |
10430 | ||
10431 | * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and | |
10432 | fontp->space_width to FONT_WIDTH so they are valid. | |
10433 | ||
10434 | * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not | |
52eb0373 | 10435 | average width. Set fontp->average_width and fontp->space_width to |
b14f868c JR |
10436 | their appropriate values. |
10437 | ||
10438 | * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
10439 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
10440 | fontp->space_width. | |
10441 | ||
e169f939 ST |
10442 | 2005-01-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10443 | ||
10444 | * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. | |
10445 | (x_font_min_bounds, XLoadQueryFont): Use the correct font width | |
10446 | metrics for max and min bounds. | |
10447 | (x_load_font): Correctly calculate average font width metrics. | |
10448 | ||
19996af4 RS |
10449 | 2005-01-02 Richard M. Stallman <rms@gnu.org> |
10450 | ||
10451 | * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. | |
10452 | ||
42d02da0 JD |
10453 | 2004-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10454 | ||
10455 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | |
10456 | ||
1db7dd46 RS |
10457 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
10458 | ||
b437860a RS |
10459 | * xdisp.c (setup_for_ellipsis, get_next_display_element): |
10460 | Set it->ellipsis_p to 1 or 0. | |
10461 | (display_line): Record whether row ends in mid-ellipsis. | |
52eb0373 | 10462 | (set_cursor_from_row): If ends in ellipsis, find start of it. |
b437860a RS |
10463 | (cursor_row_p): If PT's at the end of the ellipsis the row |
10464 | ends within, don't display cursor on this row. | |
10465 | ||
10466 | * dispextern.h (struct it): New element ellipsis_p. | |
10467 | (struct glyph_row): New element ends_in_ellipsis_p. | |
10468 | ||
10469 | * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified | |
10470 | position if we're reading from something other than the buffer. | |
10471 | ||
1db7dd46 RS |
10472 | * window.c (window_scroll_pixel_based): Only look at |
10473 | Vscroll_preserve_screen_position if the old PT can't be kept. | |
10474 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. | |
10475 | ||
1225f637 KS |
10476 | 2004-12-30 Kim F. Storm <storm@cua.dk> |
10477 | ||
10478 | * xdisp.c (get_line_height_property): New function extracted from | |
10479 | original calc_line_height_property. | |
10480 | (calc_line_height_property): Rework. Handle t and (nil . ratio). | |
10481 | (x_produce_glyphs): Use them to handle line-height and | |
10482 | line-spacing according to new height spec. | |
10483 | (Qtotal): Remove. | |
33b2f4ea | 10484 | (syms_of_xdisp): Remove intern and staticpro for Qtotal. |
1225f637 | 10485 | |
c243063e KH |
10486 | 2004-12-30 Kenichi Handa <handa@m17n.org> |
10487 | ||
10488 | * fileio.c (Finsert_file_contents): Don't use | |
10489 | current_buffer->buffer_file_coding_system even if REPLACE is | |
043f7f73 | 10490 | non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. |
c243063e KH |
10491 | |
10492 | * fontset.h (struct font_info): New members space_width and | |
10493 | average_width. | |
10494 | ||
10495 | * frame.h (struct frame): New member space_width. | |
10496 | (FRAME_SPACE_WIDTH): New macro. | |
10497 | ||
10498 | * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. | |
10499 | ||
10500 | * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
10501 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
b14f868c | 10502 | fontp->space_width. |
043f7f73 | 10503 | (x_load_font): Calculate fontp->space_width and fontp->average_width. |
c243063e KH |
10504 | (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. |
10505 | ||
10506 | * xdisp.c (x_produce_glyphs): Calculate tab width by | |
10507 | FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. | |
10508 | ||
456e761b ST |
10509 | 2004-12-29 Sanghyuk Suh <han9kin@mac.com> |
10510 | ||
10511 | * macterm.c (SelectionRange): Add Xcode position apple event struct. | |
043f7f73 | 10512 | (do_ae_open_documents): Handle Xcode-style file position open events. |
456e761b | 10513 | |
188577ce LT |
10514 | 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> |
10515 | ||
10516 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. | |
10517 | ||
99ec74b9 RS |
10518 | 2004-12-29 Richard M. Stallman <rms@gnu.org> |
10519 | ||
10520 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Doc fix. | |
10521 | ||
30c92fab ST |
10522 | 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10523 | ||
10524 | * macfns.c (install_window_handler): Modify extern to return OSErr | |
10525 | value. | |
10526 | (mac_window): Handle return value of install_window_handler. | |
10527 | ||
10528 | * macterm.c (reflect_byte): Remove function. | |
10529 | (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. | |
10530 | Lookup table instead. | |
10531 | (mac_do_font_lists): Simplify calculation of the longest | |
10532 | nonspecial string. | |
5e1a6e32 | 10533 | (init_mac_drag_n_drop): Remove function and declaration. |
30c92fab ST |
10534 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call |
10535 | init_mac_drag_n_drop. | |
10536 | (mac_do_track_drag): New function and declaration. | |
10537 | (install_window_handler): Return OSErr value. | |
043f7f73 SM |
10538 | (install_window_handler) [TARGET_API_MAC_CARBON]: |
10539 | Register handlers for tracking/receiving drag-and-drop items. | |
30c92fab | 10540 | (do_ae_open_documents): Generate unibyte strings for filenames. |
043f7f73 SM |
10541 | (mac_do_receive_drag) [TARGET_API_MAC_CARBON] : Likewise. |
10542 | Reject only non-filename items. Set event modifiers, and return value. | |
30c92fab | 10543 | |
4b982924 DN |
10544 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
10545 | ||
10546 | * coding.c (decode_coding): Fix previous change. | |
10547 | ||
93fdf45f RS |
10548 | 2004-12-28 Richard M. Stallman <rms@gnu.org> |
10549 | ||
10550 | * xdisp.c (back_to_previous_visible_line_start): | |
10551 | Don't call handle_display_prop. | |
10552 | ||
5bdca8af DN |
10553 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
10554 | ||
10555 | * coding.c (decode_coding_XXX, decode_composition_emacs_mule) | |
10556 | (decode_coding_emacs_mule, encode_coding_emacs_mule) | |
10557 | (decode_coding_iso2022, encode_designation_at_bol) | |
10558 | (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) | |
10559 | (decode_coding): Constify arguments and local vars. | |
10560 | ||
33385c6f JD |
10561 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10562 | ||
10563 | * xmenu.c (popup_get_selection): Only pop down dialogs | |
10564 | on C-g and Escape. | |
95bdef2e | 10565 | (popup_get_selection): Remove parameter down_on_keypress. |
043f7f73 SM |
10566 | (create_and_show_popup_menu, create_and_show_dialog): |
10567 | Remove parameter down_on_keypress to popup_get_selection. | |
33385c6f | 10568 | |
b15325b2 ST |
10569 | 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10570 | ||
10571 | * dispextern.h: Change HAVE_CARBON to MAC_OS. | |
10572 | (struct glyph_string): Likewise. | |
a2c7e69a | 10573 | |
b15325b2 ST |
10574 | * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of |
10575 | mac_initialize. | |
a2c7e69a | 10576 | |
b15325b2 ST |
10577 | * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): |
10578 | Change TARGET_API_MAC_CARBON to HAVE_CARBON. | |
a2c7e69a | 10579 | |
b15325b2 | 10580 | * fns.c (vector): Change MAC_OSX to MAC_OS. |
a2c7e69a | 10581 | |
b15325b2 ST |
10582 | * frame.c (x_set_frame_parameters, x_report_frame_params) |
10583 | (x_set_fullscreen): Remove #ifndef HAVE_CARBON. | |
043f7f73 SM |
10584 | (x_set_border_width, Vdefault_frame_scroll_bars): |
10585 | Change HAVE_CARBON to MAC_OS. | |
a2c7e69a | 10586 | |
b15325b2 ST |
10587 | * image.c [MAC_OS]: Include sys/stat.h. |
10588 | [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and | |
10589 | QuickTimeComponents.h. | |
a2c7e69a | 10590 | |
b15325b2 ST |
10591 | * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. |
10592 | [!MAC_OSX] (select): Use mac_wait_next_event. | |
043f7f73 | 10593 | [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. |
b15325b2 ST |
10594 | [!MAC_OSX] (select, run_mac_command): Change `#ifdef |
10595 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
10596 | (mac_clear_font_name_table): Add extern. | |
10597 | (Fmac_clear_font_name_table): New defun. | |
10598 | (syms_of_mac): Defsubr it. | |
10599 | [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. | |
10600 | [MAC_OSX] (select_and_poll_event): New function. | |
10601 | [MAC_OSX] (sys_select): Use it. | |
10602 | [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. | |
10603 | [MAC_OSX && SELECT_USE_CFSOCKET] | |
10604 | (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. | |
10605 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and | |
10606 | RunLoop for simultaneously monitoring two kinds of inputs, window | |
10607 | events and process outputs, without periodically polling. | |
a2c7e69a | 10608 | |
b15325b2 ST |
10609 | * macfns.c (mac_initialized): Remove extern. |
10610 | (stricmp): Put in #if 0. All callers changed to use xstricmp in | |
10611 | xfaces.c. | |
043f7f73 SM |
10612 | (strnicmp): Decrement `n' at the end of each loop, not the beginning. |
10613 | (check_mac): Use the term "Mac native windows" instead of "Mac OS". | |
b15325b2 ST |
10614 | (check_x_display_info, x_display_info_for_name): Sync with xfns.c. |
10615 | (mac_get_rdb_resource): New function (from w32reg.c). | |
10616 | (x_get_string_resource): Use it. | |
10617 | (install_window_handler): Add extern. | |
10618 | (mac_window): New function. | |
043f7f73 SM |
10619 | (Fx_create_frame): Use it instead of make_mac_frame. |
10620 | Set parameter for Qfullscreen. Call x_wm_set_size_hint. | |
b15325b2 ST |
10621 | (Fx_open_connection, Fx_close_connection): New defuns. |
10622 | (syms_of_macfns): Defsubr them. | |
043f7f73 SM |
10623 | (x_create_tip_frame) [TARGET_API_MAC_CARBON]: |
10624 | Add kWindowNoUpdatesAttribute to the window attribute. | |
b15325b2 ST |
10625 | (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. |
10626 | (x_create_tip_frame): Don't call ShowWindow. | |
10627 | (Fx_show_tip): Call ShowWindow. | |
10628 | (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if | |
10629 | TARGET_API_MAC_CARBON'. | |
10630 | (mac_frame_parm_handlers): Set handlers for Qfullscreen. | |
10631 | (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. | |
a2c7e69a | 10632 | |
043f7f73 | 10633 | * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. |
b15325b2 ST |
10634 | (Window): Typedef to WindowPtr and move outside `#if |
10635 | TARGET_API_MAC_CARBON'. | |
10636 | (XSizeHints): New struct. | |
a2c7e69a | 10637 | |
b15325b2 ST |
10638 | * macterm.c (x_update_begin, x_update_end) |
10639 | [TARGET_API_MAC_CARBON]: Disable screen updates during update of a | |
10640 | frame. | |
10641 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
10642 | [MAC_OS8]: Use XDrawImageString/XDrawImageString16. | |
10643 | (construct_mouse_click): Put in #if 0. | |
10644 | (x_check_fullscreen, x_check_fullscreen_move): Remove decls. | |
10645 | (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef | |
10646 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
10647 | (activate_scroll_bars, deactivate_scroll_bars) | |
10648 | [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. | |
10649 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window | |
10650 | if the position is neither user-specified nor program-specified. | |
10651 | (x_free_frame_resources): Free size_hints. | |
043f7f73 | 10652 | (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. |
b15325b2 ST |
10653 | (mac_clear_font_name_table): New function. |
10654 | (mac_do_list_fonts): Initialize font_name_table if needed. | |
10655 | (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT | |
10656 | around mac_do_list_fonts. | |
10657 | (mac_unload_font): New function. | |
10658 | (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. | |
10659 | (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations | |
10660 | and definitions with #if TARGET_API_MAC_CARBON. | |
10661 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. | |
10662 | (install_window_handler): Add decl. | |
10663 | (do_window_update): Add BeginUpdate/EndUpdate for the tooltip | |
10664 | window. Use UpdateControls. Get the rectangle that should be | |
10665 | updated and restrict the target of expose_frame to it. | |
043f7f73 | 10666 | (do_grow_window): Set minimum height/width according to size_hints. |
b15325b2 ST |
10667 | (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. |
10668 | (do_zoom_window): Don't use x_set_window_size. | |
10669 | [USE_CARBON_EVENTS] (mac_handle_window_event): New function. | |
10670 | (install_window_handler): New function. | |
10671 | [!USE_CARBON_EVENTS] (mouse_region): New variable. | |
10672 | [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. | |
10673 | (XTread_socket) [USE_CARBON_EVENTS]: Move call to | |
10674 | GetEventDispatcherTarget inside BLOCK_INPUT. | |
10675 | (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. | |
10676 | Update mouse_region when mouse is moved. | |
10677 | (make_mac_frame): Remove. | |
043f7f73 SM |
10678 | (make_mac_terminal_frame): Put in #ifdef MAC_OS8. |
10679 | Initialize mouse pointer shapes. Change values of f->left_pos and | |
10680 | f->top_pos. Don't use make_mac_frame. Use NewCWindow. | |
10681 | Don't call ShowWindow. | |
b15325b2 ST |
10682 | (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from |
10683 | Vinvocation_name and Vsystem_name. | |
10684 | (mac_make_rdb): New function (from w32term.c). | |
10685 | (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has | |
10686 | already been opened. Don't pass argument to | |
10687 | mac_initialize_display_info. Don't set dpyinfo->height/width. | |
10688 | Add entries to x_display_list and x_display_name_list. | |
10689 | (x_delete_display): New function. | |
10690 | (mac_initialize): Don't call mac_initialize_display_info. | |
a2c7e69a KS |
10691 | (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. |
10692 | ||
b15325b2 ST |
10693 | * macterm.h (check_mac): Add extern. |
10694 | (struct mac_output): New member size_hints. | |
10695 | (FRAME_SIZE_HINTS): New macro. | |
10696 | (mac_unload_font): Add extern. | |
a2c7e69a | 10697 | |
b15325b2 | 10698 | * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. |
a2c7e69a | 10699 | |
1d1c7e75 | 10700 | * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. |
b15325b2 | 10701 | |
92d2947b RS |
10702 | 2004-12-27 Richard M. Stallman <rms@gnu.org> |
10703 | ||
043f7f73 | 10704 | * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). |
ebbd14f1 RS |
10705 | (syms_of_buffer): Don't defsubr it. |
10706 | ||
10707 | * process.c (list_processes_1): Set undo_list instead | |
10708 | of calling Fbuffer_disable_undo. | |
10709 | ||
043f7f73 | 10710 | * xdisp.c (single_display_spec_string_p): Rename from |
92d2947b | 10711 | single_display_prop_string_p. |
043f7f73 | 10712 | (single_display_spec_intangible_p): Rename from |
92d2947b | 10713 | single_display_prop_intangible_p. |
043f7f73 | 10714 | (handle_single_display_spec): Rename from handle_single_display_prop. |
92d2947b RS |
10715 | Rewritten to be easier to understand. |
10716 | ||
a2c7e69a | 10717 | Change in load-history format. Functions now get (defun . NAME), |
92d2947b RS |
10718 | and variables get just NAME. |
10719 | ||
10720 | * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
10721 | ||
10722 | * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
10723 | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. | |
10724 | (Qdefvar): Var deleted. | |
10725 | (syms_of_eval): Don't initialze it. | |
10726 | ||
10727 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
10728 | ||
9f6fcdc5 JD |
10729 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10730 | ||
10731 | * xmenu.c (popup_get_selection): Pop down on C-g. | |
10732 | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that | |
10733 | pops down menu on C-g. | |
10734 | (xdialog_show): If dialog popped down and no button in the dialog was | |
10735 | pushed, call Fsignal to quit. | |
10736 | (xmenu_show): In no toolkit version, if menu returns NO_SELECT call | |
10737 | Fsignal to quit. | |
10738 | ||
1d1c7e75 | 10739 | * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. |
9f6fcdc5 JD |
10740 | |
10741 | * gtkutil.c (xg_initialize): Install bindings for C-g so that | |
10742 | dialogs and menus pop down. | |
10743 | ||
d8ca23a0 KH |
10744 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
10745 | ||
10746 | * coding.c (code_convert_region): Fix calculation of `ratio'. | |
10747 | ||
857ae68b JD |
10748 | 2004-12-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10749 | ||
133c0116 JD |
10750 | * gtkutil.c (update_frame_tool_bar): Make the value of |
10751 | tool-bar-button-margin control margins of images in tool bar. | |
10752 | ||
857ae68b JD |
10753 | * alloc.c (check_depth): New variable. |
10754 | (overrun_check_malloc, overrun_check_realloc): Only add | |
10755 | overhead and write check pattern if check_depth is 1 (to handle | |
10756 | recursive calls). Increase/decrease check_depth in entry/exit. | |
10757 | (overrun_check_free): Only check for overhead if check_depth is 1. | |
10758 | Increase/decrease check_depth in entry/exit. | |
10759 | ||
bd55c35c JD |
10760 | 2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10761 | ||
10762 | * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK | |
10763 | before touching input_available_clear_time, to avoid accessing it | |
10764 | from multiple threads. | |
10765 | ||
66354420 JR |
10766 | 2004-12-23 Jason Rumney <jasonr@gnu.org> |
10767 | ||
10768 | * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour | |
10769 | of JPEG library. | |
10770 | ||
55f4edbc RS |
10771 | 2004-12-22 Richard M. Stallman <rms@gnu.org> |
10772 | ||
10773 | * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. | |
10774 | ||
10775 | * lisp.h (Vundo_outer_limit): Fix decl. | |
10776 | ||
10777 | * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. | |
10778 | Uses changed. | |
10779 | (syms_of_undo): Initialize appropriately. | |
10780 | (truncate_undo_list): If it's nil, there's no limit. | |
10781 | ||
7a0ea9e3 KH |
10782 | 2004-12-22 Kenichi Handa <handa@m17n.org> |
10783 | ||
10784 | * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. | |
10785 | ||
fda2922a RS |
10786 | 2004-12-21 Richard M. Stallman <rms@gnu.org> |
10787 | ||
10788 | * eval.c (unwind_to_catch): Clear immediate_quit. | |
10789 | ||
10790 | * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad | |
10791 | specially as `\ ' and `\-'. | |
10792 | ||
10793 | * keyboard.c (kbd_buffer_store_event_hold): | |
10794 | In the code for while-no-input, handle immediate_quit. | |
10795 | ||
10796 | * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. | |
10797 | Call that at the very start. | |
043f7f73 | 10798 | (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. |
fda2922a RS |
10799 | (syms_of_alloc): Don't define undo-limit, |
10800 | undo-strong-limit and undo-outer-limit here. | |
10801 | ||
10802 | * undo.c (truncate_undo_list): Return void. | |
10803 | Take just one argument, the buffer. | |
10804 | Make it current, and inhibit recursive GC. | |
10805 | Access and update the undo list directly; return void. | |
10806 | Refer to the undo...limit variables directly. | |
10807 | Test undo_outer_limit only after counting the whole current command. | |
10808 | When it's exceeded, call the function in undo-outer-limit-function. | |
10809 | (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. | |
10810 | (Vundo_outer_limit_function): New variable. | |
10811 | (syms_of_undo): Define undo-limit, undo-strong-limit | |
10812 | and undo-outer-limit here, and undo-outer-limit-function. | |
10813 | Doc fixes. | |
10814 | ||
10815 | * lisp.h (truncate_undo_list): Update decl. | |
10816 | ||
10817 | 2004-12-21 Piet van Oostrum <piet@cs.uu.nl> | |
10818 | ||
10819 | * fileio.c (Fread_file_name): Delete duplicates in | |
10820 | file-name-history when history_delete_duplicates is true. | |
10821 | ||
68c69027 ST |
10822 | 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10823 | ||
10824 | * macterm.c (mac_do_list_fonts): Fix memory leak | |
10825 | ||
134579f2 RS |
10826 | 2004-12-20 Richard M. Stallman <rms@gnu.org> |
10827 | ||
10828 | * regex.c (re_match_2_internal) <symend, wordend>: | |
10829 | Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
10830 | ||
fbe6152f ST |
10831 | 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10832 | ||
043f7f73 SM |
10833 | * macterm.c (endif, x_font_name_to_mac_font_name): |
10834 | Use maccentraleurroman instead of maccentraleuropean | |
fbe6152f ST |
10835 | (mac_c_string_match, mac_do_list_fonts): Speed up font search by |
10836 | quickly finding a specific font without needing regexps. | |
10837 | ||
fecad3f6 JD |
10838 | 2004-12-15 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10839 | ||
333f1b6f JD |
10840 | * syssignal.h: Declare main_thread. |
10841 | (SIGNAL_THREAD_CHECK): New macro. | |
10842 | ||
10843 | * keyboard.c (input_available_signal): Move thread checking code | |
10844 | to macro SIGNAL_THREAD_CHECK and call that macro. | |
10845 | (interrupt_signal): Call SIGNAL_THREAD_CHECK. | |
10846 | ||
10847 | * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. | |
10848 | ||
10849 | * emacs.c: Define main_thread. | |
10850 | (main): Initialize main_thread. | |
10851 | (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) | |
10852 | (memory_warning_signal): Call SIGNAL_THREAD_CHECK. | |
10853 | ||
10854 | * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. | |
10855 | ||
10856 | * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. | |
10857 | ||
10858 | * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. | |
10859 | ||
043f7f73 SM |
10860 | * process.c (send_process_trap, sigchld_handler): |
10861 | Call SIGNAL_THREAD_CHECK. | |
333f1b6f JD |
10862 | |
10863 | * data.c (arith_error): Call SIGNAL_THREAD_CHECK. | |
10864 | ||
10865 | * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. | |
10866 | ||
fecad3f6 JD |
10867 | * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before |
10868 | returning when xg_ignore_gtk_scrollbar is true. | |
10869 | ||
2a84c6da KS |
10870 | 2004-12-14 Kim F. Storm <storm@cua.dk> |
10871 | ||
10872 | * keyboard.c (read_char): Save and restore echo_string when | |
10873 | handling input method. | |
10874 | ||
d9c1ce9d RS |
10875 | 2004-12-13 Richard M. Stallman <rms@gnu.org> |
10876 | ||
10877 | * eval.c (syms_of_eval) <quit-flag>: Doc fix. | |
10878 | ||
10879 | * keyboard.c (Vthrow_on_input): New variable. | |
10880 | (syms_of_keyboard): Defvar and initialize it. | |
10881 | (kbd_buffer_store_event_hold): Handle Vthrow_on_input. | |
10882 | ||
10883 | * lisp.h (QUIT): Check for Vthrow_on_input. | |
10884 | (Vthrow_on_input): Declare it. | |
10885 | ||
a6495ed5 KS |
10886 | 2004-12-13 Kim F. Storm <storm@cua.dk> |
10887 | ||
10888 | * xdisp.c (set_iterator_to_next): Reset stop_charpos after display | |
10889 | vector. | |
10890 | ||
24a0e22f RS |
10891 | 2004-12-12 Richard M. Stallman <rms@gnu.org> |
10892 | ||
10893 | * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. | |
10894 | ||
10895 | * minibuf.c (Fall_completions): Add var `zero' and use it in loop. | |
10896 | (Ftry_completion): Really use outer `zero'; eliminate inner one. | |
10897 | ||
d6d31e57 KH |
10898 | 2004-12-12 Kenichi Handa <handa@m17n.org> |
10899 | ||
10900 | * term.c (encode_terminal_code): Fix previous change. | |
10901 | ||
6f8ffb88 SM |
10902 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
10903 | ||
fb6f5cbf SM |
10904 | * keyboard.c (handle_async_input): Remove pthread mutex handling. |
10905 | (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. | |
10906 | ||
6f8ffb88 SM |
10907 | * syntax.c (Fforward_word): Avoid non-idempotent side-effects |
10908 | in macro arguments. | |
10909 | ||
10910 | * minibuf.c (Ftry_completion, Fall_completions): Don't use | |
10911 | XFASTINT blindly. | |
10912 | ||
10913 | * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. | |
10914 | ||
c83c9f9d JD |
10915 | 2004-12-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10916 | ||
2f25767f JD |
10917 | * w32term.c (x_calc_absolute_position): Remove calculation of |
10918 | difference between inner and outer window. Don't subtract difference | |
10919 | for left and top calculations. | |
10920 | ||
c83c9f9d JD |
10921 | * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff |
10922 | for left and top calculations. Remove call to x_real_positions. | |
14a56a1b | 10923 | [Bug report by Drew Adams in November.] |
c83c9f9d JD |
10924 | (x_check_expected_move): Do not set change_gravity to 1 when calling |
10925 | x_set_offset. | |
10926 | ||
cc1caa4e RS |
10927 | 2004-12-08 Richard M. Stallman <rms@gnu.org> |
10928 | ||
10929 | * xdisp.c (get_next_display_element): Use `escape-glyph' for | |
10930 | control chars and escaped octal codes. | |
10931 | (Qescape_glyph): New variable. | |
10932 | (syms_of_xdisp): Initialize it. | |
10933 | (escape_glyph_face): New variable. | |
10934 | (redisplay_window): Initialize it. | |
10935 | ||
e0e30823 RS |
10936 | 2004-12-07 Paul Eggert <eggert@cs.ucla.edu> |
10937 | ||
10938 | * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) | |
10939 | (init_image): Use 1 rather than TRUE. TRUE's not always defined. | |
10940 | ||
f415cacd JD |
10941 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10942 | ||
cf435f39 JD |
10943 | * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around |
10944 | reset_malloc_hooks. | |
10945 | ||
6f8ffb88 SM |
10946 | * keyboard.c (handle_async_input, input_available_signal): |
10947 | Add ! defined (SYSTEM_MALLOC) around thread code. | |
cf435f39 | 10948 | |
f415cacd JD |
10949 | * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. |
10950 | ||
043f7f73 | 10951 | 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca> |
19b1f29a SM |
10952 | |
10953 | * eval.c (init_eval_once): Increase max_specpdl_size to 1000. | |
10954 | ||
10955 | * config.in: Regenerate. | |
10956 | ||
ded997c1 JD |
10957 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10958 | ||
453a4f1b JD |
10959 | * xmenu.c (Fx_popup_menu): Correct documentation about position. |
10960 | (xmenu_show): Do not call XTranslateCoordinates. Adjust position | |
10961 | if not given by a mouse click to correspond with x-popup-menu | |
10962 | documentation. | |
10963 | ||
9a38524c JD |
10964 | * config.in: Regenerate. |
10965 | ||
aa477689 JD |
10966 | * gtkutil.c: Include signal.h and syssignal.h. |
10967 | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. | |
10968 | ||
10969 | * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, | |
10970 | new variables main_thread and alloc_mutex, | |
10971 | define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect | |
10972 | emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. | |
14a56a1b JB |
10973 | If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same |
10974 | as (UN)BLOCK_INPUT. | |
aa477689 JD |
10975 | (emacs_blocked_free, emacs_blocked_malloc) |
10976 | (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. | |
10977 | (uninterrupt_malloc): Initialize main_thread and alloc_mutex. | |
10978 | (reset_malloc_hooks): New function. | |
10979 | ||
10980 | * lisp.h: Declare reset_malloc_hooks. | |
10981 | ||
10982 | * emacs.c (Fdump_emacs): Call reset_malloc_hooks. | |
10983 | ||
14a56a1b | 10984 | * keyboard.c: Conditionally include pthread.h. |
6f8ffb88 | 10985 | (handle_async_input, input_available_signalt): If not in the main |
aa477689 JD |
10986 | thread, block signal, send signal to main thread and return. |
10987 | ||
ded997c1 | 10988 | * gtkutil.c (xg_get_file_with_chooser): Handle local files only. |
6f8ffb88 | 10989 | Set current folder in file chooser if default_filename is a directory. |
ded997c1 | 10990 | |
c72b0edd SM |
10991 | 2004-12-05 Stefan Monnier <monnier@iro.umontreal.ca> |
10992 | ||
10993 | * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. | |
10994 | Remove redundant correctness checks. | |
10995 | (regex_compile): Fix up error codes for \{..\} expressions. | |
10996 | ||
c721eee5 RS |
10997 | 2004-12-05 Richard M. Stallman <rms@gnu.org> |
10998 | ||
10999 | * regex.c (regex_compile): Fix end-of-pattern case for space. | |
11000 | ||
d8f96db8 ST |
11001 | 2004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11002 | ||
6108209e KS |
11003 | * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. |
11004 | * mac.c (cfstring_create_with_utf8_cstring): Add to prevent | |
d8f96db8 | 11005 | crashes with invalid characters. |
6108209e KS |
11006 | * macmenu.c (add_menu_item): Use it. |
11007 | * image.c (image_load_quartz2d): Likewise. | |
11008 | * macfns.c (x_set_name, x_set_title): Likewise. | |
11009 | (Fx_file_dialog): Likewise. Use constant CFRefs instead of | |
11010 | creating them each time for labels. | |
d8f96db8 | 11011 | |
ab67e8b6 RS |
11012 | 2004-12-02 Richard M. Stallman <rms@gnu.org> |
11013 | ||
11014 | * config.in (RE_TRANSLATE_P): If make_number is not a macro, | |
11015 | don't use it here. | |
11016 | ||
11017 | * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. | |
11018 | (interactive_p): Skip Scalled_interactively_p frames | |
11019 | like Sinteractive_p frames. | |
b8217ea6 | 11020 | (unwind_to_catch): Clear handling_signal. |
ab67e8b6 RS |
11021 | |
11022 | * data.c (Fmake_variable_buffer_local): Doc fix. | |
11023 | (Fmake_local_variable): Doc fix. | |
11024 | ||
11025 | * insdel.c (insert_from_string_before_markers) | |
11026 | (insert_from_string): Don't modify buffer on empty insertion. | |
11027 | ||
11028 | * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. | |
11029 | ||
f86bdc80 ST |
11030 | 2004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11031 | ||
11032 | * macmenu.c (add_menu_item): Fallback on MacRoman if encoding | |
11033 | menu text as UTF8 fails. | |
11034 | ||
1cae6d39 KS |
11035 | 2004-12-01 Kim F. Storm <storm@cua.dk> |
11036 | ||
11037 | * alloc.c: Add commentary for last change. | |
11038 | (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle | |
11039 | sizeof(size_t) != 4. | |
11040 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | |
11041 | Use them. Also clear header and trailer of freed memory. | |
11042 | (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. | |
11043 | (string_overrun_cookie): Rename from string_overrun_pattern. | |
11044 | (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. | |
11045 | ||
77ea0764 AS |
11046 | 2004-12-01 Andreas Schwab <schwab@suse.de> |
11047 | ||
11048 | * lisp.h: Declare string_to_multibyte. | |
11049 | ||
2d5cd4e6 KH |
11050 | 2004-12-01 Kenichi Handa <handa@m17n.org> |
11051 | ||
11052 | * w32console.c (w32con_write_glyphs): Decide coding here. | |
11053 | Adjusted for the change of encode_terminal_code. | |
11054 | ||
11055 | * term.c (encode_terminal_code): Don't make it "static". | |
11056 | ||
25a0994a KH |
11057 | 2004-11-30 Kenichi Handa <handa@m17n.org> |
11058 | ||
19b1f29a | 11059 | * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. |
25a0994a | 11060 | (encode_terminal_code): Argument changed. Encode all |
19b1f29a SM |
11061 | characters at once, and return a pointer to the result of encoding. |
11062 | (write_glyphs): Decide coding here. Adjusted for the above change. | |
25a0994a KH |
11063 | (insert_glyphs): Likewise. |
11064 | (term_init): Initialize encode_terminal_bufsize to 0. | |
11065 | ||
11066 | * coding.c (Vcode_conversion_workbuf_name): New variable. | |
11067 | (syms_of_coding): Initialize and staticpro it. | |
11068 | (set_conversion_work_buffer): New function. | |
11069 | (run_pre_post_conversion_on_str): Use it. | |
11070 | (run_pre_write_conversin_on_c_str): New function. | |
11071 | ||
11072 | * coding.h (run_pre_write_conversin_on_c_str): Extern it. | |
11073 | ||
fc7a70cc ST |
11074 | 2004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11075 | ||
11076 | * keyboard.c: Don't undef SIGIO | |
11077 | * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon | |
11078 | * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. | |
11079 | (macfns.o): Don't depend on ccl.h. | |
11080 | * macfns.c (mac_frame_parm_handlers): Set handlers for | |
11081 | Qleft_fringe and Qright_fringe. | |
11082 | * macterm.c (mac_fill_rectangle_to_pixmap) | |
11083 | (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) | |
11084 | (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): | |
11085 | Put in #if 0. | |
11086 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. | |
11087 | (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. | |
11088 | (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. | |
11089 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
11090 | [!MAC_OS8]: Added ifdef'd out code for os8. Don't use | |
11091 | XDrawImageString. Always draw background and foreground separately. | |
11092 | (x_draw_image_foreground): Use clipping instead of computing the | |
11093 | intersection rectangle. | |
11094 | (x_draw_image_glyph_string): Don't draw an image with mask to a | |
11095 | pixmap. | |
11096 | (x_redisplay_interface): Set flush_display_optional member to 0. | |
11097 | (XTread_socket): Correctly reset the TEConverter | |
11098 | object. | |
11099 | ||
fc368889 KS |
11100 | 2004-11-30 Kim F. Storm <storm@cua.dk> |
11101 | ||
11102 | * lisp.h: New defines to enable buffer overrun checking. | |
11103 | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) | |
11104 | (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. | |
11105 | ||
11106 | * alloc.c: Add more checks for buffer overruns. | |
11107 | (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) | |
11108 | xmalloc_overrun_check_trailer, overrun_check_malloc) | |
11109 | overrun_check_realloc, overrun_check_free): Add. | |
11110 | (GC_STRING_EXTRA, string_overrun_pattern): Add. | |
11111 | (check_sblock, allocate_string_data, compact_small_strings): | |
11112 | Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. | |
11113 | (check_cons_list): Condition on GC_CHECK_CONS_LIST. | |
11114 | (check_string_free_list): Add. | |
11115 | (allocate_string, sweep_strings): Call check_string_free_list. | |
11116 | ||
11117 | * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if | |
11118 | XMALLOC_OVERRUN_CHECK to avoid crash during load. | |
11119 | ||
0af8cfe1 KS |
11120 | 2004-11-29 Kim F. Storm <storm@cua.dk> |
11121 | ||
11122 | * fns.c (concat): Use SAFE_ALLOCA. | |
11123 | ||
77220eeb SM |
11124 | 2004-11-29 Stefan Monnier <monnier@iro.umontreal.ca> |
11125 | ||
11126 | * sysdep.c (emacs_write): Don't use QUIT. | |
11127 | ||
a778cf63 KH |
11128 | 2004-11-29 Kenichi Handa <handa@m17n.org> |
11129 | ||
11130 | * buffer.c (init_buffer): Set current_buffer->directory to a | |
11131 | multibyte string made by string_to_multibyte. | |
11132 | ||
77220eeb | 11133 | * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. |
a778cf63 | 11134 | |
e3177e43 AS |
11135 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
11136 | ||
11137 | * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. | |
11138 | ||
11139 | * s/gnu-linux.h: Enable no-op gcpros on ia64. | |
11140 | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. | |
11141 | ||
77220eeb SM |
11142 | * filelock.c (lock_file_1): Call get_boot_time early. |
11143 | Increase buffer size. | |
e3177e43 | 11144 | |
ca5e6fef EZ |
11145 | 2004-11-27 Eli Zaretskii <eliz@gnu.org> |
11146 | ||
11147 | * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN | |
11148 | is not defined. | |
11149 | ||
e2811828 KS |
11150 | 2004-11-27 Kim F. Storm <storm@cua.dk> |
11151 | ||
11152 | * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' | |
11153 | marker out of doc string. | |
11154 | ||
7a262394 SM |
11155 | 2004-11-26 Stefan Monnier <monnier@iro.umontreal.ca> |
11156 | ||
11157 | * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, | |
11158 | which was not mentioned in the log. | |
11159 | ||
f33cc5a9 KS |
11160 | 2004-11-26 Kim F. Storm <storm@cua.dk> |
11161 | ||
048bb03f KS |
11162 | * fringe.c (update_window_fringes): Prefer truncation bitmaps over |
11163 | angle bitmaps at top/bottom line. | |
11164 | ||
52eb0373 | 11165 | * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, |
f33cc5a9 KS |
11166 | set it when it->method is set to next_element_from_display_vector. |
11167 | (setup_for_ellipsis): Add LEN argument. Callers changed. | |
11168 | Set it->saved_face_id. | |
11169 | (get_next_display_element): Use loop instead of recursion. | |
11170 | Set it->saved_face_id. Combine duplicate code for ctr chars. | |
11171 | (next_element_from_display_vector): Do not set it->saved_face_id. | |
11172 | (next_element_from_ellipsis): Use setup_for_ellipsis. | |
11173 | ||
670e8906 EZ |
11174 | 2004-11-26 Eli Zaretskii <eliz@gnu.org> |
11175 | ||
11176 | * eval.c (Fdefvar): Declare pdl from last change as `volatile' to | |
11177 | prevent compiler warnings. | |
11178 | ||
275464e7 SM |
11179 | 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> |
11180 | ||
1bf0e604 SM |
11181 | * keyboard.c (command_loop_1): Print a message describing the key |
11182 | the user just pressed when this key has no binding. | |
11183 | ||
275464e7 SM |
11184 | * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. |
11185 | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. | |
11186 | ||
11187 | * lread.c (readchar): Check QUIT when `getc' is interrupted. | |
11188 | ||
261b01c6 RS |
11189 | 2004-11-24 Richard M. Stallman <rms@gnu.org> |
11190 | ||
11191 | * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. | |
11192 | ||
11193 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. | |
11194 | ||
a5bd504e KS |
11195 | 2004-11-24 Kim F. Storm <storm@cua.dk> |
11196 | ||
11197 | * xdisp.c (move_it_in_display_line_to, display_line): | |
11198 | Restore saved_face_id also when truncate-lines or hscrolled. | |
11199 | ||
255e4140 JD |
11200 | 2004-11-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11201 | ||
11202 | * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to | |
11203 | x-use-old-gtk-file-dialog. | |
11204 | ||
11205 | * xfns.c: Define x_use_old_gtk_file_dialog. | |
11206 | (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it | |
11207 | outside ifdef USE_GTK. | |
11208 | ||
cab27d04 SM |
11209 | 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca> |
11210 | ||
11211 | * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): | |
11212 | Don't use XFASTINT blindly. | |
11213 | ||
11214 | * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. | |
11215 | ||
11216 | * indent.c (skip_invisible): Avoid non-idempotent side-effects | |
11217 | in macro arguments. | |
11218 | ||
11219 | * keymap.c (Flookup_key): Check INTEGERP before XINT. | |
11220 | ||
11221 | * lread.c (oblookup): Don't use XFASTINT blindly. | |
11222 | ||
11223 | * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. | |
11224 | (decode_next_window_args, window_loop): Don't use XFASTINT blindly. | |
11225 | ||
11e0be49 KS |
11226 | 2004-11-23 Kim F. Storm <storm@cua.dk> |
11227 | ||
4d721114 KS |
11228 | * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) |
11229 | (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. | |
11230 | ||
11e0be49 KS |
11231 | * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if |
11232 | signal_p is zero and face name is unknown. | |
11233 | (Fx_list_fonts): Don't signal error in lookup_named_face. | |
11234 | (Fface_font): Signal error in lookup_named_face. | |
11235 | (ascii_face_of_lisp_face): Likewise. | |
11236 | ||
11237 | * dispextern.h (lookup_named_face): Fix prototype. | |
11238 | ||
11239 | * xdisp.c (handle_single_display_prop): Don't signal error in | |
11240 | lookup_named_face for unknown fringe face name. | |
11241 | (highlight_trailing_whitespace): Don't signal error in | |
11242 | lookup_named_face if trailing-whitespace face unknown. | |
11243 | (calc_line_height_property): Don't signal error in | |
11244 | lookup_named_face if specified face name is unknown. | |
11245 | ||
11246 | * fringe.c (update_window_fringes): Show top row indicator if | |
11247 | window has header-line. Don't show arrow at bob and eob | |
11248 | if the boundary indicators are not used. | |
11249 | (Fset_fringe_bitmap_face): Signal error in lookup_named_face. | |
11250 | ||
11251 | * window.c (set_window_buffer): Clear display_error_modiff. | |
11252 | ||
0960a582 KS |
11253 | 2004-11-22 Kim F. Storm <storm@cua.dk> |
11254 | ||
11255 | * fringe.c (update_window_fringes): Provide sensible fall-back | |
11256 | value for non-nil indicate-buffer-boundaries setting. | |
11257 | ||
b0e9bb28 MR |
11258 | 2004-11-22 Markus Rost <rost@ias.edu> |
11259 | ||
11260 | * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. | |
11261 | ||
d0bce91e SM |
11262 | 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
11263 | ||
11264 | * eval.c (Fdefvar): Warn when var is let-bound but globally void. | |
11265 | ||
e1814672 KS |
11266 | 2004-11-21 Kim F. Storm <storm@cua.dk> |
11267 | ||
b7fd3518 KS |
11268 | * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. |
11269 | ||
11270 | * xterm.c (x_clip_to_row): Add area arg. Callers changed. | |
11271 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
11272 | ||
11273 | * w32term.c (w32_clip_to_row): Add area arg. Callers changed. | |
11274 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
11275 | ||
11276 | * macterm.c (x_clip_to_row): Add area arg. Callers changed. | |
11277 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
11278 | ||
d0bce91e SM |
11279 | * xdisp.c (move_it_in_display_line_to, display_line): |
11280 | Restore saved_face_id if overflow-newline-into-fringe is enabled and | |
11281 | line is continued before or in middle of element from display vector. | |
f01d4d05 | 11282 | |
f1a61389 KS |
11283 | * indent.c (Fvertical_motion): Fix last change. Use another |
11284 | method to detect if iterator moved too far ahead after reseat. | |
11285 | ||
e1814672 KS |
11286 | * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not |
11287 | expand matrix width for overflow in zero-width area. | |
11288 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
11289 | (append_stretch_glyph): Use it to avoid loop in redisplay. | |
11290 | (note_mode_line_or_margin_highlight): Don't let help-echo from | |
11291 | string override help-echo from image map. | |
11292 | ||
2dafe1c9 LT |
11293 | 2004-11-20 Luc Teirlinck <teirllm@auburn.edu> |
11294 | ||
d0bce91e | 11295 | * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. |
2dafe1c9 LT |
11296 | * callint.c (Fcall_interactively): Ditto. |
11297 | ||
fd6866c8 | 11298 | 2004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9961365e RS |
11299 | |
11300 | * minibuf.c (Fminibuffer_complete_and_exit): | |
11301 | Fixup the case of the completed value, for case-indep completion. | |
11302 | ||
dedbac89 RS |
11303 | 2004-11-20 Richard M. Stallman <rms@gnu.org> |
11304 | ||
fd6866c8 RS |
11305 | * lisp.h (Fread_from_minibuffer): Add arg in decl. |
11306 | ||
9d00469f | 11307 | * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. |
ce8dd7ca | 11308 | (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. |
9d00469f | 11309 | |
dedbac89 | 11310 | * search.c (Vsearch_spaces_regexp): |
d0bce91e | 11311 | Rename from Vsearch_whitespace_regexp. All uses changed. |
dedbac89 | 11312 | |
2f672bb5 TTN |
11313 | 2004-11-20 Thien-Thi Nguyen <ttn@gnu.org> |
11314 | ||
11315 | * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. | |
11316 | ||
f31a9a68 RS |
11317 | 2004-11-19 Richard M. Stallman <rms@gnu.org> |
11318 | ||
11319 | * search.c (Vsearch_whitespace_regexp): New variable. | |
11320 | (syms_of_search): Defvar it. | |
11321 | (compile_pattern_1): Call re_set_whitespace_regexp with it. | |
11322 | (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp | |
11323 | is non-nil. | |
6de891db RS |
11324 | (struct regexp_cache): New element whitespace_regexp. |
11325 | (syms_of_search): Initialize whitespace_regexp elements. | |
11326 | (compile_pattern): Compare whitespace_regexp elements. | |
11327 | (compile_pattern_1): Set whitespace_regexp elements. | |
f31a9a68 RS |
11328 | |
11329 | * regex.c (regex_compile): Substitute whitespace_regexp | |
11330 | for spaces, if it is nonzero. | |
11331 | (whitespace_regexp): New variable. | |
11332 | (re_set_whitespace_regexp): New function. | |
11333 | ||
cbc34cb3 KS |
11334 | 2004-11-19 Kim F. Storm <storm@cua.dk> |
11335 | ||
11336 | * indent.c (Fvertical_motion): Fix last change. | |
11337 | ||
b54a7539 KS |
11338 | 2004-11-18 Kim F. Storm <storm@cua.dk> |
11339 | ||
11340 | * indent.c (Fvertical_motion): Undo 2004-11-16 change. | |
11341 | Instead, move back again if reseating moves too far ahead. | |
11342 | ||
11343 | 2004-11-17 Luc Teirlinck <teirllm@auburn.edu> | |
802c6e56 LT |
11344 | |
11345 | * xdisp.c (message3): Call clear_message. | |
11346 | ||
5ff504fe KS |
11347 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
11348 | ||
11349 | * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. | |
11350 | ||
5ae53dcf JD |
11351 | 2004-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11352 | ||
d0bce91e | 11353 | * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. |
724cde0d | 11354 | |
6abf3a27 | 11355 | * xmenu.c (x_menu_in_use): Remove. |
5ae53dcf JD |
11356 | (x_menu_set_in_use): Also set popup_activated_flag. |
11357 | ||
5ff504fe | 11358 | * xfns.c (Fx_file_dialog): Call popup_activated instead of |
5ae53dcf JD |
11359 | x_menu_in_use. Call x_menu_set_in_use in Motif version also. |
11360 | ||
52eb0373 | 11361 | * xterm.h (x_menu_in_use): Remove. |
5ae53dcf | 11362 | |
ee31cd78 RS |
11363 | 2004-11-16 Richard M. Stallman <rms@gnu.org> |
11364 | ||
6abf3a27 SM |
11365 | * keymap.c (Fmap_keymap): New arg SORT-FIRST. |
11366 | Use map-keymap-internal to implement that. | |
ee31cd78 RS |
11367 | |
11368 | * indent.c (Fvertical_motion): In batch mode, use vmotion directly. | |
11369 | ||
6abf3a27 SM |
11370 | 2004-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
11371 | ||
11372 | * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's | |
11373 | a window before using XWINDOW. | |
11374 | ||
11375 | * window.c (make_window, Fselect_window, make_dummy_parent) | |
11376 | (save_window_save): | |
11377 | * frame.c (make_frame): | |
11378 | * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. | |
11379 | ||
11380 | * lisp.h (NILP): Use EQ rather than XFASTINT. | |
11381 | ||
b4d61105 KS |
11382 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
11383 | ||
6abf3a27 | 11384 | * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. |
dda01a4c | 11385 | |
b4d61105 KS |
11386 | * indent.c (Fvertical_motion): Fix last change. Only reseat when |
11387 | moving backwards. | |
11388 | ||
11389 | 2004-11-16 Luc Teirlinck <teirllm@auburn.edu> | |
ce2bbf6a LT |
11390 | |
11391 | * dispextern.h: Extern reseat_at_previous_visible_line_start. | |
11392 | ||
ab5b02b0 KH |
11393 | 2004-11-16 Kenichi Handa <handa@m17n.org> |
11394 | ||
11395 | * xdisp.c (display_mode_element): Fix previous change (calculate | |
11396 | end position of substring to display correctly). | |
11397 | ||
c482cf97 KS |
11398 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
11399 | ||
11400 | * keyboard.c (Fposn_at_point): Remove extra */ after doc string. | |
11401 | Reported by Andrew M. Scott. | |
11402 | ||
9f89426b KS |
11403 | 2004-11-15 Kim F. Storm <storm@cua.dk> |
11404 | ||
11405 | * fns.c (Fsafe_plist_get): New defun. | |
11406 | (syms_of_fns): Defsubr it. | |
11407 | ||
11408 | * lisp.h (Fsafe_plist_get): Add EXFUN. | |
11409 | ||
11410 | * xdisp.c (store_mode_line_string, produce_stretch_glyph): | |
11411 | Use Fsafe_plist_get. | |
11412 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
11413 | Fix image map element parsing. Use Fsafe_plist_get. | |
11414 | ||
27418463 RS |
11415 | 2004-11-15 Richard M. Stallman <rms@gnu.org> |
11416 | ||
11417 | * xdisp.c (get_next_display_element): Fix previous change. | |
11418 | ||
a130b901 JD |
11419 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11420 | ||
ef614e04 JD |
11421 | * window.c (shrink_windows): Handle special case of one window left |
11422 | when trying to shrink the final reminder. Grow windows if | |
11423 | total_removed is less than total_shrink. | |
11424 | ||
a130b901 JD |
11425 | * xmenu.c (pop_down_menu): Remove global variable current_menu, |
11426 | extract pointer from arg with XSAVE_VALUE. | |
46303896 KS |
11427 | (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): |
11428 | Construct arg to record_unwind_protect with make_save_value. | |
a130b901 | 11429 | |
d9a03ad2 RS |
11430 | 2004-11-13 Richard M. Stallman <rms@gnu.org> |
11431 | ||
11432 | * xdisp.c (reseat_at_previous_visible_line_start): No longer static. | |
11433 | (get_next_display_element): Fix previous change to apply only to \n. | |
11434 | ||
11435 | * indent.c (Fvertical_motion): Scan to PT from start of line to | |
11436 | make iterator consistent. | |
11437 | ||
11438 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
11439 | ||
b3935289 JD |
11440 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11441 | ||
11442 | * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. | |
11443 | ||
11444 | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | |
11445 | Record unwind with clean_up_file_dialog. | |
11446 | ||
78819ebb KS |
11447 | * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): |
11448 | Declare. | |
b3935289 JD |
11449 | |
11450 | * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | |
11451 | ||
af89e871 JD |
11452 | 2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11453 | ||
457a8155 | 11454 | * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) |
6abf3a27 | 11455 | (xg_file_sel_destroy): Remove. |
46303896 KS |
11456 | (xg_file_response_cb, pop_down_file_dialog) |
11457 | (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): | |
457a8155 | 11458 | New functions. |
6abf3a27 SM |
11459 | (xg_get_file_with_chooser, xg_get_file_with_selection): |
11460 | Take new arg func, set it to xg_get_file_name_from_chooser/selector. | |
457a8155 JD |
11461 | Move common code to xg_get_file_name. Return widget created. |
11462 | (xg_get_file_name): Set name, transient for, modal and destroy | |
11463 | with parent here. Connect response signal to xg_file_response_cb, | |
11464 | connect delete-event to gtk_true. Record pop_down_file_dialog | |
11465 | for unwind. Do event loop and call x_menu_wait_for_event in loop. | |
11466 | (xg_create_widget): Make dialogs modal. | |
11467 | ||
af89e871 JD |
11468 | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type |
11469 | Lisp_Object. | |
11470 | (popup_get_selection): Move unwind protect ... | |
11471 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
11472 | Move destroy of widget to pop_down_menu. | |
11473 | (popup_widget_loop): Move unwind protect ... | |
11474 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
11475 | Move destroy of widget to pop_down_menu. | |
11476 | (pop_down_menu): BLOCK_INPUT and destroy widget/window. | |
6abf3a27 | 11477 | (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, |
af89e871 JD |
11478 | x_mouse_leave and grabbed = 0 to pop_down_menu. |
11479 | ||
5596fbf1 KS |
11480 | 2004-11-13 Kim F. Storm <storm@cua.dk> |
11481 | ||
11482 | * xdisp.c (make_cursor_line_fully_visible_p): New variable. | |
11483 | (syms_of_xdisp): DEFVAR_BOOL it. | |
11484 | (make_cursor_line_fully_visible, try_cursor_movement) | |
11485 | (try_window_id): Use it. | |
11486 | ||
b9de078a KS |
11487 | 2004-11-12 Kim F. Storm <storm@cua.dk> |
11488 | ||
381f7091 KS |
11489 | * dispextern.h (struct glyph_row): New member extra_line_spacing. |
11490 | (struct it): New member max_extra_line_spacing. | |
11491 | (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
11492 | (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
11493 | (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
11494 | part of last line is only extra line spacing (so the text on the | |
52eb0373 | 11495 | line is fully visible). Use helper macros. |
381f7091 KS |
11496 | Add W arg (to use them). All callers changed. |
11497 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
11498 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
11499 | ||
6abf3a27 SM |
11500 | * window.c (window_scroll_pixel_based, Frecenter): |
11501 | Use move_it_vertically_backward directly. | |
381f7091 KS |
11502 | (Frecenter): Fix calculation of new start pos for negative arg. |
11503 | Before, the new start pos was sometimes chosen too far back, so | |
11504 | the last line became only partially visible, and thus would be | |
11505 | either only semi-visible or automatically scrolled to the middle | |
11506 | of the window by redisplay. | |
11507 | ||
11508 | * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
11509 | (move_it_vertically_backward): Don't recure to move further back. | |
11510 | (move_it_vertically): Remove superfluous condition. | |
11511 | (move_it_by_lines): Clear last_height when moved 0 lines. | |
6abf3a27 | 11512 | (resize_mini_window): Use it.max_extra_line_spacing. |
381f7091 KS |
11513 | (display_tool_bar_line): Clear row->extra_line_spacing. |
11514 | (try_scrolling): Use move_it_vertically_backward directly. | |
11515 | (redisplay_window): Likewise. | |
11516 | (compute_line_metrics): Set row->extra_line_spacing. | |
11517 | (display_line, display_string): Likewise. | |
11518 | (x_produce_glyphs): Update it->max_extra_line_spacing. | |
11519 | ||
b9de078a KS |
11520 | * xmenu.c (pop_down_menu): Return nil. |
11521 | ||
c3438661 JD |
11522 | 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11523 | ||
11524 | * xmenu.c (x_menu_wait_for_event): New function. | |
1d1c7e75 | 11525 | (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event |
c3438661 | 11526 | to handle timers. |
df00f436 JD |
11527 | (popup_widget_loop): Add argument do_timers. |
11528 | (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for | |
11529 | do_timers to popup_widget_loop. | |
c3438661 JD |
11530 | (xmenu_show): Call XMenuActivateSetWaitFunction so that |
11531 | x_menu_wait_for_event is called by XMenuActivate. | |
b9de078a | 11532 | (create_and_show_popup_menu): Pass 1 for do_timers to |
df00f436 | 11533 | popup_get_selection. |
f1d1cd24 JD |
11534 | (pop_down_menu): New function. |
11535 | (popup_get_selection, popup_widget_loop): Unwind protect to | |
11536 | pop_down_menu. | |
11537 | (popup_widget_loop): Add argument widget. | |
11538 | (create_and_show_popup_menu, create_and_show_dialog): Pass new | |
11539 | argument widget to popup_widget_loop. | |
c3438661 | 11540 | |
32e2fb04 SM |
11541 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
11542 | ||
11543 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | |
11544 | ||
0faf6806 KS |
11545 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
11546 | ||
11547 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | |
11548 | Fix various comments referring to XEvents instead of input events. | |
11549 | (x_queue_event): Fix format strings. | |
11550 | (x_stop_queuing_selection_requests): Likewise. | |
11551 | ||
11552 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | |
11553 | (pint2hrstr): Add extra braces to silence compiler. | |
11554 | ||
11555 | * print.c (print_object): Fix format string. | |
11556 | ||
11557 | * lread.c (read1): Fix next_char matching. | |
11558 | ||
11559 | * lisp.h (Fdelete): Add EXFUN. | |
11560 | (replace_range_2): Add prototype. | |
11561 | ||
11562 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | |
11563 | ||
11564 | * intervals.h (NULL_INTERVAL_P): Add separate version when | |
11565 | ENABLE_CHECKING is not defined to silence compiler. | |
11566 | (compare_string_intervals): Add prototype. | |
11567 | ||
11568 | * fringe.c (destroy_fringe_bitmap): Fix return type. | |
11569 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | |
11570 | ||
11571 | * emacs.c (Fdump_emacs): Fix format string. | |
11572 | ||
11573 | * doc.c: Include <ctype.h>. | |
11574 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | |
11575 | ||
11576 | * data.c (store_symval_forwarding): Remove unused variables. | |
11577 | ||
11578 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | |
11579 | ||
16bf4e32 JD |
11580 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11581 | ||
11582 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | |
11583 | to ${OLDXMENU}. | |
11584 | ||
cdb805a9 KS |
11585 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
11586 | ||
11587 | * process.c (Fmake_network_process): Remove kludge for interrupted | |
11588 | connects on BSD. If connect is interrupted, just close socket and | |
11589 | start over rather than sleeping and retry with same socket. | |
11590 | ||
d87a9ab8 | 11591 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0faf6806 | 11592 | |
a8b16c80 JD |
11593 | * .cvsignore: Add buildobj.lst. |
11594 | ||
d87a9ab8 JD |
11595 | * doc.c: New variable Vbuild_files. |
11596 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | |
e7427ac1 | 11597 | file names from buildobj.lst. Only attach docstrings from files |
d87a9ab8 JD |
11598 | that are in Vbuild_files. |
11599 | (syms_of_doc): Defvar Vbuild_files. | |
11600 | ||
11601 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | |
11602 | and w32*.o. | |
11603 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | |
6abf3a27 | 11604 | (mostlyclean): Rm buildobj.lst |
d87a9ab8 JD |
11605 | |
11606 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | |
11607 | is linked. | |
11608 | ||
b6709e77 KS |
11609 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
11610 | ||
11611 | * fringe.c (update_window_fringes): Update fringe bitmaps if | |
11612 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | |
11613 | also update previous row to get rid of misc. artifacts. | |
11614 | ||
bae9677d KS |
11615 | 2004-11-08 Kim F. Storm <storm@cua.dk> |
11616 | ||
11617 | * xdisp.c (fast_find_position): Fix start pos if header line present. | |
b7127aa8 | 11618 | (note_mouse_highlight): Clear mouse face if we move out of text area. |
bae9677d | 11619 | |
3f8ea68c EZ |
11620 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
11621 | ||
11622 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | |
11623 | Don't include <sys/time.h> explicitly. | |
11624 | Include <stdio.h> unconditionally, not just on MacOS. | |
11625 | ||
a653f812 KH |
11626 | 2004-11-08 Kenichi Handa <handa@m17n.org> |
11627 | ||
11628 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | |
11629 | don't pay attention to '\' before '*'. | |
11630 | (fontset_pattern_regexp): Change the meaning of the second arg. | |
11631 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | |
11632 | (check_fontset_name): Try NAME as literal at first, and if it | |
11633 | failes, try NAME as pattern. | |
11634 | ||
c37caf9d JD |
11635 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11636 | ||
11637 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | |
11638 | ||
b72915a7 AS |
11639 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
11640 | ||
78819ebb KS |
11641 | * lisp.h (Fmsdos_downcase_filename): Declare. |
11642 | * dired.c (Fmsdos_downcase_filename): Don't declare here. | |
b72915a7 AS |
11643 | * fileio.c: Likewise. |
11644 | ||
238a44a8 JD |
11645 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11646 | ||
11647 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | |
11648 | comparisons with integers instead of Lisp_Object address. | |
11649 | (Fmsdos_set_keyboard): Declare argument allkeys. | |
11650 | ||
11651 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | |
11652 | ||
78819ebb | 11653 | * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid |
238a44a8 JD |
11654 | int/Lisp_Object mixup. |
11655 | ||
11656 | * fileio.c: Ditto. | |
11657 | ||
31141c13 ST |
11658 | 2004-11-06 Steven Tamm <steventamm@mac.com> |
11659 | ||
11660 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | |
11661 | ||
f28c1bd9 RS |
11662 | 2004-11-06 Richard M. Stallman <rms@gnu.org> |
11663 | ||
11664 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | |
11665 | ||
11666 | * xfaces.c (merge_named_face): GCPRO the face_name in the | |
11667 | named_merge_point struct that we make. | |
11668 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | |
11669 | ||
11670 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | |
11671 | before deciding whether to inactivate mark. | |
11672 | ||
59dede22 EZ |
11673 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> |
11674 | ||
11675 | * config.in: Regenerate (add HAVE_GETRUSAGE). | |
6159c232 EZ |
11676 | * editfns.c (Fget_internal_run_time): New function. |
11677 | (syms_of_data): Defsubr it. | |
11678 | * fns.c (sxhash): As far as possible, merge calculation of | |
11679 | hash code for symbols and strings. | |
59dede22 | 11680 | |
27540e81 EZ |
11681 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> |
11682 | ||
11683 | * frame.c (syms_of_frame): Fix the example in the doc string. | |
11684 | ||
df470e3b JD |
11685 | 2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11686 | ||
11687 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | |
11688 | ||
11689 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | |
11690 | (create_and_show_dialog): Revert change from 2004-10-31. | |
bae9677d | 11691 | |
4cc8522c LT |
11692 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> |
11693 | ||
11694 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | |
11695 | ||
d4a42098 KS |
11696 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
11697 | ||
a8490886 KS |
11698 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. |
11699 | ||
d4a42098 KS |
11700 | * fileio.c (Ffile_modes): Doc fix. |
11701 | (auto_save_1): Check for Ffile_modes nil value. | |
11702 | ||
36a2b04c KS |
11703 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
11704 | ||
11705 | * xselect.c (struct selection_event_queue, selection_queue) | |
11706 | (x_queue_selection_requests, x_queue_event) | |
11707 | (x_start_queuing_selection_requests) | |
11708 | (x_stop_queuing_selection_requests): Add new queue for selection | |
11709 | input events to replace previous XEvent queue in xterm.c. | |
11710 | (queue_selection_requests_unwind): Adapt to new queue. | |
32e2fb04 SM |
11711 | (x_reply_selection_request): Adapt to new queue. |
11712 | Unexpect wait_object in case of x errors (memory leak). | |
36a2b04c KS |
11713 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
11714 | (x_handle_selection_event): New function. May queue selection events. | |
11715 | (wait_for_property_change_unwind): Use save_value instead of cons. | |
11716 | Clear property_change_reply_object. | |
11717 | (wait_for_property_change): Abort if already waiting. | |
11718 | Use save_value instead of cons for unwind data. | |
11719 | (x_handle_property_notify): Skip events already arrived, but don't | |
11720 | free them, as "arrived" field is checked by wait_for_property_change, | |
11721 | and it will be freed by unwind or explicit unexpect_property_change. | |
11722 | (x_get_foreign_selection): Add to new queue. | |
11723 | (receive_incremental_selection): Don't unexpect wait_object when done | |
11724 | as it has already been freed by previous wait_for_property_change. | |
11725 | ||
11726 | * xterm.h (x_start_queuing_selection_requests) | |
11727 | (x_stop_queuing_selection_requests, x_handle_selection_request) | |
11728 | (x_handle_selection_clear): Remove prototypes. | |
11729 | (x_handle_selection_event): Add prototype. | |
11730 | ||
11731 | * xterm.c (handle_one_xevent): Don't queue X selection events | |
11732 | here, it may be too late if we start queuing after we have already | |
11733 | stored some selection events into the kbd buffer. | |
11734 | (struct selection_event_queue, queue, x_queue_selection_requests) | |
11735 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | |
11736 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | |
11737 | (x_catch_errors_unwind): Block input around final XSync. | |
11738 | ||
11739 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | |
11740 | ||
11741 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | |
11742 | (kbd_buffer_unget_event): New function. | |
11743 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | |
11744 | and use x_handle_selection_event. | |
11745 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | |
11746 | ||
9c3ad9e1 JD |
11747 | 2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11748 | ||
11749 | * xselect.c (TRACE3): New debug macro. | |
11750 | (x_reply_selection_request): Use it. | |
11751 | (receive_incremental_selection): In call to TRACE0, the name of | |
11752 | a symbol is in xname. | |
11753 | ||
a33b89de KS |
11754 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
11755 | ||
11756 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | |
11757 | ||
a872928c JD |
11758 | 2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11759 | ||
88208bb8 JD |
11760 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. |
11761 | ||
78819ebb | 11762 | * gtkutil.h (use_old_gtk_file_dialog): Declare. |
0a4f23f3 JD |
11763 | |
11764 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | |
32e2fb04 | 11765 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
0a4f23f3 JD |
11766 | * xfns.c (syms_of_xfns): ... to here. |
11767 | ||
a872928c JD |
11768 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
11769 | it doesn't start with /. | |
11770 | ||
b912921c KH |
11771 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
11772 | ||
11773 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | |
11774 | treat it as a literal character. | |
11775 | ||
c524d9a6 KS |
11776 | 2004-11-03 Kim F. Storm <storm@cua.dk> |
11777 | ||
11778 | * .gdbinit (ppt): New function. | |
11779 | ||
8cfd0f36 JD |
11780 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11781 | ||
a11e1dce JD |
11782 | * xterm.c (x_window_to_scroll_bar): Only call |
11783 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | |
11784 | ||
8cfd0f36 JD |
11785 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
11786 | of save. | |
11787 | ||
a93563fd AS |
11788 | 2004-11-02 Andreas Schwab <schwab@suse.de> |
11789 | ||
11790 | * window.c (Fscroll_right): Fix last change. | |
11791 | ||
2b2d59d8 KS |
11792 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
11793 | ||
14a56a1b | 11794 | * Makefile.in (callproc.o): Depend on blockinput.h, atimer.h, systime.h. |
2b2d59d8 KS |
11795 | |
11796 | 2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
11797 | ||
11798 | * callproc.c (Fcall_process): Block input around vfork. | |
11799 | ||
ca28104d KS |
11800 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
11801 | ||
11802 | * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. | |
11803 | (syms_of_eval): Defsubr it. | |
11804 | ||
29bb7127 RS |
11805 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
11806 | ||
11807 | * insdel.c (replace_range_2): New function. | |
11808 | ||
11809 | * casefiddle.c (casify_region): Handle changes in byte-length | |
11810 | using replace_range_2. | |
11811 | ||
11812 | * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. | |
11813 | ||
b6189c3b | 11814 | * xdisp.c (back_to_previous_visible_line_start): |
29bb7127 RS |
11815 | Subtract 1 from pos when checking previous newline for invisibility. |
11816 | ||
11817 | * window.c (window_scroll_pixel_based): Update preserve_y | |
11818 | for header line if any. | |
11819 | (Fscroll_left, Fscroll_right): Don't call interactive_p; | |
11820 | use a new second argument instead. | |
11821 | ||
11822 | * eval.c (Fcall_interactive_p): New function. | |
11823 | (interactive_p): Don't test INTERACTIVE here. | |
11824 | (Finteractive_p): Doc fix. | |
11825 | ||
11826 | * eval.c (Feval): Abort if INPUT_BLOCKED_P. | |
11827 | ||
b6189c3b | 11828 | 2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
a3fe4aaf JR |
11829 | |
11830 | * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for | |
b6189c3b | 11831 | comparing font names. |
a3fe4aaf | 11832 | |
2a00cdb4 JD |
11833 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11834 | ||
f9d64bb3 JD |
11835 | * fileio.c (Fread_file_name): Pass Qt as fifth parameter to |
11836 | Fx_file_dialog if only directories should be read. | |
11837 | ||
11838 | * lisp.h: Fx_file_dialog takes 5 parameters. | |
11839 | ||
32e2fb04 SM |
11840 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
11841 | Add parameter only_dir_p. | |
f9d64bb3 JD |
11842 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
11843 | dialog, just text field part. Do not add DEFAULT_FILENAME | |
11844 | to list of files if it isn't there. | |
11845 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | |
11846 | ||
32e2fb04 SM |
11847 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
11848 | Check only_dir_p instead of comparing prompt to "Dired". When using | |
f9d64bb3 JD |
11849 | a save dialog, add option kNavDontConfirmReplacement, change title |
11850 | to "Enter name", change text for save button to "Ok". | |
11851 | ||
32e2fb04 SM |
11852 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
11853 | Check only_dir_p instead of comparing prompt to "Dired". | |
f9d64bb3 | 11854 | |
14a56a1b JB |
11855 | * gtkutil.c (xg_get_file_with_chooser, xg_get_file_with_selection): |
11856 | New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW | |
11857 | and HAVE_GTK_FILE_SELECTION_NEW respectively. | |
f9d64bb3 JD |
11858 | (xg_get_file_name): Add parameter only_dir_p. |
11859 | Call xg_get_file_with_chooser or xg_get_file_with_selection | |
11860 | depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. | |
11861 | (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. | |
11862 | ||
11863 | * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. | |
11864 | ||
2a00cdb4 JD |
11865 | * config.in: Rebuild (added HAVE_GTK_FILE_*). |
11866 | ||
f6749d5d KS |
11867 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
11868 | ||
32e2fb04 SM |
11869 | * process.c (connect_wait_mask, num_pending_connects): |
11870 | Only declare and use them if NON_BLOCKING_CONNECT is defined. | |
bad49fc7 | 11871 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
f6749d5d KS |
11872 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
11873 | (wait_reading_process_output): Only declare and use local vars | |
11874 | Connecting and check_connect when NON_BLOCKING_CONNECT is defined. | |
f6749d5d | 11875 | |
1a99fe1a JR |
11876 | 2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change) |
11877 | ||
11878 | * w32term.c (x_scroll_run): Delete region objects after use. | |
11879 | ||
fcdb28b4 JD |
11880 | 2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11881 | ||
495ef86b JD |
11882 | * xmenu.c: Add prototypes for forward function declarations. |
11883 | (popup_get_selection): Remove parameter do_timers, remove call to | |
11884 | timer_check. | |
32e2fb04 SM |
11885 | (create_and_show_popup_menu, create_and_show_dialog): |
11886 | Remove parameter do_timers from call to popup_get_selection. | |
495ef86b | 11887 | |
12e6566a JD |
11888 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
11889 | tool_bar_items and assign the result to f->tool_bar_items if | |
11890 | not equal. Move BLOCK/UNBLOCK_INPUT from around call to | |
11891 | tool_bar_items to assignment of result. | |
11892 | ||
fcdb28b4 | 11893 | * atimer.c (alarm_signal_handler): Do not call set_alarm if |
14a56a1b | 11894 | pending_atimers is non-zero. |
fcdb28b4 | 11895 | |
1a1a0c4c KS |
11896 | 2004-10-31 Kim F. Storm <storm@cua.dk> |
11897 | ||
11898 | * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. | |
11899 | ||
a36f1680 JW |
11900 | 2004-10-28 Will <will@glozer.net> |
11901 | ||
1d1c7e75 | 11902 | * macterm.c: Allow user to assign key modifiers to the Mac Option |
a36f1680 JW |
11903 | key via a 'mac-option-modifier' variable. |
11904 | ||
32e2fb04 | 11905 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2d586478 SM |
11906 | |
11907 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | |
11908 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | |
11909 | (x_handle_selection_request, x_handle_selection_clear) | |
11910 | (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. | |
11911 | ||
4f71c13f RS |
11912 | 2004-10-28 Richard M. Stallman <rms@gnu.org> |
11913 | ||
11914 | * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
11915 | ||
11916 | * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
11917 | ||
068f3848 SM |
11918 | 2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca> |
11919 | ||
11920 | * syntax.c (scan_sexps_forward): Give precedence to a 2-char | |
11921 | comment-starter over a 1-char one. | |
11922 | ||
4660a9e3 RS |
11923 | 2004-10-27 Richard M. Stallman <rms@gnu.org> |
11924 | ||
11925 | * xdisp.c (get_next_display_element): In mode lines, | |
11926 | treat newline and tab like other control characters. | |
11927 | ||
11928 | * editfns.c (Fmessage): Doc fix. | |
11929 | ||
11930 | * indent.c (vmotion): When moving up, check the newline before. | |
11931 | Make prevline an int, not a Lisp_Object. | |
11932 | ||
233f3db6 KS |
11933 | 2004-10-27 Kim F. Storm <storm@cua.dk> |
11934 | ||
11935 | * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. | |
11936 | Only allocate info and discarded tables once. | |
11937 | ||
11938 | * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. | |
11939 | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. | |
11940 | (SAFE_FREE): Test it to determine if we need to unwind to free. | |
11941 | Remove size arg. All users changed. | |
11942 | (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. | |
11943 | ||
1442465d JD |
11944 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11945 | ||
11946 | * gtkutil.c: Put empty line between comment and function body. | |
068f3848 SM |
11947 | (xg_destroy_widgets): Rename from remove_from_container. |
11948 | Just destroy all widgets in list. Argument wcont removed. | |
1442465d JD |
11949 | (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets |
11950 | instead of remove_from_container. | |
11951 | (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) | |
11952 | (free_frame_tool_bar): Add comment. | |
11953 | ||
11954 | * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME | |
11955 | is not NULL before strcmp. | |
11956 | ||
c8636435 KS |
11957 | 2004-10-26 Kim F. Storm <storm@cua.dk> |
11958 | ||
11959 | * callint.c (Fcall_interactively): Add 'U' code to get the | |
11960 | up-event discarded by a previous 'k' or 'K' argument. | |
11961 | ||
5629f29b DK |
11962 | 2004-10-26 David Kastrup <dak@gnu.org> |
11963 | ||
11964 | * buffer.c (syms_of_buffer): Fix a few typos. | |
11965 | ||
4f2f546e JD |
11966 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11967 | ||
11968 | * xsmfns.c: Put empty line between comment and function body. | |
11969 | Use two spaces before comment end. | |
11970 | ||
fc1062f5 KH |
11971 | 2004-10-25 Kenichi Handa <handa@m17n.org> |
11972 | ||
11973 | * fontset.c (fontset_pattern_regexp): Optimize for the case that | |
11974 | PATTERN is full XLFD. | |
11975 | ||
be13f5e5 KH |
11976 | 2004-10-24 Kenichi Handa <handa@m17n.org> |
11977 | ||
11978 | * regex.h (enum reg_errcode_t): New value REG_ERANGEX. | |
11979 | ||
11980 | * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. | |
11981 | (regex_compile): Return REG_ERANGEX if appropriate. | |
11982 | ||
d0ee2ed3 KH |
11983 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
11984 | ||
11985 | * editfns.c (Ftranslate_region_internal): New function. | |
11986 | (syms_of_editfns): Defsubr it. | |
11987 | ||
63ea8ea5 JD |
11988 | 2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11989 | ||
11990 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | |
11991 | ||
d495ccfc | 11992 | 2004-10-21 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
c27ed90a | 11993 | |
068f3848 SM |
11994 | * xterm.h (x_output): New member `xic_base_fontname'. |
11995 | (FRAME_XIC_BASE_FONTNAME): New macro. | |
11996 | (xic_free_xfontset): Declare. | |
c27ed90a | 11997 | |
068f3848 SM |
11998 | * xfns.c (xic_create_xfontset): Share fontsets between frames |
11999 | based on base_fontname. | |
12000 | (xic_free_xfontset): New function. | |
12001 | (free_frame_xic): Use it. | |
12002 | (xic_set_xfontset): Ditto. | |
c27ed90a | 12003 | |
068f3848 | 12004 | * xterm.c (xim_destroy_callback): Ditto. |
c27ed90a | 12005 | |
59508699 JR |
12006 | 2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) |
12007 | ||
12008 | * w32term.c (x_draw_glyph_string): Use overline_color for overlines. | |
12009 | ||
dede2792 JD |
12010 | 2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12011 | ||
3aca2078 JD |
12012 | * xterm.h (XSync): If USE_GTK, define XSync as process_all and then |
12013 | XSync. | |
12014 | ||
dede2792 JD |
12015 | * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): |
12016 | New variables and constant. | |
12017 | (main): Calculate heap_bss_diff. If we are dumping and the | |
12018 | heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 | |
12019 | and exec ourself again. | |
12020 | (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF | |
12021 | print a warning. | |
12022 | ||
12023 | * lastfile.c: Make my_endbss and my_endbss_static available on all | |
12024 | platforms. | |
12025 | ||
12026 | * Makefile.in (RUN_TEMACS): Remove @SETARCH@. | |
12027 | * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. | |
12028 | ||
1dc5ba01 LT |
12029 | 2004-10-19 Luc Teirlinck <teirllm@auburn.edu> |
12030 | ||
12031 | * data.c (Flocal_variable_if_set_p): Doc fix. | |
12032 | ||
950090be JR |
12033 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
12034 | ||
12035 | * w32.c (init_environment): Set emacs_dir correctly when running | |
12036 | emacs from the build directory. | |
12037 | ||
8550b998 RS |
12038 | 2004-10-19 Richard M. Stallman <rms@gnu.org> |
12039 | ||
12040 | * editfns.c (Fdelete_and_extract_region): | |
12041 | If region is empty, return null string. | |
12042 | ||
08dedea6 JD |
12043 | 2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12044 | ||
1dc5ba01 | 12045 | * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left |
08dedea6 | 12046 | and canon_width. |
068f3848 | 12047 | (xg_frame_cleared): Remove. |
08dedea6 | 12048 | |
068f3848 SM |
12049 | * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) |
12050 | (xg_find_top_left_in_fixed): Remove. | |
08dedea6 JD |
12051 | (xg_create_scroll_bar): Put an event box widget between |
12052 | the scroll bar widget and the edit widget. | |
12053 | (xg_show_scroll_bar): Show the parent widget (the event box). | |
12054 | (xg_remove_scroll_bar): Destroy parent (the event box) also. | |
12055 | (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. | |
12056 | Move the parent (the event box) widget inside the fixed widget. | |
12057 | Move window clear to xterm.c. | |
12058 | ||
068f3848 | 12059 | * gtkutil.h (xg_frame_cleared): Remove. |
1dc5ba01 | 12060 | |
08dedea6 | 12061 | * xterm.c (x_clear_frame): Remove call to xg_frame_cleared |
068f3848 SM |
12062 | (x_scroll_bar_create, XTset_vertical_scroll_bar): |
12063 | Remove arguments left and width to xg_update_scrollbar_pos. | |
08dedea6 JD |
12064 | (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. |
12065 | ||
8550b998 | 12066 | 2004-10-19 Kenichi Handa <handa@m17n.org> |
e3e55463 KS |
12067 | |
12068 | * xdisp.c (display_mode_element): Fix display of wide chars. | |
e3e55463 | 12069 | |
84338890 JD |
12070 | 2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12071 | ||
12072 | * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to | |
12073 | gdk_window_clear and move gdk_window_process_all_updates after | |
12074 | clear so events are sent to the X server in correct order. | |
12075 | ||
6e1b0d8c KH |
12076 | 2004-10-18 Kenichi Handa <handa@m17n.org> |
12077 | ||
12078 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case for | |
12079 | comparing font names. | |
8550b998 | 12080 | (fs_query_fontset): Use fast_string_match for comparing fontset names. |
6e1b0d8c KH |
12081 | (list_fontsets): Likewise. |
12082 | ||
12083 | * search.c (fast_string_match_ignore_case): New function. | |
12084 | ||
12085 | * lisp.h (fast_string_match_ignore_case): Extern it. | |
12086 | ||
345e75a8 KS |
12087 | 2004-10-17 Kim F. Storm <storm@cua.dk> |
12088 | ||
12089 | * xdisp.c (overlay_arrow_at_row): Return overlay string rather | |
12090 | than bitmap if there is not left fringe. | |
12091 | (get_overlay_arrow_glyph_row): Also used on windows system. | |
12092 | (display_line): Display overlay string if no left fringe. | |
12093 | ||
be13cbb7 JR |
12094 | 2004-10-16 Jason Rumney <jasonr@gnu.org> |
12095 | ||
12096 | * w32fns.c (w32_font_match): Encode font name being matched. | |
12097 | ||
c2e2ede7 RS |
12098 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
12099 | ||
12100 | * window.c (Fspecial_display_p): Doc fix. | |
12101 | ||
043f7f73 | 12102 | 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
3584d95d SM |
12103 | |
12104 | * doc.c (Fsubstitute_command_keys): Fix remap-handling. | |
12105 | Don't ignore menus, because where-is-internal already does it for us. | |
12106 | ||
699a0392 KS |
12107 | 2004-10-15 Kim F. Storm <storm@cua.dk> |
12108 | ||
b3c7a89b KS |
12109 | * xdisp.c (redisplay_window): Only update fringes and vertical |
12110 | border on window frames. | |
699a0392 | 12111 | |
4e382b0f AS |
12112 | 2004-10-14 Andreas Schwab <schwab@suse.de> |
12113 | ||
12114 | * m/ia64.h (DATA_SEG_BITS): Don't define. | |
12115 | ||
329a7be2 KS |
12116 | 2004-10-14 Kim F. Storm <storm@cua.dk> |
12117 | ||
12118 | * xterm.h: Include Xutil.h after keysym.h to work around bug | |
dbb37962 | 12119 | in some X versions. |
329a7be2 | 12120 | |
982241b1 SM |
12121 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
12122 | ||
12123 | * fns.c (map_char_table): Add missing gcpros. | |
12124 | ||
9238467d SM |
12125 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
12126 | ||
12127 | * keymap.c (get_keymap): An autoload form is not a keymap. | |
12128 | ||
12129 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | |
12130 | ||
4440e3ca KS |
12131 | 2004-10-13 Kim F. Storm <storm@cua.dk> |
12132 | ||
7cfdabde KS |
12133 | * callproc.c (Fcall_process): Simplify handling of display arg. |
12134 | Resume `display_on_the_fly' once a coding system is determined. | |
12135 | ||
4440e3ca KS |
12136 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. |
12137 | ||
1c8dec6a KS |
12138 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
12139 | ||
12140 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | |
12141 | caller, such as call-process, is not going to poll for input. | |
12142 | (calc_line_height_property): Handle case where it->object is nil. | |
12143 | ||
12144 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | |
12145 | ||
170b174c KH |
12146 | 2004-10-12 Kenichi Handa <handa@m17n.org> |
12147 | ||
9238467d SM |
12148 | * xdisp.c (get_next_display_element): |
12149 | If unibyte_display_via_language_environment is zero, display 8-bit | |
170b174c KH |
12150 | chars in octal in unibyte buffer. |
12151 | ||
b583964c KS |
12152 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
12153 | ||
12154 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | |
12155 | are no ordinary bindings. | |
12156 | ||
29fabd8c JD |
12157 | 2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12158 | ||
9238467d | 12159 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
29fabd8c | 12160 | |
c3f4c690 ST |
12161 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12162 | ||
9238467d SM |
12163 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
12164 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. | |
c3f4c690 | 12165 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
9238467d SM |
12166 | terminal frame. |
12167 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. | |
12168 | * macgui.h (mktime): Use emacs_mktime. | |
c3f4c690 ST |
12169 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
12170 | Make a cancel file-open dialog be like C-g. | |
9238467d SM |
12171 | * mac.c (mktime): Use emacs_mktime. |
12172 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. | |
12173 | (Fmac_paste_function): Add better error handling for carbon cut/paste. | |
c3f4c690 | 12174 | |
9688f9eb KS |
12175 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
12176 | ||
12177 | * keyboard.c (timer_resume_idle): New function to resume idle | |
12178 | timer without resetting timers on the idle list. | |
52eb0373 | 12179 | (read_char): Use timer_resume_idle. Remove local var last_idle_start. |
9688f9eb KS |
12180 | (timer_start_idle, timer_stop_idle): Declare static. |
12181 | (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. | |
12182 | ||
12183 | * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. | |
12184 | ||
f7f3a65f ST |
12185 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
12186 | ||
9238467d | 12187 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
f7f3a65f | 12188 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
9238467d | 12189 | NULL where 0 should be used. |
f7f3a65f ST |
12190 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
12191 | objc/malloc.h | |
9238467d | 12192 | * mac.c: Include time.h for Tiger compatibility. |
f7f3a65f | 12193 | |
3c7d999a KS |
12194 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
12195 | ||
12196 | * xdisp.c (redisplay_window): Fix flicker on vertical line between | |
12197 | windows. Update vertical line after drawing window fringes, but | |
12198 | only if actually drawing any bitmaps--or there is no fringe. | |
12199 | ||
12200 | * xterm.c (x_update_window_end): Likewise. | |
12201 | * macterm.c (x_update_window_end): Likewise. | |
12202 | * w32term.c (x_update_window_end): Likewise. | |
12203 | ||
12204 | * fringe.c (draw_window_fringes): Return value now indicates if | |
12205 | any fringe bitmaps were redrawn (or there are no fringes). | |
12206 | ||
12207 | * dispextern.h (draw_window_fringes): Update prototype. | |
12208 | ||
bf06c82f ST |
12209 | 2004-10-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12210 | ||
12211 | * macfns.c (mac_get_window_bounds): Add extern. | |
12212 | (x_real_positions): Use mac_get_window_bounds. | |
12213 | ||
12214 | * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for | |
12215 | xmenu.c (YAILOM). | |
3c7d999a | 12216 | |
bf06c82f ST |
12217 | * macterm.c [!MAC_OSX]: Include Windows.h. |
12218 | (front_emacs_window): Rename from mac_front_window. All uses | |
12219 | changed. Return the frontmost non-tooltip emacs window. | |
12220 | (mac_get_window_bounds): New function. | |
12221 | (x_calc_absolute_position): Use the difference of width and height | |
12222 | between the inner and outer window. | |
12223 | (x_set_offset): Specify window position by the coordinae of the | |
12224 | outer window. Adjust the position if the title bar is completely | |
12225 | outside the screen. | |
12226 | (app_is_suspended, app_sleep_time): Remove unused variables. | |
12227 | (do_app_resume, do_app_suspend): Remove their contents because | |
12228 | window-activate/deactivate events will do the job. | |
12229 | (do_zoom_window): Remove unused variables. Make compliant to the | |
12230 | standard way of zooming. Set f->left_pos and f->top_pos. | |
12231 | (XTread_socket): Don't use argument `expected'. Don't use | |
12232 | FrontWindow to determine the clicked window. Exclude unprocessed | |
12233 | mouseUp cases in the early stage. Add parentheses to fix operator | |
12234 | precedence. | |
12235 | (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. | |
12236 | ||
c6605d63 | 12237 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
d8b43276 JD |
12238 | |
12239 | * config.in: Regenerate. | |
12240 | ||
12241 | * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of | |
12242 | HAVE_EXECSHIELD. | |
12243 | ||
b90ee8b5 JD |
12244 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12245 | ||
12246 | * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for | |
12247 | a row if Alt or Meta has been found for that row. Also stop scanning | |
12248 | for Keysyms for that row. | |
12249 | ||
904db1a2 KS |
12250 | 2004-10-04 Kim F. Storm <storm@cua.dk> |
12251 | ||
0207b8ad KS |
12252 | * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons |
12253 | to list. Include overlay arrow bitmap in return value. | |
12254 | ||
25f7220c KS |
12255 | * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll |
12256 | bars with fractional column width. If scroll bar separates two | |
12257 | windows, move it towards the window it belongs to. Only update | |
12258 | the padding area below the scroll bar widget when necessary, | |
12259 | i.e. when scroll bar widget is created, moved, or resized. | |
12260 | ||
562020fe KS |
12261 | * xdisp.c (define_frame_cursor1): Do not change frame cursor |
12262 | while tracking/dragging mouse. | |
12263 | (x_draw_vertical_border): Do not draw line if frame has scroll bars. | |
12264 | ||
37e34af7 KS |
12265 | * window.c (coordinates_in_window): Relax check for cursor |
12266 | on vertial border between mode lines. | |
12267 | (Fset_window_fringes): Do not allow negative widths. | |
12268 | (Fset_window_scroll_bars): Likewise. | |
12269 | ||
904db1a2 KS |
12270 | * .gdbinit (pp): Shorthand for p ARG + pr. |
12271 | (ff): New command: flush frame updates (X only). | |
12272 | ||
38fe4f64 MA |
12273 | 2004-10-03 Michael Albinus <michael.albinus@gmx.de> |
12274 | ||
12275 | * fileio.c (auto_save_1) Call Ffile_modes for remote files. | |
12276 | ||
9de36315 KH |
12277 | 2004-09-30 Kenichi Handa <handa@m17n.org> |
12278 | ||
07c381ad | 12279 | * process.c (send_process): Free composition data. |
9de36315 | 12280 | |
07c381ad | 12281 | * fileio.c (Finsert_file_contents): Free composition data. |
9de36315 KH |
12282 | |
12283 | * coding.c (code_convert_region): Don't skip ASCIIs if there are | |
07c381ad KH |
12284 | compositions to encode. |
12285 | (encode_coding_string): Likewise. Free composition data. | |
12286 | ||
d5fb8dab | 12287 | 2004-09-30 Florian Weimer <fw@deneb.enyo.de> |
07c381ad KH |
12288 | |
12289 | * coding.c (code_convert_region): Free composition data. | |
9de36315 | 12290 | |
f2a54fbc KS |
12291 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
12292 | ||
dc5d6435 KS |
12293 | * fringe.c: Remove limit on number of bitmaps. |
12294 | (fringe_bitmaps, fringe_faces): Change to pointers. | |
12295 | (max_fringe_bitmaps): New var. | |
12296 | (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. | |
12297 | (init_fringe): Allocate fringe_bitmaps and fringe_faces. | |
12298 | ||
12299 | * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). | |
12300 | (struct glyph_row): Reorder fringe_bitmap related fields. | |
12301 | (struct it): Likewise. | |
12302 | ||
12303 | * w32term.c (fringe_bmp): Change to pointer. | |
12304 | (max_fringe_bmp): New var. | |
12305 | (w32_define_fringe_bitmap): Expand fringe_bmp. | |
12306 | (w32_draw_fringe_bitmap): Check max_fringe_bmp. | |
12307 | (w32_destroy_fringe_bitmap): Likewise. | |
12308 | ||
12309 | 2004-09-29 Kim F. Storm <storm@cua.dk> | |
12310 | ||
12311 | * fringe.c: Simplify last change. | |
f2a54fbc KS |
12312 | (lookup_fringe_bitmap): New function. |
12313 | (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. | |
12314 | (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. | |
12315 | Keep standard bitmaps in Vfringe_bitmaps. | |
12316 | (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. | |
12317 | (Fset_fringe_bitmap_face): Likewise. | |
12318 | ||
12319 | * dispextern.h (lookup_fringe_bitmap): Add prototype. | |
12320 | (valid_fringe_bitmap_p): Remove prototype. | |
12321 | ||
12322 | * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. | |
12323 | ||
841a8bca KS |
12324 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
12325 | ||
1f2da365 KS |
12326 | * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) |
12327 | (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). | |
12328 | ||
841a8bca KS |
12329 | * dispextern.h (valid_fringe_bitmap_p): Fix prototype. |
12330 | ||
12331 | * fringe.c (Vfringe_bitmaps): New variable. | |
12332 | (syms_of_fringe): DEFVAR_LISP it. | |
12333 | (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. | |
12334 | Change arg to Lisp_Object and fail if not an integer. | |
12335 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | |
12336 | (destroy_fringe_bitmap): New functions. | |
9238467d SM |
12337 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
12338 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | |
841a8bca KS |
12339 | clear its fringe property. |
12340 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | |
12341 | Fdestroy_fringe_bitmap. | |
12342 | (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing | |
12343 | bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps | |
12344 | and set fringe property. Signal error if no free slots. | |
12345 | (Fset_fringe_bitmap_face): Change arg to bitmap symbol. | |
12346 | (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. | |
12347 | ||
12348 | * xdisp.c (handle_single_display_prop): Fringe bitmaps are now | |
12349 | symbols with a fringe property. | |
12350 | ||
4d965590 KS |
12351 | 2004-09-27 Kim F. Storm <storm@cua.dk> |
12352 | ||
12353 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: | |
12354 | Doc fix. Format may now be a symbol or alist, not a cons. | |
12355 | ||
12356 | * fringe.c (update_window_fringes): Handle new formats of | |
12357 | indicate-buffer-boundaries (symbol or alist). No longer | |
12358 | allow a simple cons. | |
12359 | (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. | |
12360 | ||
e888c2b3 JD |
12361 | 2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12362 | ||
9238467d | 12363 | * config.in: Rebuild. |
e888c2b3 | 12364 | |
83f1cb94 JD |
12365 | 2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12366 | ||
12367 | * config.in: Rebuild. | |
12368 | ||
9dd28cae | 12369 | * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. |
83f1cb94 | 12370 | |
2c51754c SM |
12371 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
12372 | ||
12373 | * xterm.c (x_term_init): Work around a bug in some X servers. | |
12374 | ||
3df5f8aa RS |
12375 | 2004-09-18 Richard M. Stallman <rms@gnu.org> |
12376 | ||
557ca2c1 RS |
12377 | * buffer.c (syms_of_buffer) <default-major-mode>: Doc fix. |
12378 | ||
3df5f8aa RS |
12379 | * xdisp.c (try_window_reusing_current_matrix): |
12380 | Handle the case where we reach the old displayed text, | |
12381 | out of sync with the old line boundary. | |
12382 | ||
9238467d | 12383 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
4b70e2c9 SM |
12384 | |
12385 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | |
12386 | narrowed buffer. | |
12387 | ||
bfa02563 KS |
12388 | 2004-09-14 Kim F. Storm <storm@cua.dk> |
12389 | ||
a25fe164 KS |
12390 | * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. |
12391 | ||
bfa02563 KS |
12392 | * xfaces.c (Qface_no_inherit): New var. |
12393 | (syms_of_xfaces): Intern and staticpro it. | |
12394 | (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) | |
12395 | (Finternal_copy_lisp_face, update_face_from_frame_parameter): | |
12396 | Don't increment face_change_count when face has non-nil | |
12397 | face-no-inherit property. | |
12398 | ||
126f9c02 SM |
12399 | 2004-09-13 Stefan Monnier <monnier@iro.umontreal.ca> |
12400 | ||
892a8eb5 SM |
12401 | * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. |
12402 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | |
12403 | ||
126f9c02 | 12404 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
9238467d | 12405 | before doing the mark_stack_check_gcpros since they're not on the stack. |
126f9c02 | 12406 | |
c0ad3b38 KS |
12407 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
12408 | ||
12409 | * editfns.c (Fformat): Handle format strings with multiple text | |
12410 | properties. Reverse text property list from the format string, | |
12411 | so the positions are in increasing order. | |
12412 | ||
844fc085 JD |
12413 | 2004-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12414 | ||
12415 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | |
12416 | x_uncatch_errors so that possible protocol errors are delivered. | |
12417 | ||
b106731c EZ |
12418 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> |
12419 | ||
21065c92 EZ |
12420 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and |
12421 | blockinput.h. | |
12422 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | |
12423 | charset.h, and coding.h | |
9238467d | 12424 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
21065c92 EZ |
12425 | (term.o): Depend on window.h and keymap.h. |
12426 | (abbrev.o): Depend on syntax.h. | |
12427 | (callint.o): Depend on keymap.h. | |
12428 | (casefiddle.o): Depend on charset.h and keymap.h. | |
12429 | (category.o): Depend on keymap.h. | |
12430 | (coding.o): Depend on dispextern.h. | |
12431 | (cmds.o): Depend on keyboard.h and keymap.h. | |
12432 | (dispnew.o): Depend on indent.h and intervals.h. | |
12433 | (doc.o): Depend on keymap.h. | |
12434 | (editfns.o): Depend on frame.h. | |
12435 | (emacs.o): Depend on dispextern.h. | |
12436 | (fileio.o): Don't depend on ccl.h. | |
12437 | (filelock.o): Depend on charset.h and coding.h. | |
12438 | (frame.o): Depend on w32term.h and macterm.h. | |
12439 | (insdel.o): Depend on region-cache.h. | |
12440 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | |
12441 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | |
12442 | (search.o): Depend on $(INTERVALS_SRC). | |
12443 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | |
12444 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | |
12445 | xterm.h, w32term.h, and macterm.h. | |
12446 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | |
12447 | w32term.h, and macterm.h. | |
12448 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | |
12449 | region-cache.h, xterm.h, w32term.h, and macterm.h. | |
12450 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | |
12451 | (data.o): Depend on frame.h. | |
12452 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | |
12453 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | |
12454 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | |
12455 | (intervals.o): Depend on keymap.h. | |
12456 | ||
9238467d SM |
12457 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
12458 | Add debugging print-out to termscript. | |
b106731c | 12459 | |
64b7122d RS |
12460 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
12461 | ||
12462 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | |
12463 | ||
5670531e RS |
12464 | 2004-09-08 Richard M. Stallman <rms@gnu.org> |
12465 | ||
6cb4a892 RS |
12466 | * window.c (Fset_window_buffer): Doc fix. |
12467 | ||
5670531e RS |
12468 | * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. |
12469 | ||
7e388eb7 JL |
12470 | 2004-09-08 Dan Nicolaescu <dann@ics.uci.edu> |
12471 | ||
12472 | * minibuf.c (history_delete_duplicates): New variable. | |
12473 | (read_minibuf): Use it. | |
12474 | (syms_of_minibuf): Create the corresponding lisp variable. | |
12475 | ||
370e3587 KS |
12476 | 2004-09-08 Kim F. Storm <storm@cua.dk> |
12477 | ||
12478 | * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in | |
12479 | overlay just before point. | |
12480 | ||
f844ba4e LT |
12481 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
12482 | ||
12483 | * buffer.h (struct buffer): Add auto_save_file_format field. | |
9238467d SM |
12484 | * buffer.c (reset_buffer, init_buffer_once): |
12485 | Handle auto_save_file_format field. | |
f844ba4e LT |
12486 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
12487 | `buffer-auto-save-file-format'. | |
f844ba4e LT |
12488 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
12489 | (build_annotations): Adapt to replacement of | |
12490 | `auto-save-file-format' with the new buffer-local variable | |
12491 | `buffer-auto-save-file-format'. | |
12492 | (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. | |
12493 | ||
f0f90717 JR |
12494 | 2004-09-07 Jason Rumney <jasonr@gnu.org> |
12495 | ||
12496 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | |
12497 | ||
9238467d SM |
12498 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: |
12499 | Handle Unicode menu titles. | |
f0f90717 | 12500 | |
4e14f66c KS |
12501 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
12502 | ||
12503 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | |
12504 | property from text property or overlay strings at point. | |
12505 | ||
9238467d | 12506 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1806714a SM |
12507 | |
12508 | * xmenu.c (update_submenu_strings): YAILOM. | |
12509 | (set_frame_menubar): Make sure last_i is initialized. | |
12510 | ||
1f06d367 JR |
12511 | 2004-09-03 Jason Rumney <jasonr@gnu.org> |
12512 | ||
1806714a | 12513 | * w32menu.c (_widget_value): Add lname and lkey. |
1f06d367 JR |
12514 | (digest_single_submenu): Set lname and lkey in widget_value |
12515 | instead of name and key. | |
12516 | (update_submenu_strings): New function. | |
12517 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
12518 | call update_submenu_strings. | |
12519 | ||
12520 | * w32menu.c (globals_of_w32menu): Check for Unicode API. | |
12521 | (digest_single_submenu, w32_menu_show): Encode menu strings as | |
12522 | UTF-8 if Unicode API is available. | |
12523 | (utf8to16): New function. | |
12524 | (add_menu_item): Use it when calling Unicode API. | |
1806714a | 12525 | |
46540080 KS |
12526 | 2004-09-03 Kim F. Storm <storm@cua.dk> |
12527 | ||
12528 | * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property | |
12529 | in overlay or text-property strings; set cursor on corresponding | |
12530 | glyph rather than at end of the string. | |
12531 | ||
9277ba61 | 12532 | 2004-09-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46540080 | 12533 | |
9277ba61 | 12534 | * macfns.c (x_real_positions): Save the current window port and |
1806714a SM |
12535 | set a new one before obtaining the global coordinate. |
12536 | Use FRAME_MAC_WINDOW. | |
12537 | (x_set_name, x_set_title): Encode title to UTF8. | |
12538 | Use SetWindowTitleWithCFString. | |
9277ba61 ST |
12539 | (Fx_server_version): Get correct OS version. |
12540 | ||
1806714a SM |
12541 | * macmenu.c (add_menu_item): Remove unused variable `i'. |
12542 | Don't let separator items destroy refence constants of other menu items. | |
9277ba61 ST |
12543 | |
12544 | * macterm.c (x_update_end): Move SetPortWindowPort to inside | |
12545 | BLOCK_INPUT. | |
12546 | (x_set_offset): Use FRAME_MAC_WINDOW. | |
12547 | ||
12548 | * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to | |
12549 | nontext_cursor if it is on a scroll bar. | |
12550 | ||
12551 | * s/darwin.h (LIBS_CARBON): New define to specify libraries for | |
12552 | Carbon support. | |
1806714a SM |
12553 | (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. |
12554 | Use LIBS_CARBON. | |
9277ba61 | 12555 | |
b10daec7 JD |
12556 | 2004-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12557 | ||
12558 | * xfns.c (x_set_name_internal): New function. Check if we shall call | |
12559 | xfree before ENCODE_UTF_8. | |
12560 | (x_set_name, x_set_title): Call x_set_name_internal. | |
12561 | ||
f7e22385 JR |
12562 | 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change) |
12563 | ||
12564 | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not | |
12565 | reload it. | |
12566 | ||
2bf436c3 JD |
12567 | 2004-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12568 | ||
1806714a | 12569 | * macmenu.c (_widget_value): Add lname and lkey. |
16ceacc2 JD |
12570 | (single_submenu): Set lname and lkey in widget_value |
12571 | instead of name and key. | |
12572 | (update_submenu_strings): New function. | |
12573 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
12574 | call update_submenu_strings. | |
12575 | ||
2bf436c3 JD |
12576 | * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value |
12577 | instead of name and key. | |
12578 | (update_submenu_strings): New function. | |
12579 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
ec867797 | 12580 | call update_submenu_strings. |
2bf436c3 JD |
12581 | |
12582 | * gtkutil.h (_widget_value): Added lname and lkey. | |
12583 | ||
11715f92 ST |
12584 | 2004-08-30 Steven Tamm <steventamm@mac.com> |
12585 | ||
12586 | * macmenu.c (mac_menu_show): Remove shadowing of menu variable | |
12587 | by using different names for inner loop variables. | |
12588 | ||
5500be54 JD |
12589 | 2004-08-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12590 | ||
059cd329 JD |
12591 | * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection |
12592 | from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. | |
12593 | ||
5500be54 JD |
12594 | * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when |
12595 | tool bar items is 0. | |
12596 | ||
383418e5 ST |
12597 | 2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12598 | ||
12599 | * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte | |
12600 | strings in menu items. | |
12601 | (single_submenu): Use ENCODE_MENU_STRING | |
12602 | (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because | |
12603 | button release isn't passed to event loop | |
12604 | (add_menu_item): Use SetMenuItemWithCFString | |
12605 | ||
6eb3ee72 ST |
12606 | 2004-08-26 Steven Tamm <steventamm@mac.com> |
12607 | ||
12608 | * fileio.c (Fread_file_name): Call x_file_dialog on carbon on | |
7e26f91b KS |
12609 | tool-bar/menu click. |
12610 | * macfns.c (Fx_file_dialog): Implement using NavServices. | |
6eb3ee72 | 12611 | |
10b43ac3 JD |
12612 | 2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12613 | ||
2728b5d0 JD |
12614 | * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. |
12615 | ||
10b43ac3 JD |
12616 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
12617 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
12618 | (x_top_window_to_frame): Return 0 if wdesc is None. | |
12619 | ||
2ee3b79e RS |
12620 | 2004-08-22 Richard M. Stallman <rms@gnu.org> |
12621 | ||
12622 | * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, | |
12623 | HAVE_TERMIOS]: If there's no char for this signal, drop through | |
12624 | and use system calls. | |
12625 | ||
12626 | * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC. | |
12627 | ||
9a1ba2ea KS |
12628 | 2004-08-20 Kim F. Storm <storm@cua.dk> |
12629 | ||
12630 | * process.c (wait_reading_process_output): Rename from | |
12631 | wait_reading_process_input. All uses changed. | |
12632 | (wait_reading_process_output_1): Rename from | |
12633 | wait_reading_process_input_1. All uses changed. | |
12634 | ||
12635 | * dispnew.c (Fsleep_for): Remove obsolete code. | |
12636 | ||
295f3b30 KH |
12637 | 2004-08-20 Kenichi Handa <handa@m17n.org> |
12638 | ||
12639 | * syntax.c (skip_chars): Fix for unibyte case. | |
12640 | ||
27615979 SM |
12641 | 2004-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
12642 | ||
12643 | * syntax.c (char_quoted): Mixup byte/char pos. | |
12644 | (back_comment): Fixup globals in all cases. | |
12645 | ||
00267f94 JD |
12646 | 2004-08-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12647 | ||
12648 | * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before | |
12649 | passing it to gtk_window_set_title. | |
12650 | ||
2439909e KS |
12651 | 2004-08-19 Kim F. Storm <storm@cua.dk> |
12652 | ||
6ba0f14c KS |
12653 | * process.c (wait_reading_process_input): Clean up. |
12654 | Add wait_for_cell, wait_proc, and just_wait_proc args | |
12655 | to avoid overloading `read_kbd' and `do_display' args. | |
12656 | Change read_kbd arg to int. All callers changed. | |
12657 | ||
2439909e KS |
12658 | * process.c (process_send_signal): Use CDISABLE. |
12659 | ||
12660 | * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. | |
12661 | ||
101c421e KS |
12662 | 2004-08-18 Kim F. Storm <storm@cua.dk> |
12663 | ||
12664 | * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; | |
12665 | forward to wait_reading_process_input via DO_DISPLAY arg. | |
12666 | (wait_reading_process_input): If DO_DISPLAY < 0 for a process | |
12667 | object, only process output from that process; also inhibit | |
12668 | running timers if DO_DISPLAY==-2. | |
12669 | ||
c438dc33 KS |
12670 | 2004-08-17 Kim F. Storm <storm@cua.dk> |
12671 | ||
12672 | * process.c (process_send_signal): Fix last change--use | |
12673 | _POSIX_VDISABLE instead of CVDISABLE when available. | |
12674 | ||
8afc13c6 RS |
12675 | 2004-08-16 Richard M. Stallman <rms@gnu.org> |
12676 | ||
12677 | * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: | |
12678 | Set VQUIT and VINTR chars to the standard ones if they are unset. | |
12679 | [AIX]: Don't do that here. And don't force VINTR to standard | |
12680 | when SIGNALS_VIA_CHARACTERS. | |
12681 | ||
c438dc33 | 12682 | * process.c (process_send_signal) |
5e1a6e32 | 12683 | [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. |
8afc13c6 RS |
12684 | Do nothing if the character is CVDISABLE. |
12685 | ||
12686 | * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. | |
12687 | ||
c438dc33 | 12688 | * intervals.c (move_if_not_intangible): |
8afc13c6 RS |
12689 | Force POSITION to be between BEGV and ZV. |
12690 | ||
6dad1714 JPW |
12691 | 2004-08-14 John Paul Wallington <jpw@gnu.org> |
12692 | ||
12693 | * buffer.c (Frestore_buffer_modified_p): Doc fix. | |
12694 | ||
12695 | * fileio.c (Fread_file_name): Doc fix. | |
12696 | ||
12697 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
12698 | ||
2bd77330 LT |
12699 | 2004-08-09 Luc Teirlinck <teirllm@auburn.edu> |
12700 | ||
12701 | * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. | |
12702 | ||
c90e7e43 LT |
12703 | 2004-08-08 Luc Teirlinck <teirllm@auburn.edu> |
12704 | ||
12705 | * keyboard.c: Declare Qdisabled_command_function instead of | |
8392e138 | 12706 | Qdisabled_command_hook. |
c90e7e43 | 12707 | (Fcommand_execute): Use Qdisabled_command_function instead of |
8392e138 | 12708 | Qdisabled_command_hook. |
c90e7e43 LT |
12709 | (syms_of_keyboard): Ditto. |
12710 | ||
81909a1a LT |
12711 | 2004-08-07 Luc Teirlinck <teirllm@auburn.edu> |
12712 | ||
12713 | * keymap.c (Flocal_key_binding, Fglobal_key_binding) | |
12714 | (syms_of_keymap) <key-translation-map>: Doc fixes. | |
12715 | ||
0cedd530 SM |
12716 | 2004-08-07 Stefan Monnier <monnier@iro.umontreal.ca> |
12717 | ||
1725a7c9 SM |
12718 | * window.c (window_list_1): YAILOM. |
12719 | ||
0cedd530 SM |
12720 | * fileio.c (make_temp_name): Handle multibyte prefixes. |
12721 | ||
2515a131 LT |
12722 | 2004-08-06 Luc Teirlinck <teirllm@auburn.edu> |
12723 | ||
12724 | * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>: | |
12725 | Doc fix. | |
12726 | ||
c8b20fb7 KH |
12727 | 2004-08-03 Kenichi Handa <handa@m17n.org> |
12728 | ||
12729 | * coding.c (decode_coding_string): Adjust coding->consumed, and | |
12730 | etc. with shrinked_bytes. | |
12731 | ||
fb8b092b KS |
12732 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
12733 | ||
12734 | * indent.c (compute_motion): Fix check for full width window | |
12735 | in non-window case. Do not count left truncation glyph on | |
12736 | window systems. | |
12737 | ||
df133612 LT |
12738 | 2004-08-02 Luc Teirlinck <teirllm@auburn.edu> |
12739 | ||
12740 | * data.c (Finteractive_form): Doc fix. | |
12741 | ||
0f7a93c1 KS |
12742 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
12743 | ||
12744 | * indent.c (compute_motion): Use actual window width if WIDTH is -1, | |
12745 | properly accounting for continuation glyph on non-window systems. | |
12746 | (Fcompute_motion): Use actual window width if WIDTH is nil, and | |
12747 | actual window width/height if TOPOS is nil, properly accounting for | |
12748 | continuation glyphs on non-window systems, and optional header lines. | |
12749 | (vmotion): Let compute_motion calculate actual window width. | |
12750 | ||
12751 | * window.c (window_scroll_line_based): Let compute_motion | |
12752 | calculate actual window width. | |
12753 | ||
f491e1ed KS |
12754 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
12755 | ||
12756 | * process.c (read_process_output): Use whole read buffer. | |
12757 | Don't trigger adaptive read buffering on errors. | |
12758 | ||
83f64226 LT |
12759 | 2004-07-31 Luc Teirlinck <teirllm@auburn.edu> |
12760 | ||
12761 | * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. | |
12762 | ||
1d1c7e75 | 12763 | * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix. |
83f64226 LT |
12764 | |
12765 | * callint.c (Fcall_interactively): Doc fix. | |
12766 | ||
8afc13c6 RS |
12767 | 2004-07-30 Richard M. Stallman <rms@gnu.org> |
12768 | ||
12769 | * abbrev.c (Fexpand_abbrev): Undo previous change. | |
12770 | ||
7c111482 KS |
12771 | 2004-07-30 Kim F. Storm <storm@cua.dk> |
12772 | ||
12773 | * editfns.c (Fformat): Allocate extra (dummy) element in info. | |
12774 | ||
ee945d08 LT |
12775 | 2004-07-28 Luc Teirlinck <teirllm@auburn.edu> |
12776 | ||
12777 | * eval.c (Fdefvar, Fdefconst): Doc fixes. | |
12778 | ||
3f911c94 KS |
12779 | 2004-07-27 Kim F. Storm <storm@cua.dk> |
12780 | ||
12781 | * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after | |
12782 | we have ensured that the glyph fits on the current line (or returned | |
12783 | MOVE_LINE_CONTINUED otherwise). | |
12784 | ||
f29ff8c7 KS |
12785 | 2004-07-26 Kim F. Storm <storm@cua.dk> |
12786 | ||
12787 | * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe | |
12788 | is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV | |
12789 | if target position is at end of display line but char is not a newline. | |
12790 | ||
81159bb9 RS |
12791 | 2004-07-25 Richard M. Stallman <rms@gnu.org> |
12792 | ||
ab431b61 RS |
12793 | * window.c (coordinates_in_window): Return ON_SCROLL_BAR |
12794 | instead of ON_VERTICAL_BORDER, when on scroll bar. | |
12795 | (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. | |
12796 | ||
12797 | * dispextern.h (enum window_part): Add ON_SCROLL_BAR. | |
12798 | ||
f29ff8c7 | 12799 | * window.c (Fcoordinates_in_window_p): |
81159bb9 RS |
12800 | Take account of FRAME_INTERNAL_BORDER_WIDTH. |
12801 | ||
12802 | * alloc.c (check_cons_list): New function (contents commented out). | |
12803 | ||
fc820cc5 LT |
12804 | 2004-07-24 Luc Teirlinck <teirllm@auburn.edu> |
12805 | ||
12806 | * xfaces.c (Fcolor_supported_p): Doc fix. | |
12807 | ||
12808 | * frame.c (Fselect_frame, Fset_frame_selected_window) | |
12809 | (Fframe_visible_p, Fraise_frame): Doc fixes. | |
12810 | ||
289978b5 LT |
12811 | 2004-07-24 Richard M. Stallman <rms@gnu.org> |
12812 | ||
78819ebb | 12813 | * keyboard.h (not_single_kboard_state): Declare. |
7630911d RS |
12814 | |
12815 | * fileio.c (Fwrite_region): Doc fix. | |
12816 | ||
12817 | * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. | |
12818 | ||
12819 | * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | |
12820 | only when a real abbrev is present. | |
12821 | ||
289978b5 LT |
12822 | * xfns.c (x_icon_verify): New function. |
12823 | (Fx_create_frame): Use it. | |
12824 | ||
d5fb8dab | 12825 | 2004-07-22 Barry Fishman <barry_fishman@att.net> (tiny change) |
63cc10ae KS |
12826 | |
12827 | * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. | |
12828 | ||
36f826d4 KS |
12829 | 2004-07-21 Kim F. Storm <storm@cua.dk> |
12830 | ||
12831 | * window.h (struct glyph_matrix): New members nrows_scale_factor | |
12832 | and ncols_scale_factor. | |
12833 | ||
12834 | * window.c (make_window): Initialize nrows_scale_factor and | |
12835 | ncols_scale_factor members. | |
12836 | ||
12837 | * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. | |
12838 | (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. | |
12839 | (required_matrix_height): Apply nrows_scale_factor. | |
12840 | (required_matrix_width): Apply ncols_scale_factor. | |
12841 | ||
12842 | * xdisp.c (display_line): Increment nrows_scale_factor and set | |
12843 | fonts_changed_p if past last allocated row. | |
12844 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
12845 | (append_stretch_glyph): Increment ncols_scale_factor and set | |
12846 | fonts_changed_p if current area is full. | |
12847 | ||
5fc1c546 JD |
12848 | 2004-07-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12849 | ||
12850 | * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. | |
12851 | ||
cb7516e5 LT |
12852 | 2004-07-19 Luc Teirlinck <teirllm@auburn.edu> |
12853 | ||
12854 | * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) | |
12855 | (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) | |
12856 | (Fset_window_start, Fscroll_up, Fscroll_down) | |
12857 | (Fother_window_for_scrolling, Fscroll_other_window) | |
12858 | (Fsave_window_excursion, Fset_window_vscroll) | |
12859 | (syms_of_window) <window-size-fixed>: Doc fixes. | |
12860 | ||
b6189c3b | 12861 | 2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
dda741ec JR |
12862 | |
12863 | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of | |
12864 | ENCODE_SYSTEM for filenames. | |
12865 | ||
bfcf6608 ST |
12866 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12867 | ||
12868 | * mac.c (sys_select): Block input around call to | |
12869 | ReceiveNextEvent to prevent breakage. Correctly handle | |
12870 | blocking on event queue only by calling ReceiveNextEvent | |
12871 | instead of select (since GUI events aren't on an fd). | |
12872 | (sys_read): Remove function | |
12873 | * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON | |
12874 | ||
e082ac9d ST |
12875 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12876 | ||
12877 | * mac.c (sys_select): Redo sys_select to use alarm-based | |
cb7516e5 | 12878 | polling instead of 1 sec timeouts (like solaris). |
e082ac9d | 12879 | |
cb7516e5 | 12880 | * macterm.c (x_make_frame_visible): Comment in polling on |
e082ac9d ST |
12881 | frame creation. |
12882 | ||
12883 | * keyboard.c: Undef SIGIO on Carbon | |
12884 | ||
12885 | * atimer.c (alarm_signal_handler): Call alarm handlers after | |
12886 | scheduling. | |
12887 | ||
12888 | * eval.c (Feval): Remove quit_char test | |
12889 | ||
12890 | * process.c (wait_reading_process_input): Remove clearing | |
12891 | stdin for select call on process input. | |
12892 | ||
4b9da0fb LT |
12893 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> |
12894 | ||
1204e81c LT |
12895 | * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct |
12896 | capitalization error in docstring. | |
4b9da0fb | 12897 | |
26503ad2 JB |
12898 | 2004-07-17 Juanma Barranquero <lektu@terra.es> |
12899 | ||
12900 | * keyboard.c (not_single_kboard_state): Do nothing unless | |
12901 | MULTI_KBOARD is defined. | |
12902 | ||
3751eb00 RS |
12903 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
12904 | ||
12905 | * window.c (coordinates_in_window): Inside the window but outside | |
12906 | its box to the L or R, return ON_VERTICAL_BORDER. | |
12907 | (window_list_1): Rotate the list to start with WINDOW. | |
12908 | ||
12909 | * print.c (print_preprocess): Test for print_depth at limit | |
12910 | before entering in being_printed. | |
12911 | ||
12912 | * keyboard.c (not_single_kboard_state): New function. | |
12913 | (stuff_buffered_input): Now no-op only if no SIGTSTP. | |
12914 | ||
12915 | * frame.c (Fdelete_frame): If we're in single_bboard_state on | |
12916 | this kboard, and we delete its last frame, go to any_kboard_state. | |
12917 | ||
12918 | * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix. | |
12919 | ||
b6189c3b | 12920 | 2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
62eb6ca9 JR |
12921 | |
12922 | * w32fns.c (Fx_file_dialog): Encode strings in system coding | |
12923 | system before passing them to OS functions for display. | |
12924 | ||
0f6af254 DK |
12925 | 2004-07-15 David Kastrup <dak@gnu.org> |
12926 | ||
f9253326 KS |
12927 | * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. |
12928 | Apparently fixes an abort condition. | |
0f6af254 | 12929 | |
386c8f42 LT |
12930 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> |
12931 | ||
12932 | * fileio.c (Fvisited_file_modtime): Return a list of two integers, | |
12933 | instead of a cons. | |
12934 | ||
d495ccfc | 12935 | 2004-07-14 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
366511da MB |
12936 | |
12937 | * keyboard.c (echo_dash): Do nothing if there already is a dash | |
12938 | at the end of the echo string. | |
12939 | ||
f85409d3 KS |
12940 | 2004-07-12 Kim F. Storm <storm@cua.dk> |
12941 | ||
12942 | * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value | |
12943 | if GC_MARK_STACK. | |
12944 | ||
0ba2e87b LT |
12945 | 2004-07-10 Luc Teirlinck <teirllm@auburn.edu> |
12946 | ||
da38045d LT |
12947 | * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. |
12948 | ||
9dd28cae | 12949 | * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) |
0ba2e87b LT |
12950 | (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) |
12951 | (Freplace_buffer_in_windows, Fset_window_buffer) | |
12952 | (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. | |
12953 | (syms_of_window): Expand docstring of `display-buffer-function'. | |
12954 | ||
5668fbb8 LT |
12955 | 2004-07-09 Luc Teirlinck <teirllm@auburn.edu> |
12956 | ||
12957 | * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) | |
12958 | (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings | |
12959 | that time values of the type (HIGH . LOW) are considered obsolete. | |
12960 | ||
a085bf9d LT |
12961 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> |
12962 | ||
669de2fb LT |
12963 | * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' |
12964 | docstring. | |
12965 | ||
bac66325 | 12966 | * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. |
a085bf9d | 12967 | |
8e975df9 JPW |
12968 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
12969 | ||
12970 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | |
12971 | ||
fa164e6a JPW |
12972 | * fns.c (Fclear_string): Signal an error if STRING is not a string. |
12973 | ||
2bac9bb1 JD |
12974 | 2004-07-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12975 | ||
12976 | * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList | |
12977 | instead of CGMainDisplayID (only in OSX 10.2 and later). | |
12978 | ||
316ef0dc JPW |
12979 | 2004-07-04 John Paul Wallington <jpw@gnu.org> |
12980 | ||
12981 | * fileio.c (read_file_name_completion_ignore_case): New variable. | |
12982 | (syms_of_fileio): Declare and initialise it. | |
12983 | (Fread_file_name): Bind `completion-ignore-case' to respect it. | |
12984 | ||
2a1a35c6 EZ |
12985 | 2004-07-03 Eli Zaretskii <eliz@gnu.org> |
12986 | ||
12987 | * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects | |
12988 | for event.x and event.y. | |
12989 | ||
33a72331 KH |
12990 | 2004-07-01 Kenichi Handa <handa@m17n.org> |
12991 | ||
12992 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | |
12993 | after getting a new string by pre-write-conversion. | |
12994 | ||
9238467d | 12995 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
07a6ab76 SM |
12996 | |
12997 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | |
12998 | (x_calc_absolute_position): Remove unused var `child'. | |
12999 | ||
13000 | * xfaces.c (x_supports_face_attributes_p) | |
13001 | (Fdisplay_supports_face_attributes_p): YAILOM. | |
13002 | (tty_supports_face_attributes_p): Remove unused var `i'. | |
13003 | ||
13004 | * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and | |
13005 | back_unibyte_ok. | |
13006 | ||
13007 | * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. | |
13008 | ||
647b07d1 AS |
13009 | * fontset.c (Fset_fontset_font): Remove unused vars `family' and |
13010 | `registry'. | |
07a6ab76 SM |
13011 | |
13012 | * Makefile.in (${etc}DOC): Fix file name of make-docfile. | |
13013 | ||
f96ec754 AS |
13014 | 2004-06-30 Andreas Schwab <schwab@suse.de> |
13015 | ||
13016 | * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. | |
13017 | (Finit_image_library): Pass LIBRARIES through to | |
13018 | CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. | |
13019 | (lookup_image_type): Pass Qnil as second argument to | |
13020 | Finit_image_library. | |
13021 | ||
78819ebb | 13022 | * lisp.h (Finit_image_library): Declare. |
f96ec754 | 13023 | |
59feca74 | 13024 | 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
c8d09ad8 | 13025 | |
31983645 AS |
13026 | * macterm.c (do_window_activate, do_window_deactivate): Remove. |
13027 | (XTread_socket): Send mouse button events to the toolbox | |
13028 | dispatcher even when the mouse is grabbed. Don't process window | |
5e1a6e32 | 13029 | activate events for non-Emacs windows. Replace function calls to |
31983645 AS |
13030 | do_window_activate and do_window_deactivate with their contents. |
13031 | Reset mouse grabbing status when a window is deactivated. | |
59feca74 | 13032 | |
c61278bb ST |
13033 | 2004-06-29 Steven Tamm <steventamm@mac.com> |
13034 | ||
13035 | * macterm.c (mac_get_emulated_btn) | |
13036 | (mac_event_to_emacs_modifiers): Fix emulated mouse button | |
13037 | support to correctly mask out modifiers. | |
13038 | ||
c3762cbd DK |
13039 | 2004-06-29 David Kastrup <dak@gnu.org> |
13040 | ||
13041 | * search.c (Fset_match_data): Allow buffer before end of list | |
13042 | which can happen if set-match-data is using a pre-consed list. | |
13043 | ||
c61278bb | 13044 | 2004-06-28 Steven Tamm <steventamm@mac.com> |
e439b925 ST |
13045 | |
13046 | * macterm.c (XTread_socket): Correctly set the frame position | |
13047 | after the window is moved. | |
13048 | ||
74cdfe05 JD |
13049 | 2004-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13050 | ||
13051 | * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on | |
13052 | gpix and gmask just before return to avoid memory leak. | |
03ecb80f JD |
13053 | (xg_get_image_for_pixmap): Add workaround for monochrome displays |
13054 | so insensitive and activated icons look ok. | |
74cdfe05 | 13055 | |
ef544dc8 JR |
13056 | 2004-06-27 Jason Rumney <jasonr@gnu.org> |
13057 | ||
13058 | * w32fns.c (file_dialog_callback): Disable edit control if set | |
13059 | to directories only on CDN_INITDONE message. | |
13060 | (Fx_file_dialog): Default to directories only when prompt starts | |
13061 | with "Dired". | |
13062 | ||
7b7990cc KS |
13063 | 2004-06-25 Kim F. Storm <storm@cua.dk> |
13064 | ||
13065 | * alloc.c (allocate_misc): Update total_free_markers. | |
13066 | (free_misc): New function. | |
13067 | (safe_alloca_unwind, free_marker): Use it. | |
13068 | ||
13069 | * lisp.h (free_misc): Add prototype. | |
13070 | ||
13071 | * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. | |
13072 | ||
d8c379f8 RS |
13073 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
13074 | ||
13075 | * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. | |
13076 | (syms_of_emacs): Lisp variables deleted. | |
13077 | ||
559cdd07 DK |
13078 | 2004-06-23 David Kastrup <dak@gnu.org> |
13079 | ||
94939b84 DK |
13080 | * search.c (Freplace_match): Adjust the match-data more thoroughly |
13081 | when replacing strings in the buffer. | |
13082 | (Fmatch_data): When INTEGERS is non-nil and the last match was in | |
13083 | a buffer, add the buffer as last element to the match data. | |
13084 | (Fset_match_data): If an additional element of the match-data is a | |
13085 | buffer, restore it to last_thing_searched. | |
c8d09ad8 | 13086 | (save_search_regs): Save last_thing_searched as part of the match data. |
559cdd07 DK |
13087 | (restore_match_data): Restore it again. |
13088 | ||
dce417e7 LT |
13089 | 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> |
13090 | ||
13091 | * keymap.c (Ftext_char_description): Doc fix. | |
13092 | * doc.c (Fsnarf_documentation): Doc fix. | |
13093 | ||
ef54b2d0 KS |
13094 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
13095 | ||
b5bc4d05 KS |
13096 | * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. |
13097 | ||
ef54b2d0 KS |
13098 | * lisp.h (struct Lisp_Save_Value): New member dogc. |
13099 | (SAFE_ALLOCA_LISP): Change second arg to number of elements. | |
13100 | Set dogc member in Lisp_Save_Value object so it will be GC'ed. | |
13101 | (SAFE_FREE_LISP): New macro. | |
13102 | ||
13103 | * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. | |
13104 | (make_save_value): Init new dogc member. | |
13105 | (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. | |
13106 | ||
13107 | * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and | |
13108 | SAFE_FREE_LISP macros. | |
13109 | ||
3d33d993 KS |
13110 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
13111 | ||
13112 | * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. | |
13113 | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects | |
13114 | in that memory area are unknown to GC. Add comments. | |
13115 | ||
13116 | * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. | |
13117 | ||
5c917f98 KS |
13118 | 2004-06-21 Kim F. Storm <storm@cua.dk> |
13119 | ||
13120 | * lisp.h (MAX_ALLOCA): Define here. | |
13121 | (safe_alloca_unwind): Add prototype. | |
13122 | (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. | |
13123 | ||
13124 | * alloc.c (safe_alloca_unwind): New function. | |
13125 | ||
13126 | * casefiddle.c (casify_object): Use SAFE_ALLOCA. | |
13127 | ||
13128 | * charset.c (Fstring): Use SAFE_ALLOCA. | |
13129 | ||
13130 | * coding.c (MAX_ALLOCA): Remove define. | |
13131 | ||
13132 | * data.c (MAX_ALLOCA): Remove define. | |
13133 | (Faset): Use SAFE_ALLOCA. | |
13134 | ||
13135 | * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. | |
13136 | ||
13137 | * fns.c (string_make_multibyte, string_to_multibyte) | |
13138 | (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. | |
13139 | (MAX_ALLOCA): Remove define. | |
13140 | (Fbase64_encode_region, Fbase64_encode_string) | |
13141 | (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. | |
13142 | (Fbase64_encode_region, Fbase64_encode_string): Fix potential | |
13143 | memory leak if encoding fails. | |
13144 | ||
13145 | * xdisp.c (add_to_log): Use SAFE_ALLOCA. | |
13146 | ||
9a09408e EZ |
13147 | 2004-06-21 Eli Zaretskii <eliz@gnu.org> |
13148 | ||
13149 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
13150 | ||
376de739 RS |
13151 | 2004-06-20 Richard M. Stallman <rms@gnu.org> |
13152 | ||
13153 | * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. | |
13154 | ||
13155 | * search.c (match_limit): Cleaner err msg when no match data available. | |
13156 | ||
13157 | * window.c (syms_of_window): Doc fix. | |
13158 | ||
13159 | * keyboard.c (command_loop_1): Handle values `only' and `identity' | |
13160 | for Vtransient_mark_mode. | |
13161 | ||
13162 | * buffer.c (syms_of_buffer): Doc fix. | |
13163 | ||
acd81db9 DK |
13164 | 2004-06-21 David Kastrup <dak@gnu.org> |
13165 | ||
13166 | * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding | |
13167 | and unbinding of `case-fold-search' according to | |
13168 | `completion-ignore-case' around calls of string-match and | |
13169 | predicates, respectively. Should give satisfactory performance | |
13170 | in all relevant cases. | |
13171 | ||
f303762d JD |
13172 | 2004-06-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13173 | ||
95911c74 JD |
13174 | * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from |
13175 | clip_x/y_origin. | |
13176 | ||
a6cb6b78 JD |
13177 | * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. |
13178 | ||
f303762d JD |
13179 | * macfns.c (Fx_display_color_cells): Do not limit return value to 256. |
13180 | ||
13181 | * macterm.c (mac_initialize_display_info): Initialize n_planes correctly | |
13182 | on Mac OSX. | |
13183 | ||
bbdb2684 LT |
13184 | 2004-06-16 Luc Teirlinck <teirllm@auburn.edu> |
13185 | ||
13186 | * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. | |
13187 | ||
5ea48b1c KS |
13188 | 2004-06-16 Kim F. Storm <storm@cua.dk> |
13189 | ||
13190 | * dispextern.h (Vimage_types): Remove extern. | |
13191 | ||
803aac3e MB |
13192 | 2004-06-16 Miles Bader <miles@gnu.org> |
13193 | ||
13194 | * image.c (lookup_image_type): Initialize image type if necessary. | |
13195 | ||
cdc97764 KS |
13196 | 2004-06-15 Kim F. Storm <storm@cua.dk> |
13197 | ||
c4a5739c KS |
13198 | * xdisp.c (try_cursor_movement): Exclude header line from scroll |
13199 | margin at top of window. | |
13200 | (try_window_reusing_current_matrix): Calculate proper cursor position | |
13201 | after scrolling up with non-zero scroll margin, as the old cursor | |
13202 | position corresponds to value of PT before executing this command. | |
13203 | (try_window_id): Consider scroll margin at bottom of window too; | |
13204 | otherwise we fail to scroll when hl-line-mode is enabled. | |
13205 | ||
cdc97764 KS |
13206 | * syntax.c (skip_chars): Only recognize [:class:] when it has the |
13207 | proper format and class is a lower-case word. | |
13208 | ||
5b166323 JD |
13209 | 2004-06-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13210 | ||
13211 | * gtkutil.c (xg_get_image_for_pixmap): New function. | |
c8d09ad8 | 13212 | (xg_get_gdk_pixmap_and_mask): Remove. |
5b166323 JD |
13213 | (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of |
13214 | xg_get_gdk_pixmap_and_mask. | |
cdc97764 | 13215 | |
5b166323 JD |
13216 | * xterm.h (struct x_display_info): Typo in comment fixed. |
13217 | ||
1ebd4f78 JB |
13218 | 2004-06-14 Juanma Barranquero <lektu@terra.es> |
13219 | ||
13220 | * dispextern.h (Vimage_types): Make it conditional on | |
13221 | HAVE_WINDOW_SYSTEM. | |
13222 | ||
13223 | * image.c (Vimage_types): Move from xdisp.c. | |
13224 | (Vimage_type_cache): New variable. | |
13225 | (define_image_type): New argument indicating whether an image | |
13226 | library was loaded; cache loaded status and return t on success, | |
13227 | nil otherwise. | |
13228 | (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. | |
13229 | (w32_delayed_load): New function to load an image library from a | |
13230 | list of possible filenames. | |
13231 | (init_xpm_functions, init_png_functions, init_jpeg_functions) | |
13232 | (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. | |
c8d09ad8 | 13233 | (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. |
1ebd4f78 JB |
13234 | (Finit_image_library): New function, extracted from `init_image'. |
13235 | Try to initialize an image library on demand and cache whether we | |
13236 | were successful or not. | |
13237 | (syms_of_image): Initialize `Vimage_types' and | |
13238 | `Vimage_type_cache'. Add recognized image types to Vimage_types. | |
13239 | Export `init-image-library'. | |
13240 | (init_image): Remove initialization of all image types, except xbm | |
13241 | and pbm. | |
13242 | ||
13243 | * xdisp.c (Vimage_types): Delete (moved to image.c). | |
13244 | ||
904ee128 AS |
13245 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
13246 | ||
13247 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
13248 | Avoid calling specbind when completion-regexp-list is empty. | |
13249 | ||
092de21d RS |
13250 | 2004-06-13 Richard M. Stallman <rms@gnu.org> |
13251 | ||
13252 | * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
13253 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
13254 | Non-function definitions moved here from regex.c. | |
1ebd4f78 | 13255 | |
092de21d RS |
13256 | * regex.c (re_wctype, re_iswctype): Function defs longer static. |
13257 | (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
13258 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
13259 | Non-function definitions moved to regex.h. | |
13260 | ||
13261 | * window.c (Fselect_window): Doc fix. | |
13262 | ||
13263 | * syntax.c: Include regex.h. | |
13264 | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. | |
13265 | If requested, make a list of classes, then check the scanned | |
13266 | chars for membership in them. | |
13267 | (in_classes): New function. | |
13268 | Doc fix. | |
13269 | ||
13270 | * keyboard.c (cmd_error): Don't call any_kboard_state | |
13271 | if inside a recursive edit level. | |
13272 | ||
d495ccfc | 13273 | 2004-06-13 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
092de21d RS |
13274 | |
13275 | * keyboard.c (command_loop): Call any_kboard_state before | |
13276 | command_loop_2 when at top level. | |
13277 | ||
3ebc0939 AS |
13278 | 2004-06-13 Andreas Schwab <schwab@suse.de> |
13279 | ||
cea5d0d4 AS |
13280 | * print.c (print_object): Always use %ld for printing EMACS_INT. |
13281 | ||
13282 | * keyboard.c (cancel_hourglass_unwind): Return a value. | |
13283 | (modify_event_symbol): Always use %ld for printing EMACS_INT. | |
13284 | (Fexecute_extended_command): Likewise. | |
13285 | ||
13286 | * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to | |
13287 | avoid clashes. | |
13288 | (SYNTAX): Likewise. | |
13289 | (SYNTAX_WITH_FLAGS): Likewise. | |
13290 | (SYNTAX_MATCH): Likewise. | |
13291 | ||
13292 | * syntax.c (char_quoted): Avoid warning about undefined operation. | |
13293 | (find_defun_start): Likewise. | |
13294 | (scan_lists): Likewise. | |
13295 | (INC_FROM): Likewise. | |
13296 | (scan_sexps_forward): Likewise. | |
13297 | ||
be8c4ce4 AS |
13298 | * image.c: Include <ctype.h>. |
13299 | ||
3ebc0939 AS |
13300 | * xfaces.c (face_attr_equal_p): Declare parameters. |
13301 | ||
6fb41b5b KH |
13302 | 2004-06-13 Kenichi Handa <handa@m17n.org> |
13303 | ||
13304 | * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. | |
13305 | ||
fc3095ce EZ |
13306 | 2004-06-12 Matthew Mundell <matt@mundell.ukfsn.org> |
13307 | ||
13308 | * eval.c (Fdefun): Signal an error if NAME is not a symbol. | |
13309 | ||
66189a40 KH |
13310 | 2004-06-12 Kenichi Handa <handa@m17n.org> |
13311 | ||
13312 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | |
13313 | ccl_prog_stack_struct and update it. | |
13314 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | |
13315 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | |
13316 | ccl->eof_ic on EOF. | |
13317 | (ccl_debug_hook): New function. | |
13318 | (struct ccl_prog_stack): New member eof_ic. | |
13319 | (ccl_driver): Handle EOF in subrountine call correctly. | |
13320 | ||
13321 | 2004-06-11 Kenichi Handa <handa@m17n.org> | |
13322 | ||
a9b43336 | 13323 | * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. |
66189a40 | 13324 | |
1da71023 KS |
13325 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
13326 | ||
13327 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | |
13328 | ||
e9efcef4 JB |
13329 | 2004-06-11 Juanma Barranquero <lektu@terra.es> |
13330 | ||
13331 | * keyboard.c (Fposn_at_point): Doc fix. | |
13332 | ||
9b9ceb61 DK |
13333 | 2004-06-11 David Kastrup <dak@gnu.org> |
13334 | ||
13335 | * search.c (match_limit): Don't flag an error if match-data | |
13336 | exceeding the allocated search_regs.num_regs gets requested, just | |
13337 | return Qnil. | |
13338 | ||
6e87ac8f MB |
13339 | 2004-06-08 Miles Bader <miles@gnu.org> |
13340 | ||
13341 | * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. | |
13342 | ||
0b0dea7b JB |
13343 | 2004-06-07 Juanma Barranquero <lektu@terra.es> |
13344 | ||
13345 | * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) | |
13346 | (Fcurrent_time_string, Fcurrent_time_zone) | |
13347 | (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. | |
13348 | ||
a0a23346 MB |
13349 | 2004-06-07 Miles Bader <miles@gnu.org> |
13350 | ||
08384afd | 13351 | * xfaces.c (struct named_merge_point): New type. |
a0a23346 MB |
13352 | (push_named_merge_point): New function. |
13353 | (merge_named_face): New function. | |
13354 | (merge_face_ref, face_at_buffer_position, face_at_string_position): | |
13355 | Use `merge_named_face'. | |
13356 | (merge_face_inheritance): Function removed. | |
c8d09ad8 | 13357 | (merge_face_ref): Rename from `merge_face_vector_with_property'. |
a0a23346 MB |
13358 | Add new `err_msgs' and `named_merge_points' args. Return error |
13359 | status. Only print error messages if ERR_MSGS is true. Don't try to | |
13360 | do :inherit attribute validation. | |
13361 | (merge_face_heights): Handle `unspecified' in both directions. | |
13362 | (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. | |
13363 | Call `merge_face_ref' instead of `merge_face_inheritance'. | |
13364 | (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) | |
13365 | (compute_char_face, face_at_buffer_position) | |
13366 | (face_at_string_position): Call `merge_face_ref' instead of | |
13367 | `merge_face_vector_with_property'. | |
13368 | ||
12d5b185 KH |
13369 | 2004-06-07 Kenichi Handa <handa@m17n.org> |
13370 | ||
13371 | * coding.c (find_safe_codings): Check NILP (safe_codings) only at | |
13372 | the necessary places. | |
13373 | ||
2e2d7ee6 KS |
13374 | 2004-06-07 Kim F. Storm <storm@cua.dk> |
13375 | ||
13376 | * process.c (Fdelete_process): Undo 2004-05-28 change. | |
13377 | Instead, call status_notify also for network process. | |
13378 | (status_message): Use process instead of status as arg. | |
13379 | Give messages "deleted" or "connection broken by remote peer" for | |
13380 | an exited network process. | |
13381 | (status_notify): Change call to status_message. | |
13382 | (read_process_output): Increase readmax to 4096. Do not increase | |
13383 | buffer size for datagram channels (default is now large enough). | |
13384 | ||
fcf0d299 ST |
13385 | 2004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
13386 | ||
13387 | * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation | |
13388 | problem due to newly defined variable. | |
13389 | ||
0722292b MB |
13390 | 2004-06-06 Miles Bader <miles@gnu.org> |
13391 | ||
13392 | * xfaces.c (Fdisplay_supports_face_attributes_p): Give up | |
13393 | immediately if non-interactive or not initialized. | |
13394 | ||
ddfb8369 RS |
13395 | 2004-06-05 Richard M. Stallman <rms@gnu.org> |
13396 | ||
13397 | * minibuf.c (Fcompleting_read): Doc fix. | |
13398 | ||
57015754 AS |
13399 | 2004-06-05 Andreas Schwab <schwab@suse.de> |
13400 | ||
13401 | * macfns.c (x_create_tip_frame): Fix declaration after statement. | |
13402 | ||
23715ea6 JB |
13403 | 2004-06-05 Juanma Barranquero <lektu@terra.es> |
13404 | ||
13405 | * keymap.c (Fdescribe_vector): Fix docstring. | |
13406 | (Fkey_description, Fglobal_key_binding): Fix typo in docstring. | |
13407 | ||
8e330b22 MB |
13408 | 2004-06-05 Miles Bader <miles@gnu.org> |
13409 | ||
13410 | * xfaces.c (tty_supports_face_attributes_p): Make sure the specified | |
13411 | attributes have different values than the default face. | |
13412 | ||
9742a3a6 EZ |
13413 | 2004-06-04 Eli Zaretskii <eliz@gnu.org> |
13414 | ||
13415 | * xfaces.c (x_supports_face_attributes_p): Make this function | |
13416 | conditional on HAVE_WINDOW_SYSTEM. | |
c8d09ad8 SM |
13417 | (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: |
13418 | Don't call x_supports_face_attributes_p if it was not compiled in. | |
9742a3a6 | 13419 | |
9717e36c MB |
13420 | 2004-06-04 Miles Bader <miles@gnu.org> |
13421 | ||
13422 | * xfaces.c (tty_supports_face_attributes_p): New function, mostly | |
13423 | from Ftty_supports_face_attributes_p. | |
13424 | (x_supports_face_attributes_p): New function. | |
13425 | (Ftty_supports_face_attributes_p): Function deleted. | |
13426 | (Fdisplay_supports_face_attributes_p): New function. | |
13427 | (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. | |
f9711de4 | 13428 | (face_attr_equal_p): New function. |
9717e36c MB |
13429 | (lface_equal_p): Use it. |
13430 | ||
52deb19f JB |
13431 | 2004-06-03 Juanma Barranquero <lektu@terra.es> |
13432 | ||
13433 | * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) | |
13434 | (Vw32_color_map): Fix typo in docstring. | |
13435 | (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) | |
13436 | (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): | |
13437 | Make argument names match their use in docstring. | |
13438 | ||
86d373e6 JB |
13439 | 2004-06-02 Juanma Barranquero <lektu@terra.es> |
13440 | ||
13441 | Work around bugs/problems with MinGW builds of graphics libraries | |
13442 | called from MSVC builds of Emacs. | |
13443 | ||
13444 | * image.c (lookup_image): Make pointer to img static. | |
13445 | (png_read_from_memory): Disable "global" optimization. | |
13446 | ||
2fb0ce67 SM |
13447 | 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
13448 | ||
c8d09ad8 SM |
13449 | * eval.c (Fcondition_case): Fix usage. Simplify. |
13450 | ||
2fb0ce67 SM |
13451 | * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
13452 | ||
50bf7673 ST |
13453 | 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13454 | ||
13455 | * macfns.c: Don't include ccl.h. | |
13456 | [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
86d373e6 JB |
13457 | [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
13458 | TextUtils.h. | |
c8d09ad8 | 13459 | (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
50bf7673 ST |
13460 | (Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
13461 | display height/width. | |
13462 | (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
13463 | (unwind_create_tip_frame, compute_tip_xy): New functions. | |
13464 | (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
13465 | (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
13466 | and last_show_tip_args. | |
2fb0ce67 | 13467 | |
50bf7673 ST |
13468 | * macgui.h [!MAC_OSX]: Include Gestalt.h. |
13469 | (Cursor, No_Cursor): New defines. | |
c8d09ad8 | 13470 | [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
50bf7673 ST |
13471 | [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
13472 | ||
13473 | * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
13474 | ||
13475 | * macterm.c: Don't include Gestalt.h. | |
13476 | (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
13477 | (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
13478 | (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
13479 | (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
13480 | (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
13481 | (construct_mouse_click, XTmouse_position) | |
13482 | (x_scroll_bar_report_motion, x_calc_absolute_position) | |
13483 | (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
13484 | (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
13485 | (note_mouse_movement): Clear the mouse face and reset the pointer | |
13486 | shape when the pointer goes outside the frame without grabbing. | |
13487 | (mac_front_window): New function. | |
13488 | (mac_window_to_frame): New macro. | |
13489 | (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
13490 | (do_window_activate, do_window_deactivate, do_app_resume) | |
13491 | (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
13492 | (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
13493 | (mac_check_for_quit_char): Use mac_front_window and/or | |
13494 | mac_window_to_frame. | |
13495 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
13496 | scroll-bar click event. | |
13497 | (mac_define_frame_cursor): Change the pointer shape. | |
71b7a47f YM |
13498 | (x_free_frame_resources): Reset tip_window to NULL when it is |
13499 | disposed of. | |
50bf7673 | 13500 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
c8d09ad8 | 13501 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
50bf7673 ST |
13502 | (do_window_update): Don't do anything if the updated window is the |
13503 | tooltip window. | |
13504 | (do_mouse_moved): Handle mouse movement events here (previously in | |
13505 | XTread_socket). Clear the mouse face if | |
13506 | dpyinfo->mouse_face_hidden is set. | |
13507 | (do_os_event, do_events): Remove (now in XTread_socket). | |
13508 | (XTread_socket): Immediately return if interrupt_input_blocked. | |
c8d09ad8 SM |
13509 | Loop until all the events in the queue are processed. |
13510 | Rearrange codes for mouse grabbing. Add tooltip support. Include the | |
50bf7673 ST |
13511 | contents of do_os_event and do_events. Remove mouse movement |
13512 | handling (now in do_mouse_moved). Add the case where | |
13513 | Vmouse_highlight has an integer value. | |
13514 | (NewMacWindow): Remove. | |
13515 | (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
13516 | excess initializations. | |
13517 | (make_mac_terminal_frame): Previous initializations in | |
13518 | make_mac_frame are moved here. | |
c8d09ad8 SM |
13519 | (mac_initialize_display_info): |
13520 | Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
50bf7673 ST |
13521 | |
13522 | * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
13523 | (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
13524 | ||
08fd1251 RS |
13525 | 2004-05-29 Richard M. Stallman <rms@gnu.org> |
13526 | ||
13527 | * lisp.h (truncate_undo_list): Update decl. | |
13528 | ||
13529 | * alloc.c (undo_outer_limit): New variable. | |
13530 | (syms_of_alloc): Defvar it. | |
13531 | (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. | |
13532 | ||
13533 | * undo.c (truncate_undo_list): New arg LIMITSIZE. | |
13534 | ||
13535 | * alloc.c (lisp_align_malloc): Check for base == 0 | |
13536 | regardless of HAVE_POSIX_MEMALIGN. | |
13537 | Clean up HAVE_POSIX_MEMALIGN handling of `err'. | |
13538 | ||
227ef0ff SM |
13539 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
13540 | ||
13541 | * alloc.c: Undo Kim's recent changes and fix the same bug differently. | |
13542 | (marker_blocks_pending_free): Remove. | |
13543 | (Fgarbage_collect): Sweep after cleaning up undo-lists. | |
13544 | Mark the undo lists after claning them up. | |
13545 | Don't free block in marker_blocks_pending_free. | |
13546 | (mark_buffer): Don't mark undo_list. | |
13547 | (gc_sweep): Sweep hash-tables and strings first. | |
13548 | Do free marker blocks that are empty. | |
13549 | ||
034a6113 SM |
13550 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
13551 | ||
13552 | * regex.c (print_partial_compiled_pattern): Add missing 'break' | |
13553 | after 'case wordend'. For symbeg and symend, print to stderr, | |
13554 | like the other cases. | |
13555 | ||
33594a8d NF |
13556 | 2004-05-28 Noah Friedman <friedman@splode.com> |
13557 | ||
13558 | * process.c (Fdelete_process): Do not call remove_process. | |
13559 | ||
ce50a847 SM |
13560 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
13561 | ||
13562 | * alloc.c (struct backtrace): Remove. | |
13563 | (Fgarbage_collect): Use the new mark_backtrace. | |
13564 | ||
13565 | * eval.c (mark_backtrace): New function. | |
13566 | ||
13567 | * minibuf.c (run_exit_minibuf_hook): New function. | |
13568 | (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. | |
13569 | (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. | |
13570 | ||
1e8dae36 KS |
13571 | 2004-05-27 Kim F. Storm <storm@cua.dk> |
13572 | ||
13573 | * xdisp.c (back_to_previous_visible_line_start): Skip backwards | |
13574 | over display properties, e.g. images, that replace buffer text. | |
13575 | ||
846faa3b KS |
13576 | 2004-05-25 Kim F. Storm <storm@cua.dk> |
13577 | ||
13578 | * alloc.c (marker_blocks_pending_free): New var. | |
13579 | (gc_sweep): Store free marker blocks on that list. | |
13580 | (Fgarbage_collect): Free them after undo-list cleanup. | |
13581 | ||
13582 | * process.c (wait_reading_process_input): Check connect_wait_mask | |
13583 | before actually accepting connection in case it has already been | |
13584 | accepted due to recursion. | |
13585 | ||
d495ccfc | 13586 | 2004-05-23 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
6239a668 | 13587 | |
ce50a847 SM |
13588 | * coding.c (Fset_safe_terminal_coding_system_internal): |
13589 | Set suppress_error in safe_terminal_coding, not terminal_coding. | |
6239a668 | 13590 | |
71d5a208 RS |
13591 | 2004-05-22 Richard M. Stallman <rms@gnu.org> |
13592 | ||
13593 | * alloc.c (Fmake_string): Doc fix. | |
13594 | ||
13595 | * buffer.c (clone_per_buffer_values): Copy the alist of local vars, | |
13596 | and the alist pairs too. | |
13597 | ||
13598 | * casefiddle.c (casify_object): Return OBJ unchanged if not real char. | |
13599 | ||
51391fb9 RF |
13600 | * emacs.c (main): Update copyright year. |
13601 | ||
71d5a208 RS |
13602 | * fileio.c (Fread_file_name): Expand DIR if not absolute. |
13603 | ||
13604 | * insdel.c (del_range_2, replace_range): Don't write an anchor | |
13605 | if the gap is empty. | |
13606 | ||
13607 | * xdisp.c (try_scrolling): If scroll-up-aggressively or | |
13608 | scroll-down-aggressively is small but positive, put point | |
13609 | near the screen edge. | |
13610 | ||
f63fd14e JB |
13611 | 2004-05-22 Juanma Barranquero <lektu@terra.es> |
13612 | ||
13613 | * keymap.c (Fdefine_key): Doc fix. | |
13614 | ||
4d12067c KS |
13615 | 2004-05-22 Kim F. Storm <storm@cua.dk> |
13616 | ||
13617 | * alloc.c (struct backtrace): Add debug_on_exit member. | |
13618 | (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. | |
13619 | Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of | |
13620 | the removed cons cells. | |
13621 | (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. | |
13622 | (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have | |
13623 | any cons cells pointing to unallocated stings. | |
13624 | Do not lisp_free any marker blocks, as there may still be pointers | |
13625 | to them from buffer undo lists at this stage of GC. | |
13626 | ||
13627 | * keyboard.c (struct backtrace): Add debug_on_exit member. | |
13628 | (Fcommand_execute): Clear it. | |
13629 | ||
931285e2 LT |
13630 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
13631 | ||
13632 | * intervals.c (lookup_char_property): Do not prematurely return nil. | |
13633 | ||
669fa600 SM |
13634 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
13635 | ||
13636 | Add support for new '\_<' and '\_>' regexp operators, matching the | |
f63fd14e | 13637 | beginning and end of symbols. |
4d12067c | 13638 | |
669fa600 SM |
13639 | * regex.c (enum syntaxcode): Add Ssymbol. |
13640 | (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. | |
13641 | (re_opcode_t): New opcodes `symbeg' and `symend'. | |
13642 | (print_partial_compiled_pattern): Print the new opcodes properly. | |
13643 | (regex_compile): Parse the new operators. | |
ce50a847 | 13644 | (analyse_first): Skip sym(beg|end) (they match only the empty string). |
669fa600 SM |
13645 | (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
13646 | \sw; `symbeg' is mutually exclusive with \S_ and \Sw. | |
13647 | (re_match_2_internal): Match symbeg and symend. | |
13648 | ||
13649 | * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. | |
13650 | ||
0d8c2e5c KS |
13651 | 2004-05-19 Kim F. Storm <storm@cua.dk> |
13652 | ||
13653 | * .gdbinit (xsymbol): Fix last change. | |
13654 | ||
669fa600 SM |
13655 | 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
13656 | ||
13657 | * .gdbinit (xprintstr): New fun. | |
13658 | (xstring, xprintsym): Use it. | |
13659 | ||
13660 | * w32proc.c (create_child): Use INTMASK. | |
13661 | ||
13662 | * alloc.c (Fgarbage_collect): Do all the marking before flushing | |
13663 | unmarked elements of the undo list. | |
13664 | ||
9a6a4c40 DP |
13665 | 2004-05-18 David Ponce <david@dponce.com> |
13666 | ||
13667 | * print.c (print): Reset print_depth before to call print_object. | |
13668 | ||
f3c4ec74 JR |
13669 | 2004-05-18 Jason Rumney <jasonr@gnu.org> |
13670 | ||
13671 | * w32console.c: Prefix RIF functions with w32con_ to avoid | |
13672 | namespace clash with functions in term.c and w32term.c. | |
13673 | ||
13674 | * w32menu.c (add_menu_item, w32_menu_display_help) | |
13675 | [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. | |
13676 | ||
0d8c2e5c | 13677 | * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. |
f3c4ec74 | 13678 | |
6be49c3a EZ |
13679 | 2004-05-18 Eli Zaretskii <eliz@gnu.org> |
13680 | ||
4d0b9a0a EZ |
13681 | * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. |
13682 | ||
6be49c3a EZ |
13683 | * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph |
13684 | with make_number. | |
13685 | (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph | |
13686 | with XINT. | |
13687 | ||
0bc90bba KS |
13688 | 2004-05-18 Kim F. Storm <storm@cua.dk> |
13689 | ||
89d19988 KS |
13690 | * blockinput.h (INPUT_BLOCKED_P): New macros. |
13691 | ||
13692 | * keyboard.c (Frecursive_edit): Return immediately if input blocked. | |
13693 | (Ftop_level): Unblock input if blocked. | |
13694 | ||
0bc90bba KS |
13695 | * buffer.h (GET_OVERLAYS_AT): New macro. |
13696 | * msdos.c (IT_note_mouse_highlight): Use it. | |
13697 | * textprop.c (get_char_property_and_overlay): Use it. | |
13698 | * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. | |
13699 | * xfaces.c (face_at_buffer_position): Use it. | |
13700 | ||
13701 | * print.c (print_object): Increase buf size. | |
13702 | ||
653bd0f6 JR |
13703 | 2004-05-17 Jason Rumney <jasonr@gnu.org> |
13704 | ||
13705 | * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) | |
13706 | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from | |
13707 | Lisp_Object using i member. | |
13708 | (w32_quit_key): Rename from Vw32_quit_key, and make an int. | |
13709 | (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int | |
13710 | consistently. | |
13711 | ||
13712 | * w32proc.c (create_child): Use make_number instead of masking pid. | |
13713 | ||
13714 | * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. | |
13715 | (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): | |
13716 | Use EQ to compare Lisp_Objects. | |
13717 | (w32_parse_hot_key): Use int for lisp_modifiers consistently. | |
13718 | ||
13719 | * w32term.c (w32_num_mouse_buttons): Rename from | |
13720 | Vw32_num_mouse_buttons and make it an int. | |
13721 | ||
13722 | * w32.c (init_environment): Use it. | |
13723 | ||
13724 | * w32fns.c (w32_wnd_proc): Likewise. | |
13725 | ||
13726 | * w32proc.c (w32_pipe_read_delay): Rename from | |
13727 | Vw32_pipe_read_delay and make it an int. | |
13728 | ||
13729 | * w32.c (_sys_read_ahead): Use it. | |
13730 | ||
13731 | * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. | |
13732 | ||
13733 | * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. | |
13734 | ||
13735 | * w32inevt.c (w32_console_mouse_position, do_mouse_event) | |
13736 | (key_event): Don't mix Lisp_Object and int. | |
13737 | ||
13738 | * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. | |
13739 | ||
13740 | * keyboard.c (kbd_buffer_get_event): Don't use event->code and | |
13741 | modifiers in language change event. | |
13742 | ||
54b53ba7 KS |
13743 | 2004-05-17 Kim F. Storm <storm@cua.dk> |
13744 | ||
13745 | * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. | |
13746 | Such objects may be freed markers which still exist on an undo list. | |
13747 | ||
6e86a75d JB |
13748 | 2004-05-16 Juanma Barranquero <lektu@terra.es> |
13749 | ||
13750 | * data.c (Fset_default): Make argument names match their use in | |
13751 | docstring. | |
13752 | ||
fc80da24 AS |
13753 | 2004-05-15 Andreas Schwab <schwab@suse.de> |
13754 | ||
13755 | * emacs.c (gdb_array_mark_flag): Define. | |
13756 | * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. | |
13757 | ||
c1380aa6 EZ |
13758 | 2004-05-15 Eli Zaretskii <eliz@gnu.org> |
13759 | ||
13760 | * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use | |
13761 | __attribute__((__aligned__)), so that USE_LSB_TAG would not become | |
13762 | defined for the MS-DOS build. | |
13763 | ||
89458937 SM |
13764 | 2004-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
13765 | ||
13766 | * w32fns.c (Fw32_define_rgb_color): Avoid XSET. | |
13767 | ||
08020f9a KH |
13768 | 2004-05-14 Kenichi Handa <handa@m17n.org> |
13769 | ||
13770 | * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. | |
13771 | ||
a433994a ST |
13772 | 2004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13773 | ||
13774 | * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c | |
13775 | section to frame.c section. | |
13776 | (Fxw_display_color_p, Fx_file_dialog): Declare if | |
89458937 | 13777 | HAVE_WINDOW_SYSTEM defined. |
0d8c2e5c | 13778 | |
a433994a | 13779 | * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. |
0d8c2e5c | 13780 | |
a433994a | 13781 | * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. |
0d8c2e5c | 13782 | |
a433994a ST |
13783 | * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) |
13784 | (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. | |
13785 | (XTread_socket): Fix int/Lisp_Object mixup. | |
13786 | (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. | |
0d8c2e5c | 13787 | |
a433994a ST |
13788 | * macterm.h (struct frame, struct face, struct image) |
13789 | (display_x_get_resource, Fx_display_color_p) | |
89458937 SM |
13790 | (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): |
13791 | Add prototypes. | |
a433994a | 13792 | |
b51a51b9 KS |
13793 | 2004-05-14 Kim F. Storm <storm@cua.dk> |
13794 | ||
13795 | * process.c (wait_reading_process_input): Make reentrant. | |
13796 | Make Available and Connecting non-static. Save and restore value | |
13797 | of waiting_for_user_input_p. | |
13798 | ||
2bde1dd8 KS |
13799 | 2004-05-13 Kim F. Storm <storm@cua.dk> |
13800 | ||
13801 | * keyboard.c (mark_kboards): Don't mark x and y members | |
13802 | that are overloaded in selection request events. | |
13803 | ||
a267ab4d SM |
13804 | 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca> |
13805 | ||
13806 | * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. | |
13807 | ||
eb15ce9e GM |
13808 | 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk> |
13809 | ||
13810 | * window.c (Fdisplay_buffer, Fsplit_window) | |
13811 | (split-height-threshold): Doc fix. | |
13812 | ||
7fc92635 JB |
13813 | 2004-05-13 Juanma Barranquero <lektu@terra.es> |
13814 | ||
13815 | * xfaces.c (Ftty_supports_face_attributes_p) | |
13816 | (Finternal_copy_lisp_face): Fix typo in docstring. | |
13817 | (Finternal_get_lisp_face_attribute): Fix docstring. | |
13818 | ||
1ec2a572 JD |
13819 | 2004-05-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13820 | ||
13821 | * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. | |
13822 | ||
ae9292e0 ST |
13823 | 2004-05-11 Steven Tamm <steventamm@mac.com> |
13824 | ||
13825 | * macfns.c (Fx_create_frame): Default to using tool-bar by | |
13826 | setting tool-bar-lines to 1 in default-frame-alist. | |
13827 | ||
13828 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
ea1aaa6f ST |
13829 | |
13830 | * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) | |
13831 | (xpm_get_color_table_v, xpm_make_color_table_h) | |
13832 | (xpm_put_color_table_h, xpm_get_color_table_h) | |
13833 | (xpm_str_to_color_key, xpm_load_image, xpm_load) | |
13834 | (syms_of_image): Support XPM on Carbon Emacs. Does not | |
a267ab4d | 13835 | depend on libXpm, but only supports XPM version 3 without extensions. |
ea1aaa6f | 13836 | |
fe97e8df ST |
13837 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13838 | ||
a267ab4d | 13839 | * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P |
fe97e8df ST |
13840 | instead of FRAME_X_P |
13841 | ||
b47e779e KS |
13842 | 2004-05-11 Kim F. Storm <storm@cua.dk> |
13843 | ||
13844 | * process.c (read_process_output): Grow decoding_buf when needed; | |
13845 | this could cause a crash in allocate_string and compact_small_strings. | |
13846 | ||
cdc9b845 EZ |
13847 | 2004-04-29 Jim Blandy <jimb@redhat.com> |
13848 | ||
13849 | * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 | |
13850 | against proper opcode. | |
13851 | ||
aa7094ba JB |
13852 | 2004-05-10 Juanma Barranquero <lektu@terra.es> |
13853 | ||
13854 | * process.c (Fstart_process): Fix docstring. | |
13855 | ||
13856 | * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. | |
13857 | (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) | |
13858 | (Fsplit_char, Fchar_charset): Make argument names match their use | |
13859 | in docstring. | |
13860 | ||
e109331a RS |
13861 | 2004-05-10 Richard M. Stallman <rms@gnu.org> |
13862 | ||
13863 | * print.c (print_preprocess): Use being_printed, loop_count and | |
13864 | halftail to detect overdeep nesting and cyclic cdr chains. | |
13865 | ||
9a28b921 AS |
13866 | 2004-05-10 Andreas Schwab <schwab@suse.de> |
13867 | ||
78819ebb | 13868 | * lisp.h (Fmake_symbolic_link): Declare. |
9a28b921 AS |
13869 | |
13870 | * fileio.c (Frename_file): Remove extra argument in call to | |
13871 | Fmake_symbolic_link. | |
13872 | ||
e2c02c1a KS |
13873 | 2004-05-10 Kim F. Storm <storm@cua.dk> |
13874 | ||
13875 | * xdisp.c (calc_line_height_property): Use string position when | |
13876 | object is a string. | |
13877 | ||
cfe9d13e KH |
13878 | 2004-05-10 Kenichi Handa <handa@m17n.org> |
13879 | ||
a57e8159 KH |
13880 | * print.c (temp_output_buffer_setup): Bind inhibit-read-only and |
13881 | inhibit-modification-hooks to t temporarily before calling | |
13882 | Ferase_buffer. | |
13883 | ||
13884 | * xfns.c (x_create_tip_frame): Bind inhibit-read-only and | |
13885 | inhibit-modification-hooks to t temporarily before calling | |
13886 | Ferase_buffer. | |
13887 | ||
13888 | * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and | |
13889 | inhibit-modification-hooks to t temporarily before calling | |
13890 | Ferase_buffer. | |
13891 | ||
cfe9d13e KH |
13892 | * fns.c (count_combining): Delete it. |
13893 | (concat): Don't check combining bytes. | |
13894 | ||
ceb96489 JR |
13895 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
13896 | ||
13897 | * w32fns.c (Vw32_ansi_code_page): New Lisp variable. | |
13898 | (globals_of_w32fns): Set it. | |
13899 | ||
b6189c3b | 13900 | 2004-05-09 Piet van Oostrum <piet@cs.uu.nl> |
b1c661c7 JB |
13901 | |
13902 | * data.c (Fquo): Simplify. | |
13903 | ||
28712a21 JB |
13904 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) |
13905 | ||
13906 | * data.c (Fquo): If any argument is float, do the computation in | |
13907 | floating point. | |
13908 | ||
0f0af7a8 JB |
13909 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
13910 | ||
88214ef6 JB |
13911 | * process.c (Fwaiting_for_user_input_p, Fmake_network_process) |
13912 | (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): | |
13913 | Fix spelling of Emacs on docstring. | |
13914 | (Fset_process_coding_system, Fprocess_coding_system) | |
13915 | (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): | |
13916 | Make argument names match their use in docstring. | |
13917 | (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): | |
13918 | Fix docstring. | |
13919 | ||
0f0af7a8 JB |
13920 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
13921 | use in docstring. | |
13922 | ||
13923 | * syntax.c (Fmodify_syntax_entry): Fix docstring. | |
13924 | ||
2a316a84 ST |
13925 | 2004-05-07 Steven Tamm <steventamm@mac.com> |
13926 | ||
13927 | * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT | |
13928 | around call to ReceiveEvent to avoid certain crashes. | |
13929 | ||
13930 | 2004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
0d8c2e5c | 13931 | |
2a316a84 ST |
13932 | * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) |
13933 | (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) | |
13934 | (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): | |
13935 | Save/restore the current graphics port and device handle when | |
13936 | drawing into an offscreen graphics world. | |
13937 | ||
13938 | * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) | |
13939 | (gif_load): Likewise. | |
13940 | ||
ab80314b JB |
13941 | 2004-05-07 Juanma Barranquero <lektu@terra.es> |
13942 | ||
13943 | * window.c (Fset_window_buffer): Fix docstring. | |
13944 | ||
70646bb5 TTN |
13945 | 2004-05-06 Thien-Thi Nguyen <ttn@gnu.org> |
13946 | ||
13947 | * emacs.c (main) [VMS]: Fix var ref. | |
13948 | ||
b6189c3b | 13949 | 2004-05-06 Romain Francoise <romain@orebokech.com> |
b03a4fdd JB |
13950 | |
13951 | * data.c (Fsetq_default): Fix docstring. | |
13952 | ||
279d3293 JR |
13953 | 2004-05-06 Jason Rumney <jasonr@gnu.org> |
13954 | ||
13955 | * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h | |
13956 | to avoid name clash. | |
13957 | ||
f72b5416 JD |
13958 | 2004-05-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13959 | ||
13960 | * fileio.c (barf_or_query_if_file_exists): Use lstat. | |
13961 | (Frename_file): Handle renaming of symlinks across file systems. | |
440c7d00 | 13962 | (Frename_file): Put symlink handling inside #ifdef S_IFLNK. |
f72b5416 | 13963 | |
6ab66799 KS |
13964 | 2004-05-04 Kim F. Storm <storm@cua.dk> |
13965 | ||
13966 | * xdisp.c (Qtotal): New var. | |
13967 | (syms_of_xdisp): Intern and staticpro it. | |
13968 | (calc_line_height_property): New arg total. Set it if | |
13969 | line-spacing property has format (total . VALUE). | |
13970 | (x_produce_glyphs): Ignore line-spacing if line-height is 0. | |
13971 | Handle total line-spacing property. | |
13972 | ||
ab2d724b JD |
13973 | 2004-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13974 | ||
13975 | * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear | |
13976 | "under" scroll bar when size/position changes. | |
13977 | ||
238add5e JR |
13978 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
13979 | ||
13980 | * makefile.nt: Remove. | |
13981 | ||
1644f4e4 EZ |
13982 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> |
13983 | ||
a267ab4d SM |
13984 | * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): |
13985 | Avoid compiler warnings. | |
05fdbeb8 | 13986 | |
1644f4e4 EZ |
13987 | * Makefile.in (region-cache.o): Depend on config.h. |
13988 | ||
b6189c3b | 13989 | 2004-05-02 Romain Francoise <romain@orebokech.com> |
6cbc951e SM |
13990 | |
13991 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | |
13992 | with continuation lines, too. | |
13993 | ||
2b98b088 TTN |
13994 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
13995 | ||
13996 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | |
13997 | ||
d9bf7950 SM |
13998 | 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
13999 | ||
14000 | * xdisp.c (calc_line_height_property): YAILOM (yet another | |
14001 | int/Lisp_Object mixup). | |
14002 | ||
affa509c EZ |
14003 | 2004-05-01 Eli Zaretskii <eliz@gnu.org> |
14004 | ||
14005 | * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to | |
14006 | undo bad effect of pack(4) in some versions of system headers. | |
14007 | ||
07c07cfe JR |
14008 | 2004-05-01 Jason Rumney <jasonr@gnu.org> |
14009 | ||
14010 | * w32term.c (x_draw_hollow_cursor): Sync with xterm.c | |
14011 | ||
e71caa4e KS |
14012 | 2004-04-30 Kim F. Storm <storm@cua.dk> |
14013 | ||
14014 | * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. | |
b2b55d03 | 14015 | (syms_of_buffer) <cursor-type>: Doc fix. |
e71caa4e KS |
14016 | |
14017 | * dispextern.h (struct it): Remove member use_default_face. | |
14018 | Add members override_ascent, override_descent, override_boff. | |
14019 | ||
14020 | * xdisp.c (init_iterator): Handle line-spacing float value. | |
14021 | Initialize override_ascent member. | |
14022 | (append_space_for_newline): Reset override_ascent. | |
14023 | Remove use_default_face. | |
14024 | (calc_line_height_property): New function to calculate value of | |
14025 | line-height and line-spacing properties. Look at overlays, too. | |
14026 | Set override_ascent, override_descent, override_boff members when | |
14027 | using another face than the current face. Float values are now | |
14028 | relative to the frame default font, by default; accept a cons | |
14029 | of ratio and face name to specify value relative to a specific face. | |
14030 | (x_produce_glyphs): Use calc_line_height_property. | |
14031 | Use override_ascent etc. when set to handle different face heights. | |
14032 | A negative line-spacing property value is interpreted as a total | |
14033 | line height, rather than inter-line spacing. | |
14034 | (note_mouse_highlight): Allocate room for 40 overlays initially. | |
14035 | ||
0fddae66 SM |
14036 | 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
14037 | ||
14038 | * data.c (Fsubr_name): New fun. | |
14039 | (syms_of_data): Defsubr it. | |
14040 | ||
712d23dc KS |
14041 | 2004-04-29 Kim F. Storm <storm@cua.dk> |
14042 | ||
14043 | * xdisp.c (null_glyph_slice): New var. | |
14044 | (append_glyph, append_composite_glyph, append_stretch_glyph): | |
14045 | Use it to initialize glyph slice. | |
14046 | ||
033ad8c6 SM |
14047 | 2004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> |
14048 | ||
14049 | * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. | |
14050 | (on_hot_spot_p): Make sure we always return a value. | |
14051 | (Flookup_image_map): Remove unused var ix and iy. | |
14052 | (note_mode_line_or_margin_highlight): Remove unused var `image'. | |
14053 | ||
93397360 EZ |
14054 | 2004-04-27 Eli Zaretskii <eliz@gnu.org> |
14055 | ||
14056 | * msdos.c (init_environment): If one of the TMP... environment | |
14057 | variables is set to a drive letter without a trailing slash, | |
14058 | append a slash. | |
14059 | ||
0c54865e EZ |
14060 | 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org> |
14061 | ||
14062 | * editfns.c (lisp_time_argument): Provide externally. | |
14063 | ||
14064 | * fileio.c (Fset_file_times): New function. | |
14065 | (syms_of_fileio): Intern and staticpro it. | |
14066 | ||
d3b111bd KS |
14067 | 2004-04-27 Kim F. Storm <storm@cua.dk> |
14068 | ||
07dc1231 KS |
14069 | * xdisp.c (x_produce_glyphs): Fix last change; handle newline in |
14070 | header line strings. | |
14071 | ||
360fe9d2 KS |
14072 | * dispextern.h (struct it): New member use_default_face. |
14073 | ||
d3b111bd KS |
14074 | * xdisp.c (Qline_height): New variable. |
14075 | (syms_of_xdisp): Intern and staticpro it. | |
14076 | (append_space_for_newline): Partially undo 2004-04-25 change; | |
14077 | add default_face_p arg, and restore callers. | |
14078 | Clear it->use_default_face after use. | |
14079 | (x_produce_glyphs): Set default font for ascii char if | |
14080 | it->use_default_font is set. Change line-spacing property to set | |
14081 | just extra line spacing. Handle new line-height property. | |
14082 | ||
0448588b AS |
14083 | 2004-04-26 Andreas Schwab <schwab@suse.de> |
14084 | ||
14085 | * print.c (print_object): Print non-ascii characters in bool | |
14086 | vector representation as octal escapes. | |
14087 | ||
14088 | * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. | |
14089 | * print.c (print_object): Use it instead of BITS_PER_CHAR for | |
14090 | bool vectors. | |
14091 | * lread.c (read1): Likewise. | |
14092 | * alloc.c (Fmake_bool_vector): Likewise. | |
14093 | * data.c (Faref, Faset): Likewise. | |
14094 | * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) | |
14095 | (mapcar1): Likewise. | |
d3b111bd | 14096 | |
536d6baa ST |
14097 | 2004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
14098 | ||
7e26f91b | 14099 | * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. |
536d6baa | 14100 | |
ae11577a MB |
14101 | 2004-04-26 Miles Bader <miles@gnu.org> |
14102 | ||
14103 | * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. | |
14104 | ||
e198ba87 JB |
14105 | 2004-04-26 Juanma Barranquero <lektu@terra.es> |
14106 | ||
14107 | * buffer.c (Fpop_to_buffer): Fix docstring. | |
14108 | ||
f3d5f92d | 14109 | 2004-04-26 Steven Tamm <steventamm@mac.com> |
e198ba87 | 14110 | |
f3d5f92d ST |
14111 | * lread.c (init_lread): Don't display missing lisp directory |
14112 | warnings with Carbon Emacs because self-contained bundled Emacs | |
e198ba87 | 14113 | may be built without correct installation path. |
f3d5f92d | 14114 | |
03e35edc KS |
14115 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
14116 | ||
9ff3aa31 KS |
14117 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
14118 | ||
14119 | * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | |
14120 | ||
03e35edc KS |
14121 | * xdisp.c (append_space_for_newline): Rename from append_space. |
14122 | Remove DEFAULT_FACE_P arg; always use current face. Callers changed. | |
14123 | (x_produce_glyphs): Handle line-spacing property on newline char. | |
14124 | If value is t, adjust ascent and descent to fit current row height. | |
14125 | If value is an integer or float, set extra_line_spacing to integer | |
14126 | value, or to float value x current line height. | |
14127 | ||
f24814e0 KH |
14128 | 2004-04-23 Kenichi Handa <handa@m17n.org> |
14129 | ||
14130 | * fontset.c (Finternal_char_font): If POSITION is nil, return | |
14131 | font for displaying CH with the default face. | |
14132 | ||
d814862a JB |
14133 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
14134 | ||
14135 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
14136 | ||
063a45c5 SM |
14137 | 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca> |
14138 | ||
14139 | * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: | |
14140 | Don't make assumptions about the relative place of i and val. | |
14141 | (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. | |
14142 | ||
ae7ab2d3 KS |
14143 | 2004-04-21 Kim F. Storm <storm@cua.dk> |
14144 | ||
14145 | * dispextern.h (struct glyph_slice): New struct. | |
14146 | (struct glyph): New member slice. | |
14147 | (GLYPH_SLICE_EQUAL_P): New macro. | |
14148 | (GLYPH_EQUAL_P): Use it. | |
14149 | (struct glyph_string): New member slice. | |
14150 | (struct it_slice): New struct. | |
14151 | (struct it): New member slice, add member to stack too. | |
14152 | New member constrain_row_ascent_descent_p. | |
14153 | (image_ascent): Add prototype. | |
14154 | ||
14155 | * dispnew.c (buffer_posn_from_coords): Return full image width | |
14156 | and height even for image slices (posn is relative to full image). | |
14157 | (marginal_area_string): Adjust x0,y0 for image slice. | |
14158 | ||
14159 | * image.c (image_ascent): Add slice arg; calculate ascent for | |
14160 | image slice (or full image). | |
14161 | ||
14162 | * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. | |
14163 | (syms_of_keyboard): Defsubr them. | |
14164 | ||
14165 | * lisp.h (pos_visible_p): Fix prototype. | |
14166 | ||
c62aec78 | 14167 | * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. |
ae7ab2d3 KS |
14168 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. |
14169 | (x_draw_image_foreground, x_draw_image_relief) | |
14170 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
14171 | Draw sliced images. | |
14172 | ||
14173 | * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. | |
14174 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
14175 | (x_draw_image_foreground, x_draw_image_relief) | |
14176 | (w32_draw_image_foreground_1, x_draw_image_glyph_string): | |
14177 | Draw sliced images. | |
14178 | ||
14179 | * w32term.h (image_ascent): Remove prototype. | |
14180 | ||
14181 | * window.c (Fpos_visible_in_window_p): Return pixel position if | |
14182 | PARTIALLY arg is non-nil. Simplify. Doc fix. | |
14183 | (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg | |
14184 | to return/set vscroll in pixels. | |
14185 | ||
14186 | * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. | |
14187 | ||
14188 | * xdisp.c (Qslice): New variable. | |
14189 | (syms_of_xdisp): Intern and staticpro it. | |
14190 | (pos_visible_p): Return pixel position in new x and y args. | |
14191 | (init_iterator): Reset it->slice info. | |
14192 | (handle_display_prop): Parse (slice ...) property. | |
14193 | (push_it, pop_it): Save/restore slice info. | |
14194 | (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not | |
14195 | force repositioning of tall row if window is vscrolled, as that | |
14196 | would reset vscroll. | |
14197 | (append_space): Set it->constrain_row_ascent_descent_p to avoid | |
14198 | increasing row height if row is non-empty. | |
14199 | (fill_image_glyph_string): Copy slice info. | |
14200 | (take_vertical_position_into_account): Simplify. | |
14201 | (produce_image_glyph): Handle iterator slice info, setup glyph | |
14202 | slice info. Do not force minimum line height. | |
14203 | (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, | |
14204 | do not increase height (ascent/descent) of non-empty row when | |
14205 | adding normal character glyph; instead reduce glyph ascent/descent | |
14206 | appropriately; if row is higher than current glyph, adjust glyph | |
14207 | descent/ascent to reposition glyph within the existing row. | |
14208 | Likewise, when char is newline, only set ascent/descent if row is | |
14209 | currently empty. | |
14210 | (note_mouse_highlight): Handle hotspots with sliced image. | |
14211 | ||
14212 | * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. | |
14213 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
14214 | (x_draw_image_foreground, x_draw_image_relief) | |
14215 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
14216 | Draw sliced images. | |
14217 | ||
14218 | * xterm.h (image_ascent): Remove prototype. | |
14219 | ||
d58f8753 SM |
14220 | 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
14221 | ||
14222 | * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. | |
14223 | ||
4ce2719d JPW |
14224 | 2004-04-20 John Paul Wallington <jpw@gnu.org> |
14225 | ||
14226 | * fns.c (Fassoc, Feql): Fix indentation. | |
14227 | ||
d58f8753 | 14228 | * fontset.c (regularize_fontname): Rename from regulalize_fontname. |
4ce2719d | 14229 | |
95f8c3b9 JPW |
14230 | 2004-04-19 John Paul Wallington <jpw@gnu.org> |
14231 | ||
14232 | * fns.c (Feql): New function. | |
d58f8753 | 14233 | (syms_of_fns): Defsubr it. |
95f8c3b9 | 14234 | |
b7e85537 JR |
14235 | 2004-04-18 Jason Rumney <jasonr@gnu.org> |
14236 | ||
14237 | * w32select.c (Fw32_set_clipboard_data): Get sequence number | |
14238 | after closing the clipboard. | |
14239 | ||
5a72efd4 LT |
14240 | 2004-04-16 Luc Teirlinck <teirllm@auburn.edu> |
14241 | ||
14242 | * buffer.c (Fbuffer_base_buffer): Doc fix. | |
14243 | ||
20dc8583 KS |
14244 | 2004-04-17 Kim F. Storm <storm@cua.dk> |
14245 | ||
60962ec4 KS |
14246 | * keymap.c (Fkey_description): Add optional PREFIX arg. |
14247 | Combine prefix with KEYS to make up the full key sequence to describe. | |
14248 | Correlate meta_prefix_char and following (simple) key to describe | |
14249 | as meta modifier. All callers changed. | |
14250 | (describe_map): Rename arg `keys' to `prefix'. Remove local | |
14251 | `elt_prefix' var. Use Fkey_description with prefix instead of | |
14252 | elt_prefix combined with Fsingle_key_description. | |
14253 | (describe_vector): Declare static. Replace arg `elt_prefix' with | |
14254 | `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it | |
52eb0373 | 14255 | if !KEYMAP_P. Use Fkey_description with prefix instead of |
60962ec4 KS |
14256 | Fsingle_key_description. |
14257 | ||
14258 | * keymap.h (Fkey_description): Fix prototype. | |
14259 | (describe_vector): Remove prototype. | |
14260 | ||
409368b9 KS |
14261 | * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. |
14262 | ||
20dc8583 KS |
14263 | * image.c (PNG_BG_COLOR_SHIFT): Remove. |
14264 | (png_load): Fix calculation of transparent background color on X | |
14265 | and W32 platforms. | |
14266 | ||
75c5501b JB |
14267 | 2004-04-16 Juanma Barranquero <lektu@terra.es> |
14268 | ||
14269 | * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is | |
14270 | not too large before computing how much to scroll. | |
14271 | ||
da879ae8 SM |
14272 | 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
14273 | ||
14274 | * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. | |
14275 | ||
d01ca4a8 LT |
14276 | 2004-04-14 Luc Teirlinck <teirllm@auburn.edu> |
14277 | ||
14278 | * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): | |
14279 | Add hyperlink to Elisp manual to the docstring. | |
14280 | ||
572943b3 SM |
14281 | 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
14282 | ||
14283 | * callint.c (fix_command): Use XDCR. | |
14284 | ||
5e30a0fb NR |
14285 | 2004-04-14 Nick Roberts <nick@nick.uklinux.net> |
14286 | ||
14287 | * window.c (Fget_lru_window): Doc fix. | |
14288 | ||
a27ddfaf KS |
14289 | 2004-04-14 Kim F. Storm <storm@cua.dk> |
14290 | ||
14291 | * editfns.c (Fformat): Fix allocation size of precision array. | |
14292 | ||
14293 | * dispnew.c (update_window): Only set changed_p if | |
14294 | scrolling_window actually did scroll. | |
14295 | (scrolling_window): Only return 1 if we actually did scroll. | |
14296 | ||
14297 | * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor | |
14298 | height to glyph height when cursor row is not fully visible. | |
14299 | (make_cursor_line_fully_visible): Add FORCE_P arg to return | |
14300 | failure in case row is higher than window. Callers changed. | |
14301 | (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). | |
14302 | Try to scroll partially visible, higher-than-window cursor row. | |
14303 | (redisplay_window): Always try to scroll partially visible, | |
14304 | higher-than-window cursor row - both initially and again with | |
14305 | centering_position = 0. | |
14306 | Clear desired matrix before retrying with centering_position = 0. | |
14307 | ||
da879ae8 SM |
14308 | 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
14309 | ||
14310 | * syntax.c (scan_lists): Simplify backward string scan. | |
14311 | Fix off-by-one boundary check for string and comment fences. | |
14312 | ||
5fc16e8e SM |
14313 | 2004-04-13 Joe Buehler <jbuehler@hekimian.com> |
14314 | ||
14315 | * sheap.c, unexcw.c: New files. | |
14316 | ||
c9aac8e6 LT |
14317 | 2004-04-12 Luc Teirlinck <teirllm@auburn.edu> |
14318 | ||
14319 | * buffer.c (Fmake_indirect_buffer): Throw an error if the intended | |
14320 | base buffer has been killed. Correct the error message if the | |
14321 | base buffer does not exist. | |
14322 | ||
1e88a355 SM |
14323 | 2004-04-12 Joe Buehler <jbuehler@hekimian.com> |
14324 | ||
14325 | * s/cygwin.h: Changes for Cygwin unexec() support, changes in | |
14326 | Cygwin itself. Add support for Xaw3d scrollbars. | |
14327 | ||
14328 | * puresize.h: Set up PURE_P() for Cygwin unexec() support. | |
14329 | ||
14330 | * lastfile.c: Define my_endbss[] for Cygwin unexec() support. | |
14331 | ||
14332 | * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), | |
14333 | before Cygwin unexec. | |
14334 | ||
14335 | * Makefile.in: Link changes for Cygwin unexec() support. | |
14336 | ||
8dbff9a0 AS |
14337 | 2004-04-12 Andreas Schwab <schwab@suse.de> |
14338 | ||
14339 | * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. | |
14340 | ||
54dffe35 LT |
14341 | 2004-04-11 Luc Teirlinck <teirllm@auburn.edu> |
14342 | ||
14343 | * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if | |
14344 | IGNORE argument equals NAME. Doc fix. | |
14345 | ||
99a72bdf MY |
14346 | 2004-04-11 Masatake YAMATO <jet@gyve.org> |
14347 | ||
1e88a355 | 14348 | * buffer.c (fix_start_end_in_overlays): Make overlays |
99a72bdf MY |
14349 | empty if they are backwards. |
14350 | ||
40899d7b SM |
14351 | 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
14352 | ||
14353 | * xfaces.c (face_color_supported_p): Fix compilation without X11. | |
14354 | ||
f8f853de SM |
14355 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
14356 | ||
14357 | * doc.c (Fsnarf_documentation): Ignore new file name entries. | |
14358 | ||
c953fe1b KS |
14359 | 2004-04-06 Kim F. Storm <storm@cua.dk> |
14360 | ||
5e1a6e32 | 14361 | * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. |
661e85c1 KS |
14362 | (dos_rawgetc): Set mouse_face_hidden after clearing highlight. |
14363 | ||
14364 | * w32term.c (w32_read_socket): Set mouse_face_hidden after | |
14365 | clearing highlight. | |
14366 | ||
14367 | * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. | |
14368 | ||
14369 | * xterm.c (handle_one_xevent): Set mouse_face_hidden after | |
14370 | clearing highlight. | |
14371 | ||
c953fe1b KS |
14372 | * indent.c (vmotion): Do not reserve one column for continuation |
14373 | marks on window frames. | |
14374 | ||
c1994268 EZ |
14375 | 2004-04-04 Eli Zaretskii <eliz@gnu.org> |
14376 | ||
14377 | * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings | |
14378 | from GCC. | |
14379 | ||
9f691b0d SM |
14380 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> |
14381 | ||
14382 | * .gdbinit-union: Remove. | |
14383 | ||
14384 | * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. | |
14385 | (xgetptr, xgetint, xgettype): New funs. Use them everywhere. | |
14386 | ($nonvalbits): Remove. | |
14387 | ($valmask): Set it by calling xreload to avoid redundancy. | |
14388 | ||
14389 | * emacs.c (gdb_use_union, gdb_use_lsb): New vars. | |
14390 | (gdb_emacs_intbits): Remove. | |
14391 | ||
7a8560d7 JD |
14392 | 2004-03-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14393 | ||
9f691b0d | 14394 | * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. |
7a8560d7 | 14395 | |
3c8111fc KH |
14396 | 2004-03-30 Kenichi Handa <handa@m17n.org> |
14397 | ||
14398 | * editfns.c (Fformat): Fix initialization of the array info. | |
14399 | ||
48a0bce4 KS |
14400 | 2004-03-30 Kim F. Storm <storm@cua.dk> |
14401 | ||
14402 | * xterm.c (x_mouse_click_focus_ignore_position): New var. | |
14403 | (syms_of_xterm): DEFVAR_BOOL it. | |
14404 | (ignore_next_mouse_click_timeout): New var. | |
14405 | (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. | |
14406 | Use it to filter mouse clicks following focus event. | |
14407 | ||
1cd0066c KS |
14408 | 2004-03-29 David Ponce <david@dponce.com> |
14409 | ||
14410 | * callint.c (Fcall_interactively): Fix last change. | |
14411 | ||
adb3b353 SM |
14412 | 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
14413 | ||
14414 | * eval.c (Fcommandp): Simplify. | |
14415 | ||
14416 | * data.c (Finteractive_form): Rename from Fsubr_interactive_form. | |
14417 | Extend to handle all kinds of functions. | |
14418 | ||
14419 | * lisp.h (Finteractive_form): Declare. | |
14420 | ||
14421 | * callint.c (Fcall_interactively): Use it. | |
14422 | ||
6fc4c9c9 KS |
14423 | 2004-03-26 Kim F. Storm <storm@cua.dk> |
14424 | ||
14425 | * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error | |
14426 | to catch errors in calc_pixel_width_or_height during redisplay. | |
14427 | ||
abdb9b83 MY |
14428 | 2004-03-26 Masatake YAMATO <jet@gyve.org> |
14429 | ||
b17856dd | 14430 | * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. |
abdb9b83 | 14431 | |
b17856dd | 14432 | * lisp.h (fix_start_end_in_overlays): Likewise. |
abdb9b83 | 14433 | |
b17856dd | 14434 | * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. |
abdb9b83 | 14435 | |
b17856dd | 14436 | * editfns.c (Ftranspose_regions): Likewise. |
abdb9b83 | 14437 | |
e8a84b6c JD |
14438 | 2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14439 | ||
b17856dd | 14440 | * xterm.c (handle_one_xevent): Do not pass key press events to GTK. |
e8a84b6c | 14441 | |
36a3fd05 RS |
14442 | 2004-03-19 Richard M. Stallman <rms@gnu.org> |
14443 | ||
14444 | * s/sol2-6.h: Delete previous change. | |
14445 | ||
ab24c127 KS |
14446 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
14447 | ||
14448 | * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when | |
14449 | to_charpos corresponds to newline in right fringe. Use local | |
14450 | BUFFER_POS_REACHED_P macro. | |
14451 | ||
992126de JD |
14452 | 2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14453 | ||
14454 | * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM | |
14455 | to compile on non-window system. | |
14456 | ||
45dbfc84 KS |
14457 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
14458 | ||
14459 | * dispextern.h (calc_pixel_width_or_height): Add prototype. | |
14460 | ||
14461 | * image.c (Qcenter): Move to xdisp.c. | |
14462 | ||
14463 | * xdisp.c (Qcenter): Declare here. | |
adb3b353 | 14464 | (syms_of_xdisp): Intern and staticpro it. |
45dbfc84 KS |
14465 | (handle_single_display_prop): Allow space display property on all |
14466 | platforms. | |
14467 | (display_mode_line): Set mode_line_p before displaying line. | |
14468 | (calc_pixel_width_or_height): Declare extern. Add separate :align-to | |
14469 | handling. Remove complex cases for fringes and scroll-bars. | |
52eb0373 | 14470 | Add left, right, and center alignment positions. Add text (area) |
45dbfc84 KS |
14471 | width/height. Return width or height for image specs. |
14472 | (produce_stretch_glyph): Improve handling of :align-to. Is now | |
14473 | relative to left of text area by default, but other base offsets | |
14474 | can be specified -- also for text lines. | |
14475 | ||
14476 | * term.c (produce_glyphs): Handle IT_STRETCH. | |
14477 | (produce_stretch_glyph): New function to handle space width and | |
14478 | align-to display properties on non-window systems. | |
14479 | ||
37264101 SM |
14480 | 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
14481 | ||
14482 | * fileio.c (Fread_file_name): Set completion-ignore-case for | |
14483 | case-insensitive systems. | |
14484 | ||
73bc43da MY |
14485 | 2004-03-14 Masatake YAMATO <jet@gyve.org> |
14486 | ||
14487 | * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE | |
14488 | when keymap and cursor are setup. | |
14489 | ||
d5fb8dab | 14490 | 2004-03-14 Steven Tamm <steventamm@mac.com> |
9062aa89 | 14491 | |
b17856dd | 14492 | * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. |
9062aa89 | 14493 | |
e4b1b5ab KS |
14494 | 2004-03-14 Kim F. Storm <storm@cua.dk> |
14495 | ||
14496 | * dispextern.h (x_find_image_file): Add prototype. | |
14497 | ||
14498 | * image.c (x_find_image_file): Make extern. | |
14499 | ||
14500 | * xfns.c (x_find_image_file): Remove prototype. | |
14501 | ||
a6eeaa81 | 14502 | 2004-03-13 Eli Zaretskii <eliz@gnu.org> |
5109b06a | 14503 | |
37264101 | 14504 | * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. |
5109b06a | 14505 | |
37264101 | 14506 | * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. |
5109b06a | 14507 | |
e69cfac2 RS |
14508 | 2004-03-12 Richard M. Stallman <rms@gnu.org> |
14509 | ||
14510 | * fns.c (internal_equal): New arg PROPS controls comparing | |
14511 | text properties. All callers changed. | |
14512 | (Fequal_including_properties): New function. | |
14513 | (syms_of_fns): defsubr it. | |
14514 | ||
45034953 KS |
14515 | 2004-03-12 Kim F. Storm <storm@cua.dk> |
14516 | ||
14517 | Fix image support on MAC. From YAMAMOTO Mitsuharu. | |
37264101 | 14518 | |
45034953 KS |
14519 | * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. |
14520 | (image_background, image_background_transparent): Fix prototypes. | |
14521 | ||
37264101 | 14522 | * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. |
45034953 KS |
14523 | |
14524 | * macfns.c (x_list_fonts, x_get_font_info, x_load_font) | |
14525 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
14526 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
14527 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
14528 | (mac_draw_line_to_pixmap): Move prototypes to macterm.h. | |
14529 | ||
14530 | * macterm.h (x_list_fonts, x_get_font_info, x_load_font) | |
14531 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
14532 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
14533 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
14534 | (mac_draw_line_to_pixmap): Add prototypes. | |
14535 | ||
14536 | 2004-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
14537 | ||
14538 | * macterm.c (XTread_socket): Fix mouse click on tool bar. | |
14539 | ||
a12d3d87 KS |
14540 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
14541 | ||
d3ab1cf1 KS |
14542 | * dispextern.h: Move image related prototypes from xfns.c section |
14543 | to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than | |
14544 | HAVE_X_WINDOWS. | |
37264101 | 14545 | |
37de9f51 | 14546 | * Makefile.in (XOBJ): Consolidate into one list. Add image.o. |
37264101 | 14547 | Move gtkutil.o to new GTK_OBJ list. |
a12d3d87 KS |
14548 | (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. |
14549 | (GTK_OBJ) [USE_GTK]: New declaration. | |
14550 | (obj): Add $(GTK_OBJ) to list. | |
14551 | ||
d5fb8dab | 14552 | 2004-03-11 Steven Tamm <steventamm@mac.com> |
5109b06a | 14553 | |
7e26f91b | 14554 | * image.c [MAC_OSX]: Include sys/stat.h. |
5243c06a ST |
14555 | |
14556 | * macfns.c (syms_of_macfns): Remove definitions of things now | |
7e26f91b | 14557 | defined in image.c. |
5243c06a | 14558 | |
c0f97789 KS |
14559 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
14560 | ||
14561 | The following changes consolidates the identical/similar image | |
14562 | support code previously found in xfns.c, w32fns.c, and macfns.c | |
14563 | into a new file image.c. | |
14564 | ||
14565 | * makefile.w32-in (OBJ1): Add image.o. | |
14566 | ($(BLD)/image.$(O)): Add dependencies. | |
14567 | ||
14568 | * Makefile.in (XOBJ, MAC_OBJ): Add image.o. | |
14569 | (image.o): Add dependencies. | |
37264101 | 14570 | |
c0f97789 KS |
14571 | * image.c: New file with consolidated image support code. |
14572 | (COLOR_TABLE_SUPPORT): New define to control whether | |
14573 | color table support is available (X only). | |
14574 | (Bitmap_Record): Common name for x_bitmap_record, | |
14575 | w32_bitmap_record, and mac_bitmap_record. | |
14576 | (XImagePtr): Common name for pointer to XImage or equivalent. | |
14577 | (XImagePtr_or_DC): New type to simplify code sharing; equivalent | |
14578 | to XImagePtr on X+MAC, and to HDC on W32. | |
14579 | (GET_PIXEL): Wrapper for XGetPixel or equivalent. | |
14580 | (NO_PIXMAP): Common name for "None" or equivalent. | |
14581 | (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. | |
14582 | (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. | |
14583 | (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). | |
37264101 SM |
14584 | (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): |
14585 | Define with suitable equivalents on W32 and MAC for code sharing. | |
c0f97789 KS |
14586 | (XDrawLine): Define on MAC for code sharing. |
14587 | (Destroy_Image, Free_Pixmap): Wrappers for code sharing. | |
14588 | (IF_LIB_AVAILABLE): Macro to simplify code sharing. | |
14589 | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
14590 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14591 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14592 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14593 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
14594 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
14595 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
14596 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
14597 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
14598 | (define_image_type, lookup_image_type, valid_image_p) | |
14599 | (image_error, enum image_value_type, struct image_keyword) | |
14600 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
14601 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
14602 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 14603 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
14604 | (make_image_cache, free_image_cache, clear_image_cache) |
14605 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
14606 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
14607 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
14608 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
14609 | (init_image_func_pointer, image_load_quartz2d) | |
14610 | (struct ct_color, init_color_table, free_color_table) | |
14611 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
14612 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
14613 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
14614 | (x_disable_image, x_build_heuristic_mask) | |
14615 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
14616 | (TIFF support, GIF support, Ghostscript support): Consolidate image | |
14617 | code from xfns.c, w32fns.c, and macfns.c. | |
14618 | (syms_of_image): Consolidate image related symbol setup here. | |
14619 | (init_image): Consolidate image related initializations here. | |
37264101 | 14620 | |
c0f97789 KS |
14621 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image |
14622 | and init_image. Remove call to init_xfns. | |
14623 | ||
37264101 SM |
14624 | * macterm.h (struct mac_bitmap_record): Add file member. |
14625 | Not currently used, but simplifies code sharing. | |
c0f97789 KS |
14626 | |
14627 | * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
14628 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14629 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14630 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14631 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
14632 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
14633 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
14634 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
14635 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
14636 | (define_image_type, lookup_image_type, valid_image_p) | |
14637 | (image_error, enum image_value_type, struct image_keyword) | |
14638 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
14639 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
14640 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 14641 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
14642 | (make_image_cache, free_image_cache, clear_image_cache) |
14643 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
14644 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
14645 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
14646 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
14647 | (init_image_func_pointer, image_load_quartz2d) | |
14648 | (struct ct_color, init_color_table, free_color_table) | |
14649 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
14650 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
14651 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
14652 | (x_disable_image, x_build_heuristic_mask) | |
14653 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
14654 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
14655 | code from xfns.c and macfns.c into image.c. | |
14656 | (syms_of_xfns): Move image related symbols to image.c. | |
14657 | (init_external_image_libraries, init_xfns): Remove; initialization | |
14658 | moved to init_image in image.c. | |
14659 | ||
14660 | * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
14661 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14662 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14663 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14664 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
14665 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
14666 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
14667 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
14668 | (define_image_type, lookup_image_type, valid_image_p) | |
14669 | (image_error, enum image_value_type, struct image_keyword) | |
14670 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
14671 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
14672 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 14673 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
14674 | (make_image_cache, free_image_cache, clear_image_cache) |
14675 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
14676 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
14677 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
14678 | (struct ct_color, init_color_table, free_color_table) | |
14679 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
14680 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
14681 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
14682 | (x_disable_image, x_build_heuristic_mask) | |
14683 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
14684 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
14685 | code from xfns.c and macfns.c into image.c. | |
14686 | (syms_of_xfns): Move image related symbols to image.c. | |
14687 | (init_external_image_libraries, init_xfns): Remove; initialization | |
14688 | moved to init_image in image.c. | |
14689 | ||
14690 | * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
14691 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14692 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14693 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14694 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
14695 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
14696 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
14697 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
14698 | (define_image_type, lookup_image_type, valid_image_p) | |
14699 | (image_error, enum image_value_type, struct image_keyword) | |
14700 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
14701 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
14702 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 14703 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
14704 | (make_image_cache, free_image_cache, clear_image_cache) |
14705 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
14706 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
14707 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
14708 | (struct ct_color, init_color_table, free_color_table) | |
14709 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
14710 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
14711 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
14712 | (x_disable_image, x_build_heuristic_mask) | |
14713 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
14714 | (TIFF support, GIF support, Ghostscript support): Merge with | |
14715 | w32fns.c and macfns.c image code into image.c. | |
14716 | (syms_of_xfns): Move image related symbols to image.c. | |
14717 | (init_xfns): Remove; initialization moved to init_image in image.c. | |
14718 | ||
14719 | * lisp.h (syms_of_image, init_image): Add protoypes. | |
14720 | (init_xfns): Remove prototype. | |
14721 | ||
14722 | * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14723 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14724 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14725 | (x_create_bitmap_mask): Move prototypes from dispextern.h. | |
14726 | (gamma_correct) [MAC_OS]: Add prototype. | |
14727 | ||
14728 | * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
14729 | (x_reference_bitmap, x_create_bitmap_from_data) | |
14730 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
14731 | (x_create_bitmap_mask): Move prototypes to dispextern.h. | |
14732 | ||
6eced09c KH |
14733 | 2004-03-09 Kenichi Handa <handa@etlken2> |
14734 | ||
14735 | * coding.c (decode_coding_emacs_mule): Handle insufficent source | |
14736 | correctly. | |
14737 | ||
9a7e95f3 RS |
14738 | 2004-03-04 Richard M. Stallman <rms@gnu.org> |
14739 | ||
04a6e76b RS |
14740 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. |
14741 | ||
9a7e95f3 RS |
14742 | * window.c (Fdisplay_buffer): Doc fix. |
14743 | ||
14744 | * buffer.c (Fpop_to_buffer): Doc fix. | |
14745 | ||
6c2488df KS |
14746 | 2004-03-03 Kim F. Storm <storm@cua.dk> |
14747 | ||
14748 | * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. | |
14749 | ||
d8d95bc7 SM |
14750 | 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca> |
14751 | ||
14752 | * editfns.c (Ftranslate_region): Lisp_Object/int mixup. | |
14753 | ||
357589bf RS |
14754 | 2004-03-02 Richard M. Stallman <rms@gnu.org> |
14755 | ||
14756 | * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. | |
14757 | ||
409949b5 KH |
14758 | 2004-03-02 Kenichi Handa <handa@m17n.org> |
14759 | ||
14760 | * doc.c (Fsubstitute_command_keys): Fix counding bytes. | |
14761 | ||
d24bc50f KS |
14762 | 2004-03-02 Kim F. Storm <storm@cua.dk> |
14763 | ||
14764 | * window.h (struct window): New member overlay_arrow_bitmap. | |
14765 | ||
14766 | * window.c (make_window): Initialize overlay_arrow_bitmap. | |
14767 | ||
14768 | * xdisp.c (Voverlay_arrow_variable_list): New variable to properly | |
14769 | implement and integrate multiple overlay arrows with redisplay. | |
14770 | (syms_of_xdisp): DEFVAR_LISP and initialize it. | |
14771 | (last_arrow_position, last_arrow_string): Replace by properties. | |
14772 | (Qlast_arrow_position, Qlast_arrow_string) | |
14773 | (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. | |
14774 | (syms_of_xdisp): Intern and staticpro them. | |
14775 | (overlay_arrow_string_or_property, update_overlay_arrows) | |
14776 | (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) | |
14777 | (overlay_arrow_at_row): New functions for multiple overlay arrows. | |
14778 | (redisplay_internal): Use them instead of directly accessing | |
14779 | Voverlay_arrow_position etc. for multiple overlay arrows. | |
14780 | (mark_window_display_accurate): Use update_overlay_arrows. | |
14781 | (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. | |
14782 | (try_window_id): Use overlay_arrows_changed_p. | |
14783 | (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. | |
14784 | (display_line): Use overlay_arrow_at_row to check multiple | |
14785 | overlay arrows, and get relevant overlay-arrow-string and | |
d8d95bc7 | 14786 | overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. |
d24bc50f KS |
14787 | (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. |
14788 | (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. | |
14789 | ||
14790 | * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. | |
14791 | (update_window_fringes): Remove unused code. | |
14792 | ||
c1464661 JR |
14793 | 2004-03-01 Jason Rumney <jasonr@gnu.org> |
14794 | ||
14795 | * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. | |
14796 | ||
a64387ee JB |
14797 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
14798 | ||
14799 | * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. | |
14800 | ||
14801 | * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. | |
14802 | ||
334faa08 JD |
14803 | 2004-03-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14804 | ||
14805 | * xfns.c (Fx_display_color_cells): Use number of planes to calculate | |
14806 | how many colors can be displayed. | |
14807 | ||
bb62616f KH |
14808 | 2004-03-01 Kenichi Handa <handa@m17n.org> |
14809 | ||
14810 | * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE | |
14811 | correctly. | |
14812 | ||
0fd16104 KS |
14813 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
14814 | ||
14815 | * dispnew.c (update_window): Update header line also if there are | |
14816 | no other changes in window (move code after set_cursor label). | |
14817 | ||
14818 | * lisp.h (mark_window_display_accurate): Remove prototype. | |
14819 | ||
14820 | * window.c (window_loop, Fforce_window_update): Force mode line | |
14821 | updates by setting prevent_redisplay_optimizations_p and | |
14822 | update_mode_lines. | |
14823 | ||
b59dd9c8 JD |
14824 | 2004-02-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14825 | ||
d8d95bc7 | 14826 | * xfns.c (x_window): Fix indentation. |
b59dd9c8 JD |
14827 | |
14828 | * xterm.c (x_calc_absolute_position): Call x_real_positions | |
14829 | to get WM window sizes and use those to calculate position. | |
d8d95bc7 | 14830 | (x_set_offset): Remove code commented out. |
b59dd9c8 | 14831 | |
a874691c MB |
14832 | 2004-02-28 Miles Bader <miles@gnu.org> |
14833 | ||
14834 | * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. | |
14835 | ||
3e0c6482 KS |
14836 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
14837 | ||
14838 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | |
14839 | an event into kbd fifo, but with special handling of quit event; | |
14840 | a quit event is saved for later, and further events are discarded | |
14841 | until the saved quit event has been processed. | |
14842 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | |
14843 | (gen_help_event): Store help event in kbd fifo. | |
14844 | (NREAD_INPUT_EVENTS): Remove. | |
14845 | (read_avail_input): Adapt to new read_socket_hook interface. | |
14846 | Remove allocation and initialization of local input_event buffer, | |
14847 | as read_socket_hook stores events directly in fifo. Allocate and | |
14848 | initialize local hold_quit event to handle postponed quit event | |
14849 | (and store it if set by kbd_buffer_store_event_hold). | |
14850 | ||
14851 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | |
14852 | (gen_help_event): Fix prototype. | |
14853 | ||
a64387ee | 14854 | * macterm.c (XTread_socket): Remove bufp_r and |
3e0c6482 | 14855 | numcharsp args. Add hold_quit arg. |
f63fd14e | 14856 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
14857 | directly in fifo using kbd_buffer_store_event_hold. |
14858 | ||
14859 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | |
14860 | (read_input_waiting): Adapt to new read_socket_hook interface. | |
14861 | Remove allocation and initialization of local input_event buffer, | |
14862 | as read_socket_hook stores events directly in fifo. Allocate and | |
14863 | initialize local hold_quit event to handle postponed quit event | |
14864 | (and store it if set by kbd_buffer_store_event_hold). | |
14865 | ||
a64387ee | 14866 | * term.c (read_socket_hook): Fix arg list. |
3e0c6482 KS |
14867 | |
14868 | * termhooks.h (read_socket_hook): Fix prototype. | |
14869 | ||
14870 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | |
14871 | numcharsp args. Add hold_quit arg. | |
f63fd14e | 14872 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
14873 | directly in fifo using kbd_buffer_store_event_hold. |
14874 | ||
14875 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | |
14876 | ||
14877 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
14878 | Add hold_quit arg. Rework to use just one, local, inev |
14879 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
14880 | kbd_buffer_store_event_hold. Update count in one place. |
14881 | Postpone call to gen_help_event until inev is stored; use new | |
14882 | local do_help for this. | |
14883 | Remove local emacs_event in handing of ButtonPress event; just use | |
14884 | inev instead (so no reason to copy it later). | |
14885 | ||
14886 | * xsmfns.c (x_session_check_input): Remove numchars arg. | |
14887 | ||
d8d95bc7 SM |
14888 | * xterm.c (x_focus_changed, x_detect_focus_change): |
14889 | Remove numchars arg. Always store event into bufp arg. | |
14890 | Return nothing. Callers changed accordingly. | |
3e0c6482 KS |
14891 | (glyph_rect): Simplify. |
14892 | (STORE_KEYSYM_FOR_DEBUG): New macro. | |
14893 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | |
14894 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | |
14895 | (current_hold_quit) [USE_GTK]: Add. | |
14896 | (event_handler_gdk): Adapt to new handle_one_xevent. | |
14897 | (handle_one_xevent): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
14898 | Add hold_quit arg. Rework to use just one, local, inev |
14899 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
14900 | kbd_buffer_store_event_hold. Update count in one place. |
14901 | Postpone call to gen_help_event until inev is stored; use new | |
14902 | local do_help for this. | |
14903 | Simplify handling of keysyms (consolidate common code). Fix bug | |
14904 | where count was updated with nchars instead of nbytes. | |
14905 | Remove local emacs_event in handing of ButtonPress event; just use | |
14906 | inev instead (so no reason to copy it later). | |
14907 | Remove `out' label. Rename label `ret' to `done'; add various | |
14908 | `goto done' to clarify code flow in deeply nested blocks. | |
14909 | (x_dispatch_event): Simplify as handle_one_xevent now calls | |
14910 | kbd_buffer_store_event itself. | |
f63fd14e | 14911 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit |
3e0c6482 KS |
14912 | arg. Call handle_one_xevent with new arglist. Store event from |
14913 | x_session_check_input in fifo. | |
14914 | [USE_GTK]: Setup current_hold_quit. | |
14915 | Decrement handling_signal before unblocking input. | |
14916 | (x_initialize) [USE_GTK]: Initialize current_count. | |
14917 | ||
14918 | * xterm.h (x_session_check_input): Fix prototype. | |
14919 | ||
e3564461 | 14920 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
a64387ee | 14921 | |
d8d95bc7 | 14922 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. |
a64387ee | 14923 | |
e3564461 ST |
14924 | * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in |
14925 | macgui.h). | |
a64387ee | 14926 | |
e3564461 | 14927 | * emacs.c (main) [HAVE_CARBON]: Call init_xfns. |
a64387ee | 14928 | |
e3564461 ST |
14929 | * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. |
14930 | (mktime, DEBUG, Z, free, malloc, realloc, max, min) | |
14931 | (init_process) [MAC_OSX] : Avoid conflicts with Carbon/Carbon.h. | |
14932 | [!MAC_OSX]: Include QDOffscreen.h and Controls.h. | |
14933 | (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. | |
14934 | (Bitmap): Remove typedef. | |
14935 | (Pixmap): Change int to GWorldPtr. | |
14936 | ||
d8d95bc7 | 14937 | * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
a64387ee | 14938 | |
d8d95bc7 SM |
14939 | * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
14940 | (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): | |
14941 | New #define to extract 16-bit depth color components from unsigned | |
e3564461 ST |
14942 | long representation. |
14943 | (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel | |
14944 | colors used for masks. | |
14945 | (struct mac_display_info): Add color_p. Remove n_cbits. | |
a64387ee | 14946 | |
e3564461 ST |
14947 | * macfns.c: Include sys/types.h and sys/stat.h. |
14948 | [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). | |
14949 | Include QuickTime/QuickTime.h. | |
14950 | (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
14951 | (XSetForeground, mac_draw_line_to_pixmap): Add externs for | |
14952 | functions defined in macterm.c. | |
14953 | (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. | |
14954 | (ZPixmap): New #define for compatibility with xfns.c. | |
14955 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
14956 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
d8d95bc7 SM |
14957 | (find_image_fsspec, image_load_qt_1, image_load_quicktime): |
14958 | New functions. | |
e3564461 | 14959 | (four_corners_best, x_create_x_image_and_pixmap) |
d8d95bc7 SM |
14960 | (x_destroy_x_image, unwind_create_frame, x_disable_image) |
14961 | (x_edge_detection, init_color_table, colors_in_color_table) | |
e3564461 ST |
14962 | (lookup_rgb_color, lookup_pixel_color, postprocess_image) |
14963 | (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) | |
14964 | (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) | |
14965 | (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). | |
14966 | (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned | |
14967 | long mixup. | |
14968 | (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. | |
14969 | (x_decode_color): Don't use n_cbits (in struct mac_display_info). | |
14970 | (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. | |
14971 | (x_set_cursor_type, Fxw_color_values, valid_image_p) | |
14972 | (image_value_type, parse_image_spec, image_ascent, x_clear_image) | |
14973 | (x_alloc_image_color, clear_image_cache, lookup_image) | |
14974 | (x_find_image_file, xbm_read_bitmap_file_data) | |
14975 | (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) | |
14976 | (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) | |
14977 | (enum pbm_keyword_index, pbm_format, enum png_keyword_index) | |
14978 | (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) | |
14979 | (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) | |
d8d95bc7 | 14980 | (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. |
e3564461 ST |
14981 | (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with |
14982 | #if 0. | |
14983 | (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with | |
14984 | #if 0. Free white_relief.gc and black_relief.gc. | |
d8d95bc7 SM |
14985 | (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): |
14986 | New functions (from xfns.c). | |
e3564461 ST |
14987 | (Fx_create_frame): Record unwind_create_frame. |
14988 | (Fxw_display_color_p): Use dpyinfo->color_p. | |
14989 | (Fx_display_grayscale_p, Fx_display_planes): Don't use | |
14990 | dpyinfo->n_cbits. | |
14991 | (Fx_display_color_cells): Use dpyinfo->n_planes; | |
14992 | (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) | |
14993 | (Qheuristic, cross_disabled_images, emboss_matrix) | |
14994 | (laplace_matrix): New variables (from xfns.c). | |
14995 | (Fimage_size, Fimage_mask_p, four_corners_best, image_background) | |
14996 | (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) | |
14997 | (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) | |
d8d95bc7 SM |
14998 | (image_background_transparent): New function (from xfns.c). |
14999 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
15000 | (image_load_quicktime): Add declaration. |
15001 | [MAC_OSX] (image_load_quartz2d): Likewise. | |
15002 | [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. | |
15003 | [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. | |
d8d95bc7 | 15004 | [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. |
e3564461 ST |
15005 | (xbm_load_image_from_file, x_laplace_read_row) |
15006 | (x_laplace_write_row, pbm_read_file): Remove functions. | |
15007 | [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) | |
15008 | (xpm_load): Sync with xfns.c (although XPM is not supported yet). | |
15009 | (colors_in_color_table): Sync with xfns.c (although not used). | |
15010 | (lookup_rgb_color): Don't lookup color table. Just do gamma | |
15011 | correction. | |
15012 | (COLOR_INTENSITY): New #define (from xfns.c). | |
d8d95bc7 SM |
15013 | (x_disable_image): New function (from xfns.c). |
15014 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
15015 | (x_build_heuristic_mask): Sync with xfns.c. | |
15016 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
15017 | (HAVE_PBM): Remove #ifdef. |
15018 | (pbm_load): Sync with xfns.c. Set img->width and img->height | |
15019 | before IMAGE_BACKGROUND. | |
d8d95bc7 | 15020 | (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. |
e3564461 ST |
15021 | (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): |
15022 | Don't enclose with #if HAVE_PNG. | |
15023 | [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a | |
d8d95bc7 SM |
15024 | symbol _CGImageCreateWithPNGDataProvider is defined. |
15025 | Otherwise use image_load_quicktime. | |
e3564461 | 15026 | [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. |
d8d95bc7 SM |
15027 | [HAVE_PNG] (png_load): Sync with xfns.c. |
15028 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
15029 | (jpeg_image_p, jpeg_load): Don't enclose declarations with #if |
15030 | HAVE_JPEG. | |
15031 | (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) | |
15032 | (jpeg_image_p): Don't enclose with #if HAVE_JPEG. | |
15033 | [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. | |
15034 | [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. | |
15035 | [HAVE_JPEG] (jpeg_load): Sync with xfns.c. | |
15036 | (tiff_image_p, tiff_load): Don't enclose declarations with #if | |
15037 | HAVE_TIFF. | |
15038 | (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) | |
15039 | (tiff_image_p): Don't enclose with #if HAVE_TIFF. | |
15040 | [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. | |
d8d95bc7 SM |
15041 | [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): |
15042 | New functions (from xfns.c). | |
e3564461 | 15043 | [HAVE_TIFF] (tiff_load): Sync with xfns.c. |
d8d95bc7 | 15044 | (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. |
e3564461 ST |
15045 | (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): |
15046 | Don't enclose with #if HAVE_GIF. | |
15047 | [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is | |
15048 | animated gif. Otherwise use image_load_quicktime. | |
15049 | [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as | |
15050 | gif_DrawText to avoid conflict with QuickdrawText.h. | |
15051 | [HAVE_GIF] (gif_load): Sync with xfns.c. | |
15052 | (enum gs_keyword_index, gs_format, gs_image_p, gs_load) | |
15053 | [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although | |
15054 | Ghostscript is not supported yet). | |
15055 | (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, | |
15056 | QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL | |
15057 | cross_disabled_images (from xfns.c). Remove #if 0 for supported | |
15058 | image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
15059 | HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. | |
15060 | (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
d8d95bc7 SM |
15061 | HAVE_PNG. Call EnterMovies to support animated gifs. |
15062 | Call init_image_func_pointer to bind a symbol | |
e3564461 | 15063 | _CGImageCreateWithPNGDataProvider if it is defined. |
a64387ee | 15064 | |
d8d95bc7 | 15065 | * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
e3564461 ST |
15066 | (x_draw_bar_cursor): Sync declaration with xterm.c. |
15067 | (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) | |
15068 | (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen | |
15069 | graphics). | |
15070 | (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. | |
15071 | (mac_draw_line_to_pixmap, XCreatePixmap) | |
15072 | (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) | |
d8d95bc7 SM |
15073 | (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): |
15074 | New functions. | |
15075 | (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: | |
15076 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
15077 | Cast bits to char *. | |
e3564461 ST |
15078 | (reflect_byte): New function (from w32fns.c). |
15079 | (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits | |
15080 | due to byte alignment. | |
d8d95bc7 SM |
15081 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: |
15082 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
e3564461 ST |
15083 | (XSetForeground): Remove static (now used in macfns.c). |
15084 | (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). | |
15085 | (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. | |
15086 | (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) | |
15087 | (x_draw_glyph_string_box, x_draw_image_foreground) | |
15088 | (x_draw_image_foreground_1, x_draw_image_glyph_string) | |
15089 | (x_draw_stretch_glyph_string, x_draw_glyph_string) | |
15090 | (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): | |
15091 | Sync with xterm.c. | |
15092 | (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter | |
15093 | than the xterm.c version when a strictly horizontal or vertical | |
15094 | line is drawn. | |
15095 | (XTset_terminal_window): Add static. | |
15096 | (x_make_frame_visible): Add UNBLOCK_INPUT. | |
15097 | (x_free_frame_resources): New funcion (from xterm.c). | |
15098 | (XTread_socket): Call handle_tool_bar_click if mouse up/down event | |
15099 | occurs in tool bar area. | |
d8d95bc7 SM |
15100 | (mac_initialize_display_info): Remove dpyinfo->n_cbits. |
15101 | Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. | |
e3564461 ST |
15102 | Initialize image cache. |
15103 | (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): | |
15104 | Enclose unused functions with #if 0. | |
15105 | (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. | |
15106 | (decode_mac_font_name): New function to apply code conversions | |
d8d95bc7 | 15107 | from a mac font name to an XLFD font name according to its script code. |
e3564461 | 15108 | (x_font_name_to_mac_font_name): Apply code conversion from an XLFD |
d8d95bc7 | 15109 | font name to a mac font name according to REGISTRY and ENCODING fields. |
e3564461 ST |
15110 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font |
15111 | whose name starts with `.'. | |
15112 | (init_font_name_table): Use decode_mac_font_name. Add both | |
15113 | jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code | |
15114 | of a font is smJapanese. | |
15115 | (mac_do_list_fonts): New function to list fonts that match a given | |
15116 | pattern. | |
15117 | (x_list_fonts, XLoadQueryFont): Use it. | |
15118 | (XLoadQueryFont): Set rbearing field for each variable width | |
15119 | character to avoid needless redraw. | |
15120 | (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. | |
15121 | ||
446f5f3d KS |
15122 | 2004-02-26 Kim F. Storm <storm@cua.dk> |
15123 | ||
af617d0f KS |
15124 | * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 |
15125 | as read_socket_hook handler on X aborts if buffer is too small | |
15126 | and W32 handler doesn't always check buffer limit. | |
15127 | ||
446f5f3d KS |
15128 | * xdisp.c (handle_single_display_prop): Handle left-fringe and |
15129 | right-fringe similar to a display margin image. Specifically, | |
15130 | the characters having the fringe prop are no longer shown, and | |
15131 | we use IT_IMAGE/next_element_from_image with image_id = -1 to | |
15132 | do this. Set fringe bitmap face_id in it->face_id. | |
15133 | (produce_image_glyph): Handle image_id < 0 as "no image" case, but | |
15134 | still realize it->face (i.e. the fringe bitmap face). | |
15135 | ||
7d8a0b55 MB |
15136 | 2004-02-25 Miles Bader <miles@gnu.org> |
15137 | ||
15138 | * xdisp.c (check_it): Check string/string_pos consistency. | |
15139 | (init_iterator): Initialize string-related fields properly. | |
15140 | ||
15141 | 2004-02-11 Miles Bader <miles@gnu.org> | |
15142 | ||
15143 | * xdisp.c (produce_image_glyph): Force negative descents to zero. | |
15144 | ||
15145 | 2004-02-10 Miles Bader <miles@gnu.org> | |
15146 | ||
15147 | * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); | |
15148 | BLOCK_INPUT can be nested, so it doesn't make much sense. | |
15149 | ||
a64387ee | 15150 | 2004-02-24 Michael Mauger <mmaug@yahoo.com> |
ce35edd1 JR |
15151 | |
15152 | * w32fns.c (slurp_file, xbm_scan, xbm_load_image) | |
15153 | (xbm_read_bitmap_data): Use unsigned char for image data. | |
15154 | ||
92f5fba2 LT |
15155 | 2004-02-23 Luc Teirlinck <teirllm@auburn.edu> |
15156 | ||
15157 | * abbrev.c (Finsert_abbrev_table_description): Doc fix. | |
15158 | ||
8565fb3d JR |
15159 | 2004-02-22 Jason Rumney <jasonr@gnu.org> |
15160 | ||
15161 | * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps | |
15162 | correctly over other bitmaps. | |
15163 | ||
a6eeaa81 | 15164 | 2004-02-21 Eli Zaretskii <eliz@gnu.org> |
f8125c39 EZ |
15165 | |
15166 | * emacs.c (USAGE1): Split into two halves. | |
15167 | (USAGE2): Second half of the old USAGE1. | |
d8d95bc7 SM |
15168 | (USAGE3): Rename from USAGE2. |
15169 | (USAGE4): Rename from USAGE3. | |
f8125c39 | 15170 | |
4effffca EZ |
15171 | 2004-02-21 Juri Linkov <juri@jurta.org> |
15172 | ||
15173 | * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. | |
15174 | Fix --multibyte. Move --help, --version to USAGE2. Add alias | |
15175 | --file. Fix -f, -l. Sort options. Untabify. | |
15176 | (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. | |
15177 | ||
923c1e6f LT |
15178 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> |
15179 | ||
15180 | * category.c (Fdefine_category, Fcategory_docstring) | |
15181 | (Fget_unused_category, Fset_category_table) | |
15182 | (Fcategory_set_mnemonics): Doc fixes. | |
15183 | ||
b0e225fd KS |
15184 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
15185 | ||
15186 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | |
15187 | The following changes are relative to the 2004-01-21 revision. | |
15188 | (NREAD_INPUT_EVENTS): Define as max number of input events to read | |
15189 | in one call to read_socket_hook. Value is 8. | |
15190 | (read_avail_input): Separate and rework handling of read_socket_hook | |
15191 | and non-read_socket_hook cases. Use smaller input_event buffer | |
d8d95bc7 SM |
15192 | in read_socket_hook case, and repeat if full buffer is read. |
15193 | Use new local variable 'discard' to skip input after C-g. | |
b0e225fd KS |
15194 | In non-read_socket_hook case, just use a single input_event, and |
15195 | call kbd_buffer_store_event on the fly for each character. | |
15196 | ||
b15aa9f9 SM |
15197 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
15198 | ||
15199 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | |
15200 | Remove unused `gu' alternative. | |
15201 | ||
83c9aa95 AS |
15202 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
15203 | ||
15204 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | |
15205 | warning. | |
15206 | ||
cc808173 KS |
15207 | 2004-02-18 Kim F. Storm <storm@cua.dk> |
15208 | ||
15209 | * xdisp.c (get_window_cursor_type, display_and_set_cursor): | |
15210 | Fix last change. | |
15211 | ||
ab90a54d KS |
15212 | 2004-02-17 Kim F. Storm <storm@cua.dk> |
15213 | ||
b26f249f KS |
15214 | * xdisp.c (fast_find_position): Fix return value of new version; |
15215 | it was inverted compared to the 21.1 version. | |
15216 | (get_window_cursor_type): Don't look at glyph if NULL. | |
15217 | (display_and_set_cursor): Set glyph to NULL if cursor in fringe. | |
0bf7d005 | 15218 | |
ab90a54d KS |
15219 | * keyboard.c: Rework previous change; it didn't consider that the |
15220 | buf array was allocated on the stack. | |
15221 | (prev_read): Remove variable. | |
15222 | (read_avail_input_buf): New static event buffer array. | |
b9568dfc | 15223 | (in_read_avail_input): New static variable to handle re-entrancy. |
ab90a54d | 15224 | (read_avail_input): Change buf to pinter to read_avail_input_buf. |
b9568dfc KS |
15225 | Use in_read_avail_input to handle re-entrance; when re-entered, |
15226 | fully initialize and use tmp_buf array instead of read_avail_input_buf. | |
15227 | Do not initialize read_avail_input_buf in full here; instead assume it | |
ab90a54d KS |
15228 | is always cleared on entry. To ensure that, we clear (just) the |
15229 | entries that were used before we return. | |
15230 | (init_keyboard): Initialize read_avail_input_buf here. | |
15231 | ||
b6189c3b | 15232 | 2004-02-16 Jesper Harder <harder@ifa.au.dk> |
4e039f3f EZ |
15233 | |
15234 | * cmds.c (Fend_of_line): Doc fix. | |
15235 | ||
7b5368c1 EZ |
15236 | 2004-02-16 Dmitry Antipov <dmitry.antipov@mail.ru> (tiny change) |
15237 | ||
15238 | * keyboard.c (prev_read): New static variable. | |
15239 | (read_avail_input): Use it to zero out only those slots in buf[] | |
15240 | that were used last time we were called. | |
15241 | ||
a6eeaa81 | 15242 | 2004-02-16 Eli Zaretskii <eliz@gnu.org> |
ca4bc494 EZ |
15243 | |
15244 | * Makefile.in (obj): Move fringe.o from here... | |
15245 | (XOBJ, MAC_OBJ): ...to here. | |
15246 | ||
159c348e SE |
15247 | 2004-02-16 Stephen Eglen <stephen@gnu.org> |
15248 | ||
15249 | * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. | |
15250 | ||
d2f14999 SM |
15251 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
15252 | ||
b15aa9f9 SM |
15253 | * data.c (Fbyteorder): |
15254 | * fringe.c (Fdefine_fringe_bitmap): | |
15255 | * xdisp.c (handle_single_display_prop): | |
d2f14999 SM |
15256 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
15257 | ||
8d50508a JR |
15258 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
15259 | ||
15260 | * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. | |
15261 | ||
dd4497dc ST |
15262 | 2004-02-15 Steven Tamm <steventamm@mac.com> |
15263 | ||
15264 | * macterm.c (Vmac_emulate_three_button_mouse): New variable for | |
15265 | controlling emulation of a three button mouse with option and | |
15266 | command keys. | |
7e26f91b | 15267 | (Qreverse, mac_get_enumlated_btn): Handle the emulation. |
b15aa9f9 | 15268 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
dd4497dc | 15269 | |
c9159cb3 KS |
15270 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
15271 | ||
2cc52658 KS |
15272 | * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. |
15273 | ||
c9159cb3 KS |
15274 | * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: |
15275 | Perform byte-swapping. | |
15276 | ||
12fde2dc KS |
15277 | 2004-02-14 Kim F. Storm <storm@cua.dk> |
15278 | ||
15279 | * dispextern.h (struct draw_fringe_bitmap_params): Change member | |
15280 | bits from char to short to facilitate wider bitmaps. | |
15281 | (struct redisplay_interface): Fix prototype of define_fringe_bitmap | |
15282 | member. | |
15283 | ||
15284 | * fringe.c (struct fringe_bitmap): Change member bits from char to | |
15285 | short to facilitate 16 bits wide bitmaps. Modify all standard | |
15286 | bitmaps accordingly. | |
15287 | (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. | |
15288 | (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. | |
15289 | (draw_fringe_bitmap): Ditto. | |
15290 | (init_fringe_bitmap) [MAC_OS]: Don't bitswap. | |
15291 | (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to | |
15292 | handle up to 16 bits wide bitmaps. | |
15293 | (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. | |
f21a7192 | 15294 | (Ffringe_bitmaps_at_pos): Add missing arg declarations. |
12fde2dc KS |
15295 | |
15296 | * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. | |
15297 | (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer | |
15298 | need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. | |
15299 | ||
15300 | * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, | |
15301 | so it is no longer necessary to expand them here. | |
15302 | ||
15303 | * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). | |
15304 | ||
9d7271e8 KS |
15305 | 2004-02-12 Kim F. Storm <storm@cua.dk> |
15306 | ||
15307 | * window.c (Fwindow_fringes): Doc fix. | |
15308 | ||
706c1e4f JD |
15309 | 2004-02-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15310 | ||
15311 | * xselect.c (x_get_foreign_selection): Add new optional parameter | |
15312 | time_stamp. | |
15313 | (Fx_get_selection_internal): Ditto, pass time_stamp to | |
15314 | x_get_foreign_selection. | |
15315 | ||
15316 | * data.c (Fbyteorder): New function. | |
15317 | ||
c2d12b5d JD |
15318 | 2004-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15319 | ||
15320 | * atimer.c: Move include stdio.h to same place as in other files. | |
15321 | ||
15322 | * region-cache.c: Ditto. | |
15323 | ||
15324 | * sysdep.c: Ditto. | |
15325 | ||
15326 | * xfaces.c: Ditto. | |
15327 | ||
4c1947b9 SS |
15328 | 2004-02-09 Sam Steingold <sds@gnu.org> |
15329 | ||
89458937 | 15330 | * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. |
4c1947b9 | 15331 | |
82722af3 KS |
15332 | 2004-02-09 Kim F. Storm <storm@cua.dk> |
15333 | ||
15334 | * fringe.c: New file. Move original fringe related declarations | |
15335 | and code from dispextern.h and xdisp.c here. | |
15336 | Rework code to support user defined fringe bitmaps, redefining | |
15337 | standard bitmaps, ability to overlay user defined bitmap with | |
15338 | overlay arrow bitmap, and add faces to bitmaps. | |
15339 | (Voverflow_newline_into_fringe): Declare here. | |
15340 | (enum fringe_bitmap_align): New enum. | |
15341 | (..._bits): All bitmaps are now defined without bitswapping; that | |
15342 | is now done in init_fringe_once (if necessary). | |
15343 | (standard_bitmaps): New array with specifications for the | |
15344 | standard fringe bitmaps. | |
15345 | (fringe_faces): New array. | |
15346 | (valid_fringe_bitmap_id_p): New function. | |
15347 | (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
15348 | (draw_fringe_bitmap): New function which draws fringe bitmap, | |
15349 | possibly overlaying bitmap with cursor in right fringe or the | |
15350 | overlay arrow in the left fringe. | |
15351 | (update_window_fringes): Do not handle overlay arrow here. | |
15352 | Compare and copy fringe bitmap faces. | |
15353 | (init_fringe_bitmap): New function. | |
15354 | (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
15355 | define and destroy user defined fringe bitmaps. | |
15356 | (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
15357 | (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
15358 | (syms_of_fringe): New function. Defsubr new DEFUNs. | |
15359 | DEFVAR_LISP Voverflow_newline_into_fringe. | |
15360 | (init_fringe_once, init_fringe): New functions. | |
15361 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
4c1947b9 | 15362 | |
82722af3 KS |
15363 | * Makefile.in (obj): Add fringe.o. |
15364 | (fringe.o): New dependencies. | |
15365 | ||
15366 | * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
15367 | bits allocated to hold a fringe number. Increase number of bits | |
15368 | from 4 to 8 to allow user defined fringe bitmaps. | |
15369 | (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
15370 | left_user_fringe_face_id, right_user_fringe_bitmap, | |
15371 | right_user_fringe_face_id. | |
15372 | (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
15373 | Move to new file fringe.c. | |
15374 | (MAX_FRINGE_BITMAPS): Define here. | |
15375 | (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
15376 | and overlay_p. Change member which to int. | |
15377 | (struct redisplay_interface): New members define_fringe_bitmap | |
15378 | and destroy_fringe_bitmap. | |
15379 | (valid_fringe_bitmap_id_p): Add prototype. | |
15380 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
15381 | ||
15382 | * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
15383 | arrows. | |
15384 | (update_frame): Do flush_display if force_flush_display_p to | |
15385 | ensure display (specifically fringes) are updated in a timely | |
15386 | manner when resizing the frame by dragging the mouse. | |
15387 | (update_window_line): Update row if overlay arrow changed. | |
15388 | (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
15389 | or overlay arrow changed. | |
15390 | ||
15391 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
15392 | syms_of_fringe, and init_fringe. | |
15393 | ||
15394 | * frame.h (struct frame): New member force_flush_display_p. | |
15395 | ||
15396 | * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
15397 | Add prototypes. | |
15398 | ||
a3993cc8 | 15399 | * macterm.c (mac_draw_bitmap): Add overlay_p arg. |
a64387ee | 15400 | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; |
a3993cc8 KS |
15401 | thanks to YAMAMOTO Mitsuharu for advice on how to do this. |
15402 | Use cursor color for displaying cursor in fringe. | |
82722af3 KS |
15403 | (x_redisplay_interface): Add null handlers for |
15404 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
15405 | ||
15406 | * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
15407 | xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
15408 | for displaying cursor in fringe. | |
15409 | (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
15410 | specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
15411 | (w32_redisplay_interface): Add them to redisplay_interface. | |
15412 | (w32_term_init): Call w32_init_fringe instead of explicitly | |
15413 | defining fringe bitmaps in fringe_bmp array. | |
15414 | (x_delete_display): Call w32_reset_fringes instead of explicitly | |
15415 | destroying fringe bitmaps in fringe_bmp array. | |
15416 | ||
15417 | * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
15418 | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
15419 | (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
15420 | (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
15421 | (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
15422 | (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
15423 | (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
15424 | Move fringe handling vars and code to new file fringe.c. | |
15425 | (handle_display_prop): Handle left-fringe and right-fringe | |
15426 | display properties; store user fringe bitmaps in iterator. | |
15427 | (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
15428 | (clear_garbaged_frames): Set force_flush_display_p if resized. | |
15429 | (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
15430 | (display_line): Handle cursor in fringe at eob. | |
15431 | (display_line): Set row user fringe bitmaps from iterator. | |
15432 | ||
15433 | * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
15434 | Use cursor color for displaying cursor in fringe. | |
15435 | (x_redisplay_interface): Add null handlers for | |
15436 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
15437 | ||
030400eb JD |
15438 | 2004-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15439 | ||
15440 | * macfns.c (Fx_change_window_property): Make doc string and | |
15441 | parameters same as for X version. | |
15442 | ||
15443 | * w32fns.c (Fx_change_window_property): Ditto. | |
15444 | ||
3af55251 KS |
15445 | 2004-02-07 Kim F. Storm <storm@cua.dk> |
15446 | ||
ec110e9e KS |
15447 | * xdisp.c (hscroll_window_tree): Position cursor near to right |
15448 | margin in hscrolled window when jumping to end of line (rather | |
15449 | than centering cursor). | |
15450 | ||
3af55251 KS |
15451 | * process.c (wait_reading_process_input): Don't do adaptive read |
15452 | buffering if waiting for a specific process. | |
15453 | ||
b0c138ce LT |
15454 | 2004-02-05 Luc Teirlinck <teirllm@auburn.edu> |
15455 | ||
15456 | * minibuf.c (Fminibufferp, Fread_from_minibuffer) | |
15457 | (Fread_minibuffer, Feval_minibuffer) | |
15458 | (Fread_string, Fread_no_blanks_input) | |
15459 | (Fcompleting_read): Doc fixes. | |
15460 | (syms_of_minibuf): Doc fixes for minibuffer-completion-table and | |
15461 | completion-regexp-list. Define Qcase_fold_search and staticpro it. | |
15462 | (read_minibuf): Fix initial comment. | |
15463 | (Ftry_completion, Fall_completions, Ftest_completion): Bind | |
e8eeaed8 | 15464 | case-fold-search to the value of completion-ignore-case when |
b0c138ce LT |
15465 | checking completion-regexp-list. |
15466 | (Fdisplay_completion_list): Make it handle arguments that are | |
15467 | symbols. Doc fix. | |
15468 | ||
9676f5ad | 15469 | 2004-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
64d1e373 | 15470 | |
9676f5ad | 15471 | * xterm.h: Add declaration of free_frame_menubar. |
64d1e373 | 15472 | |
9676f5ad JD |
15473 | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. |
15474 | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. | |
b0c138ce | 15475 | (Fx_change_window_property): Add declaration of parameters type and |
9676f5ad | 15476 | format. Remove unused variable cons. |
5b698285 | 15477 | |
9dd28cae | 15478 | * xselect.c: Include stdio.h. |
5b698285 | 15479 | |
fc1d15f6 KH |
15480 | 2004-02-05 Kenichi Handa <handa@m17n.org> |
15481 | ||
ebaff4af KH |
15482 | * fns.c (Fset_char_table_range): Fix previous change. |
15483 | ||
fc1d15f6 KH |
15484 | * buffer.c (Fset_buffer_multibyte): Fix docstring. |
15485 | ||
9676f5ad JD |
15486 | 2004-02-04 Luc Teirlinck <teirllm@auburn.edu> |
15487 | ||
15488 | * editfns.c (Fchar_after, Fchar_before): Doc fixes. | |
15489 | ||
da75761f SM |
15490 | 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca> |
15491 | ||
15492 | * keymap.c (Vmouse_events): Rename from Vmenu_events. | |
15493 | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. | |
15494 | ||
13c5d120 KH |
15495 | 2004-02-04 Kenichi Handa <handa@m17n.org> |
15496 | ||
15497 | * fns.c (Fset_char_table_range): Handle charsets ascii, | |
15498 | eight-bit-control, and eight-bit-graphic correctly. | |
15499 | ||
2883d842 JR |
15500 | 2004-02-03 Jason Rumney <jasonr@gnu.org> |
15501 | ||
15502 | * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. | |
15503 | ||
15504 | * w32fns.c (x_to_w32_font): Likewise. | |
15505 | ||
69eff41f JD |
15506 | 2004-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15507 | ||
15508 | * xterm.h: Add x_handle_dnd_message, x_check_property_data, | |
15509 | x_fill_property_data, x_property_data_to_lisp and check_x_display_info. | |
15510 | ||
15511 | * xterm.c (handle_one_xevent): Call x_handle_dnd_message for | |
15512 | ClientMessages. | |
15513 | ||
14a56a1b | 15514 | * xselect.c: Include termhooks.h and X11/Xproto.h. |
69eff41f JD |
15515 | (x_check_property_data, x_fill_property_data) |
15516 | (x_property_data_to_lisp, mouse_position_for_drop) | |
15517 | (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. | |
da75761f | 15518 | (Fx_send_client_event): Move here from xfns.c. |
69eff41f JD |
15519 | (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. |
15520 | ||
14a56a1b | 15521 | * xfns.c (x-send-client-message): Move to xselect.c. |
69eff41f JD |
15522 | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and |
15523 | OUTER_P. | |
15524 | (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, | |
15525 | VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp | |
15526 | if vector_ret_p is true. | |
15527 | (syms_of_xfns): Sx_send_client_message moved to xselect.c. | |
69eff41f | 15528 | |
a6eeaa81 | 15529 | 2004-02-02 Eli Zaretskii <eliz@gnu.org> |
dcdbbb5d EZ |
15530 | |
15531 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | |
15532 | basename of FILE relative to it, not FILE itself. | |
15533 | ||
09721b31 KH |
15534 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
15535 | ||
15536 | * coding.c (coding_restore_composition): Check invalid | |
15537 | composition data more rigidly. | |
15538 | ||
eb996101 LT |
15539 | 2004-01-30 Luc Teirlinck <teirllm@auburn.edu> |
15540 | ||
15541 | * fileio.c (Fread_file_name_internal): Correctly handle the case | |
15542 | where insert-default-directory is nil. | |
15543 | (Fread_file_name): Always return an empty string if the user exits | |
15544 | with an empty minibuffer. Adapt the docstring accordingly. | |
15545 | (syms_of_fileio): Adapt the docstring of insert-default-directory | |
15546 | to the change in Fread_file_name. | |
15547 | ||
a6eeaa81 | 15548 | 2004-01-29 Eli Zaretskii <eliz@gnu.org> |
a0367d42 EZ |
15549 | |
15550 | * alloca.c [!alloca]: Fix the prototype for xfree. | |
15551 | ||
13f52ed8 KH |
15552 | 2004-01-29 Kenichi Handa <handa@m17n.org> |
15553 | ||
15554 | * fns.c (string_char_to_byte): Optimize for ASCII only string. | |
15555 | (string_byte_to_char): Likewise. | |
15556 | ||
d57625a0 JR |
15557 | 2004-01-28 Peter Runestig <peter@runestig.com> |
15558 | ||
15559 | * makefile.w32-in, w32fns.c: Add `default-printer-name' function. | |
15560 | ||
a64387ee | 15561 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
911c78b4 ST |
15562 | |
15563 | * unexmacosx.c (unexec_copy): Do not copy more than was | |
15564 | requested to prevent overwriting during unexec. | |
15565 | ||
eb37b8fd JD |
15566 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15567 | ||
ce38070a JD |
15568 | * process.c (sigchld_handler): Add comment about not calling malloc. |
15569 | ||
eb37b8fd JD |
15570 | * process.h: Add extern to synch_process_termsig. |
15571 | ||
a64387ee | 15572 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
21a3e657 | 15573 | |
da75761f SM |
15574 | * macterm.c (make_mac_frame, make_mac_terminal_frame): |
15575 | Move setting of scroll bars from make_mac_frame to | |
15576 | make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. | |
21a3e657 | 15577 | |
d62a265d RS |
15578 | 2004-01-26 Richard M. Stallman <rms@gnu.org> |
15579 | ||
15580 | * search.c (Freplace_match): Handle nonexistent | |
15581 | back-references properly. | |
15582 | ||
15583 | 2004-01-03 Richard M. Stallman <rms@gnu.org> | |
15584 | ||
15585 | * window.c (decode_any_window): New function. | |
15586 | (Fwindow_height, Fwindow_width, Fwindow_edges) | |
15587 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
15588 | (Fwindow_inside_pixel_edges): Use decode_any_window. | |
15589 | ||
ff236419 JD |
15590 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15591 | ||
15592 | * process.h: synch_process_termsig new variable. | |
15593 | ||
15594 | * callproc.c: Define synch_process_termsig. | |
15595 | (Fcall_process): Initiate synch_process_termsig to zero and | |
15596 | check if non-zero and get signal name after subprocess has ended. | |
15597 | ||
15598 | * process.c (sigchld_handler): Set synch_process_termsig | |
15599 | if terminated by a signal. synch_process_death setting removed. | |
15600 | ||
15601 | * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. | |
15602 | ||
41b867ea AS |
15603 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
15604 | ||
15605 | * print.c (print_preprocess): Declare size as EMACS_INT to not | |
15606 | lose bits. | |
15607 | (print_object): Likewise. | |
15608 | * alloc.c (Fpurecopy): Likewise. | |
15609 | ||
a08084ff LT |
15610 | 2004-01-25 Luc Teirlinck <teirllm@auburn.edu> |
15611 | ||
15612 | * window.c (Fwindow_minibuffer_p): Doc fix. | |
15613 | ||
b19ac475 JY |
15614 | 2004-01-24 Jonathan Yavner <jyavner@member.fsf.org> |
15615 | ||
15616 | * editfns.c (Fformat): Make both passes accept the same set of flags. | |
15617 | ||
fe905025 KH |
15618 | 2004-01-23 Kenichi Handa <handa@m17n.org> |
15619 | ||
15620 | * fns.c (Fmd5): If OBJECT is a buffer different from the current | |
15621 | one, set buffer to OBJECT temporarily. | |
15622 | ||
438fc6c0 SM |
15623 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
15624 | ||
455316e2 SM |
15625 | * keyboard.c (kbd_buffer_gcpro): Remove. |
15626 | (kbd_buffer_store_event, clear_event, Fdiscard_input) | |
15627 | (stuff_buffered_input, init_keyboard, syms_of_keyboard): | |
15628 | Don't initialize and/or maintain the variable any more. It was made | |
15629 | redundant by my commit of 2003-06-15. | |
15630 | ||
438fc6c0 SM |
15631 | * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. |
15632 | ||
5335a4ee JD |
15633 | 2004-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15634 | ||
15635 | * lisp.h: Add undef DECL_ALIGN. | |
15636 | ||
dcdaeebc SM |
15637 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
15638 | ||
15639 | * process.c (wait_reading_process_input) [SYNC_INPUT]: | |
15640 | Check interrupt_input_pending explicitly. | |
15641 | ||
15642 | * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. | |
15643 | ||
15644 | * keyboard.c (handle_async_input): New fun, | |
15645 | extracted from input_available_signal. | |
15646 | (input_available_signal, reinvoke_input_signal): Use it. | |
15647 | ||
9076a823 SM |
15648 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
15649 | ||
d7107586 SM |
15650 | * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. |
15651 | ||
15652 | * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value | |
15653 | manipulation macros for when tags are in the lower bits. | |
15654 | (struct Lisp_Free) [USE_LSB_TAG]: Add padding. | |
15655 | (DECL_ALIGN): New macro. | |
15656 | (DEFUN): Use it. | |
15657 | ||
15658 | * lisp.h [ENABLE_CHECKING]: Don't force union type. | |
15659 | ||
15660 | * s/darwin.h (__attribute__): Remove outdated workaround. | |
15661 | ||
15662 | * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. | |
15663 | ||
15664 | * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: | |
15665 | Don't check range of malloc address. | |
15666 | (pure_alloc) [USE_LSB_TAG]: Enforce alignment. | |
15667 | ||
9076a823 SM |
15668 | * process.c (wait_reading_process_input): Lisp_Object/int mixup. |
15669 | ||
15670 | * dired.c (Ffile_attributes): Lisp_Object/int mixup. | |
15671 | ||
ba029065 KH |
15672 | 2004-01-19 Kenichi Handa <handa@m17n.org> |
15673 | ||
15674 | * fontset.c (fontset_font_pattern): Fix previous change. | |
15675 | ||
7af0e8d7 MB |
15676 | 2004-01-16 Miles Bader <miles@gnu.ai.mit.edu> |
15677 | ||
15678 | * xdisp.c (Voverflow_newline_into_fringe) | |
15679 | (move_it_in_display_line_to, redisplay_internal) | |
15680 | (update_window_fringes, redisplay_window, display_line, window): | |
15681 | Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so | |
15682 | that it compiles without a window-system. | |
15683 | * dispnew.c (direct_output_for_insert, update_window): Likewise. | |
15684 | ||
77a9cf69 KS |
15685 | 2004-01-16 Kim F. Storm <storm@cua.dk> |
15686 | ||
15687 | * buffer.h (struct buffer): New member indicate_buffer_boundaries. | |
15688 | ||
a64387ee | 15689 | * buffer.c (init_buffer_once): Set buffer_defaults and |
77a9cf69 KS |
15690 | buffer_local_flags for indicate_buffer_boundaries. |
15691 | (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro | |
15692 | default- variable for it. | |
15693 | ||
15694 | * dispextern.h (struct glyph_row): New members left_fringe_bitmap, | |
15695 | right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. | |
d7107586 | 15696 | New members exact_window_width_line_p and cursor_in_fringe_p for |
77a9cf69 KS |
15697 | overflowing newlines into right fringe. |
15698 | New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, | |
15699 | and indicate_bottom_line_p for buffer boundaries and scrolling. | |
15700 | (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, | |
15701 | FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, | |
15702 | HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, | |
15703 | and HOLLOW_SQUARE_BITMAP. | |
15704 | (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): | |
15705 | Add prototypes. | |
15706 | ||
15707 | * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps | |
15708 | instead of related indicator fields. | |
15709 | Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. | |
15710 | (direct_output_for_insert): Handle exact width lines like | |
15711 | contined lines. Call update_window_fringes. | |
15712 | (update_window): Call update_window_fringes. | |
15713 | (scrolling_window): Don't skip desired rows with changed bitmaps. | |
15714 | Check if fringe bitmaps changes when assigning scrolled rows. | |
15715 | ||
15716 | * xdisp.c (Voverflow_newline_into_fringe): New variable. | |
15717 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. | |
15718 | (move_it_in_display_line_to): Overflow newline into fringe for | |
15719 | rows that are exactly as wide as the window. | |
15720 | (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) | |
15721 | (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) | |
15722 | (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. | |
15723 | (fringe_bitmaps): Add new bitmaps. | |
15724 | (draw_fringe_bitmap): Make extern. Remove WHICH arg. | |
15725 | Select proper bitmap for cursor in fringe when appropriate. | |
15726 | Handle alignment of bitmap to top or bottom of row. | |
15727 | (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now | |
15728 | done by update_window_fringes. | |
15729 | (update_window_fringes, draw_window_fringes): New functions. | |
15730 | (redisplay_internal): Call update_window_fringes in case only | |
15731 | cursor row is updated. | |
15732 | (redisplay_window): Call update_window_fringes. | |
15733 | Explicitly call draw_window_fringes if redisplay was done using | |
15734 | the current matrix or the overlay arrow is in the window. | |
15735 | (try_window_reusing_current_matrix): Mark scrolled rows for | |
15736 | fringe update (to update buffer-boundaries / scrolling icons). | |
15737 | (find_last_unchanged_at_beg_row): Handle exact width lines line | |
15738 | continued lines. | |
15739 | (display_line): Overflow newline into fringe for rows that are | |
15740 | exactly as wide as the window. Don't append space for newline | |
d7107586 | 15741 | in this case. |
77a9cf69 KS |
15742 | (notice_overwritten_cursor): Explicitly clear cursor bitmap |
15743 | in fringe as if it had been overwritten. | |
15744 | (erase_phys_cursor): Erase cursor bitmap in fringe. | |
d7107586 | 15745 | (syms_of_xdisp): Mark show-trailing-whitespace and |
77a9cf69 KS |
15746 | void-text-area-pointer as user options. |
15747 | DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. | |
d7107586 | 15748 | |
77a9cf69 KS |
15749 | * xterm.c (x_update_window_end): Call draw_window_fringes. |
15750 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
15751 | in row instead of actually drawing fringe bitmaps. | |
15752 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
15753 | (x_draw_window_cursor): Draw cursor in fringe. | |
15754 | ||
15755 | * w32term.c (x_update_window_end): Call draw_window_fringes. | |
15756 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
15757 | in row instead of actually drawing fringe bitmaps. | |
15758 | (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
15759 | (w32_draw_window_cursor): Draw cursor in fringe. | |
15760 | ||
15761 | * macterm.c (x_update_window_end): Call draw_window_fringes. | |
15762 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
15763 | in row instead of actually drawing fringe bitmaps. | |
15764 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
15765 | (mac_draw_window_cursor): Draw cursor in fringe. | |
15766 | ||
a633a954 JD |
15767 | 2004-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15768 | ||
15769 | * xterm.c (handle_one_xevent): Don't handle characters that are part | |
15770 | of an old style (XLookupString) compose sequence. | |
15771 | ||
80460525 KH |
15772 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
15773 | ||
15774 | * search.c (Freplace_match): Use make_multibyte_string or | |
15775 | make_unibyte_string according to the buffer multibyteness. | |
15776 | ||
7fc34f85 SM |
15777 | 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
15778 | ||
15779 | * alloc.c (struct interval_block, struct string_block) | |
15780 | (struct symbol_block, struct marker_block, live_string_p) | |
15781 | (live_cons_p, live_symbol_p, live_float_p, live_misc_p): | |
15782 | Better preserve alignment for objects in blocks. | |
15783 | (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. | |
15784 | ||
15785 | * lread.c (defvar_per_buffer): Remove dead declaration. | |
15786 | ||
15787 | * macterm.c (do_check_ram_size): Don't hardcode the lisp address | |
15788 | space size. | |
15789 | ||
66070bd1 JD |
15790 | 2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15791 | ||
15792 | * xmenu.c (popup_get_selection): Check new parameter down_on_keypress | |
15793 | if a key press should pop down. Only pop down if a key is pressed | |
15794 | outside the menu/dialog. | |
15795 | (create_and_show_popup_menu): Pass 0 for down_on_keypress to | |
15796 | popup_get_selection. | |
15797 | (create_and_show_dialog): Pass 1 for down_on_keypress to | |
15798 | popup_get_selection. | |
15799 | ||
de7515d6 JD |
15800 | 2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15801 | ||
15802 | * alloc.c (allocate_vectorlike): Surround calls to mallopt with | |
15803 | BLOCK/UNBLOCK_INPUT. | |
15804 | ||
160b1b50 JD |
15805 | 2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15806 | ||
15807 | * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are | |
15808 | specified. | |
15809 | ||
3a9f36e6 KH |
15810 | 2004-01-08 Kenichi Handa <handa@m17n.org> |
15811 | ||
15812 | * editfns.c (Fformat): Fix '&' to '&&'. | |
15813 | ||
3803eb32 AS |
15814 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
15815 | ||
15816 | * print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask | |
15817 | size if PSEUDOVECTOR_FLAG is set. | |
15818 | ||
9da88f37 KH |
15819 | 2004-01-07 Kenichi Handa <handa@m17n.org> |
15820 | ||
74ac5074 KH |
15821 | * charset.c (Fdeclare_equiv_charset): Fix docstring. |
15822 | ||
9da88f37 KH |
15823 | * fontset.c (fontset_ref_via_base): Fix previous change. |
15824 | ||
05faee07 KS |
15825 | 2004-01-07 Kim F. Storm <storm@cua.dk> |
15826 | ||
15827 | * process.c (read_process_output): Only activate adaptive | |
15828 | buffering if we read less than 256 bytes at a time. | |
15829 | ||
634910c8 KS |
15830 | 2004-01-06 Kim F. Storm <storm@cua.dk> |
15831 | ||
15832 | * dispnew.c (buffer_posn_from_coords): Return both buffer/string | |
15833 | object and image object. Return glyph width and height. | |
15834 | (mode_line_string, marginal_area_string): Ditto. | |
15835 | ||
15836 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
15837 | (marginal_area_string): Fix prototypes. | |
15838 | ||
15839 | * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from | |
f63fd14e | 15840 | POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. |
634910c8 KS |
15841 | (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. |
15842 | ||
15843 | * keyboard.c (make_lispy_position): Use modified mode_line_string, | |
15844 | buffer_posn_from_coords, and marginal_area_string functions to | |
15845 | include both string object and image object in the lispy position. | |
15846 | Also add actual glyph width and height to position. | |
15847 | (read_key_sequence): Use real buffer position from mouse | |
15848 | event to find keymap property even when click is in marginal area. | |
15849 | ||
15850 | * xdisp.c (note_mode_line_or_margin_highlight): Use modified | |
15851 | mode_line_string and marginal_area_string functions to handle | |
15852 | both string object and image object properties. | |
d7107586 | 15853 | |
57951c2e AS |
15854 | 2004-01-06 Andreas Schwab <schwab@suse.de> |
15855 | ||
15856 | * syntax.c (skip_chars): Treat '-' at end of string as ordinary | |
15857 | character. | |
15858 | ||
181e6a61 AS |
15859 | 2004-01-02 Andreas Schwab <schwab@suse.de> |
15860 | ||
d7107586 SM |
15861 | * macterm.c (emacs_options, x_initialized, same_x_server): |
15862 | Remove unused (and duplicated) definitions. | |
181e6a61 | 15863 | |
31e0fbdd KS |
15864 | 2004-01-02 Kim F. Storm <storm@cua.dk> |
15865 | ||
15866 | * process.h (struct Lisp_Process): New members for adaptive read | |
15867 | buffering: adaptive_read_buffering, read_output_delay, and | |
15868 | read_output_skip. | |
15869 | ||
15870 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | |
15871 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | |
15872 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | |
15873 | (process_output_delay_count, process_output_skip): New vars. | |
15874 | (Vprocess_adaptive_read_buffering): New variable. | |
15875 | (make_process): Initialize adaptive read buffering members. | |
15876 | (Fstart_process): Set adaptive_read_buffering member. | |
15877 | (deactivate_process): Cleanup adaptive read buffering. | |
15878 | (wait_reading_process_input): Temporarily omit delayed | |
15879 | subprocesses from the set of file descriptors to read from; | |
15880 | adjust the select timeout if we skipped any subprocesses. | |
15881 | (read_process_output): Increase adaptive read buffering delay if | |
15882 | we read less than a full buffer; reduce delay when we read a | |
15883 | full buffer. | |
15884 | (send_process): Simplify using local Lisp_Process var. | |
15885 | Reset adaptive read buffering delay after write. | |
15886 | (init_process): Initialize process_output_delay_count and | |
15887 | process_output_skip. | |
15888 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | |
15889 | ||
68c6a789 JR |
15890 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
15891 | ||
d7107586 | 15892 | * w32term.c (w32_text_out): Use s->font, for consistency with callers. |
68c6a789 | 15893 | |
3f70fe82 LT |
15894 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
15895 | ||
15896 | * print.c (Ferror_message_string): Add hyperlink in the docstring | |
15897 | to the definition of `signal' in the Elisp manual. | |
15898 | * eval.c (Fsignal): Ditto. | |
15899 | ||
b6189c3b | 15900 | 2003-12-29 James Clark <jjc@jclark.com> |
c2be49ed EZ |
15901 | |
15902 | * fns.c (internal_equal): Return t for two NaN arguments. | |
15903 | ||
7abd90ea RS |
15904 | 2003-12-29 Richard M. Stallman <rms@gnu.org> |
15905 | ||
15906 | * data.c (store_symval_forwarding): Handle setting | |
15907 | default-fill-column, etc., by changing the value in | |
15908 | buffers that use the default. | |
15909 | ||
15910 | * minibuf.c (Fset_minibuffer_window): Doc fix. | |
15911 | ||
15912 | * fileio.c (choose_write_coding_system): Ignore auto_saving | |
15913 | if using the visited file for auto saves. | |
15914 | (Fwrite_region): Don't update SAVE_MODIFF | |
15915 | if auto-saving in visited file. | |
15916 | ||
3e7cfcdc KH |
15917 | 2003-12-29 Kenichi Handa <handa@m17n.org> |
15918 | ||
15919 | * dispextern.h (face_font_available_p): Extern it. | |
15920 | ||
15921 | * fontset.c (Voverriding_fontspec_alist): New variable. | |
15922 | (lookup_overriding_fontspec): New function. | |
d7107586 | 15923 | (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. |
3e7cfcdc KH |
15924 | (fontset_font_pattern): Likewise. |
15925 | (regulalize_fontname): New function. | |
15926 | (Fset_fontset_font): Call regulalize_fontname. | |
15927 | (Fset_overriding_fontspec_internal): New function. | |
d7107586 SM |
15928 | (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. |
15929 | Defsubr Sset_overriding_fontspec_internal. | |
3e7cfcdc KH |
15930 | |
15931 | * xfaces.c (face_font_available_p): New function. | |
15932 | ||
7abd90ea RS |
15933 | 2003-12-28 Richard M. Stallman <rms@gnu.org> |
15934 | ||
15935 | * buffer.c (Fother_buffer): Don't crash if BUF is nil | |
15936 | or if its name is nil. | |
15937 | ||
15938 | * buffer.c (Fkill_buffer): Don't delete auto-save file | |
15939 | if it's the same as the visited file. | |
15940 | ||
de1d1a40 LT |
15941 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> |
15942 | ||
15943 | * coding.c (Fcheck_coding_system): Doc fix. | |
15944 | ||
204fb75e KS |
15945 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
15946 | ||
15947 | * Makefile.in (eval.o): Depend on dispextern.h. | |
15948 | ||
15949 | * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for | |
15950 | image glyph using image's ascent. | |
15951 | (mode_line_string): Return image glyph as object clicked on. | |
15952 | Adjust y0 for image glyph using image's ascent. | |
15953 | ||
15954 | * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. | |
15955 | (struct glyph): New members, ascent and descent. Used to save | |
15956 | this glyph's ascent and descent, instead of having. | |
15957 | (struct glyph): Declare member face_id using FACE_ID_BITS. | |
15958 | (find_hot_spot): Add prototype. | |
15959 | ||
15960 | * keyboard.c (Qimage): Remove extern (now in lisp.h). | |
15961 | (QCmap): Declare extern. | |
15962 | (make_lispy_position): When position is inside image hot-spot, | |
15963 | use hot-spot element's id as posn element. | |
15964 | ||
15965 | * lisp.h (IMAGEP): New macro to test for image object type. | |
15966 | (Qimage): Declare extern. | |
15967 | ||
15968 | * macfns.c (Qimage): Remove extern (now in lisp.h). | |
15969 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
15970 | ||
15971 | * macterm.c (Qface, Qmouse_face): Remove unused externs. | |
15972 | ||
15973 | * w32fns.c (Qimage): Remove extern (now in lisp.h). | |
15974 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
15975 | ||
15976 | * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. | |
15977 | ||
15978 | * w32term.c (Qface, Qmouse_face): Remove unused externs. | |
15979 | ||
15980 | * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for | |
15981 | pointer types. | |
15982 | (Qrelative_width, Qalign_to): Remove unused variables. | |
15983 | (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. | |
647b07d1 AS |
15984 | (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for image |
15985 | maps. | |
15986 | (x_y_to_hpos_vpos): Return glyph relative coordinates through new | |
15987 | dx and dy args. Remove buffer_only_p arg (always 0). Simplify | |
15988 | code accordingly. | |
204fb75e KS |
15989 | (get_glyph_string_clip_rect): Draw cursor using glyph's rather |
15990 | than row's ascent and height, to get sensible height on tall rows. | |
15991 | (build_desired_tool_bar_string): Remove Qimage extern. | |
15992 | (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. | |
15993 | (produce_image_glyph): Adjust it.ascent to minimum row ascent if | |
15994 | image glyph is alone on the last line. | |
15995 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
d7107586 | 15996 | (append_stretch_glyph): Set glyph's ascent and descent. |
204fb75e | 15997 | (on_hot_spot_p): New function to check if position is inside an |
d7107586 | 15998 | rectangular, circular, or polygon-shaped image hot-spot, |
204fb75e KS |
15999 | (find_hot_spot): New function to search for image hot-spot. |
16000 | (Flookup_image_map): New defun to search for image hot-spot. | |
647b07d1 AS |
16001 | (define_frame_cursor1): New aux function to determine frame |
16002 | pointer. | |
16003 | (note_mode_line_or_margin_highlight, note_mouse_highlight): Handle | |
16004 | `pointer' text property and :pointer image property to control | |
16005 | frame pointer shape. Detect image hot-spots for pointer and | |
16006 | help_echo properties. Use define_frame_cursor1. | |
16007 | (note_mouse_highlight): Use Vvoid_text_area_pointer. | |
16008 | (syms_of_xdisp): Defsubr new defun. Intern and staticpro new | |
16009 | variables. DEFVAR_LISP Vvoid_text_area_pointer instead of | |
16010 | Vshow_text_cursor_in_void. | |
204fb75e KS |
16011 | |
16012 | * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. | |
16013 | ||
16014 | * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. | |
16015 | (Qimage): Remove extern (now in lisp.h). | |
16016 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
16017 | ||
16018 | * xmenu.c (show_help_event): Remove unused code. | |
16019 | ||
16020 | * xterm.c (Qface, Qmouse_face): Remove unused externs. | |
16021 | (x_draw_hollow_cursor): Draw cursor using glyph's rather than | |
16022 | row's ascent and descent, to get a sensible height on tall rows. | |
16023 | ||
fc052137 LT |
16024 | 2003-12-25 Luc Teirlinck <teirllm@auburn.edu> |
16025 | ||
16026 | * minibuf.c (Fcompleting_read): Undo previous change. | |
16027 | ||
a64387ee | 16028 | 2003-12-25 Lars Hansen <larsh@math.ku.dk> |
b9148500 LH |
16029 | |
16030 | * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): | |
16031 | Arguments GCPRO'ed in call to file name handler. | |
16032 | ||
56ffd194 TTN |
16033 | 2003-12-25 Thien-Thi Nguyen <ttn@gnu.org> |
16034 | ||
16035 | * termcap.c (tgetst1): Scan for "%pN"; if all | |
16036 | N are continuous in [1,9], remove all "%pN". | |
16037 | ||
5202d23d JD |
16038 | 2003-12-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16039 | ||
f26fab36 JD |
16040 | * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. |
16041 | ||
5202d23d JD |
16042 | * xfaces.c (lface_fully_specified_p): Take into account that |
16043 | MAC OS always have unspecified stipple. | |
16044 | ||
8babaa59 TTN |
16045 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
16046 | ||
16047 | * tparam.c (tparam1): Add handling for `%pN', which | |
16048 | means use param N for the next substitution. | |
16049 | ||
2d176448 TTN |
16050 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
16051 | ||
16052 | * xfaces.c (Fcolor_gray_p): Fix omission bug: | |
16053 | In case `frame' is nil, consult the selected frame. | |
16054 | (Fcolor_supported_p): Likewise. | |
16055 | ||
adb0708c LT |
16056 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
16057 | ||
000eeb15 LT |
16058 | * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): |
16059 | Doc fixes. | |
0dc72b11 LT |
16060 | |
16061 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | |
16062 | and an integer. Adapt the introductory comment accordingly. | |
adb0708c LT |
16063 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
16064 | Doc fix. | |
16065 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | |
16066 | read_minibuf. | |
16067 | (Fcompleting_read): Delete code moved into read_minibuf. | |
d7107586 | 16068 | (Ftest_completion): Make it handle obarrays and hash tables correctly. |
adb0708c | 16069 | |
2e4d132b KH |
16070 | 2003-12-03 Kenichi Handa <handa@m17n.org> |
16071 | ||
16072 | * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 | |
16073 | encoding sequence. | |
16074 | ||
3999c705 KH |
16075 | 2003-12-01 Kenichi Handa <handa@m17n.org> |
16076 | ||
16077 | * composite.c (syms_of_composite): Don't make the compostion hash | |
16078 | table week. | |
16079 | ||
d344ecbb LT |
16080 | 2003-11-30 Luc Teirlinck <teirllm@auburn.edu> |
16081 | ||
16082 | * intervals.h: Add EXFUN for Fget_char_property_and_overlay. | |
16083 | * textprop.c (Fget_char_property_and_overlay): New function. | |
16084 | (syms_of_textprop): Defsubr it. | |
16085 | ||
03d6484e JD |
16086 | 2003-11-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16087 | ||
019b1f0e JD |
16088 | * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM |
16089 | to compile on terminal configuration. | |
16090 | ||
03d6484e JD |
16091 | * fileio.c (Fread_file_name): Check use_file_dialog also before |
16092 | calling Fx_file_dialog. | |
16093 | ||
1d1c7e75 | 16094 | * fns.c (use_file_dialog): New variable. |
03d6484e JD |
16095 | (syms_of_fns): DEFVAR_BOOL use-file-dialog. |
16096 | ||
442d3fd0 KS |
16097 | 2003-11-29 Kim F. Storm <storm@cua.dk> |
16098 | ||
16099 | * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. | |
16100 | (syms_of_msdos): Don't intern and staticpro them. | |
16101 | ||
0f6a07a8 KS |
16102 | 2003-11-27 Kim F. Storm <storm@cua.dk> |
16103 | ||
16104 | * dispnew.c (buffer_posn_from_coords): Calculate and return pixel | |
16105 | coordinates relative to glyph at posn. If glyph is an image, | |
16106 | return that as object at posn. Callers changed. | |
16107 | (mode_line_string, marginal_area_string): Calculate and return | |
16108 | pixel coordinates relative to glyph. Callers changed. | |
16109 | ||
16110 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
16111 | (marginal_area_string): Fix prototypes. | |
16112 | (window_box_left_offset, window_box_right_offset): Add prototypes. | |
16113 | ||
16114 | * frame.h (get_specified_cursor_type, get_window_cursor_type): | |
16115 | Remove prototypes. | |
16116 | ||
16117 | * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. | |
16118 | ||
16119 | * keyboard.c (make_lispy_position): Add x and y coordinates | |
16120 | relative to the current glyph as 7th element of position. | |
16121 | If glyph is an image, return it in the object element. | |
16122 | (read_key_sequence): Skip checks for keymap property in cases | |
16123 | where POSN_STRING is not a string (e.g. an image). | |
16124 | ||
16125 | * xdisp.c (Vdisplay_pixels_per_inch): New variable. | |
16126 | (Vshow_text_cursor_in_void): New variable. | |
16127 | (glyph_to_pixel_coords): Don't use negative hpos. | |
16128 | (x_y_to_hpos_vpos): Fix for partially visible first glyph. | |
16129 | (append_stretch_glyph): Change ascent arg to be actual value | |
f63fd14e | 16130 | in pixels rather than ratio to height. Callers changed. |
0f6a07a8 KS |
16131 | (calc_pixel_width_or_height): New aux function, implementing |
16132 | pixel based artihmetic for glyph widths and heights. | |
16133 | (produce_stretch_glyph): Use calc_pixel_width_or_height for | |
16134 | :width, :height, :align-to, and :ascent, thus allowing these to | |
16135 | be specified in pixels as well as multiples of characters. | |
16136 | Don't produce stretch glyphs with zero width or height. | |
16137 | (get_specified_cursor_type): Declare static. | |
16138 | (get_window_cursor_type): Declare static. Add glyph arg to be | |
16139 | able to know when cursor is on an image; always substitute | |
16140 | hollow-box cursor for filled-box cursor on images, to avoid | |
16141 | negative images and flicker when blinking the cursor. | |
5e1a6e32 | 16142 | (display_and_set_cursor): Pass glyph to get_window_cursor_type. |
0f6a07a8 KS |
16143 | (note_mode_line_or_margin_highlight): Use non-text cursor rather |
16144 | than vertical scroll-bar cursor in display margins. | |
16145 | (note_mouse_highlight): Use non-text cursor rather than text | |
16146 | cursor in fringes and over images in the text area. | |
16147 | Use non-text cursor when mouse pointer is outside editable text, | |
16148 | i.e. in the void after end-of-line or end-of-buffer; this was | |
16149 | already done for W32, but is now standard for all systems -- | |
16150 | user can toggle show-text-cursor-in-void to get old behaviour. | |
16151 | (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and | |
16152 | Vdisplay_pixels_per_inch. | |
16153 | ||
00498bfc AS |
16154 | 2003-11-25 Andreas Schwab <schwab@suse.de> |
16155 | ||
16156 | * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as | |
16157 | EMACS_INT to not lose bits. | |
16158 | (Ffillarray): Don't set bits beyond the size of a bool vector. | |
16159 | ||
edaa824d KS |
16160 | 2003-11-25 Kim F. Storm <storm@cua.dk> |
16161 | ||
16162 | * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not | |
16163 | define this defun on systems that cannot use stderr as lvalue. | |
16164 | ||
74d6f539 GM |
16165 | 2003-11-24 Gerd Moellmann <gerd@gnu.org> |
16166 | ||
16167 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) | |
16168 | [__FreeBSD_version >= 500042]: Define as -znocombreloc because | |
16169 | ld's default is incompatible with unexec. | |
16170 | ||
6a1ff3ba KS |
16171 | 2003-11-23 Kim F. Storm <storm@cua.dk> |
16172 | ||
63dc7c6b KS |
16173 | * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. |
16174 | (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. | |
16175 | (Fforce_window_update): New defun. | |
16176 | (syms_of_window): Defsubr it. | |
16177 | (Fset_window_margins, Fset_window_fringes): Doc fix. | |
16178 | ||
6a1ff3ba KS |
16179 | * print.c (Fredirect_debugging_output): New defun. |
16180 | (syms_of_print): Defsubr it. | |
16181 | ||
aef109b7 LT |
16182 | 2003-11-22 Luc Teirlinck <teirllm@auburn.edu> |
16183 | ||
16184 | * fns.c (Fset_char_table_parent): Doc fix. | |
16185 | ||
6a1ff3ba | 16186 | 2003-11-22 Kim F. Storm <storm@cua.dk> |
63ccbe21 KS |
16187 | |
16188 | * dispnew.c (buffer_posn_from_coords): Return actual row/column | |
16189 | for glyph clicked on, rather than (unused) pixel positions. | |
16190 | (mode_line_string, marginal_area_string): Change X and Y args to | |
16191 | pointers for returning actual row/column for glyph clicked on. | |
16192 | Simplify and optimize loops. | |
16193 | ||
aef109b7 LT |
16194 | * dispextern.h (mode_line_string, marginal_area_string): |
16195 | Update prototypes. | |
63ccbe21 KS |
16196 | |
16197 | * keyboard.c (make_lispy_position): New function for generating | |
16198 | mouse click positions from frame and pixel coordinates. | |
16199 | Enhanced to return buffer position and actual row/column for | |
16200 | events outside the text area using updated mode_line_string and | |
16201 | marginal_area_string functions. | |
16202 | Return left-fringe and right-fringe clicks as such, rather than | |
16203 | clicks in text area. | |
16204 | (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call | |
16205 | pixel_to_glyph_coords, as we never use the results. | |
16206 | (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, | |
16207 | WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. | |
16208 | Eliminate unused code in WHEEL_EVENT handling. | |
16209 | (make_lispy_movement): Use make_lispy_position. | |
16210 | ||
16211 | * window.c (coordinates_in_window): Remove redundant tests. | |
16212 | Fix returned X pixel value for left-margin. | |
16213 | ||
16214 | * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new | |
16215 | mode_line_string and marginal_area_string parameters. | |
16216 | ||
a64387ee | 16217 | 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
930a9995 | 16218 | |
d7107586 SM |
16219 | * w32.c (struct the_group, getgrgid): Add. |
16220 | * mac.c (struct my_group, getgrgid): Add. | |
aef109b7 | 16221 | |
3dbf3426 LT |
16222 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
16223 | ||
16224 | * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. | |
16225 | ||
cae8ddbb | 16226 | 2003-11-21 Lars Hansen <larsh@math.ku.dk> |
ded4064f | 16227 | |
d7107586 SM |
16228 | * dired.c (Ffile_attributes): Add parameter ID-FORMAT and |
16229 | include in call to file name handler. Optionally translate numeric | |
16230 | UID and GID to strings. Update docstring. | |
16231 | (directory_files_internal): Add parameter ID-FORMAT. | |
16232 | (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and | |
16233 | include in call to file name handler and call to | |
16234 | directory_files_internal. Update Docstring. | |
16235 | (Fdirectory_files): Add dummy parameter in call to | |
16236 | directory_files_internal. | |
16237 | * lisp.h (Qinteger): Add. | |
16238 | (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. | |
16239 | (Ffile_attributes): Add parameter. | |
16240 | * data.c (Qinteger): Export. | |
cae8ddbb | 16241 | |
2550b848 LT |
16242 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
16243 | ||
3dbf3426 | 16244 | * fns.c (Freverse, Fnreverse): Doc fixes. |
2550b848 | 16245 | |
88380018 KS |
16246 | 2003-11-19 Kim F. Storm <storm@cua.dk> |
16247 | ||
16248 | * xdisp.c (init_iterator): Initialize it->start to position | |
16249 | before reseating (in case start position is invisible). | |
16250 | (init_to_row_start): Set it->start to row-start. | |
16251 | (redisplay_window): Accept optional_new_start if start position | |
16252 | is invisible (in which case IT_CHARPOS overshoots PT). | |
16253 | (display_line): Setup row->start from it->start (rather than | |
16254 | it->current which is wrong if first char on line is invisible). | |
16255 | When done, reseat it->start to it->current (= start of next row). | |
16256 | (expose_area): Fix exposure of text area when first char (e.g. TAB) | |
16257 | is only partially visible. | |
16258 | ||
16259 | * dispextern.h (struct it): New member start. | |
16260 | ||
854c1a59 SM |
16261 | 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
16262 | ||
455316e2 SM |
16263 | * alloc.c (make_float, Fcons): Clear the markbit at init time. |
16264 | (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment | |
16265 | of block_index outside of the macro call. | |
16266 | (Fgarbage_collect): Remove null code. | |
16267 | ||
16268 | * m/amdx86-64.h: Don't redefine XPNTR. | |
16269 | ||
854c1a59 SM |
16270 | * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
16271 | of VALMASK. | |
16272 | ||
16273 | * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) | |
16274 | (sxhash_string, sxhash): Use INTMASK instead of VALMASK. | |
16275 | (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. | |
16276 | ||
16277 | * lisp.h (VALMASK): Only define for non-union type. | |
16278 | (MARKBIT): Remove. | |
16279 | (ARRAY_MARK_FLAG): Use previous value of MARKBIT. | |
16280 | (XTYPE): Define unconditionally. | |
16281 | (XSETTYPE): Remove one more remnant. | |
16282 | (EQ): Define differently for the union and non-union cases. | |
16283 | (INTMASK): New bit mask. | |
16284 | (struct Lisp_Marker): Move down to prepare for upcoming patch. | |
16285 | (GC_EQ): Delegate to EQ. | |
16286 | ||
16287 | * coding.c (coding_restore_composition): Lisp_Object/int mixup. | |
16288 | ||
a0c6ef2d JD |
16289 | 2003-11-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16290 | ||
16291 | * xterm.c (x_window_to_scroll_bar): Move check of display to | |
16292 | where window_id is compared. | |
16293 | ||
859492c4 KS |
16294 | 2003-11-17 Kim F. Storm <storm@cua.dk> |
16295 | ||
16296 | * dispextern.h (struct it): New member first_vpos. | |
16297 | ||
16298 | * xdisp.c (start_display): Set it->first_vpos. | |
16299 | (try_window_id): Use first_vpos to start display in first _text_ | |
16300 | line if no reusable lines at start of window with header line. | |
16301 | ||
810f2256 JD |
16302 | 2003-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16303 | ||
7c402969 | 16304 | * w32fns.c (XPutPixel): |
854c1a59 SM |
16305 | * w32bdf.c (w32_init_bdf_font): |
16306 | * sunfns.c (sel_read): | |
16307 | * process.c (Fmake_network_process): | |
16308 | * frame.c (store_frame_param): | |
16309 | * fontset.c (Fset_fontset_font): | |
16310 | * emacs.c (shut_down_emacs): | |
a64387ee | 16311 | * ccl.c (ccl_driver): Remove period at end of error message. |
7c402969 | 16312 | |
a32e9bfd JD |
16313 | * config.in: Regenerate. |
16314 | ||
810f2256 JD |
16315 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
16316 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
16317 | (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. | |
16318 | (x_create_bitmap_mask, xg_set_icon, create_frame_xic) | |
16319 | (xic_set_statusarea, x_window, gif_load): Formatting adjustments. | |
16320 | ||
16321 | * xterm.h (struct x_display_info): New field xg_cursor for GTK. | |
16322 | ||
16323 | * xterm.c: Add Display * to x_window_to_scroll_bar declaration. | |
16324 | (XTmouse_position, handle_one_xevent): Pass Display* to | |
16325 | x_window_to_scroll_bar. | |
16326 | (x_window_to_scroll_bar): Take a Display* argument. | |
16327 | Check that display for frame is equal to Display* argument. | |
854c1a59 | 16328 | (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
810f2256 JD |
16329 | x_display_info_for_display instead. Use Display in xev instead |
16330 | of GDK_DISPLAY. | |
16331 | (x_dispatch_event): Call x_display_info_for_display. | |
f63fd14e | 16332 | (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
810f2256 JD |
16333 | (x_connection_closed): Call xg_display_close for GTK. |
16334 | (x_term_init): Call xg_display_open for additional displays. | |
16335 | Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor | |
16336 | for GTK. | |
16337 | ||
16338 | * xmenu.c (single_menu_item, mouse_position_for_popup) | |
16339 | (x_activate_menubar): Formatting adjustments. | |
16340 | ||
16341 | * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting | |
16342 | adjustments. | |
16343 | ||
16344 | * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) | |
16345 | (xg_display_close, xg_create_default_cursor) | |
16346 | (xg_get_gdk_pixmap_and_mask): New functions for multiple display | |
16347 | handling. | |
854c1a59 SM |
16348 | (xg_left_ptr_cursor): Remove. |
16349 | (xg_set_cursor): Change cursor to GdkCursor*. Do not create | |
810f2256 JD |
16350 | cursor here. |
16351 | (xg_win_to_widget): Take Display* argument, call | |
16352 | gdk_xid_table_lookup_for_display. | |
16353 | (xg_create_frame_widgets, xg_get_file_name, create_menus) | |
16354 | (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. | |
16355 | (xg_create_widget, xg_create_scroll_bar): Use xg_cursor | |
16356 | in FRAME_X_DISPLAY_INFO. | |
16357 | (xg_get_scroll_id_for_window): Take Display* argument. | |
16358 | (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. | |
854c1a59 | 16359 | (xg_initialize): Remove xg_left_ptr_cursor. |
810f2256 | 16360 | |
78819ebb KS |
16361 | * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add |
16362 | Display* argument. | |
16363 | (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. | |
810f2256 | 16364 | |
0b03cc78 JD |
16365 | 2003-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16366 | ||
16367 | * xterm.c (x_detect_focus_change): Do not change focus frame for | |
16368 | Enter/LeaveNotify if the current focus frame has explicit focus. | |
16369 | ||
77e688fa KS |
16370 | 2003-11-14 Kim F. Storm <storm@cua.dk> |
16371 | ||
16372 | * dispnew.c (update_text_area): Fix redisplay error when hscroll | |
16373 | is active and first glyph is only partially visible. | |
854c1a59 | 16374 | |
dd429b03 KH |
16375 | 2003-11-13 Kenichi Handa <handa@m17n.org> |
16376 | ||
16377 | * xdisp.c (select_frame_for_redisplay): New function. | |
16378 | (redisplay_internal): Record also selected_frame for | |
16379 | unwind_redisplay. Call select_frame_for_redisplay before | |
16380 | redrawing each frame. | |
16381 | (unwind_redisplay): Argument changed to a cons. | |
16382 | ||
6d9266f4 LT |
16383 | 2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
16384 | ||
16385 | * fns.c (Fstring_to_multibyte): Doc fix. | |
16386 | ||
80060eb3 KH |
16387 | 2003-11-11 Kenichi Handa <handa@m17n.org> |
16388 | ||
16389 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
16390 | ||
74305183 JD |
16391 | 2003-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16392 | ||
16393 | * xfns.c (x_window): Set XtNx and XtNy in shell widget for | |
16394 | program specified positions. | |
16395 | ||
cfda993e JD |
16396 | 2003-11-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16397 | ||
16398 | * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. | |
16399 | ||
df211069 KH |
16400 | 2003-11-08 Kenichi Handa <handa@m17n.org> |
16401 | ||
16402 | * Makefile.in (lisp): Add kannada.el. | |
16403 | (shortlisp): Likewise. | |
16404 | ||
4307d534 KH |
16405 | 2003-11-07 Kenichi Handa <handa@m17n.org> |
16406 | ||
854c1a59 SM |
16407 | * coding.c (coding_allocate_composition_data): |
16408 | Reset coding->composing to COMPOSITION_NO. | |
4307d534 KH |
16409 | (coding_restore_composition): Detect invalid composition data. |
16410 | Give Fstring and Fvector a Lispy integer, not C int. | |
16411 | ||
854c1a59 SM |
16412 | 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
16413 | ||
16414 | * floatfns.c (Flogb): Don't use VALMASK. | |
16415 | ||
16416 | * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. | |
16417 | * m/ia64.h (VALBITS, XINT, XUINT): Remove. | |
16418 | ||
16419 | * lisp.h (XINT): Move the cast to clarify what is going on. | |
16420 | (GCTYPEMASK, XSETTYPE): Remove. | |
16421 | (XGCTYPE): Make it an alias of XTYPE. | |
16422 | ||
d04103a1 JD |
16423 | 2003-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16424 | ||
16425 | * xterm.c (x_term_init): Fix formatting. | |
16426 | ||
da18b5ac JD |
16427 | 2003-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16428 | ||
78819ebb KS |
16429 | * gtkutil.h (xg_have_tear_offs): Declare. |
16430 | (xg_keep_popup, xg_did_tearoff): Remove. | |
da18b5ac JD |
16431 | |
16432 | * gtkutil.c: Remove variable xg_did_tearoff. | |
16433 | (xg_have_tear_offs): New function. | |
16434 | (tearoff_remove): Just decrease xg_detached_menus. | |
16435 | (tearoff_activate): Increase xg_detached_menus and call | |
16436 | tearoff_remove when tearoff is removed. | |
854c1a59 | 16437 | (xg_keep_popup): Remove function. |
da18b5ac JD |
16438 | (create_menus): Give add_tearoff_p as argument to recursive |
16439 | call to create_menus. | |
16440 | (xg_create_widget): Use variables instead of multiple | |
16441 | strcmp. Tell create_menus to create tear off only for | |
16442 | menu bar menus. | |
16443 | (xg_update_menubar): Change title for a detached menu also. | |
16444 | (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless | |
16445 | of deep_p. | |
16446 | (xg_initialize): Initialize xg_detached_menus, remove | |
16447 | initialization of xg_did_tearoff. | |
16448 | ||
16449 | * xmenu.c (set_frame_menubar): For GTK, set deep_p if | |
16450 | xg_have_tear_offs returns non-zero. | |
16451 | (create_and_show_popup_menu): Remove setting of xg_did_tearoff and | |
16452 | call to xg_keep_popup. | |
16453 | ||
64d4923e AC |
16454 | 2003-11-01 Andrew Choi <akochoi@shaw.ca> |
16455 | ||
16456 | * macterm.c (XTread_socket): Handle menubar selection and grow | |
16457 | window only for mouseDown events. | |
854c1a59 | 16458 | |
6cc8bc07 JD |
16459 | 2003-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16460 | ||
16461 | * xterm.c (x_term_init): For GTK part, increase x_initialized | |
16462 | to check for more than one display. Use error instead of return 0. | |
16463 | ||
043131c4 AC |
16464 | 2003-10-31 Andrew Choi <akochoi@shaw.ca> |
16465 | ||
854c1a59 | 16466 | * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
043131c4 AC |
16467 | (copy_dysymtab): Call it. |
16468 | ||
bdda99a1 LT |
16469 | 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
16470 | ||
16471 | * eval.c (Fdefvaralias): Doc fix. | |
16472 | ||
800f42ff | 16473 | 2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
0d11571e LT |
16474 | |
16475 | * data.c (Fsetplist): Doc fix. | |
16476 | ||
ef35b389 LK |
16477 | 2003-10-14 Lute Kamstra <lute@gnu.org> |
16478 | ||
16479 | * window.c (Fset_window_fringes): Clarify docstring. | |
07107abc | 16480 | |
ef35b389 | 16481 | 2003-10-14 Kim F. Storm <storm@cua.dk> |
854c1a59 | 16482 | |
07107abc KS |
16483 | * window.c (Fset_window_margins): Simplify arg checking. |
16484 | ||
f7005886 RS |
16485 | 2003-10-13 Richard M. Stallman <rms@gnu.org> |
16486 | ||
16487 | * regex.c (MAX_BUF_SIZE): Reduce to 2**15. | |
16488 | (print_partial_compiled_pattern): Replace assert with a printout. | |
16489 | (skip_noops, mutually_exclusive_p): Change args, values to re_char *. | |
16490 | ||
16491 | * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. | |
16492 | ||
16493 | * window.c (Fset_window_margins): Allow only integers as args. | |
647b07d1 AS |
16494 | (syms_of_window) <special-display-buffer-names, |
16495 | special-display-regexps>: Doc fixes. | |
f7005886 | 16496 | |
9c0c2af5 LK |
16497 | 2003-10-13 Lute Kamstra <lute@gnu.org> |
16498 | ||
16499 | * window.c (Fset_window_fringes): Elaborate docstring. | |
16500 | ||
3f080e4e AC |
16501 | 2003-10-12 Andrew Choi <akochoi@shaw.ca> |
16502 | ||
854c1a59 | 16503 | * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
a4887377 | 16504 | |
3f080e4e AC |
16505 | * s/darwin.h (GC_MARK_STACK): Define. |
16506 | ||
0aa513ed JD |
16507 | 2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16508 | ||
16509 | * window.c (shrink_windows): New function. | |
16510 | (size_window): Call shrink_windows to calculate window sizes when | |
16511 | shrinking frame with more than one window. | |
16512 | ||
6aa8858a KS |
16513 | 2003-10-12 Kim F. Storm <storm@cua.dk> |
16514 | ||
16515 | * xdisp.c (compute_fringe_widths): Doc fix. | |
16516 | ||
c2164d91 KH |
16517 | 2003-10-08 Kenichi Handa <handa@m17n.org> |
16518 | ||
854c1a59 | 16519 | * coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
c2164d91 | 16520 | |
f82ac129 KH |
16521 | 2003-10-07 Kenichi Handa <handa@m17n.org> |
16522 | ||
16523 | * coding.c (Qcoding_system_define_form): New variable. | |
16524 | (syms_of_coding): Intern and staticpro it. | |
16525 | (Fcheck_coding_system): Try to autoload the definition of | |
16526 | CODING-SYSTEM. | |
16527 | ||
9296c947 LT |
16528 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
16529 | ||
16530 | * fns.c (Frequire): Doc fix. | |
16531 | ||
c1f0671a JD |
16532 | 2003-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16533 | ||
3d8c3826 JD |
16534 | * xfns.c (Fx_send_client_event): New function as a base for |
16535 | manipulating extended window manager hints. | |
6dc15d98 | 16536 | (Fx_send_client_event): Remove unused variable s. |
3d8c3826 | 16537 | |
068ae0fd JD |
16538 | * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, |
16539 | that function is removed. | |
16540 | ||
16541 | * xterm.c (x_set_offset): Use move_offset_left/top instead of | |
16542 | x/y_pixels_outer_diff. | |
16543 | (x_check_expected_move): Calculate move_offset_left/top. | |
16544 | ||
16545 | * xterm.h (struct x_output): New members: move_offset_top/left. | |
16546 | ||
854c1a59 | 16547 | * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
068ae0fd JD |
16548 | call x_set_offset directly. |
16549 | ||
16550 | * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. | |
16551 | ||
96f09305 JD |
16552 | * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. |
16553 | ||
16554 | * xterm.c (x_delete_display): Free font names and font_encoder | |
16555 | in dpyinfo->font_table. | |
16556 | ||
854c1a59 SM |
16557 | * xfns.c (Fx_close_connection): Only call XFreeFont here. |
16558 | Move xfree of font names to x_delete_display. | |
96f09305 | 16559 | |
c1f0671a JD |
16560 | * xterm.h (struct x_display_info): New member, wm_type. |
16561 | (struct x_output): New members, expected_top/left and | |
16562 | check_expected_move. | |
16563 | ||
16564 | * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify | |
16565 | is received. | |
854c1a59 SM |
16566 | (handle_one_xevent): Rename x_check_expected_move from |
16567 | x_check_fullscreen_move. | |
5e1a6e32 | 16568 | (x_set_offset): Only add WM decoration sizes to modified_top/left |
c1f0671a | 16569 | for X_WMTYPE_A. Set check_expected_move when WM type is unknown. |
854c1a59 | 16570 | (x_check_expected_move): Rename from x_check_fullscreen_move. |
c1f0671a JD |
16571 | Removed fullscreen specific code. Use check_expected_move, |
16572 | expected_left/top instead. Also, set wm_type. | |
16573 | (x_term_init): Initialize wm_type to unknown. | |
16574 | ||
16575 | * frame.c (x_fullscreen_move): Remove addition of WM decoration | |
16576 | sizes to move_x/y. | |
16577 | ||
be2fdba9 KH |
16578 | 2003-10-03 Kenichi Handa <handa@m17n.org> |
16579 | ||
16580 | * macterm.c (x_load_font): Clear all members of FONTP before start | |
16581 | filling them. | |
16582 | ||
16583 | 2003-10-02 Kenichi Handa <handa@m17n.org> | |
16584 | ||
16585 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | |
16586 | before calling find_ccl_program_func. Call find_ccl_program_func | |
16587 | only when fontp->font_encoder is not NULL. | |
16588 | ||
16589 | * xterm.c (x_load_font): Clear all members of FONTP before start | |
16590 | filling them. | |
16591 | ||
26a6e439 JPW |
16592 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
16593 | ||
16594 | * keymap.c (map_keymap): Don't abort when binding is a vector. | |
16595 | ||
0d4c2dc2 JR |
16596 | 2003-10-02 Jason Rumney <jasonr@gnu.org> |
16597 | ||
854c1a59 SM |
16598 | * makefile.w32-in (emacs.o, coding.o, bytecode.o): |
16599 | Sync dependencies with Makefile.in. | |
a63cf46f JR |
16600 | (alloca.o): Remove. |
16601 | ||
0d4c2dc2 JR |
16602 | * w32fns.c (w32_load_system_font): Clear all members of FONTP before |
16603 | filling them. | |
16604 | ||
16605 | * w32bdf.c (w32_load_bdf_font): Likewise. | |
16606 | ||
ab8f7d5c RS |
16607 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
16608 | ||
16609 | * term.c (set_tty_color_mode): Calculate current_mode_spec | |
16610 | regardless of value of VAL. | |
16611 | ||
854c1a59 | 16612 | * intervals.c (graft_intervals_into_buffer): |
ab8f7d5c RS |
16613 | Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
16614 | Handle over_used when splitting UNDER. | |
16615 | ||
c6605d63 | 16616 | 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ab8f7d5c RS |
16617 | |
16618 | * regex.c (regex_compile): Free the stack when returning from function. | |
16619 | ||
3413f972 KH |
16620 | 2003-09-28 Kenichi Handa <handa@m17n.org> |
16621 | ||
16622 | * fontset.c (Finternal_char_font): Change return value to | |
16623 | cons (FONT-NAME . GLYPH-CODE). | |
16624 | ||
a6eeaa81 | 16625 | 2003-09-28 Eli Zaretskii <eliz@gnu.org> |
40409f05 EZ |
16626 | |
16627 | * term.c (tty_setup_colors): Treat any negative argument as -1. | |
16628 | ||
f98ddc99 KH |
16629 | 2003-09-27 Gaute B Strokkenes <biggaute@uwc.net> (tiny change) |
16630 | ||
16631 | * process.c (send_process): Delete unused temp_buf. | |
16632 | ||
66c8f1a8 DL |
16633 | 2003-09-26 Dave Love <fx@gnu.org> |
16634 | ||
16635 | * xterm.c (x_bitmap_mask): Declare. | |
16636 | ||
ca716c26 DL |
16637 | 2003-09-25 Dave Love <fx@gnu.org> |
16638 | ||
16639 | * Makefile.in (fns.o): Depend on md5.h. | |
16640 | ||
fbe57420 KS |
16641 | 2003-09-25 Kim F. Storm <storm@cua.dk> |
16642 | ||
16643 | * window.c (set_window_buffer): Fix redisplay problems when | |
16644 | switching between buffers with different display margin widths. | |
16645 | ||
ef6ae4ff KS |
16646 | 2003-09-23 Kim F. Storm <storm@cua.dk> |
16647 | ||
16648 | * process.c (set_socket_option): Fix :bindtodevice option. | |
16649 | (Fset_network_process_option): Update process contact list when | |
16650 | setting option succeeds. | |
16651 | (Fmake_network_process): Doc fix. | |
16652 | ||
68e03c1c DL |
16653 | 2003-09-23 Dave Love <fx@gnu.org> |
16654 | ||
7146d1c1 | 16655 | * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. |
68e03c1c | 16656 | |
a6eeaa81 | 16657 | 2003-09-22 Eli Zaretskii <eliz@gnu.org> |
2f809aae EZ |
16658 | |
16659 | * term.c (set_tty_color_mode): Use INTEGERP to test whether a | |
16660 | color mode is an integer number (it could be -1). | |
16661 | ||
8fe7d8c8 RS |
16662 | 2003-09-22 Richard M. Stallman <rms@gnu.org> |
16663 | ||
16664 | * intervals.c (graft_intervals_into_buffer): Correct the main loop | |
16665 | in the case where OVER is longer than UNDER. | |
16666 | ||
2f71b5ea MY |
16667 | 2003-09-22 Masatake YAMATO <jet@gyve.org> |
16668 | ||
7146d1c1 | 16669 | * window.c (Fset_window_scroll_bars): Validate the value of |
2f71b5ea | 16670 | `vertical_type'. |
7146d1c1 | 16671 | |
0c4da023 KS |
16672 | 2003-09-21 Kim F. Storm <storm@cua.dk> |
16673 | ||
16674 | * frame.c (Vdefault_frame_scroll_bars): New variable. | |
16675 | (x_set_vertical_scroll_bars): Use it instead of hardcoded values. | |
16676 | (syms_of_frame): DEFVAR_LISP it, and initialize according to | |
16677 | window-system default scroll bar position. | |
16678 | ||
b648413b KS |
16679 | * window.c (Fwindow_scroll_bars): Doc fix. |
16680 | ||
8f5b9e34 JD |
16681 | 2003-09-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16682 | ||
854c1a59 | 16683 | * xterm.c (x_set_offset): Take window manager decorations into account. |
8f5b9e34 | 16684 | |
b0f23edf RS |
16685 | 2003-09-19 Richard M. Stallman <rms@gnu.org> |
16686 | ||
16687 | * atimer.h: Don't include lisp.h. | |
16688 | (P_): Define it here (as well as elsewhere). | |
16689 | ||
16690 | * print.c (Fprin1_to_string): Move the PRINTPREPARE | |
16691 | later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. | |
16692 | ||
16693 | * data.c (Fvariable_binding_locus): New function. | |
16694 | (syms_of_data): defsubr it. | |
16695 | (Flocal_variable_p): Delete duplicate call to indirect_variable. | |
16696 | ||
e1283999 DL |
16697 | 2003-09-18 Dave Love <fx@gnu.org> |
16698 | ||
ad5f3636 DL |
16699 | * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. |
16700 | ||
e1283999 DL |
16701 | * process.c (Fnetwork_interface_info): Fix type error. |
16702 | (Fnetwork_interface_list): Doc fix. | |
16703 | (read_process_output, read_process_output): Delete unused var. | |
16704 | ||
b8c7fd71 KS |
16705 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
16706 | ||
16707 | * process.c (Fnetwork_interface_list, Fnetwork_interface_info): | |
16708 | Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. | |
16709 | (Fnetwork_interface_info): Check that ifreq struct has required | |
16710 | fields before accessing them; this requires that those fields are | |
16711 | defined as macros, which may be too restrictive on some platforms, | |
16712 | but it is better than failing on other platforms. | |
16713 | (syms_of_process): Only defsubr above fns when included. | |
16714 | ||
11e0a411 DL |
16715 | 2003-09-17 Dave Love <fx@gnu.org> |
16716 | ||
16717 | * unexalpha.c: Don't include varargs.h. | |
16718 | ||
e9c50801 KS |
16719 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
16720 | ||
16721 | * process.c (Fset_process_sentinel): Add sentinel to childp plist | |
16722 | for network process. | |
16723 | (socket_options): Add `:' prefix to option names. Add optbit field. | |
16724 | (set_socket_option): Remove no_error arg and special handling of s < 0. | |
16725 | Return 1<<optbit for known option, 0 for unknown. | |
16726 | Do not interpret 0 as false for boolean option (only nil). | |
16727 | Pass failed option and value to report_file_error. | |
7146d1c1 | 16728 | (Fset_network_process_options): Replace by Fset_network_process_option. |
e9c50801 KS |
16729 | (Fset_network_process_option): New function to set just one option. |
16730 | (Fmake_network_process): Allow :coding arg to be a cons. | |
16731 | Allow :server arg to be an integer specifying backlog size. | |
16732 | Remove :options arg, and allow options to be specified directly | |
16733 | as :KEY, VALUE pairs. Parse these options before binding socket. | |
16734 | As before, :reuseaddr t is default for a server process, but this | |
16735 | can now be disabled by specifying :reuseaddr nil. | |
16736 | (Fnetwork_interface_info): Rename from Fget_network_interface_info. | |
16737 | (init_process): Availability of network options is now checked with | |
16738 | simpler syntax (featurep 'make-network-process :OPTION); use loop to | |
16739 | setup features. | |
16740 | (syms_of_process): Fix defsubr's for the replaced functions. | |
16741 | ||
a0fc3644 DL |
16742 | 2003-09-16 Dave Love <fx@gnu.org> |
16743 | ||
16744 | * Makefile.in: Depend on coding.h. | |
16745 | ||
6df2a645 KS |
16746 | 2003-09-14 Kim F. Storm <storm@cua.dk> |
16747 | ||
16748 | * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. | |
16749 | (Fnetwork_interface_list, Fget_network_interface_info): New defuns. | |
16750 | (syms_of_process): Defsubr them. | |
16751 | ||
16752 | * config.in: Regenerate. | |
7146d1c1 SM |
16753 | |
16754 | 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
16755 | ||
16756 | * m/sr2k.h (XMARKBIT, XUNMARK): Remove. | |
16757 | * m/news-r6.h (XUNMARK): Remove. | |
16758 | * m/mips.h (XUNMARK): Remove. | |
16759 | * m/mips-siemens.h (XUNMARK): Remove. | |
16760 | * m/iris4d.h (XUNMARK): Remove. | |
16761 | * m/hp800.h (XMARKBIT, XUNMARK): Remove. | |
16762 | ||
0930c1a1 SM |
16763 | 2003-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
16764 | ||
31003b9e SM |
16765 | * lisp.h (VALBITS): Don't remove 1 for the markbit. |
16766 | (union Lisp_Object): Use unsigned int for types. Remove markbit. | |
16767 | (MARKBIT): Remove 1 from VALBITS so we still use same old val. | |
16768 | (XTYPE): Use unsigned right-shift. | |
16769 | (XMARKBIT, XMARK, XUNMARK): Remove. | |
16770 | ||
0930c1a1 SM |
16771 | * alloc.c (init_intervals, init_symbol, init_marker): |
16772 | Don't preallocate anything. | |
16773 | (Fgarbage_collect, mark_object): Ignore the markbit. | |
16774 | ||
16775 | * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. | |
16776 | ||
19bb0fcd | 16777 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
5df034de LK |
16778 | |
16779 | * xdisp.c (pint2hrstr): New function. | |
16780 | (decode_mode_spec): Add `%i' and `%I' specs. | |
16781 | * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs | |
16782 | for `mode-line-format'. | |
16783 | ||
03bb6a06 AS |
16784 | 2003-09-07 Andreas Schwab <schwab@suse.de> |
16785 | ||
16786 | * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to | |
16787 | avoid warning. | |
16788 | ||
a6eeaa81 | 16789 | 2003-09-07 Eli Zaretskii <eliz@gnu.org> |
2063d89c | 16790 | |
0930c1a1 | 16791 | * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. |
2063d89c | 16792 | |
ed159bbf KS |
16793 | 2003-09-03 Kim F. Storm <storm@cua.dk> |
16794 | ||
16795 | * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 | |
16796 | change (superseded by 2002-08-30 change); the default blink-off | |
16797 | cursor is now again "no cursor". | |
16798 | ||
fe64a394 JR |
16799 | 2003-09-01 Jason Rumney <jasonr@gnu.org> |
16800 | ||
16801 | * makefile.w32-in (alloca.o): Remove. | |
16802 | (coding.o): Depend on intervals.h | |
16803 | (emacs.o, bytecode.o): Depend on window.h | |
16804 | ||
c0175e24 DL |
16805 | 2003-09-01 Dave Love <fx@gnu.org> |
16806 | ||
16807 | * Makefile.in (alloca.o): Remove commands. | |
16808 | (coding.o): Depend on intervals.h composite.h window.h. | |
16809 | (emacs.o): Depend on window.h keyboard.h keymap.h. | |
16810 | (gtkutil.o): Depend on keyboard.h charset.h coding.h. | |
16811 | (bytecode.o): Depend on window.h. | |
16812 | ||
a24d4cb2 JR |
16813 | 2003-08-31 Jason Rumney <jasonr@gnu.org> |
16814 | ||
4bc2315e JR |
16815 | * w32term.c (w32_per_char_metric): Allow cached metrics to be |
16816 | returned even when font_type is unknown. | |
16817 | ||
a24d4cb2 JR |
16818 | * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. |
16819 | ||
9d35adc7 JD |
16820 | 2003-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16821 | ||
16822 | * xterm.c (x_term_init): Initialize new fields in x_display_info. | |
16823 | ||
16824 | * xterm.h (struct x_display_info): Add red/green/blue_bits and | |
16825 | *_offset. | |
16826 | ||
16827 | * xfns.c (lookup_rgb_color): Use new fields in x_display_info to | |
16828 | calculate pixel value. | |
16829 | ||
6f68b035 GM |
16830 | 2003-08-29 Gerd Moellmann <gerd.moellmann@t-online.de> |
16831 | ||
0930c1a1 SM |
16832 | * xdisp.c (redisplay_internal): Fix change of 2003-04-30. |
16833 | Don't tell redisplay display is accurate when it's actually been | |
16834 | paused for pending input. | |
6f68b035 | 16835 | |
4828b4d7 RS |
16836 | 2003-08-29 Richard M. Stallman <rms@gnu.org> |
16837 | ||
16838 | * dispnew.c (adjust_glyph_matrix): Call window_box | |
16839 | whenever W is nonzero. | |
16840 | ||
16841 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
16842 | (Fkill_local_variable, Fmake_variable_frame_local) | |
0930c1a1 | 16843 | (Flocal_variable_p, Flocal_variable_if_set_p): |
4828b4d7 RS |
16844 | Use indirect_variable to trace thru variable aliases. |
16845 | ||
16846 | * config.in: Updated. | |
16847 | ||
16848 | * callint.c (Fcall_interactively): Save and restore | |
16849 | Vthis_command, Vthis_original_command, real_this_command, | |
16850 | and current_kboard->Vlast_command. | |
16851 | ||
16852 | * abbrev.c (Fexpand_abbrev): Insert before deleting. | |
16853 | ||
e019878d GM |
16854 | 2003-08-29 Gerd Moellmann <gerd@gnu.org> |
16855 | ||
16856 | * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. | |
16857 | ||
85478bc6 KH |
16858 | 2003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change) |
16859 | ||
0930c1a1 | 16860 | * coding.c (decode_coding_iso2022): Initialize local variable c2. |
85478bc6 KH |
16861 | (decode_coding_sjis_big5): Likewise. |
16862 | ||
07ce82d3 JR |
16863 | 2003-08-27 Jason Rumney <jasonr@gnu.org> |
16864 | ||
d3703de3 JR |
16865 | * w32.c (sys_pipe): Protect against file descriptor overflow. |
16866 | ||
ee4a01d1 JR |
16867 | * w32fns.c (syms_of_w32fns): Remove non-existent functions. |
16868 | ||
07ce82d3 JR |
16869 | * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. |
16870 | ||
a64387ee | 16871 | 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no> |
72d19c66 LK |
16872 | |
16873 | * xfns.c (Vgtk_version_string): New variable. | |
16874 | (syms_of_xfns): DEFVAR_LISP it. Provide gtk. | |
16875 | ||
a6eeaa81 | 16876 | 2003-08-24 Eli Zaretskii <eliz@gnu.org> |
5459e42a | 16877 | |
0930c1a1 | 16878 | * term.c (term_init): Remove `const' from buffer_size's declaration. |
3d8714e7 | 16879 | |
5459e42a EZ |
16880 | * Makefile.in (msdos.o): Depend on intervals.h. |
16881 | ||
0930c1a1 | 16882 | * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. |
5459e42a | 16883 | |
231d6cfb JD |
16884 | 2003-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16885 | ||
16886 | * xterm.h (struct x_display_info): New fields: client_leader_window | |
16887 | and Xatom_wm_client_leader. | |
16888 | ||
16889 | * xterm.c (x_initialize): Move call to x_session_initialize to ... | |
16890 | (x_term_init): ... here. Initialize client_leader fields in dpyinfo. | |
16891 | ||
16892 | * xsmfns.c (create_client_leader_window): New function. | |
16893 | (x_session_initialize): Call create_client_leader_window, take | |
16894 | dpyinfo as argument. | |
16895 | ||
16896 | * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. | |
16897 | ||
16898 | * Makefile.in (xsmfns.o): Add more depenedencies. | |
16899 | ||
afa88464 DL |
16900 | 2003-08-21 Dave Love <fx@gnu.org> |
16901 | ||
16902 | * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. | |
16903 | ||
f730033e KH |
16904 | 2003-08-21 Kenichi Handa <handa@m17n.org> |
16905 | ||
16906 | * term.c (term_init): Fix previous change; don't rely on the | |
16907 | length of `buffer' if TERMINFO is defined. | |
16908 | ||
6dca786c DL |
16909 | 2003-08-20 Dave Love <fx@gnu.org> |
16910 | ||
16911 | * atimer.h: Include lisp.h. | |
16912 | ||
16913 | * lisp.h (EMACS_LISP_H): New. | |
16914 | (popup_activated_flag): Don't declare. | |
16915 | ||
16916 | * alloca.c: Some merging with gnulib. Change logic and doc | |
16917 | concerning (x)malloc/(x)free -- no longer Emacs-specific. | |
16918 | [DO_BLOCK_INPUT]: Don't include lisp.h. | |
16919 | (xmalloc, xfree): Declare. | |
16920 | (malloc): Don't declare. | |
16921 | ||
0930c1a1 | 16922 | * Makefile.in (LWLIB_OPTIONS): Remove (unused). |
6dca786c DL |
16923 | (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on |
16924 | atimer.h, blockinput.h. | |
16925 | ||
16926 | * alloc.c (lisp_align_malloc): Change type of `aligned'. | |
16927 | ||
78819ebb | 16928 | * alloca.s: Remove. |
6dca786c | 16929 | |
3a06a6d9 RS |
16930 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
16931 | ||
16932 | * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, | |
16933 | use -lncurses. | |
16934 | ||
16935 | * term.c (term_init): Use a buffer of size 4096 for tgetent since | |
16936 | FreeBSD returns something longer than 2044. Abort if the end of | |
16937 | the buffer is overwritten. | |
16938 | ||
27eeee55 MB |
16939 | 2003-08-19 Miles Bader <miles@gnu.org> |
16940 | ||
16941 | * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. | |
16942 | ||
2f297815 GM |
16943 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
16944 | ||
f4446bbf GM |
16945 | * alloc.c (lisp_align_malloc): Check for memory full when |
16946 | allocating ablocks, which also avoids freeing a pointer into an | |
16947 | ablocks structure. | |
16948 | ||
16949 | * puresize.h (BASE_PURESIZE): Increase to 1100000. | |
16950 | ||
0930c1a1 | 16951 | * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. |
2f297815 | 16952 | |
0e7d7aae RS |
16953 | 2003-08-16 Richard M. Stallman <rms@gnu.org> |
16954 | ||
16955 | * editfns.c (Fencode_time): Doc fix. | |
16956 | ||
16957 | 2003-08-16 David Ponce <david@dponce.com> | |
16958 | ||
16959 | * fileio.c (Fwrite_region): Fix conditional expression to issue | |
16960 | the right message. | |
16961 | ||
b6189c3b | 16962 | 2003-08-16 Juri Linkov <juri@jurta.org> |
0e7d7aae RS |
16963 | |
16964 | * syntax.c (Fforward_word): Argument changed to optional. | |
0930c1a1 | 16965 | Set default value to 1. |
0e7d7aae | 16966 | |
5d551295 KH |
16967 | 2003-08-15 Kenichi Handa <handa@m17n.org> |
16968 | ||
16969 | * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not | |
16970 | what autoscaled. | |
16971 | (best_matching_font): Once we find a better scalable font, set | |
16972 | non_scalable_has_exact_height_p to 1. | |
16973 | (try_font_list): Call try_alternative_families to try any family | |
16974 | with the given registry. | |
16975 | ||
1661e56b AS |
16976 | 2003-08-09 Andreas Schwab <schwab@suse.de> |
16977 | ||
f29181dc AS |
16978 | * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. |
16979 | ||
1661e56b AS |
16980 | * print.c (print_string): Fix printing of multibyte string with |
16981 | nontrivial printcharfun. | |
16982 | ||
465aa50a JD |
16983 | 2003-07-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16984 | ||
16985 | * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. | |
16986 | ||
16987 | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. | |
16988 | ||
e430e5ba KH |
16989 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
16990 | ||
16991 | * process.c (read_process_output): Return the actually read bytes | |
16992 | instead of the result of decoding. | |
16993 | ||
97e7188e KH |
16994 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
16995 | ||
16996 | * xterm.h (struct x_bitmap_record): New member have_mask. | |
16997 | ||
16998 | * xfns.c (x_create_bitmap_from_data): Initialize have_mask member | |
16999 | to 0. | |
17000 | (x_create_bitmap_from_file): Likewise. | |
17001 | (x_destroy_bitmap): Check have_mask member before freeing a mask. | |
17002 | (x_destroy_all_bitmaps): Likewise. | |
17003 | (x_create_bitmap_mask): Set have_mask member to 1. | |
17004 | ||
b53094d6 RS |
17005 | 2003-07-30 Richard M. Stallman <rms@gnu.org> |
17006 | ||
17007 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. | |
17008 | ||
631f2082 JD |
17009 | 2003-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17010 | ||
17011 | * gtkutil.c (xg_mark_data): Update calls to mark_object. | |
17012 | ||
c855f2ca RS |
17013 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
17014 | ||
17015 | * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): | |
17016 | Conditionalize XIM code on HAVE_XIM. | |
17017 | ||
17018 | * fns.c (Fclear_string): New function. | |
17019 | (syms_of_fns): defsubr it. | |
17020 | ||
b6189c3b | 17021 | 2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
17e6d491 | 17022 | |
0930c1a1 | 17023 | * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. |
17e6d491 | 17024 | |
29ea8ae9 SM |
17025 | 2003-07-22 Stefan Monnier <monnier@cs.yale.edu> |
17026 | ||
17027 | * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. | |
17028 | ||
17029 | * buffer.c (delete_all_overlays): New function. | |
17030 | * buffer.h (delete_all_overlays): Declare. | |
17031 | * coding.c (run_pre_post_conversion_on_str): | |
17032 | * print.c (temp_output_buffer_setup): | |
17033 | * fileio.c (Finsert_file_contents): | |
17034 | * minibuf.c (get_minibuffer): Use it. | |
17035 | ||
1dd7ccf2 AC |
17036 | 2003-07-22 Andrew Choi <akochoi@shaw.ca> |
17037 | ||
17038 | * unexmacosx.c (unexec_regions_sort_compare): | |
17039 | (unexec_regions_merge): New functions. Sort and merge unexec | |
17040 | regions before dumping them. | |
17041 | ||
f57bd967 DL |
17042 | 2003-07-22 Dave Love <fx@gnu.org> |
17043 | ||
17044 | * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. | |
17045 | ||
7cdee936 SM |
17046 | 2003-07-21 Stefan Monnier <monnier@cs.yale.edu> |
17047 | ||
17048 | * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) | |
17049 | (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than | |
17050 | MARKBIT as the gcmarkbit for strings. | |
17051 | ||
e50886d3 RS |
17052 | 2003-07-21 Richard M. Stallman <rms@gnu.org> |
17053 | ||
17054 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. | |
17055 | ||
29ea8ae9 | 17056 | * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. |
e50886d3 RS |
17057 | (syms_of_fns): Corresponding change. |
17058 | ||
17059 | * alloc.c (syms_of_alloc): Doc fixes. | |
17060 | ||
17061 | 2003-07-20 Han Boetes <han@mijncomputer.nl> (tiny change) | |
17062 | ||
17063 | * s/netbsd.h: Use -Wl syntax. | |
17064 | ||
fdc39b59 RS |
17065 | 2003-07-17 Richard M. Stallman <rms@gnu.org> |
17066 | ||
17067 | * xterm.c (xim_initialize): Redo 6/24 change. | |
17068 | ||
9c53385f SM |
17069 | 2003-07-15 Stefan Monnier <monnier@cs.yale.edu> |
17070 | ||
17071 | * buffer.c (copy_overlays): Use EMACS_INT for positions. | |
17072 | (Fswitch_to_buffer): Don't signal an error when switching to the same | |
17073 | buffer in a dedicated window. | |
17074 | ||
17075 | * alloc.c: Use bitmaps for cons, as was done for floats. | |
17076 | (init_float, init_cons): Let the normal code allocate the first block. | |
17077 | (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. | |
17078 | (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): | |
17079 | New macros. | |
17080 | (struct cons_block): Move conses to the beginning. Add gcmarkbits. | |
17081 | (Fcons): Use lisp_align_malloc and CONS_UNMARK. | |
17082 | (live_cons_p): Check the pointer is not past the `conses' array. | |
17083 | (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. | |
17084 | (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. | |
17085 | (survives_gc_p): Use CONS_MARKED_P and simplify. | |
17086 | (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. | |
17087 | ||
dde13196 PE |
17088 | 2003-07-13 Paul Eggert <eggert@twinsun.com> |
17089 | ||
17090 | GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it | |
17091 | puts it into BSS instead, at least on Solaris 8 and 9. | |
17092 | This is a valid optimization, and it may occur on other platforms, | |
17093 | so Emacs should not assume that initializing a static variable to | |
17094 | zero puts it into data. | |
17095 | * alloc.c (pure, staticvec): | |
17096 | Initialize these arrays to nonzero, so that they're not | |
17097 | put into BSS by that optimization. | |
17098 | ||
a801bc34 SM |
17099 | 2003-07-13 Stefan Monnier <monnier@cs.yale.edu> |
17100 | ||
17101 | * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. | |
17102 | (lisp_align_malloc): Use posix_memalign is available. | |
17103 | (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. | |
17104 | (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK | |
17105 | for consistency. Update users. | |
17106 | ||
0c8b2afa RS |
17107 | 2003-07-13 Richard M. Stallman <rms@gnu.org> |
17108 | ||
17109 | * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. | |
17110 | ||
668c2ab0 JB |
17111 | 2003-07-13 Terje Rosten <terjeros@phys.ntnu.no> |
17112 | ||
9dd28cae | 17113 | * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, |
668c2ab0 JB |
17114 | and use the Gtk+ function gtk_window_icon_from_file if available. |
17115 | ||
17116 | * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to | |
17117 | handle mask of bitmaps. | |
17118 | (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the | |
17119 | mask property. | |
17120 | (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. | |
17121 | ||
17122 | * xterm.h (xg_set_icon): New function. | |
17123 | ||
800bebe3 RS |
17124 | 2003-07-12 Paul Eggert <eggert@twinsun.com> |
17125 | ||
17126 | * unexelf.c (unexec): Consider a section to precede the .bss | |
17127 | section if its addresses overlap that of .bss. | |
17128 | ||
69e38995 RS |
17129 | 2003-07-12 Richard M. Stallman <rms@gnu.org> |
17130 | ||
17131 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. | |
17132 | ||
17133 | * config.in (HAVE_CRTIN): Add #undef. | |
17134 | (INLINE): Really inline only if OPTIMIZE is defined. | |
17135 | ||
17136 | * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, | |
17137 | END_FILES_1. | |
17138 | (START_FILES_1, END_FILES_1): New macros (conditional). | |
a801bc34 | 17139 | (LD_SWITCH_SYSTEM_TEMACS): Define. |
69e38995 RS |
17140 | |
17141 | * s/openbsd.h: Don't include bsd4-3.h. | |
a801bc34 SM |
17142 | (TERMINFO): Define. |
17143 | (LIBS_TERMCAP): Define. | |
17144 | (LD_SWITCH_SYSTEM): Define (two definitions). | |
69e38995 RS |
17145 | |
17146 | * xfns.c: Include libpng/png.h instead of png.h. | |
17147 | ||
f1d0c238 AS |
17148 | 2003-07-11 Andreas Schwab <schwab@suse.de> |
17149 | ||
17150 | * buffer.c (modify_overlay): Update prototype. | |
17151 | * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): | |
17152 | Likewise. | |
17153 | ||
5f6bf5fe SM |
17154 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
17155 | ||
17156 | * lisp.h (VALBITS): Define in terms of GCTYPEBITS. | |
17157 | (struct interval): Move to intervals.h. | |
17158 | (struct Lisp_Marker): Use EMACS_INT for position info. | |
17159 | (forward_point): Remove prototype of defunct function. | |
17160 | (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) | |
17161 | (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) | |
17162 | (syms_of_textprop, set_text_properties): Remove prototypes that are | |
17163 | already in intervals.h. | |
17164 | ||
17165 | * intervals.h (struct interval): Move from lisp.h. | |
17166 | Use EMACS_INT for position and size info. | |
17167 | ||
17168 | * coding.c: Include intervals.h for Fset_text_properties. | |
17169 | ||
17170 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
17171 | position and length information. | |
17172 | ||
2765b457 SM |
17173 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
17174 | ||
17175 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
17176 | position and length information. | |
17177 | ||
2410d73a SM |
17178 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
17179 | ||
17180 | Change overlays_after and overlays_before so the overlays themselves | |
17181 | are linked into lists, rather than using cons cells. After all each | |
17182 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | |
17183 | Lisp_Overlay for free and save up one cons cell per overlay (not | |
17184 | to mention one indirection when traversing the list of overlay). | |
17185 | ||
17186 | * lisp.h (struct Lisp_Overlay): New field `next'. | |
17187 | ||
17188 | * buffer.h (struct buffer): Change overlays_before and overlays_after | |
17189 | from Lisp lists of overlays to pointers to overlays. | |
17190 | ||
17191 | * buffer.c (overlay_strings, recenter_overlay_lists): | |
17192 | Fix typo in eassert in last commit. | |
17193 | (unchain_overlay): New function. | |
17194 | (add_overlay_mod_hooklist): Use AREF. | |
17195 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | |
17196 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | |
17197 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | |
17198 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | |
17199 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | |
17200 | Adjust to new type of overlays_(before|after). | |
17201 | ||
17202 | * alloc.c (mark_object): Mark the new `next' field of overlays. | |
17203 | (mark_buffer): Manually mark the overlays_(after|before) fields. | |
17204 | ||
17205 | * coding.c (run_pre_post_conversion_on_str): | |
17206 | * editfns.c (overlays_around): | |
17207 | * xdisp.c (load_overlay_strings): | |
17208 | * fileio.c (Finsert_file_contents): | |
17209 | * indent.c (current_column): | |
17210 | * insdel.c (signal_before_change, signal_after_change): | |
17211 | * intervals.c (set_point_both): | |
17212 | * print.c (temp_output_buffer_setup): Use new type for | |
17213 | overlays_(before|after). | |
17214 | ||
04812929 SM |
17215 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
17216 | ||
17217 | * buffer.c (report_overlay_modification): Don't run hooks while | |
17218 | traversing the list of overlays. | |
17219 | ||
17220 | * buffer.h (struct buffer): Use an int for overlay_center. | |
17221 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
17222 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
17223 | ||
17224 | * buffer.c (reset_buffer, recenter_overlay_lists) | |
17225 | (adjust_overlays_for_insert, adjust_overlays_for_delete) | |
17226 | (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) | |
17227 | (evaporate_overlays, init_buffer_once): Update use of overlay_center. | |
17228 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
17229 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
17230 | ||
17231 | * xdisp.c (fast_find_position): Remove unused var. | |
17232 | ||
17233 | * cmds.c (Qexpand_abbrev): New sym. | |
17234 | (syms_of_cmds): Initialize it. | |
17235 | (internal_self_insert): Use it to call expand-abbrev. | |
17236 | ||
2e7ecf15 KS |
17237 | 2003-07-09 Kim F. Storm <storm@cua.dk> |
17238 | ||
f9711de4 | 17239 | * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs |
2e7ecf15 | 17240 | was configured with --without-xim. |
42f81f64 | 17241 | (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. |
2e7ecf15 | 17242 | |
c6de56a0 RS |
17243 | 2003-07-07 Richard M. Stallman <rms@gnu.org> |
17244 | ||
17245 | * xdisp.c (reseat_1): Set it->area to TEXT_AREA. | |
17246 | ||
17247 | * alloc.c (Fgarbage_collect): Doc fix. | |
17248 | ||
b6189c3b | 17249 | 2003-07-07 Nozomu Ando <nand@mac.com> |
b93fb365 KH |
17250 | |
17251 | * buffer.c (Fkill_buffer): Clear charpos cache if necessary. | |
17252 | ||
bfe1a3f7 SM |
17253 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
17254 | ||
04812929 SM |
17255 | * minibuf.c (read_minibuf): UNGCPRO before returning. |
17256 | (Ftry_completion, Fall_completions): Doc fix. | |
17257 | ||
bfe1a3f7 SM |
17258 | * alloc.c (live_float_p): Check that p is not past the `floats' array, |
17259 | now that `floats' is not the last element of the struct any more. | |
17260 | ||
ee79d1aa JR |
17261 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
17262 | ||
17263 | * w32term.h (ClipboardSequence_Proc): New type. | |
17264 | ||
17265 | * w32fns.c (clipboard_sequence_fn): New variable. | |
17266 | (globals_of_w32fns): Initialize it. | |
17267 | ||
17268 | * w32select.c (last_clipboard_sequence_number): New variable. | |
17269 | (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence | |
17270 | number if possible. | |
17271 | ||
49723c04 SM |
17272 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
17273 | ||
4698665f SM |
17274 | * m/amdx86-64.h (MARKBIT): |
17275 | * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare | |
17276 | MARKBIT and ARRAY_MARK_FLAG any more. | |
17277 | ||
17278 | * m/hp800.h (XSETMARKBIT): | |
17279 | * m/sr2k.h (XSETMARKBIT): | |
17280 | * lisp.h (XSETMARKBIT): Remove unused macro. | |
17281 | ||
49723c04 SM |
17282 | * lisp.h (mark_object): Change prototype. |
17283 | ||
17284 | * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. | |
17285 | (last_marked): Change accordingly. | |
17286 | (mark_interval, mark_maybe_object, mark_maybe_pointer) | |
17287 | (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) | |
17288 | (mark_buffer): Update calls to mark_object. | |
17289 | ||
17290 | * bytecode.c (mark_byte_stack): | |
17291 | * fns.c (sweep_weak_table): | |
17292 | * keyboard.c (mark_kboards): Update calls to mark_object. | |
17293 | ||
1d660eca JR |
17294 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
17295 | ||
17296 | * alloc.c (struct ablock): Only include padding when there is some. | |
17297 | ||
618b5ae4 SM |
17298 | 2003-07-04 Stefan Monnier <monnier@cs.yale.edu> |
17299 | ||
17300 | * alloc.c (ALIGN): Add casts to simplify usage. | |
17301 | (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) | |
17302 | (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. | |
17303 | (struct ablock, struct ablocks): New types. | |
17304 | (free_ablock): New global var. | |
17305 | (lisp_align_malloc, lisp_align_free): New functions. | |
17306 | (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. | |
17307 | (struct float_block): Reorder and add gcmarkbits. | |
17308 | (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) | |
17309 | (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. | |
17310 | (init_float, make_float): Use lisp_align_malloc. | |
17311 | (free_float, live_float_p): Don't use `type' any more. | |
17312 | (make_float): Use FLOAT_UNMARK to access to mark bit. | |
17313 | (mark_maybe_object, mark_maybe_pointer, survives_gc_p): | |
17314 | Use FLOAT_MARKED_P to access the mark bit. | |
17315 | (pure_alloc): Simplify use of ALIGN. | |
17316 | (mark_object): Use FLOAT_MARK to access the mark bit. | |
17317 | (gc_sweep): Use new macros to access the float's mark bit. | |
17318 | (init_alloc_once): Init free_ablock. | |
17319 | ||
17320 | * lisp.h (struct Lisp_Float): Remove unused field `type'. | |
17321 | ||
3ef06d12 SM |
17322 | 2003-06-27 Stefan Monnier <monnier@cs.yale.edu> |
17323 | ||
17324 | * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. | |
17325 | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). | |
17326 | (allocate_buffer): Move. | |
17327 | (string_bytes): Don't mask markbit of `size_byte'. | |
17328 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
17329 | (mark_object, mark_buffer, survives_gc_p, gc_sweep): | |
17330 | Use the `size' field of buffers (rather than the `name' field) for | |
17331 | the mark bit, as is done for all other vectorlike objects. | |
17332 | Use the new macros to access the mark bit of vectorlike objects. | |
17333 | ||
e81043aa RS |
17334 | 2003-06-26 Richard M. Stallman <rms@gnu.org> |
17335 | ||
17336 | * puresize.h (BASE_PURESIZE): Increment base size. | |
17337 | ||
17338 | * xdisp.c (fast_find_position): Enable Gerd's new definition. | |
17339 | ||
17340 | * xterm.c (xim_initialize): Undo previous change. | |
17341 | ||
2d0834cc SM |
17342 | 2003-06-26 Stefan Monnier <monnier@cs.yale.edu> |
17343 | ||
17344 | * alloc.c (survives_gc_p): Simplify. | |
17345 | ||
17346 | * buffer.c (set_buffer_internal_1): Test CONSP for lists. | |
17347 | ||
17348 | * window.c (Fset_window_dedicated_p): Simplify. | |
17349 | (display_buffer_1): Don't raise the win from which minibuf was entered. | |
17350 | (temp_output_buffer_show): Don't assume BEG == 1. Simplify. | |
17351 | (Fminibuffer_selected_window): Simplify. | |
17352 | ||
17353 | * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. | |
17354 | ||
17355 | * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. | |
17356 | (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. | |
17357 | ||
17358 | * insdel.c (check_markers, adjust_markers_for_delete) | |
17359 | (adjust_markers_for_insert, adjust_markers_for_replace) | |
17360 | (prepare_to_modify_buffer, RESTORE_VALUE): | |
17361 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) | |
17362 | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) | |
17363 | (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): | |
17364 | * alloc.c (Fmake_marker, free_marker, gc_sweep): | |
17365 | * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): | |
17366 | * editfns.c (save_excursion_restore, transpose_markers): | |
17367 | * window.c (delete_window): | |
17368 | * xdisp.c (message_dolog): Update for new types. | |
17369 | ||
d54ae3d8 JD |
17370 | 2003-06-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17371 | ||
a5f696ac JD |
17372 | * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. |
17373 | (realize_default_face): Use default_face_done_p for the force_p | |
2d0834cc | 17374 | argument to set_lface_from_font_name. Set default_face_done_p to one. |
a5f696ac JD |
17375 | |
17376 | * frame.c (make_frame): Initialize default_face_done_p. | |
17377 | ||
17378 | * frame.h (struct frame): Add default_face_done_p. | |
17379 | ||
d54ae3d8 JD |
17380 | * config.in: Add XRegisterIMInstantiateCallback_arg6 so it |
17381 | will be defined. | |
17382 | ||
2336fe58 SM |
17383 | 2003-06-25 Stefan Monnier <monnier@cs.yale.edu> |
17384 | ||
17385 | * alloc.c (make_interval, Fmake_symbol, allocate_misc): | |
17386 | Initialize the new field `gcmarkbit'. | |
17387 | (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. | |
17388 | (mark_interval_tree): Don't mark the tree separately from the nodes. | |
17389 | (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. | |
17390 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
17391 | (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. | |
17392 | ||
17393 | * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) | |
17394 | (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) | |
17395 | (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) | |
17396 | (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) | |
17397 | (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. | |
17398 | ||
bcea31c2 DL |
17399 | 2003-06-24 Dave Love <fx@gnu.org> |
17400 | ||
17401 | * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. | |
17402 | ||
17403 | * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes | |
17404 | from gnulib. | |
17405 | ||
2601f59e RS |
17406 | 2003-06-21 Richard M. Stallman <rms@gnu.org> |
17407 | ||
17408 | * fileio.c (Fwrite_region): Alternate messages | |
17409 | for append and partial write. | |
17410 | ||
17411 | * keyboard.c (read_key_sequence): When converting upcase fn key to | |
17412 | downcase, update fkey and keytran so `backspace' gets translated. | |
17413 | ||
17414 | * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. | |
17415 | ||
17416 | * process.c (wait_reading_process_input): Don't signal SIGIO | |
17417 | in batch mode. | |
17418 | ||
b5d2c621 KH |
17419 | 2003-06-17 Kenichi Handa <handa@m17n.org> |
17420 | ||
17421 | * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, | |
17422 | composite.h. | |
17423 | ||
17424 | * xselect.c: Don't include charset.h, coding.h, composite.h. | |
17425 | (Qforeign_selection): New variable. | |
17426 | (syms_of_xselect): Intern and static it. | |
17427 | (selection_data_to_lisp_data): Return a unibyte string made from | |
17428 | data with `foreign-selection' text property. | |
17429 | ||
6793bc63 SM |
17430 | 2003-06-15 Stefan Monnier <monnier@cs.yale.edu> |
17431 | ||
17432 | * termhooks.h (EVENT_INIT): New macro. | |
17433 | ||
17434 | * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. | |
17435 | ||
17436 | * alloc.c (mark_kboards): Move to keyboard.c. | |
17437 | ||
17438 | * keyboard.c (record_asynch_buffer_change, read_avail_input): | |
17439 | * xterm.c (x_dispatch_event): | |
17440 | * xmenu.c (find_and_call_menu_selection): | |
17441 | * xdisp.c (handle_tool_bar_click): | |
17442 | * w32menu.c (menubar_selection_callback): | |
17443 | * sysdep.c (kbd_input_ast, read_input_waiting): | |
17444 | * msdos.c (dos_rawgetc): | |
17445 | * macterm.c (mac_check_for_quit_char): | |
17446 | * macmenu.c (menubar_selection_callback): | |
17447 | * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized | |
17448 | data to kbd_buffer_store_event. | |
17449 | ||
b3ea810c KS |
17450 | 2003-06-15 Kim F. Storm <storm@cua.dk> |
17451 | ||
17452 | * xdisp.c (x_fix_overlapping_area): Always use area relative X | |
6793bc63 | 17453 | to fix redisplay problem with tall characters (such as \e,AC\e(B). |
b3ea810c | 17454 | |
b8f75eda KG |
17455 | 2003-06-13 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
17456 | ||
17457 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | |
17458 | ||
ba92ce48 KH |
17459 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
17460 | ||
17461 | * fileio.c (Fwrite_region): Save and restore restriction. | |
17462 | ||
b80263be DL |
17463 | 2003-06-12 Dave Love <fx@gnu.org> |
17464 | ||
17465 | * alloca.c (alloca): Declare arg as size_t. | |
17466 | ||
6793bc63 SM |
17467 | * sysdep.c: Remove redundant include of unistd.h, stdlib.h. |
17468 | Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. | |
b80263be | 17469 | |
b23c0a83 DL |
17470 | 2003-06-11 Dave Love <fx@gnu.org> |
17471 | ||
17472 | * search.c (shrink_regexp_cache): Use xrealloc. | |
17473 | (syms_of_search): Use xmalloc. | |
17474 | ||
700e47c2 KS |
17475 | 2003-06-10 Kim F. Storm <storm@cua.dk> |
17476 | ||
17477 | * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. | |
17478 | Adjust phys_cursor.x to be relative to window box, rather than | |
17479 | text area before checking -- to ensure cursor is redrawn when | |
17480 | exposing window. | |
17481 | Note: This also fixes a similar (older) bug if display margins | |
17482 | are present. | |
17483 | ||
f11aa0b2 KH |
17484 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
17485 | ||
17486 | * coding.c (encoding_buffer_size): If coding->type is | |
17487 | coding_type_ccl, double magnification on CRLF encoding. | |
17488 | ||
3d143690 JR |
17489 | 2003-06-06 Jason Rumney <jasonr@gnu.org> |
17490 | ||
17491 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. | |
17492 | (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. | |
17493 | ||
17494 | * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and | |
17495 | Mac too. | |
17496 | ||
f16205ca DL |
17497 | 2003-06-05 Dave Love <fx@gnu.org> |
17498 | ||
b23c0a83 DL |
17499 | * strftime.c: Merge changes from gnulib. |
17500 | ||
f16205ca DL |
17501 | * mktime.c (__mktime_internal): Merge changes from gnulib |
17502 | involving year 69 and dst2. | |
17503 | ||
17504 | Changes to merge with gnulib version and be consistent with the | |
17505 | autoconf test: | |
17506 | ||
6793bc63 SM |
17507 | * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. |
17508 | Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. | |
f16205ca DL |
17509 | [HAVE_LOCALE_H]: Include locale.h. |
17510 | (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. | |
17511 | ||
9b87a0bc KS |
17512 | 2003-06-05 Kim F. Storm <storm@cua.dk> |
17513 | ||
17514 | * window.c (coordinates_in_window): Convert X and Y to window | |
17515 | relative coordinates inside mode-line and header-line parts. | |
17516 | Convert X and Y to margin area relative coordinates inside left | |
17517 | and right display margin parts. | |
17518 | ||
5a8a15ec JR |
17519 | 2003-06-05 Jason Rumney <jasonr@gnu.org> |
17520 | ||
17521 | * w32fns.c (add_system_logical_colors_to_map): New function. | |
17522 | (Fx_open_connection): Use it. | |
17523 | ||
01ed8ff1 SM |
17524 | 2003-06-04 Stefan Monnier <monnier@cs.yale.edu> |
17525 | ||
17526 | * process.c (allocate_pty): Revert part of the previous patch. | |
17527 | (Faccept_process_output): Simplify. | |
17528 | ||
b427b65d JR |
17529 | 2003-06-04 Jason Rumney <jasonr@gnu.org> |
17530 | ||
17531 | * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. | |
17532 | ||
17533 | * keyboard.c (Qmouse_wheel, mouse_wheel_syms) | |
17534 | (lispy_mouse_wheel_names): Remove. | |
17535 | (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. | |
17536 | Always define drag_and_drop_syms. | |
17537 | ||
17538 | * macterm.c (XTread_socket): Map mouse wheel events to Emacs | |
17539 | WHEEL_EVENT events. | |
17540 | ||
914a8c47 SM |
17541 | 2003-06-03 Stefan Monnier <monnier@cs.yale.edu> |
17542 | ||
01ed8ff1 SM |
17543 | * xdisp.c (update_tool_bar): Add missing UNGCPRO. |
17544 | ||
914a8c47 SM |
17545 | * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. |
17546 | ||
adcb132c JD |
17547 | 2003-06-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17548 | ||
17549 | * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL | |
17550 | menu item label. | |
17551 | ||
be781fa7 RS |
17552 | 2003-06-03 Richard M. Stallman <rms@gnu.org> |
17553 | ||
17554 | * window.c (Fwindow_edges): Doc fix. | |
17555 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
17556 | (Fwindow_inside_pixel_edges): New functions. | |
17557 | (syms_of_window): defsubr them. | |
17558 | ||
17559 | * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | |
17560 | (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. | |
17561 | ||
914a8c47 SM |
17562 | 2003-06-02 Stefan Monnier <monnier@cs.yale.edu> |
17563 | ||
17564 | * dispnew.c (Fsit_for): Don't lie about the number of args. | |
17565 | ||
5b07197a DL |
17566 | 2003-06-02 Dave Love <fx@gnu.org> |
17567 | ||
17568 | * callproc.c: Use HAVE_FCNTL_H, not USG5. | |
17569 | (syms_of_callproc) <process-environment>: Doc fix. | |
17570 | ||
17571 | * doc.c: Use HAVE_FCNTL_H, not USG5. | |
17572 | ||
17573 | * xfaces.c (font_rescale_ratio): Fix for K&R. | |
17574 | ||
17575 | * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. | |
17576 | ||
17577 | * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. | |
17578 | ||
17579 | * lread.c [HAVE_FCNTL_H]: Include fcntl.h. | |
17580 | ||
17581 | * gtkutil.c: Include keyboard.h, charset.h, coding.h. | |
17582 | (xg_create_frame_widgets): Use ENCODE_UTF_8. | |
17583 | ||
d7107586 | 17584 | * xterm.c (Qutf_8): Move to coding.c |
5b07197a DL |
17585 | |
17586 | * xmenu.c (ENCODE_MENU_STRING): New. | |
17587 | (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): | |
17588 | Use it. | |
17589 | ||
17590 | * coding.h (ENCODE_UTF_8): New. | |
17591 | (Qutf_8): Declare. | |
17592 | ||
17593 | * coding.c (Qutf_8): New. | |
17594 | (syms_of_coding): Intern it. | |
17595 | ||
17596 | * fns.c: Doc fixes. | |
17597 | ||
7335b336 KH |
17598 | 2003-06-02 Kenichi Handa <handa@m17n.org> |
17599 | ||
17600 | * buffer.c (Fset_buffer_multibyte): Fix previous change. | |
17601 | ||
914a8c47 SM |
17602 | 2003-06-01 Stefan Monnier <monnier@cs.yale.edu> |
17603 | ||
17604 | * lread.c (openp): Make sure STR is a string. | |
17605 | ||
9862c135 JR |
17606 | 2003-06-01 David Ponce <david@dponce.com> |
17607 | ||
cab27d04 | 17608 | * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. |
9862c135 JR |
17609 | Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. |
17610 | ||
17611 | * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. | |
17612 | (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. | |
17613 | (discard_mouse_events): Discard WHEEL_EVENT events too. | |
17614 | (lispy_wheel_names, wheel_syms): New. | |
17615 | (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and | |
cab27d04 | 17616 | staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. |
914a8c47 | 17617 | (make_lispy_event): Add WHEEL_EVENT handler. |
9862c135 JR |
17618 | |
17619 | * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. | |
17620 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
17621 | WHEEL_EVENT events. | |
17622 | ||
f984e73e JPW |
17623 | 2003-05-31 John Paul Wallington <jpw@gnu.org> |
17624 | ||
17625 | * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and | |
17626 | timer are in lisp/emacs-lisp. | |
17627 | ||
1efcd78f KH |
17628 | 2003-05-31 Kenichi Handa <handa@m17n.org> |
17629 | ||
458c8af4 KH |
17630 | * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed |
17631 | region when a buffer is changed to unibyte. | |
17632 | ||
1efcd78f KH |
17633 | * charset.h (VALID_LEADING_CODE_P): New macro. |
17634 | (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. | |
17635 | ||
778e2804 KH |
17636 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags |
17637 | is nonzero, accept multibyte form of eight-bit-control chars. | |
17638 | (decode_composition_emacs_mule): Likewise. | |
17639 | (decode_coding_emacs_mule): Likewise. | |
17640 | (encode_coding_emacs_mule): If coding->flags is nonzero, produce | |
17641 | multibyte form of eight-bit-control chars. | |
17642 | ||
17643 | * fileio.c (Qauto_save_coding, auto_save_coding): New variables. | |
17644 | (Finsert_file_contents): If coding-system-for-read is bound to | |
17645 | Qauto_save_coding, use the coding system emacs-mule with special | |
17646 | setting for recovering a file. | |
17647 | (choose_write_coding_system): On auto saving, use the coding | |
17648 | system emacs-mule with special setting for auto saving. | |
17649 | (syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it. | |
17650 | ||
034060e4 KH |
17651 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
17652 | ||
17653 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
17654 | properly before calling ccl_driver. | |
17655 | ||
778e2804 | 17656 | * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. |
034060e4 | 17657 | |
cab27d04 | 17658 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. |
034060e4 KH |
17659 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. |
17660 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
17661 | ||
595f5aa5 GM |
17662 | 2003-05-29 Glenn Morris <gmorris@ast.cam.ac.uk> |
17663 | ||
17664 | * xfaces.c (realize_default_face): Do not abort if lface is | |
17665 | non-existent - reverts change from 2003-05-19. | |
17666 | ||
103e0180 KH |
17667 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
17668 | ||
17669 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
17670 | sequence of CTEXT extended segment, and retain those bytes as is. | |
17671 | ||
17672 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
17673 | ||
cab27d04 | 17674 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change |
103e0180 KH |
17675 | of CODING_REPLACEMENT_CHARACTER. |
17676 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
17677 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
17678 | check this flag on encoding. | |
cab27d04 SM |
17679 | (encode_coding_sjis_big5): |
17680 | Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
17681 | (Fset_terminal_coding_system_internal): | |
17682 | Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
17683 | instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. | |
17684 | ||
17685 | * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from | |
103e0180 KH |
17686 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
17687 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
17688 | ||
ff6a3bfb | 17689 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 17690 | |
ff6a3bfb RS |
17691 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
17692 | ||
17693 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 17694 | |
1963c428 KS |
17695 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
17696 | ||
17697 | * xdisp.c (expose_window): Fix error in calculation of | |
17698 | window relative coordinates of area to redisplay. | |
17699 | ||
2b5d4601 JR |
17700 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
17701 | ||
17702 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
17703 | ||
1c64a4a2 JB |
17704 | 2003-05-27 David Ponce <david@dponce.com> |
17705 | ||
17706 | Handle W32 mouse wheel events as mouse click events, like in X. | |
17707 | ||
17708 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
17709 | MOUSE_WHEEL_EVENT anymore. | |
17710 | ||
17711 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
17712 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
17713 | button 4 and 5. | |
17714 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
17715 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
17716 | WM_MOUSEWHEEL events. | |
17717 | ||
2d031b89 AS |
17718 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
17719 | ||
20464fdf AS |
17720 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
17721 | ||
2d031b89 AS |
17722 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
17723 | partially visible line. | |
17724 | ||
17725 | * alloc.c (Fgarbage_collect): Fix last change. | |
17726 | ||
97bc76d4 JPW |
17727 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
17728 | ||
17729 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
17730 | ||
56613f06 SM |
17731 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
17732 | ||
17733 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
17734 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
17735 | ||
17736 | * window.h (window_box_text_cols): Declare. | |
17737 | ||
17738 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
17739 | (x_draw_vertical_border): Remove unused var `f'. | |
17740 | ||
17741 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
17742 | pixel_size' warning. | |
17743 | ||
17744 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
17745 | ||
17746 | * unexelf.c (unexec): Remove `unused var n' warning. | |
17747 | ||
17748 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
17749 | unused' warning. | |
17750 | ||
17751 | * process.c (allocate_pty): Remove `unused var stb' and | |
17752 | `cp might be used uninitialized' warnings. | |
17753 | ||
17754 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
17755 | ||
17756 | * coding.c (find_safe_codings): Remove unused var `i'. | |
17757 | ||
17758 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
17759 | ||
17760 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
17761 | ||
17762 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
17763 | ||
93421a1f JD |
17764 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17765 | ||
17766 | * frame.c (make_frame): Condition want_fullscreen with | |
17767 | HAVE_WINDOW_SYSTEM. | |
17768 | ||
c4b8aebc JB |
17769 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
17770 | ||
17771 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
17772 | (Fwindow_scroll_bars): Fix typo in docstring. | |
17773 | ||
0416870b KS |
17774 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
17775 | ||
17776 | The following changes serve several purposes: | |
17777 | ||
17778 | 1) Swap the position of fringes and display margins in windows, i.e. | |
17779 | the fringes are now displayed between the margins and the text area | |
17780 | (by default). | |
17781 | ||
17782 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
17783 | per-window (like display margins). Such settings are now stored | |
17784 | in window configurations, preserved when frames are resized, and | |
9018a88e | 17785 | copied when windows are split vertically or horizontally. |
0416870b KS |
17786 | Several bugs related to display margins have been fixed. |
17787 | ||
17788 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 17789 | |
0416870b | 17790 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
5e1a6e32 | 17791 | rather than FRAME_WIDTH (FRAME_FONT (f)). |
0416870b KS |
17792 | |
17793 | 5) Introduce a consistent naming of variables, members and macros | |
17794 | depending on whether their value is measured in pixels or in | |
17795 | canonical columns/lines. Pixel dimensions are named *_width and | |
17796 | *_height, while canonical columns/lines are named *_cols and | |
17797 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
17798 | positions are named *_col and *_line. | |
17799 | ||
17800 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
17801 | common data into struct frame, and generalize it for the non-gui | |
17802 | case by using suitable defaults. | |
17803 | ||
17804 | 7) Cleanup and consolidate the macros controlling frame and window | |
17805 | layout into frame.h and window.h, and generalize the use of the | |
17806 | various window_box_* functions (enhanced to handle the new fringe | |
17807 | position and the per-window fringe and scroll bar settings). | |
17808 | ||
17809 | * frame.h (struct frame): Rename members height to text_lines, | |
17810 | width to text_cols, window_height to total_lines, window_width to | |
17811 | total_cols, new_height to new_text_lines, new_width to | |
17812 | new_text_cols. All uses changed. | |
17813 | (struct frame): New members which consolidate common members of | |
17814 | x_output, w32_output, and mac_output structures: left_pos, | |
17815 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
17816 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
17817 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
17818 | want_fullscreen. All uses changed. | |
17819 | (struct frame): New member column_width contaning the canonical | |
17820 | column width, analogue to line_height. All uses changed. | |
17821 | (struct frame): Rename members scroll_bar_pixel_width to | |
17822 | config_scroll_bar_width, and scroll_bar_cols to | |
17823 | config_scroll_bar_cols. All uses changed. | |
17824 | (struct frame): New member scroll_bar_actual_width which | |
17825 | consolidates and renames the vertical_scroll_bar_extra member of | |
17826 | x_output, w32_output, and mac_output structures. All uses changed. | |
cab27d04 | 17827 | (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved |
0416870b KS |
17828 | from x/w32/macterm.h files. All uses changed. Also change code |
17829 | which referred to f->output_data...->pixel_height. | |
cab27d04 | 17830 | (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved |
f63fd14e | 17831 | from x/w32/macterm.h files. All uses changed. Also change code |
0416870b | 17832 | which referred to f->output_data...->pixel_width. |
cab27d04 | 17833 | (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. |
0416870b | 17834 | Also change code which referred to f->height. |
cab27d04 | 17835 | (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. |
0416870b KS |
17836 | Also change code which referred to f->width. |
17837 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
17838 | to update new_text_lines and new_text_cols members directly. | |
cab27d04 | 17839 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from |
0416870b | 17840 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. |
cab27d04 | 17841 | (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from |
0416870b KS |
17842 | FRAME_SCROLL_BAR_COLS. All uses changed. |
17843 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
cab27d04 | 17844 | Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and |
0416870b KS |
17845 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. |
17846 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
17847 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
cab27d04 SM |
17848 | (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. |
17849 | (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. | |
17850 | (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. | |
0416870b KS |
17851 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. |
17852 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
cab27d04 SM |
17853 | (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. |
17854 | Unconditionally return line_height member (it now has proper value | |
17855 | also for non-window frames). | |
17856 | (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally | |
0416870b KS |
17857 | return new column_width member (rather than the default font width). |
17858 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
cab27d04 | 17859 | (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved |
0416870b KS |
17860 | from x/w32/macterm.h files. Unconditionally return corresponding |
17861 | member of frame structure (they now have proper values also for | |
17862 | non-window frames). | |
cab27d04 | 17863 | (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. |
0416870b KS |
17864 | Calculate return value from left and right widths. |
17865 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
17866 | internal_border_width member (has proper value for non-window frame). | |
cab27d04 SM |
17867 | (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. |
17868 | (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. | |
17869 | (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. | |
17870 | (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. | |
17871 | (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, | |
0416870b | 17872 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 17873 | (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, |
0416870b | 17874 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 17875 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from |
0416870b | 17876 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 17877 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from |
0416870b | 17878 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. |
cab27d04 | 17879 | (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW |
0416870b | 17880 | consolidated from x/mac/w32term.h. |
cab27d04 | 17881 | (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL |
0416870b | 17882 | consolidated from x/mac/w32term.h. |
cab27d04 | 17883 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from |
0416870b | 17884 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 17885 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from |
0416870b KS |
17886 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. |
17887 | ||
17888 | * window.h (struct window): Rename members left to left_col, | |
17889 | top to top_line, height to total_lines, width to total_cols, | |
17890 | left_margin_width to left_margin_cols, right_margin_width to | |
17891 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
17892 | orig_top_line. All uses changed. | |
17893 | (struct window): New members left_fringe_width, right_fringe_width, | |
17894 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
17895 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
17896 | New macros primarily used to simplify other macros. | |
17897 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
17898 | referred to XINT (w->width). | |
17899 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
17900 | referred to XINT (w->height). | |
17901 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
17902 | referred to XINT (w->width) * canon_x_unit. | |
17903 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
17904 | referred to XINT (w->height) * canon_y_unit. | |
17905 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
17906 | referred to XINT (w->left). | |
cab27d04 | 17907 | (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change |
0416870b KS |
17908 | all uses and code that referred to XINT (w->left) + XINT (w->width). |
17909 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
17910 | referred to XINT (w->top). | |
17911 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
17912 | referred to XINT (w->top) + XINT (w->height). | |
17913 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
17914 | referred to XINT (w->left) * canon_x_unit. | |
17915 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
17916 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
17917 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
17918 | referred to XINT (w->top) * canon_y_unit. | |
17919 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
17920 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
17921 | (WINDOW_LEFTMOST_P): New macro. | |
cab27d04 | 17922 | (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. |
0416870b | 17923 | All uses changed. |
cab27d04 | 17924 | (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. |
0416870b | 17925 | All uses changed. |
cab27d04 | 17926 | (WINDOW_BOX_LEFT_EDGE_X): Rename from |
0416870b KS |
17927 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. |
17928 | Do not exclude left fringe width. | |
cab27d04 | 17929 | (WINDOW_BOX_RIGHT_EDGE_X): Rename from |
0416870b KS |
17930 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. |
17931 | Do not exclude fringe widths. | |
17932 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
17933 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
17934 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
17935 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
17936 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
17937 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
17938 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
17939 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
17940 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
17941 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
17942 | New macros. Change code which referenced corresponding | |
17943 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
17944 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
17945 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
17946 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
17947 | allow per-window scroll-bar settings. | |
17948 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
17949 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
17950 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
17951 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
17952 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
17953 | FRAME_SCROLL_BAR_WIDTH. | |
17954 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 17955 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
cab27d04 | 17956 | (WINDOW_HEADER_LINE_HEIGHT): Rename from |
0416870b | 17957 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
cab27d04 | 17958 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from |
0416870b | 17959 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. |
cab27d04 | 17960 | (WINDOW_BOX_TEXT_HEIGHT): Rename from |
0416870b KS |
17961 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. |
17962 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
17963 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
cab27d04 SM |
17964 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. |
17965 | (WINDOW_LEFT_MARGIN_WIDTH): Rename from | |
0416870b | 17966 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
cab27d04 | 17967 | (WINDOW_RIGHT_MARGIN_WIDTH): Rename from |
0416870b KS |
17968 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
17969 | (window_from_coordinates): Update prototype. | |
17970 | (Fset_window_buffer): Update EXFUN. | |
17971 | (set_window_buffer): Update prototype. | |
9018a88e | 17972 | |
0416870b | 17973 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 17974 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
17975 | changed. |
17976 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
17977 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
17978 | internal_border_width is now set to 0 for non-window frames. | |
17979 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
17980 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
17981 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
17982 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
17983 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
17984 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
17985 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
17986 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
17987 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 17988 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
17989 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
17990 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
17991 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
17992 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
17993 | (frame_update_line_height): Remove prototype. |
17994 | ||
17995 | * buffer.h (struct buffer): Rename members measured in columns: | |
17996 | left_margin_width to left_margin_cols, right_margin_width to | |
17997 | right_margin_cols. All uses changed. | |
17998 | New members left_fringe_width, right_fringe_width, | |
17999 | fringes_outside_margins for per-buffer fringe settings. | |
18000 | New members scroll_bar_width and vertical_scroll_bar_type for | |
18001 | per-buffer scroll bar settings. | |
18002 | ||
18003 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
18004 | buffer_local_flags for new buffer-local variables | |
18005 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
18006 | scroll_bar_width, and vertical_scroll_bar_type. | |
18007 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
18008 | default-* variables for them. | |
18009 | ||
18010 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
18011 | new macros in dispextern.h, frame.h and window.h. | |
18012 | (mode_line_string): No need to adjust width for mode lines, as it | |
18013 | is already adjusted by the caller. | |
18014 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 18015 | |
0416870b KS |
18016 | * frame.c: Make (many) trivial substitutions for renamed and |
18017 | new macros in dispextern.h, frame.h and window.h. | |
18018 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
18019 | fringe_cols, scroll_bar_actual_width, border_width, | |
18020 | internal_border_width, column_width, line_height, x_pixels_diff, | |
18021 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
18022 | members with values suitable for a non-window frames. | |
18023 | ||
18024 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
18025 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 18026 | |
0416870b KS |
18027 | * indent.c: Make (few) trivial substitutions for renamed and |
18028 | new macros in dispextern.h, frame.h and window.h. | |
18029 | ||
18030 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
18031 | new macros in dispextern.h, frame.h and window.h. | |
18032 | (make_lispy_event): Use window positions returned from | |
18033 | window_from_coordinates when constructing the lisp event for | |
18034 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
18035 | (incorrect) values locally. | |
18036 | (make_lispy_movement): Use window positions returned from | |
18037 | window_from_coordinates when constructing the lisp event, rather | |
18038 | than calculating (incorrect) values locally. | |
18039 | ||
18040 | * scroll.c: Make (some) trivial substitutions for renamed and | |
18041 | new macros in dispextern.h, frame.h and window.h. | |
18042 | ||
18043 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
18044 | scroll-bars. | |
18045 | ||
18046 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
18047 | new macros in dispextern.h, frame.h and window.h. | |
18048 | ||
18049 | * term.c: Make (some) trivial substitutions for renamed and | |
18050 | new macros in dispextern.h, frame.h and window.h. | |
18051 | ||
18052 | * widget.c: Make (few) trivial substitutions for renamed and | |
18053 | new macros in dispextern.h, frame.h and window.h. | |
18054 | ||
18055 | * window.c: Make (many) trivial substitutions for renamed and | |
18056 | new macros in dispextern.h, frame.h and window.h. | |
18057 | (make_window): Initialize new members | |
18058 | left_margin_cols, right_margin_cols, left_fringe_width, | |
18059 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
18060 | and vertical_scroll_bar_type. | |
cab27d04 | 18061 | (coordinates_in_window): Adapt to new fringe/margin positions |
9018a88e | 18062 | and per-window fringes and scroll-bars. |
0416870b | 18063 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 18064 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
18065 | the internal_border_width is typically 0 or 1 pixel, but very |
18066 | noticeable for an internal_border_width of e.g. 25 pixels). | |
18067 | Upon successful return (other than ON_NOTHING), the coordinates | |
18068 | are now always properly converted to window relative for the | |
18069 | given display element. | |
18070 | (window_from_coordinates): Add new parameters wx and wy to | |
18071 | return the window relative x and y position in the returned | |
18072 | window and part. A null arg means, don't return the position. | |
18073 | All callers changed. | |
18074 | (adjust_window_margins): New function which may reduce the width | |
18075 | of the display margins if a window's text area is too small after | |
18076 | resizing or splitting windows. | |
18077 | (size_window): Fix bug that did not account for display margin | |
18078 | widths when checking the minimum width of a window; use | |
18079 | adjust_window_margins. | |
18080 | (set_window_buffer): Call Fset_window_fringes and | |
18081 | Fset_window_scroll_bars to setup per-window elements. | |
18082 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
18083 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
18084 | (e.g. after splitting a window or resizing the frame). |
18085 | All callers changed. | |
0416870b KS |
18086 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
18087 | (Fsplit_window): Duplicate original window's display margin, | |
18088 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
18089 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
18090 | window to only preserve the display margins in one of the windows. | |
5e1a6e32 | 18091 | When splitting horizontally, call adjust_window_margins on both |
0416870b | 18092 | windows to ensure that the text area of the new windows is non too |
f9711de4 | 18093 | narrow. This fixes a bug which could cause Emacs to trap if the |
0416870b KS |
18094 | width of the split window was less than the width of the display |
18095 | margins. | |
cab27d04 | 18096 | (window_box_text_cols): Rename from window_internal_width. |
9018a88e | 18097 | All uses changed. Adapt to per-window fringes and scroll bars. |
0416870b KS |
18098 | Fix bug that caused vertical separator to be subtracted also on |
18099 | window frames. Fix another bug that did not reduce the returned | |
18100 | value by the columns used for display margins. | |
18101 | (window_scroll_line_based): Fix bug related to scrolling too much | |
18102 | when display margins are present (implicitly fixed by the fix to | |
18103 | window_box_text_cols). | |
18104 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
18105 | by default when display margins are present (implicitly fixed by | |
18106 | the fix to window_box_text_cols). | |
18107 | (struct saved_window): Rename members left to left_col, top to | |
18108 | top_line, width to total_cols, height to total_lines, orig_top to | |
18109 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
18110 | New members left_margin_cols, right_margin_cols, | |
18111 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
18112 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
18113 | per-window display elements. | |
18114 | (Fset_window_configuration): Restore display margins, fringes, | |
18115 | and scroll bar settings. This fixes a bug which caused display | |
18116 | margins to be discarded when saving and restoring a window | |
18117 | configuration. | |
18118 | (save_window_save): Save display margins, fringes, and scroll bar | |
18119 | settings. This fixes a bug which caused display margins to be | |
18120 | discarded when saving and restoring a window configuration. | |
18121 | (Fset_window_margins): Do nothing if display margins are not | |
18122 | really changed. Otherwise, call adjust_window_margins to ensure | |
18123 | the text area doesn't get too narrow. This fixes a bug which | |
f9711de4 | 18124 | could cause Emacs to trap if setting display margins wider than |
0416870b KS |
18125 | the width of the window. |
18126 | (Fset_window_fringes): New defun to allow user to specifically set | |
18127 | this window's fringe widths and position vs. display margins. | |
cab27d04 | 18128 | (Fwindow_fringes): New defun to return window's actual fringe settings. |
0416870b KS |
18129 | (Fset_window_scroll_bars): New defun to allow user to specifically |
18130 | set this window's scroll bar width and position. | |
18131 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
18132 | bar settings. | |
18133 | (compare_window_configurations): Also compare display margins, | |
18134 | fringes, and scroll bar settings. | |
18135 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
18136 | ||
18137 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
18138 | new macros in dispextern.h, frame.h and window.h. | |
18139 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
f63fd14e | 18140 | and new fringe vs. display margin position. Note that returned |
0416870b KS |
18141 | value is no longer guaranteed to be a whole multiple of the frame |
18142 | column width, since per-window fringes may now be any width. | |
18143 | (window_box_left_offset): New function like window_box_left, but | |
18144 | value is relative to left border of window (rather than frame). | |
18145 | (window_box_right_offset): New function like window_box_right, | |
18146 | but value is relative to left border of window. | |
18147 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
18148 | and new fringe vs. display margin position. Simplify by using | |
18149 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
18150 | (window_box): Allow null args for unnecessary return values; | |
18151 | change/simplify relevant callers. | |
18152 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
18153 | and new fringe vs. display margin position. |
18154 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 18155 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
18156 | scroll bars, and new fringe vs. display margin position. |
18157 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
18158 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
18159 | fringe vs. display margin position. | |
18160 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
a64387ee JB |
18161 | (redisplay_window): Adapt to per-window scroll bars. |
18162 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
18163 | bars, and new fringe vs. display margin position. |
18164 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
a64387ee | 18165 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
0416870b KS |
18166 | bars, and new fringe vs. display margin position. Fix bug which |
18167 | increased total width of full_width rows by width of scroll bars | |
18168 | although window's total width already includes that. | |
18169 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
18170 | (expose_area): Simplify using window_box_left_offset. | |
18171 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
18172 | mixing windows with left, right and no scroll bars. | |
18173 | ||
18174 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
18175 | where it's used in x_list_fonts (for clarity). | |
18176 | (frame_update_line_height): Remove unused function; functionality | |
18177 | is now done directly when setting the default font in x_set_font. | |
18178 | ||
18179 | * xfns.c: Make (many) trivial substitutions for renamed and | |
18180 | new macros in dispextern.h, frame.h and window.h. | |
18181 | ||
18182 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
18183 | new macros in dispextern.h, frame.h and window.h. | |
18184 | ||
18185 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
18186 | border_width, pixel_height, pixel_width, line_height, | |
18187 | internal_border_width, vertical_scroll_bar_extra, | |
18188 | left_fringe_width, right_fringe_width, fringe_cols, | |
18189 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
18190 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
18191 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
18192 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
18193 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
18194 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 18195 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
18196 | frame.h and renamed [see frame.h changes]. |
18197 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
18198 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 18199 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 18200 | and renamed [see frame.h changes]. |
9018a88e | 18201 | |
0416870b KS |
18202 | * xterm.c: Make (several) trivial substitutions for renamed and |
18203 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 18204 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
18205 | (scroll_run): Adapt to new fringe position. |
18206 | (glyph_rect): Use window coordinates returned from | |
18207 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
18208 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
18209 | scroll-bars. | |
18210 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
18211 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
18212 | (fringes are now inside margins, i.e. always in the clipping area). | |
18213 | All callers changed. | |
18214 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
18215 | directly, then call compute_fringe_widths. Don't call | |
18216 | frame_update_line_height. | |
18217 | ||
18218 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
18219 | border_width, pixel_height, pixel_width, line_height, | |
18220 | internal_border_width, vertical_scroll_bar_extra, | |
18221 | left_fringe_width, right_fringe_width, fringe_cols, | |
18222 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
18223 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
18224 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
18225 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
18226 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
18227 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 18228 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
18229 | frame.h and renamed [see frame.h changes]. |
18230 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
18231 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 18232 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 18233 | and renamed [see frame.h changes]. |
9018a88e | 18234 | |
0416870b KS |
18235 | * w32term.c: Make (several) trivial substitutions for renamed and |
18236 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 18237 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
18238 | (glyph_rect): Use window coordinates returned from |
18239 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
18240 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
18241 | scroll-bars. | |
18242 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
18243 | (fringes are now inside margins, i.e. always in the clipping area). | |
18244 | All callers changed. | |
18245 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
18246 | directly, then call compute_fringe_widths. Don't call | |
18247 | frame_update_line_height. | |
18248 | ||
18249 | * w32console.c: Make (few) trivial substitutions for renamed and | |
18250 | new macros in dispextern.h, frame.h and window.h. | |
18251 | ||
18252 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
18253 | new macros in dispextern.h, frame.h and window.h. | |
18254 | ||
18255 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
18256 | new macros in dispextern.h, frame.h and window.h. | |
18257 | ||
18258 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
18259 | border_width, pixel_height, pixel_width, line_height, | |
18260 | internal_border_width, vertical_scroll_bar_extra, | |
18261 | left_fringe_width, right_fringe_width, fringe_cols, | |
18262 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
18263 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
18264 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
18265 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
18266 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
18267 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 18268 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
18269 | frame.h and renamed [see frame.h changes]. |
18270 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
18271 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 18272 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 18273 | and renamed [see frame.h changes]. |
9018a88e | 18274 | |
0416870b KS |
18275 | * macterm.c: Make (several) trivial substitutions for renamed and |
18276 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 18277 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
18278 | (glyph_rect): Use window coordinates returned from |
18279 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
18280 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
18281 | scroll-bars. | |
18282 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
18283 | (fringes are now inside margins, i.e. always in the clipping area). | |
18284 | All callers changed. | |
18285 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
18286 | directly, then call compute_fringe_widths. Don't call | |
18287 | frame_update_line_height. | |
18288 | ||
18289 | * macfns.c: Make (several) trivial substitutions for renamed and | |
18290 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 18291 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
18292 | |
18293 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
18294 | new macros in dispextern.h, frame.h and window.h. | |
18295 | ||
18296 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
18297 | and line_height, and use corresponding new members in struct | |
18298 | frame. All uses changed. | |
18299 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
18300 | superseeded by corresponding macros in frame.h. | |
18301 | ||
18302 | * msdos.c: Make (several) trivial substitutions for renamed and | |
18303 | new macros in dispextern.h, frame.h and window.h. | |
18304 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 18305 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
18306 | (internal_terminal_init): No need to initialize line_height here; |
18307 | it now defaults to 1. | |
18308 | ||
9018a88e SM |
18309 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
18310 | ||
18311 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
18312 | dropping `down' events. | |
18313 | ||
016bd3c0 AS |
18314 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
18315 | ||
18316 | * coding.c (find_safe_codings): Fix last change. | |
18317 | ||
4dacadcc TTN |
18318 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
18319 | ||
18320 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
18321 | ||
319830ce SM |
18322 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
18323 | ||
9018a88e SM |
18324 | * xdisp.c (display_mode_element): Increase max depth. |
18325 | Simplify the error handling code. Use a different error string | |
18326 | for the case where we hit the depth limit. | |
18327 | ||
319830ce SM |
18328 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
18329 | ||
18330 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
18331 | ||
18332 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
18333 | ||
18334 | * intervals.c (get_local_map): Don't get char-property of previous | |
18335 | point any more: get_pos_property already does it and better. | |
18336 | ||
c67de8ba DL |
18337 | 2003-05-21 Dave Love <fx@gnu.org> |
18338 | ||
18339 | [Merged from unicode branch.] | |
18340 | ||
18341 | * xfns.c (x_window, x_window): Use use_xim. | |
18342 | ||
18343 | * xterm.c (use_xim): Initialize. | |
18344 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
18345 | (x_term_init): Maybe set use_xim. | |
18346 | ||
18347 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
18348 | ||
edd3ff1d JR |
18349 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
18350 | ||
18351 | * unexw32.c (_start): Remove _fmode initialization. | |
18352 | ||
18353 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
18354 | ||
463f55ee DL |
18355 | 2003-05-20 Dave Love <fx@gnu.org> |
18356 | ||
18357 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
18358 | ||
af253914 RS |
18359 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
18360 | ||
18361 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
18362 | as value for QCfont attribute. | |
18363 | (realize_default_face): lface should already exist; crash if not. | |
18364 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
18365 | ||
18366 | * frame.c (Fignore_event): Doc fix. | |
18367 | ||
1d211019 KH |
18368 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
18369 | ||
18370 | * coding.c (decode_coding_string): Handle post-read-conversion | |
18371 | even if the coding doesn't require decoding. | |
18372 | ||
4dd68254 RS |
18373 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
18374 | ||
18375 | * callproc.c (Fcall_process_region): Doc fix. | |
18376 | ||
14d87dc9 SM |
18377 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
18378 | ||
deca5d96 SM |
18379 | * lread.c (Fload): Print a message if package is obsolete. |
18380 | ||
14d87dc9 SM |
18381 | * window.c (Fselect_window): Add optional `norecord' arg. |
18382 | (select_window_1): Fold into Fselect_window. | |
18383 | (select_window_norecord): New function. | |
18384 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
18385 | ||
18386 | * window.h (Fselect_window): Update declaration. | |
18387 | ||
18388 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
18389 | * minibuf.c (read_minibuf): | |
18390 | * macterm.c (x_new_focus_frame): | |
18391 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
18392 | * callint.c (Fcall_interactively): | |
18393 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
18394 | ||
18395 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
18396 | ||
78f52183 DK |
18397 | 2003-05-17 David Kastrup <dak@gnu.org> |
18398 | ||
18399 | * process.c (read_process_output): Back out change from 2003-03-09. | |
18400 | ||
14d87dc9 SM |
18401 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
18402 | ||
18403 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
18404 | ||
18405 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
18406 | ||
18407 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
18408 | (get_pos_property): Declare. | |
18409 | ||
18410 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
18411 | stickiness and empty overlays. | |
18412 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
18413 | (merge_properties, intervals_equal, merge_properties_sticky): | |
18414 | Use XCAR, XCDR. | |
18415 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
18416 | ||
1fd1cc2f RS |
18417 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
18418 | ||
4f9f637a RS |
18419 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
18420 | in the history. | |
18421 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
18422 | of its real position. | |
18423 | ||
18424 | * fns.c (map_char_table): Fix previous change. | |
18425 | ||
1fd1cc2f RS |
18426 | * syntax.c (find_defun_start): |
18427 | When open_paren_in_column_0_is_defun_start, | |
18428 | return beginning of buffer. | |
18429 | ||
18430 | * lisp.h (map_char_table): Declare added arg. | |
18431 | ||
18432 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
18433 | All calls changed. | |
18434 | Process default and inheritance, resorting to Faref if necessary. | |
18435 | ||
18436 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
18437 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
18438 | ||
18439 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
18440 | ||
18441 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
18442 | ||
18443 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
18444 | ||
18445 | * lisp.h (specbinding_func): New typedef. | |
18446 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
18447 | in the right place. | |
18448 | ||
18449 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
18450 | to avoid GCC warning. | |
14d87dc9 | 18451 | |
b6189c3b | 18452 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> |
b4bd27c5 | 18453 | |
14d87dc9 | 18454 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 18455 | |
35fb885d SM |
18456 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
18457 | ||
18458 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
18459 | ||
9a274fbd SM |
18460 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
18461 | ||
c55b5fad SM |
18462 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
18463 | ||
9a274fbd SM |
18464 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
18465 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
18466 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
18467 | (Fset_window_configuration, Fcurrent_window_configuration) | |
18468 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
18469 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
18470 | (window_internal_height, window_internal_width, Frecenter) | |
18471 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
18472 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
18473 | (syms_of_window, keys_of_window): Move from lisp.h. | |
18474 | * lisp.h: Move window.c declarations to window.h. | |
18475 | ||
18476 | * bytecode.c: Include window.h. | |
18477 | * emacs.c: Include window.h. | |
18478 | ||
14d87dc9 | 18479 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
18480 | (keyremap): Add `parent' field. |
18481 | (keyremap_step): Use it. Remove `parent' argument. | |
18482 | (read_key_sequence): Setup and use the new `parent' field. | |
18483 | ||
fd93e331 SM |
18484 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
18485 | ||
18486 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
18487 | ||
1c4001a1 SM |
18488 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
18489 | ||
18490 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
18491 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
18492 | duplicated handling of function-key-map and key-translation-map | |
18493 | in read_key_sequence. | |
18494 | (read_key_sequence): Use them. | |
18495 | ||
18496 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
18497 | to the non-sticky end of an invisible property. | |
18498 | ||
18499 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
18500 | property intangible as well. | |
18501 | ||
780379b1 AS |
18502 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
18503 | ||
18504 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
18505 | avoid warning. | |
18506 | ||
ca2de342 RS |
18507 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
18508 | ||
18509 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
18510 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
18511 | Rename local `tem' to `save_deactivate_mark'. | |
18512 | ||
18513 | * eval.c (specpdl_ptr): Declare volatile. | |
18514 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
18515 | before doing the work of unbinding it. | |
18516 | ||
18517 | * lisp.h (struct specbinding): Declare elements volatile. | |
18518 | (specpdl_ptr): Declare volatile. | |
18519 | ||
18520 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
18521 | ||
18522 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
18523 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
18524 | ||
347003be DL |
18525 | 2003-05-08 Dave Love <fx@gnu.org> |
18526 | ||
18527 | * coding.c (Vlast_coding_system_used): Doc fix. | |
18528 | ||
5adcec23 JR |
18529 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
18530 | ||
18531 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
18532 | when system does not support them. | |
18533 | ||
5fe3b8a4 SM |
18534 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
18535 | ||
18536 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
18537 | (build_annotations): Use it to process the global part of the hook. | |
18538 | (syms_of_fileio): Init and staticpro it. | |
18539 | ||
18540 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
18541 | silently ignoring the error. | |
18542 | ||
18543 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
18544 | ||
18545 | * keyboard.c (input_available_signal): Mark static. | |
18546 | (menu_bar_items): Use map_keymap. | |
18547 | (menu_bar_one_keymap): Remove. | |
18548 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
18549 | Properly hide a second binding when not both are keymaps. | |
18550 | ||
18551 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
18552 | (single_keymap_panes): Use it and map_keymap. | |
18553 | (single_menu_item): Use skp as well. | |
18554 | ||
18555 | * keymap.h (map_keymap_function_t): New type. | |
18556 | (map_keymap): Declare. | |
18557 | ||
18558 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
18559 | (map_keymap_call, Fmap_keymap): New functions. | |
18560 | (syms_of_keymap): Defsubr map-keymap. | |
18561 | ||
4b1b4443 JD |
18562 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18563 | ||
18564 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
18565 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
18566 | ..._with_mnemonic functions for menu items. | |
18567 | ||
1f816871 KH |
18568 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
18569 | ||
18570 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
18571 | function. | |
18572 | (find_safe_codings): Pay attention to | |
18573 | the property tranlsation-table-for-encode of each codings. | |
18574 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
18575 | ||
5ed6ba5b SM |
18576 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
18577 | ||
18578 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
18579 | ||
32c06229 SM |
18580 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
18581 | ||
18582 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
18583 | ||
18584 | * lisp.h (CHECK): Wrap args in parenthesis. | |
18585 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
18586 | ||
18587 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
18588 | Use Fprogn rather than 0 and Qnil. | |
18589 | ||
18590 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
18591 | `double', and `triple' modifiers as well. | |
18592 | ||
ed3c3314 RS |
18593 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
18594 | ||
18595 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
18596 | ||
18597 | * alloc.c (abort_on_gc): New variable. | |
18598 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
18599 | ||
18600 | * lisp.h (abort_on_gc): Add decl. | |
18601 | ||
18602 | * eval.c (Fsignal): Clear abort_on_gc. | |
18603 | ||
18604 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 18605 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
18606 | |
18607 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
18608 | even if nlines is 0. | |
18609 | ||
18610 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
18611 | even if redisplay is suspended by input. | |
18612 | ||
0b325c12 AC |
18613 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
18614 | ||
18615 | * macterm.c (x_list_fonts): Return all fonts that match if | |
18616 | maxnames = -1. | |
18617 | ||
4e837cd0 KH |
18618 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
18619 | ||
18620 | * syntax.c (skip_chars): Fix previous change. | |
18621 | ||
9af7511a KH |
18622 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
18623 | ||
18624 | * syntax.c (skip_chars): Make the code faster by using the common | |
18625 | technique of *p, *stop, and *endp. | |
18626 | ||
e3b2c21f JD |
18627 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18628 | ||
18629 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 18630 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
18631 | being updated. |
18632 | ||
32c06229 SM |
18633 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
18634 | ||
18635 | * eval.c (Fapply): Undo last change and add a comment about why. | |
18636 | ||
c6464167 MB |
18637 | 2003-04-18 Miles Bader <miles@gnu.org> |
18638 | ||
18639 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
18640 | pickier PARSE_MULTIBYTE_SEQ. | |
18641 | ||
e509f168 SM |
18642 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
18643 | ||
18644 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
18645 | Use XCDR, XCAR, CONSP. | |
18646 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
18647 | (Fapply): Remove unnecessary GCPRO. | |
18648 | ||
18649 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
18650 | ||
18651 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
18652 | ||
18653 | * buffer.h: Don't hardcode BEG==1. | |
18654 | ||
18655 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
18656 | ||
5ceea398 RS |
18657 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
18658 | ||
18659 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
18660 | When at end of window, set window_end_pos to Z-ZV. | |
18661 | ||
18662 | * buffer.c (Foverlay_recenter): Doc fix. | |
18663 | ||
e509f168 SM |
18664 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
18665 | ||
18666 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
18667 | ||
d243e605 AC |
18668 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
18669 | ||
18670 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
18671 | once a second. | |
18672 | ||
6901b111 SM |
18673 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
18674 | ||
18675 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
18676 | specially, so that they can't hide an implicit switch-frame event. | |
18677 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
18678 | (head_table): Use switch-frame as event_kind for select-window. | |
18679 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
18680 | ||
18681 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
18682 | (format2): Remove unused var numargs. | |
18683 | ||
e301806f | 18684 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 18685 | |
6901b111 | 18686 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
18687 | (Qafter_insert_file_set_coding): New variable. |
18688 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
18689 | for after-insert-file-adjust-coding-function. | |
18690 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
18691 | instead of Vafter_insert_file_adjust_coding_function. | |
18692 | ||
38914424 KH |
18693 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
18694 | ||
18695 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
18696 | ||
18697 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
18698 | string. Callers changed. | |
18699 | ||
18700 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 18701 | |
6901b111 | 18702 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 18703 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
18704 | (Finsert_file_contents): |
18705 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
18706 | decode-format. |
18707 | ||
f979dc05 JD |
18708 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18709 | ||
18710 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
18711 | get GtkAdjustment as widget now is a GtkRange. | |
18712 | ||
18713 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
18714 | GtkRange to avoid memory leak. | |
18715 | ||
f8c6b4c2 | 18716 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 18717 | |
50ebc53d KH |
18718 | * xfaces.c (Vface_font_rescale_alist): New variable. |
18719 | (struct font_name): New member rescale_ratio. | |
18720 | (font_rescale_ratio): New function. | |
6901b111 | 18721 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
18722 | (better_font_p): On comparing point sized, pay attention to |
18723 | recale_ratio member of fonts. | |
18724 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
18725 | font name. | |
6901b111 | 18726 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 18727 | |
cb98871c KH |
18728 | * lread.c (read1): Before calling index, check if the 2nd |
18729 | arguemnt is in ASCII range. | |
18730 | ||
4773b8ca RS |
18731 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
18732 | ||
b0ada147 RS |
18733 | * fileio.c (Ffile_symlink_p): Doc fix. |
18734 | ||
18735 | * editfns.c (Fformat): Translate positions of text properties | |
18736 | in the format string to apply them to the result. | |
18737 | ||
4773b8ca RS |
18738 | * fileio.c (Finsert_file_contents): Doc fix. |
18739 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
18740 | ||
18741 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 18742 | |
4773b8ca RS |
18743 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
18744 | ||
e8f25745 | 18745 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 18746 | |
e8f25745 ST |
18747 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
18748 | that self-contained application finds libexec files. | |
18749 | ||
f8c6b4c2 | 18750 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 18751 | |
6901b111 SM |
18752 | * coding.c (code_convert_region_unwind): |
18753 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
18754 | (code_convert_region): If post-read-conversion function changed |
18755 | the value of last-coding-sytem, keep the new value in | |
18756 | coding->symbol so that it won't be overridden. | |
18757 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
18758 | (coding_system_accept_latin_extra_p): New function. |
18759 | (find_safe_codings): Pay attention to characters registered in | |
18760 | latin-extra-code-table. | |
2310d84c | 18761 | |
39c9a034 TTN |
18762 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
18763 | ||
18764 | * Makefile.in (md5.o): Add missing dependency info. | |
18765 | ||
eb67c5d6 RS |
18766 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
18767 | ||
18768 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
18769 | ||
18770 | * marker.c (verify_bytepos): New function. | |
18771 | ||
18772 | * intervals.c (set_intervals_multibyte_1): When becoming | |
18773 | multibyte, adjust right and left child sizes to a whole set of | |
18774 | characters. If an interval gets zero total-length, delete it. | |
18775 | If an interval consists of just its children, delete one of them. | |
18776 | ||
18777 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
18778 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 18779 | |
52eb0373 | 18780 | * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. |
eb67c5d6 RS |
18781 | All calls deleted. |
18782 | (lisp_malloc): Do the work here directly. | |
18783 | ||
b1f81fc5 JB |
18784 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
18785 | ||
18786 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
18787 | char tables. | |
18788 | ||
18789 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
18790 | |
18791 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
18792 | destructively change "%S" to "%s". | |
18793 | ||
774666fb MB |
18794 | 2003-04-03 Miles Bader <miles@gnu.org> |
18795 | ||
18796 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
18797 | always set. | |
18798 | ||
19c37f01 DL |
18799 | 2003-04-01 Dave Love <fx@gnu.org> |
18800 | ||
18801 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
18802 | ||
2f4b24c3 AC |
18803 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
18804 | ||
18805 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
18806 | parent window ID. | |
18807 | ||
18808 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
18809 | ||
18810 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
18811 | y_pixels_diff. | |
b1f81fc5 | 18812 | |
9443fcf6 JB |
18813 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
18814 | ||
18815 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
18816 | blockinput.h and files included from it. | |
18817 | ||
e072891b KS |
18818 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
18819 | ||
18820 | The following changes consolidates the common code related to | |
18821 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
18822 | files into frame.c. | |
9443fcf6 | 18823 | |
e072891b KS |
18824 | * frame.c: Include blockinput.h. |
18825 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
18826 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
18827 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
18828 | related vars here. | |
18829 | (struct frame_parm_table, frame_parms): New table for describing | |
18830 | frame parameters and their associated Q-variable. | |
18831 | The order of the parameters corresponds to the sequence of the | |
18832 | frame_parm_handlers table in redisplay_interface. | |
18833 | (x_fullscreen_move, x_set_frame_parameters) | |
18834 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
18835 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
18836 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
18837 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
18838 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
18839 | Generic functions for processing of frame parameters. | |
18840 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
18841 | (display_x_get_resource, x_get_resource_string): Functions for | |
18842 | generic access to X resources. | |
18843 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
18844 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
18845 | access to frame parameters. | |
6901b111 SM |
18846 | (x_figure_window_size): Generic calculation of frame size. |
18847 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
18848 | (syms_of_frame): Intern and staticpro frame parameter variables. |
18849 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
18850 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 18851 | |
e072891b KS |
18852 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
18853 | parameter related vars defined in frame.c. | |
18854 | (EMACS_CLASS): Define here. | |
18855 | (enum FULLSCREEN_*): Define here. | |
18856 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
18857 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
18858 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
18859 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
18860 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
18861 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
18862 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
18863 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
18864 | (x_figure_window_size): Add prototypes. | |
18865 | ||
18866 | * dispextern.h (frame_parm_handler): New typedef. | |
18867 | (struct redisplay_interface): New member frame_parm_handlers. | |
18868 | (enum resource_types): Move declaration here. | |
18869 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
18870 | (x_default_parameter): Add prototypes. | |
18871 | ||
18872 | * window.c: Remove extern decl for frame parameter vars. | |
18873 | (change_window_heights): New generic function; | |
18874 | replaces x_change_window_heights. All users changed. | |
18875 | ||
18876 | * window.h (change_window_heights): Add prototype. | |
18877 | ||
18878 | * xfaces.c: Remove extern decl for frame parameter vars. | |
18879 | ||
18880 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
18881 | (struct w32_display_info): Fix type of xrdb member. | |
18882 | (enum FULLSCREEN_*): Remove. | |
18883 | Remove prototypes for generic functions (in frame.h). | |
18884 | ||
18885 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
18886 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 18887 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
18888 | (enum x_frame_parms): Remove (bogus, unused enum). |
18889 | (check_x_display_info): Make non-static (for frame.c). | |
18890 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
18891 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
18892 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
18893 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
18894 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
18895 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
18896 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
18897 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
18898 | Remove. Use generic functions instead. | |
18899 | (enum resource_types): Remove. | |
18900 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
18901 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
18902 | toolbar and setup size_hint_flags. | |
18903 | (x_frame_parm_handlers): New table for redisplay_interface. | |
18904 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 18905 | |
e072891b | 18906 | * xterm.c: Remove unnecessary extern declarations. |
f63fd14e | 18907 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
18908 | (x_redisplay_interface): Add x_frame_parm_handlers member. |
18909 | ||
18910 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
18911 | ||
18912 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
18913 | (struct w32_display_info): Fix type of xrdb member. | |
18914 | (enum FULLSCREEN_*): Remove. | |
18915 | (x_fullscreen_adjust): Remove prototype. | |
18916 | ||
18917 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
18918 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 18919 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
18920 | (enum x_frame_parms): Remove (bogus, unused enum). |
18921 | (check_x_display_info): Make non-static (for frame.c). | |
18922 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
18923 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
18924 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
18925 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
18926 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
18927 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
18928 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
18929 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
18930 | Remove. Use generic functions instead. | |
18931 | (enum resource_types): Remove. | |
18932 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
18933 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
18934 | toolbar and setup size_hint_flags. | |
18935 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
18936 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 18937 | |
e072891b | 18938 | * w32term.c: Remove unnecessary extern declarations. |
52eb0373 | 18939 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
18940 | (x_redisplay_interface): Add w32_frame_parm_handlers member. |
18941 | ||
18942 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
18943 | ||
18944 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
18945 | ||
18946 | * macterm.h (EMACS_CLASS): Remove. | |
18947 | (struct mac_display_info): Add xrdb member. | |
18948 | (struct mac_output): Add want_fullscreen member. | |
18949 | ||
18950 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
18951 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 18952 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
18953 | (check_x_display_info): Make non-static (for frame.c). |
18954 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
18955 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
18956 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
18957 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
18958 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
18959 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
18960 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
18961 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
18962 | Remove. Use generic functions instead. | |
18963 | (enum resource_types): Remove. | |
18964 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
18965 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
18966 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 18967 | |
e072891b KS |
18968 | * macterm.c: Remove unnecessary extern declarations. |
18969 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
18970 | ||
3e6a560b KS |
18971 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
18972 | included from it (atimer.h and systime.h). | |
18973 | ||
7b7b454e AS |
18974 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
18975 | ||
18976 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
18977 | parameters for shift_glyphs_for_insert. | |
18978 | ||
18979 | * macterm.c (x_redisplay_interface): Add missing entry for | |
18980 | draw_vertical_window_border. | |
18981 | ||
beb402de KG |
18982 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
18983 | ||
18984 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
18985 | expanding, look again for a handler and invoke it. This is needed | |
18986 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
18987 | expansion produces "/user@host:/bar/../baz" which needs to be | |
18988 | expanded again for the finame result "/user@host:/baz". | |
18989 | ||
b676f356 JD |
18990 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18991 | ||
18992 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
18993 | of area to be redrawn for better performance. | |
18994 | ||
3c671a56 SM |
18995 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
18996 | ||
18997 | * xterm.c (take_vertical_position_into_account): Remove. | |
18998 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
18999 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
19000 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
19001 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
19002 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
19003 | (XTread_socket): Remove unused var. | |
19004 | (x_make_frame_invisible): Replace goto with else. | |
19005 | ||
19006 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
19007 | (redisplay_window): Use it. | |
19008 | ||
84f2e615 RS |
19009 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
19010 | ||
19011 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
19012 | update_mode_lines is set. Set w->update_mode_line | |
19013 | only if the tool bar contents actually change. | |
19014 | (update_menu_bar): Undo previous change. | |
19015 | ||
70b6104c JD |
19016 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19017 | ||
5fd6f727 JD |
19018 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
19019 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
19020 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
19021 | (xg_separator_p): Check for all documented separator types. | |
19022 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
19023 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
19024 | ||
70b6104c JD |
19025 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
19026 | so tool bar gets updated. | |
19027 | ||
d9b36d19 SM |
19028 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
19029 | ||
19030 | * data.c (store_symval_forwarding): Re-instate part of the code | |
19031 | that was deleted with too much enthusiasm. | |
19032 | ||
19033 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
19034 | ||
19035 | * data.c (store_symval_forwarding): Delete special read-only | |
19036 | hack for type == -1, since we now use ->constant instead. | |
19037 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
19038 | ||
19039 | * buffer.c (overlays_in): Declare static. | |
19040 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
19041 | `constant' field rather than the variable's `type' field. | |
19042 | ||
365fa1b3 AC |
19043 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
19044 | ||
19045 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
19046 | ||
19047 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
19048 | ||
19049 | * fns.c [MAC_OSX]: Do not redefine vector. | |
19050 | ||
19051 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
19052 | ||
19053 | * macgui.h: Remove definition of No_Cursor. | |
19054 | ||
d9b36d19 | 19055 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
19056 | |
19057 | * xdisp.c: Define No_Cursor. | |
19058 | (x_write_glyphs, notice_overwritten_cursor) | |
19059 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
19060 | (note_mouse_highlight): Remove Mac-specific code. | |
19061 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 19062 | |
c0bcce6f JPW |
19063 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
19064 | ||
19065 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
19066 | empty, then redisplay it like other windows. | |
19067 | ||
a526b96c KS |
19068 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
19069 | ||
19070 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
19071 | ||
37ab321e KH |
19072 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
19073 | ||
a526b96c KS |
19074 | * alloc.c (make_string_from_bytes, make_specified_string): |
19075 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
19076 | |
19077 | * lisp.h (make_string_from_bytes, make_specified_string): | |
19078 | Prototypes adjusted. | |
19079 | ||
7863d625 JD |
19080 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19081 | ||
14a56a1b | 19082 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif. |
fd4c9408 | 19083 | |
7863d625 JD |
19084 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
19085 | (XG_SB_RANGE): New define. | |
19086 | ||
19087 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
19088 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
19089 | expose events. | |
19090 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
19091 | of scroll bar including borders. | |
19092 | Clear left and right part outside scroll bar separately as some | |
19093 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 19094 | Don't set reallocate_redraws, don't call |
7863d625 JD |
19095 | gdk_window_process_all_updates. |
19096 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
19097 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
19098 | ||
d9b36d19 SM |
19099 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
19100 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
19101 | xg_update_scrollbar_pos. |
19102 | ||
af0ad939 TTN |
19103 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
19104 | ||
19105 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
19106 | ||
b22139fd KS |
19107 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
19108 | ||
19109 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
19110 | Add generic versions here. Remove system specific versions | |
19111 | defined elsewhere. | |
19112 | ||
19113 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
19114 | Add prototypes. | |
19115 | ||
6e6410cf KS |
19116 | * xterm.h (STORE_NATIVE_RECT): New macro. |
19117 | ||
5c9cc435 KS |
19118 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
19119 | ||
00c64fab SM |
19120 | * xdisp.c (get_glyph_string_clip_rect): |
19121 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
19122 | |
19123 | * dispextern.h (struct redisplay_interface): Add active_p | |
19124 | argument to draw_window_cursor member. All uses changed. | |
19125 | ||
acd37560 KS |
19126 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
19127 | ||
19128 | The following changes consolidate code related to writing and | |
19129 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
19130 | the output cursor, and help echo from xterm.c, w32term.c and | |
19131 | macterm.c into xdisp.c. It also generalizes the use of the | |
19132 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 19133 | |
acd37560 KS |
19134 | * xdisp.c: Consolidate gui-independent code here. |
19135 | Include keymap.h. | |
19136 | (Qhelp_echo): Import. | |
19137 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
19138 | (help_echo_string, help_echo_window, help_echo_object) | |
19139 | (previous_help_echo_string, help_echo_pos): Declare here. | |
19140 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
19141 | (estimate_mode_line_height): Define here. Handle windowing | |
19142 | systems directly (without using estimate_mode_line_height_hook). | |
19143 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
19144 | (update_window_cursor, update_cursor_in_window_tree) | |
19145 | (fast_find_position, fast_find_string_pos) | |
19146 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
19147 | (expose_area, expose_line, expose_overlaps, expose_window) | |
19148 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
19149 | declared static as they are only used locally in xdisp.c. | |
19150 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
19151 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
19152 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
19153 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 19154 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
19155 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
19156 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
19157 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
19158 | (note_mouse_highlight, x_clear_window_mouse_face) | |
19159 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
19160 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
19161 | and GUI front-ends. | |
19162 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
19163 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
19164 | ||
19165 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
19166 | (NativeRectangle): Generic typedef for rectangle type. | |
19167 | (enum window_part): Move here from window.c. | |
19168 | (struct redisplay_interface): New members flush_display_optional, | |
19169 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
19170 | draw_vertical_window_border, shift_glyphs_for_insert. | |
19171 | Rename member clear_mouse_face to clear_window_mouse_face. | |
19172 | (estimate_mode_line_height_hook): Remove hook. | |
19173 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
19174 | (tool_bar_item_info): Remove prototype. | |
19175 | (help_echo_string, help_echo_window, help_echo_object) | |
19176 | (previous_help_echo_string, help_echo_pos) | |
19177 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
19178 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
19179 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
19180 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
19181 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
19182 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
19183 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
19184 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
19185 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
19186 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
19187 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
19188 | Add prototypes. | |
19189 | (mode_line_string, marginal_area_string): Fix prototypes. | |
19190 | ||
19191 | * window.c (enum window_part): Move to dispextern.h. | |
19192 | (coordinates_in_window): Use enum window_part member names | |
19193 | instead of numbers to describe return value. | |
19194 | (struct check_window_data): Change part member to window_part. | |
19195 | (check_window_containing): Return window_part unaltered. | |
19196 | (window_from_coordinates): Change part arg from int to enum | |
19197 | window_part. Allow part arg to be null. All users changed. | |
19198 | ||
19199 | * window.h (window_from_coordinates): Fix prototype. | |
19200 | ||
19201 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
19202 | ||
19203 | * keyboard.c (make_lispy_event): Use enum window_part. | |
19204 | ||
19205 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
19206 | window_part instead of int in arg list. Users changed. | |
19207 | ||
19208 | * xterm.h (No_Cursor): Declare as None for X. | |
19209 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 19210 | |
acd37560 KS |
19211 | * xterm.c: Remove consolidated defines and code. |
19212 | (BETWEEN): Remove unused macro. | |
19213 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
19214 | (x_define_frame_cursor, x_clear_frame_area) | |
19215 | (x_draw_window_cursor): New X-specific functions for RIF. | |
19216 | (x_redisplay_interface): Add new members. | |
19217 | ||
19218 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
19219 | ||
19220 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
19221 | ||
19222 | * w32term.c: Remove consolidated defines and code. | |
19223 | (BETWEEN): Remove unused macro. | |
19224 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
19225 | (w32_define_frame_cursor, w32_clear_frame_area) | |
19226 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
19227 | (w32_redisplay_interface): Add new members. | |
19228 | ||
a64387ee | 19229 | * w32gui.h (No_Cursor): Define as 0 for W32. |
acd37560 KS |
19230 | (XRectangle): Add X compatible rectangle type. |
19231 | (NativeRectangle): Declare as RECT for W32. | |
19232 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
19233 | ||
19234 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
19235 | ||
19236 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 19237 | |
acd37560 KS |
19238 | * msdos.h (Display_Info): Add generic typedef. |
19239 | ||
19240 | * msdos.c: Remove consolidated defines and code. | |
19241 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
19242 | ||
19243 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
19244 | hand_cursor. | |
19245 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
19246 | ||
19247 | * macterm.c: Remove consolidated defines and code. | |
19248 | (BETWEEN): Remove unused macro. | |
19249 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
19250 | (mac_define_frame_cursor, mac_clear_frame_area) | |
19251 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
19252 | (x_redisplay_interface): Add new members. | |
19253 | ||
19254 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
19255 | (XRectangle): Add X compatible rectangle type. | |
19256 | (NativeRectangle): Declare as Rect for Mac. | |
19257 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
19258 | ||
204ccab1 KS |
19259 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
19260 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 19261 | |
9443fcf6 | 19262 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
19263 | included from it. Add dependency on keymap.h. |
19264 | ||
19265 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
19266 | ||
8ba01a70 | 19267 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
19268 | |
19269 | * fileio.c (Fexpand_file_name): Fix previous change. | |
19270 | ||
8ba01a70 | 19271 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
19272 | |
19273 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
19274 | make_specified_string. | |
19275 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
19276 | (Fdirectory_file_name, Fexpand_file_name) | |
19277 | (Fsubstitute_in_file_name): Likewise. | |
19278 | (Fread_file_name): Compare decoded homedir with DIR and | |
19279 | DEFAULT_FILENAME. | |
19280 | ||
19281 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
19282 | the number of characters. | |
19283 | ||
19536747 JD |
19284 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19285 | ||
de38ae5a JD |
19286 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
19287 | all widgets. | |
19288 | ||
19536747 JD |
19289 | * gtkutil.h: Removed xg_ignore_next_thumb. |
19290 | ||
37ab321e | 19291 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
19292 | |
19293 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
19294 | (Vcoding_system_safe_chars): New variable. | |
19295 | (intersection): Remove this function. | |
19296 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
19297 | all codings in SAFE_CODINGS. | |
00c64fab | 19298 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
19299 | find_safe_codings. Get generic coding systems from |
19300 | Vcoding_system_safe_chars. | |
19301 | (Fdefine_coding_system_internal): New function. | |
19302 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
19303 | Initialize and staticpro Vcoding_system_safe_chars. | |
19304 | ||
17097258 JD |
19305 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19306 | ||
2a2071c3 JD |
19307 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
19308 | equal old values before updating. | |
19309 | ||
17097258 JD |
19310 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
19311 | ||
19312 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
19313 | ||
19314 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
19315 | ||
19316 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
19317 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
19318 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
14a56a1b | 19319 | (scroll_bar_button_cb): Set bar->dragging to nil on button release. |
17097258 JD |
19320 | (xg_create_scroll_bar): Pass bar to button event callback. |
19321 | (xg_find_top_left_in_fixed): New function. | |
19322 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
19323 | whole scroll bar area. Get old position with | |
19324 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
19325 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
19326 | dragging is in progress. Calculate whole as for Motif. | |
19327 | Remove code that saved last values. Call gtk_range functions to | |
19328 | set scroll bar sizes. | |
19329 | ||
19330 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
19331 | ||
8cb9dfbf JB |
19332 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
19333 | ||
19334 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
19335 | and files included from it. | |
19336 | ||
00c64fab SM |
19337 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
19338 | ||
19339 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
19340 | multiple occurrences of the same keymap under different prefixes. | |
19341 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
19342 | ||
c45bb3b2 JR |
19343 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
19344 | ||
19345 | * w32gui.h: Use HDC for Display. | |
19346 | ||
19347 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
19348 | crashing Emacs. | |
19349 | ||
19350 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
19351 | as binary. | |
19352 | ||
2a6d0874 JB |
19353 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
19354 | ||
19355 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
19356 | ||
03eb5fab KS |
19357 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
19358 | ||
19359 | The following changes consolidate some of the gui-independent | |
19360 | parts of the processing and drawing of "glyph strings" from | |
19361 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 19362 | |
03eb5fab KS |
19363 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
19364 | 21 bits (this reduces number of faces from 4M to 2M). | |
19365 | Replace W32 specific w32_font_type member (2 bits) by generic | |
19366 | font_type member (3 bits) for portability. | |
19367 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
19368 | (enum draw_glyphs_face): Define here. | |
19369 | (struct glyph_string): Define here. Merge W32 and X versions. | |
19370 | (struct redisplay_interface): New members per_char_metric, | |
19371 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
19372 | (VCENTER_BASELINE_OFFSET): Define here. | |
19373 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
19374 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
19375 | ||
19376 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
19377 | (dump_glyph_string): Moved here. | |
19378 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
19379 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
19380 | (fill_composite_glyph_string, fill_glyph_string) | |
19381 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
19382 | (left_overwritten, left_overwriting, right_overwritten) | |
19383 | (right_overwriting, get_char_face_and_encoding) | |
19384 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
19385 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
19386 | (take_vertical_position_into_account, append_stretch_glyph) | |
19387 | (produce_stretch_glyph): New generic functions (based on X version). | |
19388 | Call platform specific functions through rif. | |
19389 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
19390 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
19391 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
19392 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
19393 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
19394 | (notice_overwritten_cursor): | |
19395 | Generic functions exported to platform modules. Users changed. | |
19396 | ||
19397 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
19398 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
19399 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 19400 | New macros for consolidated code. |
2a6d0874 | 19401 | |
03eb5fab KS |
19402 | * xterm.c: Remove consolidated defines and code. |
19403 | (x_per_char_metric, x_encode_char) | |
19404 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
19405 | (x_redisplay_interface): Add new members. | |
19406 | ||
19407 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
19408 | (XChar2b): Define alias for wchar_t for consolidation. | |
19409 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
19410 | ||
19411 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 19412 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
19413 | New macros for consolidation. |
19414 | ||
fad49844 | 19415 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
19416 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
19417 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
19418 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
19419 | (w32_encode_char): Return int according to RIF requirements. | |
19420 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
19421 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
19422 | x_get_glyph_overhangs. | |
19423 | (w32_redisplay_interface): Add new members. | |
19424 | ||
19425 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
19426 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
19427 | ||
19428 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
19429 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
19430 | consolidation. | |
19431 | ||
19432 | * macterm.c: Remove consolidated defines and code. | |
19433 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 19434 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
19435 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
19436 | (x_redisplay_interface): Add new members. | |
19437 | ||
00c64fab SM |
19438 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
19439 | ||
19440 | * keymap.c (Vmenu_events): New var. | |
19441 | (syms_of_keymap): Initialize it. | |
19442 | (where_is_internal): Check more carefully what is a menu event. | |
19443 | ||
225c7a07 RS |
19444 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
19445 | ||
19446 | * lread.c (read1): After #!, exit loop on eof. | |
19447 | ||
cea9be54 JD |
19448 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19449 | ||
9ea0e54d JD |
19450 | * gtkutil.h: Add declaration for xg_frame_cleared. |
19451 | ||
0cb35f4e JD |
19452 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
19453 | ||
cea9be54 JD |
19454 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
19455 | (handle_fixed_child): New function. | |
19456 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
19457 | and force a redraw on them. | |
19458 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
19459 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
19460 | so we can avoid unneeded redraws. | |
19461 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
19462 | and force a redraw on the scroll bar. | |
19463 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
19464 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 19465 | (xg_frame_cleared): New function. |
cea9be54 | 19466 | |
20b853f3 KH |
19467 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
19468 | ||
19469 | * coding.c (Fdetect_coding_region): Fix docstring. | |
19470 | (Fdetect_coding_string): Fix docstring. | |
19471 | ||
7a555aff AS |
19472 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
19473 | ||
25cc0080 AS |
19474 | * gtkutil.c: Add prototype for create_menus. |
19475 | ||
30225431 AS |
19476 | * data.c (long_to_cons): Fix type of top. |
19477 | ||
19478 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
19479 | long for an integer of size 4. | |
19480 | ||
7a555aff | 19481 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 19482 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 19483 | |
a3e4741f AS |
19484 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
19485 | ||
19486 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
19487 | ||
9668be7c KS |
19488 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
19489 | ||
03eb5fab | 19490 | The following changes consolidate the fringe handling from |
9668be7c | 19491 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 19492 | |
9668be7c KS |
19493 | * xdisp.c: Consolidate fringe handling code here. |
19494 | (left_bits, right_bits, continued_bits, continuation_bits) | |
19495 | (ov_bits, zv_bits): Define fringe bitmaps. | |
19496 | (fringe_bitmaps): New array holding fringe bitmaps. | |
19497 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
19498 | specific drawing routine via rif->draw_fringe_bitmap. | |
19499 | (draw_row_fringe_bitmaps): Generic replacement for | |
19500 | x_draw_row_fringe_bitmaps; all callers changed. | |
19501 | (compute_fringe_widths): Generic replacement for | |
19502 | x_compute_fringe_widths; all callers changed. | |
19503 | ||
19504 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
19505 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
19506 | (fringe_bitmaps): Declare extern. | |
19507 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
19508 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
19509 | ||
19510 | * xterm.c: Remove generic fringe code. | |
19511 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
19512 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
19513 | ||
19514 | * w32term.c: Remove generic fringe code. | |
19515 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
19516 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 19517 | |
9668be7c KS |
19518 | * macterm.c: Remove generic fringe code. |
19519 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
19520 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
19521 | ||
00a88f32 SM |
19522 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
19523 | ||
19524 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
19525 | ||
1d1de695 DK |
19526 | 2003-03-09 David Kastrup <dak@gnu.org> |
19527 | ||
19528 | * process.c (read_process_output): We have allocated enough space | |
19529 | for readmax and carryover, so actually use the alloted space. | |
19530 | ||
257f40f2 JD |
19531 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19532 | ||
19533 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
19534 | toolkit scrollbar click. | |
19535 | ||
19536 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
19537 | for USE_GTK. | |
19538 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
19539 | also. | |
1d1c7e75 | 19540 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit |
257f40f2 | 19541 | scrollbar and control is pressed, call x_scroll_bar_handle_click. |
00a88f32 | 19542 | |
78819ebb | 19543 | * gtkutil.h (xg_get_scroll_id_for_window): Declare. |
257f40f2 JD |
19544 | |
19545 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
19546 | (xg_tool_bar_item_expose_callback): New function. | |
19547 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
19548 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
19549 | on the tool bar widget. | |
19550 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
19551 | to expose on the tool bar item widgets. | |
19552 | ||
15213141 JD |
19553 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19554 | ||
26b74a0b | 19555 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 19556 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
19557 | deleted from the image cache). |
19558 | ||
15213141 JD |
19559 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
19560 | the event isn't for a frame (i.e. for dialogs). | |
19561 | ||
20b853f3 | 19562 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
19563 | |
19564 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
19565 | composition components reaches the limit, terminate composing. | |
19566 | (COMPOSITION_OK): New macro. | |
00a88f32 | 19567 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
19568 | composition is found. |
19569 | (coding_restore_composition): Adjust the number of composition | |
19570 | components if it is not sane. | |
19571 | ||
c9029fe5 JB |
19572 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
19573 | ||
19574 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
19575 | passing resources via -xrm on Windows. | |
19576 | ||
19577 | * w32term.c (w32_make_rdb): New function. | |
19578 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
19579 | struct. Delete leftover code. | |
19580 | ||
19581 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
19582 | for resources passed on the command line. | |
19583 | ||
19584 | * w32reg.c (w32_get_rdb_resource): New function. | |
19585 | (x_get_string_resource): Use it, so resources passed with -xrm | |
19586 | supercede the ones in the registry. | |
19587 | ||
9d00001f JD |
19588 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19589 | ||
19590 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
19591 | instead of x_top_window_to_frame. | |
19592 | ||
ca2417b9 JD |
19593 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19594 | ||
19595 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
19596 | when restarting Emacs. | |
19597 | ||
5b20caf0 RS |
19598 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
19599 | ||
19600 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
19601 | to run kill-buffer-query-functions. | |
19602 | (Qkill_buffer_query_functions): New var. | |
19603 | (syms_of_buffer): Init and staticpro it. | |
19604 | ||
58e91b77 JD |
19605 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19606 | ||
19607 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
19608 | ||
932357b4 KS |
19609 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
19610 | ||
19611 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
19612 | If centering point failed to make whole line visible and vscroll | |
19613 | is non-zero, disable vscroll and try centering point again. | |
19614 | ||
19615 | * lread.c (read1): Accept `single space' syntax like (? x). | |
19616 | ||
bb8db7e1 JD |
19617 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19618 | ||
19619 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
14a56a1b | 19620 | #ifdef HAVE_X_WINDOWS. |
bb8db7e1 | 19621 | |
47d77aab KH |
19622 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
19623 | ||
19624 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
19625 | process only when "subprocesses" is defined. | |
19626 | ||
6a097c0c SM |
19627 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
19628 | ||
19629 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
19630 | ||
0b063c27 JB |
19631 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
19632 | ||
d1135afc JB |
19633 | * callint.c (fix_command): Declare as static void and move before |
19634 | Fcall_interactively. | |
19635 | ||
0b063c27 JB |
19636 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
19637 | (syms_of_xdisp): Don't initialize Qwhen. | |
19638 | ||
0af912f0 JD |
19639 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19640 | ||
19641 | * keyboard.c (cancel_hourglass_unwind): New function. | |
19642 | (command_loop_1): Cancel hourglass with unwind-protect. | |
19643 | ||
120d0a23 RS |
19644 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
19645 | ||
19646 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
19647 | Detect (when ... (region-beginning)) etc. | |
19648 | (Fcall_interactively): Call fix_command. | |
19649 | (Qif, Qwhen): New variables. | |
19650 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 19651 | |
120d0a23 RS |
19652 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
19653 | ||
4ece81a6 KG |
19654 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
19655 | ||
19656 | * dired.c (directory_files_internal): Don't expand directory. | |
19657 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
19658 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
19659 | ||
e52bd6b7 SM |
19660 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
19661 | ||
19662 | * fns.c (string_to_multibyte): Remove unused var i. | |
19663 | (Flanginfo): Fix int/Lisp_Object mixup. | |
19664 | (void_call2): New fun. | |
19665 | (Fmap_char_table): Use it in place of call2. | |
19666 | ||
19667 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
19668 | ||
19669 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
19670 | ||
19671 | * keymap.c (copy_keymap_1): Make it static. | |
19672 | ||
19673 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
19674 | ||
c33ef7c4 JB |
19675 | 2003-02-22 David Ponce <david@dponce.com> |
19676 | ||
19677 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
19678 | ||
16782258 JD |
19679 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19680 | ||
19681 | * process.h: Removed subtty field from struct Lisp_Process. | |
19682 | ||
19683 | * process.c (create_process): Remove setting of subtty. | |
19684 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
19685 | (Fprocess_running_child_p, process_send_signal): |
19686 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
19687 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
19688 | ||
3abeca61 KG |
19689 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
19690 | ||
19691 | * keymap.c (Fdefine_key): Doc fix. | |
19692 | ||
92a8ce63 JB |
19693 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
19694 | ||
19695 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
19696 | ||
19697 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
19698 | POLLING_PROBLEM_IN_SELECT. | |
19699 | ||
19700 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
19701 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
19702 | ||
19703 | * s/hpux10-20.h: New file. | |
19704 | ||
e52bd6b7 SM |
19705 | * process.c (wait_reading_process_input): |
19706 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 19707 | |
20f1ef2e KH |
19708 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
19709 | ||
32d0a9dc KH |
19710 | * fontset.c (check_fontset_name): If NAME is nil, return the |
19711 | default fontset. | |
19712 | (override_font_info): New function. | |
e52bd6b7 | 19713 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
19714 | (Ffontset_info): If FONTSET is not the default fontset, merge |
19715 | FONTSET onto the copy of the default fontset, and work on that | |
19716 | copy. Document that NAME nil means the default fontset. | |
19717 | (Ffontset_font): Document that NAME nil means the default fontset. | |
19718 | ||
20f1ef2e KH |
19719 | * process.c (setup_process_coding_systems): If the process's |
19720 | in/out descriptor is -1, do nothing. | |
19721 | ||
77d1daf2 AS |
19722 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
19723 | ||
e52bd6b7 SM |
19724 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
19725 | Add prototypes. | |
77d1daf2 | 19726 | |
f9a45bb3 KH |
19727 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
19728 | ||
19729 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
19730 | Vscalable_fonts_allowed is not Qt. | |
19731 | ||
72ecb43c JD |
19732 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19733 | ||
19734 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
19735 | ||
ee5be7c3 JD |
19736 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19737 | ||
19738 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
19739 | names. | |
19740 | ||
19741 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 19742 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
19743 | x_face_list_fonts. |
19744 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
19745 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
19746 | ||
4cd519a7 KS |
19747 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
19748 | ||
068f9882 KS |
19749 | * lread.c (read1): Fix last change. |
19750 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 19751 | |
7290a344 AC |
19752 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
19753 | ||
19754 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
19755 | ||
1f7fa69b AS |
19756 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
19757 | ||
19758 | * window.c (window_scroll_pixel_based): Move outside a | |
19759 | multi-glyph character before setting new window start. | |
19760 | ||
19761 | * xdisp.c (in_display_vector_p): New function. | |
19762 | * dispextern.h (in_display_vector_p): Declare. | |
19763 | ||
23e21195 KS |
19764 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
19765 | ||
19766 | * lread.c (read1): Fix and relax read syntax. | |
19767 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
19768 | Only recognize "," after dotted-pair dot if inside backquote. | |
19769 | Never include "`" or "," (inside backquote) in a symbol. | |
19770 | Allow dotted-pair dot after a character constant. | |
19771 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 19772 | |
f098b121 JD |
19773 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19774 | ||
19775 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
19776 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
5e1a6e32 | 19777 | icons. Set name of tool bar to emacs-toolbar. |
f098b121 JD |
19778 | (update_frame_tool_bar): Connect expose event to |
19779 | xg_tool_bar_expose_callback. | |
19780 | ||
63020c46 RS |
19781 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
19782 | ||
19783 | * keyboard.c (this_command_key_count_reset): New variable. | |
19784 | Initiatize to 0 where this_command_key_count is set. | |
19785 | (read_char): Save and restore this_command_key_count_reset | |
19786 | around input method code. | |
19787 | (read_char): If this_command_key_count_reset, echo reread commands. | |
19788 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
19789 | ||
fb4452cc KH |
19790 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
19791 | ||
19792 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
19793 | ||
bd11cc09 JR |
19794 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
19795 | ||
e52bd6b7 SM |
19796 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
19797 | Negative max_fonts parameter means list all. | |
bd11cc09 | 19798 | |
4cdf4bde DL |
19799 | 2003-02-14 Dave Love <fx@gnu.org> |
19800 | ||
19801 | * fns.c (Flanginfo): Doc fix. | |
19802 | ||
023b93f6 KS |
19803 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
19804 | ||
37cd4238 KS |
19805 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
19806 | for \s-X in a character constant which still is the super modifier. | |
19807 | (read1): Signal an `invalid read syntax' error if a character | |
19808 | constant is immediately followed by a digit or symbol character. | |
19809 | ||
140a6b7e KS |
19810 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
19811 | match-data is undefined if last search failed. | |
19812 | ||
3419757d | 19813 | * keymap.c (Fcommand_remapping): Rename from Fremap_command. |
023b93f6 KS |
19814 | All uses changed. |
19815 | ||
7d5c86e5 JB |
19816 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
19817 | ||
19818 | * eval.c (Fdefmacro): Fix typo. | |
19819 | ||
295fff2c KS |
19820 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
19821 | ||
19822 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
19823 | macro is a string, convert meta modifiers in string when copying | |
19824 | the string into a vector. | |
19825 | ||
60f3202d KS |
19826 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
19827 | ||
19828 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
19829 | ||
61cb0b53 KH |
19830 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
19831 | ||
19832 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
19833 | ||
7392e23c KS |
19834 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
19835 | ||
19836 | * process.c: Doc fixes. | |
19837 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
19838 | ||
ce4254bd KH |
19839 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
19840 | ||
9c7a329a KH |
19841 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
19842 | ||
ce4254bd KH |
19843 | * process.c (QCfilter_multibyte): New variable. |
19844 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
19845 | (Fset_process_buffer, Fset_process_filter): |
19846 | Call setup_process_coding_systems. | |
ce4254bd KH |
19847 | (Fstart_process): Initialize the member `filter_multibyte' of |
19848 | struct Lisp_Process. | |
19849 | (create_process): Call setup_process_coding_systems. | |
19850 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
19851 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
19852 | Call setup_process_coding_systems. | |
19853 | (server_accept_connection): Call setup_process_coding_systems. | |
19854 | (read_process_output): If the process has a filter, decide the | |
19855 | multibyteness of a string to given to the filter by | |
19856 | `filter_multibyte' member of the process. If the process doesn't | |
19857 | have a filter and the result of conversion is unibyte, use | |
19858 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
19859 | multibyte form. | |
19860 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
19861 | (Fset_process_filter_multibyte): New function. | |
19862 | (Fprocess_filter_multibyte_p): New function. | |
19863 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
19864 | Defsubr Sset_process_filter_multibyte and | |
19865 | Sprocess_filter_multibyte_p. | |
19866 | ||
19867 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
19868 | ||
19869 | * lisp.h (setup_process_coding_systems): Add prototype. | |
19870 | ||
19871 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
19872 | process, update coding systems for the process. | |
19873 | ||
b08d5f59 KH |
19874 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
19875 | ||
19876 | * fns.c (string_to_multibyte): New function. | |
19877 | (Fstring_to_multibyte): New function. | |
19878 | (syms_of_fns): Defsubr it. | |
19879 | ||
0dfd93c0 AS |
19880 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
19881 | ||
19882 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
19883 | instead of the substitution. | |
19884 | ||
7b76ca1c JD |
19885 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19886 | ||
19887 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
19888 | ||
19889 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
19890 | the menu is fully visible. | |
7b76ca1c | 19891 | |
2436a4e4 JD |
19892 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19893 | ||
19894 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
19895 | (x_make_frame_invisible, x_wm_set_icon_position): |
19896 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
19897 | |
19898 | * xfns.c (x_set_name, x_set_title): Ditto. | |
19899 | ||
37d1e680 RS |
19900 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
19901 | ||
19902 | * keyboard.c (echo_now): Update before_command_echo_length. | |
19903 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
19904 | immediately rather than arranging to do it later. | |
19905 | (before_command_key_count_1, before_command_echo_length_1) | |
19906 | (before_command_restore_flag): Vars deleted. | |
19907 | (add_command_key): Don't handle before_command_restore_flag. | |
19908 | (read_char, record_menu_key): Don't update before_command_key_count or | |
19909 | before_command_echo_length. | |
19910 | (read_char): Don't handle before_command_restore_flag. | |
19911 | ||
19912 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
19913 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
19914 | ||
578846a3 KS |
19915 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
19916 | ||
19917 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
19918 | ||
49853a4d JD |
19919 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19920 | ||
19921 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
19922 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
19923 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
19924 | on list returned from gtk_container_get_children to avoid memory leak. | |
19925 | ||
8b53dc06 JR |
19926 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
19927 | ||
5d54d177 JR |
19928 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
19929 | local malloc. | |
19930 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
19931 | definitions in xpm.h. | |
19932 | (init_xpm_functions): New function. | |
f63fd14e | 19933 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
5d54d177 JR |
19934 | (init_external_image_libraries): Try to load libXpm.dll. |
19935 | ||
8b53dc06 JR |
19936 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
19937 | timestamp. | |
19938 | ||
b222e415 DL |
19939 | 2003-01-31 Dave Love <fx@gnu.org> |
19940 | ||
19941 | * syntax.c (Fskip_chars_forward) | |
19942 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
19943 | ||
c60ee5e7 JB |
19944 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
19945 | ||
19946 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
19947 | preprocessor tests). | |
19948 | ||
19949 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
19950 | ||
19951 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
19952 | ||
19953 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
19954 | ||
19955 | * s/cygwin.h: Added for Cygwin port. | |
19956 | ||
53b37591 JB |
19957 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
19958 | ||
19959 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
19960 | when including gif_lib.h. | |
fe929957 | 19961 | (init_gif_functions, init_tiff_functions): New functions. |
f63fd14e JB |
19962 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
19963 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 19964 | through pointers determined at runtime. |
fe929957 JB |
19965 | (init_external_image_libraries): Try to load libungif.dll and |
19966 | libtiff.dll. | |
53b37591 | 19967 | |
45415a8f KH |
19968 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
19969 | ||
19970 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 19971 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 19972 | |
a97e4138 JD |
19973 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19974 | ||
e52bd6b7 | 19975 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 19976 | |
6eed9bed DL |
19977 | 2003-01-30 Dave Love <fx@gnu.org> |
19978 | ||
19979 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
19980 | (Fgarbage_collect): Use them. | |
19981 | (init_alloc, syms_of_alloc): Set them up. | |
19982 | ||
100dcd40 JB |
19983 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
19984 | ||
19985 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
19986 | ||
fbd852af JR |
19987 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
19988 | ||
19989 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
19990 | an alternative name for jpeg.dll. | |
19991 | ||
8a2d8020 KH |
19992 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
19993 | ||
19994 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
19995 | properties. | |
19996 | ||
058c18c7 AC |
19997 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
19998 | ||
19999 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
20000 | <escape>. | |
20001 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
20002 | (XTread_socket): Drop special case for backspace. | |
20003 | ||
385f11cf AC |
20004 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
20005 | ||
20006 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
20007 | values in old-style RGB specs. | |
20008 | ||
c922a224 JB |
20009 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
20010 | ||
20011 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
20012 | jpeg dll. | |
20013 | ||
0a1d6de0 JD |
20014 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20015 | ||
20016 | * gtkutil.c (create_dialog, xg_separator_p) | |
20017 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
20018 | before calling strcmp or strlen. | |
20019 | ||
a97e4138 | 20020 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
20021 | |
20022 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
20023 | and handle image load failure. | |
20024 | ||
28908312 JR |
20025 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
20026 | ||
20027 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
20028 | New functions. | |
f63fd14e JB |
20029 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
20030 | Disable color table lookups. Call jpeg library functions | |
28908312 JR |
20031 | through pointers determined at runtime. |
20032 | (init_external_image_libraries): Try to load jpeg.dll. | |
20033 | ||
84e47416 RS |
20034 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
20035 | ||
20036 | * lisp.h: Declare format2 instead of format1. | |
20037 | ||
20038 | * fileio.c (barf_or_query_if_file_exists): | |
20039 | Call format2 instead of format1. | |
20040 | ||
20041 | * editfns.c (format2): New function, replaces format1 | |
20042 | but takes exactly two Lisp Objects as format args. | |
20043 | ||
20044 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
20045 | ||
a97e4138 | 20046 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
20047 | |
20048 | * xterm.h: Change to return value of x_dispatch_event to int. | |
20049 | ||
20050 | * xterm.c (x_filter_event): New function. | |
20051 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
20052 | (x_dispatch_event): Change to return value of finish. | |
20053 | (event_handler_gdk): Use return value from x_dispatch_event. | |
20054 | ||
20055 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
20056 | initialize input methods. | |
20057 | ||
20058 | * gtkutil.h: Add (void) prototypes. | |
20059 | ||
20060 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
20061 | the right. | |
20062 | ||
54eefef1 JR |
20063 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
20064 | ||
20065 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
20066 | [HAVE_PNG]: Sync with xfns.c version. | |
f63fd14e JB |
20067 | (png_load): Adjust colors for Windows. Use Windows |
20068 | bitmaps. Disable color table lookups. | |
c262430d JR |
20069 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
20070 | (init_png_functions): New function. | |
20071 | (png_read_from_memory, png_load): Call png library functions | |
20072 | through pointers determined at runtime. | |
20073 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
20074 | (init_external_image_libraries): New function. | |
20075 | (init_xfns): Call it. | |
54eefef1 | 20076 | |
1a9e275b AS |
20077 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
20078 | ||
20079 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
20080 | ||
a97e4138 | 20081 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
20082 | |
20083 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
20084 | of static initializer. | |
20085 | ||
422eec7e DL |
20086 | 2003-01-24 Dave Love <fx@gnu.org> |
20087 | ||
20088 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
20089 | architectures. | |
20090 | ||
20091 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
20092 | Use __alignof__. | |
20093 | ||
2a026b04 KH |
20094 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
20095 | ||
20096 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 20097 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
20098 | (command_loop_1): Call adjust_point_for_property with proper |
20099 | second arg. | |
20100 | ||
a18bb28d JR |
20101 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
20102 | ||
20103 | Sync changes with xterm.c and xfns.c. | |
20104 | ||
20105 | * w32term.c (x_draw_glyph_string_foreground) | |
20106 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
20107 | ||
20108 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
20109 | phys_cursor's hpos is overwritten. This is still not completely | |
20110 | correct, as it doesn't really make sense to use hpos at all to | |
20111 | get the cursor glyph (as that is relative to the width of the | |
20112 | characters on the line, which may have changed during the update). | |
20113 | ||
20114 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
20115 | of the cursor being in the first blank non-text line at the | |
20116 | end of a window. | |
20117 | ||
20118 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
20119 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
20120 | Compute from the x position returned by x_draw_glyphs. | |
20121 | ||
20122 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
20123 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
20124 | contain what its name suggests. | |
20125 | (notice_overwritten_cursor): Consider the cursor image erased if | |
20126 | the output area intersects the cursor image in y-direction. | |
20127 | ||
6a097c0c SM |
20128 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
20129 | note_mode_line_highlight and extend. | |
a18bb28d JR |
20130 | |
20131 | * w32term.c (last_window): New variable. | |
20132 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
20133 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
20134 | ||
20135 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
20136 | not update_mode_lines, and always set it to 1. | |
20137 | ||
ac6e47ef JR |
20138 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
20139 | ||
20140 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
20141 | ||
20142 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
20143 | ||
20144 | * w32term.h (struct w32_output): New member hand_cursor. | |
20145 | (WM_EMACS_SETCURSOR): New message definition. | |
20146 | ||
20147 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
20148 | function w32_define_cursor. | |
20149 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
20150 | position, change member name output_data.x to output_data.w32 and | |
20151 | add function w32_define_cursor. | |
20152 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
20153 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
20154 | (w32_initialize_display_info): |
20155 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
20156 | |
20157 | * w32fns.c (Vx_hand_shape): New variable. | |
20158 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
20159 | WM_EMACS_SETCURSOR. | |
20160 | (x-create-frame): Setup Cursor types. | |
20161 | ||
ceb39a17 JB |
20162 | 2003-01-21 David Ponce <david@dponce.com> |
20163 | ||
ac6e47ef | 20164 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
52eb0373 JB |
20165 | ccl->reg[2] to -1 before calling ccl_driver. |
20166 | (Sync. with xterm.c x_encode_char change by Kenichi Handa | |
20167 | <handa@m17n.org> on 2002-09-30.) | |
ac6e47ef JR |
20168 | (w32_draw_relief_rect): Declare all args. |
20169 | (w32_define_cursor): New. | |
20170 | ||
20171 | * w32fns.c (w32_load_cursor): New function. | |
20172 | (w32_init_class): Use it. | |
20173 | (x_put_x_image): Declare all args. | |
20174 | ||
b6189c3b | 20175 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> |
46cf0bed JB |
20176 | |
20177 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
20178 | ||
a97e4138 | 20179 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 | 20180 | |
14a56a1b | 20181 | * gtkutil.c: Must include stdio.h before termhooks.h. |
e8794476 | 20182 | |
83fc9c63 DL |
20183 | 2003-01-21 Dave Love <fx@gnu.org> |
20184 | ||
20185 | * alloc.c (Fgc_status): Print zombie list. | |
20186 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
20187 | Fix assignment of zombies. | |
20188 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
20189 | Don't take car of non-cons. | |
20190 | ||
20191 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
20192 | ||
20193 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
20194 | ||
fe04b8c8 JR |
20195 | 2003-01-20 David Ponce <david@dponce.com> |
20196 | ||
20197 | * w32menu.c (digest_single_submenu): Declare all args. | |
20198 | ||
20199 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
20200 | changes in xmenu.c: | |
20201 | ||
20202 | (parse_single_submenu): Use individual keymap's prompt | |
20203 | string as pane name, if there is one. | |
20204 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
20205 | parse_single_submenu and use it when calling digest_single_submenu. | |
20206 | ||
539e69a9 ST |
20207 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
20208 | ||
7e26f91b | 20209 | * macterm.c (XTread_socket): Check for valid, visible window |
539e69a9 ST |
20210 | before sending a scroll-wheel event. |
20211 | ||
675d000f RS |
20212 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
20213 | ||
20214 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
20215 | a minibuffer, then redisplay it like other windows. | |
20216 | ||
a97e4138 | 20217 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
20218 | |
20219 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
20220 | external tool bar before setting tool bar height. | |
20221 | ||
048addec JD |
20222 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20223 | ||
20224 | * xterm.c (handle_one_xevent): Surround popup_activated | |
20225 | with #ifdef:s for non-toolkit version. | |
20226 | ||
14a56a1b | 20227 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK. |
048addec JD |
20228 | (gtkutil.o): New file. |
20229 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
20230 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
20231 | ||
20232 | * gtkutil.c: New file for GTK version. | |
20233 | ||
20234 | * gtkutil.h: New file for GTK version. | |
20235 | ||
20236 | * xterm.h: Add xt_or_gtk_widget. | |
20237 | Include gtk files for USE_GTK. | |
20238 | (struct x_output): Add toolbar_height. | |
20239 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
20240 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
20241 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
20242 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
20243 | ||
20244 | * xterm.c: Include gtkutil.h for USE_GTK. | |
78819ebb | 20245 | (free_frame_menubar): Declare extern void for USE_GTK. |
048addec JD |
20246 | (note_mouse_highlight): Check popup_activated for USE_GTK. |
20247 | (xt_action_hook): Don't compile if USE_GTK. | |
20248 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
20249 | (xg_scroll_callback): New function. | |
20250 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
20251 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
20252 | for USE_GTK. | |
20253 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
20254 | xg_show_scroll_bar for USE_GTK. | |
20255 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
20256 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
20257 | (event_handler_gdk): New function for USE_GTK. | |
20258 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
20259 | (handle_one_xevent): Make sure widget is mapped before | |
20260 | calling x_real_positions for USE_GTK. | |
20261 | (XTread_socket): Add GTK event loop for USE_GTK. | |
20262 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
20263 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
20264 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
20265 | (x_iconify_frame): Add code for USE_GTK. | |
20266 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
20267 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
20268 | is in gtkutil.c. | |
20269 | (x_term_init): Add initialization for GTK. | |
20270 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
20271 | ||
20272 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
14a56a1b | 20273 | (Fx_popup_menu): Use current position if x and y are nil. |
6bdb309a SM |
20274 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
20275 | Check for USE_GTK. | |
048addec JD |
20276 | (popup_widget_loop): New function for USE_GTK. |
20277 | (x_activate_menubar): Add code for USE_GTK. | |
20278 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
20279 | (menu_highlight_callback, menubar_selection_callback): |
20280 | Add USE_GTK versions. | |
048addec JD |
20281 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
20282 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
20283 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
20284 | is in gtkutil.c. | |
20285 | (popup_selection_callback): New version for USE_GTK. | |
20286 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 20287 | one USE_X_TOOLKIT version. |
048addec JD |
20288 | (xmenu_show): Call create_and_show_popup_menu. |
20289 | (dialog_selection_callback): New version for USE_GTK. | |
20290 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 20291 | one USE_X_TOOLKIT version. |
048addec JD |
20292 | (xdialog_show): Call create_and_show_dialog. |
20293 | ||
20294 | * xfns.c: Include gtkutil for USE_GTK. | |
20295 | (x_window_to_frame, x_any_window_to_frame) | |
20296 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
20297 | (x_top_window_to_frame): Add code for USE_GTK. | |
20298 | (x_set_background_color): Call xg_set_background_color for GTK. | |
20299 | (x_set_menu_bar_lines): Check for USE_GTK. | |
20300 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
20301 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
20302 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
14a56a1b | 20303 | (Fx_create_frame): Check for USE_GTK. |
048addec JD |
20304 | (Fx_file_dialog): New implementation for USE_GTK. |
20305 | ||
20306 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
20307 | (update_menu_bar): Add check for USE_GTK. | |
20308 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
20309 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
20310 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
20311 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
20312 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
20313 | (display_menu_bar): Add check for USE_GTK | |
20314 | ||
78819ebb | 20315 | * lisp.h (Vx_resource_name): Declare extern. |
048addec | 20316 | |
a64387ee | 20317 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT |
048addec JD |
20318 | for USE_GTK. |
20319 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
20320 | ||
20321 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
20322 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
20323 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
20324 | ||
20325 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
20326 | ||
6bdb309a SM |
20327 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
20328 | Add check for USE_GTK. | |
048addec | 20329 | |
14a56a1b | 20330 | * config.in: Added HAVE_GTK. |
048addec JD |
20331 | |
20332 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
20333 | ||
20334 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
20335 | ||
20336 | * charset.h (Funibyte_char_to_multibyte): Export. | |
20337 | ||
20338 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
20339 | ||
20340 | * xmenu.c (mouse_position_for_popup): New function. | |
20341 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
20342 | mouse_position_hook for others. | |
20343 | ||
20344 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
20345 | ||
20346 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
20347 | `string-as-multibyte' in doc string. | |
20348 | ||
20349 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
20350 | ||
20351 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 20352 | |
048addec JD |
20353 | * editfns.c (Fformat): Convert an unibyte char argument that is |
20354 | formatted by "%c" to multibyte if the total result must be a | |
20355 | multibyte string. | |
cd7df9c0 | 20356 | |
048addec | 20357 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 20358 | |
048addec JD |
20359 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
20360 | of string argument. | |
56210ecd | 20361 | |
048addec | 20362 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 20363 | |
048addec | 20364 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 20365 | |
048addec JD |
20366 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
20367 | (re_search_2): Likewise. | |
6df8b9fe | 20368 | |
048addec | 20369 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 20370 | |
048addec JD |
20371 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
20372 | buffer is unibyte. | |
292ddc31 | 20373 | |
048addec | 20374 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 20375 | |
048addec | 20376 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 20377 | |
048addec JD |
20378 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
20379 | (Fprevious_char_property_change) | |
20380 | (Fnext_single_char_property_change) | |
20381 | (Fprevious_single_char_property_change, Fnext_property_change) | |
20382 | (Fnext_single_property_change, Fprevious_property_change) | |
20383 | (Fprevious_single_property_change, Fadd_text_properties) | |
20384 | (Fput_text_property, Fset_text_properties) | |
20385 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
20386 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 20387 | |
048addec | 20388 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 20389 | |
048addec JD |
20390 | * process.h (struct Lisp_Process): New member plist replaces old |
20391 | member private_vars. All uses changed. | |
63e4e4c6 | 20392 | |
048addec | 20393 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 20394 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 20395 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 20396 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 20397 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 20398 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 20399 | |
048addec | 20400 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 20401 | |
6bdb309a | 20402 | * m/delta.h: Remove (obsolete). |
e833850f | 20403 | |
048addec | 20404 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 20405 | |
048addec JD |
20406 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
20407 | behaviour in front of symlinks. | |
20408 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 20409 | |
048addec | 20410 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 20411 | |
048addec | 20412 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 20413 | |
048addec | 20414 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 20415 | |
048addec JD |
20416 | * minibuf.c (minibuffer_completion_contents): |
20417 | Error if point is inside prompt. | |
3e8cf2ea | 20418 | |
048addec JD |
20419 | * keyboard.c (command_loop_1): Don't redisplay directly |
20420 | if there's a post-command-hook. | |
3e8cf2ea | 20421 | |
048addec JD |
20422 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
20423 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 20424 | |
048addec | 20425 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 20426 | |
048addec | 20427 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 20428 | |
048addec JD |
20429 | * process.c (QCvars): New variable. |
20430 | (syms_of_process): Intern and staticpro it. | |
20431 | (Fset_process_contact): Removed function. | |
20432 | (Fprocess_variable, Fset_process_variable): New functions. | |
20433 | (syms_of_process): Defsubr them. | |
20434 | (Fstart_process): Initialize private_vars plist to nil. | |
20435 | (Fmake_network_process): New arg :vars to setup the private | |
20436 | variables for new network process. | |
20437 | (server_accept_connection): Copy server's private variables to | |
20438 | client process. | |
2c10f029 | 20439 | |
048addec JD |
20440 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
20441 | crashes). Code rewritten and simplified. Now directly aligns the | |
20442 | pointer and recalculates pure_bytes_used, rather than aligning the | |
20443 | size and adjusting the pointer. | |
b8a76c6c | 20444 | |
048addec | 20445 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 20446 | |
048addec JD |
20447 | * process.c (Fset_process_contact): New function. |
20448 | (syms_of_process): defsubr it. | |
20449 | (make-network-process): Update doc. | |
3a8d0899 | 20450 | |
048addec | 20451 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 20452 | |
048addec JD |
20453 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
20454 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 20455 | |
048addec | 20456 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 20457 | |
048addec | 20458 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 20459 | |
048addec | 20460 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 20461 | |
048addec JD |
20462 | * process.c (Fmake_network_process): Convert new port number |
20463 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 20464 | |
048addec | 20465 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 20466 | |
048addec JD |
20467 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
20468 | instead of XtAppProcessEvent. | |
bf338245 | 20469 | |
048addec JD |
20470 | * xterm.c (handle_one_xevent): New function. |
20471 | (x_dispatch_event): New function. | |
20472 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 20473 | |
048addec | 20474 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 20475 | |
048addec JD |
20476 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
20477 | call XQueryPointer to get coordinates. | |
20478 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
20479 | let popup_deactivate_callback do that. Needed for Motif. | |
20480 | Call x_dispatch_event instead of XtDispatchEvent. | |
20481 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 20482 | |
048addec | 20483 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 20484 | |
6bdb309a | 20485 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
20486 | connection's local address in :local property of contact info. |
20487 | (Fmake_network_process): Record local network address for new | |
20488 | client processes in :local property of contact info. | |
6bdb309a | 20489 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 20490 | |
048addec | 20491 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 20492 | |
048addec | 20493 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 20494 | |
ddec2286 RS |
20495 | 2003-01-06 Dave Love <fx@gnu.org> |
20496 | ||
20497 | * fns.c: Include coding.h. Use POINTER_TYPE*, not void*. | |
20498 | (Vlocale_coding_system): Declare. | |
20499 | (Qcodeset, Qdays, Qmonths, Qpaper): New. | |
20500 | (Flanginfo): New. | |
20501 | (syms_of_fns): Initialize new stuff. | |
20502 | ||
048addec | 20503 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 20504 | |
048addec | 20505 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 20506 | |
048addec JD |
20507 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
20508 | use the same test as for custom-variable-p. | |
8c6d74c6 | 20509 | |
048addec | 20510 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 20511 | |
048addec JD |
20512 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
20513 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
20514 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
20515 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 20516 | |
048addec JD |
20517 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
20518 | scroll_conservatively case. If scrolling that much doesn't change | |
20519 | STARTP, move it down one line. | |
e833850f | 20520 | |
048addec JD |
20521 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
20522 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 20523 | |
048addec JD |
20524 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
20525 | selected frame. | |
8c6d74c6 | 20526 | |
048addec | 20527 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
3419757d | 20528 | (syms_of_keymap): Staticpro them. |
048addec JD |
20529 | (Fapropos_internal): Initialize them and clear them out. |
20530 | Don't GCPRO them. | |
8c6d74c6 | 20531 | |
f5ecbcee | 20532 | * buffer.c (syms_of_buffer) <scroll-up|down-aggressively>: Doc fixes. |
8c6d74c6 | 20533 | |
048addec JD |
20534 | * lisp.h: New misc type Lisp_Save_Value. |
20535 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
20536 | (XSAVE_VALUE): New macro. | |
20537 | (struct Lisp_Save_Value): New data type. | |
20538 | (union Lisp_Misc): Add u_save_value alternative. | |
78819ebb | 20539 | (make_save_value): Declare. |
8c6d74c6 | 20540 | |
048addec | 20541 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 20542 | |
048addec JD |
20543 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
20544 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 20545 | |
048addec | 20546 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 20547 | |
048addec | 20548 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 20549 | |
048addec JD |
20550 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
20551 | in direct action cases for Qforward_char and Qbackward_char. | |
20552 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 20553 | |
b6189c3b | 20554 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> |
8c6d74c6 | 20555 | |
048addec JD |
20556 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
20557 | type definition of size_t. | |
8c609cff | 20558 | |
048addec | 20559 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 20560 | |
048addec JD |
20561 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
20562 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 20563 | |
048addec | 20564 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 20565 | |
048addec JD |
20566 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
20567 | to default to t. | |
fa634a5e | 20568 | |
048addec | 20569 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 20570 | |
048addec | 20571 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 20572 | |
048addec | 20573 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 20574 | |
7e26f91b | 20575 | * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to |
048addec JD |
20576 | allow building in a different directory than source. Uses some |
20577 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 20578 | |
048addec | 20579 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 20580 | |
048addec JD |
20581 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
20582 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
20583 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
20584 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 20585 | |
048addec | 20586 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 20587 | |
048addec JD |
20588 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
20589 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 20590 | |
048addec JD |
20591 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
20592 | string as pane name, if there is one. | |
20593 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
20594 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 20595 | |
048addec JD |
20596 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
20597 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 20598 | |
048addec | 20599 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 20600 | |
048addec JD |
20601 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
20602 | (mac_menu_show): Add support for hierarchical popup menus. | |
20603 | (add_menu_item): Remove indentation support. | |
20604 | (fill_submenu, fill_menu): Create hierarchical menus | |
20605 | instead of using indentation. | |
0b17a217 | 20606 | |
048addec | 20607 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 20608 | |
048addec JD |
20609 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
20610 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 20611 | |
048addec | 20612 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 20613 | |
048addec | 20614 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 20615 | |
048addec JD |
20616 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
20617 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
7e26f91b | 20618 | being treated like C-%. Do not look for shift key to deal |
048addec | 20619 | with masking off control-key with mac-reverse-ctrl-meta. |
f02cac82 | 20620 | |
048addec | 20621 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 20622 | |
048addec JD |
20623 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
20624 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
20625 | the events that were read ahead. | |
20626 | (popup_get_selection_unwind): New subroutine. | |
20627 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
20628 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
20629 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
20630 | Use an unwind-protect to pop down the dialog box. | |
20631 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 20632 | |
048addec JD |
20633 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
20634 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 20635 | |
048addec JD |
20636 | * lread.c (load_error_handler): New function. |
20637 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
20638 | Don't expect Fsignal to return. | |
f02cac82 | 20639 | |
048addec JD |
20640 | * eval.c: Errors and throws work right with interrupt blocking. |
20641 | (struct catchtag): New elt interrupt_input_blocked. | |
20642 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
20643 | (internal_catch, Fcondition_case, internal_condition_case) | |
20644 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
20645 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 20646 | |
048addec | 20647 | * editfns.c (Fformat): Add parens. |
f02cac82 | 20648 | |
048addec JD |
20649 | * dired.c (file_name_completion): Fix that change. |
20650 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 20651 | |
b6189c3b | 20652 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> |
f02cac82 | 20653 | |
048addec JD |
20654 | * dired.c (file_name_completion): Close directory on error |
20655 | just as in directory_files_internal. | |
1a590729 | 20656 | |
048addec | 20657 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 20658 | |
048addec JD |
20659 | * window.c (Fset_window_configuration): Set old_point to correct |
20660 | value when new_current_buffer == current_buffer. | |
f02cac82 | 20661 | |
048addec | 20662 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 20663 | |
048addec JD |
20664 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
20665 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
20666 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 20667 | |
048addec JD |
20668 | These changes were in part based upon suggestions made by Peter |
20669 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 20670 | |
f4a5a485 SM |
20671 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) |
20672 | (g_b_init_get_token_information, g_b_init_lookup_account_sid) | |
20673 | (g_b_init_get_sid_identifier_authority ): Add several static | |
048addec | 20674 | global variables. |
9785d95b | 20675 | |
048addec JD |
20676 | * w32.c (globals_of_w32): New function. Used to initialize those |
20677 | global variables that must always be initialized on startup even | |
20678 | when the global variable initialized is non zero. Its primary | |
20679 | purpose at this time is to set the global variables | |
20680 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
20681 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
20682 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
20683 | Called from main. | |
9785d95b | 20684 | |
048addec JD |
20685 | * w32.c (is_windows_9x): Perform initialization only if |
20686 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
20687 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 20688 | |
048addec JD |
20689 | * w32.c (open_process_token): Perform initialization only if |
20690 | g_b_init_open_process_token is equal to 0. On initialization set | |
20691 | g_b_init_open_process_token equal to 1. | |
2308af15 | 20692 | |
048addec JD |
20693 | * w32.c (get_token_information): Perform initialization only if |
20694 | g_b_init_get_token_information is equal to 0. On initialization | |
20695 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 20696 | |
048addec JD |
20697 | * w32.c (lookup_account_sid): Perform initialization only if |
20698 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
20699 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 20700 | |
048addec JD |
20701 | * w32.c (get_sid_identifier_authority): Perform initialization |
20702 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
20703 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 20704 | |
f63fd14e | 20705 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
048addec JD |
20706 | those global variables that must always be initialized on startup |
20707 | even when the global variable initialized is non zero. | |
20708 | Its primary purpose at this time is to initialize the global variable | |
20709 | track_mouse_event_fn. | |
9785d95b | 20710 | |
a64387ee | 20711 | * w32fns.c (w32_wnd_proc): Remove initialization of |
048addec | 20712 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b | 20713 | |
048addec | 20714 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 20715 | |
f63fd14e | 20716 | * w32menu.c (globals_of_w32menu): New function. Used to |
048addec JD |
20717 | initialize those global variables that must always be initialized |
20718 | on startup even when the global variable initialized is non zero. | |
20719 | Its primary purpose at this time is to initialize the global | |
20720 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 20721 | |
048addec JD |
20722 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
20723 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 20724 | |
048addec | 20725 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 20726 | |
048addec JD |
20727 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
20728 | Declare them. | |
9785d95b | 20729 | |
048addec JD |
20730 | * emacs.c (main): Call globals_of_w32 prior to calling |
20731 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
20732 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
20733 | is defined. | |
9785d95b | 20734 | |
048addec JD |
20735 | * w32term.c (x_update_window_begin): Fix Windows API error |
20736 | detected by BoundsChecker. Test to determine if | |
20737 | w32_system_caret_hwnd is NULL prior to attempting to use | |
20738 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 20739 | |
048addec JD |
20740 | * w32term.c (x_update_window_end): Fix Windows API error |
20741 | detected by BoundsChecker. Test to determine if | |
20742 | w32_system_caret_hwnd is NULL prior to attempting to use | |
20743 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 20744 | |
048addec | 20745 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 20746 | |
048addec JD |
20747 | * coding.c (coding_system_require_warning): New variable. |
20748 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 20749 | |
048addec | 20750 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 20751 | |
048addec JD |
20752 | * fileio.c (choose_write_coding_system): Even if |
20753 | Vcoding_system_for_write is non-nil, if | |
20754 | coding_system_require_warning is nonzero, call | |
20755 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 20756 | |
048addec | 20757 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 20758 | |
048addec JD |
20759 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
20760 | (lisp): Add font-core. | |
2c568af5 | 20761 | |
048addec | 20762 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 20763 | |
048addec JD |
20764 | * textprop.c (text_read_only): New arg `propval'. |
20765 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
20766 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 20767 | |
048addec | 20768 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 20769 | |
048addec | 20770 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 20771 | |
048addec | 20772 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 20773 | |
048addec JD |
20774 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
20775 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
20776 | Be more careful about when help_events are generated. | |
96720f09 | 20777 | |
048addec | 20778 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 20779 | |
048addec JD |
20780 | * macterm.c (mac_check_for_quit_char): Correctly set the |
20781 | modifiers of the event to 0. | |
20782 | * mac.c (sys_select): Duplicate rfds before calling select to | |
20783 | ensure that rfds survive the while loop. | |
e5ae1c49 | 20784 | |
048addec | 20785 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 20786 | |
048addec JD |
20787 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
20788 | row_containing_pos returned NULL. | |
2eb46b2d | 20789 | |
048addec | 20790 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 20791 | |
6bdb309a | 20792 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 20793 | non-blocking. |
6bdb309a | 20794 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 20795 | the one given. |
b11f1d8a | 20796 | |
048addec | 20797 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 20798 | |
048addec | 20799 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 20800 | |
048addec | 20801 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 20802 | |
048addec JD |
20803 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
20804 | as the last thing. | |
a4ac5b17 | 20805 | |
048addec | 20806 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 20807 | |
048addec | 20808 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 20809 | |
048addec | 20810 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 20811 | |
048addec JD |
20812 | * editfns.c (Fformat): Handle precision in string conversion |
20813 | specifiers like libc functions do (ie, print at most that many | |
20814 | characters). | |
85cce843 | 20815 | |
048addec | 20816 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 20817 | |
048addec JD |
20818 | * xdisp.c (row_containing_pos): Check more carefully |
20819 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 20820 | |
048addec | 20821 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 20822 | |
048addec | 20823 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 20824 | |
048addec JD |
20825 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
20826 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 20827 | |
048addec JD |
20828 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
20829 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 20830 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 20831 | in the OS event queue. |
b11f1d8a | 20832 | |
048addec JD |
20833 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
20834 | while blocking on select. | |
0d4d26a7 | 20835 | |
048addec JD |
20836 | * mac.c (sys_read): Use sys_select to test for input first |
20837 | before calling read, to allow C-g to break. | |
9252f7bc | 20838 | |
048addec | 20839 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 20840 | |
048addec | 20841 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 20842 | |
048addec | 20843 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 20844 | |
048addec | 20845 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 20846 | |
048addec JD |
20847 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
20848 | autoload. | |
9252f7bc | 20849 | |
048addec | 20850 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 20851 | |
048addec | 20852 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 20853 | |
c6605d63 | 20854 | 2002-12-06 Francesco Potort\e,Al\e(B <pot@gnu.org> |
bfa261c0 | 20855 | |
048addec | 20856 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 20857 | |
048addec | 20858 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 20859 | |
048addec | 20860 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 20861 | |
048addec | 20862 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 20863 | |
048addec | 20864 | * alloca.c: Don't use #error. |
02d588e2 | 20865 | |
048addec | 20866 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 20867 | |
048addec JD |
20868 | * buffer.c (Qucs_set_table_for_input): New. |
20869 | (Fget_buffer_create): Use it. | |
20870 | (Qset_buffer_major_mode_hook): Deleted. | |
20871 | (Fset_buffer_major_mode): Revert previous change. | |
20872 | (init_buffer_once): Intern ucs-set-table-for-input. | |
20873 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
20874 | Add &Qucs_set_table_for_input. | |
451e2697 | 20875 | |
048addec | 20876 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 20877 | |
048addec JD |
20878 | * callint.c (Fcall_interactively): Use next_event only if less |
20879 | than key_count. | |
72742a99 | 20880 | |
048addec | 20881 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 20882 | |
048addec JD |
20883 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
20884 | names to 255 characters. | |
72742a99 | 20885 | |
048addec JD |
20886 | * macterm.c (XTread_socket): If all frames have been collapsed, |
20887 | expand the first one before handling drag-and-drop events. | |
72742a99 | 20888 | |
048addec JD |
20889 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
20890 | which is detected by autoconf. | |
40e6ff95 | 20891 | |
048addec | 20892 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 20893 | |
048addec JD |
20894 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
20895 | offset in two hints table to allow prebinding to be redone and | |
20896 | allow the executable to be stripped. | |
c02138c6 | 20897 | |
048addec | 20898 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 20899 | |
048addec JD |
20900 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
20901 | already provided. | |
0e47bbf7 | 20902 | |
048addec | 20903 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 20904 | |
048addec JD |
20905 | * xdisp.c (start_display): Check more intelligently for |
20906 | whether the line is continued. | |
20907 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 20908 | |
048addec | 20909 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 20910 | |
048addec JD |
20911 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
20912 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 20913 | |
048addec | 20914 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 20915 | |
048addec JD |
20916 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
20917 | more descriptive error output from lread.c:Fload upon most require | |
20918 | cycles during boostrapping. | |
1637fd2c | 20919 | |
048addec | 20920 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 20921 | |
048addec JD |
20922 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
20923 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 20924 | |
048addec JD |
20925 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
20926 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 20927 | |
048addec | 20928 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 20929 | |
048addec | 20930 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 20931 | |
048addec JD |
20932 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
20933 | Test GETPGRP_VOID instead. | |
20934 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 20935 | |
048addec JD |
20936 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
20937 | Don't define. | |
20938 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 20939 | |
048addec | 20940 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 20941 | |
048addec | 20942 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 20943 | |
048addec JD |
20944 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
20945 | supported. | |
4042a81a | 20946 | |
048addec | 20947 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 20948 | |
048addec | 20949 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 20950 | |
048addec | 20951 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 20952 | |
048addec | 20953 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 20954 | |
048addec | 20955 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 20956 | |
048addec | 20957 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 20958 | |
048addec JD |
20959 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
20960 | determine the size of pointers alloced in unexed space instead | |
20961 | of using possibly invalid emacs_zone pointers. This fixes the | |
20962 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 20963 | |
048addec | 20964 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 20965 | |
048addec | 20966 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 20967 | |
048addec JD |
20968 | * callint.c (Fcall_interactively): If a command fails because |
20969 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
20970 | record it anyway if the args don't actually do tty input. | |
5598c32e | 20971 | |
048addec | 20972 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 20973 | |
048addec | 20974 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 20975 | |
048addec JD |
20976 | * keyboard.c (interrupt_signal): Provide forward declaration. |
20977 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 20978 | |
048addec | 20979 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 20980 | |
048addec | 20981 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 20982 | |
048addec JD |
20983 | * eval.c (interactive_p): Skip any number of bytecode |
20984 | and special form frames, in any order. | |
516eea8e | 20985 | |
048addec | 20986 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 20987 | |
048addec JD |
20988 | * w32fns.c (convert_mono_to_color_image): New function. |
20989 | (xbm_load, xbm_load_image): Use it when foreground or background | |
20990 | is explicitly set. | |
04dbfa08 | 20991 | |
048addec | 20992 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 20993 | |
048addec | 20994 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 20995 | |
048addec | 20996 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 20997 | |
048addec JD |
20998 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
20999 | (XPutPixel): Swap blue and red. | |
21000 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
21001 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
21002 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
21003 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 21004 | |
048addec | 21005 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 21006 | |
048addec | 21007 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 21008 | |
048addec | 21009 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 21010 | |
048addec | 21011 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 21012 | |
048addec JD |
21013 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
21014 | malloc, realloc, calloc. | |
d824beee | 21015 | |
048addec JD |
21016 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
21017 | (bcmp): Don't define. | |
d824beee | 21018 | |
048addec | 21019 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 21020 | |
048addec | 21021 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 21022 | |
048addec | 21023 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 21024 | |
048addec | 21025 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 21026 | |
048addec JD |
21027 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
21028 | Don't include alloca.h. | |
d824beee | 21029 | |
048addec | 21030 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 21031 | |
048addec | 21032 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 21033 | |
048addec | 21034 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 21035 | |
048addec | 21036 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 21037 | |
048addec | 21038 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 21039 | |
048addec | 21040 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 21041 | |
048addec | 21042 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 21043 | |
048addec JD |
21044 | * dispextern.h (struct face): Add `overstrike' field. |
21045 | * xterm.c (x_draw_glyph_string_foreground) | |
21046 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
21047 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
21048 | result from choose_face_font. | |
21049 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
21050 | argument, and use it to return whether overstriking is desirable | |
21051 | for this face/font combo. | |
21052 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 21053 | |
048addec | 21054 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 21055 | |
048addec JD |
21056 | This change is my fix for the following entry in etc/PROBLEMS: |
21057 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
21058 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 21059 | |
048addec JD |
21060 | * w32.c: Added wrapper functions around the win32 API functions |
21061 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
21062 | GetSidIdentifierAuthority. These wrapper functions serve two | |
21063 | purposes: | |
21064 | 1. They ensure that the wrapped function can never be called | |
21065 | when Emacs is running on an operating system on which they are | |
21066 | not supported (Microsoft Windows 95 / 98 / ME). | |
21067 | 2. They call the wrapped functions via function pointers rather | |
21068 | than calling them directly. This avoids taking advantage of the | |
21069 | undocumented fact that although these functions are not supported | |
21070 | in the 9x branch of Microsoft Windows, the functions do exist in | |
21071 | the version of advapi32.dll that is found in the 9x branch of | |
21072 | Microsoft Windows. | |
f60ae425 | 21073 | |
6bdb309a | 21074 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
21075 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
21076 | and GetSidIdentifierAuthority with calls to the newly added | |
21077 | wrapper functions. | |
f60ae425 | 21078 | |
048addec JD |
21079 | * w32.h: Added extern declarations for the following functions: |
21080 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
21081 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 21082 | |
6bdb309a | 21083 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
21084 | function pointer track_mouse_event_fn in the handler for the |
21085 | WM_SETFOCUS message. | |
3582b6a3 | 21086 | |
6bdb309a | 21087 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
21088 | reinitialize the function pointers set_menu_item_info and |
21089 | get_menu_item_info. | |
f60ae425 | 21090 | |
048addec | 21091 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 21092 | |
048addec JD |
21093 | * sound.c: Added a partial implementation of play-sound-internal |
21094 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
21095 | code blocks to separate the code that will compile under | |
9fed2905 | 21096 | Microsoft Windows from the code that is specific to GNU/Linux. |
048addec | 21097 | Moved several blocks of code around to make this separation of code |
9fed2905 | 21098 | into Windows compatible and GNU/Linux compatible code blocks easier. |
f60ae425 | 21099 | |
048addec | 21100 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 21101 | |
048addec JD |
21102 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
21103 | added support for play-sound-internal under Windows would be | |
21104 | included in the build of Emacs. | |
517f42a0 | 21105 | |
048addec | 21106 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 21107 | |
048addec | 21108 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 21109 | |
048addec | 21110 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 21111 | |
048addec | 21112 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 21113 | |
048addec JD |
21114 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
21115 | (adjust_point_for_property): Move out of display and invisible even if | |
21116 | we were already inside before (in case a property was added while | |
21117 | we weren't looking). Be more careful when handling invisible props. | |
21118 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 21119 | |
048addec | 21120 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 21121 | |
048addec JD |
21122 | * w32term.c (x_draw_image_foreground) |
21123 | (w32_draw_image_foreground_1): Use standard copy and invert | |
21124 | operations to draw images. | |
aab83f91 | 21125 | |
048addec JD |
21126 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
21127 | depth of 1. | |
21128 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
21129 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 21130 | |
048addec | 21131 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 21132 | |
048addec JD |
21133 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
21134 | (w32_draw_image_foreground_1): Handle image masks. | |
21135 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 21136 | |
048addec JD |
21137 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
21138 | (x_from_xcolors): Adjust RGB values for W32. | |
21139 | (image_background, image_background_transparent) | |
21140 | (postprocess_image, x_to_xcolors, x_disable_image) | |
21141 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
21142 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
21143 | (xbm_load): Remove unused variable. | |
03670a65 | 21144 | |
048addec | 21145 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 21146 | |
048addec | 21147 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 21148 | |
048addec | 21149 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 21150 | |
048addec | 21151 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 21152 | |
048addec JD |
21153 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
21154 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
21155 | * xfns.c (x_put_x_image): | |
21156 | * xdisp.c (message2_nolog, set_message): | |
21157 | * undo.c (record_point): | |
21158 | * terminfo.c (tparam): | |
21159 | * syntax.c (scan_sexps_forward): | |
21160 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
21161 | * composite.c (update_compositions): | |
21162 | * cm.c (calccost, cmgoto): | |
21163 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 21164 | |
048addec | 21165 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 21166 | |
048addec JD |
21167 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
21168 | Don't declare. | |
59daa29a | 21169 | |
048addec | 21170 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 21171 | |
048addec JD |
21172 | * fns.c (Fcopy_sequence): Doc fix. |
21173 | (Fmap_char_table): Cast `call2'. | |
3947677c | 21174 | |
c6605d63 | 21175 | 2002-11-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
048addec JD |
21176 | |
21177 | * s/sol2-8.h: New file. | |
21178 | ||
21179 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
21180 | ||
21181 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
21182 | dependency on `risky-local-variable' and the :propertize form. | |
21183 | ||
21184 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
21185 | ||
21186 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
21187 | ||
21188 | * syntax.c (scan_sexps_forward): Undo last patch. | |
21189 | Use a more obvious fix: check eob before updating the syntax table. | |
21190 | ||
21191 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
21192 | ||
21193 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
21194 | a char rather than after so we don't update the table past eob. | |
21195 | ||
21196 | 2002-11-09 Dave Love <fx@gnu.org> | |
21197 | ||
21198 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
21199 | ||
21200 | * regex.c (regexec): Fix pmatch declaration. | |
21201 | ||
21202 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
21203 | ||
21204 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
21205 | to self-inserting characters. | |
21206 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
21207 | ||
21208 | * coding.c (Vtranslation_table_for_input): New. | |
21209 | (syms_of_coding): DEFVAR it. | |
21210 | ||
21211 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
21212 | ||
21213 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
21214 | window. | |
21215 | ||
21216 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
21217 | ||
6bdb309a | 21218 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
21219 | cp, and i. |
21220 | ||
21221 | 2002-11-06 Dave Love <fx@gnu.org> | |
21222 | ||
21223 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
21224 | (Fset_buffer_major_mode): Use it. | |
21225 | ||
21226 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
21227 | ||
21228 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
21229 | and stop_polling. | |
21230 | ||
21231 | * process.c (wait_reading_process_input): | |
21232 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
21233 | Avoid initialization for auto Lisp_Object var. | |
21234 | ||
21235 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
21236 | ||
21237 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
21238 | ||
21239 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
21240 | ||
21241 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
21242 | ||
21243 | * callint.c (Fcall_interactively): New local filter_specs. | |
21244 | (Fcall_interactively): Check for progn as well as let. | |
21245 | Add a gcpro. | |
21246 | (Qprogn): New variable. | |
21247 | (syms_of_callint): Staticpro and init Qprogn. | |
21248 | ||
21249 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
21250 | ||
21251 | * lread.c (Feval_buffer): Doc fix. | |
21252 | ||
21253 | 2002-11-04 Dave Love <fx@gnu.org> | |
21254 | ||
21255 | * keyboard.c (read_char): Always translate iff | |
21256 | Vkeyboard_translate_table is a char table and c is valid. | |
21257 | ||
21258 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
21259 | and fix C types. | |
21260 | ||
21261 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
21262 | ||
21263 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
21264 | ||
21265 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
21266 | ||
21267 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
21268 | overlays. Also handle `invisible' prop. | |
21269 | ||
21270 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
21271 | ||
21272 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
21273 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
21274 | ||
21275 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
21276 | ||
21277 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
21278 | ||
21279 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
21280 | ||
21281 | * xmenu.c (unuse_menu_items): New fun. | |
21282 | (menu_items_inuse): New var. | |
21283 | (syms_of_xmenu): Initialize it. | |
21284 | (init_menu_items): Use it to detect re-entrance. | |
21285 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
21286 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
21287 | ||
21288 | * editfns.c (find_field): Make an exception for nil fields. | |
21289 | ||
21290 | 2002-11-01 Dave Love <fx@gnu.org> | |
21291 | ||
21292 | * m/gec63.h: Deleted. | |
21293 | ||
21294 | 2002-10-31 Dave Love <fx@gnu.org> | |
21295 | ||
21296 | * xterm.c (XTread_socket): Fix last change. | |
21297 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
21298 | ||
21299 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
21300 | ||
21301 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
21302 | ||
21303 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
21304 | ||
21305 | * editfns.c (overlays_around, get_pos_property): New funs. | |
21306 | (find_field): Use them. | |
21307 | Also be careful not to modify POS before its last use. | |
21308 | (Fmessage): Don't Fformat if there's nothing to format. | |
21309 | ||
21310 | 2002-10-30 Dave Love <fx@gnu.org> | |
21311 | ||
21312 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
21313 | [HAVE_PTY_H]; Include pty.h. | |
21314 | ||
21315 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
21316 | ||
21317 | * xterm.c (Qeql): Declare. | |
21318 | (Vx_keysym_table): New. | |
21319 | (syms_of_xterm): Initialize it. | |
21320 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
21321 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
21322 | ||
21323 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
21324 | (lispy_kana_keys): Comment out. | |
21325 | (make_lispy_event) [XK_kana_A]: Comment out. | |
21326 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
21327 | Fix sprintf call. | |
21328 | ||
21329 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
21330 | regexp.h change). | |
21331 | (TERMINFO, LIBS_TERMCAP): Define. | |
21332 | ||
21333 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
21334 | (bcmp): Define conditional on HAVE_BCMP. | |
21335 | (NO_SIOCTL_H): Don't define. | |
21336 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
21337 | ||
21338 | * s/sol2-5.h: Don't include strings.h. | |
21339 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
21340 | ||
21341 | * s/irix6-0.h (IRIX6): Don't define. | |
21342 | (bcopy, bcmp, bzero): Don't undef. | |
21343 | ||
21344 | * s/irix6-5.h: Don't include strings.h. | |
21345 | (IRIX6): Don't define. | |
21346 | (bcopy, bcmp, bzero): Don't undef. | |
21347 | ||
21348 | * syntax.c (Fforward_comment): Doc fix. | |
21349 | ||
21350 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
21351 | ||
21352 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
21353 | name in addition to pid (as integer or string). | |
21354 | ||
21355 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
21356 | ||
21357 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
21358 | environments. | |
21359 | ||
21360 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
21361 | ||
21362 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
21363 | ||
21364 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
21365 | ||
21366 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
21367 | ||
21368 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
21369 | ||
21370 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
21371 | ||
21372 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
21373 | ||
21374 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
21375 | ||
21376 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
21377 | (x_set_title): Likewise. | |
21378 | ||
21379 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
21380 | ||
21381 | * macgui.h: | |
21382 | * w32gui.h: Remove definition of XColor. | |
21383 | ||
21384 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
21385 | ||
21386 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
21387 | ||
21388 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
21389 | Callers changed (supply dummy arg). | |
21390 | ||
21391 | * lisp.h (get_window_cursor_type): Update prototype. | |
21392 | ||
21393 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
21394 | get_window_cursor_type to track system caret. | |
21395 | ||
21396 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
21397 | ||
21398 | * process.c (Fformat_network_address): New function. | |
21399 | (syms_of_process): Defsubr it. | |
21400 | (list_processes_1): Use it to format :local/:remote address if | |
f9711de4 | 21401 | service/host is not set; before Emacs would crash in that case. |
048addec JD |
21402 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
21403 | to setup coding system if host or service is not set. | |
21404 | ||
21405 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
21406 | ||
21407 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
21408 | ||
21409 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
21410 | COLORREF. | |
21411 | ||
21412 | * macgui.h: | |
21413 | * w32gui.h: Add definition of XColor. | |
21414 | ||
21415 | * macfns.c: | |
21416 | * w32fns.c: | |
21417 | * xfaces.c: Remove definition of XColor. | |
21418 | ||
21419 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
21420 | ||
21421 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
21422 | ||
21423 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
21424 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
21425 | window if it is dedicated. | |
21426 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
21427 | (Vspecial_display_function): Update docstring. | |
21428 | ||
21429 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
21430 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
21431 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
21432 | ||
21433 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
21434 | ||
21435 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
21436 | of a word when at the beginning. | |
21437 | ||
21438 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
21439 | ||
21440 | * lread.c (syms_of_lread): Fix typos. | |
21441 | ||
21442 | 2002-10-17 Dave Love <fx@gnu.org> | |
21443 | ||
21444 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
21445 | ||
21446 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
21447 | ||
21448 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
21449 | ||
21450 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
21451 | ||
21452 | * w16select.c (syms_of_win16select): Fix docstring for | |
21453 | `selection-coding-system'. | |
21454 | ||
21455 | * w32select.c (syms_of_w32select): Likewise. | |
21456 | ||
21457 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
21458 | ||
21459 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
21460 | a backslash-quoted char. | |
21461 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
21462 | ||
21463 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
21464 | ||
21465 | * window.c (window_scroll): Set immediate_quit. | |
21466 | ||
21467 | * print.c (print): When backquote form is the car of a list, | |
21468 | output in old style. Use old_backquote_output to output all | |
21469 | comma forms inside it in old style too. | |
21470 | ||
21471 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
21472 | ||
21473 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
21474 | ||
21475 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
21476 | batch mode). | |
21477 | ||
21478 | * lread.c (Fload): Doc fix (load-suffixes). | |
21479 | ||
21480 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
21481 | ||
21482 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
21483 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
21484 | Also switch the default to Qnil from Qt. | |
21485 | ||
21486 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
21487 | ||
21488 | * coding.c (code_convert_region): When we need more GAP for | |
21489 | conversion, pay attention to the case that coding->produced is not | |
21490 | greater than coding->consumed. | |
21491 | ||
21492 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
21493 | ||
21494 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
21495 | ||
21496 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
21497 | ||
21498 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
21499 | menu_item_selection to it to find selected item. | |
21500 | ||
21501 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
21502 | ||
21503 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
21504 | cases. The correct fix is to pass ReparentNotify to Xt. | |
21505 | The shell widget interprets ConfigureNotify differently depending | |
21506 | on if it has been reparented or not. | |
21507 | ||
21508 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
21509 | ||
21510 | * editfns.c (Fformat_time_string): Doc fix. | |
21511 | ||
21512 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
21513 | ||
21514 | * fns.c (Flength): Doc fix. | |
21515 | ||
21516 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
21517 | ||
21518 | * keyboard.c (keyremap): New struct. | |
21519 | (read_key_sequence): Use it: globally replace keytran_foo with | |
21520 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
21521 | keytran_next and fkey_next to just `next'. | |
21522 | ||
21523 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
21524 | ||
21525 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
21526 | treated like an X keysym. | |
21527 | ||
21528 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
21529 | ||
21530 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
21531 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
21532 | This is to also handle x/y changes that occur because of a resize. | |
21533 | ||
21534 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
21535 | ||
21536 | * frame.c (Vdelete_frame_functions): New variable. | |
21537 | (syms_of_frame): Initialize and defvar it. | |
21538 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
21539 | it when frame's `tooltip' parameter is non-nil. | |
21540 | ||
21541 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
21542 | ||
21543 | * w32fns.c (x_create_tip_frame): Likewise. | |
21544 | ||
21545 | * macfns.c (x_create_tip_frame): Likewise. | |
21546 | ||
21547 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
21548 | ||
21549 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
21550 | -1 before calling ccl_driver. | |
21551 | ||
21552 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
21553 | Only when it is non-nil, handle composition sequence. | |
21554 | (setup_coding_system) <0>: Don't force composition handling. | |
21555 | ||
14a56a1b | 21556 | * Makefile.in (lisp, shortlisp): Add utf-16.elc. |
048addec JD |
21557 | |
21558 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
21559 | ||
21560 | * search.c (Freplace_match): Adjust match data for the substitution | |
21561 | just made in the buffer. | |
21562 | ||
21563 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
21564 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
21565 | ||
21566 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
21567 | ||
21568 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
21569 | (read_char): Use them. Do all exits thru the end of the function. | |
21570 | ||
21571 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
21572 | ||
21573 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
21574 | is nil. | |
21575 | ||
21576 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
21577 | ||
21578 | * regex.h (__restrict_arr): Don't define if already defined. | |
21579 | ||
21580 | * coding.c (run_pre_post_conversion_on_str): | |
21581 | Save and restore Vdeactivate_mark. | |
21582 | ||
21583 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
21584 | ||
21585 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
21586 | ||
21587 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
21588 | ||
21589 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
21590 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
21591 | (choose_face_font): If C is a single byte char or latin-1, call | |
21592 | try_font_list with PREFER_FACE_FAMILY 1. | |
21593 | ||
21594 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
21595 | ||
21596 | * window.c (select_window_1): Don't select frame. | |
21597 | Set frame's selected window only when frame itself is selected. | |
21598 | (Fselect_window): Doc fix. | |
21599 | ||
21600 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
21601 | ||
21602 | * process.c (make-network-process): Doc fix (there is no | |
21603 | network-server-log-function hook). | |
21604 | ||
21605 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
21606 | ||
21607 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
21608 | (syms_of_print): Doc fix for `print-number-table'. | |
21609 | ||
21610 | * unexelf.c (unexec): Undo previous change. | |
21611 | ||
21612 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
21613 | ||
21614 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
21615 | ||
21616 | 2002-09-16 Dave Love <fx@gnu.org> | |
21617 | ||
21618 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
21619 | 25-08-1999. | |
21620 | ||
21621 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
21622 | ||
21623 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
21624 | ||
21625 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
21626 | ||
21627 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
21628 | ||
21629 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
21630 | ||
21631 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
21632 | ||
21633 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
21634 | ||
21635 | * unexsol.c: Don't use report_file_error; do it by hand | |
21636 | using dlerror. | |
21637 | ||
21638 | * process.c (wait_reading_process_input, both versions): | |
21639 | Before calling turn_on_atimers, call stop_polling. | |
21640 | ||
21641 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
21642 | ||
21643 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
21644 | we go to too_near_end, call clear_glyph_matrix. | |
21645 | (redisplay_window): After make_cursor_line_fully_visible, | |
21646 | call clear_glyph_matrix and bypass `goto done'. | |
21647 | ||
21648 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
21649 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
21650 | ||
21651 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
21652 | ||
21653 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
21654 | Only call push_message if we need to. | |
21655 | At the same time, make an unwind-protect to pop it. | |
21656 | Rename local message_p to old_message_p. | |
21657 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
21658 | (do_auto_save_unwind): Don't call pop_message. | |
21659 | ||
21660 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
21661 | ||
21662 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
21663 | ||
21664 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
21665 | ||
21666 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
21667 | ||
21668 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
21669 | ||
21670 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
21671 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
21672 | (re_match_2_internal): Be more careful with infinite loops. | |
21673 | ||
21674 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
21675 | ||
21676 | * macros.c (end_kbd_macro): New function. | |
21677 | (Fend_kbd_macro): Use it. | |
21678 | ||
21679 | * macros.h (end_kbd_macro): Declare extern. | |
21680 | ||
21681 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
21682 | end and save it instead of discarding it. | |
21683 | ||
21684 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
21685 | ||
21686 | * s/sol2-6.h: Fix typo. Add comment. | |
21687 | ||
21688 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
21689 | ||
21690 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
21691 | ||
21692 | * s/sol2-6.h: New file. | |
21693 | ||
21694 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
21695 | ||
21696 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
21697 | ||
21698 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
9dd28cae | 21699 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). |
048addec JD |
21700 | |
21701 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
21702 | ||
21703 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
21704 | ||
21705 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
21706 | ||
21707 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
21708 | ||
21709 | * coding.c (syms_of_coding): Fix spacing. | |
21710 | ||
21711 | * composite.c (Fcompose_region_internal) | |
21712 | (Fcompose_string_internal): Likewise. | |
21713 | ||
21714 | * data.c (Flsh): Likewise. | |
21715 | ||
21716 | * fontset.c (Fset_fontset_font): Likewise. | |
21717 | ||
21718 | * macfns.c (Fx_server_max_request_size): Likewise. | |
21719 | ||
21720 | * w16select.c (syms_of_win16select): Likewise. | |
21721 | ||
21722 | * w32select.c (syms_of_w32select): Likewise. | |
21723 | ||
21724 | * xselect.c (syms_of_xselect): Likewise. | |
21725 | ||
21726 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
21727 | ||
21728 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
21729 | call EXTEND_RANGE_TABLE and return a proper value. | |
21730 | (set_image_of_range): Don't call set_image_of_range_1 | |
21731 | if no TRANSLATE or if range includes all of Latin-1. | |
21732 | Only call it for the Latin-1 part of the range. | |
21733 | For other cases, make two separate ranges, | |
21734 | one for the original specified characters and one for | |
21735 | their case-conversions. | |
21736 | ||
21737 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
21738 | ||
21739 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
21740 | ||
21741 | * window.c (displayed_window_lines): Correct for one-off bug | |
21742 | in HEIGHT on non-window displays. | |
21743 | ||
21744 | * regex.c (set_image_of_range_1): New function. | |
21745 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
21746 | Return a value to indicate running out of memory. | |
21747 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
21748 | (extend_range_table_work_area): New subroutine. | |
21749 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
21750 | Different calling conventions, and used from set_image_of_range{,_1}. | |
21751 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
21752 | ||
21753 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
21754 | ||
21755 | * makefile.w32-in: All dependencies updated. | |
21756 | ||
21757 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
21758 | ||
21759 | * unexsol.c: New file. | |
21760 | ||
21761 | * xfns.c (Qbox): Declare external, don't define. | |
21762 | ||
21763 | * xdisp.c (redisplay_window) <force-start case>: | |
21764 | If point is on semi-visible last line, reposition | |
21765 | it at previous line. | |
21766 | ||
21767 | * alloc.c (display_malloc_warning): Use display-warning. | |
21768 | (malloc_warning_1): Function deleted. | |
21769 | ||
21770 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
21771 | ||
21772 | * lread.c (read1): Handle #! by skipping the line. | |
21773 | ||
21774 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
21775 | ||
21776 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
21777 | Don't include LDFLAGS. | |
21778 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
21779 | ||
21780 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
21781 | ||
21782 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
21783 | member of x_display_info unless we compile for some window system. | |
21784 | ||
21785 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
21786 | ||
21787 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
21788 | (get_window_cursor_type): Don't use them. | |
21789 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
21790 | ||
21791 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
21792 | ||
21793 | * xdisp.c (get_next_display_element): Fix previous change. | |
21794 | ||
21795 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
21796 | ||
21797 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
21798 | (expose_window): Use it to fix the display of overlapping | |
21799 | rows (merge code from xterm.c). | |
21800 | ||
21801 | * macfns.c (Qbox): Add extern declaration. | |
21802 | ||
21803 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
21804 | ||
21805 | * w32fns.c (Qbox): Make extern. | |
21806 | (syms_of_w32fns): Remove initialization of Qbox. | |
21807 | ||
21808 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
21809 | ||
21810 | * xfns.c (Fx_open_connection): Fix error message. | |
21811 | ||
21812 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
21813 | ||
21814 | The following changes consolidates the handling of the cursor | |
21815 | type in xdisp.c, moving duplicate code and functionality from | |
21816 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
21817 | ||
21818 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
21819 | Added DEFAULT_CURSOR value. | |
21820 | (struct frame) <desired_cursor, cursor_width> | |
21821 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
21822 | Consolidated from output_x, output_w32 and output_mac structs. | |
21823 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
21824 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
21825 | ||
21826 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
21827 | Variables consolidated here. | |
21828 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
21829 | (Vcursor_in_non_selected_windows): Renamed from | |
21830 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
21831 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
21832 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
21833 | consolidated here. Recognize Qhollow setting. | |
21834 | (set_frame_cursor_types): New function to set frame cursor types | |
21835 | based on the frame parameters. | |
21836 | (get_window_cursor_type): New function to calculate new cursor | |
21837 | type and width for the specified window. Based on duplicated | |
21838 | code consolidated here. | |
21839 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
21840 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
21841 | before using built-in blink off methods. | |
21842 | ||
21843 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
21844 | ||
21845 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
21846 | (get_specified_cursor_type, get_window_cursor_type) | |
21847 | (set_frame_cursor_types): Added prototypes. | |
21848 | ||
21849 | * macfns.c (x_specified_cursor_type): Removed. | |
21850 | (x_set_cursor_type): Use set_frame_cursor_types. | |
21851 | (Qbar, Qbox): Removed. | |
21852 | (syms_of_macfns): Don't intern or staticpro them. | |
21853 | ||
21854 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
21855 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
21856 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
21857 | Remove unused local variables cursor_non_selected, active_cursor. | |
21858 | Redraw cursor if hbar cursor width changes. | |
21859 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
21860 | ||
21861 | * macterm.h (enum text_cursor_kinds): Removed. | |
21862 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
21863 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
21864 | (FRAME_DESIRED_CURSOR): Macro removed. | |
21865 | ||
21866 | * w32fns.c (Vblink_cursor_alist): Removed. | |
21867 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
21868 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
21869 | (x_specified_cursor_type): Removed. | |
21870 | (x_set_cursor_type): Use set_frame_cursor_types. | |
21871 | ||
21872 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
21873 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
21874 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
21875 | Remove unused local variables cursor_off_state. | |
21876 | Redraw cursor if hbar cursor width changes. | |
21877 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
21878 | ||
21879 | * w32term.h (enum text_cursor_kinds): Removed. | |
21880 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
21881 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
21882 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
21883 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
21884 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
21885 | w32_highlight_frame. | |
21886 | ||
21887 | * xfns.c (Vblink_cursor_alist): Removed. | |
21888 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
21889 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
21890 | (x_specified_cursor_type): Removed. | |
21891 | (x_set_cursor_type): Use set_frame_cursor_types. | |
21892 | ||
21893 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
21894 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
21895 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
21896 | Remove unused local variables cursor_off_state. | |
21897 | Redraw cursor if hbar cursor width changes. | |
21898 | ||
21899 | * xterm.h (enum text_cursor_kinds): Removed. | |
21900 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
21901 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
21902 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
21903 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
21904 | (x_specified_cursor_type): Remove prototype. | |
21905 | ||
21906 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
21907 | ||
21908 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
21909 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
21910 | (Vblink_cursor_alist): New variable. | |
21911 | (syms_of_w32fns): Initialize and defvar it. | |
21912 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
21913 | Exceptions are hollow boxes. | |
21914 | (Qbox, Qhollow): New variables. | |
21915 | (syms_of_w32fns): Initialize and staticpro them. | |
21916 | ||
21917 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
21918 | New macros. | |
21919 | (struct w32_output): New fields blink_off_cursor, | |
21920 | blink_off_cursor_width. | |
21921 | (FRAME_CURSOR_WIDTH): New macro. | |
21922 | ||
21923 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
21924 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
21925 | ||
21926 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
21927 | for bar cursor. | |
21928 | ||
21929 | * w32term.c (expose_overlaps): New function. | |
21930 | (expose_window): Use it to fix the display of overlapping rows. | |
21931 | ||
21932 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
21933 | ||
21934 | * xfns.c (Fx_open_connection): Improve help when X connection | |
21935 | fails, xhost is insecure and xauth is better. | |
21936 | ||
21937 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
21938 | ||
21939 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
21940 | composite.h. | |
21941 | ||
21942 | * emacs.c (USAGE1): Add missing newline. | |
21943 | ||
21944 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
21945 | ||
21946 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
21947 | ||
21948 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
21949 | ||
21950 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
21951 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
21952 | (Vblink_cursor_alist): New variable. | |
21953 | (syms_of_xfns): Initialize and defvar it. | |
21954 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
21955 | Exceptions are hollow boxes. | |
21956 | (Qbox, Qhollow): New variables. | |
21957 | (syms_of_xfns): Initialize and staticpro them. | |
21958 | ||
21959 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
21960 | New macros. | |
21961 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
21962 | ||
21963 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
21964 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
21965 | ||
21966 | * emacs.c (main): Handle --script. | |
21967 | (USAGE1): Mention --script. | |
21968 | (standard_args): Define sort order for --script. | |
21969 | ||
21970 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
21971 | ||
21972 | * xdisp.c (redisplay_updating_p): Variable removed. | |
21973 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
21974 | New variables. | |
21975 | (init_iterator): Don't free realized faces if | |
21976 | inhibit_free_realized_faces is set. | |
21977 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
21978 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
21979 | initialize Qinhibit_free_realized_faces. | |
21980 | ||
21981 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
21982 | when iterator is adding glyphs to a glyph matrix. | |
21983 | ||
21984 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
21985 | ||
21986 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
21987 | octal form for such eight-bit characters that can be converted to | |
21988 | multibyte char. | |
21989 | ||
21990 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
21991 | ||
b6189c3b KS |
21992 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize |
21993 | foreground and background colors. From Joe Buehler. | |
048addec JD |
21994 | |
21995 | 2002-08-26 Miles Bader <miles@gnu.org> | |
21996 | ||
21997 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
21998 | ||
21999 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
22000 | ||
22001 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
22002 | defined instead of MAC_OSX. | |
22003 | ||
22004 | * s/darwin.h (select): Define select to sys_select only if | |
22005 | HAVE_CARBON is defined. | |
22006 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
22007 | (DONT_REOPEN_PTY): #def it. | |
22008 | ||
22009 | * macterm.c (XTread_socket): Remove code to call | |
22010 | SendEventToEventTarget for keys with command modifiers when | |
22011 | mac_command_key_is_meta is nil. | |
22012 | ||
22013 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
22014 | ||
22015 | * eval.c (Fdefvar): Fix last change. | |
22016 | ||
22017 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
22018 | ||
22019 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
22020 | Record variables in load history as (defvar . VAR). | |
22021 | (Fdefvar): Don't record in load history if no initial value. | |
22022 | (Qdefvar): New variable. | |
22023 | (syms_of_eval): Init and staticpro it. | |
22024 | ||
22025 | * lread.c (syms_of_lread): Doc fix. | |
22026 | (build_load_history): Use Fmember to see if a definition | |
22027 | is already in the Vload_history element. | |
22028 | ||
22029 | * process.c (Fstart_process): Remove /: from program name. | |
22030 | ||
22031 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
22032 | has a `safe-magic' property. | |
22033 | ||
22034 | * callproc.c (Fcall_process): Remove /: from program name. | |
22035 | ||
22036 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
22037 | ||
22038 | * regex.c (PATFETCH): Remove the translating fetch. | |
22039 | (PATFETCH_RAW): Rename to PATFETCH. | |
22040 | (set_image_of_range): New fun. | |
22041 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
22042 | (regex_compile): Don't translate the pattern chars so eagerly. | |
22043 | Only do it when inserting an `exactn' bytecode or when handling | |
22044 | a char-range. | |
22045 | (mutually_exclusive_p): Avoid empty statement. | |
22046 | ||
22047 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
22048 | ||
22049 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
22050 | end up on a partially visible line; this reverts a specific part | |
22051 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
22052 | display error which has been reported several times now. | |
22053 | However it introduces the problem that changes was supposed to fix. | |
22054 | See my comments in the source if you want to debug this further. | |
22055 | ||
22056 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
22057 | ||
22058 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
22059 | ||
22060 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
22061 | ||
22062 | * msdos.c (croak): Add `void' to definition. | |
22063 | ||
c1380aa6 | 22064 | * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: |
048addec JD |
22065 | Don't define them, they are defined in msdos.c. |
22066 | ||
22067 | * mem-limits.h [MSDOS]: Declare etext. | |
22068 | ||
22069 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
22070 | `const' since CORRECT_DIR_SEPS modifies its target. | |
22071 | ||
22072 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
22073 | ||
2fb0ce67 | 22074 | * keyboard.c (Fclear_this_command_keys): Add optional arg |
048addec JD |
22075 | KEEP-RECORD to avoid clearing lossage when we just want to clear |
22076 | the current key sequence (kmacro needs this). | |
22077 | ||
22078 | 2002-08-19 Kenichi Handa <handa@localhost> | |
22079 | ||
22080 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
22081 | ||
22082 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
22083 | cons, return Qnil. | |
22084 | ||
22085 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
22086 | ||
22087 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
22088 | ||
22089 | * sysdep.c [!VMS]: Include sys/files.h. | |
22090 | ||
22091 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
22092 | ||
22093 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
22094 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
22095 | ||
22096 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
22097 | ||
22098 | * mac.c (init_mac_osx_environment): New function. | |
22099 | ||
22100 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
22101 | ||
22102 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
22103 | ||
22104 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
22105 | executing macro before appending to it (when used from Lisp). | |
22106 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
22107 | which is called prior to each iteration of macro (for kmacro.el). | |
22108 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
22109 | ||
22110 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
22111 | ||
22112 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
22113 | ||
22114 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
22115 | ||
22116 | * xselect.c (QUTF8_STRING): New variable. | |
22117 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
22118 | (x_atom_to_symbol): Likewise. | |
22119 | (x_get_local_selection): New argument local_request. If it is | |
22120 | nonzero, call handler_fn with the second arg nil. | |
22121 | (x_handle_selection_request): Call x_get_local_selection with | |
22122 | local_request 0. | |
22123 | (lisp_data_to_selection_data): Don't encode the string here. | |
22124 | (Fx_get_selection_internal): Call x_get_local_selection with | |
22125 | local_request 1. | |
22126 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
22127 | ||
22128 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
22129 | ||
22130 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
22131 | ||
22132 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
22133 | ||
22134 | * minibuf.c (Fminibufferp): New function. | |
22135 | (syms_of_minibuf): Defsubr it. | |
22136 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
22137 | ||
22138 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
22139 | ||
22140 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
22141 | ||
22142 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
22143 | ||
22144 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
22145 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
22146 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
22147 | already. | |
22148 | ||
22149 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
22150 | ||
22151 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
22152 | ||
22153 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
22154 | (Vmac_pass_command_to_system): New variable. | |
22155 | (Vmac_pass_control_to_system): New variable. | |
22156 | (do_mouse_moved): Check wp with is_emacs_window. | |
22157 | (XTread_socket): Check window_ptr with is_emacs_window. | |
22158 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
22159 | events back to Mac Toolbox for processing, depending on values of | |
22160 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
22161 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
22162 | Vmac_pass_control_to_system. | |
22163 | ||
22164 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
22165 | ||
22166 | * coding.c (unencodable_char_position): New function. | |
22167 | (Funencodable_char_position): New function. | |
22168 | (syms_of_coding): Defsubr Funencodable_char_position. | |
22169 | ||
22170 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
22171 | ||
22172 | * mac.c (sys_select) [MAC_OSX]: New function. | |
22173 | ||
22174 | * macterm.c (MakeMeTheFrontProcess): New function. | |
22175 | (mac_initialize): Call MakeMeTheFrontProcess. | |
22176 | ||
22177 | * s/darwin.h: Define select to sys_select. | |
22178 | ||
22179 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
22180 | ||
22181 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
22182 | ||
22183 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
22184 | ||
22185 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
22186 | end of the buffer. | |
22187 | ||
88fde92a | 22188 | 2002-08-08 Ken Raeburn <raeburn@gnu.org> |
048addec JD |
22189 | |
22190 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
22191 | ||
22192 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
22193 | ||
22194 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
22195 | ||
22196 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
22197 | VISIT is a filename, make it the target. | |
22198 | ||
22199 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
22200 | ||
22201 | * alloc.c (mark_object): Detect long lists for debugging. | |
22202 | (mark_object_loop_halt): New variable. | |
22203 | ||
22204 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
22205 | ||
22206 | * data.c (Fmake_variable_frame_local): Doc fix. | |
22207 | ||
22208 | 2002-08-01 David Ponce <david@dponce.com> | |
22209 | ||
22210 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
22211 | (malloc_widget_value, free_widget_value) | |
22212 | (w32_free_submenu_strings): Use them. | |
22213 | ||
22214 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
22215 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
22216 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
22217 | (single_submenu, set_frame_menubar) | |
22218 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
22219 | ||
22220 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
22221 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
22222 | ||
22223 | * w32menu.c: Changes adapted from xmenu.c | |
22224 | (set_frame_menubar): First parse all submenus, | |
22225 | then make widget_value trees from them. | |
22226 | Don't allocate any widget_value objects | |
22227 | until we are done with the parsing. | |
22228 | (parse_single_submenu): New function. | |
22229 | (digest_single_submenu): New function. | |
22230 | (single_submenu): Function deleted, replaced by those two. | |
22231 | ||
22232 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
22233 | ||
22234 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
22235 | returns a valid window pointer before proceeding for keyDown and | |
22236 | autoKey events. | |
22237 | ||
22238 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
22239 | ||
22240 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
22241 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
22242 | (x_iconify_frame): Call CollapseWindow. | |
22243 | (Vmac_reverse_ctrl_meta): New variable. | |
22244 | (Vmac_wheel_button_is_mouse_2): New variable. | |
22245 | (init_mac_drag_n_drop): New function. | |
22246 | (mac_do_receive_drag): New function. | |
22247 | (mac_handle_service_event): New function. | |
22248 | (init_service_handler): New function. | |
22249 | (mac_to_emacs_modifiers): New function. | |
22250 | (mac_event_to_emacs_modifiers): New function. | |
22251 | (mac_get_mouse_btn): New function. | |
22252 | (mac_convert_event_ref): New function. | |
22253 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
22254 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
22255 | mac_get_mouse_btn. | |
22256 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
22257 | ||
22258 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
22259 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
22260 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
22261 | TOOL_BAR_EVENT for MAC_OS as well. | |
22262 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
22263 | as for WINDOWS_NT. | |
22264 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
22265 | ||
22266 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
22267 | ||
22268 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
22269 | ||
22270 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
22271 | lead to a newline being skipped. | |
22272 | ||
22273 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
22274 | ||
22275 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
22276 | ||
22277 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
22278 | ||
22279 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
22280 | ||
22281 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
22282 | ||
22283 | * macfns.c: #undef init_process before #define-ing it. | |
22284 | ||
22285 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
22286 | HAVE_CARBON is defined. | |
22287 | ||
22288 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
22289 | ||
22290 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
22291 | then make widget_value trees from them. | |
22292 | Don't allocate any widget_value objects | |
22293 | until we are done with the parsing. | |
22294 | (parse_single_submenu): New function. | |
22295 | (digest_single_submenu): New function. | |
22296 | (single_submenu): Function deleted, replaced by those two. | |
22297 | ||
22298 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
22299 | ||
22300 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
22301 | `w32-get-true-file-attributes'. | |
22302 | ||
22303 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
22304 | ||
22305 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
22306 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
22307 | ||
22308 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
22309 | ||
22310 | * keyboard.c (make_lispy_event): | |
22311 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
22312 | Explicitly clear up_modifier in event->modifiers. | |
22313 | ||
22314 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
22315 | ||
22316 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
22317 | ||
22318 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
22319 | for bar cursor. | |
22320 | ||
22321 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
22322 | ||
22323 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
22324 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
22325 | it in the normal loop. | |
22326 | ||
22327 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
22328 | ||
22329 | * xterm.c (expose_overlaps): New function. | |
22330 | (expose_window): Use it to fix the display of overlapping rows. | |
22331 | ||
22332 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
22333 | ||
22334 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
22335 | ||
22336 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
22337 | since it only depends on XUINT. | |
22338 | ||
22339 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
22340 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
22341 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
22342 | Macros deleted. | |
3947677c | 22343 | |
77d1daf2 AS |
22344 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
22345 | its value over other approaches. | |
22346 | * sysdep.c (start_of_data): Don't define the function if a macro | |
22347 | form has been defined. | |
8a8e19a3 | 22348 | |
048addec JD |
22349 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
22350 | ||
22351 | * xdisp.c (redisplay_updating_p): New variable. | |
22352 | (init_iterator): Don't free realized faces when | |
22353 | redisplay_updating_p is set. | |
22354 | (redisplay_internal): Set redisplay_updating_p while updating | |
22355 | the display. | |
22356 | ||
22357 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
22358 | ||
22359 | * editfns.c (Fmessage): Treat "" like nil. | |
22360 | ||
22361 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
22362 | ||
22363 | * xdisp.c (face_before_or_after_it_pos): | |
22364 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
22365 | ||
22366 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
22367 | ||
22368 | * callproc.c (init_callproc) [DOS_NT]: | |
22369 | Initialize Vshared_game_score_directory to nil. | |
22370 | (syms_of_callproc) [DOS_NT]: Likewise. | |
22371 | ||
22372 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
22373 | ||
22374 | * xdisp.c (display_line): Replace an abort with xassert. | |
22375 | ||
22376 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
22377 | ||
22378 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
22379 | and END_UNCHANGED when setting buffer_unchanged_p. | |
22380 | Use current_matrix_up_to_date_p to decide whether to use | |
22381 | try_cursor_movement. | |
22382 | ||
22383 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
22384 | ||
22385 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
22386 | ||
22387 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
22388 | Set to nil if dir does not exist. | |
22389 | (syms_of_callproc): Init unconditionally and simply. | |
22390 | ||
22391 | * buffer.c (Fbuffer_list): Doc fix. | |
22392 | ||
22393 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
22394 | ||
22395 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
22396 | ||
22397 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
22398 | pages to unmap is rounded towards zero. | |
22399 | ||
22400 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
22401 | (XSETINT): Deleted. | |
22402 | ||
22403 | * m/att3b.h (XINT): Don't define. | |
22404 | (VALBITS, VALMASK, XTYPE): Deleted. | |
22405 | (DATA_SEG_BITS): Define. | |
22406 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
22407 | ARRAY_MARK_FLAG): Deleted. | |
22408 | (DATA_SEG_BITS): Define. | |
22409 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
22410 | (DATA_SEG_BITS): Define. | |
22411 | ||
22412 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
22413 | ||
22414 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
22415 | Calls changed. | |
22416 | ||
22417 | * lisp.h (print_error_message): Declare new args. | |
22418 | ||
22419 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
22420 | and CONTEXT to print_error_message, don't print them here. | |
22421 | For a Quit, don't use Vsignaling_function. | |
22422 | Call message_log_maybe_newline. | |
22423 | ||
22424 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
22425 | ||
22426 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
22427 | ||
22428 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
22429 | ||
22430 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
22431 | ||
22432 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
22433 | point to const. | |
22434 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
22435 | const. | |
22436 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
22437 | * coding.c (encode_eol, detect_coding, detect_eol): | |
22438 | (decode_coding, encode_coding, detect_coding_system): | |
22439 | Source strings now treated as const. | |
22440 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
22441 | modify Lisp string contents. | |
22442 | * coding.h (decode_coding, encode_coding, detect_coding, | |
22443 | detect_eol): Declarations updated. | |
22444 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
22445 | as const. | |
22446 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
22447 | * lisp.h (STRING_COPYIN): New macro. | |
22448 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
22449 | (internal_with_output_to_temp_buffer): Declarations updated. | |
22450 | * print.c (temp_output_buffer_setup): | |
22451 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
22452 | pointer to const. | |
22453 | * sound.c (struct sound_device): Function pointer field "write" | |
22454 | buffer argument now points to const. | |
22455 | (vox_write): Buffer argument points to const. | |
22456 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
22457 | contents as const. | |
22458 | * sysdep.c (emacs_write): Buffer pointer now const. | |
22459 | * term.c (encode_terminal_code): Buffer pointer now const. | |
22460 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
22461 | (x_face_list_fonts, x_update_menu_appearance): | |
22462 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
22463 | ||
22464 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
22465 | ||
048addec JD |
22466 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
22467 | ||
22468 | * fileio.c (syms_of_fileio): Likewise. | |
c62aec78 JB |
22469 | (Ffile_name_as_directory): Fix argument name in docstring. |
22470 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
048addec JD |
22471 | |
22472 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
22473 | ||
22474 | * data.c (Fdefalias): Doc fix. | |
22475 | ||
22476 | 2002-07-17 Dave Love <fx@gnu.org> | |
22477 | ||
22478 | * intervals.h (text_property_stickiness): Use P_. | |
22479 | ||
22480 | * ccl.c: Remove `emacs' conditionals. | |
22481 | (ccl_backtrace_table): Fix size spec. | |
22482 | (ccl_driver): Fix type errors. | |
22483 | ||
22484 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
22485 | ||
22486 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
22487 | (make_multibyte_string, build_string): String pointer args now | |
22488 | point to const. | |
22489 | * charset.c (find_charset_in_text, c_string_width): | |
22490 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
22491 | * fileio.c (report_file_error): | |
22492 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
22493 | (count_combining_before, count_combining_after, insert_1_both): | |
22494 | (insert, insert_and_inherit, insert_string): | |
22495 | (insert_before_markers, insert_before_markers_and_inherit): | |
22496 | * lread.c (intern, oblookup, hash_string): | |
22497 | * minibuf.c (temp_echo_area_glyphs): | |
22498 | * search.c (fast_c_string_match_ignore_case): | |
22499 | * sysdep.c (emacs_open, set_file_times): | |
22500 | * xfaces.c (xstricmp): | |
22501 | * xdisp.c (store_frame_title, string_char_and_length): | |
22502 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
22503 | (set_message_1): Cast message string argument to const pointer. | |
22504 | * editfns.c (general_insert_function): Insertion function now | |
22505 | takes pointer to const for input data. | |
22506 | * charset.h (find_charset_in_text, c_string_width): | |
22507 | (parse_str_as_multibyte): Declarations updated. | |
22508 | * dispextern.h (xstricmp): Declaration updated. | |
22509 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
22510 | (count_size_as_multibyte, count_combining_before): | |
22511 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
22512 | (insert, insert_and_inherit, insert_before_markers) | |
22513 | (insert_before_markers_and_inherit, set_message, message2): | |
22514 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
22515 | (make_multibyte_string, intern, oblookup, report_file_error): | |
22516 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
22517 | (emacs_open, xstrdup): Declarations updated. | |
22518 | * systime.h (set_file_times): Declaration updated. | |
22519 | ||
22520 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
22521 | for pointer to lisp string data. | |
22522 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
22523 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
22524 | * coding.c (Ffind_coding_systems_region_interval): | |
22525 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
22526 | (Fmake_directory_internal, Fdelete_directory): | |
22527 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
22528 | * fontset.c (font_family_registry, fs_query_fontset): | |
22529 | (list_fontsets): | |
22530 | * frame.c (Fframe_parameter): | |
22531 | * keyboard.c (cmd_error_internal): | |
22532 | * keymap.c (Fdescribe_buffer_bindings): | |
22533 | * lread.c (complete_filename_p, openp): | |
22534 | * minibuf.c (Fminibuffer_complete_word): | |
22535 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
22536 | (face_before_or_after_it_pos, next_element_from_string): | |
22537 | (get_overlay_arrow_glyph_row, display_mode_element): | |
22538 | (decode_mode_spec_coding): | |
22539 | * xterm.c (same_x_server): Likewise. | |
22540 | ||
22541 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
22542 | settings of non-existent fields. | |
22543 | ||
22544 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
22545 | copy a lisp value. | |
22546 | ||
22547 | * lread.c (Fintern_soft): Use string macros instead of | |
22548 | Lisp_String fields. | |
22549 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
22550 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
22551 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
22552 | ||
22553 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
22554 | ||
22555 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
22556 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
22557 | XSTRING()->size_byte. | |
22558 | ||
22559 | * lisp.h (SDATA, SREF): Produce rvalue. | |
22560 | (SSET): New macro. | |
22561 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
22562 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
22563 | a string. | |
22564 | * casefiddle.c (casify_object): Use SSET. | |
22565 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
22566 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
22567 | address of string contents. | |
22568 | * data.c (Faref): Use SDATA. | |
22569 | (Faset): Use SDATA, SSET. | |
22570 | * dired.c (directory_files_internal): Use SSET. | |
22571 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
22572 | (Fread_file_name): Use SREF, SSET. | |
22573 | * fns.c (concat): Use SSET. | |
22574 | (concat, Fdelete): Use SDATA. | |
22575 | * insdel.c (insert_from_string_1): Use SDATA. | |
22576 | * keyboard.c (Fevent_convert_list): Use SREF. | |
22577 | * lread.c (Fload): Use SDATA, SSET. | |
22578 | * macfns.c (validate_x_resource_name): Use SSET. | |
22579 | * process.c (status_message): Use SSET. | |
22580 | * search.c (wordify): Use SDATA. | |
22581 | (Freplace_match): Use SREF. | |
22582 | * w32fns.c (validate_x_resource_name): Use SSET. | |
22583 | * xfns.c (validate_x_resource_name): Use SSET. | |
22584 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
22585 | ||
22586 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
22587 | ||
22588 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
22589 | ||
22590 | * xdisp.c (reconsider_clip_changes): | |
22591 | Don't test prevent_redisplay_optimizations_p. | |
22592 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
22593 | along with clip_changed in some cases. | |
22594 | (try_window_id): Likewise. | |
22595 | (redisplay_window): New local var buffer_unchanged_p. | |
22596 | ||
22597 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
22598 | ||
22599 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
22600 | (process_send_signal): Clean up handling of GID. | |
22601 | Detect errors in ioctls meant to set GID. | |
22602 | ||
22603 | * window.c (temp_output_buffer_show): | |
22604 | Don't set prevent_redisplay_optimizations_p. | |
22605 | ||
22606 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
22607 | ||
22608 | * eval.c (Fdefvaralias): Add docstring argument. | |
22609 | ||
22610 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
22611 | ||
22612 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
22613 | (STRING_SET_INTERVALS): New macro. | |
22614 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
22615 | * fns.c (Fstring_as_multibyte): Likewise. | |
22616 | * intervals.c (balance_possible_root_interval, delete_interval) | |
22617 | (create_root_interval, copy_intervals_to_string): Likewise. | |
22618 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
22619 | instead of 0. | |
22620 | ||
22621 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
22622 | ||
22623 | * lisp.h (STRING_SET_CHARS): New macro. | |
22624 | (SCHARS, SBYTES): Produce rvalues. | |
22625 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
22626 | * fns.c (concat): Likewise. | |
22627 | * lread.c (read_vector): Likewise. | |
22628 | ||
3419757d | 22629 | * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. |
048addec | 22630 | (STRING_SET_UNIBYTE): New macro. |
3419757d | 22631 | (SET_STRING_BYTES): Delete. Callers (all of which supplied a |
048addec JD |
22632 | length of -1) changed to use STRING_SET_UNIBYTE. |
22633 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
22634 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
22635 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
22636 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
22637 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
22638 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
22639 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
22640 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
22641 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
22642 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
22643 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
22644 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
22645 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
22646 | unchanged for now. | |
22647 | ||
22648 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
22649 | ||
22650 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
22651 | ||
22652 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
22653 | ||
22654 | * fileio.c (Fwrite_region): Doc fix. | |
22655 | ||
22656 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
22657 | ||
22658 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
22659 | (command_loop_1): Avoid certain actions after memory-full error. | |
22660 | ||
22661 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
22662 | For a memory-full error, don't call Vsignal_hook_function | |
22663 | and don't set Vsignaling_function. | |
22664 | ||
22665 | * process.c (process_send_signal): Add abort call. | |
22666 | ||
22667 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
22668 | ||
22669 | * keymap.c (Fkey_binding): Fix typo. | |
22670 | ||
22671 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
22672 | ||
22673 | * alloc.c (Vmemory_full): New variable. | |
3419757d | 22674 | (Vmemory_signal_data): Rename from memory_signal_data. |
048addec JD |
22675 | Uses changed. |
22676 | (syms_of_alloc): Defvar them. | |
22677 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
22678 | ||
22679 | * lisp.h (Vmemory_full): Add declaration. | |
22680 | (current_column, indented_beyond_p): Change declaration. | |
22681 | ||
22682 | * indent.c (last_known_column): Declare as double, not float. | |
22683 | (current_column, current_column_1, string_display_width) | |
22684 | (position_indentation): Return `double'. | |
22685 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
22686 | ||
22687 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
22688 | (back_to_previous_visible_line_start) | |
22689 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
22690 | Use `double', not `float', when calling indented_beyond_p. | |
22691 | ||
3419757d | 22692 | * s/hpux11.h (BROKEN_SA_RESTART): Define. |
048addec JD |
22693 | |
22694 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
22695 | ||
22696 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
22697 | ||
22698 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
f9711de4 JB |
22699 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
22700 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
22701 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
22702 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
22703 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
048addec JD |
22704 | |
22705 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
22706 | ||
d814862a JB |
22707 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. |
22708 | All callers changed. | |
048addec JD |
22709 | |
22710 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
22711 | ||
22712 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
22713 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
22714 | ||
22715 | * composite.c (HASH_VALUE, HASH_KEY): | |
22716 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
22717 | ||
22718 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
22719 | ||
22720 | * callproc.c (Fcall_process): Fix previous change. | |
22721 | ||
22722 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
22723 | ||
22724 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
22725 | Add support for hash-tables. | |
22726 | (Ftry_completion): Return t even if the string appears multiple times. | |
22727 | ||
22728 | * fns.c (Fnconc): Use XCDR. | |
22729 | (Fprovide): Use CONSP and XCDR. | |
22730 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
22731 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
22732 | (Fmake_hash_table): Accept `:size nil'. | |
22733 | (Fmakehash): Delete: moved to subr.el. | |
22734 | (syms_of_fns): Don't defsubr makehash. | |
22735 | ||
22736 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
22737 | (HASH_TABLE_SIZE): Move from fns.c. | |
22738 | ||
22739 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
22740 | ||
22741 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
22742 | Instead just return 0 when there is something to be done. | |
22743 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
22744 | retry scrolling as if cursor were off the bottom. | |
22745 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
22746 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
22747 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
22748 | go to try_to_scroll. | |
22749 | ||
22750 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
22751 | so we get the up-to-date value for the binding that is loaded. | |
22752 | ||
22753 | * eval.c (Fdefmacro): Doc fix. | |
22754 | ||
22755 | 2002-07-05 Dave Love <fx@gnu.org> | |
22756 | ||
22757 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
22758 | correctly. | |
22759 | ||
22760 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
22761 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
22762 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
22763 | CCL_LookupCharConstTbl. | |
22764 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
22765 | ||
22766 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
22767 | ||
22768 | * xdisp.c: Remove unused variable `face'. | |
22769 | ||
22770 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
22771 | ||
22772 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
22773 | obsolescence information. | |
22774 | ||
22775 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
22776 | ||
22777 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
22778 | pattern. Search cache first. | |
22779 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
22780 | for Japanese font. | |
22781 | (XLoadQueryFont): Use it. | |
22782 | ||
22783 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
22784 | ||
22785 | * keymap.c (Fdefine_key): Doc fix. | |
22786 | ||
22787 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
22788 | ||
22789 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
22790 | ||
22791 | * keymap.c (syms_of_keymap): Fix typo. | |
22792 | ||
22793 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
22794 | ||
22795 | * s/darwin.h: Define POSIX_SIGNALS. | |
22796 | ||
22797 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
22798 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
22799 | Posix pathname. | |
22800 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
22801 | Call init_required_apple_events and disable the `Quit' menu item | |
22802 | provided automatically by the Carbon Toolbox. | |
22803 | ||
22804 | 2002-07-01 Dave Love <fx@gnu.org> | |
22805 | ||
22806 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
22807 | for K&R. | |
22808 | ||
22809 | * xterm.c: Fix prototype for K&R. | |
22810 | ||
22811 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
22812 | ||
22813 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
22814 | ||
22815 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
22816 | (timer_start_idle): Set that. | |
22817 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
22818 | to previous value. | |
22819 | ||
22820 | * window.c (Frecenter): With arg, set optional_new_start. | |
22821 | ||
22822 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
22823 | ||
22824 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
22825 | buffer for completion. | |
22826 | ||
22827 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
22828 | ||
22829 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
22830 | ||
22831 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
22832 | ||
22833 | * keyboard.c (readable_filtered_events): New function that filters | |
22834 | FOCUS_IN_EVENT depending on parameter. | |
22835 | (readable_events): Calls readable_filtered_events, not filtering | |
22836 | FOCUS_IN_EVENT. | |
22837 | (get_filtered_input_pending): New function, filtering parameter passed | |
22838 | to readable_filtered_events. | |
22839 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
22840 | FOCUS_IN_EVENT. | |
22841 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
22842 | FOCUS_IN_EVENT. | |
22843 | ||
22844 | * xterm.h (struct x_output): Add focus_state. | |
22845 | ||
22846 | * xterm.c (x_focus_changed): New function. | |
22847 | (x_detect_focus_change): New function. | |
22848 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
22849 | EnterNotify and LeaveNotify to track X focus changes. | |
22850 | ||
22851 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
22852 | ||
22853 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
22854 | ||
22855 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
22856 | ||
52eb0373 | 22857 | * xdisp.c (mode_line_string_list, mode_line_string_face) |
048addec JD |
22858 | (mode_line_string_face_prop): New variables. |
22859 | (store_mode_line_string): New function. | |
22860 | (display_mode_element): Use store_mode_line_string to | |
22861 | add mode-line string elements to mode_line_string_list | |
22862 | when mode_line_string_list is non-nil. | |
22863 | (Fformat_mode_line): Now returns propertized string by | |
22864 | default. New arg NO-PROPS to ignore properties. | |
22865 | (decode_mode_spec): Only add two dashes for %- in propertized | |
22866 | mode-line string. | |
22867 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
22868 | ||
22869 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
22870 | ||
22871 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
22872 | ||
22873 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
22874 | ||
22875 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
22876 | ||
22877 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
22878 | ||
22879 | * fileio.c (read_file_name_cleanup): Add missing return. | |
22880 | ||
22881 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
22882 | ||
22883 | * window.c (Frecenter): Don't set force_start flag. | |
22884 | ||
22885 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
22886 | (Fminibuffer_completion_help): Complete just the text before point. | |
22887 | (minibuffer_completion_contents): New function. | |
22888 | ||
22889 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
22890 | ||
22891 | * frame.c (frames_bury_buffer): Function deleted. | |
22892 | ||
22893 | 2002-06-25 Miles Bader <miles@gnu.org> | |
22894 | ||
22895 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
22896 | the end of callint_message, allow for a terminating '\0'. | |
22897 | ||
22898 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
22899 | ||
52eb0373 | 22900 | * w32select.c: Include composite.h. |
048addec JD |
22901 | |
22902 | * w16select.c: Likewise. | |
22903 | ||
22904 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
22905 | ||
22906 | * callproc.c (Fcall_process): If code detection is necessary, | |
22907 | call detect_coding directly here. | |
22908 | ||
22909 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
22910 | ||
22911 | * w16select.c (Fw16_get_clipboard_data): | |
22912 | * w32fns.c (w32_to_x_font): | |
22913 | * w32select.c (Fw32_get_clipboard_data): | |
22914 | * xselect.c (selection_data_to_lisp_data): | |
22915 | * xterm.c (XTread_socket): Disable composition handling. | |
22916 | ||
22917 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
22918 | ||
22919 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
22920 | ||
22921 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
22922 | ||
22923 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
22924 | ||
22925 | * xfns.c (check_x_display_info): Use check_x_frame. | |
22926 | ||
22927 | * .gdbinit (xprintsym): Use the new `xname' field. | |
22928 | (xsymbol): Use it. | |
22929 | ||
22930 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
22931 | ||
22932 | * w32fns.c (file_dialog_callback): New function. | |
22933 | (Fx_file_dialog): Allow selecting directories as well as files. | |
22934 | ||
22935 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
22936 | ||
22937 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
f63fd14e | 22938 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
048addec JD |
22939 | |
22940 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
22941 | ||
22942 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
22943 | black and white before scrolling. Restore frame background and | |
22944 | foreground color after scrolling. | |
22945 | (do_window_update): Call XClearWindow before calling expose_frame. | |
22946 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
22947 | FRAME_FOREGROUND_PIXEL of frame. | |
22948 | ||
22949 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
22950 | test Mac command key as <ALT> key. | |
22951 | ||
22952 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
22953 | ||
22954 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
22955 | ||
22956 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
22957 | Lookup keys in function-key-map immediately so that key-translation-map | |
22958 | can be applied earlier. | |
22959 | Remove function_key_possible and key_translation_possible, replaced | |
22960 | by checking `keytran_start < t'. | |
22961 | ||
22962 | * .gdbinit (xsymbol): Use the new `xname' field. | |
22963 | ||
22964 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
22965 | ||
22966 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
22967 | test Mac command key as <ALT> key. | |
22968 | ||
22969 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
22970 | when first called. Dispose of result_desc only when there is no error. | |
22971 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
22972 | ||
22973 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
22974 | ||
22975 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
22976 | of FrontWindow for cases keyDown and autoKey. | |
22977 | ||
22978 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
22979 | Vdefault_fontset to Monaco with mac-roman coding. | |
22980 | ||
22981 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
22982 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
22983 | ||
22984 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
22985 | cursor_gc. | |
22986 | (add_font_name_table_entry): New function. | |
22987 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
22988 | bold, and bold-italic entries for truetype fonts. | |
22989 | ||
22990 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
22991 | for Mac too. | |
22992 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
22993 | fonts with any registry matching face_family. | |
22994 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
22995 | ||
22996 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
22997 | LIBS_TERMCAP to -lncurses to use it. | |
22998 | ||
22999 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
23000 | ||
23001 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
23002 | ||
23003 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
23004 | ||
23005 | * window.c (Fset_window_configuration): Explicitly preserve | |
23006 | the point value that new_current_buffer had at the start. | |
23007 | ||
23008 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
23009 | ||
23010 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
23011 | Fix typos. | |
23012 | ||
23013 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
23014 | ||
23015 | * insdel.c (insert_1_both, insert_from_string_1) | |
23016 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
23017 | insert happened in the end_unchanged region. Otherwise, the | |
23018 | redisplay may be confused and duplicate the last line in the | |
23019 | buffer [seen after save-buffer when require-final-newline==t]. | |
23020 | ||
23021 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
23022 | ||
23023 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
23024 | (stat): Swap _S_IFDIR and _S_IFREG. | |
23025 | ||
23026 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23027 | ||
23028 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
23029 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
23030 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
23031 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
23032 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
23033 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
23034 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
23035 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
23036 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
23037 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
23038 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
23039 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
23040 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
23041 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
23042 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
23043 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
23044 | no_event to NO_EVENT. | |
23045 | ||
23046 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23047 | ||
23048 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
23049 | ||
23050 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
23051 | ||
23052 | * intervals.c (textget): Don't forget to `return'. | |
23053 | (lookup_char_property): Use XCAR/XCDR. | |
23054 | ||
23055 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
23056 | ||
23057 | * xdisp.c (Fformat_mode_line): Fix typo. | |
23058 | ||
23059 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
23060 | ||
23061 | * xdisp.c (Fformat_mode_line): New function. | |
23062 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
23063 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
23064 | (init_xdisp): Defsubr Fformat_mode_line. | |
23065 | Initialize frame_title_buf etc. unconditionally. | |
23066 | ||
23067 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
23068 | ||
23069 | * keyboard.c (read_key_sequence): | |
23070 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
23071 | things through those maps after downcasing events. | |
23072 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
23073 | applies after function-key-map. | |
23074 | Make sure that keytran can be done in the middle in the sequence. | |
23075 | Be careful not to throw away events past the one we downcase. | |
23076 | ||
23077 | * lread.c (read_integer): Remove unused var `tem'. | |
23078 | (read1): Fix int/Lisp_Object mixup. | |
23079 | ||
23080 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
23081 | ||
23082 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
23083 | ||
23084 | * keyboard.c (readable_events): Ignore any number of | |
23085 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
23086 | ||
23087 | 2002-06-09 Miles Bader <miles@gnu.org> | |
23088 | ||
23089 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
23090 | (parse_rgb_list, tty_lookup_color): New functions. | |
23091 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
23092 | (color_distance, Fcolor_distance): New functions. | |
23093 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
23094 | (Qtty_color_standard_values): New variable. | |
23095 | (syms_of_xfaces): Initialize new vars & functions. | |
23096 | ||
23097 | 2002-06-08 Colin Walters <walters@verbum.org> | |
23098 | ||
23099 | * textprop.c (Vchar_property_alias_alist): New variable. | |
23100 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
23101 | ||
23102 | * intervals.c (lookup_char_property): New function for looking up | |
23103 | overlay and text properties, created from textget. | |
23104 | (textget): Use it. | |
23105 | ||
23106 | * intervals.h (lookup_char_property): Declare. | |
23107 | (Vchar_property_alias_alist): Declare. | |
23108 | ||
23109 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
23110 | ||
23111 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
23112 | ||
23113 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
23114 | *data_ret is not a Lisp string, while unibyte_string is. | |
23115 | ||
23116 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
23117 | ||
23118 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
23119 | set size_ret. | |
23120 | ||
23121 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
23122 | ||
23123 | * m/amdx86-64.h: New file. | |
23124 | ||
23125 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
23126 | ||
23127 | * fns.c (Fstring_make_unibyte): Doc fix. | |
23128 | ||
23129 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
23130 | is STRING, call string_make_unibyte to encode the selected text | |
23131 | as a string. | |
23132 | ||
23133 | * window.c (Fset_window_hscroll): Doc fix. | |
23134 | ||
23135 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23136 | ||
23137 | * fileio.c (choose_write_coding_system): | |
23138 | Call select-safe-coding-system properly. | |
23139 | ||
23140 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
23141 | ||
23142 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
23143 | ||
23144 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
23145 | ||
23146 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
23147 | Vselect_safe_coding_system_function. | |
23148 | ||
23149 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
23150 | ||
23151 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
23152 | ||
23153 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
23154 | ||
23155 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
23156 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
23157 | * keymap.c (describe_command): Likewise. | |
23158 | * minibuf.c (read_minibuf): Likewise. | |
23159 | ||
23160 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
23161 | Cast `current_column' return value to int. | |
23162 | (back_to_previous_visible_line_start) | |
23163 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
23164 | Cast `indented_beyond_p' 3rd arg to float. | |
23165 | ||
23166 | * indent.c (last_known_column): Now a float. | |
23167 | (current_column_1, position_indentation, current_column) | |
23168 | (string_display_width): Return float. | |
23169 | (Fcurrent_column): Cast `current_column' return value to int. | |
23170 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
23171 | (indented_beyond_p): Third arg now a float. | |
23172 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
23173 | ||
23174 | * lisp.h (current_column): Now returns float. | |
23175 | (indented_beyond_p): 3rd arg now a float. | |
23176 | ||
23177 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
23178 | ||
23179 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
23180 | is Qcompound_text_with_extensions. | |
23181 | ||
23182 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
23183 | type as string if x_encode_text returns streingp non-NULL. | |
23184 | ||
23185 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
23186 | ||
23187 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
23188 | ||
23189 | * window.c (Fset_window_configuration): Correct the handling | |
23190 | of point in current buffer, to work with multiple windows. | |
23191 | ||
23192 | 2002-05-29 Colin Walters <walters@verbum.org> | |
23193 | ||
23194 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
23195 | for C function parameters. | |
23196 | ||
23197 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
23198 | ||
23199 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
23200 | way for blinked-off state and for a nonselected window. | |
23201 | ||
23202 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
23203 | instead, see if the new start pos is at beginning of line. | |
23204 | ||
23205 | * fileio.c (Fwrite_region): If START is a string, don't | |
23206 | make any annotations. | |
23207 | ||
23208 | * eval.c (syms_of_eval): Doc fix. | |
23209 | ||
23210 | 2002-05-28 Colin Walters <walters@debian.org> | |
23211 | ||
23212 | * emacs.c (USAGE1): Add --no-splash. | |
23213 | (standard_args): Ditto. | |
23214 | ||
23215 | 2002-05-28 Colin Walters <walters@gnu.org> | |
23216 | ||
23217 | * lread.c (readchar_count): New variable. | |
23218 | (readchar): Increment it. | |
23219 | (unreadchar): Decrement it. | |
23220 | (read_multibyte): Decrement it. | |
23221 | (Vread_with_symbol_positions): New variable. | |
23222 | (Vread_symbol_positions_list): New variable. | |
23223 | (read_internal_start): New function, created from Fread and | |
23224 | Fread_from_string. Handle Vread_symbol_positions_list and | |
23225 | Vread_with_symbol_positions. | |
23226 | (readevalloop, Fread, Fread_from_string): Use it. | |
23227 | (read1): Use readchar_count to add symbol positions to | |
23228 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
23229 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
23230 | ||
23231 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
23232 | (substitute_object_recurse, substitute_object_in_subtree) | |
23233 | (substitute_in_interval): Prototype. | |
23234 | (read_multibyte): Return c if it's less than zero. | |
23235 | ||
23236 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
23237 | ||
23238 | * fileio.c (Fread_file_name_internal): Added brute-force | |
23239 | speed up for using predicate file-directory-p. | |
23240 | ||
23241 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
23242 | ||
23243 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
23244 | New variables. | |
23245 | (syms_of_fileio): DEFVAR_LISP them. | |
23246 | (read_file_name_cleanup): New unwind function. | |
23247 | (Fread_file_name_internal): Only return completions satifying | |
23248 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
23249 | default-directory while checking completions against the predicate. | |
23250 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
23251 | Vread_file_name_predicate during completion. | |
23252 | Call Vread_file_name_function to read the file name if non-nil. | |
23253 | ||
23254 | * lisp.h (Fread_file_name): Now has 6 args. | |
23255 | ||
23256 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
23257 | predicate for Fread_file_name when reading directory name. | |
23258 | Supply Qnil for predicate in other calls to Fread_file_name. | |
23259 | ||
23260 | 2002-05-26 Miles Bader <miles@gnu.org> | |
23261 | ||
23262 | * term.c (tty_capable_p): New function. | |
23263 | * dispextern.h (tty_capable_p): New function declaration. | |
23264 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
23265 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
23266 | ||
23267 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
23268 | ||
23269 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
23270 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
23271 | (Vwrite_region_annotate_functions): Docstring fix. | |
23272 | ||
23273 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
23274 | ||
23275 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
23276 | phys_cursor's hpos is overwritten. This is still not completely | |
23277 | correct, as it doesn't really make sense to use hpos at all to | |
23278 | get the cursor glyph (as that is relative to the width of the | |
23279 | characters on the line, which may have changed during the update). | |
23280 | ||
23281 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
23282 | ||
23283 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
23284 | Lisp_Object. | |
23285 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
23286 | Use modified enumfont_t struct. | |
23287 | ||
23288 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
23289 | ||
23290 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
23291 | Handle the `hbar' cursor type. | |
23292 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
23293 | ||
23294 | * w32fns.c (Qhbar): New variable. | |
23295 | (x_specified_cursor_type): Use it. | |
23296 | ||
23297 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
23298 | ||
23299 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
23300 | now, when the address is needed. | |
23301 | ||
23302 | 2002-05-21 Colin Walters <walters@gnu.org> | |
23303 | ||
23304 | * Makefile.in (shortlisp): Add font-core.el. | |
23305 | ||
23306 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
23307 | ||
23308 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
23309 | ||
23310 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
23311 | equivalent key bindings here. | |
23312 | ||
23313 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
23314 | ||
23315 | Change symbol structure to contain a lisp object for the symbol | |
23316 | name: | |
23317 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
23318 | object field named "xname". | |
23319 | (SYMBOL_NAME): New macro. | |
23320 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
23321 | name field. | |
23322 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
23323 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
23324 | instead of name field. | |
23325 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
23326 | SYMBOL_NAME instead of XSYMBOL and name field. | |
23327 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
23328 | instead of XSYMBOL and name field. | |
23329 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
23330 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
23331 | * coding.c (Fread_coding_system, code_convert_region1) | |
23332 | (code_convert_string1, code_convert_string_norecord) | |
23333 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
23334 | XSYMBOL and name field. | |
23335 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
23336 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
23337 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
23338 | of XSYMBOL and name field. | |
23339 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
23340 | XSYMBOL and name field. | |
23341 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
23342 | instead of XSYMBOL and name field. | |
23343 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
23344 | XSYMBOL and name field. | |
23345 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
23346 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
23347 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
23348 | instead of XSYMBOL and name field. | |
23349 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
23350 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
23351 | (parse_solitary_modifier, Fexecute_extended_command): | |
23352 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
23353 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
23354 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
23355 | of XSYMBOL and name field. | |
23356 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
23357 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
23358 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
23359 | instead of XSYMBOL and name field. | |
23360 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
23361 | name field and XSETSTRING. | |
23362 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
23363 | of XSYMBOL and name field. | |
23364 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
23365 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
23366 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
23367 | XSTRING instead of XSYMBOL and name field. | |
23368 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
23369 | and XSTRING instead of XSYMBOL and name field. | |
23370 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
23371 | and XSTRING instead of XSYMBOL and name field. | |
23372 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
23373 | XSTRING instead of XSYMBOL and name field. | |
23374 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
23375 | of XSYMBOL and name field. | |
23376 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
23377 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
23378 | ||
23379 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
23380 | ||
23381 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
23382 | and XCDR real rvalues in most configurations. | |
23383 | ||
23384 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
23385 | Don't take the address of the cdr part of a cons cell; instead, track | |
23386 | the parent cell and call XSETCDR, or set the variable for the head | |
23387 | of the list if we haven't started down the list yet. | |
23388 | ||
23389 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
23390 | ||
23391 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
23392 | ||
23393 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
23394 | ||
23395 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
23396 | (xbm_load_image): Use it. | |
23397 | (xbm_load): Ditto. | |
23398 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
23399 | From David Ponce <david@dponce.com>. | |
23400 | ||
23401 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
23402 | ||
23403 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
23404 | 2.02 and later. | |
23405 | ||
23406 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
23407 | ||
23408 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
23409 | ||
23410 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
23411 | ||
23412 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
23413 | meaningful test. | |
23414 | (read_char_minibuf_menu_prompt): Fix typo. | |
23415 | ||
23416 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
23417 | ||
23418 | * eval.c (Fcommandp): Doc fix. | |
23419 | ||
23420 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
23421 | ||
23422 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
23423 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
23424 | (Fset_keymap_parent): Gcpro a bit more. | |
23425 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
23426 | (get_keyelt): Gcpro when following indirect references. | |
23427 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
23428 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
23429 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
23430 | Remove useless ad-hoc remap code. | |
23431 | ||
23432 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
23433 | ||
23434 | * search.c (search_buffer): Give up boyer moore search if inverse | |
23435 | translation change charset_base. | |
23436 | ||
23437 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
23438 | ||
23439 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
23440 | characters is carried over from the previous block of text, adjust | |
23441 | coding->produced to account for the extra character. | |
23442 | ||
23443 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
23444 | ||
23445 | * coding.c (intersection): Keep the elements of the returned list | |
23446 | in the same order as in the first list. | |
23447 | ||
23448 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
23449 | ||
3419757d | 23450 | * keymap.c (current_minor_maps): Fix resizing of cmm_maps; |
048addec JD |
23451 | only update cmm_size if realloc actually succeeds. |
23452 | Testing with initial size of 2 elements revealed that using | |
23453 | realloc on GNU/Linux would cause a random trap in xmalloc | |
23454 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
23455 | of realloc. | |
23456 | ||
23457 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
23458 | ||
23459 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
23460 | ||
23461 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
23462 | ||
23463 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
23464 | parens, to ensure correct evaluation order. | |
23465 | ||
23466 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
23467 | ||
23468 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
23469 | (syms_of_keymap): DEFVAR_LISP it. | |
23470 | (current_minor_maps): Process keymap alists in that list before | |
23471 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
23472 | ||
23473 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
23474 | ||
23475 | * search.c (Freplace_match): Doc fix. | |
23476 | ||
23477 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
23478 | ||
23479 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
23480 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
23481 | ||
23482 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
23483 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
23484 | ||
23485 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
23486 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
23487 | ||
23488 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
23489 | ||
23490 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
23491 | type if comes from the Lisp object's car. If the selection | |
23492 | contains a pure ASCII text, always return QSTRING as its type. | |
23493 | ||
23494 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23495 | ||
23496 | * mac.c (mac-cut-function): Doc fix. | |
23497 | ||
23498 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
23499 | ||
23500 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
23501 | ||
23502 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
23503 | ||
23504 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
23505 | for event-click-count. | |
23506 | ||
23507 | * process.c (init_process): Only add server subfeature if we can | |
23508 | use non-blocking I/O. | |
23509 | ||
23510 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
23511 | ||
23512 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
23513 | repeatedly. | |
23514 | ||
23515 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
23516 | ||
23517 | * process.c (Fmake_network_process): Only support server sockets | |
23518 | when we can make them non-blocking. | |
23519 | ||
23520 | * s/ms-w32.h (HAVE_SELECT): Define. | |
23521 | ||
23522 | * w32.h (FILE_NDELAY): New flag. | |
23523 | ||
23524 | * w32.c (sys_getpeername, fcntl): New functions. | |
23525 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
23526 | ||
2d4713aa | 23527 | * w32proc.c: Include sys/file.h. |
048addec JD |
23528 | |
23529 | 2002-05-03 Colin Walters <walters@verbum.org> | |
23530 | ||
23531 | * callproc.c (Vgame_score_directory): Renamed to | |
23532 | Vshared_game_score_directory. | |
23533 | ||
23534 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
23535 | ||
23536 | * s/gnu.h [emacs]: Include stdio.h. | |
23537 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
23538 | ||
23539 | * eval.c (do_autoload): Error if called while preparing to dump. | |
23540 | ||
23541 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
23542 | ||
23543 | 2002-04-28 Colin Walters <walters@verbum.org> | |
23544 | ||
23545 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
23546 | Default to "~/.emacs.d/games". | |
23547 | ||
23548 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
23549 | ||
23550 | * lread.c (openp): Change arg exec_only to predicate. | |
23551 | (build_load_history): Use XCAR/XCDR. | |
23552 | (Flocate_file_internal): New fun. | |
23553 | (syms_of_lread): Defsubr it. | |
23554 | (Fload): Update call to openp. | |
23555 | ||
23556 | * lisp.h (openp): Update prototype. | |
23557 | ||
23558 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
23559 | * w32proc.c (sys_spawnve): | |
23560 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
23561 | * w32.c (check_windows_init_file): | |
23562 | * sound.c (Fplay_sound_internal): | |
23563 | * process.c (Fstart_process): | |
23564 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
23565 | * mac.c (run_mac_command): | |
23566 | * emacs.c (init_cmdargs): | |
23567 | * callproc.c (Fcall_process): Update call to openp. | |
23568 | ||
23569 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
23570 | ||
23571 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
23572 | ||
23573 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23574 | ||
23575 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
23576 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
23577 | ||
23578 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
23579 | ||
23580 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
23581 | ||
23582 | * eval.c (Fcommandp): New arg for_call_interactively. | |
23583 | * lisp.h (Fcommandp): Declare new arg. | |
23584 | ||
23585 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
23586 | ||
23587 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
23588 | ||
23589 | * w32.c (stat, fstat): Use file index information to generate | |
23590 | inodes for directories where available. | |
23591 | ||
23592 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
23593 | ||
23594 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
23595 | [HAVE_CARBON]: Include Mac object files. | |
23596 | ||
23597 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
23598 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
23599 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
23600 | MAC_OSX, and MAC_OS instead of macintosh. | |
23601 | ||
23602 | * editfns.c [MAC_OS8]: Include stdio.h. | |
23603 | ||
23604 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
23605 | ||
23606 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
23607 | Apple Monaco. | |
23608 | ||
78819ebb | 23609 | * process.c (QCfamily, QCfilte): Declare extern. |
048addec JD |
23610 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before |
23611 | calling select. | |
23612 | ||
23613 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
23614 | ||
23615 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
23616 | ||
23617 | * config.in [HAVE_CARBON]: Add. | |
23618 | ||
23619 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
23620 | Move here from mac/src and mac/inc. | |
23621 | ||
23622 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
23623 | ||
23624 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
23625 | ||
23626 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
23627 | Compute phys_cursor_width from the x position returned | |
23628 | by x_draw_glyhs, which is cheaper. | |
23629 | (x_display_and_set_cursor): Compute the buffer-local value | |
23630 | of `cursor-in-non-selected-windows' only when needed. | |
23631 | ||
23632 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
23633 | ||
23634 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
23635 | cursor on a stretch glyph has a width that depends on | |
23636 | x_stretch_cursor_p. | |
23637 | ||
23638 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23639 | ||
23640 | * abbrev.c (abbrev-start-location): Doc fix. | |
23641 | ||
23642 | * indent.c (Fvertical_motion): Fix last change. | |
23643 | ||
23644 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
23645 | ||
23646 | * indent.c (Fvertical_motion): Move to the start of the line | |
23647 | containing PT before moving up or down. | |
23648 | ||
23649 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
23650 | ||
23651 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
23652 | case of writing a whole row, more or less analogous to the case of | |
23653 | writing only parts of a row. | |
23654 | ||
23655 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
23656 | 0 for NO_CURSOR. | |
23657 | ||
23658 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
23659 | ||
23660 | 2002-04-23 Colin Walters <walters@verbum.org> | |
23661 | ||
23662 | * buffer.c (syms_of_buffer): Doc fix. | |
23663 | ||
23664 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
23665 | ||
23666 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
23667 | of the cursor being in the first blank non-text line at the | |
23668 | end of a window. | |
23669 | ||
23670 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
23671 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
23672 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
23673 | bar cursors only, to make phys_cursor_width contain what its name | |
23674 | suggests. | |
23675 | (notice_overwritten_cursor): Consider the cursor image erased if | |
23676 | the output area intersects the cursor image in y-direction. | |
23677 | ||
23678 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
23679 | ||
23680 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
23681 | to XC_hand2. | |
23682 | ||
23683 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23684 | ||
23685 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
23686 | ||
23687 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
23688 | ||
23689 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
23690 | ||
23691 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
23692 | ||
23693 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
23694 | ||
23695 | * window.c (make_window): Initialize height_fixed_p, | |
23696 | last_cursor_off_p, and p->cursor_off_p slots. | |
23697 | ||
23698 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23699 | ||
23700 | * fns.c (use-dialog-box): Doc fix. | |
23701 | ||
23702 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23703 | ||
23704 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
23705 | variables `row', `i' and `area'. | |
23706 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
23707 | toolkit library. | |
23708 | ||
23709 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
23710 | ||
23711 | * xfaces.c (clear_font_table): Don't free the default font of | |
23712 | a frame even if it's on another display. | |
23713 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
23714 | that could be Qt. | |
23715 | ||
23716 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
23717 | ||
23718 | * indent.c (Fmove_to_column): Remove unused local variable | |
23719 | `next_boundary_byte'. | |
23720 | (current_column_1): Likewise. | |
23721 | ||
23722 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
23723 | ||
23724 | * msdos.c (Qhbar): New variable. | |
23725 | (syms_of_msdos): Intern and staticpro it. | |
23726 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
23727 | cursor type. | |
23728 | ||
23729 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
23730 | ||
23731 | Theses change implement an underscore-like (`hbar') cursor. | |
23732 | ||
23733 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
23734 | ||
23735 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
23736 | Handle the `hbar' cursor type. | |
23737 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
23738 | ||
23739 | * xfns.c (Qhbar): New variable. | |
23740 | (syms_of_xfns): Intern and staticpro it. | |
23741 | (x_specified_cursor_type): Handle `hbar' cursor. | |
23742 | ||
23743 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
23744 | not defined. | |
23745 | ||
23746 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
23747 | ||
23748 | * textprop.c (remove_properties): New arg LIST allows scanning | |
23749 | either a list or a plist. | |
23750 | (interval_has_some_properties_list): New function, like | |
23751 | interval_has_some_properties using list instead of plist. | |
23752 | All callers changed. | |
23753 | (Fremove_list_of_text_properties): New function. | |
23754 | (syms_of_textprop): Defsubr it. | |
23755 | ||
23756 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
23757 | ||
23758 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
23759 | ||
23760 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
23761 | ||
23762 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
23763 | ||
23764 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
23765 | ||
23766 | * window.c (coordinates_in_window): Don't report on margin area | |
23767 | if its width is zero. | |
23768 | ||
23769 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
23770 | ||
23771 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
23772 | ||
23773 | * w32term.c (construct_drag_n_drop): Likewise. | |
23774 | ||
23775 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
23776 | ||
23777 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
23778 | store load-history in pure space. | |
23779 | ||
23780 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
23781 | ||
23782 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
23783 | ||
23784 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
23785 | (syms_of_xterm): Initialize them. | |
23786 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
23787 | decoding the output of X*LookupString. | |
23788 | Always use latin-1 to decode the output of XLookupString. | |
23789 | Try Xutf8LookupString if XmbLookupString failed. | |
23790 | ||
23791 | * region-cache.c (new_region_cache): Use BEG. | |
23792 | ||
23793 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
23794 | ||
23795 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
23796 | configuration files. | |
23797 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
23798 | returns 0. | |
23799 | ||
23800 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
23801 | ||
23802 | * config.in: Regenerated using autoheader. | |
23803 | ||
23804 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
23805 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
23806 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
23807 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
23808 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
23809 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
23810 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
23811 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
23812 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
23813 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
23814 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
23815 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
23816 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
23817 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
23818 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
23819 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
23820 | STACK_DIRECTION, now set by autoconf. | |
23821 | ||
23822 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23823 | ||
23824 | * dispnew.c (marginal_area_string): Sort arguments. | |
23825 | ||
23826 | * dispextern.h (marginal_area_string): Add prototype. | |
23827 | ||
23828 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
23829 | ||
23830 | * fileio.c (Finsert_file_contents): | |
23831 | Don't call temp_output_buffer_setup--do just part, by hand. | |
23832 | ||
23833 | * coding.c (run_pre_post_conversion_on_str): | |
23834 | Don't call temp_output_buffer_setup--do just part, by hand. | |
23835 | ||
23836 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
23837 | or cancel_hourglass when executing a macro. | |
23838 | ||
23839 | * marker.c (count_markers): New function. | |
23840 | ||
23841 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
23842 | grow without limit. Move recently used elements to the front. | |
23843 | ||
23844 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
23845 | ||
23846 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
23847 | ||
23848 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
23849 | ||
23850 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
23851 | rows marginal areas. | |
23852 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
23853 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
23854 | ||
23855 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
23856 | ||
23857 | 2002-04-12 Dave Love <fx@gnu.org> | |
23858 | ||
23859 | * dispnew.c (marginal_area_string): New. | |
23860 | ||
23861 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
23862 | (Qleft_margin, Qright_margin): Declare. | |
23863 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
23864 | ||
23865 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
23866 | note_mode_line_highlight and extended. | |
23867 | ||
23868 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
23869 | (make_lispy_event): Deal with mouse events in margins. | |
23870 | ||
23871 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
23872 | ||
23873 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
23874 | ||
23875 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
23876 | than deactivating the mark if tmm is set to `lambda'. | |
23877 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
23878 | Use a single event for HELP_EVENT. | |
23879 | (Fexecute_extended_command): Save last_point_position. | |
23880 | ||
23881 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23882 | ||
23883 | * lisp.h (Fpropertize): Add prototype. | |
23884 | ||
23885 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
23886 | ||
23887 | 2002-04-10 Colin Walters <walters@verbum.org> | |
23888 | ||
23889 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
23890 | ||
52eb0373 | 23891 | * callproc.c (Vgame_score_directory): New variable. |
048addec JD |
23892 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. |
23893 | ||
23894 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
23895 | ||
23896 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
23897 | ||
23898 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
23899 | ||
23900 | * minibuf.c (read_minibuf): Use empty_string. | |
23901 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
23902 | Short-circuit the search as soon as it "failed". | |
23903 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
23904 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
23905 | when require_match is nil. | |
23906 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
23907 | Call the predicate also when alist is a list. | |
23908 | Obey Vcompletion_regexp_list. | |
23909 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
23910 | (Fassoc_string): Rename from `assoc_for_completion'. | |
23911 | Allow list of strings as well and export to elisp. | |
23912 | ||
23913 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
23914 | ||
23915 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
23916 | ||
23917 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
23918 | ||
23919 | * w32.c (sys_accept): Don't hide variable `s'. | |
23920 | ||
23921 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
23922 | ||
23923 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
23924 | NUMBERP for checking Vhistory_length. | |
23925 | ||
23926 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23927 | ||
23928 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
23929 | Doc fix to reflect it. | |
23930 | ||
23931 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
23932 | ||
23933 | * xdisp.c (display_mode_element): New arg RISKY. | |
23934 | Disregard text props found or specified within a variable | |
23935 | that isn't marked risky-local-variable. | |
23936 | (Qrisky_local_variable): New variable. | |
23937 | (syms_of_xdisp): Init and staticpro it. | |
23938 | ||
23939 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
23940 | ||
23941 | * undo.c (record_point): New fun. | |
23942 | (record_delete, record_insert): Use it. | |
23943 | ||
23944 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
23945 | ||
23946 | * doc.c (Fdocumentation): Add missing parentheses. | |
23947 | (Fdocumentation_property): Likewise. | |
23948 | ||
23949 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
23950 | ||
23951 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
23952 | data is 0, just return nil. | |
23953 | ||
23954 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
23955 | ||
23956 | * msdos.c (syms_of_msdos): Fix last change with | |
23957 | mouse_autoselect_window. | |
23958 | ||
23959 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23960 | ||
23961 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
23962 | mouse_autoselect_window. | |
23963 | ||
23964 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
23965 | ||
23966 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
23967 | with system-specific keysyms. Use it also for unknown function keys. | |
23968 | ||
23969 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
23970 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
23971 | if the doc is 0 and only ask once. | |
23972 | ||
23973 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
23974 | ||
23975 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
23976 | ||
23977 | * keyboard.c (read_char): If the event was Qselect_window, | |
23978 | restore timer_idleness_start_time to its previous value. | |
23979 | ||
23980 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
23981 | ||
23982 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
23983 | ||
23984 | * region-cache.c (new_region_cache): Use BEG. | |
23985 | ||
23986 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
23987 | Use BEG and BEG_BYTE. | |
23988 | ||
23989 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
23990 | (reread_doc_file): New fun. | |
23991 | (Fdocumentation, Fdocumentation_property): | |
23992 | Call it if get_doc_string fails. | |
23993 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
23994 | ||
23995 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
23996 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
23997 | ||
23998 | * charset.c (Fstring): Allow 0 arguments. | |
23999 | ||
24000 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
24001 | ||
24002 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
24003 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
24004 | (Fset_network_process_options, server_accept_connection): | |
24005 | Fix some int/Lisp_Object confusions (thank you union types). | |
24006 | ||
24007 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24008 | ||
24009 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
24010 | ||
24011 | * w32term.c: Likewise. | |
24012 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
24013 | ||
24014 | * keyboard.c (Qselect_window): New symbol. | |
24015 | (head_table): Use it. | |
24016 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
24017 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
24018 | ||
24019 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
24020 | (last_window): New variable. | |
24021 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
24022 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
24023 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
24024 | Emacs windows. | |
24025 | ||
24026 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
24027 | ||
24028 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
24029 | ||
24030 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
24031 | Callers changed. | |
24032 | ||
24033 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
24034 | ||
24035 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
24036 | loop whenever it stops making progress. | |
24037 | ||
24038 | * widget.c (set_frame_size): Don't call change_frame_size. | |
24039 | ||
24040 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
24041 | ||
24042 | * dispnew.c (direct_output_for_insert): | |
24043 | Call mark_window_display_accurate. | |
24044 | ||
24045 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
24046 | ||
24047 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
24048 | ||
24049 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
24050 | ||
24051 | * Makefile.in (lread.o): Depend on coding.h. | |
24052 | ||
24053 | * lread.c (openp, Fload): Encode the file name before passing it | |
24054 | to `stat', `access', and `emacs_open'. | |
24055 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
24056 | strings unnecessarily. | |
24057 | ||
24058 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
24059 | ||
24060 | * fns.c (Flax_plist_put): Doc fix. | |
24061 | ||
24062 | 2002-03-28 Miles Bader <miles@gnu.org> | |
24063 | ||
24064 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
24065 | ||
24066 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24067 | ||
24068 | * process.c (set-network-process-options): Add usage. | |
24069 | (make-network-process): Doc fix. | |
24070 | ||
24071 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
24072 | ||
24073 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
24074 | ||
24075 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
24076 | ||
24077 | * fns.c (Fsubstring_no_properties): New function. | |
24078 | (Flax_plist_get, Flax_plist_put): New functions. | |
24079 | (syms_of_fns): defsubr them. | |
24080 | ||
24081 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
24082 | don't test or alter w->update_mode_line. | |
24083 | ||
24084 | * window.c (Fdisplay_buffer): Doc fix. | |
24085 | ||
24086 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
24087 | ||
24088 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
24089 | ||
24090 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
24091 | ||
24092 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
24093 | (Fdefmacro): Handle `(declare ...)'. | |
24094 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
24095 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
24096 | ||
24097 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
24098 | ||
24099 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
24100 | (xbm_file_p): Add prototypes. | |
24101 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
24102 | (reflect_byte): New function. | |
24103 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
24104 | (xbm_load_image): Create bitmaps with a depth of 1. | |
24105 | (init_xfns): Enable XBM images. | |
24106 | ||
24107 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
24108 | ||
24109 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
24110 | correctly. Do not pass up_modifier to keyboard buffer. | |
24111 | ||
24112 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
24113 | ||
24114 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
24115 | ||
24116 | * Makefile.in (bootstrapclean): New target. | |
24117 | (bootstrap-temacs, bootstrap-doc): Remove. | |
24118 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
24119 | Don't bother to build a DOC file. | |
24120 | ||
24121 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
24122 | ||
24123 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
24124 | in temacs even if !CANNOT_DUMP. | |
24125 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
24126 | ||
24127 | * alloc.c (check_pure_size): Only output a warning. | |
24128 | ||
24129 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
24130 | ||
24131 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
24132 | supported. | |
24133 | ||
24134 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
24135 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
24136 | (syms_of_w32term): Define x-use-underline-position-properties. | |
24137 | ||
24138 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
24139 | (clear_image_cache): Block input, fix logic, clear matrices in | |
24140 | all frames that share this cache. | |
24141 | ||
24142 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
24143 | ||
24144 | * emacs.c (main): Update the Copyright year in the blurb printed | |
24145 | by "emacs --version". | |
24146 | ||
24147 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
24148 | ||
24149 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
24150 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
24151 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
24152 | ||
24153 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
24154 | ||
24155 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
24156 | menu-bar bindings in keymap and local-map properties _are_ used. | |
24157 | But try keymap property first in accordance with 2002-01-03 patch. | |
24158 | Added comment describing why this is not always reliable. | |
24159 | (tool_bar_items): Ditto for tool-bar. | |
24160 | ||
24161 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
24162 | ||
24163 | * w32fns.c (x_clear_image_1): Disable color table code. | |
24164 | ||
24165 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
24166 | ||
24167 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
24168 | removed the wrong version of the DEFUN macro; fixed it. | |
24169 | ||
24170 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
24171 | Fmember rather than Fmemq). | |
24172 | (Fprovide): Check that subfeatures is a list. | |
24173 | ||
24174 | * process.c (QCfeature, QCdatagram): Removed variables. | |
24175 | (QCtype, Qdatagram): New variables. | |
24176 | (network_process_featurep): Removed function. | |
24177 | (Fmake_network_process): Removed :feature check. | |
24178 | Use :type 'datagram instead of :datagram t to create a datagram | |
24179 | socket. This allows us to add other connection types (e.g. raw | |
24180 | sockets) later in a consistent manner. | |
24181 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
24182 | supported subfeatures for feature make-network-process. | |
24183 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
24184 | Intern and staticpro QCtype and Qdatagram. | |
24185 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
24186 | ||
9dd28cae | 24187 | * xfns.c (QCtype): Remove duplicate declaration and |
048addec JD |
24188 | initialization (is now declared in process.c). |
24189 | ||
9dd28cae | 24190 | * w32fns.c (QCtype): Remove duplicate declaration and |
048addec JD |
24191 | initialization (is now declared in process.c). |
24192 | ||
24193 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
24194 | ||
24195 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
24196 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
24197 | when jumping to `fail' to avoid undoing reg changes in the | |
24198 | last iteration of the loop. | |
24199 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
24200 | ||
24201 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
24202 | Depend on process.h. | |
24203 | ||
24204 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
24205 | ||
24206 | Most of the following changes are still conditional on HAVE_IMAGES | |
24207 | which is not set by default on Windows. | |
24208 | ||
24209 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
24210 | ||
24211 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
24212 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
24213 | (four_corners_best, x_clear_image_1, x_clear_image) | |
24214 | (x_alloc_image_color, postprocess_image) | |
24215 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
24216 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
24217 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
24218 | ||
24219 | * w32gui.h (struct XImage): Define. | |
24220 | ||
24221 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
24222 | extract mouse co-ordinates. | |
24223 | ||
24224 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
24225 | ||
24226 | * w32.c (init_winsock): Dynamically load new server and UDP | |
24227 | socket functions. | |
24228 | (socket_to_fd): New function. | |
24229 | (sys_socket): Use it. | |
24230 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
24231 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
24232 | ||
24233 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
24234 | and initialization. | |
24235 | ||
24236 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
24237 | ||
24238 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
24239 | ||
24240 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
24241 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
24242 | machines. | |
24243 | ||
24244 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24245 | ||
24246 | * bytecode.c (Fbyte_code): Revert last change. | |
24247 | ||
24248 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
24249 | ||
24250 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
24251 | From David Ponce <dponce@voila.fr>. | |
24252 | ||
24253 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24254 | ||
24255 | * process.c (wait_reading_process_input): Move variables `pname' | |
24256 | and `pnamelen' down where they are used. | |
24257 | ||
24258 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
24259 | prevent gcc warning. | |
24260 | ||
24261 | * lisp.h (Fplist_member): Add prototype. | |
24262 | ||
24263 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
24264 | ||
24265 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
24266 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
24267 | ||
24268 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
24269 | Remove explicit GNU_LINUX settings for datagram support. | |
24270 | ||
24271 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24272 | ||
24273 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
24274 | Doc fix. Add usage:. | |
24275 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
24276 | ||
24277 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
24278 | ||
24279 | * xdisp.c (cursor_type_changed): New variable. | |
24280 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
24281 | Clear it when clearing windows_or_buffers_changed. | |
24282 | (try_cursor_movement, redisplay_window, try_window_id) | |
24283 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
24284 | along with windows_or_buffers_changed. | |
24285 | ||
24286 | * window.h (cursor_type_changed): New variable. | |
24287 | ||
24288 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
24289 | not update_mode_lines, and always set it to 1. | |
24290 | ||
24291 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
24292 | if no frames needed redrawing. | |
24293 | ||
24294 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
24295 | ||
24296 | The following changes add support for network server processes, | |
24297 | datagram connections, and local (unix) sockets. | |
24298 | ||
24299 | * process.h (struct Lisp_Process): New member log. | |
24300 | Doc fix: Member command used to indicate stopped network process. | |
24301 | Doc fix: Member childp contains plist for network process. | |
24302 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
24303 | ||
24304 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
9dd28cae | 24305 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) |
647b07d1 AS |
24306 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New |
24307 | variables. | |
048addec JD |
24308 | (NETCONN1_P): New macro. |
24309 | (DATAGRAM_SOCKETS): New conditional symbol. | |
24310 | (datagram_address): New array. | |
24311 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
24312 | (status_message): Use concat3. | |
647b07d1 AS |
24313 | (Fprocess_status): Add `listen' status to doc string. Return |
24314 | `stop' for a stopped network process. | |
048addec JD |
24315 | (Fset_process_buffer): Update contact plist for network process. |
24316 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
24317 | network processes. Server must listen, even if filter is t. | |
24318 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
24319 | New functions. | |
24320 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
24321 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
24322 | (list_processes_1): Optionally show only processes with the query | |
24323 | on exit flag set. Dynamically adjust column widths. Omit tty | |
647b07d1 AS |
24324 | column if not needed. Report stopped network processes. Identify |
24325 | server and datagram network processes. | |
048addec JD |
24326 | (Flist_processes): New optional arg `query-only'. |
24327 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
24328 | (conv_lisp_to_sockaddr, set_socket_options) | |
647b07d1 AS |
24329 | (network_process_featurep, unwind_request_sigio): New helper |
24330 | functions. | |
048addec JD |
24331 | (Fprocess_datagram_address, Fset_process_datagram_address): |
24332 | (Fset_network_process_options): New lisp functions. | |
24333 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
647b07d1 AS |
24334 | (Fmake_network_process): New lisp function. Code is based on |
24335 | previous Fopen_network_stream, but heavily reworked with new | |
24336 | property list based argument list, support for datagrams, server | |
24337 | processes, and local sockets in addition to old client-only | |
24338 | functionality. | |
048addec JD |
24339 | (server_accept_connection): New function. |
24340 | (wait_reading_process_input): Use it to handle incoming connects. | |
24341 | Do not enable input on a new connection if process is stopped. | |
647b07d1 AS |
24342 | (read_process_output): Handle datagram sockets. Use 2k buffer for |
24343 | them. | |
048addec | 24344 | (send_process): Handle datagram sockets. |
647b07d1 AS |
24345 | (Fstop_process, Fcontinue_process): Apply to network processes. A |
24346 | stopped network process is indicated by setting command field to t. | |
048addec JD |
24347 | (Fprocess_send_eof): No-op if datagram connection. |
24348 | (Fstatus_notify): Don't read input for a stream server socket or a | |
24349 | stopped network process. | |
24350 | (init_process): Initialize datagram_address array. | |
24351 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
24352 | functions. | |
24353 | ||
24354 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
24355 | ||
24356 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
24357 | startup case. | |
24358 | ||
24359 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
24360 | ||
24361 | * xdisp.c (redisplay_internal, redisplay_windows): | |
24362 | Use list_of_error to call internal_condition_case_1. | |
24363 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
24364 | so as to catch all errors with no possibility of debugger redisplay. | |
24365 | (list_of_error): New variable. | |
24366 | (syms_of_xdisp): Init and staticpro it. | |
24367 | ||
24368 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
24369 | ||
24370 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
24371 | ||
24372 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
24373 | until its implementation is fixed. | |
24374 | ||
24375 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24376 | ||
24377 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
24378 | ||
24379 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
24380 | ||
24381 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
24382 | ||
24383 | 2002-03-14 Miles Bader <miles@gnu.org> | |
24384 | ||
24385 | * intervals.c (adjust_for_invis_intang): New function. | |
24386 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
24387 | work for dealing with invisible+intangible regions. Do so before | |
24388 | and after both forward and backward movements, to handle both | |
24389 | front-sticky and rear-sticky cases. | |
24390 | * textprop.c (text_property_stickiness): Function moved here from | |
24391 | `editfns.c'. | |
24392 | * intervals.h (text_property_stickiness): New declaration. | |
24393 | * editfns.c (char_property_eq): Function removed. | |
24394 | (text_property_stickiness): Function moved to `textprop.c'. | |
24395 | ||
24396 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
24397 | ||
24398 | * config.in: Add STRFTIME_NO_POSIX2. | |
24399 | ||
24400 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
24401 | and %OX when underlying strftime does not. | |
24402 | ||
24403 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
24404 | ||
24405 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
24406 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
24407 | line) to avoid annoying flicker. | |
24408 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
24409 | (XTread_socket): Mark it static. | |
24410 | ||
24411 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
24412 | ||
24413 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
24414 | ||
24415 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
24416 | ||
24417 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
24418 | ||
24419 | * editfns.c (syms_of_editfns): Fix typo. | |
24420 | ||
24421 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
24422 | ||
24423 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
24424 | Include termopt.h for interrupt_input. | |
24425 | ||
24426 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
24427 | ||
24428 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
24429 | ||
24430 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
24431 | ||
24432 | * xterm.c (note_mouse_movement): Put code for | |
24433 | x_autoselect_window_p in #if 0. | |
24434 | ||
24435 | * lread.c (Fload): Don't assume that message_with_string uses the | |
24436 | string it is given like a C string. | |
24437 | ||
24438 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
24439 | ||
78819ebb | 24440 | * xterm.h (x_session_check_input, x_session_initialize): Declare. |
048addec | 24441 | |
52eb0373 | 24442 | * xterm.c (XTread_socket): Add call to x_session_check_input and |
048addec JD |
24443 | x_session_have_connection. |
24444 | (x_initialize): Add call to x_session_initialize. | |
24445 | ||
24446 | * termhooks.h (enum event_kind): Add save_session_event. | |
24447 | ||
24448 | * keyboard.c: Add Emacs event save_session_event. | |
24449 | ||
24450 | * emacs.c (main): Add call to syms_of_xsmfns. | |
24451 | ||
78819ebb | 24452 | * lisp.h (syms_of_xsmfns): Declare extern. |
048addec JD |
24453 | |
24454 | * config.in: Add HAVE_X_SM. | |
24455 | ||
24456 | * Makefile.in (LIBXT): Add -lSM -lICE | |
24457 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
24458 | (XOBJ): New file xsmfns.c added. | |
24459 | ||
24460 | * xsmfns.c: New file for X session management. | |
24461 | ||
24462 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
24463 | ||
24464 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
24465 | read-only when setting modified time. | |
24466 | ||
24467 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
24468 | ||
24469 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
24470 | when moving forward by lines, treat terminal frames specially. | |
24471 | ||
24472 | * keyboard.c (echo_char): Make sure to add a separator between | |
24473 | keys even if echo_dash hasn't been called. | |
24474 | ||
24475 | * xdisp.c: Use new string macros. | |
24476 | (update_echo_area): Pass number of bytes to message3 instead of | |
24477 | number of chars. | |
24478 | (set_message_1): Don't access a string's size_byte directly. | |
24479 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
24480 | instead number of chars. | |
24481 | ||
24482 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
24483 | ||
24484 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
24485 | ||
24486 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
24487 | 24-bit. | |
24488 | ||
24489 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
24490 | ||
24491 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
24492 | ||
24493 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
24494 | ||
24495 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
24496 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
24497 | work with new kboard definition. | |
24498 | (echo_now): Use message3_nolog instead of message2_nolog. | |
24499 | ||
24500 | * alloc.c (mark_kboards): Mark echo_string. | |
24501 | ||
24502 | * keyboard.h (ECHOBUFSIZE): Removed. | |
24503 | (struct kboard): Member echoptr removed, member echobuf renamed | |
24504 | to echo_string. | |
24505 | ||
24506 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
24507 | message3 instead of message2 to display the message using STRING's | |
24508 | text properties. | |
24509 | ||
24510 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
24511 | ||
24512 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
24513 | ||
24514 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
24515 | ||
24516 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
24517 | affect existing frames. | |
24518 | ||
24519 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
24520 | ||
24521 | * indent.c (skip_invisible): Fix my brain fart. | |
24522 | ||
24523 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
24524 | ||
24525 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
24526 | ||
24527 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
24528 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
24529 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
24530 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
24531 | and variables to use EMACS_INT instead of just int. | |
24532 | ||
24533 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
24534 | ||
24535 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
24536 | ||
24537 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
24538 | environment, pass it down with corrected value. | |
24539 | ||
24540 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24541 | ||
24542 | * lread.c (read_filtered_event): Do not call start_hourglass | |
24543 | before returning. | |
24544 | ||
24545 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
24546 | ||
24547 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
24548 | ||
24549 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
24550 | ||
24551 | * fileio.c (Fmake_temp_name): Doc fix. | |
24552 | ||
24553 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
24554 | ||
24555 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
24556 | libtermcap, for binary compatibility. | |
24557 | ||
24558 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
24559 | ||
24560 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
24561 | ||
24562 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
24563 | ||
24564 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
24565 | only if it is an integer. | |
24566 | ||
24567 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
24568 | If png_get_sRGB gives an answer, call png_set_gamma | |
24569 | using the default image gamma value. | |
24570 | ||
24571 | * lread.c (read1): When reading from a file, default string to | |
24572 | multibyte only if it has some multibyte characters. | |
24573 | ||
24574 | * print.c (print_object): Output multibyte chars 128...255 | |
24575 | using \x even if ! print_escape_multibyte. | |
24576 | ||
24577 | * xdisp.c (display_mode_element): Move the places where | |
24578 | bytepos, charpos, this, and lisp_string are set. | |
24579 | Use lisp_string to set bytepos. | |
24580 | ||
24581 | * xdisp.c (redisplay_internal): | |
24582 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
24583 | ||
24584 | * xdisp.c (display_mode_element): Merge properties specified with | |
24585 | :propertize onto those that come with the string. | |
24586 | ||
24587 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
24588 | ||
24589 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
24590 | automatic-hscrolling. Users changed. | |
24591 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
24592 | Users changed. | |
24593 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
24594 | ||
24595 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
24596 | ||
24597 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
24598 | ||
24599 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
24600 | ||
24601 | * window.c (Fminibuffer_selected_window): New function. | |
24602 | (syms_of_window): Defsubr it. | |
24603 | ||
24604 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
24605 | ||
24606 | * window.h (struct window): New member phys_cursor_width. | |
24607 | ||
24608 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
24609 | ||
24610 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
24611 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
24612 | ||
24613 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
24614 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
24615 | ||
24616 | * lisp.h (GCPRO6): New macro. | |
24617 | ||
24618 | * process.c (Fopen_network_stream): Use GCPRO6. | |
24619 | ||
24620 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
24621 | ||
24622 | * process.c (Qconnect, Qfailed): New variables. | |
24623 | (syms_of_process): Intern and staticpro them. | |
24624 | (Fprocess_status): Document connect and failed return values. | |
24625 | [NON_BLOCKING_CONNECT]: New conditional. | |
24626 | (connect_wait_mask, num_pending_connects): New variables. | |
24627 | (status_message): Convert Qfailed status. | |
24628 | (Fopen_network_stream): Added support for non-blocking connect. | |
24629 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
24630 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
24631 | (deactivate_process): Handle pending non-blocking connect. | |
24632 | (wait_reading_process_input): Poll for status of non-blocking | |
24633 | connects. Exec sentinel directly when connect succeeds. | |
24634 | (status_notify): Don't read process output if not yet connected. | |
24635 | ||
24636 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
24637 | ||
9dd28cae | 24638 | * window.c (minibuf_selected_window): Renamed from |
048addec JD |
24639 | Vminibuf_selected_window. Users changed. |
24640 | (syms_of_window): Staticpro it. | |
24641 | ||
24642 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
24643 | ||
24644 | The following changes add a new Vminibuf_selected_window variable | |
24645 | which is similar to Vminibuf_scroll_window, but which is only set | |
24646 | on entry to the minibuffer (from a non-minibuffer window): | |
24647 | ||
9dd28cae | 24648 | * window.c (Vminibuf_selected_window): New variable. |
048addec JD |
24649 | (struct save_window_data): New member minibuf_selected_window. |
24650 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
24651 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
24652 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
24653 | (compare_window_configurations): Compare minibuf_selected_window. | |
24654 | ||
9dd28cae | 24655 | * window.h (Vminibuf_selected_window): Declare extern. |
048addec JD |
24656 | |
24657 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
24658 | entry to minibuffer or on entry from a non-minibuffer window. | |
24659 | ||
24660 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
24661 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
24662 | ||
24663 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
24664 | instead of Vminibuf_scroll_window when deciding in which window | |
24665 | the region should be highlighted. Consequently, the region remains | |
24666 | highlighteded even when a completion buffer is also displayed. | |
24667 | ||
24668 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
24669 | ||
24670 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
24671 | ||
24672 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
24673 | Qcompound_text_no_extensions. | |
24674 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
24675 | ||
24676 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
24677 | ||
24678 | * w32proc.c (syms_of_ntproc): Doc fix. | |
24679 | ||
24680 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24681 | ||
24682 | * intervals.h: Include "dispextern.h" unconditionally. | |
24683 | ||
24684 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
24685 | ||
24686 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
24687 | and disp-table.elc. | |
24688 | (lisp): Add emacs-lisp/backquote.elc. | |
24689 | ||
24690 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
24691 | ||
3419757d | 24692 | * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: |
048addec JD |
24693 | The validation of the event type was too strict as it didn't |
24694 | allow string events; buffer names are used in bindings for | |
24695 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
24696 | ||
24697 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
24698 | ||
24699 | The following changes rework my patch of 2002-02-06 which | |
24700 | added command remapping by entering the commands directly into | |
24701 | the keymaps. Now, command remapping uses an explicit `remap' | |
24702 | prefix in the keymaps, i.e. [remap COMMAND]. | |
24703 | ||
24704 | * keymap.c (Qremap, remap_command_vector): New variables. | |
3419757d | 24705 | (is_command_symbol): Remove function. |
048addec JD |
24706 | (Fdefine_key): No longer accept a symbol for KEY. |
24707 | Added validation of [remap COMMAND] argument for KEY. | |
24708 | The DEF is no longer required to be a symbol when remapping a command. | |
24709 | (Fremap_command): New function to remap command through keymaps. | |
24710 | (Flookup_key): Perform command remapping initiated by | |
24711 | Fremap_command directly for speed. | |
24712 | (Fkey_binding): Use Fremap_command for command remapping. | |
24713 | (where_is_internal): Handle new command remapping representation. | |
24714 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
24715 | staticpro them. Defsubr Fremap_command. | |
24716 | ||
24717 | * keymap.h (Fremap_command): Declare extern. | |
24718 | (is_command_symbol): Remove extern. | |
24719 | ||
24720 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
24721 | remapping; now try command remapping for all symbols. | |
24722 | ||
24723 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
24724 | ||
24725 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
24726 | ||
24727 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
24728 | ||
24729 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
24730 | on the string before encoding it. | |
24731 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
24732 | after decoding it. | |
24733 | ||
24734 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
24735 | ||
24736 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24737 | ||
24738 | * w32term.c (enter_timestamp): Remove unused static variable to | |
24739 | prevent warning. | |
24740 | ||
24741 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
24742 | ||
24743 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
24744 | ||
24745 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
24746 | ||
24747 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
24748 | ||
24749 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
24750 | ||
24751 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
24752 | ||
24753 | * w32menu.c (menubar_selection_callback): Free the menu and | |
24754 | clear the menu_command_in_progress flag. | |
24755 | ||
24756 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
24757 | (menu_free_timer): New variable. | |
24758 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
24759 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
24760 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
24761 | menu command is in progress. | |
24762 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
24763 | Kill any menu_free_timer that is running. | |
24764 | ||
24765 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
24766 | Call ExtTextOutA rather than ExtTextOut. | |
24767 | ||
24768 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
24769 | ||
24770 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
24771 | ||
24772 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
24773 | ||
24774 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
24775 | on the string before encoding it. | |
24776 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
24777 | after decoding it. | |
24778 | ||
24779 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
24780 | ||
9dd28cae | 24781 | Support for ICCCM Extended Segments in X selections: |
048addec JD |
24782 | |
24783 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
24784 | (syms_of_xselect): Intern and staticpro it. | |
24785 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
24786 | selection text. | |
24787 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
24788 | compound-text-no-extensions, set the type of selection to be | |
24789 | compound-text. | |
24790 | ||
24791 | * xterm.h (x_encode_text): Update prototype. | |
24792 | ||
24793 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
24794 | callers changed. If SELECTIONP is non-zero, run the | |
24795 | pre-write-conversion function before encoding the selection text. | |
24796 | ||
24797 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
24798 | ||
24799 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
24800 | ||
24801 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
24802 | Correct composing of language-change event. | |
24803 | ||
24804 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
24805 | ||
24806 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
24807 | bindings at PT when building menu (the menu is not updated often | |
24808 | enough for this to work reliable). | |
24809 | (tool_bar_items): Likewise. | |
24810 | (current_active_maps): Removed unused (and buggy) function. | |
24811 | ||
24812 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24813 | ||
24814 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
24815 | ||
24816 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
24817 | ||
24818 | * floatfns.c (Fatan): Accept an optional second arg and call | |
24819 | atan2 if passed 2 args. | |
24820 | ||
24821 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
24822 | ||
24823 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
24824 | ||
24825 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
24826 | ||
24827 | * w32term.c (x_autoselect_window_p): New variable. | |
24828 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
24829 | (note_mouse_movement): Use it. | |
24830 | ||
24831 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
24832 | ||
24833 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
24834 | ||
24835 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
24836 | New variables. | |
24837 | (syms_of_w32fns): Intern and staticpro them. | |
24838 | (x_frame_parms) <"fullscreen">: New parameter. | |
24839 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
24840 | (x_set_frame_parameters): Support Qfullscreen. | |
24841 | (x_real_positions): Save x/y_pixels_diff frame params. | |
24842 | (x_figure_window_size): Support full-screen frames. | |
24843 | (Fx_create_frame): Default the fullscreen parameter. | |
24844 | ||
24845 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
24846 | (x_fullscreen_adjust): New functions. | |
5e1a6e32 | 24847 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to |
048addec JD |
24848 | fullscreen. Call x_check_fullscreen_move, and set the |
24849 | want_fullscreen member of output_data.w32 | |
24850 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
24851 | ||
24852 | * w32term.h: New enum for FULLSCREEN_* constants. | |
24853 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
24854 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
24855 | (x-fullscreen-adjust): New prototype. | |
24856 | ||
24857 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
24858 | ||
52eb0373 | 24859 | * frame.c (Vmouse_highlight): New variable. |
048addec JD |
24860 | (syms_of_frame): DEFVAR_LISP it. |
24861 | ||
52eb0373 | 24862 | * frame.h (Vmouse_highlight): Declare extern. |
8a8e19a3 | 24863 | |
048addec | 24864 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 24865 | |
048addec JD |
24866 | * xterm.c (disable_mouse_highlight): Removed variable. |
24867 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 24868 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
24869 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, |
24870 | and on after keyboard input. | |
24871 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 24872 | |
048addec | 24873 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 24874 | |
048addec | 24875 | * msdos.c (disable_mouse_highlight): Removed variable. |
5e1a6e32 | 24876 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
24877 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. |
24878 | (internal_terminal_init): Initialize mouse_face_hidden. | |
24879 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
24880 | and on after keyboard input. | |
4f1b1854 | 24881 | |
048addec | 24882 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 24883 | |
048addec JD |
24884 | * w32term.c (disable_mouse_highlight): Removed variable. |
24885 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 24886 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
24887 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, |
24888 | and on after keyboard input. | |
24889 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 24890 | |
048addec | 24891 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 24892 | |
048addec JD |
24893 | * msdos.c (last_mouse_window): New variable. |
24894 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
24895 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 24896 | |
048addec | 24897 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 24898 | |
048addec JD |
24899 | * msdos.c (x_autoselect_window_p): New variable. |
24900 | (syms_of_msdos): Defvar it. | |
24901 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
24902 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 24903 | |
048addec JD |
24904 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
24905 | New variables. | |
24906 | (syms_of_xdisp): DEVFAR them. | |
24907 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
24908 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 24909 | |
048addec | 24910 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 24911 | |
048addec JD |
24912 | * xterm.c (x-autoselect-window): New variable. |
24913 | (note_mouse_movement): Use it. | |
9f696a00 | 24914 | |
048addec | 24915 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 24916 | |
048addec | 24917 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 24918 | |
bfa02563 | 24919 | * puresize.h (PURESIZE_RATIO): Increase to 9/5. |
d57966d7 | 24920 | |
048addec | 24921 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 24922 | |
048addec | 24923 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 24924 | |
048addec | 24925 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 24926 | |
048addec JD |
24927 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
24928 | (Vx_super_keysym): New variables. | |
24929 | (syms_of_xterm): DEFVAR_LISP them. | |
24930 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
24931 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 24932 | |
048addec | 24933 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 24934 | |
9dd28cae | 24935 | * window.c (Vmode_line_in_non_selected_windows): Removed. |
048addec JD |
24936 | (mode_line_in_non_selected_windows): New variable. |
24937 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 24938 | |
048addec JD |
24939 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
24940 | Use mode_line_in_non_selected_windows. | |
24941 | (mode_line_in_non_selected_windows): Declare extern. | |
24942 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 24943 | |
048addec | 24944 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 24945 | |
048addec JD |
24946 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
24947 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
24948 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 24949 | |
048addec JD |
24950 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
24951 | (update_face_from_frame_parameter): Increment face_change_count | |
24952 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 24953 | |
048addec JD |
24954 | * xdisp.c (QCpropertize): New variable. |
24955 | (mode_line_proptrans_alist): New variable. | |
24956 | (display_mode_element): New arg PROPS; all calls changed. | |
24957 | Implement this, for strings. | |
24958 | Handle literal output of strings by sharing the | |
24959 | main-line code for strings, using local var `literal'. | |
24960 | Handle :propertize feature. | |
24961 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
24962 | mode_line_proptrans_alist. | |
0b1e6b54 | 24963 | |
048addec | 24964 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 24965 | |
9dd28cae | 24966 | * window.c (Vmode_line_in_non_selected_windows): New variable. |
048addec | 24967 | (syms_of_window): DEFVAR_LISP it. |
7f2cddf3 | 24968 | |
048addec JD |
24969 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
24970 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
24971 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 24972 | |
048addec JD |
24973 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
24974 | to get mode line face. | |
e17144de | 24975 | |
048addec | 24976 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 24977 | |
048addec JD |
24978 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
24979 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 24980 | |
048addec | 24981 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 24982 | |
048addec JD |
24983 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
24984 | reduction. This fixes a display problem where stray newlines were | |
24985 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 24986 | |
048addec | 24987 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 24988 | |
048addec | 24989 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 24990 | |
048addec | 24991 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 24992 | |
048addec | 24993 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 24994 | |
048addec JD |
24995 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
24996 | match each other. | |
24997 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
24998 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 24999 | |
048addec | 25000 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 25001 | |
048addec JD |
25002 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
25003 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
25004 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 25005 | |
048addec JD |
25006 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
25007 | (pos_visible_p, handle_face_prop): Likewise. | |
25008 | (display_mode_lines): Likewise, but for the real selected window. | |
25009 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 25010 | |
048addec JD |
25011 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
25012 | in non-selected windows. | |
25013 | (realize_basic_faces): Realize it. | |
25014 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 25015 | |
048addec | 25016 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 25017 | |
048addec JD |
25018 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
25019 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 25020 | |
048addec | 25021 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 25022 | |
048addec JD |
25023 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
25024 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 25025 | |
048addec | 25026 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 25027 | |
048addec | 25028 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 25029 | |
048addec | 25030 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 25031 | |
048addec | 25032 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 25033 | |
048addec | 25034 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 25035 | |
048addec | 25036 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 25037 | |
048addec JD |
25038 | * keymap.c (where_is_internal): Only check whether definition is |
25039 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 25040 | |
048addec | 25041 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 25042 | |
048addec | 25043 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 25044 | |
048addec | 25045 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 25046 | |
048addec | 25047 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 25048 | |
048addec JD |
25049 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
25050 | defining command remapping. Doc updated. | |
25051 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
25052 | (is_command_symbol): New function. | |
25053 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
25054 | Doc updated. Callers changed. Perform command remapping via | |
25055 | recursive call unless that arg is non-nil. | |
25056 | (where_is_internal): New argument no_remap. Callers changed. | |
25057 | Call recursively to find original key bindings for a remapped | |
25058 | comand unless that arg is non-nil. | |
25059 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
25060 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 25061 | |
048addec | 25062 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
3419757d | 25063 | (is_command_symbol): Add prototype. |
0d8466cc | 25064 | |
048addec JD |
25065 | * keyboard.c (Vthis_original_command): New variable. |
25066 | (syms_of_keyboard): DEFVAR_LISP it. | |
25067 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 25068 | |
048addec | 25069 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 25070 | |
048addec | 25071 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 25072 | |
048addec | 25073 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 25074 | |
048addec | 25075 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 25076 | |
048addec | 25077 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 25078 | |
048addec | 25079 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 25080 | |
048addec | 25081 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 25082 | |
048addec | 25083 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 25084 | |
048addec | 25085 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 25086 | |
048addec | 25087 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 25088 | |
048addec JD |
25089 | * lread.c (read1): Redesign strategy for force_multibyte and |
25090 | force_singlebyte. Now is_multibyte records whether read_buffer | |
25091 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 25092 | |
048addec | 25093 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 25094 | |
048addec JD |
25095 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
25096 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 25097 | |
048addec | 25098 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 25099 | |
048addec JD |
25100 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
25101 | latter never being defined on GNU/Linux. | |
749f499f | 25102 | |
048addec | 25103 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 25104 | |
048addec JD |
25105 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
25106 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 25107 | |
048addec | 25108 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 25109 | |
048addec JD |
25110 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
25111 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 25112 | |
048addec JD |
25113 | * eval.c (Fsignal): Remove duplicated declaration of |
25114 | the variable `display_hourglass_p'. | |
b4c45162 | 25115 | |
048addec | 25116 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 25117 | |
048addec | 25118 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 25119 | |
048addec JD |
25120 | * coding.c (decode_composition_emacs_mule): |
25121 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 25122 | |
048addec JD |
25123 | * callint.c (check_mark): New arg to specify clearer error message. |
25124 | Callers changed. | |
c95eaa61 | 25125 | |
048addec | 25126 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 25127 | |
048addec | 25128 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 25129 | |
048addec | 25130 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 25131 | |
048addec JD |
25132 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
25133 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
25134 | Fix doc-strings. | |
c95eaa61 | 25135 | |
048addec | 25136 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 25137 | |
048addec | 25138 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 25139 | |
048addec JD |
25140 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
25141 | and scroll_up_aggressively. | |
c95eaa61 | 25142 | |
048addec | 25143 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 25144 | |
048addec | 25145 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 25146 | |
048addec | 25147 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 25148 | |
048addec JD |
25149 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
25150 | (Fprevious_property_change, Fprevious_single_property_change): | |
25151 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 25152 | |
048addec | 25153 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 25154 | |
048addec JD |
25155 | * term.c (Ftty_display_color_cells): New function. |
25156 | (syms_of_term): Defsubr it. | |
25157 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
25158 | argument name to DISPLAY. Doc fix. | |
bf794306 | 25159 | |
048addec JD |
25160 | * dispextern.h: Add prototype for set_tty_color_mode and |
25161 | tty_setup_colors. | |
bf794306 | 25162 | |
048addec | 25163 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 25164 | |
048addec JD |
25165 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
25166 | If region left to draw is not what was expected, mark the frame as | |
25167 | garbaged. | |
62582985 | 25168 | |
048addec JD |
25169 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
25170 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 25171 | |
048addec | 25172 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 25173 | |
048addec JD |
25174 | * w32term.c (x_update_window_begin): Only hide caret if |
25175 | w32_use_visible_system_caret is set. | |
25176 | (x_update_window_end): Only show caret if | |
25177 | w32_use_visible_system_caret is set. | |
25178 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 25179 | |
048addec | 25180 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 25181 | |
048addec | 25182 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 25183 | |
048addec JD |
25184 | * unexelf.c (unexec): Define n so as to cause compilation error |
25185 | for the code where people have often written n instead of nn. | |
1e9a6186 | 25186 | |
048addec | 25187 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 25188 | |
048addec | 25189 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 25190 | |
048addec | 25191 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 25192 | |
048addec | 25193 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 25194 | |
048addec JD |
25195 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
25196 | if fullscreen is being set. | |
7c75be36 | 25197 | |
048addec | 25198 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 25199 | |
048addec JD |
25200 | * minibuf.c (Fminibuffer_contents) |
25201 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
25202 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 25203 | |
048addec | 25204 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 25205 | |
048addec | 25206 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 25207 | |
048addec | 25208 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 25209 | |
048addec JD |
25210 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
25211 | height before comparison. | |
25212 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 25213 | |
048addec | 25214 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 25215 | |
048addec JD |
25216 | * w32term.c (w32_system_caret_width): Remove. |
25217 | (w32_use_visible_system_caret): New user flag. | |
25218 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
25219 | Windows reports a screen reader running. | |
25220 | (x_update_window_begin): Hide the system caret. | |
25221 | (x_update_window_end): Show the system caret. | |
25222 | (x_display_and_set_cursor): Don't draw a cursor when | |
25223 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 25224 | |
048addec JD |
25225 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
25226 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
25227 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
25228 | the user requests it. Use system default width when creating. | |
25229 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 25230 | |
048addec JD |
25231 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
25232 | New window messages. | |
905cc05a | 25233 | |
048addec | 25234 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 25235 | |
048addec | 25236 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 25237 | |
048addec | 25238 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 25239 | |
048addec | 25240 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 25241 | |
048addec | 25242 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 25243 | |
048addec | 25244 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 25245 | |
048addec | 25246 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 25247 | |
048addec JD |
25248 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
25249 | that Windows returns. If a double check fails, try to guess how | |
25250 | ExtTextOut is going to act. | |
4d0fa4f3 | 25251 | |
048addec JD |
25252 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
25253 | in place of stricmp. | |
25254 | (w32_list_synthesized_fonts): Removed. | |
25255 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
25256 | (struct enumfont_t): New element; list. | |
25257 | (enum_font_cb2): List all style and charset variations of a font. | |
25258 | (Fw32_select_font): New optional argument; include_proportional. | |
25259 | Exclude vertical fonts. Exclude proportional fonts unless | |
25260 | include_proportional is non-nil. | |
25261 | (w32_enable_synthesized_fonts): Change to a boolean. | |
25262 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 25263 | |
048addec | 25264 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 25265 | |
048addec JD |
25266 | * dispnew.c (update_frame): Move the variable `tem' to the block |
25267 | where it is used. | |
4971e491 | 25268 | |
048addec | 25269 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 25270 | |
048addec JD |
25271 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
25272 | call to face-set-after-frame-default. | |
4971e491 | 25273 | |
048addec | 25274 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 25275 | |
048addec JD |
25276 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
25277 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 25278 | |
048addec | 25279 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 25280 | |
048addec JD |
25281 | * window.c (enlarge_window): When exceeding size of parent, |
25282 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 25283 | |
048addec | 25284 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 25285 | |
048addec | 25286 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 25287 | |
048addec | 25288 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 25289 | |
048addec | 25290 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 25291 | |
048addec | 25292 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 25293 | |
048addec JD |
25294 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
25295 | is invisible. This can happen if cursor is on top line of a | |
25296 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 25297 | |
048addec | 25298 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 25299 | |
048addec | 25300 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 25301 | |
048addec JD |
25302 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
25303 | `dont_resize' only when used. | |
61e3b944 | 25304 | |
048addec | 25305 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 25306 | |
048addec | 25307 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 25308 | |
048addec JD |
25309 | * xdisp.c (display_mode_element): When computing charpos, depend |
25310 | on multibyteness of elt, not the text in field. | |
8af01033 | 25311 | |
048addec | 25312 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 25313 | |
048addec JD |
25314 | * buffer.c (Fkill_all_local_variables): |
25315 | Increment `update_mode_lines' only once. | |
7363986a | 25316 | |
048addec | 25317 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 25318 | |
048addec JD |
25319 | * lisp.h (adjust_after_replace_noundo) |
25320 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 25321 | |
048addec | 25322 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 25323 | |
048addec | 25324 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 25325 | |
048addec JD |
25326 | Support for the --color command-line argument and tty-color-mode |
25327 | frame parameter: | |
f1a85b89 | 25328 | |
048addec JD |
25329 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
25330 | (set_tty_color_mode): New functions. | |
25331 | (term_init): Call tty_default_color_capabilities. | |
25332 | (Qtty_color_mode_alist): New variable. | |
25333 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 25334 | |
048addec JD |
25335 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
25336 | frames. | |
25337 | (do_switch_frame): For termcap frames, switch the tty | |
25338 | color mode as specified by the frame's parameters. | |
25339 | (Qtty_color_mode): New variable. | |
25340 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 25341 | |
048addec JD |
25342 | * emacs.c (USAGE2): Add the --color option. |
25343 | (standard_args): Ditto. | |
72244db2 | 25344 | |
048addec JD |
25345 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
25346 | ||
25347 | * xterm.h (struct x_output): New members want_fullscreen, | |
25348 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
25349 | y_pixels_outer_diff. | |
25350 | New enum for FULLSCREEN_* constants. | |
25351 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
25352 | is NULL. | |
25353 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 25354 | |
048addec JD |
25355 | * emacs.c (USAGE2): Add the new full-screen arguments. |
25356 | (standard_args): Ditto. | |
3a62677f | 25357 | |
048addec JD |
25358 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
25359 | New variables. | |
25360 | (syms_of_xfns): Intern and staticpro them. | |
25361 | (x_frame_parms) <"fullscreen">: New parameter. | |
25362 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
25363 | (x_set_frame_parameters): Support for Qfullscreen. | |
25364 | (x_real_positions): More accurate computation of the frame position. | |
25365 | (x_figure_window_size): Support full-screen frames. | |
25366 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 25367 | |
048addec JD |
25368 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
25369 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
25370 | <ConfigureNotify>: Don't resize to fullscreen. | |
25371 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
25372 | output_data.x. | |
3a62677f | 25373 | |
048addec | 25374 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 25375 | |
048addec JD |
25376 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
25377 | for mice with more than 3 buttons. | |
b8523839 | 25378 | |
048addec JD |
25379 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
25380 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 25381 | |
048addec JD |
25382 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
25383 | (syms_of_w32fns): DEFVAR_BOOL it. | |
25384 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 25385 | |
048addec | 25386 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 25387 | |
048addec | 25388 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 25389 | |
048addec | 25390 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 25391 | |
048addec | 25392 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 25393 | |
048addec | 25394 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 25395 | |
048addec JD |
25396 | * .gdbinit (xbuffer): Remove address operator since data is now a |
25397 | pointer. | |
c93674bb | 25398 | |
048addec | 25399 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 25400 | |
048addec | 25401 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 25402 | |
048addec | 25403 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 25404 | |
048addec | 25405 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 25406 | |
048addec JD |
25407 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
25408 | when checking for multiple frames. | |
91175673 | 25409 | |
048addec | 25410 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 25411 | |
048addec JD |
25412 | * window.c (delete_window): Rewrite the code for changing the |
25413 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 25414 | |
048addec | 25415 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 25416 | |
048addec JD |
25417 | * process.c (send_process): Set src_multibyte to 1 after the call |
25418 | top setup_coding_system, not before the call. | |
e0fead5d | 25419 | |
048addec | 25420 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 25421 | |
048addec | 25422 | * xmenu.c (set_frame_menubar, xmenu_show): |
5e1a6e32 | 25423 | (xdialog_show): Initialize wv->help to Qnil. |
c186cdb3 | 25424 | |
048addec JD |
25425 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
25426 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 25427 | |
048addec | 25428 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 25429 | |
048addec | 25430 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 25431 | |
048addec | 25432 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 25433 | |
048addec | 25434 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 25435 | |
048addec | 25436 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 25437 | |
048addec JD |
25438 | * insdel.c (make_gap_larger): Make sure buffer size does not |
25439 | overflow range of int. | |
62854fe2 | 25440 | |
048addec | 25441 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 25442 | |
048addec JD |
25443 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
25444 | OVERLAPS_P. | |
656f46bb | 25445 | |
048addec | 25446 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 25447 | |
048addec JD |
25448 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
25449 | to the left or to the right of the pointer, put it against | |
25450 | the left screen edge. | |
25451 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 25452 | |
048addec JD |
25453 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
25454 | background color if it doesn't have a Pixmap. | |
25455 | (notice_overwritten_cursor): Don't depend on | |
25456 | output_cursor and updated_area. Compare pixel coordinates with | |
25457 | window's cursor pixel coordinates. | |
25458 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
25459 | Call notice_overwritten_cursor with new arg list. | |
25460 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
25461 | unconditionally. | |
25462 | (x_draw_image_relief): Use predefined macro instead of | |
25463 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 25464 | |
048addec | 25465 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 25466 | |
048addec | 25467 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 25468 | |
048addec | 25469 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 25470 | |
048addec | 25471 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 25472 | |
048addec JD |
25473 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
25474 | (Fkey_binding): Try the `keymap' property map first. | |
25475 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
25476 | minor mode bindings. | |
90647b07 | 25477 | |
048addec | 25478 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 25479 | |
3419757d | 25480 | * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. |
ace9b298 | 25481 | |
048addec | 25482 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 25483 | |
048addec JD |
25484 | * keyboard.c (read_key_sequence): Handle the keymap property |
25485 | before minor mode maps. | |
9fbc32aa | 25486 | |
048addec JD |
25487 | * editfns.c (Fformat): Update thissize from field_width |
25488 | based on the actual width, in the string case. | |
036e218d | 25489 | |
048addec | 25490 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 25491 | |
048addec JD |
25492 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
25493 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 25494 | |
048addec JD |
25495 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
25496 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 25497 | |
048addec | 25498 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 25499 | |
048addec JD |
25500 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
25501 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
25502 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 25503 | |
048addec | 25504 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 25505 | |
048addec JD |
25506 | * print.c (print_object): Test print_escape_nonascii only for |
25507 | unibyte strings. | |
25508 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
25509 | when outputting to a multibyte buffer. | |
9fbc32aa | 25510 | |
048addec | 25511 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 25512 | |
048addec JD |
25513 | * print.c (print_object): In multibyte string, use hex escapes. |
25514 | Use octal only for unibyte strings. | |
25515 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 25516 | |
048addec JD |
25517 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
25518 | escape forces unibyte or multibyte. | |
25519 | (read1): When reading a string, take note of that info. | |
0142178a | 25520 | |
048addec | 25521 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 25522 | |
048addec JD |
25523 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
25524 | comparison to test lisp value returned by Fget. | |
d4824a5d | 25525 | |
048addec | 25526 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 25527 | |
048addec | 25528 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 25529 | |
048addec | 25530 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 25531 | |
048addec JD |
25532 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
25533 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 25534 | |
048addec | 25535 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 25536 | |
048addec JD |
25537 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
25538 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
25539 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
25540 | Update calls to Fdefine_abbrev. | |
25541 | (write_abbrev): Update for changed data format. | |
25542 | Don't list "system" abbrevs. | |
25543 | (Fexpand_abbrev): Update use count with new data format. | |
25544 | (describe_abbrev): Update for changed data format. | |
25545 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 25546 | |
048addec | 25547 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 25548 | |
048addec | 25549 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 25550 | |
048addec JD |
25551 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
25552 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 25553 | |
048addec JD |
25554 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
25555 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
25556 | (exclude_key): New variable. | |
59a86c99 | 25557 | |
048addec | 25558 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 25559 | |
048addec JD |
25560 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
25561 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 25562 | |
048addec JD |
25563 | * xterm.c (notice_overwritten_cursor): Don't depend on |
25564 | output_cursor and updated_area. Compare pixel coordinates with | |
25565 | window's cursor pixel coordinates. | |
25566 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
25567 | Call notice_overwritten_cursor with new arg list. | |
25568 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
25569 | unconditionally. | |
eb77a5f4 | 25570 | |
048addec JD |
25571 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
25572 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 25573 | |
048addec | 25574 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 25575 | |
048addec JD |
25576 | * intervals.c (set_point_both): The position after an invisible, |
25577 | intangible character is not an acceptable stopping point. | |
bb313871 | 25578 | |
048addec | 25579 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 25580 | |
048addec JD |
25581 | * window.c (enlarge_window): In new preserve_before code, convert |
25582 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 25583 | |
048addec | 25584 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 25585 | |
048addec | 25586 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 25587 | |
048addec | 25588 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 25589 | |
048addec JD |
25590 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
25591 | separated by mouse-movement. When tracking mouse, only record | |
25592 | first and last mouse-movement event in same window. | |
25593 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 25594 | |
048addec | 25595 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 25596 | |
048addec JD |
25597 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
25598 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 25599 | |
048addec JD |
25600 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
25601 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 25602 | |
048addec | 25603 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 25604 | |
048addec | 25605 | The following changes remove mocklisp support: |
9fabb2f5 | 25606 | |
048addec | 25607 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 25608 | |
048addec JD |
25609 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
25610 | `Qmocklisp' and `Qmocklisp_arguments'. | |
25611 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 25612 | |
048addec | 25613 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 25614 | |
048addec JD |
25615 | * callint.c: Do not include mocklisp.h. |
25616 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 25617 | |
048addec JD |
25618 | * eval.c: Remove variables `Qmocklisp_arguments', |
25619 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
25620 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
25621 | Do not test for mocklisp case. | |
25622 | (Fwhile): Remove unused variable `tem'. | |
25623 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 25624 | |
048addec | 25625 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 25626 | |
048addec | 25627 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 25628 | |
048addec | 25629 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 25630 | |
048addec | 25631 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 25632 | |
048addec JD |
25633 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
25634 | to the left or to the right of the pointer, put it against | |
25635 | the left screen edge. | |
6108b49c | 25636 | |
048addec | 25637 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 25638 | |
048addec JD |
25639 | * Makefile.in (distclean): Remove .gdbinit if we are building |
25640 | outside the source tree. | |
5eea19a4 | 25641 | |
048addec | 25642 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 25643 | |
048addec | 25644 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 25645 | |
048addec | 25646 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 25647 | |
048addec JD |
25648 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
25649 | of the current drive as the fallback for default_directory. | |
438e57dd | 25650 | |
048addec JD |
25651 | * dired.c (file_name_completion): Run the elements of |
25652 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 25653 | |
048addec JD |
25654 | * lisp.h (scmp): Remove prototype, since it's now a static |
25655 | function private to dired.c. | |
c88e5347 | 25656 | |
048addec | 25657 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 25658 | |
048addec JD |
25659 | * dired.c (scmp): Function moved from minibuf.c. |
25660 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 25661 | |
048addec | 25662 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 25663 | |
048addec | 25664 | * fns.c (merge): Add QUIT call. |
59ce1461 | 25665 | |
048addec | 25666 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 25667 | |
048addec JD |
25668 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
25669 | language/georgian.el. | |
8727d588 | 25670 | |
048addec | 25671 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 25672 | |
048addec JD |
25673 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
25674 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 25675 | |
048addec | 25676 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 25677 | |
048addec JD |
25678 | * xdisp.c (window_box_height): Do not return negative values. |
25679 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 25680 | |
048addec | 25681 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 25682 | |
048addec | 25683 | * term.c (keys): Likewise. |
deece6f5 | 25684 | |
048addec | 25685 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 25686 | |
048addec | 25687 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 25688 | |
048addec JD |
25689 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
25690 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 25691 | |
048addec | 25692 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 25693 | |
048addec | 25694 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 25695 | |
048addec JD |
25696 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
25697 | before calling decode_coding. | |
9b46de40 | 25698 | |
048addec | 25699 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 25700 | |
048addec JD |
25701 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
25702 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 25703 | |
048addec | 25704 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 25705 | |
048addec | 25706 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 25707 | |
048addec | 25708 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 25709 | |
048addec JD |
25710 | * buffer.h (struct buffer): New field `display_error_modiff'. |
25711 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 25712 | |
048addec | 25713 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 25714 | |
048addec JD |
25715 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
25716 | Call redisplay_window, but not if display_error_modiff field says no. | |
25717 | (redisplay_window_error): New function. | |
25718 | (displayed_buffer): New variable. | |
25719 | (redisplay_internal, redisplay_windows): Call the new functions | |
25720 | instead of redisplay_window directly. | |
2cd23960 | 25721 | |
048addec | 25722 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 25723 | |
048addec | 25724 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 25725 | |
048addec | 25726 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 25727 | |
048addec | 25728 | * makefile.w32-in (EMACSLOADPATH): Define. |
f9711de4 | 25729 | ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. |
048addec | 25730 | (bootstrap-temacs): Remove dependency on bootstrap-clean. |
a4184c1c | 25731 | |
048addec | 25732 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 25733 | |
048addec JD |
25734 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
25735 | parameter have a numeric value all the time. | |
f6fa0866 | 25736 | |
048addec | 25737 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 25738 | |
048addec | 25739 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 25740 | |
048addec | 25741 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 25742 | |
048addec JD |
25743 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
25744 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 25745 | |
048addec | 25746 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 25747 | |
048addec JD |
25748 | * xdisp.c (move_it_vertically_backward): Change heuristic |
25749 | for the case that we didn't move far enough initially. | |
91c153e2 | 25750 | |
048addec JD |
25751 | * window.c (Frecenter): Simplify computation in the case of window |
25752 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 25753 | |
048addec | 25754 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 25755 | |
048addec JD |
25756 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
25757 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 25758 | |
048addec | 25759 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 25760 | |
048addec JD |
25761 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
25762 | arg is negative. | |
be676094 | 25763 | |
048addec | 25764 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 25765 | |
048addec JD |
25766 | * m/hp800.h: Split the __hpux conditional into the parts |
25767 | that are right for GNU/Linux too and the parts that are not. | |
25768 | Use the former if GNU_LINUX. | |
25769 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 25770 | |
048addec | 25771 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 25772 | |
048addec | 25773 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 25774 | |
048addec JD |
25775 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
25776 | `new style' [w/`doc:' keyword]. | |
032a857d | 25777 | |
048addec | 25778 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 25779 | |
048addec JD |
25780 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
25781 | before using. | |
b6270150 | 25782 | |
048addec | 25783 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 25784 | |
048addec JD |
25785 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
25786 | keyword]. | |
98cbb9fa | 25787 | |
048addec | 25788 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 25789 | |
048addec | 25790 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 25791 | |
048addec | 25792 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 25793 | |
048addec | 25794 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 25795 | |
048addec | 25796 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
78819ebb | 25797 | Add comment to explain where the struct came from. |
048addec JD |
25798 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
25799 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
25800 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
25801 | Lisp_Object. | |
25802 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 25803 | |
048addec | 25804 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 25805 | |
048addec | 25806 | * COPYING: Moved back. |
fa336b91 | 25807 | |
048addec JD |
25808 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
25809 | Add parentheses around && within ||. | |
077907d4 | 25810 | |
048addec | 25811 | * indent.c (compute_motion): Likewise. |
aa2af83a | 25812 | |
048addec | 25813 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 25814 | |
048addec JD |
25815 | * coding.c (setup_coding_system, shrink_encoding_region) |
25816 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 25817 | |
048addec | 25818 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 25819 | |
048addec JD |
25820 | * xdisp.c (display_mode_element): Don't read past end of string if |
25821 | it ends with '%'. | |
60a653f1 | 25822 | |
048addec JD |
25823 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
25824 | can hold. | |
60a653f1 | 25825 | |
048addec JD |
25826 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
25827 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
25828 | type changed to Lisp_Object. | |
25829 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 25830 | |
048addec | 25831 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 25832 | |
048addec JD |
25833 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
25834 | location whenever Emacs was run uninstalled. | |
60a653f1 | 25835 | |
048addec | 25836 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 25837 | |
048addec JD |
25838 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
25839 | * process.c (create_process): | |
25840 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
25841 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
25842 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
25843 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
25844 | * m/intel386.h (HAVE_VFORK): Likewise. | |
25845 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
25846 | * m/mips.h (HAVE_VFORK): Likewise. | |
25847 | * s/freebsd.h (vfork): Remove #define. | |
25848 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
25849 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 25850 | |
048addec | 25851 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 25852 | |
048addec JD |
25853 | * s/hpux10.h (random): Add undef. |
25854 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 25855 | |
048addec | 25856 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 25857 | |
048addec | 25858 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 25859 | |
048addec | 25860 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 25861 | |
048addec JD |
25862 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
25863 | scroll bars of the frame before deleting the frame itself. If the | |
25864 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
25865 | not call XDestroyWindow before that. | |
60a653f1 | 25866 | |
048addec | 25867 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 25868 | |
048addec | 25869 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 25870 | |
048addec | 25871 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 25872 | |
048addec | 25873 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 25874 | |
048addec JD |
25875 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
25876 | excessively large. | |
60a653f1 | 25877 | |
048addec JD |
25878 | * insdel.c (make_gap_larger): New function. |
25879 | (make_gap_smaller): New function. | |
25880 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
25881 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 25882 | |
048addec | 25883 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 25884 | |
048addec JD |
25885 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
25886 | Pass a dummy argument when calling interrupt_signal. | |
25887 | (parse_menu_item): Mark disabled items before checking for empty def. | |
25888 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
25889 | (read_key_sequence): Add a `first_unbound' variable. | |
25890 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
25891 | unbound prefix as soon as we can detect it. | |
60a653f1 | 25892 | |
048addec JD |
25893 | * doc.c (Fsnarf_documentation): Add prototype. |
25894 | (get_doc_string): Handle negative arguments. | |
25895 | (Fdocumentation): Use AREF and ASIZE. | |
25896 | Move the calls to get_doc_string to a single place. | |
25897 | Don't confuse an interactive-spec for a docstring reference. | |
25898 | (Fdocumentation_property): Take advantage of the fact that | |
25899 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 25900 | |
048addec | 25901 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 25902 | |
048addec | 25903 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 25904 | |
a64387ee | 25905 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. |
60a653f1 | 25906 | |
048addec | 25907 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 25908 | |
048addec JD |
25909 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
25910 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 25911 | |
048addec | 25912 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 25913 | |
048addec JD |
25914 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
25915 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 25916 | |
048addec | 25917 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 25918 | |
048addec | 25919 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 25920 | |
048addec | 25921 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 25922 | |
048addec | 25923 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 25924 | |
048addec | 25925 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 25926 | |
048addec | 25927 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 25928 | |
f63fd14e | 25929 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 25930 | |
048addec JD |
25931 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
25932 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 25933 | |
048addec JD |
25934 | * w32menu.c (current_popup_menu, get_menu_item_info): |
25935 | (set_menu_item_info): New vars. | |
25936 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
25937 | (w32_menu_show): Set current_popup_menu. | |
25938 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
25939 | and help strings. | |
25940 | Use owner-draw for disabled menu items again. | |
25941 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
25942 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 25943 | |
048addec JD |
25944 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
25945 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
25946 | <WM_EXITMENULOOP>: Free menu strings. | |
25947 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
25948 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 25949 | |
048addec JD |
25950 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
25951 | and mouse face. | |
60a653f1 | 25952 | |
048addec | 25953 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 25954 | |
048addec JD |
25955 | The following changes add left-fringe and right-fringe |
25956 | frame parameters to adjust fringe widths, or remove one or | |
25957 | both fringes. | |
60a653f1 | 25958 | |
048addec JD |
25959 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
25960 | trunc_area_cols fields. | |
25961 | (Qleft_fringe, Qright_fringe): Declare. | |
25962 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 25963 | |
048addec JD |
25964 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
25965 | (syms_of_frame): Initialize them. | |
60a653f1 | 25966 | |
048addec JD |
25967 | * window.c (coordinates_in_window): Handle separate left and right |
25968 | fringe widths. | |
60a653f1 | 25969 | |
048addec JD |
25970 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
25971 | and fringe_cols fields. | |
25972 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
25973 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
25974 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
25975 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
25976 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
25977 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 25978 | |
048addec JD |
25979 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
25980 | fill fringe evenly with small dashes. | |
f63fd14e | 25981 | (x_draw_fringe_bitmap): Clear background if necessary. Align and |
048addec JD |
25982 | clip the new ZV bitmap to avoid jitter between rows. |
25983 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
25984 | background. Don't draw fringe bitmaps if fringe width is zero. | |
25985 | (x_compute_fringe_widths): New function. | |
25986 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 25987 | |
048addec JD |
25988 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
25989 | (x_set_frame_parameters): Process `font' parameter before other | |
25990 | parameters as fringe widths depend on it. | |
25991 | (x_set_fringe_width): New function. | |
25992 | (x_figure_window_size): Use x_compute_fringe_widths. | |
25993 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
25994 | parameters. | |
60a653f1 | 25995 | |
048addec JD |
25996 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
25997 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 25998 | |
048addec JD |
25999 | * w32term.h: Merged changes from xterm.h. |
26000 | * w32term.c: Merged changes from xterm.c. | |
26001 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 26002 | |
048addec | 26003 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26004 | |
048addec | 26005 | * COPYING: Removed. |
60a653f1 | 26006 | |
048addec | 26007 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 26008 | |
048addec JD |
26009 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
26010 | extra extra slot. | |
26011 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 26012 | |
048addec | 26013 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26014 | |
048addec JD |
26015 | * fileio.c (file-name-coding-system) |
26016 | (default-file-name-coding-system): Doc fix (links to referenced | |
26017 | variables added). | |
60a653f1 | 26018 | |
048addec | 26019 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26020 | |
048addec JD |
26021 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
26022 | Add dummy uses of gcproN variables. | |
60a653f1 | 26023 | |
048addec JD |
26024 | * category.c (describe_category, describe_category_1) |
26025 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
26026 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 26027 | |
048addec | 26028 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26029 | |
048addec | 26030 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 26031 | |
048addec JD |
26032 | * Makefile.in (lispdir): New variable, referring to build dir. |
26033 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 26034 | |
048addec | 26035 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 26036 | |
048addec JD |
26037 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
26038 | OWNER. | |
60a653f1 | 26039 | |
048addec | 26040 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 26041 | |
048addec JD |
26042 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
26043 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
26044 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
26045 | conditionally. | |
f63fd14e | 26046 | (w32_menu_display_help): New argument OWNER. Rewritten to store a |
048addec | 26047 | help event in the owner frame's keyboard buffer. |
60a653f1 | 26048 | |
048addec JD |
26049 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
26050 | (Fx_show_tip): Don't subtract last width from row width. | |
26051 | ||
26052 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
26053 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 26054 | |
048addec | 26055 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 26056 | |
048addec JD |
26057 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
26058 | OVERLAPS_P. | |
60a653f1 | 26059 | |
048addec | 26060 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26061 | |
048addec JD |
26062 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
26063 | `gcpro3' and `gcpro4'. | |
60a653f1 | 26064 | |
048addec | 26065 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 26066 | |
048addec | 26067 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26068 | |
048addec | 26069 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 26070 | |
048addec | 26071 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26072 | |
048addec JD |
26073 | * lisp.h (run_hook_list_with_args): Remove. |
26074 | (LIST_END_P): Fix call to wrong_type_argument. | |
26075 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 26076 | |
048addec | 26077 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26078 | |
048addec JD |
26079 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
26080 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 26081 | |
048addec JD |
26082 | * eval.c: Use AREF and ASIZE. |
26083 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 26084 | |
048addec JD |
26085 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
26086 | which match the end of the file-name. | |
26087 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
26088 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 26089 | |
048addec JD |
26090 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
26091 | Make nil bindings in char-tables transparent. | |
26092 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 26093 | |
048addec | 26094 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26095 | |
048addec JD |
26096 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
26097 | Do nothing if range is empty. | |
60a653f1 | 26098 | |
048addec | 26099 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 26100 | |
048addec JD |
26101 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
26102 | (clean): Not here. | |
60a653f1 | 26103 | |
048addec | 26104 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26105 | |
048addec JD |
26106 | * textprop.c (set_text_properties_1): Clearly mark that the |
26107 | interval should not be empty. | |
60a653f1 | 26108 | |
048addec JD |
26109 | * intervals.c (graft_intervals_into_buffer): |
26110 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 26111 | |
048addec | 26112 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26113 | |
048addec | 26114 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 26115 | |
048addec JD |
26116 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
26117 | don't lose the data in it. | |
60a653f1 | 26118 | |
048addec | 26119 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 26120 | |
048addec | 26121 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 26122 | |
c62aec78 | 26123 | * buffer.c (Fkill_buffer): Likewise. |
60a653f1 | 26124 | |
c62aec78 | 26125 | * print.c (temp_output_buffer_setup): Likewise. |
60a653f1 | 26126 | |
048addec | 26127 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26128 | |
048addec | 26129 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 26130 | |
048addec | 26131 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 26132 | |
048addec JD |
26133 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
26134 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 26135 | |
048addec | 26136 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 26137 | |
048addec | 26138 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 26139 | |
048addec JD |
26140 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
26141 | (Fx_show_tip): Block input during frame creation. | |
26142 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 26143 | |
048addec | 26144 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26145 | |
048addec JD |
26146 | * lread.c (Fload): Detect recursive load error for more than 3 |
26147 | nestings of the same file. | |
26148 | (Vrecursive_load_depth_limit): Variable deleted. | |
26149 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 26150 | |
048addec | 26151 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 26152 | |
048addec JD |
26153 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
26154 | mouse position if either left or top is not specified. | |
60a653f1 | 26155 | |
048addec JD |
26156 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
26157 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
26158 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
26159 | (my_create_tip_window): Assign tip_window. | |
26160 | (x_create_tip_frame): Use same defaults as X. | |
26161 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
f63fd14e | 26162 | (Fx_show_tip): Do not double height. Call ShowWindow directly. |
60a653f1 | 26163 | |
048addec JD |
26164 | * w32term.c (x_after_update_window_line): Doc fix. |
26165 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
26166 | frames. | |
26167 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 26168 | |
048addec JD |
26169 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
26170 | for all Windowed systems. | |
60a653f1 | 26171 | |
048addec | 26172 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 26173 | |
048addec JD |
26174 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
26175 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 26176 | |
048addec | 26177 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26178 | |
048addec JD |
26179 | * textprop.c (Fset_text_properties): Remove unused variables |
26180 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 26181 | |
048addec JD |
26182 | * search.c (Freplace_match): Remove unused variable `inslen'. |
26183 | ||
26184 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
26185 | ||
26186 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
26187 | ||
26188 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
26189 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
26190 | (my_create_tip_window): New function. | |
26191 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
26192 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
26193 | ||
26194 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
26195 | ||
26196 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
26197 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
26198 | ||
26199 | * w32fns.c (Vw32_system_coding_system): Remove. | |
26200 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
26201 | ||
26202 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
26203 | ||
26204 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
26205 | after build_annotations. | |
26206 | ||
26207 | * syntax.c (describe_syntax): Add dummy arg. | |
26208 | (describe_syntax_1): Update call to describe_vector. | |
26209 | ||
26210 | * category.c (describe_category): Add dummy arg. | |
26211 | (describe_category_1): Update call to describe_vector. | |
26212 | ||
26213 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
26214 | (describe_command, describe_translation): Add dummy second param. | |
26215 | (describe_map): Call elt_describer with two arguments. | |
26216 | (describe_vector_princ): Add `fun' parameter. | |
26217 | Call it instead of the hardcoded `princ'. | |
26218 | (describe_vector): Add arg `args'. | |
26219 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 26220 | |
048addec | 26221 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 26222 | |
048addec JD |
26223 | * frame.c: Don't include keymap.h any more. |
26224 | (keys_of_frame): Remove. | |
60a653f1 | 26225 | |
048addec | 26226 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 26227 | |
048addec | 26228 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 26229 | |
048addec | 26230 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 26231 | |
048addec JD |
26232 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
26233 | if defined, 0 otherwise. | |
26234 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
26235 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 26236 | |
048addec | 26237 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26238 | |
048addec | 26239 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 26240 | |
048addec | 26241 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 26242 | |
048addec JD |
26243 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
26244 | (x_draw_bar_cursor): If the background color of the glyph under | |
26245 | the cursor equals the frame's cursor color, use the glyph's | |
26246 | foreground color for drawing the bar cursor. | |
26247 | (x_after_update_window_line): Clear internal border in different | |
26248 | circumstances. | |
26249 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
26250 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
26251 | (x_set_glyph_string_background_width): | |
26252 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
26253 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
26254 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
26255 | if cursor_in_non_selected_windows is false. | |
26256 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
26257 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
26258 | Notice if cursor gets overwritten. | |
26259 | (notice_overwritten_cursor): Renamed from | |
26260 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
26261 | into account, and to take X positions as parameters. | |
26262 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
26263 | around call to x_draw_glyphs. | |
26264 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
26265 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
26266 | color to use for image glyph reliefs. | |
26267 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
26268 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 26269 | |
048addec JD |
26270 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
26271 | some items. | |
26272 | (x_set_internal_border_width): Set frame garbaged when window | |
26273 | doesn't exist yet. | |
26274 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
26275 | (x_clear_image_1, four_corners_best, image_background) | |
26276 | (image_background_transparent): New functions. | |
26277 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
26278 | (gs_format): Add `:background' entry. | |
26279 | (lookup_image): Set IMG's background color if specified. | |
26280 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
26281 | when appropriate. | |
26282 | (x_clear_image_1): Reset `background_valid' and | |
26283 | `background_transparent_valid' fields. | |
26284 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
26285 | calculating it here. Set IMG's background_transparent field. | |
26286 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
26287 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
26288 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
26289 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
26290 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
26291 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
26292 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
26293 | Pre-calculate image background color where necessary. | |
26294 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
26295 | Use display info's n_cbits entry for screen depth. | |
26296 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
26297 | `left', `max_width' and `max_height'. | |
60a653f1 | 26298 | |
048addec | 26299 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 26300 | |
048addec | 26301 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 26302 | |
048addec | 26303 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 26304 | |
048addec | 26305 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26306 | |
048addec | 26307 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 26308 | |
048addec | 26309 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26310 | |
048addec JD |
26311 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
26312 | (message_dolog_marker3): New static variables hold three markers. | |
26313 | (syms_of_xdisp): Initialize and staticpro them. | |
26314 | (message_dolog): Use message_dolog_marker1..3 instead of | |
26315 | allocating markers each time. Unchain them when done. | |
60a653f1 | 26316 | |
048addec | 26317 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26318 | |
048addec | 26319 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 26320 | |
048addec | 26321 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 26322 | |
048addec | 26323 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 26324 | |
048addec | 26325 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26326 | |
048addec | 26327 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 26328 | |
048addec | 26329 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 26330 | |
048addec | 26331 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 26332 | |
048addec | 26333 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 26334 | |
048addec JD |
26335 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
26336 | with invalid position. | |
60a653f1 | 26337 | |
048addec | 26338 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26339 | |
048addec | 26340 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 26341 | |
048addec JD |
26342 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
26343 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
26344 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 26345 | |
048addec | 26346 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 26347 | |
048addec | 26348 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26349 | |
048addec JD |
26350 | * fileio.c (build_annotations): Split off the tail. |
26351 | (build_annotations_2): New fun. Extracted from build_annotations. | |
26352 | (Fwrite_region): Split the call to build_annotations into two | |
26353 | calls to build_annotations and build_annotations_2. | |
077907d4 | 26354 | |
048addec | 26355 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 26356 | |
048addec JD |
26357 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
26358 | clear_waiting_for_input with argument. | |
1756e2fb | 26359 | |
048addec | 26360 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 26361 | |
048addec | 26362 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 26363 | |
048addec | 26364 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 26365 | |
048addec | 26366 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 26367 | |
048addec | 26368 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 26369 | |
048addec JD |
26370 | * fileio.c (choose_write_coding_system): New fun, extracted |
26371 | from Fwrite_region. | |
26372 | (Fwrite_region): Use it. | |
fa336b91 | 26373 | |
048addec JD |
26374 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
26375 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
26376 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 26377 | |
048addec | 26378 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 26379 | |
048addec | 26380 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 26381 | |
048addec JD |
26382 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
26383 | Required for ISC 4.1. | |
fa336b91 | 26384 | |
048addec | 26385 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 26386 | |
52eb0373 | 26387 | * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
048addec | 26388 | Andrew Wiseman <a.wiseman@btclick.com>. |
fa336b91 | 26389 | |
048addec | 26390 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 26391 | |
048addec JD |
26392 | The following changes are made to clean up the various internal |
26393 | references to the fringes to actually use the term `fringe' for | |
26394 | them. Previously, they were called `flags areas', `bitmap areas', | |
26395 | `left/right side of windows', or implicitly as `flags' or | |
26396 | `bitmaps': | |
fa336b91 | 26397 | |
048addec | 26398 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
f63fd14e | 26399 | Comments fixed. Use renamed symbols. |
06e8f738 | 26400 | |
f63fd14e | 26401 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 26402 | |
048addec JD |
26403 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
26404 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
26405 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 26406 | |
048addec | 26407 | * msdos.c: Comment fix. |
9ce647f4 | 26408 | |
048addec | 26409 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 26410 | |
f63fd14e | 26411 | * w32term.c: Comment fixes. Use renamed symbols. |
048addec JD |
26412 | (fringe_bitmap_type): Renamed from bitmap_type. |
26413 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
26414 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
26415 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 26416 | |
f63fd14e | 26417 | * w32term.h: Comment fixes. Use renamed symbols. |
048addec JD |
26418 | (fringes_extra): Renamed from flags_areas_extra. |
26419 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
26420 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
26421 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
26422 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
26423 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
26424 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
26425 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
26426 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 26427 | |
048addec | 26428 | * widget.c: Use renamed symbols. |
9f7e52b4 | 26429 | |
f63fd14e | 26430 | * window.c: Comment fixes. Use renamed symbols. |
048addec | 26431 | (coordinates-in-window-p): Doc fix. |
fa336b91 | 26432 | |
f63fd14e | 26433 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 26434 | |
048addec | 26435 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 26436 | |
048addec | 26437 | * xfns.c: Use renamed symbols. |
89512fcd | 26438 | |
f63fd14e | 26439 | * xterm.c: Comment fixes. Use renamed symbols. |
048addec JD |
26440 | (fringe_bitmap_type): Renamed from bitmap_type. |
26441 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
26442 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
26443 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 26444 | |
f63fd14e | 26445 | * xterm.h: Comment fixes. Use renamed symbols. |
048addec JD |
26446 | (fringes_extra): Renamed from flags_areas_extra. |
26447 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
26448 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
26449 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
26450 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
26451 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
26452 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
26453 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
26454 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
26455 | ||
26456 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
26457 | ||
26458 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
26459 | work for most menu items. From David Ponce | |
26460 | <david.ponce@wanadoo.fr>. | |
26461 | ||
26462 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
26463 | ||
26464 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
26465 | Some x_set_* function expect to be called even if old and new | |
26466 | value are equal. | |
26467 | ||
26468 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
26469 | tool_bar_button_relief. | |
26470 | ||
26471 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
26472 | ||
26473 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
26474 | ||
26475 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
26476 | glyph under the cursor equals the frame's cursor color, use | |
26477 | the glyph's foreground color for drawing the bar cursor. | |
26478 | ||
26479 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
26480 | position comparison. | |
7d18891d | 26481 | |
048addec | 26482 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 26483 | |
048addec JD |
26484 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
26485 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
26486 | Update arguments to find_field. | |
26487 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
26488 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
26489 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
26490 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 26491 | |
048addec | 26492 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 26493 | |
048addec | 26494 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 26495 | |
048addec JD |
26496 | * dispextern.h (image_background, image_background_transparent): |
26497 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 26498 | |
048addec | 26499 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 26500 | |
048addec | 26501 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 26502 | |
048addec | 26503 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 26504 | |
048addec | 26505 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 26506 | |
048addec | 26507 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 26508 | |
048addec | 26509 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 26510 | |
048addec | 26511 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 26512 | |
048addec | 26513 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 26514 | |
048addec | 26515 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 26516 | |
048addec | 26517 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 26518 | |
048addec | 26519 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 26520 | |
048addec | 26521 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 26522 | |
048addec | 26523 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 26524 | |
048addec | 26525 | * print.c (prin1, print): Doc fix. |
e3059a5d | 26526 | |
048addec | 26527 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 26528 | |
048addec JD |
26529 | * fontset.h: Remove declarations of variables |
26530 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 26531 | |
048addec JD |
26532 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
26533 | `Vclip_large_size_font'. | |
eae936e2 | 26534 | |
048addec | 26535 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 26536 | |
048addec | 26537 | * w32fns.c: Doc fix. |
ddb67bdc | 26538 | |
048addec | 26539 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 26540 | |
048addec | 26541 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 26542 | |
048addec | 26543 | * fns.c: Doc fix. |
6e1b91d7 | 26544 | |
048addec | 26545 | * emacs.c: Doc fix. |
1c1d3d69 | 26546 | |
048addec | 26547 | * coding.c: Doc fix. |
1c1d3d69 | 26548 | |
048addec JD |
26549 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
26550 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
26551 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 26552 | |
048addec | 26553 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 26554 | |
048addec JD |
26555 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
26556 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
26557 | (x_display_and_set_cursor): Do display hollow cursors in active | |
26558 | minibuffer windows when they are not selected. | |
b6f4c7ba | 26559 | |
048addec | 26560 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 26561 | |
048addec | 26562 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
f63fd14e JB |
26563 | * w32term.c: Change doc-string comments to `new style' |
26564 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 26565 | |
048addec JD |
26566 | * w32fns.c: Don't define max. |
26567 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 26568 | |
048addec | 26569 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 26570 | |
048addec JD |
26571 | * ccl.c: Change macros to use do-while block instead of if-else. |
26572 | Use braces to follow GNU Coding Standards. | |
eafb659a | 26573 | |
048addec | 26574 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 26575 | |
048addec | 26576 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 26577 | |
048addec | 26578 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 26579 | |
048addec JD |
26580 | * insdel.c (replace_range): Use adjust_markers_for_replace |
26581 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 26582 | |
78819ebb | 26583 | * intervals.h (set_text_properties, set_text_properties_1): Declare. |
a4cd0cd7 | 26584 | |
048addec JD |
26585 | * textprop.c (set_text_properties_1): New subroutine |
26586 | broken out of set_text_properties. | |
26587 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 26588 | |
048addec JD |
26589 | * intervals.c (graft_intervals_into_buffer): |
26590 | Use set_text_properties_1 to clear out properties. | |
91823618 | 26591 | |
048addec JD |
26592 | * search.c (Freplace_match): Use replace_range to insert |
26593 | and delete. Don't request property inheritance from | |
26594 | surrounding text. | |
86928dfb | 26595 | |
048addec | 26596 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 26597 | |
048addec | 26598 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
f63fd14e | 26599 | vertical fonts. Allow them if face name is explicitly specified. |
048addec | 26600 | Do not give up if we find a font that cannot be converted to an xlfd. |
40ef1eda | 26601 | |
048addec | 26602 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 26603 | |
048addec JD |
26604 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
26605 | instead of malloc/free. | |
a78e0303 | 26606 | |
048addec | 26607 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 26608 | |
048addec JD |
26609 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
26610 | Coding Standards. | |
26611 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 26612 | |
048addec | 26613 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 26614 | |
048addec | 26615 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 26616 | |
048addec JD |
26617 | * coding.c (encode_coding): Use precomputed value of `src'. |
26618 | (encode_coding): Remove unused variable `src_end'. | |
26619 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 26620 | |
048addec | 26621 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 26622 | |
048addec JD |
26623 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
26624 | if cursor_glyph is NULL. | |
55c6d645 | 26625 | |
048addec | 26626 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 26627 | |
048addec | 26628 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 26629 | |
048addec | 26630 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 26631 | |
048addec | 26632 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 26633 | |
048addec | 26634 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 26635 | |
048addec JD |
26636 | * intervals.c (graft_intervals_into_buffer): |
26637 | Remove #ifdef'd-out code. | |
26638 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 26639 | |
048addec JD |
26640 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
26641 | code (eval-current-buffer). | |
26642 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 26643 | |
048addec | 26644 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 26645 | |
048addec | 26646 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 26647 | |
048addec | 26648 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 26649 | |
048addec | 26650 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 26651 | |
048addec JD |
26652 | * keyboard.c (make_lispy_event): Check integerness and fix |
26653 | Lisp_Object/int mixup. | |
17893c65 | 26654 | |
048addec | 26655 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 26656 | |
048addec | 26657 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 26658 | |
048addec JD |
26659 | * fontset.c (fontset_font_pattern): Remove unused variable |
26660 | `family_registry'. | |
d5360cc7 | 26661 | |
048addec | 26662 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 26663 | |
048addec | 26664 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 26665 | |
048addec | 26666 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 26667 | |
048addec JD |
26668 | * buffer.c (Fkill_buffer): Don't delete auto save file |
26669 | if buffer is modified. | |
d9d54213 | 26670 | |
048addec | 26671 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 26672 | |
048addec JD |
26673 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
26674 | CHECK_NUMBER_CDR. | |
b116830b | 26675 | |
048addec | 26676 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 26677 | |
048addec | 26678 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 26679 | |
048addec | 26680 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 26681 | |
048addec | 26682 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 26683 | |
048addec | 26684 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 26685 | |
048addec | 26686 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 26687 | |
048addec | 26688 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 26689 | |
048addec JD |
26690 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
26691 | the program image directly. | |
982f6c7e | 26692 | |
048addec | 26693 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 26694 | |
048addec | 26695 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 26696 | |
048addec | 26697 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 26698 | |
048addec JD |
26699 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
26700 | and CHECK_BUFFER. | |
d31053f9 | 26701 | |
048addec JD |
26702 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
26703 | (record_char): Likewise. | |
d31053f9 | 26704 | |
048addec JD |
26705 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
26706 | move to a different buffer position. Instead, check for moving at | |
26707 | least double_click_fuzz. | |
982f6c7e | 26708 | |
048addec | 26709 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 26710 | |
048addec | 26711 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 26712 | |
048addec JD |
26713 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
26714 | for display-table glyphs from the code for buffer text, to fix | |
26715 | bugs in the former. | |
830047fd | 26716 | |
048addec | 26717 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 26718 | |
048addec JD |
26719 | * buffer.c (Fbuffer_local_value): New function. |
26720 | (syms_of_buffer): Defsubr it. | |
2df5238c | 26721 | |
048addec JD |
26722 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
26723 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 26724 | |
048addec JD |
26725 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
26726 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
26727 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 26728 | |
048addec | 26729 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 26730 | |
048addec | 26731 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 26732 | |
048addec JD |
26733 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
26734 | keyword]. | |
3ecaf7e5 | 26735 | |
048addec JD |
26736 | * eval.c (top_level_value, top_level_set): Remove commented and |
26737 | #ifdef'd-out code. | |
26738 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 26739 | |
048addec | 26740 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 26741 | |
048addec | 26742 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 26743 | |
048addec | 26744 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 26745 | |
048addec | 26746 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 26747 | |
048addec | 26748 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 26749 | |
048addec JD |
26750 | * lisp.h (CHECK_STRING_CAR): New macro. |
26751 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
26752 | treating XCAR and XCDR as lvalues. | |
26753 | (openp): Use CHECK_STRING_CAR. | |
26754 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 26755 | |
048addec | 26756 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 26757 | |
048addec JD |
26758 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
26759 | (SIGMASKTYPE): Define. | |
1b1acc13 | 26760 | |
048addec | 26761 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 26762 | |
048addec | 26763 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 26764 | |
048addec JD |
26765 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
26766 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
26767 | Fix typos in comments. | |
6cb16f95 | 26768 | |
048addec JD |
26769 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
26770 | and #ifdef'd-out code. | |
26771 | Fix and reindent comments. | |
6cb16f95 | 26772 | |
048addec | 26773 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 26774 | |
048addec JD |
26775 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
26776 | argument `i' in macros. | |
6cb16f95 | 26777 | |
048addec JD |
26778 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
26779 | `i' in macros. | |
7e9d3c2f | 26780 | |
048addec JD |
26781 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
26782 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
26783 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
26784 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
26785 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
26786 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
26787 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
26788 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
26789 | in macros. | |
7e9d3c2f | 26790 | |
048addec JD |
26791 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
26792 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
26793 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
26794 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
26795 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
26796 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
26797 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
26798 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
26799 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
26800 | (remove unused second argument). | |
7e9d3c2f | 26801 | |
048addec | 26802 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 26803 | |
048addec JD |
26804 | * syntax.c (describe_syntax): New wrapper. |
26805 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
26806 | Don't insert space at front and \n at the end. | |
26807 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 26808 | |
048addec JD |
26809 | * regex.c (re_wctype): Try to fix some warnings. |
26810 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 26811 | |
048addec | 26812 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 26813 | |
048addec | 26814 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 26815 | |
048addec | 26816 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 26817 | |
048addec | 26818 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 26819 | |
048addec | 26820 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 26821 | |
048addec | 26822 | * callint.c (Finteractive): Ditto. |
9271ed2c | 26823 | |
048addec | 26824 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 26825 | |
048addec JD |
26826 | * macros.c: Don't include keymap.h any more. |
26827 | ||
26828 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
26829 | ||
26830 | * data.c (Fmake_local_variable): Doc fix. | |
26831 | ||
26832 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
26833 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 26834 | |
048addec | 26835 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
26836 | bindings along with or instead of the buffer local map. |
26837 | Make the overriding maps override what they should. | |
26838 | ||
f00691a3 | 26839 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
26840 | |
26841 | * window.c (grow_mini_window): Fix typo in comment. | |
26842 | ||
27188d11 GM |
26843 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
26844 | ||
7b49b9d2 GM |
26845 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
26846 | (XTset_vertical_scroll_bar): Likewise. | |
26847 | ||
43f7c3ea GM |
26848 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
26849 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 26850 | |
b350c2e5 GM |
26851 | * xfns.c (four_corners_best): Reindent. |
26852 | ||
c22e59e1 | 26853 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
26854 | Handle :box so that it is possible to specify sexprs. |
26855 | ||
bf00d461 EZ |
26856 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
26857 | ||
26858 | * s/hpux11.h: New file. | |
26859 | ||
f00691a3 | 26860 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 26861 | |
2b209b97 PJ |
26862 | * emacs.c (USAGE1): Show command line option --no-window-system |
26863 | instead of --no-windows in usage. | |
26864 | (standard_args): Rename --no-windows to --no-window-system. | |
26865 | (bug_reporting_address): Follow Emacs coding conventions. | |
26866 | ||
9dbc9081 PJ |
26867 | * eval.c (Fcommandp): Doc fix. |
26868 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
26869 | ||
4e10df59 PJ |
26870 | * frame.c (Fframe_live_p): Doc fix. |
26871 | ||
26872 | * buffer.c (selective-display-ellipses): Doc fix. | |
26873 | ||
dd387b25 GM |
26874 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
26875 | ||
fe957e65 GM |
26876 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
26877 | ||
dd387b25 GM |
26878 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
26879 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
26880 | members which have a different meaning. | |
26881 | (free_face_colors): Do nothing for a face whose colors have been | |
26882 | copied bitwise. | |
26883 | ||
c22e59e1 | 26884 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 26885 | |
f00691a3 | 26886 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 26887 | |
687784e8 PJ |
26888 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
26889 | [w/`doc:' keyword]. | |
2e1280f8 | 26890 | |
b9d9a9b9 GM |
26891 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
26892 | ||
26893 | * fns.c (require_unwind): Return Lisp_Object. | |
26894 | ||
f00691a3 | 26895 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 26896 | |
fa1361cb PJ |
26897 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
26898 | (last-input-char): Revert doc-string to be the same as the | |
26899 | doc-string of `last-input-event'. | |
26900 | ||
6c465a15 | 26901 | * xdisp.c: Fix typos in comments. |
48400103 | 26902 | |
eafa3196 GM |
26903 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
26904 | ||
26905 | * window.c (grow_mini_window): Handle case that the root | |
26906 | window is already smaller than the nominal mininum height. | |
26907 | ||
747d3f2a SM |
26908 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
26909 | ||
bf9bb76f SM |
26910 | * emacs.c (main): Don't call keys_of_macros any more. |
26911 | ||
26912 | * lisp.h (keys_of_macros): Remove. | |
26913 | ||
26914 | * macros.c (keys_of_macros): Remove. | |
26915 | ||
747d3f2a SM |
26916 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
26917 | ||
5e905a57 JR |
26918 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
26919 | ||
26920 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
26921 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
26922 | ||
3a426197 RS |
26923 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
26924 | ||
26925 | * keyboard.c (Finput_pending_p): Doc fix. | |
26926 | ||
a742d646 GM |
26927 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
26928 | ||
259cf6bc GM |
26929 | * xterm.c (x_after_update_window_line): Don't run the code |
26930 | clearing in borders for rows whose visible height is 0. | |
26931 | ||
3f99f948 GM |
26932 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
26933 | resized_p flag is set. If not set, use the much less flickering | |
26934 | method previously used. | |
26935 | ||
26936 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
26937 | ||
26938 | * frame.h (struct frame) <resized_p>: New member. | |
26939 | ||
b4a3be43 GM |
26940 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
26941 | as large as the number of bytes to convert. | |
747d3f2a | 26942 | |
a742d646 GM |
26943 | * lread.c (to_multibyte): New function. |
26944 | (read1): Use it. | |
26945 | ||
cacbb9e9 EZ |
26946 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
26947 | ||
26948 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
26949 | ||
99cb6b2f GM |
26950 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
26951 | ||
327f42ee | 26952 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
26953 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
26954 | if the row's fill_line_p is set and drawing the last glyph with | |
26955 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 26956 | |
99cb6b2f GM |
26957 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
26958 | ||
8e8223e2 SM |
26959 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
26960 | ||
26961 | * xmenu.c: Include coding.h and charset.h. | |
26962 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
26963 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
26964 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
26965 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
26966 | (menu_help_callback): Use empty_string. | |
26967 | ||
26968 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
26969 | (Fx_popup_dialog): Explicitly init f. | |
26970 | (w32_menu_display_help): Use empty_string. | |
26971 | ||
4d083a8f RS |
26972 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
26973 | ||
b2304472 RS |
26974 | * fns.c (Frequire): Detect recursive try to require the same |
26975 | feature 3 or more levels deep, and get error. | |
26976 | (require_unwind): New subroutine. | |
26977 | (require_nesting_list): New variable. | |
26978 | (syms_of_fns): Init and staticpro it. | |
26979 | ||
4d083a8f RS |
26980 | * print.c (print_object): Clarify indication of insertion type. |
26981 | ||
2fe41216 EZ |
26982 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
26983 | ||
90480000 EZ |
26984 | * coding.c (syms_of_coding): Document that locale-coding-system is |
26985 | used for decoding input on X. | |
26986 | ||
2fe41216 EZ |
26987 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
26988 | ||
f00691a3 | 26989 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
26990 | |
26991 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
26992 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
26993 | ||
60ebcfe8 GM |
26994 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
26995 | ||
9a7bdceb GM |
26996 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
26997 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
26998 | ||
3f08fcd2 GM |
26999 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
27000 | the slant attribute if FRAME is t. | |
27001 | ||
0ccfdad2 GM |
27002 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
27003 | when X window doesn't exist yet. | |
27004 | ||
ef253080 GM |
27005 | * xterm.c (x_after_update_window_line): Clear internal border |
27006 | in different circumstances. | |
b116830b | 27007 | |
60ebcfe8 GM |
27008 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
27009 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
27010 | <handa@etl.go.jp>. | |
27011 | ||
73d25f9c EZ |
27012 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
27013 | ||
27014 | * m/ibms390.h: New file. From Adam Thornton | |
27015 | <athornton@sinenomine.net>. | |
27016 | ||
cac1daf0 GM |
27017 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
27018 | ||
053b3256 | 27019 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 27020 | |
cac1daf0 GM |
27021 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
27022 | a loop counter. | |
27023 | ||
f00691a3 | 27024 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 27025 | |
f9711de4 | 27026 | * emacs.c: Use argv[0] instead of "emacs" when -t was specified. |
186486eb | 27027 | |
4707d2d0 PJ |
27028 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
27029 | keyword]. | |
27030 | Fix typos in comments. | |
b116830b | 27031 | |
d883731c PJ |
27032 | * emacs.c (bug_reporting_address): New function. |
27033 | Use it when displaying usage message. | |
27034 | ||
04012254 PJ |
27035 | * minibuf.c (read_minibuf): Remove unused external declaration of |
27036 | variable `Qread_only'. | |
27037 | ||
13b1a09c PJ |
27038 | * keymap.c (access_keymap): Remove unused variable `charset'. |
27039 | ||
5bbf4378 MB |
27040 | 2001-10-28 Miles Bader <miles@gnu.org> |
27041 | ||
27042 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
27043 | Remove #ifdef'd-out code. | |
27044 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
27045 | (syms_of_xfaces): Initialize them. | |
27046 | ||
1ce1e4ee JR |
27047 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
27048 | ||
27049 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
27050 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
27051 | position using the system caret. | |
27052 | ||
27053 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
27054 | (w32_system_caret_height, w32_system_caret_x) | |
27055 | (w32_system_caret_y): New variables for tracking system caret. | |
27056 | (w32_initialize): Initialize them. | |
c2d53558 | 27057 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 27058 | |
c2d53558 SM |
27059 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
27060 | New messages types. | |
1ce1e4ee JR |
27061 | |
27062 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
27063 | ||
f00691a3 | 27064 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 27065 | |
bb4600a4 PJ |
27066 | * xterm.c: Fix typo in a comment. |
27067 | ||
7db35a48 PJ |
27068 | * emacs.c: Fix typos in comments. |
27069 | Remove unnecessary spaces. | |
27070 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
27071 | (USAGE2): Fix typos in usage string. | |
27072 | ||
a7248e4f PJ |
27073 | * xterm.c: Fix typo in a comment. |
27074 | ||
52eb0373 | 27075 | * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in |
4e30ce42 PJ |
27076 | emacs.c. |
27077 | ||
62725a92 GM |
27078 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
27079 | ||
798dbe1f | 27080 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 27081 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
27082 | farther backward when target_y was not reached. |
27083 | ||
62725a92 GM |
27084 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
27085 | Display errno only if non-zero. | |
27086 | (sound_warning): New function. | |
27087 | (vox_configure): Don't treat failing to set sample rate as error. | |
27088 | (various places): Improve error messages. | |
27089 | ||
d4e34d24 EZ |
27090 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
27091 | ||
944e6f60 EZ |
27092 | * fileio.c (Faccess_file): Run the argument filename through |
27093 | Fexpand_file_name, before using it. | |
27094 | ||
d4e34d24 EZ |
27095 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
27096 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
27097 | ||
38d2af0c GM |
27098 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
27099 | ||
da80a8d5 GM |
27100 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
27101 | ||
38d2af0c GM |
27102 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
27103 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 27104 | |
45de4a6f | 27105 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
27106 | |
27107 | * w32gui.h (XImage): Add a dummy typedef. | |
27108 | ||
fbd5ceb2 GM |
27109 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
27110 | ||
c2d53558 | 27111 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 27112 | |
b23236fb EZ |
27113 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
27114 | ||
27115 | * frame.c (Fframe_parameter): Fix last change. | |
27116 | ||
5d991fc4 EZ |
27117 | * fileio.c: Revert last change (which removed old commented-out |
27118 | version of expand-file-name). Add a comment that explains why | |
27119 | this old version should not be removed. | |
27120 | ||
879eadc3 GM |
27121 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
27122 | ||
75700ff2 GM |
27123 | * frame.c (Fframe_parameter): Fix a bug whereby some |
27124 | ``artificial'' frame parameters, like `minibuffer' were not | |
27125 | obtained by calling Fframe_parameters. | |
27126 | ||
dfe92a6a GM |
27127 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
27128 | cursor differently. | |
27129 | ||
879eadc3 GM |
27130 | * xdisp.c (move_it_vertically_backward): Compute line height |
27131 | differently. Add heuristic to try to be more compatible to 20.x. | |
27132 | ||
e1010ebe SM |
27133 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
27134 | ||
d73a471b SM |
27135 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
27136 | ||
d6da5a06 GM |
27137 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
27138 | boolean. | |
e1010ebe | 27139 | |
f66bd220 MB |
27140 | 2001-10-25 Miles Bader <miles@gnu.org> |
27141 | ||
27142 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
27143 | BG is a pointer to a structure, not a structure. | |
27144 | (gif_format, png_format): Add missing commas. | |
27145 | ||
d436d538 RS |
27146 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
27147 | ||
27148 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 27149 | (syms_of_xfaces): Defsubr it. |
d436d538 | 27150 | |
f00691a3 | 27151 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
27152 | |
27153 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
27154 | variable `area'. | |
27155 | ||
f00691a3 | 27156 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 27157 | |
c2d53558 | 27158 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 27159 | |
e2a57b34 MB |
27160 | 2001-10-25 Miles Bader <miles@gnu.org> |
27161 | ||
27162 | * dispextern.h (struct image): Add `background', | |
27163 | `background_valid', and `background_transparent' fields. | |
27164 | (image_background, image_background_transparent): New declarations. | |
27165 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
27166 | * xfns.c (image_background, image_background_transparent) | |
27167 | (four_corners_best): New functions. | |
c2d53558 | 27168 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
27169 | (gs_format): Add `:background' entry. |
27170 | (lookup_image): Set IMG's background color if specified. | |
27171 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
27172 | when appropriate. | |
27173 | (x_clear_image_1): Reset `background_valid' and | |
27174 | `background_transparent_valid' fields. | |
27175 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
27176 | calculating it here. Set IMG's background_transparent field. | |
27177 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
27178 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
27179 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
27180 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
27181 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
27182 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 27183 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
27184 | Pre-calculate image background color where necessary. |
27185 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
27186 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
27187 | color to use for image glyph reliefs. | |
27188 | ||
b547b6e8 GM |
27189 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
27190 | ||
d9e3b8c6 GM |
27191 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
27192 | in full-width rows. | |
c2d53558 | 27193 | |
b547b6e8 GM |
27194 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
27195 | Fix clearing of area not covered by scroll bar. | |
27196 | ||
f00691a3 | 27197 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 | 27198 | |
52eb0373 | 27199 | * xterm.c (x_insert_glyphs): Remove unused variables `real_end' |
2beb36f9 | 27200 | and `real_start'. |
c2d53558 | 27201 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
27202 | (glyph_rect): Remove unused variable `area'. |
27203 | ||
76cb5e06 GM |
27204 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
27205 | ||
bdbdebff | 27206 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
27207 | |
27208 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
27209 | (row_containing_pos): Take additional argument DY. | |
27210 | Treat rows ending in middle of char differently. | |
62e33982 GM |
27211 | (display_line): Handle tabs on window systems differently. |
27212 | ||
27213 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
27214 | with additional argument. | |
27215 | ||
27216 | * dispextern.h (row_containing_pos): Adjust prototype. | |
27217 | ||
76cb5e06 GM |
27218 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
27219 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
27220 | (try_window_id, try_window_reusing_current_matrix) | |
27221 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 27222 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 27223 | |
f00691a3 | 27224 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 27225 | |
c9e60620 PJ |
27226 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
27227 | gnuemacs). | |
27228 | (HAVE_BOXES): Fix typo in comment. | |
27229 | (push_menu_pane): Fix typo in comment. | |
27230 | ||
52eb0373 | 27231 | * xdisp.c (display_prop_string_p): Remove unused local declaration |
3b552d56 PJ |
27232 | of `Qwhen'. |
27233 | (single_display_prop_string_p): Remove unused local declarations | |
27234 | of `Qwhen' and `Qmargin'. | |
27235 | (string_buffer_position): Remove unused variable `around'. | |
27236 | (store_frame_title): Remove unused variable `width'. | |
27237 | ||
15c565ac PJ |
27238 | * window.c: Don't define max. |
27239 | (coordinates_in_window): Remove unused variable `uy'. | |
27240 | ||
a8818eb9 PJ |
27241 | * widget.c: Don't define max. |
27242 | ||
996fee11 PJ |
27243 | * process.c: Don't define max. |
27244 | (create_process): Remove unused variable `buffer'. | |
27245 | ||
496e1a5b GM |
27246 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
27247 | ||
c2d53558 | 27248 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 27249 | |
5905ae8b EZ |
27250 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
27251 | ||
27252 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
27253 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
27254 | frame is on a windowed display. | |
27255 | ||
24db49fb GM |
27256 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
27257 | ||
c2d53558 SM |
27258 | * dispnew.c (sync_window_with_frame_matrix_rows): |
27259 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
27260 | of marginal areas. |
27261 | ||
c2d53558 | 27262 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 27263 | |
f0487f05 EZ |
27264 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
27265 | ||
27266 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
27267 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
27268 | ||
f0a48a01 GM |
27269 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
27270 | ||
c2d53558 | 27271 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
27272 | REAL_END. Notice if cursor gets overwritten. |
27273 | (notice_overwritten_cursor): Take X positions as parameters. | |
27274 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
27275 | around call to x_draw_glyphs. | |
27276 | ||
f00691a3 | 27277 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 27278 | |
fc11dff0 PJ |
27279 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
27280 | instead of C) and usage. | |
a50a10a0 | 27281 | |
fc11dff0 PJ |
27282 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
27283 | of C) and usage. | |
a50a10a0 PJ |
27284 | |
27285 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
27286 | `left', `max_width' and `max_height'. | |
27287 | ||
8738febd GM |
27288 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
27289 | ||
27290 | * xdisp.c (display_line): For a tab continued to the next line, | |
27291 | set row's ends_in_middle_of_char_p. | |
27292 | ||
653c329b GM |
27293 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
27294 | ||
27295 | * xdisp.c (display_line): Fix computation of continuation lines | |
27296 | width for TABs. | |
27297 | ||
f00691a3 | 27298 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 27299 | |
7ba51063 PJ |
27300 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
27301 | `Qlaplace'. | |
27302 | ||
f958c5ac PJ |
27303 | * fileio.c: Remove unused code. |
27304 | ||
eb360291 MB |
27305 | 2001-10-22 Miles Bader <miles@gnu.org> |
27306 | ||
27307 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
27308 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
27309 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
27310 | ||
98515cf0 JR |
27311 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
27312 | ||
27313 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
27314 | ||
93026d88 EZ |
27315 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
27316 | ||
27317 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
27318 | (Finsert_string): Avoid the multi-line string literals warning. | |
27319 | ||
c9a95b79 MB |
27320 | 2001-10-22 Miles Bader <miles@gnu.org> |
27321 | ||
27322 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
27323 | (Fdocumentation): Don't use it. | |
27324 | (syms_of_doc): Don't initialize it. | |
27325 | ||
27326 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
27327 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
27328 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 27329 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 27330 | (Fsave_restriction): Likewise. |
c2d53558 SM |
27331 | * eval.c (Frun_hooks, Frun_hook_with_args) |
27332 | (Frun_hook_with_args_until_failure) | |
27333 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
27334 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
27335 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
27336 | (Funwind_protect, Fcondition_case): Likewise. |
27337 | * coding.c (Ffind_operation_coding_system): Likewise. | |
27338 | * keyboard.c (Ftrack_mouse): Likewise. | |
27339 | ||
a3b10252 MB |
27340 | 2001-10-21 Miles Bader <miles@gnu.org> |
27341 | ||
c2d53558 | 27342 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
27343 | (Fmake_hash_table): Add usage: string to doc string. |
27344 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 27345 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
27346 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
27347 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
27348 | (Fml_prefix_argument_loop): Likewise. | |
27349 | ||
f00691a3 | 27350 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 27351 | |
c2d53558 | 27352 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 27353 | |
c6f73eec PJ |
27354 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
27355 | style' [w/`doc:' keyword]. | |
27356 | ||
27357 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
27358 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
27359 | comments to `new style' [w/`doc:' keyword]. | |
27360 | ||
3cf3436e JR |
27361 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
27362 | ||
27363 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
27364 | ||
c169b8f1 JR |
27365 | * w32term.c (remember_mouse_glyph): New function. |
27366 | (w32_mouse_position): Use it. | |
27367 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
27368 | its new position. | |
c2d53558 | 27369 | |
4fdd691b JR |
27370 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
27371 | (w32_display_info): Add mouse_face_overlay. | |
27372 | ||
c169b8f1 JR |
27373 | * w32term.c (notice_overwritten_cursor): Renamed from |
27374 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
27375 | account. | |
27376 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
27377 | (fast_find_string_pos): New function. | |
27378 | (fast_find_position): Return the correct vpos. Add parameter | |
27379 | STOP. In the final row, stop before glyphs having STOP as object. | |
27380 | Don't consider glyphs that are not from a buffer. | |
27381 | (fast_find_position) [0]: Add a presumably more correct version | |
27382 | for after 21.1. | |
27383 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
27384 | (expose_window): Do it here instead. | |
27385 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
27386 | overwriting mouse-face. | |
27387 | (expose_window): If W is the window currently being updated, mark | |
27388 | the frame garbaged. | |
27389 | (expose_frame): If mouse-face was overwritten, redo it. | |
27390 | (x_use_underline_position_properties): New variable. | |
27391 | (syms_of_xterm): DEFVAR_BOOL it. | |
27392 | (x_draw_glyph_string): Add comment to use it in future. | |
27393 | (x_draw_glyph_string): Restore clipping after drawing box. | |
27394 | Fix a computation of the underline position. | |
27395 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
27396 | (x_fill_stretch_glyph_string): Remove an assertion. | |
27397 | (x_produce_glyphs): Don't convert multibyte characters | |
27398 | to unibyte characters in unibyte buffers. | |
27399 | (cursor_in_mouse_face_p): New function. | |
27400 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
27401 | when drawing a cursor within highlighted text. Don't draw | |
27402 | background again if it has already been drawn. | |
27403 | (x_draw_glyph_string_box): Don't draw a full-width | |
27404 | box just because the glyph row's full_width_p flag is set. | |
27405 | (x_draw_glyphs): Fix computation of rightmost x for | |
27406 | full-width rows. | |
27407 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
27408 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
f63fd14e | 27409 | change bottom shadow accordingly. Some cleanup. |
c169b8f1 JR |
27410 | (x_update_window_end): Handle overwritten mouse face |
27411 | also for tool bar windows. | |
27412 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
27413 | DRAW is DRAW_IMAGE_RAISED. | |
27414 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
27415 | actually redrawn. Make the function static. |
27416 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
27417 | optimize away highlighting if we pass over that same overlay again. |
27418 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
27419 | to detect a case where we have to highlight a different region | |
27420 | despite not having left the currently highlighted region. | |
27421 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
27422 | mouse pointer shape when show_mouse_face has already done it, or | |
27423 | there is no need. Handle mouse-face and help-echo in strings. | |
27424 | (glyph_rect): New function. | |
27425 | (w32_mouse_position): Use it to raise the threshold for mouse | |
27426 | movement event generation. | |
27427 | (w32_initialize_display_info): Initialize the x_display_info's | |
27428 | mouse_face_overlay. | |
27429 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
27430 | or width area. | |
27431 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
27432 | a widget to zero height. | |
27433 | ||
3cf3436e | 27434 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 27435 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
27436 | equivalents in menu_items. |
27437 | (w32_menu_show): Don't overwrite an item's name with its key | |
27438 | description in case the description is a multibyte string. | |
27439 | (single_submenu): Some cleanup. | |
27440 | ||
27441 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
27442 | (postprocess_image): New function. | |
27443 | (lookup_image): Call it for all image types except PostScript. | |
27444 | (x_kill_gs_process): Call postprocess_image. | |
27445 | (tiff_error_handler, tiff_warning_handler): New functions. | |
27446 | (tiff_load): Install them as handlers. | |
27447 | (x_kill_gs_process): Recognize if someone has cleared the image | |
27448 | cache under us. | |
27449 | (valid_image_p): Protect better against invalid image | |
27450 | specifications. Previous code could signal an error. | |
27451 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
27452 | (Fv_max_tooltip_size): New variable. | |
27453 | (syns_of_xfns): DEFVAR_LISP it. | |
27454 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
f63fd14e | 27455 | window buffer to *tip* right after creating the frame. Set frame's |
3cf3436e JR |
27456 | window_width. Use a maximum tooltip size specified by |
27457 | Vx_max_tooltip_size, if that has valid contents. | |
27458 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
27459 | Make sure the tooltip is completely visible. | |
27460 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
27461 | (Fx_create_frame): Adjust the frame's height for presence | |
27462 | of the tool bar before calling x_figure_window_size. | |
27463 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
27464 | when the window gets smaller. | |
27465 | (x_set_foreground_color): Set frame's cursor_pixel. | |
27466 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
27467 | (x_set_font): Handle case of x_new_fontset returning the same name | |
27468 | as before, although there was a change in fontsets. | |
27469 | ||
386ca361 MB |
27470 | 2001-10-21 Miles Bader <miles@gnu.org> |
27471 | ||
c2d53558 | 27472 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
27473 | (Flogxor): Add usage: string to doc string. |
27474 | * charset.c (Fstring): Likewise. | |
27475 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
27476 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
27477 | ||
f00691a3 | 27478 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 27479 | |
03be2694 PJ |
27480 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
27481 | ||
27482 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
27483 | ||
27484 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
27485 | ||
14ff1ee0 PJ |
27486 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
27487 | keyword]. | |
27488 | ||
2f147815 | 27489 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
27490 | |
27491 | ;; Local Variables: | |
49b3bd82 | 27492 | ;; coding: iso-2022-7bit |
33462dfa | 27493 | ;; add-log-time-zone-rule: t |
6922b018 | 27494 | ;; End: |
2a34a036 | 27495 | |
aaef169d | 27496 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
4e6835db | 27497 | 2006, 2007 Free Software Foundation, Inc. |
7f6d64f8 GM |
27498 | |
27499 | This file is part of GNU Emacs. | |
27500 | ||
27501 | GNU Emacs is free software; you can redistribute it and/or modify | |
27502 | it under the terms of the GNU General Public License as published by | |
27503 | the Free Software Foundation; either version 2, or (at your option) | |
27504 | any later version. | |
27505 | ||
27506 | GNU Emacs is distributed in the hope that it will be useful, | |
27507 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
27508 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
27509 | GNU General Public License for more details. | |
27510 | ||
27511 | You should have received a copy of the GNU General Public License | |
27512 | along with GNU Emacs; see the file COPYING. If not, write to the | |
27513 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
27514 | Boston, MA 02110-1301, USA. | |
ab5796a9 MB |
27515 | |
27516 | ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 |