Commit | Line | Data |
---|---|---|
bdf5f8ef SM |
1 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | ||
ff16b875 SM |
3 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by |
4 | the GC to the beginning. | |
5 | ||
83155776 SM |
6 | * indent.h: |
7 | * indent.c: Use EMACS_INT for ints coming from Elisp data. | |
8 | ||
bdf5f8ef SM |
9 | * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. |
10 | ||
ec8705b6 JR |
11 | 2007-09-25 Jason Rumney <jasonr@gnu.org> |
12 | ||
13 | * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. | |
14 | ||
15 | * w32console.c (create_w32cons_output): Remove. | |
16 | ||
17 | * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. | |
18 | ||
19 | * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. | |
20 | (reset_sys_modes): Use reset_terminal_modes_hook. | |
21 | ||
7351b242 SM |
22 | 2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca> |
23 | ||
24 | * eval.c (do_autoload): Don't output any message. | |
25 | ||
16706228 JL |
26 | 2007-09-24 Juri Linkov <juri@jurta.org> |
27 | ||
28 | * emacs.c (standard_args): Change priority of "--no-splash" | |
29 | from 40 to 3. Add "--no-desktop" with the same priority. | |
30 | ||
3ae2e3a3 RS |
31 | 2007-09-23 Dmitry Antipov <dmantipov@yandex.ru> |
32 | ||
33 | * alloc.c (gc_sweep): Check cons cell mark bits word by word | |
34 | and optimize the case where they are all 1. | |
35 | ||
7a58fb43 GM |
36 | 2007-09-23 Johannes Weiner <hannes@saeurebad.de> |
37 | ||
3ae2e3a3 RS |
38 | * lisp.h (abs): Define if not defined. |
39 | * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: | |
40 | Don't define `abs', since it's defined in lisp.h. | |
7a58fb43 | 41 | |
78048085 EZ |
42 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> |
43 | ||
44 | * term.c (DEV_TTY): New macro. Provide a definition for | |
45 | MS-Windows. | |
46 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. | |
47 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) | |
48 | (init_tty): Use DEV_TTY instead of "/dev/tty". | |
49 | [WINDOWSNT]: No need to protect from NAME arg being null. | |
50 | ||
23d4cba5 DN |
51 | 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu> |
52 | ||
53 | * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning | |
54 | up the tty state. | |
55 | ||
71f44e7a SM |
56 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
57 | ||
58 | * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
59 | (gpm_tty): Change its type. | |
60 | * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
61 | (gpm_tty): Change its type and initialize it. | |
62 | (Fterm_open_connection): Check the frame is indeed a tty. | |
63 | Use the new gpm_tty. | |
64 | (Fterm_close_connection): Use the new gpm_tty. | |
65 | * keyboard.c (tty_read_avail_input): Use the new gpm_tty. | |
66 | * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. | |
67 | ||
def7fa34 JB |
68 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> |
69 | ||
70 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | |
71 | underline_color, to draw strike-through. | |
72 | ||
d2bb6598 SM |
73 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
74 | ||
273f164c SM |
75 | * lisp.h (allocate_terminal): Declare. |
76 | ||
ca2d5566 SM |
77 | * window.c (candidate_window_p): Consider frames that are being placed |
78 | by the user as somewhere between visible and iconified. | |
79 | (window_loop): Prefer windows on the current frame. | |
80 | (Fselect_window): Move the use of select-frame to the beginning so we | |
81 | can just delegate all the work (it'll call us back anyway). | |
82 | ||
6168122d SM |
83 | * frame.c (Qdisplay_environment_variable): |
84 | * frame.h (Qdisplay_environment_variable): Delete. | |
85 | ||
c51842ec SM |
86 | * .gdbinit (xbacktrace): Print the arg's address rather than the value |
87 | of the first arg, since that value may be a union. | |
88 | ||
d2bb6598 SM |
89 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' |
90 | parameter rather than Qdisplay_environment_variable. If all else | |
91 | fails, look for DISPLAY in initial-environment. | |
92 | ||
6f022c19 GM |
93 | 2007-09-21 Glenn Morris <rgm@gnu.org> |
94 | ||
95 | * Makefile.in (emacstool): Remove target. | |
f466320b | 96 | (lisp, shortlisp): Remove termdev.elc. |
6f022c19 | 97 | |
ea1bf8c7 GM |
98 | 2007-09-21 Markus Triska <markus.triska@gmx.at> |
99 | ||
d2bb6598 | 100 | * xterm.c (x_delete_display): Compile session management conditionally. |
ea1bf8c7 | 101 | |
d30a25b3 SM |
102 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
103 | ||
db699fc6 SM |
104 | * callproc.c (getenv_internal_1): New function. |
105 | (getenv_internal): Use it. | |
106 | (Fgetenv_internal): Use it. Accept an env-list as optional arg. | |
107 | ||
d2bb6598 | 108 | * terminal.c (get_terminal): Don't accept ints to represent terminals. |
c5911e55 SM |
109 | (Fterminal_name, Fterminal_parameters, Fterminal_parameter) |
110 | (Fset_terminal_parameter): Work with dead terminals as well. | |
111 | (Fmodify_terminal_parameters): Remove. | |
112 | ||
d30a25b3 SM |
113 | * terminal.c (get_terminal): Handle terminals. |
114 | Make sure the terminal returned is live. | |
115 | (create_terminal): Use allocate_terminal. | |
116 | (mark_terminals): Move to alloc.c. | |
117 | (delete_terminal): Use terminal->name as liveness status. | |
118 | NULL out fields after freeing their contents. | |
119 | Don't deallocate the object. | |
120 | (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object | |
121 | rather than an int. | |
122 | (Fterminal_live_p): Accept non-integer arguments. | |
123 | (Fterminal_list): Return terminal objects rather than an ints. | |
124 | ||
125 | * alloc.c (enum mem_type): New member for `terminal' objects. | |
126 | (allocate_terminal): New function. | |
d2bb6598 SM |
127 | (mark_maybe_pointer, valid_lisp_object_p, mark_object): |
128 | Handle terminals. | |
d30a25b3 SM |
129 | (mark_terminal): New fun. |
130 | (mark_terminals): Move from terminal.c. | |
131 | ||
132 | * term.c (get_tty_terminal): Don't treat output_initial specially. | |
133 | (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. | |
134 | (delete_tty): Use terminal->name as liveness status. | |
135 | ||
136 | * termhooks.h (struct terminal): Make it into a pseudovector. | |
137 | Remove `deleted' replaced by checking `name's nullness. | |
138 | ||
139 | * print.c (print_object): Handle terminals. | |
140 | ||
141 | * lisp.h (enum pvec_type): New `terminal' pseudovector. | |
142 | (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. | |
143 | ||
144 | * frame.c (make_terminal_frame): | |
145 | * keyboard.c (tty_read_avail_input): | |
146 | * w32term.c (x_delete_terminal): | |
147 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
148 | * xterm.c (x_delete_terminal): Use terminal->name as liveness status. | |
149 | ||
eba25e7c GM |
150 | 2007-09-20 Glenn Morris <rgm@gnu.org> |
151 | ||
152 | * process.c (Fmake_network_process): Doc fix. | |
153 | ||
2a29c3c1 JR |
154 | 2007-09-19 Jason Rumney <jasonr@gnu.org> |
155 | ||
156 | * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. | |
157 | ||
ba1cbad7 MC |
158 | 2007-09-19 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name> |
159 | ||
160 | * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): | |
161 | Fix a C warning regarding variable constness. | |
162 | ||
163 | * xterm.c (handle_one_xevent): Fix a C warning. | |
164 | ||
334a1195 JR |
165 | 2007-09-18 Jason Rumney <jasonr@gnu.org> |
166 | ||
167 | * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. | |
168 | ||
879ffad9 JD |
169 | 2007-09-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
170 | ||
171 | * gtkutil.c (gdpy_def): New variable. | |
172 | (xg_initialize): Initialize gdpy_def. | |
173 | (xg_display_close): If no other display exists, set gdpy_def to a | |
174 | new connection. | |
175 | ||
45c94881 JD |
176 | 2007-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
177 | ||
178 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf | |
179 | when we have no file name for the icon. | |
180 | (xg_tool_bar_expose_callback): Remove. | |
181 | (xg_create_tool_bar): Don't connect expose signal to | |
182 | xg_tool_bar_expose_callback. | |
183 | (xg_get_file_with_chooser): Move GCPRO1 after declarations. | |
184 | ||
4d580af2 AS |
185 | 2007-09-16 Andreas Schwab <schwab@suse.de> |
186 | ||
187 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | |
188 | values instead of zapping them. | |
189 | ||
aca946f3 GM |
190 | 2007-09-14 Glenn Morris <rgm@gnu.org> |
191 | ||
192 | * fringe.c (init_fringe_bitmap) <swap_nibble>: Move to file scope. | |
193 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | |
194 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file | |
195 | scope and rename to omfib_buffer for clarity. | |
196 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | |
197 | ||
25c460e5 KH |
198 | 2007-09-14 Kenichi Handa <handa@m17n.org> |
199 | ||
200 | * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. | |
201 | ||
09b69f01 JR |
202 | 2007-09-13 Jason Rumney <jasonr@gnu.org> |
203 | ||
204 | * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. | |
205 | ||
206 | * w32term.c (w32_term_init): Pass rif to w32_init_fringe. | |
207 | ||
208 | * macterm.c (mac_initialize): Don't call mac_init_fringe here. | |
209 | (mac_term_init): Call here instead, passing rif. | |
210 | ||
442218db GM |
211 | 2007-09-13 Glenn Morris <rgm@gnu.org> |
212 | ||
213 | * s/hpux.h: No longer define `static' as nothing. | |
214 | ||
4795c40f GM |
215 | 2007-09-13 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org> |
216 | ||
217 | * callint.c (Fcall_interactively): Remove unused var `fun'. | |
218 | ||
1971a872 RF |
219 | 2007-09-12 Romain Francoise <romain@orebokech.com> |
220 | ||
221 | * window.c (prefer_window_split_horizontally, display_buffer): | |
222 | Revert 2007-09-08 change. | |
223 | ||
2d33f506 GM |
224 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
225 | ||
585474ae | 226 | * alloca.c: Remove file. |
ca7af97a GM |
227 | * Makefile.in (alloca): Do not undef. |
228 | (allocaobj, alloca.o): Remove. | |
229 | (otherobj): Remove allocaobj. | |
230 | * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. | |
231 | * regex.c (C_ALLOCA): Remove all references and code that was only | |
232 | used when this was defined. | |
233 | * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. | |
234 | * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. | |
99dfbaf1 GM |
235 | * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. |
236 | ||
2d33f506 | 237 | * Makefile.in (SOURCES, unlock, relock): Delete. |
ca7af97a GM |
238 | |
239 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | |
240 | (menu_grab_callback): All uses changed. | |
241 | ||
242 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | |
243 | (x_reply_selection_request): All uses changed. | |
2d33f506 | 244 | |
18a4a65e SM |
245 | 2007-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
246 | ||
247 | * lread.c (load_warn_old_style_backquotes): Change message to look | |
248 | better when it appears in the middle of byte-compiler messages. | |
249 | ||
47cc8819 DN |
250 | 2007-09-10 Dan Nicolaescu <dann@ics.uci.edu> |
251 | ||
b7ea0894 DN |
252 | * s/darwin.h (MULTI_KBOARD): Only define for Carbon. |
253 | ||
47cc8819 DN |
254 | * xterm.c (x_create_terminal): Add comment. |
255 | ||
256 | * term.c (clear_tty_hooks, set_tty_hooks): Add comments. | |
257 | ||
5632bd0f RS |
258 | 2007-09-10 Richard Stallman <rms@gnu.org> |
259 | ||
260 | * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. | |
261 | ||
ccb5c14f MC |
262 | 2007-09-10 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name> |
263 | ||
4bca9161 MC |
264 | * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. |
265 | (DEFUN): Document `intspec', use it instead of `prompt'. | |
266 | ||
04724b69 MC |
267 | * eval.c (Fcommandp): Change `->prompt' to `->intspec'. |
268 | ||
8a6d230a MC |
269 | * data.c (Finteractive_form): If the interactive specification starts |
270 | with a `(', use it as a Lisp form. | |
271 | ||
09fbdf6c MC |
272 | * fileio.c (Fset_file_modes): Add an interactive spec that reads a file |
273 | name and file modes. | |
274 | ||
ccb5c14f MC |
275 | * callint.c (Fcall_interactively): Comment fixes. |
276 | ||
023accd6 SM |
277 | 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> |
278 | ||
279 | * callint.c (Fcall_interactively): Use Finteractive_form also for subrs | |
280 | and compiled functions. | |
281 | ||
f26b9544 EZ |
282 | 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com> |
283 | ||
284 | * window.c (prefer_window_split_horizontally): New variable. | |
285 | (display_buffer): Consider splitting window horizontally depending | |
286 | on prefer_window_split_horizontally. | |
287 | ||
4d395425 EZ |
288 | 2007-09-08 Eli Zaretskii <eliz@gnu.org> |
289 | ||
97ddc760 | 290 | * sysdep.c [WINDOWSNT]: Don't include sysselect.h. |
4d395425 | 291 | |
08c1d235 SM |
292 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
293 | ||
179cef48 SM |
294 | * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. |
295 | ||
08c1d235 SM |
296 | * frame.c (x_set_frame_parameters): Check number is positive before |
297 | using XFASTINT. | |
298 | ||
299 | * window.c (freeze_window_start): Don't presume selected_window holds | |
300 | a window object. | |
92f94a12 | 301 | (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. |
08c1d235 | 302 | |
97ddc760 | 303 | 2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change) |
de52dcbb DN |
304 | |
305 | * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. | |
306 | ||
90ab5c62 SM |
307 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
308 | ||
309 | * window.c (Vsplit_window_preferred_function): New var. | |
310 | (Fdisplay_buffer): Use it. | |
311 | (syms_of_window): Export, and initialize it. | |
312 | ||
1ab2cd43 TTN |
313 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) |
314 | ||
315 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. | |
316 | ||
0b0515bc GM |
317 | 2007-09-06 Glenn Morris <rgm@gnu.org> |
318 | ||
57fd5c55 | 319 | * gtkutil.c (menu_grab_callback) <cnt>: |
0b0515bc GM |
320 | * xselect.c (x_reply_selection_request) <cnt>: Move static |
321 | variable to file scope. | |
322 | ||
98594580 SM |
323 | 2007-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
324 | ||
325 | * xdisp.c (redisplay_internal): Make sure Elisp code always sees | |
326 | consistent values of selected_frame and selected_window. | |
327 | ||
0f4c7aef JR |
328 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
329 | ||
330 | * w32console.c (initialize_w32_display): Zero unused hooks. | |
331 | ||
e4019195 DN |
332 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> |
333 | ||
334 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions) | |
335 | (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. | |
336 | ||
bce179b5 JR |
337 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
338 | ||
a0236551 JR |
339 | * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible |
340 | in w32console.c. Set up input. Remove XXX comments that have been | |
341 | confirmed as correct. | |
342 | ||
a4926668 JR |
343 | * s/ms-w32.h (MULTI_KBOARD): Define. |
344 | ||
953bf0dc JR |
345 | * w32console.c (one_and_only_w32cons): Remove. |
346 | (initialize_w32_display): Take terminal argument. | |
347 | ||
348 | * term.c (init_tty) [WINDOWSNT]: Pass terminal to | |
349 | initialize_w32_display. | |
350 | (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. | |
351 | ||
bce179b5 JR |
352 | * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. |
353 | ||
354 | * keyboard.c (discard_mouse_events): Discard it. | |
355 | (make_lispy_event): Translate it to a lisp event. | |
356 | (lispy_wheel_names): Add wheel-left and right events. | |
357 | (syms_of_keyboard): Enlarge wheel_syms. | |
358 | ||
359 | * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. | |
360 | <WM_MOUSEHWHEEL>: Pass new system message to lisp. | |
361 | ||
362 | * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. | |
363 | ||
364 | * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT | |
365 | from WM_MOUSEHWHEEL. | |
366 | (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL. | |
367 | ||
368 | * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from | |
369 | terminal. | |
370 | ||
371 | * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new | |
372 | keyboard for the terminal. | |
373 | ||
92cd6a7c DN |
374 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> |
375 | ||
376 | * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. | |
377 | (Vresume_tty_hook): Rename from Vresume_tty_functions. | |
378 | (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook | |
379 | and resume-tty-function to resume-tty-hook. | |
380 | (Fsuspend_tty, Fresume_tty): Use new names. | |
381 | ||
2154c964 JD |
382 | 2007-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
383 | ||
384 | * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon | |
385 | if it starts with "n:". | |
386 | ||
b42ff099 JD |
387 | 2007-08-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
388 | ||
389 | * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. | |
390 | ||
6b8e474c SM |
391 | 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca> |
392 | ||
92d9c1d4 SM |
393 | * frame.h: |
394 | * frame.c (Qterm_environment_variable): Remove. | |
395 | (syms_of_frame): Don't init and staticpro it. | |
396 | ||
92d9c1d4 SM |
397 | * callproc.c (getenv_internal): Remove special case for $TERM. |
398 | ||
6b8e474c SM |
399 | * callproc.c (Vinitial_environment): New variable. |
400 | (set_initial_environment): Initialize it. | |
401 | (syms_of_callproc): Declare it. | |
402 | (child_setup): Don't mess with TERM via Qterm_environment_variable; the | |
403 | TERM under which a process runs is never related to the TERM in which | |
404 | Emacs is running. | |
405 | ||
0f1444e1 DN |
406 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
407 | ||
408 | * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... | |
409 | * s/darwin.h: ... do it here. | |
410 | ||
b8866860 SM |
411 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
412 | ||
413 | * lisp.h (set_initial_environment): Rename from set_global_environment. | |
414 | ||
415 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been | |
416 | removed by mistake on the multi-tty branch. | |
417 | ||
418 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | |
419 | (Fmodify_frame_parameters): Return a value. | |
420 | ||
421 | * image.c (png_load): Comment-out var only used in commented-out code. | |
422 | ||
423 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) | |
424 | before passing it to mark_object. | |
425 | ||
426 | * xfaces.c (internal_resolve_face_name): Return a value. | |
427 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | |
428 | ||
429 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | |
430 | (x_icon): Comment-out var only used in commented-out code. | |
431 | ||
0a42be6d RF |
432 | 2007-08-29 Romain Francoise <romain@orebokech.com> |
433 | ||
434 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | |
435 | QUIT hasn't been provided. | |
436 | ||
8d9cc0b7 MB |
437 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
438 | ||
439 | * callproc.c (child_setup, getenv_internal): Use the | |
440 | display-environment-variable and term-environment-variable frame | |
441 | params. | |
442 | (set_initial_environment): Initialise Vprocess_environment. | |
443 | ||
444 | * config.in: Disable multi-keyboard support on a mac. | |
445 | ||
446 | * frame.c (Qterm_environment_variable) | |
447 | (Qdisplay_environment_variable): New variables. | |
448 | (syms_of_frame): Intern and staticpro them. | |
449 | (Fmake_terminal_frame): Disable output method test. | |
450 | ||
451 | * frame.h: Declare them here. | |
452 | ||
453 | * macfns.c (x_set_mouse_color): Get rif from the frame. | |
454 | (x_set_tool_bar_lines): Don't use updating_frame. | |
455 | (mac_window): Add 2 new parameters for consistency with other systems. | |
456 | (Fx_create_frame): Fix doc string. Rename the parameter. Set the | |
457 | frame parameters following what is done in X11 and w32. Don't use | |
458 | FRAME_MAC_DISPLAY_INFO. | |
459 | (Fx_open_connection, start_hourglass): Remove window-system check. | |
460 | (x_create_tip_frame): Get the keyboard from the terminal. | |
461 | ||
462 | * macmenu.c: Reorder includes. | |
463 | (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
464 | ||
465 | * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a | |
466 | terminal parameter. | |
467 | (x_clear_frame): Add a frame parameter. | |
468 | (note_mouse_movement): Get rif from the frame. | |
469 | (mac_term_init): Initialize the terminal. | |
470 | (mac_initialize): Make static and move terminal initialization ... | |
471 | (mac_create_terminal): ... to this new function. | |
472 | ||
473 | * macterm.h (struct mac_display_info): Add terminal. | |
7196c970 | 474 | (mac_initialize): Delete declaration. |
8d9cc0b7 | 475 | |
381864b2 | 476 | * puresize.h (BASE_PURESIZE): Increase base value to 1164000. |
8d9cc0b7 MB |
477 | |
478 | * sysdep.c: Comment out text after #endif. | |
479 | ||
480 | * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD | |
481 | is defined. Better initialize ttys in windows. Use terminal | |
482 | specific mouse_position_hook. | |
483 | ||
484 | * termhooks.h (union display_info): Add mac_display_info. | |
485 | ||
b8866860 SM |
486 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. |
487 | Set the default minibuffer frame, window_system and the rest of the | |
8d9cc0b7 MB |
488 | frame parameters following what is done in X11. |
489 | ||
490 | * w32term.c (w32_initialize): Make static. | |
491 | ||
492 | * xselect.c (x_handle_selection_clear): Only access | |
493 | terminal->kboard when MULTI_KBOARD is defined. | |
494 | ||
495 | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. | |
496 | (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. | |
497 | ||
498 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | |
499 | ||
500 | * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. | |
501 | (make_terminal_frame) [WINDOWSNT]: Initialize terminal. | |
502 | ||
503 | * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: | |
504 | (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. | |
505 | ||
506 | * keyboard.c (restore_kboard_configuration): Only define when | |
507 | MULTI_KBOARD defined. | |
508 | ||
509 | * makefile.w32-in: Update dependancies from Makefile.in | |
510 | (OBJ1): Add terminal.$(O) | |
511 | ||
b8866860 SM |
512 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: |
513 | Don't define function body. | |
8d9cc0b7 MB |
514 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. |
515 | ||
516 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. | |
517 | ||
518 | * w32.c (request_sigio, unrequest_sigio): Remove. | |
519 | ||
520 | * w32console.c (w32con_move_cursor, w32con_clear_to_end) | |
521 | (w32con_clear_frame, w32con_clear_end_of_line) | |
522 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) | |
523 | (w32con_delete_glyphs, w32con_set_terminal_window) | |
524 | (scroll_line, w32_sys_ring_bell): Add frame arg. | |
b8866860 SM |
525 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): |
526 | Add terminal arg. | |
8d9cc0b7 MB |
527 | (PICK_FRAME): Remove. |
528 | (w32con_write_glyphs): Use frame specific terminal coding. | |
529 | (one_and_only_w32cons): New global variable. | |
530 | (initialize_w32_display): Use it for storing hooks. | |
531 | (create_w32cons_output): New function. | |
532 | ||
533 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first | |
534 | arg a frame. | |
535 | ||
b8866860 SM |
536 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. |
537 | Set window_system. | |
8d9cc0b7 MB |
538 | (x_set_tool_bar_lines): Don't use updating_frame. |
539 | (Fx_create_frame): Set terminal and ref count. | |
540 | (Fx_open_connection): Remove window-system check. | |
541 | ||
542 | * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
543 | ||
544 | * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. | |
545 | (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. | |
546 | (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): | |
547 | Add frame arg. | |
548 | (x_delete_terminal, w32_create_terminal): New functions. | |
549 | (w32_term_init): Create a terminal. | |
550 | (w32_initialize): Move terminal specific initialization to | |
551 | w32_create_terminal. | |
552 | ||
b8866860 | 553 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. |
8d9cc0b7 MB |
554 | (w32_clear_rect, w32_clear_area): Use background from frame. |
555 | (w32_display_info): Add terminal. | |
556 | (w32_sys_ring_bell, x_delete_display): Declare here. | |
557 | ||
558 | * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. | |
559 | ||
560 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. | |
561 | ||
562 | 2007-08-29 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) | |
563 | ||
564 | * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): | |
565 | Fix get_named_tty calls for the controlling tty. | |
566 | ||
567 | 2007-08-29 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) | |
568 | ||
569 | * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. | |
570 | ||
571 | 2007-08-29 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) | |
572 | ||
573 | * term.c (tty_insert_glyphs): Add missing first parameter. | |
574 | ||
575 | 2007-08-29 Karoly Lorentey <karoly@lorentey.hu> | |
576 | ||
b8866860 SM |
577 | * buffer.c (Fbuffer_list, Fbury_buffer): |
578 | Take frame->buried_buffer_list into account. | |
8d9cc0b7 MB |
579 | |
580 | * cm.c (current_tty): New variable, for cmputc(). | |
581 | (cmputc): Use it. | |
582 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | |
583 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | |
b8866860 SM |
584 | (cmgoto): Add tty parameter. Pass it on to calccost(). |
585 | Use emacs_tputs() instead of tputs(). | |
8d9cc0b7 MB |
586 | |
587 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | |
588 | tputs(). | |
589 | (current_tty): New variable, for cmputc(). | |
590 | (cmcheckmagic, cmputc, cmgoto): Add prototypes. | |
591 | ||
592 | * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. | |
593 | (internal_condition_case, internal_condition_case_1) | |
594 | (internal_condition_case_2): Don't abort when x_catching_errors. | |
595 | ||
596 | * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. | |
597 | (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to | |
598 | prevent crashes caused by bogus longjmps in read_char. | |
599 | ||
600 | * keymap.h (Fset_keymap_parent): Add EXFUN. | |
601 | ||
602 | * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) | |
603 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | |
604 | Remove redundant definition. | |
605 | ||
b8866860 SM |
606 | * macfns.c (x_set_mouse_color, x_make_gc): |
607 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 | 608 | |
b8866860 SM |
609 | * w32term.c (x_free_frame_resources): |
610 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
611 | (w32_initialize): Use the accessor macros for terminal characteristics. |
612 | ||
613 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. | |
614 | Use the accessor macros for terminal characteristics. | |
615 | * msdos.c (internal_terminal_init): Use the accessor macros for | |
616 | terminal characteristics. | |
b8866860 SM |
617 | (ScreenVisualBell, internal_terminal_init): |
618 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
619 | |
620 | * termopts.h (no_redraw_on_reenter): Declare. | |
621 | ||
622 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | |
03f06e5c | 623 | (mark_terminals, mark_ttys): Declare. |
8d9cc0b7 | 624 | (Fgarbage_collect): Call them. |
03f06e5c | 625 | (mark_object): Mark buried_buffer_list. |
8d9cc0b7 MB |
626 | |
627 | * prefix-args.c: Include stdlib.h for exit. | |
628 | ||
629 | * syssignal.h: Add comment. | |
630 | ||
631 | * indent.c: Include stdio.h. | |
632 | ||
633 | * window.h (Vinitial_window_system): Declare. | |
634 | (Vwindow_system): Delete declaration. | |
635 | ||
636 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | |
637 | ||
638 | * image.c (lookup_image): Don't initialize `c' until the xasserts | |
639 | have been run. | |
640 | ||
641 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and | |
642 | FRAME_FOREGROUND_PIXEL. | |
643 | ||
644 | * print.c (print_preprocess): Don't lose print_depth levels while | |
645 | iterating. | |
646 | ||
b8866860 SM |
647 | * widget.c (update_from_various_frame_slots): |
648 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
649 | |
650 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | |
651 | frames. | |
652 | (window_internal_height): Remove bogus make_number call. | |
b8866860 | 653 | (init_window_once): Call make_terminal_frame with two zero parameters. |
8d9cc0b7 MB |
654 | |
655 | * fileio.c (Fread_file_name): Update comment. | |
656 | ||
b8866860 SM |
657 | * callint.c (Fcall_interactively): |
658 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. | |
8d9cc0b7 MB |
659 | Make sure it is correctly unwound. |
660 | ||
661 | * xsmfns.c (x_session_close): New function. | |
662 | ||
03f06e5c | 663 | * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): |
8d9cc0b7 MB |
664 | Delete declarations. |
665 | ||
666 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | |
667 | (x_output): Remove background_pixel and foreground_pixel fields. | |
03f06e5c | 668 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. |
8d9cc0b7 MB |
669 | (x_delete_device): |
670 | (x_session_close): Declare. | |
671 | ||
672 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | |
673 | (read_filtered_event): Call `read_char' with a local | |
674 | `wrong_kboard_jmpbuf'. | |
675 | ||
b8866860 SM |
676 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. |
677 | Don't call single_kboard_state. Use FRAME_RIF. | |
8d9cc0b7 MB |
678 | |
679 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | |
680 | systems. | |
681 | ||
b8866860 | 682 | * lisp.h (set_process_environment): Rename to `set_global_environment'. |
03f06e5c | 683 | (Fframe_with_environment, Fset_input_meta_mode) |
8d9cc0b7 | 684 | (Fset_quit_char): EXFUN. |
03f06e5c | 685 | (x_create_device, tty_output, terminal, tty_display_info): Declare. |
8d9cc0b7 MB |
686 | (init_sys_modes, reset_sys_modes): Update prototypes. |
687 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | |
688 | ||
b8866860 SM |
689 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, |
690 | Vlocal_key_translation_map, and Vkeyboard_translate_table. | |
03f06e5c | 691 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): |
8d9cc0b7 | 692 | Delete declarations. |
03f06e5c JB |
693 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) |
694 | (temporarily_switch_to_single_kboard, tty_read_avail_input): | |
8d9cc0b7 MB |
695 | New declarations. |
696 | ||
697 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | |
698 | already does that during init_display(). Call syms_of_keymap | |
b8866860 SM |
699 | before syms_of_keyboard. Call `syms_of_terminal'. |
700 | Call set_initial_environment, not set_process_environment. | |
8d9cc0b7 MB |
701 | (shut_down_emacs): Call reset_all_sys_modes() instead of |
702 | reset_sys_modes(). | |
703 | ||
704 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. | |
03f06e5c JB |
705 | (internal_resolve_face_name, resolve_face_name_error): New functions. |
706 | (resolve_face_name): Protect against loops and errors thrown by Fget. | |
707 | (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. | |
8d9cc0b7 MB |
708 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. |
709 | ||
710 | * scroll.c: Replace CURTTY() with local variables throughout the | |
711 | file (where applicable). | |
712 | (calculate_scrolling, calculate_direct_scrolling) | |
713 | (scrolling_1, scroll_cost): Use the accessor macros for terminal | |
714 | characteristics. | |
715 | ||
716 | * keymap.c (Vfunction_key_map): Remove. | |
b8866860 | 717 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. |
8d9cc0b7 MB |
718 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. |
719 | (Vkey_translation_map): Remove. | |
720 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | |
721 | (Fdescribe_buffer_bindings): | |
722 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | |
723 | Update for terminal-local key-translation-map. | |
724 | ||
725 | * Makefile.in (callproc.o): Update dependencies. | |
726 | (lisp, shortlisp): Add termdev.elc. | |
727 | (obj): Add terminal.o. | |
728 | (terminal.o): Add dependencies. | |
729 | [HAVE_CARBON]: Make terminal.o depend on macgui.h. | |
730 | (data.o, fns.o): Add termhooks.h dependency. | |
731 | (SOME_MACHINE_LISP): Add dnd.elc. | |
732 | (minibuf.o): Fix typo. | |
733 | Update dependencies. | |
734 | ||
735 | * data.c (do_symval_forwarding, store_symval_forwarding) | |
736 | (find_symbol_value): Use the selected frame's keyboard, not | |
737 | current_kboard. | |
738 | ||
739 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | |
740 | Vwindow_system. | |
741 | ||
742 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | |
743 | Fmenu_bar_open. | |
744 | (syms_of_xmenu): Update defsubr. | |
745 | (mouse_position_for_popup, Fx_popup_menu) | |
746 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) | |
747 | (set_frame_menubar, free_frame_menubar) | |
748 | (create_and_show_popup_menu, xmenu_show, ) | |
749 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not | |
750 | an X frame. | |
751 | ||
752 | * xselect.c (x_own_selection): Abort if not an X frame. | |
753 | (some_frame_on_display): Check if it is an X frame. | |
754 | (x_handle_selection_clear): Deal with MULTI_KBOARD. | |
755 | ||
756 | * coding.c: Include frame.h and termhooks.h. | |
03f06e5c | 757 | (terminal_coding, keyboard_coding): Delete. |
8d9cc0b7 MB |
758 | (Fset_terminal_coding_system_internal): |
759 | (Fset_keyboard_coding_system_internal): | |
760 | (Fkeyboard_coding_system): | |
03f06e5c JB |
761 | (Fterminal_coding_system): Add a terminal parameter. |
762 | Get terminal_coding from the terminal. | |
8d9cc0b7 MB |
763 | (init_coding_once): Don't call setup_coding_system here. |
764 | ||
765 | * dispextern.h (set_scroll_region, turn_off_insert) | |
766 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | |
767 | (tty_clear_end_of_line, tty_setup_colors) | |
03f06e5c | 768 | (delete_tty, updating_frame) |
8d9cc0b7 MB |
769 | (produce_special_glyphs, produce_glyphs, write_glyphs) |
770 | (insert_glyphs): Remove. | |
771 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | |
03f06e5c | 772 | (tty_turn_off_highlight, get_tty_size): Add declaration. |
b8866860 | 773 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. |
8d9cc0b7 MB |
774 | |
775 | * frame.h (enum output_method): Add output_initial. | |
776 | (struct x_output): Delete. | |
b8866860 SM |
777 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
778 | Access foreground_pixel and background_pixel directly from the frame. | |
8d9cc0b7 MB |
779 | (tty_display): Delete. |
780 | (struct frame): Add buried_buffer_list, foreground_pixel, | |
03f06e5c | 781 | background_pixel and terminal. Delete kboard |
8d9cc0b7 MB |
782 | (union output_data): Add tty. |
783 | (FRAME_KBOARD): Get the kboard from the terminal. | |
784 | (FRAME_INITIAL_P): New macro. | |
785 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | |
786 | (Qterm_environment_variable, Qdisplay_environment_variable) | |
b8866860 SM |
787 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): |
788 | New declarations. | |
8d9cc0b7 MB |
789 | |
790 | * termchar.h (tty_output, tty_display_info): New structures. | |
791 | (tty_list): Declare. | |
792 | (FRAME_TTY, CURTTY): New macros. | |
793 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | |
794 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) | |
795 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) | |
796 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. | |
797 | ||
798 | * callproc.c: Include frame.h and termhooks.h, for terminal | |
799 | parameters. | |
800 | (add_env): New function. | |
801 | (child_setup): Use it. | |
b8866860 | 802 | (child_setup, getenv_internal): Handle the new Vprocess_environment. |
8d9cc0b7 MB |
803 | (getenv_internal): Fix get_terminal_param call. |
804 | (Fgetenv_internal, egetenv): Update doc. | |
805 | (syms_of_callproc): Initialize Vprocess_environment to nil. | |
03f06e5c | 806 | Register and initialize them. Remove obsolete defvars. Update doc |
8d9cc0b7 MB |
807 | strings. |
808 | (child_setup): Handle Vlocal_environment_variables. | |
b8866860 SM |
809 | (getenv_internal): Add terminal parameter. |
810 | Handle Vlocal_environment_variables. | |
8d9cc0b7 MB |
811 | (Fgetenv_internal): Add terminal parameter. |
812 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | |
b8866860 | 813 | environment in a frame (not terminal) parameter. Update doc strings. |
8d9cc0b7 MB |
814 | (set_initial_environment): Rename from set_global_environment. |
815 | Store Emacs environment in initial frame parameter. | |
816 | ||
817 | * xdisp.c (redisplay_internal): Update references to | |
818 | `previous_terminal_frame'. | |
819 | (display_mode_line, Fformat_mode_line): Replace calls to | |
820 | `push_frame_kboard' with `push_kboard'. | |
821 | (get_glyph_string_clip_rects): Add extra parentheses and | |
822 | braces to prevent compiler warnings. | |
823 | (calc_pixel_width_or_height): Add xassert to check that the | |
824 | frame is alive. Don't call `lookup_image' on a termcap frame. | |
825 | (message2_nolog, message3_nolog, redisplay_internal) | |
826 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | |
827 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | |
828 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | |
829 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
830 | (Fx_display_planes, Fx_display_color_cells) | |
831 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | |
832 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | |
833 | (Fx_display_backing_store, Fx_display_visual_class) | |
834 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | |
97ddc760 | 835 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. |
8d9cc0b7 MB |
836 | |
837 | * xfns.c (x_set_foreground_color x_set_background_color) | |
b8866860 SM |
838 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): |
839 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
840 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
841 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a | |
842 | terminal that is being deleted. | |
843 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | |
b8866860 | 844 | frame parameter, and make sure it overrides any user-supplied setting. |
8d9cc0b7 MB |
845 | (Fx_close_connection, Fx_synchronize): Unify argument names with |
846 | the rest of the DEFUNs. | |
847 | ||
848 | * dispnew.c (Fsend_string_to_terminal): Update call to | |
849 | `get_tty_terminal'. | |
850 | (Fredraw_frame, Fsend_string_to_terminal) | |
2d33f506 | 851 | (Fsend_string_to_terminal, init_display): Use FRAME_RIF, |
8d9cc0b7 MB |
852 | FRAME_TERMCAP_P and FRAME_TTY. |
853 | (window_change_signal): Don't believe width/height values that are | |
854 | impossibly small. | |
855 | (Vinitial_window_system): Rename from Vwindow_system. | |
856 | (termscript, Wcm, rif): Delete. | |
857 | ||
858 | * termhooks.h (struct terminal): New struct containing the | |
859 | previously global text display hooks and new members NAME, | |
860 | DELETED and PARAM_ALIST. | |
861 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) | |
862 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | |
863 | (FRAME_RIF): New macros. | |
864 | (get_terminal_param, get_device): New declarations. | |
865 | (termscript): Delete declaration. | |
866 | ||
867 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | |
868 | (XTflash, x_free_frame_resources, x_scroll_bar_create) | |
869 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | |
870 | FRAME_FOREGROUND_PIXEL. | |
871 | (x_fully_uncatch_errors): Disable definition. | |
872 | (x_scroll_bar_expose): Fix reference to foreground pixel. | |
873 | (XTread_socket): Disable loop on all X displays. | |
874 | (x_delete_terminal): Don't set terminal->deleted and let | |
875 | delete_terminal delete the frames on the terminal. | |
876 | (x_delete_display): Doc update to reflect changes in | |
877 | delete_terminal. | |
878 | (x_display_info) <terminal>: Move member earlier in the struct. | |
8d9cc0b7 MB |
879 | (deleting_tty): Remove old variable. |
880 | (Fsuspend_tty): Call clear_tty_hooks. | |
881 | (Fresume_tty, init_tty): Call set_tty_hooks. | |
8d9cc0b7 MB |
882 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw |
883 | errors on X frames. | |
884 | (x_catch_errors_unwind): Abort if x_error_message is NULL. | |
885 | (handle_one_xevent): Initialize `f' to NULL. | |
9cab96b0 | 886 | (x_delete_terminal, x_create_terminal): New functions. |
8d9cc0b7 MB |
887 | (XTset_terminal_modes, XTreset_terminal_modes) |
888 | (XTread_socket, x_connection_closed, x_term_init) | |
889 | (x_term_init, x_delete_display): Add terminal parameter. | |
890 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary | |
891 | X connections. | |
892 | ||
893 | * frame.c (Fframep): Deal with output_initial. | |
894 | (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) | |
895 | (Qtty_type, Qwindow_system, Qenvironment) | |
b8866860 | 896 | (Qterm_environment_variable, Qdisplay_environment_variable): New vars. |
8d9cc0b7 MB |
897 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
898 | (make_terminal_frame): Don't create frames on a terminal that is | |
899 | being deleted. | |
900 | (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and | |
901 | FRAME_FOREGROUND_PIXEL. | |
b8866860 | 902 | (store_frame_param): Check for found_for_frame before calling XFRAME. |
8d9cc0b7 MB |
903 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
904 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | |
905 | (Fdelete_frame): Remove unused variable `count'. | |
906 | (Qenvironment): New variable. | |
907 | (Fdelete_frame): Don't allow other frames to refer to a deleted | |
908 | frame in their 'environment parameter. | |
909 | (Fframe_with_environment): New function. | |
b8866860 | 910 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. |
8d9cc0b7 MB |
911 | (get_future_frame_param): New function. |
912 | (Fmake_terminal_frame): Use it. | |
2d33f506 | 913 | (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. |
8d9cc0b7 MB |
914 | |
915 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | |
916 | * sysdep.c (reset_sys_modes): Update for renames. | |
917 | ||
918 | * keyboard.c (tty_read_avail_input): New function. | |
03f06e5c | 919 | (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. |
8d9cc0b7 MB |
920 | (syms_of_keyboard): Defsubr them. |
921 | (Fset_input_meta_mode, Fset_quit_char): New functions. | |
922 | (Fset_input_mode): Split to above functions. | |
923 | ||
924 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | |
925 | parameter. Use it in call to `read_char'. | |
b8866860 SM |
926 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. |
927 | Set wrong_kboard_jmpbuf correctly in recursive calls. | |
928 | Use current_kboard to access Vkeyboard_translate_table. | |
929 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. | |
930 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. | |
931 | Update longjmp invocations. Remember the original current_kboard, | |
932 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel | |
933 | changes it. Comment out unnecessary calls to | |
934 | `record_single_kboard_state' and `any_kboard_state'. | |
935 | Update recursive calls. | |
8d9cc0b7 MB |
936 | (wrong_kboard_jmpbuf): Remove global variable. |
937 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | |
938 | Handle deleted interrupted_kboards correctly; that is a legal | |
939 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp | |
b8866860 | 940 | and read_char calls. Abort if interrupted_kboard died in read_char. |
8d9cc0b7 MB |
941 | (any_kboard_state, single_kboard_state) |
942 | (push_frame_kboard): Remove function. | |
943 | (pop_kboard): Switch out of single_kboard mode if the kboard has | |
03f06e5c JB |
944 | been deleted. Remove unused variable. Help debugging by not |
945 | changing current_kboard unnecessarily. Set current_kboard to the | |
8d9cc0b7 MB |
946 | kboard of the selected frame when the stored kboard object has |
947 | been deleted before pop_kboard. | |
948 | (temporarily_switch_to_single_kboard): Change first parameter to a | |
949 | frame pointer. Throw an error when caller wants to change kboards | |
950 | while in single_kboard mode. Don't push_kboard if we weren't in | |
951 | single kboard state. Don't pop_kboard if we popped into any | |
952 | kboard state. | |
953 | (restore_kboard_configuration): Abort if pop_kboard changed the | |
03f06e5c | 954 | kboard in single_kboard mode. Call pop_kboard only after setting |
8d9cc0b7 MB |
955 | up single_kboard mode. |
956 | (Frecursive_edit): Switch to single_kboard mode only in nested | |
957 | command loops. | |
b8866860 SM |
958 | (cmd_error, command_loop, command_loop_1, timer_check): |
959 | Comment out unnecessary call to `any_kboard_state' and | |
8d9cc0b7 MB |
960 | `record_single_kboard_state'. |
961 | (delete_kboard): Exit single_kboard mode if we have just deleted | |
03f06e5c | 962 | that kboard. Use FRAME_KBOARD. |
8d9cc0b7 MB |
963 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not |
964 | `fatal_error_signal'. | |
965 | (record_single_kboard_state): Don't push_kboard if we weren't in | |
966 | single kboard state. Don't pop_kboard if we popped into any | |
967 | kboard state. | |
968 | (push_frame_kboard): Rename to push_kboard. | |
969 | (kbd_buffer_get_event): Use FRAME_TERMINAL. | |
970 | (read_avail_input): Read input from all terminals. | |
971 | (mark_kboards): Also mark Vkeyboard_translate_table. | |
972 | (kbd_buffer_store_event_hold): Simplify condition. | |
973 | (read_key_sequence): Reinitialize fkey and keytran at each replay. | |
974 | (Vkeyboard_translate_table): Move to struct kboard. | |
975 | (init_kboard): Initialize Vkeyboard_translate_table. | |
976 | (syms_of_keyboard): Use DEFVAR_KBOARD to define | |
977 | Vkeyboard_translate_table. Update doc strings. Update docs of | |
978 | local-function-key-map and function-key-map. | |
979 | ||
980 | * terminal.c: New file. | |
981 | ||
982 | * term.c: Include errno.h. | |
983 | (Vring_bell_function, device_list, initial_device) | |
984 | (next_device_id, ring_bell, update_begin, update_end) | |
985 | (set_terminal_window, cursor_to, raw_cursor_to) | |
986 | (clear_to_end, clear_frame, clear_end_of_line) | |
987 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) | |
988 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | |
989 | (syms_of_term): Move their initialization to terminal.c. | |
990 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) | |
991 | (Ftty_display_color_cells) | |
992 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) | |
9cab96b0 | 993 | (clear_tty_hooks, set_tty_hooks) |
8d9cc0b7 MB |
994 | (init_tty, maybe_fatal): New functions. |
995 | (Ftty_type): Return nil if terminal is not on a tty instead of | |
996 | throwing an error. Doc update. | |
997 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | |
03f06e5c | 998 | Doc update. Initialize new subrs and variables. |
8d9cc0b7 MB |
999 | (delete_tty): Use terminal->deleted. |
1000 | (tty_set_terminal_modes): Rename from set_terminal_modes. | |
1001 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. | |
1002 | (set_scroll_region): Rename to `tty_set_scroll_region'. | |
1003 | (turn_on_insert): Rename to `tty_turn_on_insert'. | |
1004 | (turn_off_insert): Rename to `tty_turn_off_insert'. | |
1005 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. | |
1006 | (turn_on_highlight): Rename to `tty_turn_on_highlight'. | |
1007 | (toggle_highligh): Rename to `tty_toggle_highlight'. | |
1008 | (background_highlight): Rename to `tty_background_highlight'. | |
1009 | (highlight_if_desired): Rename to `tty_highlight_if_desired'. | |
1010 | (tty_ring_bell, tty_update_end, tty_set_terminal_window) | |
1011 | (tty_set_scroll_region, tty_background_highlight) | |
1012 | (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) | |
1013 | (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) | |
1014 | (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) | |
1015 | (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): | |
1016 | Add static modifier. | |
1017 | (tty_reset_terminal_modes, tty_set_terminal_window) | |
1018 | (tty_set_scroll_region, tty_background_highlight) | |
1019 | (tty_highlight_if_desired, tty_cursor_to) | |
1020 | (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | |
1021 | (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) | |
1022 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | |
1023 | renames. | |
1024 | ||
cf0590c4 JD |
1025 | 2007-08-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1026 | ||
1027 | * keyboard.c: Qrtl is new. | |
1028 | (parse_tool_bar_item): Handle :rtl keyword. | |
1029 | (syms_of_keyboard): Intern :rtl keyword. | |
1030 | ||
1031 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | |
1032 | ||
1033 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED | |
1034 | so no Lisp code is executed. | |
1035 | (file_for_image, find_rtl_image): New functions. | |
1036 | (xg_get_image_for_pixmap): Use file_for_image | |
1037 | (update_frame_tool_bar): If direction is RTL, use RTL image if | |
1038 | defined. Use Gtk stock images if defined. | |
1039 | ||
83cc8d35 YM |
1040 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1041 | ||
1042 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | |
1043 | for nonexistent or zero-width glyph in composition glyph. | |
1044 | ||
e60c4e15 SM |
1045 | 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca> |
1046 | ||
d7e2a28f SM |
1047 | * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. |
1048 | ||
e60c4e15 SM |
1049 | * xdisp.c (Finvisible_p): New function. |
1050 | (syms_of_xdisp): defsubr it. | |
1051 | ||
ee163e6d JB |
1052 | 2007-08-24 Juanma Barranquero <lekktu@gmail.com> |
1053 | ||
1054 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | |
1055 | Doc fixes. | |
1056 | ||
90fa408d YM |
1057 | 2007-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1058 | ||
1059 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. | |
1060 | ||
cac4219c MR |
1061 | 2007-08-24 Martin Rudalics <rudalics@gmx.at> |
1062 | ||
1063 | * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell | |
1064 | whether decoding has modified buffer contents. | |
1065 | ||
5fc9fdeb JR |
1066 | 2007-08-24 Jason Rumney <jasonr@gnu.org> |
1067 | ||
1068 | * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. | |
1069 | (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. | |
1070 | (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. | |
1071 | (init_svg_functions) [HAVE_NTGUI]: New function. | |
1072 | (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. | |
1073 | (svg_load_image): Use them. | |
1074 | (svg_load_image) [HAVE_NTGUI]: Implement background. | |
1075 | ||
93b23406 YM |
1076 | 2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1077 | ||
1078 | * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. | |
1079 | (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. | |
1080 | (LIBX): Remove @RSVG_LIBS@. | |
1081 | (LIBES): Add $(RSVG_LIBS). | |
1082 | ||
1083 | * image.c (svg_load_image): Blend with specified background if exists. | |
1084 | Use IMAGE_BACKGROUND. Add Mac OS Support. | |
1085 | ||
1086 | * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. | |
1087 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: | |
1088 | Remove macros. | |
1089 | [MAC_OSX] (socket_callback): Do nothing. | |
1090 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of | |
1091 | ReceiveNextEvent. | |
1092 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to | |
1093 | socket_callback. | |
1094 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. | |
1095 | ||
2467875c GM |
1096 | 2007-08-22 Glenn Morris <rgm@gnu.org> |
1097 | ||
ff8da443 | 1098 | * image.c (x_find_image_file): Search in etc/images/ rather than etc/. |
2467875c | 1099 | |
4ab27a43 GM |
1100 | 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net> |
1101 | ||
1102 | * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. | |
ff8da443 | 1103 | |
666e0eda GM |
1104 | * image.c: Add support for SVG images. Some additional comments |
1105 | by Joakim Verona <joakim@verona.se>. When HAVE_RSVG is defined: | |
1106 | (svg_image_p): New function to test for SVG image. | |
1107 | (svg_load): New function to load SVG image. | |
1108 | (svg_load_image): New function, helper for svg_load. | |
1109 | (Qsvg): New Lisp_object. | |
1110 | (svg_keyword_index): New enum. | |
1111 | (svg_format): New static `image_keyword' struct. | |
1112 | (svg_type): New static `image_type' struct. | |
1113 | (librsvg/rsvg.h): Include it. | |
4ab27a43 | 1114 | |
b636b4c1 SM |
1115 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> |
1116 | ||
1117 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. | |
1118 | ||
9ecb827b SM |
1119 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
1120 | ||
1d064697 SM |
1121 | * lread.c (Qold_style_backquotes): New var. |
1122 | (syms_of_lread): Init and staticpro it. | |
1123 | (load_warn_old_style_backquotes): New fun. | |
1124 | (Fload): Use them to warn about old style backquotes. | |
1125 | (end_of_file_error, Fload): Remove unused vars. | |
1126 | ||
5772ed4b SM |
1127 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. |
1128 | ||
9ecb827b | 1129 | * lread.c (Vold_style_backquotes): New var. |
5aa273b0 | 1130 | (syms_of_lread): Init and export it to Elisp. |
9ecb827b SM |
1131 | (read1): Set it when we find an old-style (back)quote. |
1132 | ||
32e1c7b1 JR |
1133 | 2007-08-22 Jason Rumney <jasonr@gnu.org> |
1134 | ||
1135 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. | |
1136 | ||
b8fa755b KY |
1137 | 2007-08-22 Katsumi Yamaoka <yamaoka@jpl.org> |
1138 | ||
1139 | * puresize.h (BASE_PURESIZE): Increase to 1140000. | |
1140 | ||
1283140e RS |
1141 | 2007-08-19 Richard Stallman <rms@gnu.org> |
1142 | ||
1143 | * eval.c (Ffunction, Fquote): Signal error if not 1 argument. | |
1144 | ||
2c4685ee AS |
1145 | 2007-08-19 Andreas Schwab <schwab@suse.de> |
1146 | ||
1147 | * alloc.c (pure): Round PURESIZE up. | |
1148 | ||
e8953ebf JD |
1149 | 2007-08-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1150 | ||
1151 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | |
1152 | active frame. | |
1153 | ||
6e33efc4 RS |
1154 | 2007-08-16 Richard Stallman <rms@gnu.org> |
1155 | ||
1156 | * eval.c (Fcommandp): Add parens to clarify. | |
1157 | ||
1158 | * minibuf.c (Fall_completions): Use enum for type of table. | |
1159 | ||
1160 | * emacs.c (USAGE2): Improve text. | |
1161 | ||
fcf8ff2e GM |
1162 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> |
1163 | ||
5205ee62 GM |
1164 | * term.c (tty_default_color_capabilities): Declare static |
1165 | variables in file scope, to avoid HPUX compiler problem. | |
fcf8ff2e | 1166 | |
81d13a51 JD |
1167 | 2007-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1168 | ||
1169 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | |
1170 | to gtk_toolbar_insert. | |
1171 | ||
4a181359 SM |
1172 | 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca> |
1173 | ||
1bc99c9c SM |
1174 | * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. |
1175 | ||
4a181359 SM |
1176 | * insdel.c (reset_var_on_error): New fun. |
1177 | (signal_before_change, signal_after_change): | |
1178 | Use it to reset (after|before)-change-functions to nil in case of error. | |
1179 | Bind inhibit-modification-hooks to t. | |
1180 | Don't bind (after|before)-change-functions to nil while they run. | |
1181 | ||
6c28435c YM |
1182 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1183 | ||
1184 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | |
1185 | filling pixmap with stippled background. | |
1186 | ||
ad3b3e02 YM |
1187 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1188 | ||
1189 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | |
1190 | Don't use invisible frame as parent window for repositioning. | |
1191 | ||
a22dec27 SM |
1192 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1193 | ||
1194 | * print.c (new_backquote_output): Rename from old_backquote_output. | |
1195 | (print): Inverse its logic (according to its name) so as to match the | |
1196 | behavior of new_backquote_flag in lread.c. | |
1197 | ||
7b7d07bb YM |
1198 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1199 | ||
1200 | * gmalloc.c (posix_memalign): New function. | |
1201 | ||
1202 | * macterm.c (frame_highlight, frame_unhighlight): Don't call | |
1203 | ActivateControl/DeactivateControl here. | |
1204 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when | |
1205 | frame-notice-user-settings is non-nil. | |
1206 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter | |
1207 | for kEventParamFMFontStyle. | |
1208 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check | |
1209 | mac_pass_command_to_system and mac_pass_control_to_system here. | |
1210 | (XTread_socket): Call ActivateControl/DeactivateControl here. | |
1211 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
1212 | Check mac_pass_command_to_system and mac_pass_control_to_system here. | |
f9426479 YM |
1213 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround |
1214 | for window repositioning. | |
7b7d07bb | 1215 | |
22e9fe24 GM |
1216 | 2007-08-08 Glenn Morris <rgm@gnu.org> |
1217 | ||
1218 | * Replace `iff' in doc-strings and comments. | |
1219 | ||
ae494350 CY |
1220 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> |
1221 | ||
1222 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. | |
1223 | ||
6f2528d8 MR |
1224 | 2007-08-07 Martin Rudalics <rudalics@gmx.at> |
1225 | ||
1226 | * fileio.c (Finsert_file_contents): Run format-decode and | |
1227 | after_insert_file_functions on entire buffer when REPLACE is | |
1228 | non-nil and inhibit modification_hooks and point_motion_hooks. | |
1229 | For consistency, run after_insert_file_functions iff something | |
1230 | got inserted. Move signal_after_change and update_compositions | |
1231 | after code running after_insert_file_functions. Make sure that | |
6b8e474c | 1232 | undo_list doesn't record intermediate steps of the decoding process. |
6f2528d8 | 1233 | |
3ceeb306 YM |
1234 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1235 | ||
1236 | * emacs.c (main) | |
1237 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | |
1238 | Call malloc_enable_thread on interactive startup. | |
1239 | ||
1240 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. | |
7b7d07bb YM |
1241 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) |
1242 | [USE_PTHREAD]: Conditionalize with it. | |
3ceeb306 YM |
1243 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) |
1244 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | |
1245 | New functions. | |
1246 | ||
ca5e6fd5 CY |
1247 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> |
1248 | ||
32bfce5d CY |
1249 | * xdisp.c (redisplay_window): When restoring original buffer |
1250 | position, make sure it is still valid. | |
1251 | ||
ca5e6fd5 CY |
1252 | * image.c (png_load): Ignore png-supplied background color. |
1253 | ||
a5b11587 YM |
1254 | 2007-08-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1255 | ||
1256 | * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. | |
1257 | Use kCFAbsoluteTimeIntervalSince1970. | |
1258 | ||
1259 | * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: | |
1260 | New variable. | |
1261 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | |
1262 | event loop should be quit. | |
1263 | [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: | |
1264 | Quit dialog event loop if quit_dialog_event_loop is set. | |
1265 | ||
1266 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. | |
1267 | (Selection): New typedef. Use instead of ScrapRef. | |
1268 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. | |
1269 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. | |
1270 | (mac_clear_selection): Rename from clear_scrap. | |
1271 | (get_flavor_type_from_symbol): New argument SEL and subsume function of | |
ff8da443 | 1272 | scrap_has_target_type. All uses changed. |
a5b11587 YM |
1273 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) |
1274 | (mac_selection_has_target_p): New functions. | |
1275 | (mac_put_selection_value): Rename from put_scrap_string. | |
1276 | (mac_get_selection_value): Rename from get_scrap_string. | |
1277 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. | |
1278 | (put_scrap_private_timestamp, scrap_has_target_type) | |
1279 | (get_scrap_private_timestamp): Remove functions. | |
1280 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. | |
1281 | (x_own_selection, x_get_local_selection): | |
1282 | Use mac_valid_selection_value_p. | |
1283 | (x_own_selection): Don't use put_scrap_private_timestamp. | |
1284 | Record OWNERSHIP-INFO into Vselection_alist instead. | |
1285 | (x_get_local_selection): Don't check type if request is local. | |
1286 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | |
1287 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. | |
1288 | ||
991bde0d JD |
1289 | 2007-08-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1290 | ||
1291 | * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, | |
1292 | add comment explaining why. | |
1293 | ||
73ff9d42 RS |
1294 | 2007-08-03 Richard Stallman <rms@gnu.org> |
1295 | ||
1296 | * fileio.c (Fvisited_file_modtime): Use make_time. | |
1297 | ||
54ed9a2d | 1298 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) |
cdf5c17a VJL |
1299 | |
1300 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | |
1301 | build. | |
1302 | ||
65a9c8e2 SM |
1303 | 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> |
1304 | ||
1305 | * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. | |
1306 | ||
c5925799 KY |
1307 | 2007-07-30 Katsumi Yamaoka <yamaoka@jpl.org> |
1308 | ||
1309 | * puresize.h (BASE_PURESIZE): Increase to 1130000. | |
1310 | ||
adef3de7 RS |
1311 | 2007-07-30 Richard Stallman <rms@gnu.org> |
1312 | ||
1313 | * lread.c (readevalloop, read1): Treat NBSP as whitespace. | |
1314 | ||
784c1472 JD |
1315 | 2007-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1316 | ||
1317 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. | |
1318 | ||
a10421a1 NR |
1319 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> |
1320 | ||
1321 | * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for | |
1322 | remote default-directory. | |
1323 | ||
1324 | * buffer.c (mode-line-format): Update doc string. | |
1325 | ||
0cb1ae20 YM |
1326 | 2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1327 | ||
1328 | * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to | |
1329 | scroll bar gap. | |
1330 | (x_scroll_bar_create): Set bar->fringe_extended_p. | |
1331 | (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars | |
1332 | on frame edge. Check fringe background extension. Don't clear | |
1333 | extended fringe background area. | |
1334 | ||
1335 | * w32term.h (struct scroll_bar): New member fringe_extended_p. | |
1336 | (w32_fill_area): Enclose multiple statements with do ... while (0). | |
1337 | ||
1338 | * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: | |
1339 | Extend fringe background to scroll bar gap. | |
1340 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: | |
1341 | Set bar->fringe_extended_p. | |
1342 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
1343 | Put leftmost/rightmost scroll bars on frame edge. Check fringe | |
1344 | background extension. Don't clear extended fringe background area. | |
1345 | ||
1346 | * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
1347 | New member fringe_extended_p. | |
1348 | ||
cacc7b51 GM |
1349 | 2007-07-25 Glenn Morris <rgm@gnu.org> |
1350 | ||
1351 | * Relicense all FSF files to GPLv3 or later. | |
1352 | ||
1353 | * COPYING: Switch to GPLv3. | |
1354 | ||
89835619 SM |
1355 | 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca> |
1356 | ||
c4f46926 SM |
1357 | * eval.c (Fcommandp): Pay attention to the `interactive-form' property. |
1358 | ||
1359 | * data.c (Finteractive_form): Check for the presence of an | |
1360 | `interactive-form' symbol property more thoroughly. | |
1361 | ||
1362 | * data.c (Finteractive_form): Use an `interactive-form' property if | |
89835619 SM |
1363 | present, analogous to the function-documentation property. |
1364 | ||
ee04257d JR |
1365 | 2007-07-24 Jason Rumney <jasonr@gnu.org> |
1366 | ||
1367 | * w32fns.c (x_real_positions): Get real position from OS instead of | |
1368 | calculating it. | |
1369 | ||
50624218 JR |
1370 | 2007-07-23 Jason Rumney <jasonr@gnu.org> |
1371 | ||
1372 | * filelock.c (current_lock_owner): Allow for @ sign in username. | |
1373 | ||
3650f60e NR |
1374 | 2007-07-22 Nick Roberts <nickrob@snap.net.nz> |
1375 | ||
1376 | * xdisp.c (decode_mode_spec): Add case 'R' for to test for | |
1377 | remote default-directory. | |
1378 | ||
1379 | * buffer.c (mode-line-format): Describe above case in doc string. | |
1380 | ||
1e899515 | 1381 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> |
b395d6e1 | 1382 | |
75be5258 EZ |
1383 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): |
1384 | Define if not defined. | |
1385 | ||
2b6e2f4d JR |
1386 | 2007-07-18 Jason Rumney <jasonr@gnu.org> |
1387 | ||
1388 | * w32proc.c (w32_executable_type): Handle 64 bit executables. | |
1389 | ||
23dacf80 JB |
1390 | 2007-07-18 Richard Stallman <rms@gnu.org> |
1391 | ||
1392 | * data.c (Fsetq_default): Doc fix. | |
1393 | ||
1394 | * eval.c (Fsetq): Doc fix. | |
1395 | ||
1396 | 2007-07-18 Juanma Barranquero <lekktu@gmail.com> | |
1397 | ||
1398 | * coding.c (Ffind_operation_coding_system): | |
1399 | * eval.c (For, Fand): Doc fixes. | |
1400 | Reported by Johan Bockg\e,Ae\e(Brd. | |
1401 | ||
656de71a JD |
1402 | 2007-07-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1403 | ||
23dacf80 | 1404 | * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. |
656de71a | 1405 | |
23dacf80 | 1406 | * xterm.h: Declare x_ewmh_activate_frame. |
656de71a JD |
1407 | |
1408 | * xterm.c (x_ewmh_activate_frame): New function. | |
1409 | (XTframe_raise_lower): Move code to x_ewmh_activate_frame. | |
1410 | ||
71ec17e6 MR |
1411 | 2007-07-17 Martin Rudalics <rudalics@gmx.at> |
1412 | ||
1413 | * window.c (Fdisplay_buffer): If largest or LRU window is the | |
1414 | only window, split it even if it is not eligible for splitting. | |
1415 | This restores the original behavior broken by the 2007-07-15 | |
1416 | change. | |
1417 | ||
e9818042 GM |
1418 | 2007-07-17 Glenn Morris <rgm@gnu.org> |
1419 | ||
1420 | * abbrev.c (abbrev_check_chars): New function. | |
6b8e474c SM |
1421 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): |
1422 | Call abbrev_check_chars to check abbrev characters are word | |
e9818042 GM |
1423 | constituents. Doc fix. |
1424 | ||
e6fca843 SM |
1425 | 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca> |
1426 | ||
1427 | * process.c (Fstart_process, Fmake_network_process) | |
1428 | (read_process_output): Fix up last changes. | |
1429 | ||
b5d2b4ab EZ |
1430 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> |
1431 | ||
1432 | * makefile.w32-in (clean): Don't delete *~. | |
1433 | ||
413a79ad AS |
1434 | 2007-07-16 Andreas Schwab <schwab@suse.de> |
1435 | ||
1436 | * window.c (Fdisplay_buffer): Use NILP. | |
1437 | (Fset_window_scroll_bars): Likewise. | |
1438 | ||
f1de8c77 MR |
1439 | 2007-07-15 Martin Rudalics <rudalics@gmx.at> |
1440 | ||
1441 | * window.c (window_min_size_2): New function. | |
1442 | (window_min_size_1, size_window, Fdisplay_buffer) | |
1443 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid | |
1444 | windows without mode- or header-lines when window-min-height is | |
1445 | too small. | |
1446 | (size_window): Reset nodelete_p after testing it, following an | |
1447 | earlier note by Kim F. Storm. | |
1448 | (display_buffer): Do not set split_height_threshold to twice the | |
1449 | value of window_min_height to avoid changing the value of a | |
1450 | customizable variable. Rather explicitly check whether the | |
1451 | height of the window that shall be splitted is at least as large | |
1452 | as split_height_threshold. | |
1453 | ||
5e1ab613 JR |
1454 | 2007-07-14 Jason Rumney <jasonr@gnu.org> |
1455 | ||
1456 | * process.c [WINDOWSNT]: Don't undefine AF_INET6. | |
1457 | ||
f01cbfdd RS |
1458 | 2007-07-14 Richard Stallman <rms@gnu.org> |
1459 | ||
1460 | * eval.c (maybe_call_debugger): New function. | |
1461 | (find_handler_clause): Use maybe_call_debugger. | |
1462 | Call it when the handler says `debug'. | |
1463 | Eliminate DEBUGGER_VALUE_PTR. | |
1464 | (Fsignal): Eliminate debugger_value. | |
1465 | (Qdebug): New variable. | |
1466 | (syms_of_eval): Initialize it. | |
1467 | ||
1bab435a JB |
1468 | 2007-07-14 Juanma Barranquero <lekktu@gmail.com> |
1469 | ||
1470 | * eval.c (Fprogn): | |
1471 | * keyboard.c (Ftrack_mouse): | |
1472 | * print.c (Fwith_output_to_temp_buffer): | |
1473 | * window.c (Fsave_window_excursion): Doc fix. | |
1474 | ||
be436d23 SM |
1475 | 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
1476 | ||
1477 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. | |
1478 | ||
60f0fb11 SM |
1479 | 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca> |
1480 | ||
1481 | * process.h (struct Lisp_Process): Turn slots infd, outfd, | |
1482 | kill_without_query, pty_flag, tick, update_tick, decoding_carryover, | |
1483 | inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, | |
1484 | read_output_delay, and read_output_skip from Lisp_Objects to ints. | |
1485 | Remove unused encoding_carryover. | |
1486 | * process.c: Adjust all functions accordingly. | |
1487 | ||
d8b18043 RS |
1488 | 2007-07-12 Richard Stallman <rms@gnu.org> |
1489 | ||
1490 | * term.c: Include unistd.h only if HAVE_UNISTD_H. | |
1491 | ||
d5781bb6 JR |
1492 | 2007-07-11 Jason Rumney <jasonr@gnu.org> |
1493 | ||
1494 | * makefile.w32-in (LIBS): Include OLE32. | |
1495 | ||
1496 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | |
1497 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. | |
1498 | ||
5bb7dfee SM |
1499 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
1500 | ||
1501 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. | |
1502 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned | |
1503 | from a Lisp_Object into a bare pointer. | |
1504 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | |
1505 | Adjust the code correspondingly. | |
1506 | ||
1507 | * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. | |
1508 | ||
1509 | * term.c: Include unistd.h for ttyname, used in handle_one_term_event. | |
1510 | (term_show_mouse_face): Remove unused var `j'. | |
1511 | (handle_one_term_event): Remove unused vars `i' and `j'. | |
1512 | Don't cast return value of ttyname since it's not necessary. | |
1513 | ||
a1be1ce8 SM |
1514 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1515 | ||
5045e68e SM |
1516 | * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using |
1517 | USE_LSB_TAG. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. | |
1518 | ||
8071c00f SM |
1519 | * fns.c (map_char_table): Use an array of int for `indices' rather than |
1520 | an array of Lisp_Objects (which are only ever integers anyway). | |
1521 | (Fmap_char_table): Update caller. | |
1522 | * lisp.h: Update prototype. | |
1523 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): | |
1524 | * fontset.c (Ffontset_info): | |
1525 | * casetab.c (set_case_table): Update callers. | |
1526 | ||
1527 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. | |
1528 | ||
fab84e3c SM |
1529 | * keymap.c (struct accessible_keymaps_data) |
1530 | (struct where_is_internal_data): New structures. | |
1531 | (accessible_keymaps_1, where_is_internal_1): Use them to change | |
1532 | interface to adhere to the one used by map_keymap. | |
1533 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | |
1534 | (accessible_keymaps_char_table, where_is_internal_2): Remove. | |
1535 | ||
a1be1ce8 SM |
1536 | * keymap.h (map_keymap_function_t): More informative prototype. |
1537 | ||
ef887810 RS |
1538 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> |
1539 | ||
1540 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. | |
1541 | (looking_at_1): Don't change search_regs and last_thing_searched | |
1542 | if `inhibit-changing-match-data' is non-nil. | |
1543 | (string_match_1, search_buffer, set_search_regs): Likewise. | |
1544 | (syms_of_search): Add Lisp level definition for | |
1545 | `inhibit-changing-match-data' and set it to nil. | |
8071c00f SM |
1546 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute |
1547 | start and end of the match, instead of using values in search_regs. | |
ef887810 | 1548 | |
4d02fc25 SM |
1549 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> |
1550 | ||
1551 | * minibuf.c (Fcompleting_read): New value `confirm-only' | |
1552 | for `require-match'. | |
1553 | ||
fe45b81f SM |
1554 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> |
1555 | ||
1556 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | |
1557 | part of the 2007-06-27 change to syms_of_fileio. | |
1558 | ||
a56dd283 YM |
1559 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1560 | ||
1561 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
1562 | Check WINDOWP before using XWINDOW. Consolidate return statements. | |
1563 | ||
0cf9f5b5 RS |
1564 | 2007-06-27 Richard Stallman <rms@gnu.org> |
1565 | ||
1566 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
1567 | ||
a66f285a JB |
1568 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
1569 | ||
1570 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | |
1571 | ||
8d0d84d2 YM |
1572 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1573 | ||
1574 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | |
1575 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | |
1576 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | |
1577 | (_free_internal, memalign): Use them. | |
1578 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | |
1579 | Initialize to PTHREAD_MUTEX_INITIALIZER. | |
1580 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | |
1581 | (morecore_nolock): Rename from morecore. All uses changed. | |
1582 | Use only nolock versions of internal allocation functions. | |
1583 | (_malloc_internal_nolock, _realloc_internal_nolock) | |
1584 | (_free_internal_nolock): New functions created from | |
1585 | _malloc_internal, _realloc_internal, and _free_internal. | |
1586 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | |
1587 | Copy hook value to automatic variable before its use. | |
1588 | (memalign): Copy hook value to automatic variable before its use. | |
1589 | ||
5a0bbd9a KH |
1590 | 2007-06-26 Kenichi Handa <handa@m17n.org> |
1591 | ||
1592 | * coding.c (Ffind_operation_coding_system): Docstring improved. | |
1593 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. | |
1594 | ||
9a51747b DK |
1595 | 2007-06-25 David Kastrup <dak@gnu.org> |
1596 | ||
1597 | * keymap.c (Fcurrent_active_maps): Add `position' argument. | |
1598 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | |
1599 | cater for additional parameter. | |
1600 | ||
1601 | * keymap.h: Adjust number of parameters to `current-active-maps'. | |
1602 | ||
1603 | * doc.c (Fsubstitute_command_keys): Adjust call of | |
1604 | `current-active-maps'. | |
1605 | ||
e4305426 DK |
1606 | 2007-06-25 David Kastrup <dak@gnu.org> |
1607 | ||
1608 | * callint.c (Fcall_interactively): Make the parsing of interactive | |
1609 | specs somewhat more readable. | |
1610 | ||
511a18d9 YM |
1611 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1612 | ||
1613 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background | |
1614 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | |
1615 | if extended background has already been filled. | |
1616 | ||
512eb161 YM |
1617 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1618 | ||
1619 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. | |
1620 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. | |
1621 | ||
1622 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: | |
1623 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p | |
1624 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. | |
1625 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | |
1626 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | |
1627 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | |
1628 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
1629 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | |
1630 | Run timers during dialog popup. | |
1631 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | |
1632 | ||
2386b1f1 JR |
1633 | 2007-06-21 Jason Rumney <jasonr@gnu.org> |
1634 | ||
1635 | * image.c (convert_mono_to_color_image): Swap fore and background. | |
1636 | ||
fab8b787 JR |
1637 | 2007-06-20 Jason Rumney <jasonr@gnu.org> |
1638 | ||
1639 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
1640 | (w32_free_bdf_font): Unmap memory not handle. | |
1641 | ||
15bdd7a0 | 1642 | 2007-06-20 Sam Steingold <sds@gnu.org> |
3cacba85 SS |
1643 | |
1644 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
1645 | definition. | |
1646 | ||
1bb8a291 JB |
1647 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> |
1648 | ||
1649 | * w32term.c (w32_delete_display): Remove leftover declaration. | |
1650 | (w32_define_cursor, w32_initialize): Make static. | |
1651 | ||
1652 | * w32.c (_wsa_errlist): Fix typo in error message. | |
1653 | (init_environment): Ignore any environment variable from the | |
1654 | registry having a null value. | |
1655 | ||
92648dea GM |
1656 | 2007-06-20 Glenn Morris <rgm@gnu.org> |
1657 | ||
1658 | * Makefile.in (LIBGIF): Default to -lgif. | |
1659 | ||
ff25d115 JR |
1660 | 2007-06-17 Jason Rumney <jasonr@gnu.org> |
1661 | ||
1662 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
1663 | unicode strings. | |
1664 | ||
a1a578a5 JB |
1665 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> |
1666 | ||
1667 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
1668 | Fix typo in docstring. | |
1669 | ||
af41f8a8 EZ |
1670 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> |
1671 | ||
1672 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
1673 | and their keybindings. | |
1674 | ||
8b29cab9 CY |
1675 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> |
1676 | ||
1677 | * composite.c (update_compositions): Fix last fix. | |
1678 | ||
c433c134 JR |
1679 | 2007-06-14 Jason Rumney <jasonr@gnu.org> |
1680 | ||
1681 | * w32.c (get_process_times_fn): New function pointer. | |
1682 | (globals_of_w32): Intialize it if present in kernel32.dll. | |
1683 | (w32_get_internal_run_time): New function. | |
1684 | ||
1685 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. | |
1686 | ||
553d3164 KH |
1687 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> |
1688 | ||
1689 | * composite.c (update_compositions): Check the validness of | |
1690 | compositions. | |
1691 | ||
446ba96f YM |
1692 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1693 | ||
1694 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | |
1695 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
1696 | ||
1697 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
1698 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | |
1699 | ||
1700 | * macgui.h (USE_MAC_TOOLBAR): New define. | |
1701 | ||
1702 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
1703 | Return immediately unless popup is activated. | |
1704 | ||
1705 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe | |
1706 | background to scroll bar gap. | |
1707 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | |
1708 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | |
1709 | scroll bars on frame edge. Check fringe background extension. | |
1710 | Don't clear extended fringe background area. | |
1711 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
1712 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
1713 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | |
1714 | [USE_MAC_TOOLBAR]: New macros. | |
1715 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
1716 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | |
1717 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | |
1718 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
1719 | [USE_MAC_TOOLBAR]: New functions. | |
1720 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | |
1721 | manually if previous repositioning has failed. | |
1722 | (mac_handle_keyboard_event): Use precomputed event kind. | |
1723 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | |
1724 | as tool bar item click. Handle mouse movement over tool bar items. | |
1725 | ||
1726 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member | |
1727 | toolbar_win_gravity. | |
1728 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | |
1729 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | |
1730 | Add externs. | |
1731 | ||
1732 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
1733 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | |
1734 | ||
9720173f CY |
1735 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> |
1736 | ||
1737 | * image.c (search_image_cache): Remove unused variable. | |
1738 | ||
1217dd00 CY |
1739 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> |
1740 | ||
1741 | * xfns.c, xmenu.c: Link to xaw3d if available. | |
1742 | ||
c5b8e0ea YM |
1743 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1744 | ||
1745 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members | |
1746 | frame_foreground and frame_background. | |
1747 | ||
1748 | * image.c (lookup_image): Save frame foreground and background colors. | |
1749 | (search_image_cache): Check if saved and current frame colors match. | |
1750 | ||
c69b0314 SM |
1751 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> |
1752 | ||
1753 | * regex.c (regex_compile): Remove the `regnum' counter. | |
1754 | Use bufp->re_nsub instead. Add support for \(?N:RE\). | |
1755 | ||
c9612b8e SM |
1756 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
1757 | ||
1758 | * term.c: Include intervals.h to declare Fget_text_property. | |
1759 | ||
843d2458 JR |
1760 | 2007-06-10 Jason Rumney <jasonr@gnu.org> |
1761 | ||
1762 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | |
1763 | ||
1e0d2d60 | 1764 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> |
977f6cfb JB |
1765 | |
1766 | * callint.c (Fcall_interactively): | |
1767 | * editfns.c (Fdelete_and_extract_region): | |
1768 | * fileio.c (Fread_file_name): | |
1769 | * fns.c (Fmapconcat): | |
1770 | * keyboard.c (cmd_error_internal): | |
1771 | * keymap.c (Fkey_description): | |
1772 | * lread.c (openp): | |
1773 | * minibuf.c (read_minibuf): | |
1774 | * search.c (wordify): | |
1775 | * sunfns.c (sel_read): | |
1776 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | |
1777 | * xfns.c (x_default_scroll_bar_color_parameter): | |
1778 | * xmenu.c (menu_help_callback): | |
1779 | * xselect.c (Fx_get_atom_name): | |
1780 | * xterm.c (x_term_init): Use empty_unibyte_string. | |
1781 | ||
15bdd7a0 | 1782 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) |
977f6cfb JB |
1783 | |
1784 | * alloc.c (init_strings): Initialize canonical empty strings. | |
1785 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate | |
1786 | canonical empty string when the requested size is 0. | |
1787 | ||
1788 | * emacs.c (empty_unibyte_string): Rename from empty_string. | |
1789 | (empty_multibyte_string): New canonical empty string. | |
1790 | (syms_of_emacs): Don't initialize empty_string. | |
1791 | ||
1792 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | |
1793 | string, if appropriate. | |
1794 | (empty_unibyte_string, empty_multibyte_string): New externs. | |
1795 | (empty_string): Remove extern. | |
1796 | ||
1797 | * lread.c (syms_of_lread): Use empty_unibyte_string. | |
1798 | ||
42c4c67a JR |
1799 | 2007-06-07 Jason Rumney <jasonr@gnu.org> |
1800 | ||
1801 | * s/ms-w32.h: Don't define HAVE_TZNAME. | |
1802 | ||
1803 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. | |
1804 | ||
aa8280d3 YM |
1805 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1806 | ||
1807 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
1808 | ||
1809 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | |
1810 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | |
1811 | ||
1812 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
1813 | Don't call next handler. | |
1814 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | |
1815 | Remove argument. Install handler to application. | |
1816 | (set_frame_menubar): Don't change deep_p. | |
1e0d2d60 | 1817 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and |
aa8280d3 YM |
1818 | FRAME_OUTER_TO_INNER_DIFF_Y. |
1819 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
1820 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
1821 | [HAVE_DIALOGS]: New macros. | |
1822 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | |
1823 | Use them. | |
1824 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
1825 | ||
1826 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | |
1827 | init_service_handler. All callers changed. Return OSStatus value. | |
1828 | ||
1829 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | |
1830 | All callers changed so as not to call SetPortWindowPort. | |
1831 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
1832 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | |
1833 | mac_draw_string_common. | |
1834 | (mac_draw_image_string_qd): Likewise. | |
1835 | (mac_draw_string_common): Use them. Add INLINE. | |
1836 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | |
1837 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | |
1838 | GetGlobalMouse. | |
1839 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | |
1840 | and FRAME_OUTER_TO_INNER_DIFF_Y. | |
1841 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | |
1842 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | |
1843 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | |
1844 | repositioning window to mac_handle_window_event. | |
1845 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | |
1846 | saving window location to mac_handle_window_event | |
1847 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | |
1848 | (install_menu_target_item_handler): Remove argument in extern. | |
1849 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | |
1850 | Also accept command events. | |
1851 | (do_keystroke): New function created from XTread_socket. | |
1852 | (init_command_handler): Remove functions. | |
1853 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | |
1854 | and save window location by kEventWindowShowing and kEventWindowHiding | |
1855 | handlers here. Don't call next handler for window state change and | |
1856 | focus events. | |
1857 | (mac_handle_application_event, mac_handle_keyboard_event) | |
1858 | [TARGET_API_MAC_CARBON]: New functions. | |
1859 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | |
1860 | kEventWindowShowing and kEventWindowHiding events. Move installation | |
1861 | of mouse, font, text input and menu target item handlers to | |
1862 | install_application_handler. | |
1863 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | |
1864 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1865 | New function. | |
1866 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1867 | Register it. | |
c9612b8e SM |
1868 | (XTread_socket) [TARGET_API_MAC_CARBON]: |
1869 | Consolidate SendEventToEventTarget calls. | |
1870 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | |
1871 | Move application activation handler to mac_handle_application_event. | |
1872 | Move keyboard handler to mac_handle_keyboard_event. | |
aa8280d3 YM |
1873 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. |
1874 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
1875 | init_command_handler. Call install_application_handler. | |
1876 | ||
1877 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | |
1878 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | |
1879 | ||
6926c954 GM |
1880 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
1881 | ||
1882 | * emacs.c (main): Use `emacs-copyright' in --version output. | |
1883 | ||
6fe04c89 CY |
1884 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> |
1885 | ||
c9612b8e | 1886 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. |
6fe04c89 | 1887 | |
7eb0d727 YM |
1888 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1889 | ||
1890 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | |
1891 | ||
1892 | * macgui.h: Replace WindowPtr with WindowRef. | |
1893 | ||
1894 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
1895 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
1896 | Replace ControlHandle with ControlRef. | |
1897 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | |
1898 | ||
1899 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
1900 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
1901 | Replace ControlHandle with ControlRef. | |
1902 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | |
1903 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | |
1904 | ||
1905 | * macterm.h (struct scroll_bar): Rename member control_handle_low | |
1906 | and control_handle_high to control_ref_low and control_ref_high. | |
1907 | All uses changed. | |
1908 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | |
1909 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | |
1910 | respectively. All uses changed. | |
1911 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | |
1912 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
1913 | with WindowRef in externs. | |
1914 | ||
65fddb74 JB |
1915 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> |
1916 | ||
1917 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. | |
1918 | ||
db1213a9 NR |
1919 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> |
1920 | ||
1921 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | |
1922 | ||
65fddb74 | 1923 | * frame.c (Fmouse_position, Fmouse_pixel_position): |
db1213a9 NR |
1924 | Condition on HAVE_GPM too. |
1925 | ||
1926 | * term.c (term_mouse_highlight): Remove unused variables. | |
1927 | (Fterm_open_connection): Set gpm_zerobased to 1. | |
1928 | (term_mouse_movement, term_mouse_click, handle_one_term_event): | |
1929 | Use zero based co-ordinates. | |
1930 | (handle_one_term_event): Report a drag as mouse movement too. | |
1931 | ||
1932 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. | |
1933 | ||
d94df25b CY |
1934 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> |
1935 | ||
1936 | * image.c (search_image_cache): New function. Require background | |
1937 | color match if background color is unspecified in the image spec. | |
1938 | (uncache_image, lookup_image): Use it. | |
1939 | ||
4797b6d9 JB |
1940 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> |
1941 | ||
1942 | * window.c (Fshrink_window): Reflow docstring. | |
1943 | ||
1ffe7343 NR |
1944 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
1945 | ||
1946 | * Version 22.1 released. | |
1947 | ||
1948 | 2007-06-01 Richard Stallman <rms@gnu.org> | |
1949 | ||
1950 | * xfns.c (x_encode_text): Add GCPRO. | |
1951 | ||
1952 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
1953 | ||
1954 | * xfns.c (x_set_name_internal): Save encoded name before | |
1955 | x_encode_text in case string data is relocated. | |
1956 | ||
1957 | 2007-05-31 Richard Stallman <rms@gnu.org> | |
1958 | ||
1959 | * buffer.c (syms_of_buffer): Doc fix. | |
1960 | ||
1961 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> | |
1962 | ||
1963 | * sysdep.c (init_sys_modes): Add rather than replace with | |
1964 | O_NONBLOCK. | |
1965 | ||
1966 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | |
1967 | term_mouse_moveto. | |
1968 | ||
1969 | * termhooks.h (term_mouse_moveto): New extern. | |
1970 | ||
1971 | * term.c (mouse_face_window): Rename... | |
1972 | (Qmouse_face_window): ...to this. | |
1973 | (term_show_mouse_face, term_clear_mouse_face) | |
1974 | (term_mouse_highlight): Use Qmouse_face_window. | |
1975 | (term_mouse_moveto): New function. | |
1976 | (term_mouse_position): Make it work. | |
1977 | (syms_of_term): Uncomment assignment to mouse_position_hook. | |
1978 | Staticpro Qmouse_face_window. | |
1979 | ||
1980 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
1981 | ||
1982 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
1983 | around current_column call. | |
1984 | ||
1985 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | |
1986 | ||
1987 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | |
1988 | * xdisp.c (next_element_from_buffer): | |
1989 | * window.c (delete_window): | |
1990 | * term.c (term_mouse_highlight): | |
1991 | * msdos.c (getdefdir): | |
1992 | * macterm.c (mac_create_bitmap_from_bitmap_data) | |
1993 | (init_font_name_table): | |
1994 | * fns.c (Fsxhash): | |
1995 | * data.c (Fmake_local_variable): | |
1996 | * ccl.c (ccl_driver): Likewise. | |
1997 | ||
1998 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
1999 | ||
2000 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
2001 | Call mac_wakeup_from_rne on window size change. | |
2002 | ||
2003 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> | |
2004 | ||
2005 | * image.c (uncache_image): Fix typo. | |
2006 | ||
2007 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) | |
2008 | ||
2009 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | |
2010 | ||
2011 | 2007-05-22 Richard Stallman <rms@gnu.org> | |
2012 | ||
2013 | * xterm.c (x_connection_closed): Remove NO_RETURN. | |
2014 | ||
2015 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | |
2016 | ||
2017 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | |
2018 | ||
2019 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | |
2020 | ||
2021 | * image.c (uncache_image): New function. | |
2022 | (Fimage_refresh): New function. | |
2023 | ||
2024 | 2007-05-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
2025 | ||
2026 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | |
2027 | ||
2028 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
2029 | ||
2030 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | |
2031 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. | |
2032 | ||
2033 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
2034 | ||
2035 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | |
2036 | conditional on [HAVE_GPM_H]. | |
2037 | ||
2038 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
2039 | ||
2040 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
2041 | the new location is valid. | |
2042 | ||
2043 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
2044 | ||
2045 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
2046 | mac_get_window_bounds. | |
2047 | ||
2048 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
2049 | ||
2050 | * Makefile.in (LIBGPM): Allow it to be set from configure. | |
2051 | If set then link Emacs with it. | |
2052 | ||
2053 | * config.in: Regenerate. | |
2054 | ||
2055 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | |
2056 | New externs. | |
2057 | ||
2058 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. | |
2059 | Include gpm.h. | |
2060 | (handle_one_term_event, term_gpm): New externs. | |
2061 | ||
2062 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking | |
2063 | and allow it to be interrupted by SIGIO. | |
2064 | ||
2065 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. | |
2066 | (wait_reading_process_output): Wait on gpm_fd too. | |
2067 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. | |
2068 | (add_gpm_wait_descriptor_called_flag): New variable. | |
2069 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. | |
2070 | ||
2071 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) | |
2072 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) | |
2073 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | |
2074 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. | |
2075 | (make_lispy_event): Add case GPM_CLICK_EVENT. | |
2076 | (read_avail_input): Handle mouse input. | |
2077 | ||
2078 | * term.c (write_glyphs_with_face): New function. | |
2079 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. | |
2080 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) | |
2081 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) | |
2082 | (mouse_face_face_id, term_gpm, pos_x, pos_y) | |
2083 | (last_mouse_x, last_mouse_y): New variables. | |
2084 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) | |
2085 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | |
2086 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) | |
2087 | (Fterm_close_connection): New functions. | |
2088 | (term_init): Initialise mouse_face_window. | |
2089 | ||
2090 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> | |
2091 | ||
2092 | * xdisp.c (redisplay_window): If first window line is a | |
2093 | continuation line, recompute the new window start instead of | |
2094 | recentering. | |
2095 | ||
2096 | 2007-05-18 Glenn Morris <rgm@gnu.org> | |
2097 | ||
2098 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | |
2099 | Suggested by Alfred M. Szmidt <ams@gnu.org>. | |
2100 | ||
2101 | 2007-05-17 Glenn Morris <rgm@gnu.org> | |
2102 | ||
2103 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | |
2104 | ||
2105 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
2106 | ||
2107 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
2108 | dead key repeat and up events. | |
2109 | ||
2110 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> | |
2111 | ||
2112 | * image.c (pbm_load): Check image size for monochrome pbm. | |
2113 | ||
2114 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> | |
2115 | ||
2116 | * xterm.c (XTread_socket): Revert last change. | |
2117 | ||
2118 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> | |
2119 | ||
2120 | * image.c (pbm_load): Correctly check image size for greyscale pbm. | |
2121 | ||
2122 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). | |
2123 | ||
2124 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
2125 | ||
2126 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object | |
2127 | mixup (YAILOM). | |
2128 | ||
2129 | 2007-05-07 Andreas Schwab <schwab@suse.de> | |
2130 | ||
2131 | * keymap.c (Flookup_key): Fix typo in last change. | |
2132 | ||
2133 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
2134 | ||
2135 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | |
2136 | mapping for unibyte strings. | |
2137 | ||
2138 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
2139 | ||
2140 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
2141 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | |
2142 | ||
2143 | 2007-04-29 Richard Stallman <rms@gnu.org> | |
2144 | ||
2145 | * insdel.c (replace_range): For undo, record insertion first. | |
2146 | ||
2147 | 2007-04-29 Andreas Schwab <schwab@suse.de> | |
2148 | ||
2149 | * lisp.h (VECSIZE): Use OFFSETOF. | |
2150 | ||
2151 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
2152 | ||
2153 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
2154 | disabled lines. | |
2155 | ||
2156 | 2007-04-28 Richard Stallman <rms@gnu.org> | |
2157 | ||
2158 | * lread.c (read_escape): In a string, \s is always space. | |
2159 | ||
2160 | 2007-04-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
2161 | ||
2162 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | |
2163 | ||
2164 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | |
2165 | submenu for menu bar items. | |
2166 | ||
382c648d | 2167 | See ChangeLog.10 for earlier changes. |
6922b018 KH |
2168 | |
2169 | ;; Local Variables: | |
49b3bd82 | 2170 | ;; coding: iso-2022-7bit |
33462dfa | 2171 | ;; add-log-time-zone-rule: t |
6922b018 | 2172 | ;; End: |
2a34a036 | 2173 | |
382c648d | 2174 | Copyright (C) 2007 Free Software Foundation, Inc. |
7f6d64f8 GM |
2175 | |
2176 | This file is part of GNU Emacs. | |
2177 | ||
2178 | GNU Emacs is free software; you can redistribute it and/or modify | |
2179 | it under the terms of the GNU General Public License as published by | |
684d6f5b | 2180 | the Free Software Foundation; either version 3, or (at your option) |
7f6d64f8 GM |
2181 | any later version. |
2182 | ||
2183 | GNU Emacs is distributed in the hope that it will be useful, | |
2184 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
2185 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
2186 | GNU General Public License for more details. | |
2187 | ||
2188 | You should have received a copy of the GNU General Public License | |
2189 | along with GNU Emacs; see the file COPYING. If not, write to the | |
2190 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
2191 | Boston, MA 02110-1301, USA. | |
ab5796a9 | 2192 | |
28f60c3d | 2193 | ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40 |