Commit | Line | Data |
---|---|---|
8bba1b5c MH |
1 | 2008-01-03 Magnus Henoch <magnus@zemdatav> |
2 | ||
3 | * dbusbind.c (xd_append_arg): Use unsigned char instead of | |
4 | unsigned int for byte values (necessary for big-endian platform). | |
2c3a8b27 | 5 | (Fdbus_call_method): Handle the case of no returned arguments. |
8bba1b5c | 6 | |
15f16c1b MA |
7 | 2007-12-31 Tom Tromey <tromey@redhat.com> (tiny change) |
8 | ||
9 | * dbusbind.c (xd_read_message): Use non-static input_event struct. | |
10 | ||
a271e124 MH |
11 | 2007-12-31 Magnus Henoch <mange@freemail.hu> |
12 | ||
13 | * dbusbind.c (xd_signature): Signature of variant is just "v". | |
14 | ||
17bc8f94 MA |
15 | 2007-12-30 Michael Albinus <michael.albinus@gmx.de> |
16 | ||
17 | * dbusbind.c: Fix several errors and compiler warnings. Reported | |
18 | by Tom Tromey <tromey@redhat.com> | |
19 | (XD_ERROR, XD_DEBUG_MESSAGE) | |
20 | (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". | |
21 | (xd_append_arg): Part for basic D-Bus types rewitten. | |
22 | (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and | |
23 | DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not | |
24 | appropriate. | |
25 | (xd_read_message): Return Qnil. Don't signal an error; it is not | |
26 | useful during event reading. | |
27 | (Fdbus_register_signal): Signal an error if the check for | |
28 | FUNCTIONP fails. | |
29 | (Fdbus_register_method): New function. The implementation is not | |
30 | complete, the call of the function signals an error therefore. | |
31 | (Fdbus_unregister_object): New function, renamed from | |
32 | Fdbus_unregister_signal. The initial check signals an error, if | |
33 | it the objct is not well formed. | |
34 | ||
dd6f2802 RS |
35 | 2007-12-30 Richard Stallman <rms@gnu.org> |
36 | ||
37 | * textprop.c (get_char_property_and_overlay): | |
38 | Signal error if POSITION is out of range in a buffer. | |
39 | ||
1da8a031 MR |
40 | 2007-12-29 Martin Rudalics <rudalics@gmx.at> |
41 | ||
42 | * w32fns.c (Fx_create_frame): Make copy of frame parameters | |
43 | because the original parameters are in pure storage now. | |
44 | ||
5742be86 YM |
45 | 2007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46 | ||
47 | * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. | |
48 | ||
b014713c EZ |
49 | 2007-12-22 Eli Zaretskii <eliz@gnu.org> |
50 | ||
b17f53ab MB |
51 | * callint.c (syms_of_callint) <command-history>: Add reference to |
52 | history-length in the doc string. | |
048addec | 53 | |
b17f53ab | 54 | 2007-12-17 Jason Rumney <jasonr@gnu.org> |
048addec | 55 | |
b17f53ab MB |
56 | * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned |
57 | before passing as wParam. | |
048addec | 58 | |
9af5078b MA |
59 | 2007-12-22 Michael Albinus <michael.albinus@gmx.de> |
60 | ||
61 | * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE, | |
62 | DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT64, | |
63 | DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE and DBUS_TYPE_SIGNATURE. | |
64 | Return float when DBUS_TYPE_INT32 or DBUS_TYPE_UINT32 do not fit | |
65 | as number. | |
66 | (Fdbus_call_method): Fix docstring. | |
67 | ||
87cf1a39 MA |
68 | 2007-12-21 Michael Albinus <michael.albinus@gmx.de> |
69 | ||
70 | * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): | |
71 | New macros. | |
72 | (XD_SYMBOL_TO_DBUS_TYPE): Renamed from | |
73 | XD_LISP_SYMBOL_TO_DBUS_TYPE. | |
74 | (XD_OBJECT_TO_DBUS_TYPE): Renamed from | |
75 | XD_LISP_OBJECT_TO_DBUS_TYPE. Simplify. | |
76 | (xd_signature): New function. | |
77 | (xd_append_arg): Compute also signatures. Major rewrite. | |
78 | (xd_retrieve_arg): Make debug messages friendly. | |
79 | (Fdbus_call_method, Fdbus_send_signal): Extend docstring. Check | |
80 | for signatures of arguments. | |
81 | ||
54371585 MA |
82 | 2007-12-19 Michael Albinus <michael.albinus@gmx.de> |
83 | ||
84 | * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean) | |
85 | (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32) | |
86 | (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) | |
87 | (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) | |
88 | (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) | |
89 | (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type | |
90 | symbols. | |
91 | (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. | |
92 | (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. | |
93 | (xd_retrieve_value): Removed. Functionality included in ... | |
94 | (xd_append_arg): New function. | |
95 | (Fdbus_call_method, Fdbus_send_signal): Apply it. | |
96 | ||
f5306ca3 MA |
97 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> |
98 | ||
99 | * dbusbind.c (top): Include <stdio.h>. | |
100 | (Fdbus_call_method, Fdbus_send_signal): Apply type cast in | |
101 | dbus_message_new_method_call and dbus_message_new_signal. | |
102 | (Fdbus_register_signal): Rename unique_name to uname. Check | |
103 | handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of | |
104 | non-existing unique name. Fix typos in matching rule. Return an | |
105 | object which is useful in Fdbus_unregister_signal. | |
106 | (Fdbus_unregister_signal): Reimplementation, in order to remove | |
107 | only the corresponding entry. | |
108 | (Vdbus_registered_functions_table): Change the order of entries. | |
109 | Apply these changes in xd_read_message and Fdbus_register_signal. | |
110 | ||
77a28bbf AS |
111 | 2007-12-16 Andreas Schwab <schwab@suse.de> |
112 | ||
113 | * fileio.c (Finsert_file_contents): Fix overflow check to not | |
114 | depend on undefined integer overflow. | |
115 | ||
2e3566d8 JR |
116 | 2007-12-14 Jason Rumney <jasonr@gnu.org> |
117 | ||
118 | * w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT | |
119 | for characters above 127. | |
120 | ||
bf254037 JR |
121 | 2007-12-13 Jason Rumney <jasonr@gnu.org> |
122 | ||
123 | * w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check | |
124 | before dereferencing array. | |
125 | (lookup_vk_code): Remove zero comparison. | |
126 | ||
eb7c7bf5 MA |
127 | 2007-12-14 Michael Albinus <michael.albinus@gmx.de> |
128 | ||
129 | * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) | |
130 | (Fdbus_call_method, Fdbus_send_signal, xd_read_message): Use | |
131 | `unsigned int' instead of `uint'. | |
132 | (xd_read_message, Fdbus_register_signal): Split expressions into | |
133 | multiple lines before operators "&&" and "||", according to the | |
134 | GNU Coding Standards. | |
135 | ||
34fb0fc9 EZ |
136 | 2007-12-14 Eli Zaretskii <eliz@gnu.org> |
137 | ||
138 | * dispextern.h (WINDOWS_NT): Fix incorrect spelling of WINDOWSNT. | |
139 | ||
c7d97628 JL |
140 | 2007-12-12 Juri Linkov <juri@jurta.org> |
141 | ||
142 | * buffer.c (Frename_buffer): In interactive spec replace | |
143 | `read-buffer' with `read-string' that uses `buffer-name-history' | |
144 | as history, and the current buffer's name as default. | |
145 | ||
3709505e SM |
146 | 2007-12-10 Stefan Monnier <monnier@iro.umontreal.ca> |
147 | ||
148 | * keyboard.c (Fcommand_execute): Call Qcall_interactively instead of | |
149 | manipulating the backtrace manually. | |
150 | (make_lispy_event): Merge the ASCII and MULTIBYTE cases. | |
151 | (struct backtrace, backtrace_list): Remove. | |
152 | (command_loop_1): Remove dead var `no_direct'. | |
153 | ||
154 | * buffer.c (reset_buffer_local_variables): If permanent_too is 0, also | |
155 | preserve non-built-in buffer-local variables. | |
156 | (Fkill_all_local_variables): Don't re-create&re-set permanent | |
157 | buffer-local variables. | |
158 | ||
e2bec886 JL |
159 | 2007-12-09 Juri Linkov <juri@jurta.org> |
160 | ||
161 | * buffer.c (Frename_buffer): Change interactive spec from "s" to | |
162 | Lisp code that uses `read-buffer' with current buffer as default. | |
163 | ||
a31d47c7 MA |
164 | 2007-12-08 Michael Albinus <michael.albinus@gmx.de> |
165 | ||
166 | * dbusbind.c (xd_read_message): Generate an event for every | |
167 | registered handler. There might be several handlers registered | |
168 | for the same signal. | |
169 | (Fdbus_register_signal): Don't overwrite a registration for the | |
170 | same signal. Add a new registration if handlers are different. | |
171 | (Vdbus_registered_functions_table): Rework doc string. | |
172 | ||
52da95fa MA |
173 | 2007-12-07 Michael Albinus <michael.albinus@gmx.de> |
174 | ||
175 | * dbusbind.c (Fdbus_get_unique_name, xd_read_message) | |
176 | (Fdbus_register_signal): Use DBUS_MAXIMUM_NAME_LENGTH and | |
177 | DBUS_MAXIMUM_MATCH_RULE_LENGTH for string lengths. | |
178 | (Fdbus_call_method, Fdbus_send_signal, Fdbus_register_signal): | |
179 | Unify argument lists. | |
180 | (xd_read_message, Fdbus_register_signal) Reorder and extend event | |
181 | arguments and hash table keys. Use unique name for service. | |
182 | (Fdbus_unregister_signal): Remove checks. | |
183 | (Vdbus_registered_functions_table): Fix doc string. | |
184 | ||
e5e76c04 | 185 | 2007-12-05 Magnus Henoch <mange@freemail.hu> |
0277bfa1 RS |
186 | |
187 | * process.c (make_process): Initialize pty_flag to 0. | |
188 | ||
e5e76c04 | 189 | 2007-12-05 Jason Rumney <jasonr@gnu.org> |
44b1dc2e JR |
190 | |
191 | * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly | |
192 | specified XBMs. | |
193 | ||
e5e76c04 | 194 | 2007-12-05 Richard Stallman <rms@gnu.org> |
048addec | 195 | |
e5e76c04 | 196 | * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix. |
048addec | 197 | |
e5e76c04 | 198 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
048addec | 199 | |
e5e76c04 MB |
200 | * mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]: |
201 | New variable. | |
202 | (mac_try_close_socket) [MAC_OSX]: New function. | |
203 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: | |
204 | Update cfsockets_for_select. Replace invalid CFRunLoop source. | |
048addec | 205 | |
e5e76c04 MB |
206 | * sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]: |
207 | Use mac_try_close_socket. | |
048addec | 208 | |
e5e76c04 | 209 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
048addec | 210 | |
e5e76c04 MB |
211 | * unexmacosx.c (unrelocate): New argument BASE. Use it instead of |
212 | reloc_base. | |
213 | (copy_dysymtab): Compute relocation base here. | |
214 | (rebase_reloc_address) [__ppc64__]: New function. | |
215 | (copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be | |
216 | changed. | |
048addec | 217 | |
e5e76c04 | 218 | 2007-12-05 Jason Rumney <jasonr@gnu.org> |
048addec | 219 | |
e5e76c04 | 220 | * w32proc.c (sys_spawnve): Quote args with wildcards. |
048addec | 221 | |
e5e76c04 | 222 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
048addec | 223 | |
e5e76c04 MB |
224 | * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and |
225 | __objc_* sections. | |
226 | (unrelocate) [_LP64]: Set relocation base to address of data segment. | |
048addec | 227 | |
96faeb40 MA |
228 | 2007-12-05 Michael Albinus <michael.albinus@gmx.de> |
229 | ||
230 | * dbusbind.c (xd_read_message): Return value is a Lisp_Object. | |
231 | Move check for Vdbus_registered_functions_table to | |
232 | xd_read_queued_messages. | |
233 | (xd_read_queued_messages): Protect xd_read_message calls by | |
234 | internal_condition_case_1. | |
235 | ||
39abdd4a MA |
236 | 2007-12-04 Michael Albinus <michael.albinus@gmx.de> |
237 | ||
238 | * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Renamed from | |
239 | Qdbus_system_bus and Qdbus_session_bus, respectively. | |
240 | (Vdbus_intern_symbols): Removed. | |
241 | (Vdbus_registered_functions_table): New hash table. | |
242 | (XD_SYMBOL_INTERN_SYMBOL): Removed. | |
243 | (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): | |
244 | Rewritten in order to manage registered functions by hash table | |
245 | Vdbus_registered_functions_table. | |
246 | ||
7ba30657 JD |
247 | 2007-12-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
248 | ||
249 | * xterm.c: Update URL to Window Manager Specification in comment. | |
250 | ||
033b73e2 MA |
251 | 2007-12-02 Michael Albinus <michael.albinus@gmx.de> |
252 | ||
253 | * config.in (HAVE_DBUS): Add. | |
254 | ||
255 | * Makefile.in: (HAVE_DBUS): Add D-Bus definitions if defined. | |
256 | (ALL_CFLAGS): Add ${DBUS_CFLAGS}. | |
257 | (obj): Add $(DBUS_OBJ). | |
258 | (LIBES): Add $(DBUS_LIBS). | |
259 | (dbusbind.o): New target. | |
260 | ||
261 | * dbusbind.c: New file. | |
262 | ||
263 | * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined. | |
264 | ||
265 | * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". | |
266 | (Qdbus_event) New Lisp symbol. | |
267 | (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. | |
268 | (gobble_input): Call xd_read_queued_messages, reading D-Bus | |
269 | messages. | |
270 | (keys_of_keyboard ): Define dbus-event. | |
271 | ||
272 | * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. | |
273 | ||
39d0bf74 RS |
274 | 2007-12-01 Richard Stallman <rms@gnu.org> |
275 | ||
276 | * search.c (syms_of_search) <inhibit-changing-match-data>: Doc fix. | |
277 | ||
f3157c65 JR |
278 | 2007-11-30 Jason Rumney <jasonr@gnu.org> |
279 | ||
280 | * w32console.c (w32con_ins_del_lines, scroll_line): Clip to window. | |
281 | (w32con_reset_terminal_modes): Clear screen buffer. | |
f1e8dcf1 JR |
282 | (w32_face_attributes): Don't use color indexes that are out of range. |
283 | Only reverse the default colors. | |
f3157c65 JR |
284 | |
285 | * xfaces.c (map_tty_color, tty_color_name): Remove special case for | |
286 | WINDOWSNT. | |
287 | ||
288 | * w32console.c, w32term.h (vga_stdcolor_name): Remove. | |
289 | ||
b510360c JR |
290 | 2007-11-29 Jason Rumney <jasonr@gnu.org> |
291 | ||
292 | * w32console.c: Leave HAVE_WINDOW_SYSTEM defined. | |
293 | (w32_face_attributes): Use Vtty_defined_color_alist to determine | |
294 | if the terminal colors are initialized. | |
295 | (unspecified_fg, unspecified_bg): Remove unused declarations. | |
296 | ||
4b7ab1c4 AS |
297 | 2007-11-29 Andreas Schwab <schwab@suse.de> |
298 | ||
299 | * keyboard.c (apply_modifiers): Fix typo. | |
300 | ||
4bb6c266 RS |
301 | 2007-11-29 Richard Stallman <rms@gnu.org> |
302 | ||
303 | * keymap.c (Fcurrent_local_map): Doc fix. | |
304 | ||
aa44cd84 GM |
305 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) |
306 | ||
307 | * s/gnu-kfreebsd.h: New file. | |
308 | ||
21ec2c43 SM |
309 | 2007-11-28 Stefan Monnier <monnier@iro.umontreal.ca> |
310 | ||
cc648cef SM |
311 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): |
312 | Don't cast redundantly. | |
313 | ||
21ec2c43 SM |
314 | * keyboard.c (KEY_TO_CHAR): New macro. |
315 | (parse_modifiers, apply_modifiers): Accept integer arguments. | |
316 | (read_key_sequence): Use them to unify the "shift->unshift" mapping | |
317 | for chars and symbol keys. | |
318 | After doing such remapping, apply function-key-map again. | |
319 | ||
73e72da4 DN |
320 | 2007-11-27 Dan Nicolaescu <dann@ics.uci.edu> |
321 | ||
322 | * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not | |
323 | compiled anymore. | |
324 | ||
254693ff AS |
325 | 2007-11-26 Andreas Schwab <schwab@suse.de> |
326 | ||
327 | * process.c (list_processes_1): Fix indentation level of the | |
328 | command column. | |
329 | ||
ff6e6ac8 AS |
330 | 2007-11-23 Andreas Schwab <schwab@suse.de> |
331 | ||
332 | * editfns.c (Fformat): Handle %c specially since it requires the | |
333 | argument to be of type int. | |
334 | ||
f7cf8b20 SM |
335 | 2007-11-23 Markus Triska <markus.triska@gmx.at> |
336 | ||
337 | * emacs.c (main): Call init_editfns before init_process, since | |
338 | init_process sets Vprocess_connection_type depending on OS release | |
339 | ||
569c11e3 SM |
340 | 2007-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
341 | ||
8787dd73 SM |
342 | * data.c (do_symval_forwarding): Use same code as in find_symbol_value. |
343 | (find_symbol_value): Use do_symval_forwarding. | |
344 | ||
569c11e3 SM |
345 | * data.c (set_internal): Set the value in the `cons-cell' (for |
346 | Buffer_Local_values) not only for frame-local variables. | |
347 | ||
6af1696d AS |
348 | 2007-11-22 Andreas Schwab <schwab@suse.de> |
349 | ||
350 | * data.c (Fnumber_to_string): Add cast when passing EMACS_INT | |
351 | values to sprintf. | |
352 | * keymap.c (Fsingle_key_description): Likewise. | |
353 | * print.c (print_object): Likewise. | |
354 | ||
d4ad8c04 JD |
355 | 2007-11-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
356 | ||
357 | * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if | |
358 | file for image is nil. | |
359 | ||
7c401d15 DN |
360 | 2007-11-22 Dan Nicolaescu <dann@ics.uci.edu> |
361 | ||
362 | * term.c: Include stdarg.h. | |
569c11e3 | 363 | (fatal): Implement using varargs. |
7c401d15 DN |
364 | * lisp.h (fatal): Add argument types. (Restore 2005-09-30 change). |
365 | ||
64e16c3c SM |
366 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> |
367 | ||
368 | * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field. | |
369 | * data.c (store_symval_forwarding): Get type from buffer_objfwd. | |
370 | Update call to buffer_slot_type_mismatch. | |
371 | * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove. | |
372 | (buffer_slot_type_mismatch): Update. | |
373 | * buffer.c (buffer_local_types): Remove. | |
374 | (buffer_slot_type_mismatch): Get the symbol and type as arguments. | |
375 | (defvar_per_buffer): Set the type in the buffer_objfwd. | |
376 | ||
d4aa48db | 377 | 2007-11-21 Jason Rumney <jasonr@gnu.org> |
5f42a7eb | 378 | |
64e16c3c SM |
379 | * w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font): |
380 | CreateFileMapping returns NULL on failure. | |
5f42a7eb | 381 | |
d4aa48db | 382 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> |
048addec | 383 | |
d4aa48db MB |
384 | * search.c (Fset_match_data): Remove the `evaporate' feature. |
385 | (unwind_set_match_data): Don't use the `evaporate' feature. | |
437dfb9f | 386 | |
bdae0540 JR |
387 | 2007-11-21 Jason Rumney <jasonr@gnu.org> |
388 | ||
389 | * dispnew.c (init_display) [WINDOWSNT]: Hardcode terminal_type. | |
390 | ||
391 | * w32console.c (w32con_write_glyphs): Remove unused variables. | |
392 | ||
202c09a8 DN |
393 | 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu> |
394 | ||
b951420f DN |
395 | * macterm.c (mac_term_init): Call add_keyboard_wait_descriptor. |
396 | ||
202c09a8 DN |
397 | * s/darwin.h (MULTI_KBOARD): Remove. |
398 | ||
399 | * macfns.c (x_create_tip_frame, Fx_create_frame) | |
400 | (x_create_tip_frame): Don't deal with MULTI_KBOARD. | |
401 | ||
bae72c12 SM |
402 | 2007-11-19 Stefan Monnier <monnier@iro.umontreal.ca> |
403 | ||
e7c10f83 SM |
404 | * buffer.c (Fbuffer_local_value): Remove redundant test. |
405 | (swap_out_buffer_local_variables): Swap out binding in `buffer' rather | |
406 | than in `current-buffer' to match the comment. | |
407 | Do the swap using swap_in_global_binding. | |
408 | ||
136eb6ed SM |
409 | * data.c (store_symval_forwarding, set_internal): |
410 | * eval.c (specbind): Remove dead code. | |
411 | ||
bae72c12 SM |
412 | * coding.c (detect_coding, Fupdate_coding_systems_internal): |
413 | * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE | |
414 | Since we do not want to see internal Lisp_*fwd objects here. | |
415 | ||
95fbaefc JD |
416 | 2007-11-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
417 | ||
3d66b985 JD |
418 | * sysdep.c (init_system_name): Use getaddrinfo if available. |
419 | ||
95fbaefc JD |
420 | * xterm.c (x_scroll_bar_set_handle, x_scroll_bar_handle_click) |
421 | (x_scroll_bar_note_movement): start, end, with, height in struct | |
422 | scroll_bar are integers and not Lisp_Object, so remove XINT for them. | |
423 | ||
6c1d8cb6 DN |
424 | 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu> |
425 | ||
426 | * puresize.h (BASE_PURESIZE): Increase to 1190000. | |
427 | ||
30f95089 SM |
428 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
429 | ||
66b04bd4 SM |
430 | * buffer.h (struct buffer): Move `undo_list' back to before `name'. |
431 | This undoes Richard's change of 14-Oct-2002. | |
432 | ||
6d3f2bb2 SM |
433 | * alloc.c (allocate_other_vector): |
434 | * lisp.h (allocate_other_vector): Remove. | |
435 | ||
b05b4e27 SM |
436 | * window.c (struct save_window_data): Move non-lisp data to the end |
437 | and make it `int' rather than Lisp_Object. | |
438 | (Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR. | |
439 | Done wrap/unwrap integer values. | |
440 | (Fset_window_configuration, compare_window_configurations): | |
441 | Update use of fields to their new types. | |
442 | ||
056ce195 SM |
443 | * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data. |
444 | Turn integer fields into `int'. Merge x_window_low and x_window_high. | |
445 | (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW) | |
446 | (SET_SCROLL_BAR_X_WINDOW): Remove. | |
447 | (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): | |
448 | Access the new x_window field directly. | |
449 | * xterm.c (x_scroll_bar_create): Use a pseudovector. | |
450 | Don't wrap/unwrap integers into Lisp_Objects. | |
451 | (XTset_vertical_scroll_bar, x_scroll_bar_handle_click) | |
452 | (x_scroll_bar_report_motion): | |
453 | Don't wrap/unwrap integers into Lisp_Objects. | |
454 | (x_term_init): Use SDATA. | |
455 | (x_window_to_scroll_bar, x_create_toolkit_scroll_bar) | |
456 | (x_scroll_bar_set_handle, x_scroll_bar_remove) | |
457 | (XTset_vertical_scroll_bar, x_scroll_bar_expose) | |
458 | (x_scroll_bar_report_motion, x_scroll_bar_clear): | |
459 | * xfns.c (x_set_background_color): | |
460 | * gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb): | |
461 | Access the new x_window field directly. | |
462 | ||
30f95089 SM |
463 | * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h. |
464 | (allocate_pseudovector): Make non-static. | |
6d3f2bb2 | 465 | |
30f95089 SM |
466 | * lisp.h (enum pvec_type): New tag PVEC_OTHER. |
467 | (allocate_pseudovector): Declare. | |
468 | (ALLOCATE_PSEUDOVECTOR): Move from alloc.c | |
469 | ||
9b6112e8 AS |
470 | 2007-11-15 Andreas Schwab <schwab@suse.de> |
471 | ||
30f95089 SM |
472 | * editfns.c (Fformat): Correctly format EMACS_INT values. |
473 | Also take precision into account when formatting an integer. | |
0f860bd7 | 474 | |
9b6112e8 AS |
475 | * keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration. |
476 | ||
262fcd41 SM |
477 | 2007-11-15 Stefan Monnier <monnier@iro.umontreal.ca> |
478 | ||
58da34c7 SM |
479 | * keyboard.c (Fevent_symbol_parse_modifiers): New function. |
480 | (syms_of_keyboard): Defsubr it. | |
481 | ||
262fcd41 SM |
482 | * data.c (swap_in_global_binding): Fix longstanding bug where |
483 | store_symval_forwarding was not called with the right second argument, | |
484 | thus causing objfwd-ing from being dropped. | |
485 | ||
d29a9848 JB |
486 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> |
487 | ||
488 | * macfns.c (Fx_create_frame, Fx_display_pixel_width) | |
489 | (Fx_display_pixel_height, Fx_display_planes) | |
490 | (Fx_display_color_cells, Fx_server_max_request_size) | |
491 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
492 | (Fx_display_visual_class, Fx_display_save_under): | |
493 | * w32fns.c (Fx_create_frame, Fx_display_pixel_width) | |
494 | (Fx_display_pixel_height, Fx_display_planes) | |
495 | (Fx_display_color_cells, Fx_server_max_request_size) | |
496 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
497 | (Fx_display_mm_height, Fx_display_mm_width) | |
498 | (Fx_display_backing_store, Fx_display_visual_class) | |
499 | (Fw32_select_font, Fx_display_save_under): | |
500 | * xfns.c (Fx_create_frame, Fx_display_pixel_width) | |
501 | (Fx_display_pixel_height, Fx_display_planes) | |
502 | (Fx_display_color_cells, Fx_server_max_request_size) | |
503 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
504 | (Fx_display_save_under): Fix typos in docstrings. | |
505 | ||
74084731 JB |
506 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> |
507 | ||
508 | * w32fns.c (Fw32_registered_hot_keys): Don't return the nil values | |
509 | corresponding to deleted entries; they are an implementation detail. | |
510 | (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): | |
511 | Remove variables. | |
512 | (w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames) | |
513 | (w32_pass_multimedia_buttons_to_system, w32_strict_painting) | |
514 | (Vw32_charset_info_alist, w32_to_x_color, w32_init_class) | |
515 | (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers) | |
516 | (w32_grabbed_keys, cancel_all_deferred_msgs): Make static. | |
d29a9848 | 517 | (Fw32_define_rgb_color, Fw32_load_color_file) |
74084731 | 518 | (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: |
02b39a28 JB |
519 | Fix typos in docstrings. |
520 | (Fx_server_version): Reflow docstring. | |
521 | (Fw32_shell_execute): Doc fixes. | |
74084731 | 522 | |
fb053a1f JB |
523 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> |
524 | ||
525 | * w32fns.c (Fw32_register_hot_key): Don't try to register hot key | |
526 | if w32_parse_hot_key returned nil. | |
527 | ||
a457417e | 528 | 2007-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
9ec1bdb6 | 529 | |
a457417e | 530 | * xdisp.c (load_overlay_strings): Fix copy&paste typo. |
9ec1bdb6 | 531 | |
4b219faa JR |
532 | 2007-11-09 Jason Rumney <jasonr@gnu.org> |
533 | ||
534 | * s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define. | |
535 | ||
536 | * w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT. | |
537 | ||
538 | * keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]: | |
539 | Remove W32_SCROLL_BAR_CLICK_EVENT. | |
540 | ||
541 | * termhooks.h (enum event_kind) [WINDOWSNT]: Likewise. | |
542 | Add MULTIMEDIA_KEY_EVENT. | |
543 | ||
544 | * keyboard.c (lispy_function_keys) [WINDOWSNT]: Add more keys. | |
545 | (lispy_multimedia_keys) [WINDOWSNT]: New array. | |
546 | (make_lispy_event) [WINDOWSNT]: Use it to translate | |
547 | MULTIMEDIA_KEY_EVENT. | |
548 | ||
549 | * w32term.h (WM_APPCOMMAND): Define if not already. | |
550 | (GET_APPCOMMAND_LPARAM): Likewise. | |
551 | ||
552 | * w32term.c (w32_read_socket): Generate MULTIMEDIA_KEY_EVENT from | |
553 | WM_APPCOMMAND. | |
554 | ||
555 | * w32fns.c (w32_pass_multimedia_buttons_to_system): New user option. | |
556 | (syms_of_w32fns): Export and initialize it. | |
557 | (w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket. | |
558 | ||
c12ecb0a | 559 | 2007-11-09 Chong Yidong <cyd@stupidchicken.com> |
d388d2ac CY |
560 | |
561 | * dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE | |
562 | twice. | |
563 | ||
564 | * xdisp.c (handle_face_prop): Fix last change. | |
565 | ||
c12ecb0a | 566 | 2007-11-09 Richard Stallman <rms@gnu.org> |
048addec | 567 | |
c12ecb0a MB |
568 | * xdisp.c (handle_face_prop): Test for strings that came from overlays, |
569 | not just for after-strings and before-strings. | |
570 | Call face_for_overlay_string and pass the overlay to it. | |
571 | (handle_display_prop): Determine whether property came from an overlay. | |
572 | Pass OVERLAY arg to handle_single_display_spec. | |
573 | (handle_single_display_spec): New arg OVERLAY sets it->from_overlay. | |
574 | (load_overlay_strings): Fill in it->string_overlays. | |
575 | (get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays. | |
b5cb6072 | 576 | |
c12ecb0a MB |
577 | * xfaces.c (face_for_overlay_string): Function renamed from |
578 | face_at_buffer_position_no_overlays, and add arg OVERLAY. | |
b5cb6072 | 579 | |
c12ecb0a MB |
580 | * dispextern.h (struct it): New elt string_overlays. |
581 | New elt from_overlay, also in stack. | |
582 | Rearrange a few elements. | |
583 | (face_for_overlay_string): Decl renamed from | |
584 | face_at_buffer_position_no_overlays, and add argument. | |
15fff01d | 585 | |
c12ecb0a | 586 | 2007-11-09 Richard Stallman <rms@gnu.org> |
0065bb74 | 587 | |
c12ecb0a MB |
588 | * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays |
589 | to get the base face for an overlay string. | |
0d8466cc | 590 | |
c12ecb0a | 591 | * dispextern.h (face_at_buffer_position_no_overlays): Add decl. |
15fff01d | 592 | |
c12ecb0a | 593 | * xfaces.c (face_at_buffer_position_no_overlays): New function. |
2fae9111 | 594 | |
c12ecb0a | 595 | * xdisp.c (handle_stop): Move some code out of loop. |
2d6c1fc0 | 596 | |
c12ecb0a | 597 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
07025a55 | 598 | |
c12ecb0a MB |
599 | * macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes): |
600 | Fix conversion from Lisp object to ATSUFontID. | |
07025a55 | 601 | |
c12ecb0a | 602 | 2007-11-09 Jason Rumney <jasonr@gnu.org> |
07025a55 | 603 | |
c12ecb0a | 604 | * xdisp.c (Fformat_mode_line): Do nothing when noninteractive. |
3a232704 | 605 | |
c12ecb0a | 606 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
539e92ad | 607 | |
c12ecb0a MB |
608 | * unexmacosx.c (unexec_regions_recorder, unexec_regions_merge): |
609 | Don't assume regions are aligned to page boundary. | |
610 | (print_load_command_name): Add LC_UUID if defined. | |
3a232704 | 611 | |
c12ecb0a | 612 | 2007-11-09 Richard Stallman <rms@gnu.org> |
0cb8bb48 | 613 | |
c12ecb0a | 614 | * emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring. |
539e92ad | 615 | |
b8ddfbcc JR |
616 | 2007-11-07 Jason Rumney <jasonr@gnu.org> |
617 | ||
618 | * s/windows95.h: Remove. | |
619 | ||
e624c3f9 JD |
620 | 2007-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
621 | ||
622 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and | |
623 | abort with a message on unhandled store_type values. | |
624 | ||
ac1278c1 JD |
625 | 2007-11-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
626 | ||
627 | * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h: | |
628 | Remove HAVE_X11R5 and HAVE_X11R4. | |
629 | ||
04a697fe DN |
630 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> |
631 | ||
632 | * Makefile.in: Remove references to sunfns.c and sunfns.o. | |
633 | ||
56dad874 GM |
634 | 2007-11-01 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org> |
635 | ||
636 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): | |
fb053a1f | 637 | Don't set s->stippled_p here, since it has already been set by |
56dad874 GM |
638 | x_set_glyph_string_gc from x_draw_glyph_string. |
639 | ||
07e5c0b0 DN |
640 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> |
641 | ||
642 | * sunfns.c: Remove file | |
643 | ||
644 | * m/sun386.h: | |
645 | * m/sun2.h: | |
646 | * m/sparc.h: Remove Sun windows code. | |
647 | ||
1bc973c2 SM |
648 | 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca> |
649 | ||
650 | * keyboard.c (syms_of_keyboard): Initialize the initial_kboard. | |
651 | (init_keyboard): Set current_kboard's window-system to nil. | |
652 | (tty_read_avail_input): Typo. | |
653 | * frame.c (make_initial_frame): Don't initialize the initial_kboard. | |
654 | ||
c22140f6 DN |
655 | 2007-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
656 | ||
657 | * s/usg5-4.h: | |
658 | * s/usg5-3.h: | |
659 | * s/ptx.h: | |
660 | * m/is386.h: | |
661 | * m/ibmps2-aix.h: | |
662 | * Makefile.in: Remove all mentions of X10 | |
663 | ||
664 | * dispnew.c (syms_of_display): Don't mention version 10. | |
665 | ||
660a8219 JB |
666 | 2007-10-28 Juanma Barranquero <lekktu@gmail.com> |
667 | ||
668 | * makefile.w32-in (OBJ1): Remove abbrev.$(O). | |
669 | ($(BLD)/abbrev.$(O)): Remove. | |
670 | ||
e047f448 SM |
671 | 2007-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
672 | ||
673 | Rewrite abbrev.c in Elisp. | |
674 | * image.c (Qcount): Don't declare as extern. | |
675 | (syms_of_image): Initialize and staticpro `Qcount'. | |
676 | * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions. | |
677 | * emacs.c (main): Don't call syms_of_abbrev. | |
678 | * Makefile.in (obj): Remove abbrev.o. | |
679 | (abbrev.o): Remove. | |
680 | * abbrev.c: Remove. | |
681 | ||
67b73e3a MR |
682 | 2007-10-26 Martin Rudalics <rudalics@gmx.at> |
683 | ||
684 | * window.c (window_min_size_2): Don't count header-line. | |
685 | ||
e3d7bd83 DN |
686 | 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu> |
687 | ||
688 | * frame.h (struct frame): Move all bit fields after the first bit | |
660a8219 | 689 | field to take advantage of the available space. Group all the |
e3d7bd83 DN |
690 | chars together to reduce wasted space due to padding. |
691 | ||
a3547743 JB |
692 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> |
693 | ||
e298936f JB |
694 | * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings. |
695 | ||
d3d47262 JB |
696 | * alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings) |
697 | (Vdead, dont_register_blocks, staticvec, staticidx, interval_block) | |
698 | (n_interval_blocks, init_strings, check_string_bytes, check_sblock) | |
699 | (init_float, free_float, n_cons_blocks, init_cons, all_vectors) | |
700 | (n_vectors, symbol_block, symbol_block_index, symbol_free_list) | |
701 | (n_symbol_blocks, init_symbol, marker_block, marker_free_list) | |
702 | (n_marker_blocks, init_marker, valid_pointer_p, make_pure_float) | |
703 | (last_marked, mark_object_loop_halt): Make static. | |
704 | ||
a3547743 JB |
705 | * frame.c (syms_of_frame) <delete-frame-functions>: |
706 | Fix typo in docstring. | |
707 | ||
14c71d8b JB |
708 | 2007-10-25 Juanma Barranquero <lekktu@gmail.com> |
709 | ||
710 | * w32.c (init_environment): Fix tiny memory leak. | |
66199f74 | 711 | (w32_get_resource): Remove unused variable `ok'. |
14c71d8b | 712 | |
70b8d0a4 SM |
713 | 2007-10-25 Stefan Monnier <monnier@iro.umontreal.ca> |
714 | ||
715 | Make `window-system' into a keyboard-local variable (rather than | |
716 | frame-local as done originally by multi-tty). | |
717 | ||
718 | * keyboard.h (struct kboard): Add Vwindow_system. | |
719 | * keyboard.c (init_kboard): Set a default for Vwindow_system. | |
720 | (mark_kboards): Mark Vwindow_system. | |
721 | ||
722 | * dispnew.c (syms_of_display) <window-system>: Declare terminal-local. | |
723 | (init_display): Don't set the obsolete `window-system' frame-param. | |
724 | ||
725 | * xterm.c (x_term_init): | |
726 | * w32term.c (w32_create_terminal): | |
727 | * term.c (init_tty): Set Vwindow_system. | |
728 | * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the | |
729 | multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. | |
730 | ||
731 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
732 | * w32fns.c (Fx_create_frame, x_create_tip_frame): | |
733 | * macfns.c (Fx_create_frame): | |
734 | Don't set the obsolete `window-system' frame-param. | |
735 | ||
736 | * frame.h (Qwindow_system): Remove. | |
737 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. | |
738 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. | |
739 | ||
fdc90613 | 740 | 2007-10-24 Richard Stallman <rms@gnu.org> |
4521d1fc | 741 | |
fdc90613 MB |
742 | * frame.c (x_figure_window_size): For fullscreen case, |
743 | set USPosition | PPosition without clobbering rest of window_prompting. | |
7c75be36 | 744 | |
fdc90613 | 745 | * keyboard.c (Fcurrent_idle_time): Doc fix. |
4521d1fc | 746 | |
fdc90613 | 747 | * print.c (Fwith_output_to_temp_buffer): Doc fix. |
4521d1fc | 748 | |
7357cb04 SM |
749 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
750 | ||
98228e72 SM |
751 | * process.c (unwind_request_sigio): Only define if __ultrix__. |
752 | ||
1baf6db9 SM |
753 | * callproc.c (child_setup): Remove spurious *. |
754 | ||
4d0ac3d7 SM |
755 | * lisp.h (Fget_text_property): Declare. |
756 | (have_menus_p): Declare it here rather than in sys-dep header files. | |
757 | * macterm.h (have_menus_p): | |
758 | * msdos.h (have_menus_p): | |
759 | * xterm.h (have_menus_p): Remove. | |
760 | ||
7357cb04 SM |
761 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) |
762 | (Fmake_variable_frame_local): Just check the variable's const-ness | |
763 | rather than checking nil or t. | |
764 | ||
866e6dd6 JR |
765 | 2007-10-22 Jason Rumney <jasonr@gnu.org> |
766 | ||
b00afeae JR |
767 | * w32fns.c: Include math.h. |
768 | (w32_abort): Declaration moved to nt/config.nt. | |
0f7f11b7 | 769 | |
c8f7c76b JR |
770 | * s/ms-w32.h (HAVE_STDLIB_H): Define. |
771 | (abort): Redefinition moved to nt/config.nt. | |
772 | ||
866e6dd6 JR |
773 | * m/windowsnt.h: Remove. |
774 | ||
e79beb56 JB |
775 | 2007-10-22 Juanma Barranquero <lekktu@gmail.com> |
776 | ||
777 | * emacs.c (Fdump_emacs): Fix typo in message. | |
778 | (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring. | |
779 | <installation-directory>: Reflow docstring. | |
780 | ||
fb30dfd2 JL |
781 | 2007-10-22 Juri Linkov <juri@jurta.org> |
782 | ||
783 | * minibuf.c: Allow minibuffer default to be a list of default values. | |
784 | With empty input use the first element of this list as returned default. | |
e79beb56 | 785 | (string_to_object) |
0f7f11b7 | 786 | (read_minibuf_noninteractive): If defalt is cons, set val to its car. |
fb30dfd2 JL |
787 | (read_minibuf): If defalt is cons, set histstring to its car. |
788 | (Fread_string): If default_value is cons, set val to its car. | |
789 | (Fread_buffer): If def is cons, use its car. | |
790 | (Fcompleting_read): If defalt is cons, set val to its car. | |
791 | ||
1f163f28 MA |
792 | 2007-10-21 Michael Albinus <michael.albinus@gmx.de> |
793 | ||
794 | * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. | |
795 | ||
db3534c3 JB |
796 | 2007-10-20 Juanma Barranquero <lekktu@gmail.com> |
797 | ||
798 | * doc.c (Fdocumentation): Check for advice in all cases. | |
799 | ||
c6f18a07 CY |
800 | 2007-10-19 Chong Yidong <cyd@stupidchicken.com> |
801 | ||
802 | * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. | |
803 | ||
2a1534d3 RS |
804 | 2007-10-19 Richard Stallman <rms@gnu.org> |
805 | ||
806 | * doc.c (Fdocumentation): Check for and handle an advised function. | |
807 | ||
7b82c3b6 JB |
808 | 2007-10-19 Juanma Barranquero <lekktu@gmail.com> |
809 | ||
810 | * process.c (Fset_process_filter): Doc fix. | |
811 | ||
3278f20e SM |
812 | 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca> |
813 | ||
814 | * keyboard.c (read_key_sequence): Undo a change introduced by multi-tty | |
815 | which caused key-translation-map to applied repeatedly (thus breaking | |
816 | double-mode). | |
817 | ||
99784d63 SM |
818 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> |
819 | ||
820 | * xselect.c (x_own_selection, x_handle_selection_clear) | |
821 | (x_clear_frame_selections): | |
822 | * w32menu.c (list_of_panes, list_of_items): | |
823 | * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): | |
824 | * textprop.c (validate_plist, interval_has_all_properties) | |
825 | (interval_has_some_properties, interval_has_some_properties_list) | |
826 | (add_properties, text_property_list): | |
827 | * process.c (Fget_buffer_process, list_processes_1, status_notify): | |
828 | * minibuf.c (Fassoc_string): | |
829 | * macselect.c (x_own_selection, x_clear_frame_selections) | |
830 | (Fx_disown_selection_internal): | |
831 | * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): | |
832 | Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r. | |
833 | ||
44bb704d CY |
834 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> |
835 | ||
836 | * process.c: Link to libs for calling res_init() if available. | |
837 | (Fmake_network_process): Call res_init() before getaddrinfo or | |
838 | gethostbyname, if possible. | |
839 | ||
d314756e SM |
840 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> |
841 | ||
2504022a SM |
842 | * lread.c (read1): Set pvectype for char_tables. |
843 | ||
19fa82b9 SM |
844 | * lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY) |
845 | (XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): | |
846 | Add type checks. | |
847 | (SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove. | |
848 | ||
d314756e SM |
849 | * alloc.c (free_misc): Use XMISCTYPE. |
850 | (live_misc_p, gc_sweep): Use Lisp_Misc_Any. | |
851 | ||
94b9aaa2 GM |
852 | 2007-10-17 Glenn Morris <rgm@gnu.org> |
853 | ||
854 | * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. | |
855 | (syms_of_minibuf): Add Qcompletion_ignore_case. | |
856 | * dired.c (Qcompletion_ignore_case): Change to external. | |
857 | (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. | |
858 | * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. | |
859 | (Fread_file_name): Use it rather than intern'ing. | |
860 | ||
861 | * coding.c (Qcompletion_ignore_case): New external Lisp_Object. | |
862 | (Fread_coding_system): Ignore case of user input. | |
863 | ||
da6658e8 YM |
864 | 2007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
865 | ||
866 | * xdisp.c (handle_display_prop): Ignore display specs after | |
867 | replacing one when string text is being replaced. | |
868 | (handle_single_display_spec): Pretend as if characters with display | |
869 | property haven't been consumed only when buffer text is being replaced. | |
870 | ||
11fb4bdb SM |
871 | 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca> |
872 | ||
9beb8baa SM |
873 | * xfns.c (Fx_create_frame, Fx_display_list): |
874 | * window.c (window_fixed_size_p, enlarge_window) | |
875 | (shrink_window_lowest_first): | |
876 | * macterm.c (init_font_name_table): | |
877 | * macfns.c (Fx_create_frame, Fx_display_list): | |
878 | * lread.c (close_load_descs): | |
879 | * keyboard.c (read_char_x_menu_prompt): | |
880 | * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): | |
881 | * coding.c (code_convert_region_unwind): Test the type of an object | |
882 | rather than just !NILP before extracting data from it. | |
883 | ||
d3f41ff5 SM |
884 | * alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors. |
885 | ||
67ee9f6e SM |
886 | * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. |
887 | (XMISCANY): New macro. | |
888 | (XMISCTYPE): Use it. | |
889 | (struct Lisp_Misc_Any): New type. | |
890 | (union Lisp_Misc): Use it. | |
891 | (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. | |
892 | * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) | |
893 | (find_symbol_value, set_internal, default_value, Fset_default) | |
894 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
895 | (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) | |
896 | (Flocal_variable_if_set_p, Fvariable_binding_locus): | |
897 | The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. | |
898 | * alloc.c (allocate_buffer): Set the size and tag. | |
899 | (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): | |
900 | Use XMISCANY. | |
901 | (die): Follow the GNU convention for error messages. | |
902 | * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. | |
903 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the | |
904 | tag any more. | |
905 | (set_buffer_internal_1): | |
906 | * frame.c (store_frame_param): | |
907 | * eval.c (specbind): | |
908 | * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP. | |
909 | ||
11fb4bdb SM |
910 | * doc.c (Fsnarf_documentation): Simplify. |
911 | ||
decb374a JB |
912 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> |
913 | ||
914 | * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. | |
915 | (syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring. | |
916 | ||
b5a40ee7 SM |
917 | 2007-10-14 Stefan Monnier <monnier@iro.umontreal.ca> |
918 | ||
919 | * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. | |
920 | ||
35277b03 JB |
921 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> |
922 | ||
923 | * eval.c (do_autoload): Don't save autoloads. | |
924 | ||
925 | * data.c (Ffset): Save autoload of the function being set. | |
926 | ||
35fdaa62 GM |
927 | 2007-10-07 John Paul Wallington <jpw@pobox.com> |
928 | ||
929 | * xfns.c (x_create_tip_frame): Set the `display-type' frame | |
930 | parameter before setting up faces. | |
931 | ||
1ea40aa2 EZ |
932 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> |
933 | ||
35fdaa62 | 934 | * ccl.c (Fregister_code_conversion_map): |
96a5affb EZ |
935 | * keyboard.c (append_tool_bar_item): Reformat last change. |
936 | ||
1ea40aa2 EZ |
937 | * lisp.h (eabs): Rename from `abs'. All callers changed. |
938 | ||
35277b03 | 939 | 2007-10-05 Dmitry Antipov <dmantipov@yandex.ru> |
71d00ce4 EZ |
940 | |
941 | * buffer.c (add_overlay_mod_hooklist): | |
942 | * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): | |
943 | * fontset.c (make_fontset): | |
944 | * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) | |
945 | (append_tool_bar_item): | |
946 | * macmenu.c (grow_menu_items): | |
35fdaa62 | 947 | * w32menu.c (grow_menu_items): |
71d00ce4 | 948 | * xmenu.c (grow_menu_items): Use larger_vector. |
35fdaa62 | 949 | |
bc82f120 EZ |
950 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> |
951 | ||
952 | * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving | |
953 | selected frame'' on MSDOS). | |
954 | ||
d57d5a78 MR |
955 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> |
956 | ||
957 | * frame.c (Qexplicit_name): New variable. | |
958 | (x_report_frame_params): Report it in parameter alist. | |
959 | (syms_of_frame): Intern and staticpro it. | |
960 | ||
35277b03 | 961 | 2007-10-10 Patrick Mahan <mahan@mahan.org> (tiny change) |
04710ebd JR |
962 | |
963 | * macfns.c (x_create_tip_frame): Set terminal for frame. | |
964 | ||
c7a4b95b SM |
965 | 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
966 | ||
26f9c7b7 SM |
967 | * frame.c (Qenvironment): Remove. |
968 | (syms_of_frame) <Qenvironment>: Don't initialize. | |
969 | (Fdelete_frame): Don't treat the `environment' param specially. | |
970 | * frame.h (Qenvironment): Don't declare. | |
971 | * callproc.c (set_initial_environment): Don't set unused frame param. | |
972 | ||
c7a4b95b SM |
973 | * frame.c (Fframe_with_environment): Remove. |
974 | (syms_of_frame) <Sframe_with_environment>: Don't declare. | |
26f9c7b7 | 975 | |
c7a4b95b SM |
976 | * lisp.h (Fframe_with_environment): Don't declare. |
977 | ||
c86f7377 JB |
978 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> |
979 | ||
980 | * indent.c (indent_tabs_mode, last_known_column) | |
981 | (last_known_column_modified): Make static. | |
982 | (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring. | |
983 | ||
d1b3a122 KY |
984 | 2007-10-10 Katsumi Yamaoka <yamaoka@jpl.org> |
985 | ||
986 | * puresize.h (BASE_PURESIZE): Increase to 1170000. | |
987 | ||
d57d5a78 MR |
988 | 2007-10-09 Jason Rumney <jasonr@gnu.org> |
989 | ||
990 | * w32term.c (x_set_window_size): Disable code that attempts to tell | |
991 | Lisp code about a size change before it actually happens. | |
992 | ||
81d3d428 | 993 | 2007-10-09 Richard Stallman <rms@gnu.org> |
91175673 | 994 | |
81d3d428 MB |
995 | * xdisp.c (handle_invisible_prop): After setting up an ellipsis, |
996 | return HANDLED_RETURN. | |
91175673 | 997 | |
1af74d06 | 998 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> |
4f1b1854 | 999 | |
1af74d06 MB |
1000 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input |
1001 | when there's an unread command event. | |
e0fead5d | 1002 | |
c7a4b95b | 1003 | * frame.c (focus_follows_mouse): Move here from frame.el to allow |
1af74d06 MB |
1004 | window autoselection act appropriately when leaving selected frame. |
1005 | (syms_of_frame): Initialize focus_follows_mouse. | |
1006 | * frame.h (focus_follows_mouse): Extern it. | |
1007 | * macterm.c (XTread_socket): When focus_follows_mouse is nil | |
c7a4b95b | 1008 | make SELECT_WINDOW_EVENT only if we don't leave the selected frame. |
1af74d06 MB |
1009 | * msdos.c (dos_rawgetc): Likewise. |
1010 | * w32term.c (w32_read_socket): Likewise. | |
1011 | * xterm.c (handle_one_xevent): Likewise. | |
1012 | * xdisp.c (syms_of_xdisp): In doc-string of | |
1013 | mouse-autoselect-window mention focus-follows-mouse. | |
e0fead5d | 1014 | |
1af74d06 | 1015 | 2007-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
e0fead5d | 1016 | |
1af74d06 MB |
1017 | * macterm.c (mac_load_query_font): Fix missing return value. |
1018 | [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): | |
1019 | Add BLOCK_INPUT. | |
c186cdb3 | 1020 | |
1af74d06 | 1021 | 2007-10-08 Richard Stallman <rms@gnu.org> |
c186cdb3 | 1022 | |
1af74d06 MB |
1023 | * xdisp.c (get_window_cursor_type): Implement documented behavior |
1024 | for cursor-in-non-selected-windows = t. | |
c186cdb3 | 1025 | |
1af74d06 | 1026 | 2007-10-08 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 1027 | |
1af74d06 | 1028 | * w32.c (w32_get_resource): Always close registry keys. |
58cfce98 | 1029 | |
1af74d06 | 1030 | 2007-10-08 Jason Rumney <jasonr@gnu.org> |
58cfce98 | 1031 | |
1af74d06 | 1032 | * makefile.w32-in (LIBS): Add COMCTL32. |
62854fe2 | 1033 | |
1af74d06 | 1034 | * w32fns.c (globals_of_w32fns): Init common controls. |
62854fe2 | 1035 | |
1af74d06 | 1036 | 2007-10-08 Richard Stallman <rms@gnu.org> |
656f46bb | 1037 | |
c7a4b95b | 1038 | * image.c (our_memory_buffer): Rename from omfib_buffer. |
656f46bb | 1039 | |
1af74d06 | 1040 | 2007-10-08 Richard Stallman <rms@gnu.org> |
656f46bb | 1041 | |
1af74d06 | 1042 | * buffer.c (Foverlays_at): Doc fix. |
036e218d | 1043 | |
1af74d06 | 1044 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> |
036e218d | 1045 | |
1af74d06 | 1046 | * fns.c (Fplist_put): Preserve uneven tail data. |
7ddb2c16 | 1047 | |
1af74d06 | 1048 | 2007-10-08 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) |
7ddb2c16 | 1049 | |
1af74d06 | 1050 | * termhooks.h (enum event_kind): Remove trailing comma. |
ace9b298 | 1051 | |
1af74d06 | 1052 | * frame.h (enum): Remove trailing comma. |
90647b07 | 1053 | |
1af74d06 | 1054 | 2007-10-08 Dhuvra Krishnamurthy <dhuvrakm@gmail.com> (tiny change) |
90647b07 | 1055 | |
1af74d06 | 1056 | * w32proc.c (delete_child): Don't terminate threads of zombies. |
ace9b298 | 1057 | |
1af74d06 | 1058 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> |
ace9b298 | 1059 | |
1af74d06 | 1060 | * keyboard.h (struct kboard): New elt Vlast_repeatable_command. |
ace9b298 | 1061 | |
1af74d06 MB |
1062 | * keyboard.c (syms_of_keyboard): Set up new Lisp variable |
1063 | last-repeatable-command. | |
1064 | (init_kboard): Initialize Vlast_repeatable_command. | |
1065 | (command_loop_1): Set it to real_this_command unless that was | |
1066 | bound to an input event. | |
1067 | (mark_kboards): Mark it. | |
9fbc32aa | 1068 | |
1af74d06 | 1069 | 2007-10-08 Richard Stallman <rms@gnu.org> |
036e218d | 1070 | |
1af74d06 | 1071 | * eval.c (condition-case): Doc fix. |
9fbc32aa | 1072 | |
1af74d06 | 1073 | 2007-10-08 Masatake YAMATO <jet@gyve.org> |
9fbc32aa | 1074 | |
1af74d06 MB |
1075 | * xfaces.c (tty_supports_face_attributes_p): Fix code |
1076 | for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code | |
1077 | was copied and not edited. | |
9fbc32aa | 1078 | |
beb9f745 SM |
1079 | 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca> |
1080 | ||
c86f7377 | 1081 | Add new `input-decode-map' keymap and use it for terminal |
4f4a84ec SM |
1082 | escape sequences. |
1083 | * keyboard.h (struct kboard): Add Vinput_decode_map. | |
1084 | Remove Vlocal_key_translation_map. | |
1085 | * keyboard.c (read_key_sequence): Add support for input-decode-map. | |
1086 | (init_kboard): Init input-decode-map. | |
1087 | Replace local-key-translation-map back with key-translation-map. | |
1088 | (syms_of_keyboard): Declare input-decode-map. | |
1089 | Remove local-key-translation-map. Update docstrings. | |
1090 | (mark_kboards): Mark Vinput_decode_map. | |
1091 | Don't mark Vlocal_key_translation_map. | |
1092 | * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. | |
1093 | Replace local-key-translation-map back with key-translation-map. | |
1094 | * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): | |
1095 | Bind in input-decode-map rather than function-key-map. | |
1096 | ||
beb9f745 SM |
1097 | * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. |
1098 | This was made redundant by the previous introduction of XSETPVECTYPE. | |
1099 | ||
65342ae3 RS |
1100 | 2007-10-09 Richard Stallman <rms@gnu.org> |
1101 | ||
beb9f745 | 1102 | * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. |
65342ae3 RS |
1103 | |
1104 | 2007-09-29 Richard Stallman <rms@gnu.org> | |
1105 | ||
1106 | * eval.c (internal_condition_case_2, internal_condition_case_1) | |
1107 | (internal_condition_case): Reenable abort if x_catching_errors () | |
1108 | to see if that really happens and why. | |
1109 | ||
6cff77fd AS |
1110 | 2007-10-06 Andreas Schwab <schwab@suse.de> |
1111 | ||
1112 | * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. | |
1113 | ||
bbe6f2aa JB |
1114 | 2007-10-04 Juanma Barranquero <lekktu@gmail.com> |
1115 | ||
1116 | * image.c (syms_of_image) <image-types>: Fix typo in docstring. | |
1117 | ||
a390930c SM |
1118 | 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
1119 | ||
1120 | * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. | |
1121 | ||
d6aa1876 SM |
1122 | 2007-10-02 Stefan Monnier <monnier@iro.umontreal.ca> |
1123 | ||
d0fdb6da SM |
1124 | * window.h (struct window): |
1125 | * window.c (struct save_window_data, struct saved_window): | |
1126 | * termhooks.h (struct terminal): | |
1127 | * process.h (struct Lisp_Process): | |
1128 | * frame.h (struct frame): | |
1129 | * buffer.h (struct buffer): | |
1130 | * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) | |
1131 | (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): | |
1132 | The size field of (pseudo)vectors is now unsigned. | |
1133 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. | |
1134 | ||
878f97ff SM |
1135 | * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. |
1136 | Turn `count' into an integer. | |
d0fdb6da | 1137 | |
878f97ff SM |
1138 | * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) |
1139 | (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): | |
1140 | * print.c (print_object) <HASH_TABLE_P>: `count' is an int. | |
1141 | * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. | |
1142 | (mark_object) <HASH_TABLE_P>: Use mark_vectorlike. | |
1143 | ||
d2029e5b SM |
1144 | * alloc.c (allocate_pseudovector): New fun. |
1145 | (ALLOCATE_PSEUDOVECTOR): New macro. | |
1146 | (allocate_window, allocate_terminal, allocate_frame) | |
1147 | (allocate_process): Use it. | |
1148 | (mark_vectorlike): New function. | |
1149 | (mark_object) <FRAMEP, WINDOWP, BOOL_VECTOR_P, VECTORP>: Use it. | |
1150 | (mark_terminals): Use it. | |
1151 | (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) | |
1152 | (Fmake_byte_code): Use XSETPVECTYPE. | |
1153 | ||
1154 | * frame.c (Fframe_parameters): Minor simplification. | |
1155 | ||
1156 | * insdel.c (adjust_markers_for_insert): Generalize assertion checks. | |
1157 | ||
1158 | * marker.c (Fmarker_buffer): Make test for odd case into a failure. | |
1159 | ||
1160 | * buffer.c (Fget_buffer_create, init_buffer_once): | |
1161 | * lread.c (defsubr): | |
1162 | * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. | |
1163 | ||
1164 | * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be | |
1165 | defined differently in the m/*.h files. | |
1166 | (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. | |
1167 | (XSETPVECTYPE): New macro. | |
1168 | (XSETPSEUDOVECTOR): Use it. | |
1169 | ||
d6aa1876 SM |
1170 | * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. |
1171 | (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. | |
d2029e5b | 1172 | |
d6aa1876 SM |
1173 | * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): |
1174 | * lread.c (defvar_per_buffer): | |
1175 | * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c. | |
1176 | ||
1177 | * window.c (candidate_window_p): Only consider as visible frames that | |
1178 | are on the same terminal. | |
1179 | ||
1180 | * m/ibms390x.h (MARKBIT): Remove unused macro. | |
1181 | ||
88852d45 JB |
1182 | 2007-10-01 Juanma Barranquero <lekktu@gmail.com> |
1183 | ||
1184 | * lread.c (Fload): Fix typo in docstring. | |
1185 | ||
2742fe30 MC |
1186 | 2007-10-01 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name> |
1187 | ||
1188 | * floatfns.c (Fexpt): Manually check for overflows, so that a power | |
1189 | of a non-zero value can't yield zero. | |
1190 | ||
ed0c79c6 SM |
1191 | 2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca> |
1192 | ||
b870aa61 SM |
1193 | * term.c (term_clear_mouse_face, term_mouse_highlight) |
1194 | (tty_write_glyphs_with_face): Only define is HAVE_GPM. | |
1195 | ||
4c37a414 SM |
1196 | * print.c (safe_debug_print): Use XHASH. |
1197 | ||
b9466edb SM |
1198 | * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of |
1199 | Lisp elements such as tags. | |
1200 | (XHASH): New macro. | |
1201 | (EQ): Use it. | |
1202 | (SREF, SSET, STRING_COPYIN): Use SDATA. | |
1203 | (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. | |
1204 | ||
9c545a55 SM |
1205 | * alloc.c (mark_terminal): Remove left-over declaration. |
1206 | (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. | |
1207 | (allocate_vectorlike): Remove type argument. Adjust callers. | |
1208 | (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): | |
1209 | Only handle the one remaining MEM_TYPE_VECTORLIKE. | |
1210 | ||
dafc79fa SM |
1211 | * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros |
1212 | to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. | |
1213 | (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) | |
1214 | (lisp_align_free, make_interval, allocate_string, allocate_string_data) | |
1215 | (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): | |
1216 | Use them. | |
1217 | ||
ed0c79c6 SM |
1218 | * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): |
1219 | Don't let signal handlers run when a GC is freed but not yet NULL'ed. | |
1220 | (x_free_gc): Remove BLOCK_INPUT since it's now redundant. | |
1221 | ||
3c81afd4 DN |
1222 | 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu> |
1223 | ||
1224 | * Makefile.in (lisp, shortlisp): Delete server.elc, it is not | |
1225 | loaded by default. | |
1226 | ||
6178ce5e SM |
1227 | 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
1228 | ||
4ce5ab77 SM |
1229 | * term.c (Fgpm_mouse_start): Don't signal an error if already activated |
1230 | on this tty. | |
1231 | (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. | |
1232 | ||
6178ce5e SM |
1233 | * term.c (mouse_face_window): Rename from Qmouse_face_window. |
1234 | Update all users. | |
1235 | (handle_one_term_event): Use Gpm_DrawPointer. | |
1236 | (Fgpm_mouse_start): Rename from Fterm_open_connection. | |
1237 | Signal errors instead of returning nil. Always return nil. | |
1238 | (Fgpm_mouse_stop): Rename from Fterm_close_connection. | |
1239 | Make it a noop if gpm-mouse was not activated. | |
1240 | (syms_of_term): Update names. | |
1241 | ||
bdf5f8ef SM |
1242 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> |
1243 | ||
75a8734b SM |
1244 | * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. |
1245 | (init_sys_modes): Check that gpm_tty is the current tty. | |
1246 | ||
13559ee0 SM |
1247 | * alloc.c (allocate_terminal): Set the vector size to only count the |
1248 | lisp fields. Initialize those to nil. | |
1249 | (mark_object): Don't treat terminals specially. | |
1250 | (mark_terminal): Remove. | |
1251 | (mark_terminals): Use mark_object instead. | |
1252 | ||
ff16b875 SM |
1253 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by |
1254 | the GC to the beginning. | |
1255 | ||
83155776 SM |
1256 | * indent.h: |
1257 | * indent.c: Use EMACS_INT for ints coming from Elisp data. | |
1258 | ||
bdf5f8ef SM |
1259 | * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. |
1260 | ||
ec8705b6 JR |
1261 | 2007-09-25 Jason Rumney <jasonr@gnu.org> |
1262 | ||
1263 | * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. | |
1264 | ||
1265 | * w32console.c (create_w32cons_output): Remove. | |
1266 | ||
1267 | * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. | |
1268 | ||
1269 | * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. | |
1270 | (reset_sys_modes): Use reset_terminal_modes_hook. | |
1271 | ||
7351b242 SM |
1272 | 2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca> |
1273 | ||
1274 | * eval.c (do_autoload): Don't output any message. | |
1275 | ||
16706228 JL |
1276 | 2007-09-24 Juri Linkov <juri@jurta.org> |
1277 | ||
1278 | * emacs.c (standard_args): Change priority of "--no-splash" | |
1279 | from 40 to 3. Add "--no-desktop" with the same priority. | |
1280 | ||
3ae2e3a3 RS |
1281 | 2007-09-23 Dmitry Antipov <dmantipov@yandex.ru> |
1282 | ||
1283 | * alloc.c (gc_sweep): Check cons cell mark bits word by word | |
1284 | and optimize the case where they are all 1. | |
1285 | ||
7a58fb43 GM |
1286 | 2007-09-23 Johannes Weiner <hannes@saeurebad.de> |
1287 | ||
3ae2e3a3 RS |
1288 | * lisp.h (abs): Define if not defined. |
1289 | * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: | |
1290 | Don't define `abs', since it's defined in lisp.h. | |
7a58fb43 | 1291 | |
78048085 EZ |
1292 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> |
1293 | ||
c7a4b95b | 1294 | * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. |
78048085 EZ |
1295 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. |
1296 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) | |
1297 | (init_tty): Use DEV_TTY instead of "/dev/tty". | |
1298 | [WINDOWSNT]: No need to protect from NAME arg being null. | |
1299 | ||
23d4cba5 DN |
1300 | 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu> |
1301 | ||
1302 | * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning | |
1303 | up the tty state. | |
1304 | ||
71f44e7a SM |
1305 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
1306 | ||
1307 | * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
1308 | (gpm_tty): Change its type. | |
1309 | * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
1310 | (gpm_tty): Change its type and initialize it. | |
1311 | (Fterm_open_connection): Check the frame is indeed a tty. | |
1312 | Use the new gpm_tty. | |
1313 | (Fterm_close_connection): Use the new gpm_tty. | |
1314 | * keyboard.c (tty_read_avail_input): Use the new gpm_tty. | |
1315 | * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. | |
1316 | ||
def7fa34 JB |
1317 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> |
1318 | ||
1319 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | |
1320 | underline_color, to draw strike-through. | |
1321 | ||
d2bb6598 SM |
1322 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> |
1323 | ||
273f164c SM |
1324 | * lisp.h (allocate_terminal): Declare. |
1325 | ||
ca2d5566 SM |
1326 | * window.c (candidate_window_p): Consider frames that are being placed |
1327 | by the user as somewhere between visible and iconified. | |
1328 | (window_loop): Prefer windows on the current frame. | |
1329 | (Fselect_window): Move the use of select-frame to the beginning so we | |
1330 | can just delegate all the work (it'll call us back anyway). | |
1331 | ||
6168122d SM |
1332 | * frame.c (Qdisplay_environment_variable): |
1333 | * frame.h (Qdisplay_environment_variable): Delete. | |
1334 | ||
c51842ec SM |
1335 | * .gdbinit (xbacktrace): Print the arg's address rather than the value |
1336 | of the first arg, since that value may be a union. | |
1337 | ||
d2bb6598 SM |
1338 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' |
1339 | parameter rather than Qdisplay_environment_variable. If all else | |
1340 | fails, look for DISPLAY in initial-environment. | |
1341 | ||
6f022c19 GM |
1342 | 2007-09-21 Glenn Morris <rgm@gnu.org> |
1343 | ||
1344 | * Makefile.in (emacstool): Remove target. | |
f466320b | 1345 | (lisp, shortlisp): Remove termdev.elc. |
6f022c19 | 1346 | |
ea1bf8c7 GM |
1347 | 2007-09-21 Markus Triska <markus.triska@gmx.at> |
1348 | ||
d2bb6598 | 1349 | * xterm.c (x_delete_display): Compile session management conditionally. |
ea1bf8c7 | 1350 | |
d30a25b3 SM |
1351 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> |
1352 | ||
db699fc6 SM |
1353 | * callproc.c (getenv_internal_1): New function. |
1354 | (getenv_internal): Use it. | |
1355 | (Fgetenv_internal): Use it. Accept an env-list as optional arg. | |
1356 | ||
d2bb6598 | 1357 | * terminal.c (get_terminal): Don't accept ints to represent terminals. |
c5911e55 SM |
1358 | (Fterminal_name, Fterminal_parameters, Fterminal_parameter) |
1359 | (Fset_terminal_parameter): Work with dead terminals as well. | |
1360 | (Fmodify_terminal_parameters): Remove. | |
1361 | ||
d30a25b3 SM |
1362 | * terminal.c (get_terminal): Handle terminals. |
1363 | Make sure the terminal returned is live. | |
1364 | (create_terminal): Use allocate_terminal. | |
1365 | (mark_terminals): Move to alloc.c. | |
1366 | (delete_terminal): Use terminal->name as liveness status. | |
1367 | NULL out fields after freeing their contents. | |
1368 | Don't deallocate the object. | |
1369 | (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object | |
1370 | rather than an int. | |
1371 | (Fterminal_live_p): Accept non-integer arguments. | |
1372 | (Fterminal_list): Return terminal objects rather than an ints. | |
1373 | ||
1374 | * alloc.c (enum mem_type): New member for `terminal' objects. | |
1375 | (allocate_terminal): New function. | |
d2bb6598 SM |
1376 | (mark_maybe_pointer, valid_lisp_object_p, mark_object): |
1377 | Handle terminals. | |
d30a25b3 SM |
1378 | (mark_terminal): New fun. |
1379 | (mark_terminals): Move from terminal.c. | |
1380 | ||
1381 | * term.c (get_tty_terminal): Don't treat output_initial specially. | |
1382 | (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. | |
1383 | (delete_tty): Use terminal->name as liveness status. | |
1384 | ||
1385 | * termhooks.h (struct terminal): Make it into a pseudovector. | |
1386 | Remove `deleted' replaced by checking `name's nullness. | |
1387 | ||
1388 | * print.c (print_object): Handle terminals. | |
1389 | ||
1390 | * lisp.h (enum pvec_type): New `terminal' pseudovector. | |
1391 | (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. | |
1392 | ||
1393 | * frame.c (make_terminal_frame): | |
1394 | * keyboard.c (tty_read_avail_input): | |
1395 | * w32term.c (x_delete_terminal): | |
1396 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
1397 | * xterm.c (x_delete_terminal): Use terminal->name as liveness status. | |
1398 | ||
eba25e7c GM |
1399 | 2007-09-20 Glenn Morris <rgm@gnu.org> |
1400 | ||
1401 | * process.c (Fmake_network_process): Doc fix. | |
1402 | ||
2a29c3c1 JR |
1403 | 2007-09-19 Jason Rumney <jasonr@gnu.org> |
1404 | ||
1405 | * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. | |
1406 | ||
ba1cbad7 MC |
1407 | 2007-09-19 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name> |
1408 | ||
1409 | * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): | |
1410 | Fix a C warning regarding variable constness. | |
1411 | ||
1412 | * xterm.c (handle_one_xevent): Fix a C warning. | |
1413 | ||
334a1195 JR |
1414 | 2007-09-18 Jason Rumney <jasonr@gnu.org> |
1415 | ||
1416 | * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. | |
1417 | ||
879ffad9 JD |
1418 | 2007-09-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1419 | ||
1420 | * gtkutil.c (gdpy_def): New variable. | |
1421 | (xg_initialize): Initialize gdpy_def. | |
1422 | (xg_display_close): If no other display exists, set gdpy_def to a | |
1423 | new connection. | |
1424 | ||
45c94881 JD |
1425 | 2007-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1426 | ||
1427 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf | |
1428 | when we have no file name for the icon. | |
1429 | (xg_tool_bar_expose_callback): Remove. | |
1430 | (xg_create_tool_bar): Don't connect expose signal to | |
1431 | xg_tool_bar_expose_callback. | |
1432 | (xg_get_file_with_chooser): Move GCPRO1 after declarations. | |
1433 | ||
4d580af2 AS |
1434 | 2007-09-16 Andreas Schwab <schwab@suse.de> |
1435 | ||
1436 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | |
1437 | values instead of zapping them. | |
1438 | ||
aca946f3 GM |
1439 | 2007-09-14 Glenn Morris <rgm@gnu.org> |
1440 | ||
1441 | * fringe.c (init_fringe_bitmap) <swap_nibble>: Move to file scope. | |
1442 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | |
1443 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file | |
1444 | scope and rename to omfib_buffer for clarity. | |
1445 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | |
1446 | ||
25c460e5 KH |
1447 | 2007-09-14 Kenichi Handa <handa@m17n.org> |
1448 | ||
1449 | * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. | |
1450 | ||
09b69f01 JR |
1451 | 2007-09-13 Jason Rumney <jasonr@gnu.org> |
1452 | ||
1453 | * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. | |
1454 | ||
1455 | * w32term.c (w32_term_init): Pass rif to w32_init_fringe. | |
1456 | ||
1457 | * macterm.c (mac_initialize): Don't call mac_init_fringe here. | |
1458 | (mac_term_init): Call here instead, passing rif. | |
1459 | ||
442218db GM |
1460 | 2007-09-13 Glenn Morris <rgm@gnu.org> |
1461 | ||
1462 | * s/hpux.h: No longer define `static' as nothing. | |
1463 | ||
4795c40f GM |
1464 | 2007-09-13 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org> |
1465 | ||
1466 | * callint.c (Fcall_interactively): Remove unused var `fun'. | |
1467 | ||
1971a872 RF |
1468 | 2007-09-12 Romain Francoise <romain@orebokech.com> |
1469 | ||
1470 | * window.c (prefer_window_split_horizontally, display_buffer): | |
1471 | Revert 2007-09-08 change. | |
1472 | ||
2d33f506 GM |
1473 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
1474 | ||
585474ae | 1475 | * alloca.c: Remove file. |
ca7af97a GM |
1476 | * Makefile.in (alloca): Do not undef. |
1477 | (allocaobj, alloca.o): Remove. | |
1478 | (otherobj): Remove allocaobj. | |
1479 | * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. | |
1480 | * regex.c (C_ALLOCA): Remove all references and code that was only | |
1481 | used when this was defined. | |
1482 | * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. | |
1483 | * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. | |
99dfbaf1 GM |
1484 | * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. |
1485 | ||
2d33f506 | 1486 | * Makefile.in (SOURCES, unlock, relock): Delete. |
ca7af97a GM |
1487 | |
1488 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | |
1489 | (menu_grab_callback): All uses changed. | |
1490 | ||
1491 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | |
1492 | (x_reply_selection_request): All uses changed. | |
2d33f506 | 1493 | |
18a4a65e SM |
1494 | 2007-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
1495 | ||
1496 | * lread.c (load_warn_old_style_backquotes): Change message to look | |
1497 | better when it appears in the middle of byte-compiler messages. | |
1498 | ||
47cc8819 DN |
1499 | 2007-09-10 Dan Nicolaescu <dann@ics.uci.edu> |
1500 | ||
b7ea0894 DN |
1501 | * s/darwin.h (MULTI_KBOARD): Only define for Carbon. |
1502 | ||
47cc8819 DN |
1503 | * xterm.c (x_create_terminal): Add comment. |
1504 | ||
1505 | * term.c (clear_tty_hooks, set_tty_hooks): Add comments. | |
1506 | ||
5632bd0f RS |
1507 | 2007-09-10 Richard Stallman <rms@gnu.org> |
1508 | ||
1509 | * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. | |
1510 | ||
ccb5c14f MC |
1511 | 2007-09-10 Micha\e,Ak\e(Bl Cadilhac <michael@cadilhac.name> |
1512 | ||
4bca9161 MC |
1513 | * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. |
1514 | (DEFUN): Document `intspec', use it instead of `prompt'. | |
1515 | ||
04724b69 MC |
1516 | * eval.c (Fcommandp): Change `->prompt' to `->intspec'. |
1517 | ||
8a6d230a MC |
1518 | * data.c (Finteractive_form): If the interactive specification starts |
1519 | with a `(', use it as a Lisp form. | |
1520 | ||
09fbdf6c MC |
1521 | * fileio.c (Fset_file_modes): Add an interactive spec that reads a file |
1522 | name and file modes. | |
1523 | ||
ccb5c14f MC |
1524 | * callint.c (Fcall_interactively): Comment fixes. |
1525 | ||
023accd6 SM |
1526 | 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1527 | ||
1528 | * callint.c (Fcall_interactively): Use Finteractive_form also for subrs | |
1529 | and compiled functions. | |
1530 | ||
f26b9544 EZ |
1531 | 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com> |
1532 | ||
1533 | * window.c (prefer_window_split_horizontally): New variable. | |
1534 | (display_buffer): Consider splitting window horizontally depending | |
1535 | on prefer_window_split_horizontally. | |
1536 | ||
4d395425 EZ |
1537 | 2007-09-08 Eli Zaretskii <eliz@gnu.org> |
1538 | ||
97ddc760 | 1539 | * sysdep.c [WINDOWSNT]: Don't include sysselect.h. |
4d395425 | 1540 | |
08c1d235 SM |
1541 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1542 | ||
179cef48 SM |
1543 | * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. |
1544 | ||
08c1d235 SM |
1545 | * frame.c (x_set_frame_parameters): Check number is positive before |
1546 | using XFASTINT. | |
1547 | ||
1548 | * window.c (freeze_window_start): Don't presume selected_window holds | |
1549 | a window object. | |
92f94a12 | 1550 | (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. |
08c1d235 | 1551 | |
97ddc760 | 1552 | 2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change) |
de52dcbb DN |
1553 | |
1554 | * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. | |
1555 | ||
90ab5c62 SM |
1556 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1557 | ||
1558 | * window.c (Vsplit_window_preferred_function): New var. | |
1559 | (Fdisplay_buffer): Use it. | |
1560 | (syms_of_window): Export, and initialize it. | |
1561 | ||
1ab2cd43 TTN |
1562 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) |
1563 | ||
1564 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. | |
1565 | ||
0b0515bc GM |
1566 | 2007-09-06 Glenn Morris <rgm@gnu.org> |
1567 | ||
57fd5c55 | 1568 | * gtkutil.c (menu_grab_callback) <cnt>: |
0b0515bc GM |
1569 | * xselect.c (x_reply_selection_request) <cnt>: Move static |
1570 | variable to file scope. | |
1571 | ||
98594580 SM |
1572 | 2007-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
1573 | ||
1574 | * xdisp.c (redisplay_internal): Make sure Elisp code always sees | |
1575 | consistent values of selected_frame and selected_window. | |
1576 | ||
0f4c7aef JR |
1577 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
1578 | ||
1579 | * w32console.c (initialize_w32_display): Zero unused hooks. | |
1580 | ||
e4019195 DN |
1581 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> |
1582 | ||
1583 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions) | |
1584 | (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. | |
1585 | ||
bce179b5 JR |
1586 | 2007-09-04 Jason Rumney <jasonr@gnu.org> |
1587 | ||
a0236551 JR |
1588 | * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible |
1589 | in w32console.c. Set up input. Remove XXX comments that have been | |
1590 | confirmed as correct. | |
1591 | ||
a4926668 JR |
1592 | * s/ms-w32.h (MULTI_KBOARD): Define. |
1593 | ||
953bf0dc JR |
1594 | * w32console.c (one_and_only_w32cons): Remove. |
1595 | (initialize_w32_display): Take terminal argument. | |
1596 | ||
1597 | * term.c (init_tty) [WINDOWSNT]: Pass terminal to | |
1598 | initialize_w32_display. | |
1599 | (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. | |
1600 | ||
bce179b5 JR |
1601 | * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. |
1602 | ||
1603 | * keyboard.c (discard_mouse_events): Discard it. | |
1604 | (make_lispy_event): Translate it to a lisp event. | |
1605 | (lispy_wheel_names): Add wheel-left and right events. | |
1606 | (syms_of_keyboard): Enlarge wheel_syms. | |
1607 | ||
1608 | * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. | |
1609 | <WM_MOUSEHWHEEL>: Pass new system message to lisp. | |
1610 | ||
1611 | * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. | |
1612 | ||
1613 | * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT | |
1614 | from WM_MOUSEHWHEEL. | |
1615 | (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL. | |
1616 | ||
1617 | * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from | |
1618 | terminal. | |
1619 | ||
1620 | * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new | |
1621 | keyboard for the terminal. | |
1622 | ||
92cd6a7c DN |
1623 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> |
1624 | ||
1625 | * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. | |
1626 | (Vresume_tty_hook): Rename from Vresume_tty_functions. | |
1627 | (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook | |
1628 | and resume-tty-function to resume-tty-hook. | |
1629 | (Fsuspend_tty, Fresume_tty): Use new names. | |
1630 | ||
2154c964 JD |
1631 | 2007-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1632 | ||
1633 | * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon | |
1634 | if it starts with "n:". | |
1635 | ||
b42ff099 JD |
1636 | 2007-08-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1637 | ||
1638 | * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. | |
1639 | ||
6b8e474c SM |
1640 | 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca> |
1641 | ||
92d9c1d4 SM |
1642 | * frame.h: |
1643 | * frame.c (Qterm_environment_variable): Remove. | |
1644 | (syms_of_frame): Don't init and staticpro it. | |
1645 | ||
92d9c1d4 SM |
1646 | * callproc.c (getenv_internal): Remove special case for $TERM. |
1647 | ||
6b8e474c SM |
1648 | * callproc.c (Vinitial_environment): New variable. |
1649 | (set_initial_environment): Initialize it. | |
1650 | (syms_of_callproc): Declare it. | |
1651 | (child_setup): Don't mess with TERM via Qterm_environment_variable; the | |
1652 | TERM under which a process runs is never related to the TERM in which | |
1653 | Emacs is running. | |
1654 | ||
0f1444e1 DN |
1655 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
1656 | ||
1657 | * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... | |
1658 | * s/darwin.h: ... do it here. | |
1659 | ||
b8866860 SM |
1660 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
1661 | ||
1662 | * lisp.h (set_initial_environment): Rename from set_global_environment. | |
1663 | ||
1664 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been | |
1665 | removed by mistake on the multi-tty branch. | |
1666 | ||
1667 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | |
1668 | (Fmodify_frame_parameters): Return a value. | |
1669 | ||
1670 | * image.c (png_load): Comment-out var only used in commented-out code. | |
1671 | ||
1672 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) | |
1673 | before passing it to mark_object. | |
1674 | ||
1675 | * xfaces.c (internal_resolve_face_name): Return a value. | |
1676 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | |
1677 | ||
1678 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | |
1679 | (x_icon): Comment-out var only used in commented-out code. | |
1680 | ||
0a42be6d RF |
1681 | 2007-08-29 Romain Francoise <romain@orebokech.com> |
1682 | ||
1683 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | |
1684 | QUIT hasn't been provided. | |
1685 | ||
8d9cc0b7 MB |
1686 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> |
1687 | ||
1688 | * callproc.c (child_setup, getenv_internal): Use the | |
1689 | display-environment-variable and term-environment-variable frame | |
1690 | params. | |
1691 | (set_initial_environment): Initialise Vprocess_environment. | |
1692 | ||
1693 | * config.in: Disable multi-keyboard support on a mac. | |
1694 | ||
1695 | * frame.c (Qterm_environment_variable) | |
1696 | (Qdisplay_environment_variable): New variables. | |
1697 | (syms_of_frame): Intern and staticpro them. | |
1698 | (Fmake_terminal_frame): Disable output method test. | |
1699 | ||
1700 | * frame.h: Declare them here. | |
1701 | ||
1702 | * macfns.c (x_set_mouse_color): Get rif from the frame. | |
1703 | (x_set_tool_bar_lines): Don't use updating_frame. | |
1704 | (mac_window): Add 2 new parameters for consistency with other systems. | |
1705 | (Fx_create_frame): Fix doc string. Rename the parameter. Set the | |
1706 | frame parameters following what is done in X11 and w32. Don't use | |
1707 | FRAME_MAC_DISPLAY_INFO. | |
1708 | (Fx_open_connection, start_hourglass): Remove window-system check. | |
1709 | (x_create_tip_frame): Get the keyboard from the terminal. | |
1710 | ||
1711 | * macmenu.c: Reorder includes. | |
1712 | (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
1713 | ||
1714 | * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a | |
1715 | terminal parameter. | |
1716 | (x_clear_frame): Add a frame parameter. | |
1717 | (note_mouse_movement): Get rif from the frame. | |
1718 | (mac_term_init): Initialize the terminal. | |
1719 | (mac_initialize): Make static and move terminal initialization ... | |
1720 | (mac_create_terminal): ... to this new function. | |
1721 | ||
1722 | * macterm.h (struct mac_display_info): Add terminal. | |
7196c970 | 1723 | (mac_initialize): Delete declaration. |
8d9cc0b7 | 1724 | |
381864b2 | 1725 | * puresize.h (BASE_PURESIZE): Increase base value to 1164000. |
8d9cc0b7 MB |
1726 | |
1727 | * sysdep.c: Comment out text after #endif. | |
1728 | ||
1729 | * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD | |
1730 | is defined. Better initialize ttys in windows. Use terminal | |
1731 | specific mouse_position_hook. | |
1732 | ||
1733 | * termhooks.h (union display_info): Add mac_display_info. | |
1734 | ||
b8866860 SM |
1735 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. |
1736 | Set the default minibuffer frame, window_system and the rest of the | |
8d9cc0b7 MB |
1737 | frame parameters following what is done in X11. |
1738 | ||
1739 | * w32term.c (w32_initialize): Make static. | |
1740 | ||
1741 | * xselect.c (x_handle_selection_clear): Only access | |
1742 | terminal->kboard when MULTI_KBOARD is defined. | |
1743 | ||
1744 | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. | |
1745 | (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. | |
1746 | ||
1747 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | |
1748 | ||
1749 | * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. | |
1750 | (make_terminal_frame) [WINDOWSNT]: Initialize terminal. | |
1751 | ||
1752 | * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: | |
1753 | (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. | |
1754 | ||
1755 | * keyboard.c (restore_kboard_configuration): Only define when | |
1756 | MULTI_KBOARD defined. | |
1757 | ||
35277b03 | 1758 | * makefile.w32-in: Update dependancies from Makefile.in. |
8d9cc0b7 MB |
1759 | (OBJ1): Add terminal.$(O) |
1760 | ||
b8866860 SM |
1761 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: |
1762 | Don't define function body. | |
8d9cc0b7 MB |
1763 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. |
1764 | ||
1765 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. | |
1766 | ||
1767 | * w32.c (request_sigio, unrequest_sigio): Remove. | |
1768 | ||
1769 | * w32console.c (w32con_move_cursor, w32con_clear_to_end) | |
1770 | (w32con_clear_frame, w32con_clear_end_of_line) | |
1771 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) | |
1772 | (w32con_delete_glyphs, w32con_set_terminal_window) | |
1773 | (scroll_line, w32_sys_ring_bell): Add frame arg. | |
b8866860 SM |
1774 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): |
1775 | Add terminal arg. | |
8d9cc0b7 MB |
1776 | (PICK_FRAME): Remove. |
1777 | (w32con_write_glyphs): Use frame specific terminal coding. | |
1778 | (one_and_only_w32cons): New global variable. | |
1779 | (initialize_w32_display): Use it for storing hooks. | |
1780 | (create_w32cons_output): New function. | |
1781 | ||
1782 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first | |
1783 | arg a frame. | |
1784 | ||
b8866860 SM |
1785 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. |
1786 | Set window_system. | |
8d9cc0b7 MB |
1787 | (x_set_tool_bar_lines): Don't use updating_frame. |
1788 | (Fx_create_frame): Set terminal and ref count. | |
1789 | (Fx_open_connection): Remove window-system check. | |
1790 | ||
1791 | * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
1792 | ||
1793 | * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. | |
1794 | (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. | |
1795 | (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): | |
1796 | Add frame arg. | |
1797 | (x_delete_terminal, w32_create_terminal): New functions. | |
1798 | (w32_term_init): Create a terminal. | |
1799 | (w32_initialize): Move terminal specific initialization to | |
1800 | w32_create_terminal. | |
1801 | ||
b8866860 | 1802 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. |
8d9cc0b7 MB |
1803 | (w32_clear_rect, w32_clear_area): Use background from frame. |
1804 | (w32_display_info): Add terminal. | |
1805 | (w32_sys_ring_bell, x_delete_display): Declare here. | |
1806 | ||
1807 | * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. | |
1808 | ||
1809 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. | |
1810 | ||
1811 | 2007-08-29 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) | |
1812 | ||
1813 | * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): | |
1814 | Fix get_named_tty calls for the controlling tty. | |
1815 | ||
1816 | 2007-08-29 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) | |
1817 | ||
1818 | * term.c (dissociate_if_controlling_tty)[USG]: Fix parse error. | |
1819 | ||
1820 | 2007-08-29 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) | |
1821 | ||
1822 | * term.c (tty_insert_glyphs): Add missing first parameter. | |
1823 | ||
9647bd08 | 1824 | 2007-08-29 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <karoly@lorentey.hu> |
8d9cc0b7 | 1825 | |
b8866860 SM |
1826 | * buffer.c (Fbuffer_list, Fbury_buffer): |
1827 | Take frame->buried_buffer_list into account. | |
8d9cc0b7 MB |
1828 | |
1829 | * cm.c (current_tty): New variable, for cmputc(). | |
1830 | (cmputc): Use it. | |
1831 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | |
1832 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | |
b8866860 SM |
1833 | (cmgoto): Add tty parameter. Pass it on to calccost(). |
1834 | Use emacs_tputs() instead of tputs(). | |
8d9cc0b7 MB |
1835 | |
1836 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | |
1837 | tputs(). | |
1838 | (current_tty): New variable, for cmputc(). | |
1839 | (cmcheckmagic, cmputc, cmgoto): Add prototypes. | |
1840 | ||
1841 | * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. | |
1842 | (internal_condition_case, internal_condition_case_1) | |
1843 | (internal_condition_case_2): Don't abort when x_catching_errors. | |
1844 | ||
1845 | * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. | |
1846 | (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to | |
1847 | prevent crashes caused by bogus longjmps in read_char. | |
1848 | ||
1849 | * keymap.h (Fset_keymap_parent): Add EXFUN. | |
1850 | ||
1851 | * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) | |
1852 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | |
1853 | Remove redundant definition. | |
1854 | ||
b8866860 SM |
1855 | * macfns.c (x_set_mouse_color, x_make_gc): |
1856 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 | 1857 | |
b8866860 SM |
1858 | * w32term.c (x_free_frame_resources): |
1859 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
1860 | (w32_initialize): Use the accessor macros for terminal characteristics. |
1861 | ||
1862 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. | |
1863 | Use the accessor macros for terminal characteristics. | |
1864 | * msdos.c (internal_terminal_init): Use the accessor macros for | |
1865 | terminal characteristics. | |
b8866860 SM |
1866 | (ScreenVisualBell, internal_terminal_init): |
1867 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
1868 | |
1869 | * termopts.h (no_redraw_on_reenter): Declare. | |
1870 | ||
1871 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | |
03f06e5c | 1872 | (mark_terminals, mark_ttys): Declare. |
8d9cc0b7 | 1873 | (Fgarbage_collect): Call them. |
03f06e5c | 1874 | (mark_object): Mark buried_buffer_list. |
8d9cc0b7 MB |
1875 | |
1876 | * prefix-args.c: Include stdlib.h for exit. | |
1877 | ||
1878 | * syssignal.h: Add comment. | |
1879 | ||
1880 | * indent.c: Include stdio.h. | |
1881 | ||
1882 | * window.h (Vinitial_window_system): Declare. | |
1883 | (Vwindow_system): Delete declaration. | |
1884 | ||
1885 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | |
1886 | ||
1887 | * image.c (lookup_image): Don't initialize `c' until the xasserts | |
1888 | have been run. | |
1889 | ||
1890 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and | |
1891 | FRAME_FOREGROUND_PIXEL. | |
1892 | ||
1893 | * print.c (print_preprocess): Don't lose print_depth levels while | |
1894 | iterating. | |
1895 | ||
b8866860 SM |
1896 | * widget.c (update_from_various_frame_slots): |
1897 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
1898 | |
1899 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | |
1900 | frames. | |
1901 | (window_internal_height): Remove bogus make_number call. | |
b8866860 | 1902 | (init_window_once): Call make_terminal_frame with two zero parameters. |
8d9cc0b7 MB |
1903 | |
1904 | * fileio.c (Fread_file_name): Update comment. | |
1905 | ||
b8866860 SM |
1906 | * callint.c (Fcall_interactively): |
1907 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. | |
8d9cc0b7 MB |
1908 | Make sure it is correctly unwound. |
1909 | ||
1910 | * xsmfns.c (x_session_close): New function. | |
1911 | ||
03f06e5c | 1912 | * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): |
8d9cc0b7 MB |
1913 | Delete declarations. |
1914 | ||
1915 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | |
1916 | (x_output): Remove background_pixel and foreground_pixel fields. | |
03f06e5c | 1917 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. |
8d9cc0b7 MB |
1918 | (x_delete_device): |
1919 | (x_session_close): Declare. | |
1920 | ||
1921 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | |
1922 | (read_filtered_event): Call `read_char' with a local | |
1923 | `wrong_kboard_jmpbuf'. | |
1924 | ||
b8866860 SM |
1925 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. |
1926 | Don't call single_kboard_state. Use FRAME_RIF. | |
8d9cc0b7 MB |
1927 | |
1928 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | |
1929 | systems. | |
1930 | ||
b8866860 | 1931 | * lisp.h (set_process_environment): Rename to `set_global_environment'. |
03f06e5c | 1932 | (Fframe_with_environment, Fset_input_meta_mode) |
8d9cc0b7 | 1933 | (Fset_quit_char): EXFUN. |
03f06e5c | 1934 | (x_create_device, tty_output, terminal, tty_display_info): Declare. |
8d9cc0b7 MB |
1935 | (init_sys_modes, reset_sys_modes): Update prototypes. |
1936 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | |
1937 | ||
b8866860 SM |
1938 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, |
1939 | Vlocal_key_translation_map, and Vkeyboard_translate_table. | |
03f06e5c | 1940 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): |
8d9cc0b7 | 1941 | Delete declarations. |
03f06e5c JB |
1942 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) |
1943 | (temporarily_switch_to_single_kboard, tty_read_avail_input): | |
8d9cc0b7 MB |
1944 | New declarations. |
1945 | ||
1946 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | |
1947 | already does that during init_display(). Call syms_of_keymap | |
b8866860 SM |
1948 | before syms_of_keyboard. Call `syms_of_terminal'. |
1949 | Call set_initial_environment, not set_process_environment. | |
8d9cc0b7 MB |
1950 | (shut_down_emacs): Call reset_all_sys_modes() instead of |
1951 | reset_sys_modes(). | |
1952 | ||
1953 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. | |
03f06e5c JB |
1954 | (internal_resolve_face_name, resolve_face_name_error): New functions. |
1955 | (resolve_face_name): Protect against loops and errors thrown by Fget. | |
1956 | (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. | |
8d9cc0b7 MB |
1957 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. |
1958 | ||
1959 | * scroll.c: Replace CURTTY() with local variables throughout the | |
1960 | file (where applicable). | |
1961 | (calculate_scrolling, calculate_direct_scrolling) | |
1962 | (scrolling_1, scroll_cost): Use the accessor macros for terminal | |
1963 | characteristics. | |
1964 | ||
1965 | * keymap.c (Vfunction_key_map): Remove. | |
b8866860 | 1966 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. |
8d9cc0b7 MB |
1967 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. |
1968 | (Vkey_translation_map): Remove. | |
1969 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | |
1970 | (Fdescribe_buffer_bindings): | |
1971 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | |
1972 | Update for terminal-local key-translation-map. | |
1973 | ||
1974 | * Makefile.in (callproc.o): Update dependencies. | |
1975 | (lisp, shortlisp): Add termdev.elc. | |
1976 | (obj): Add terminal.o. | |
1977 | (terminal.o): Add dependencies. | |
1978 | [HAVE_CARBON]: Make terminal.o depend on macgui.h. | |
1979 | (data.o, fns.o): Add termhooks.h dependency. | |
1980 | (SOME_MACHINE_LISP): Add dnd.elc. | |
1981 | (minibuf.o): Fix typo. | |
1982 | Update dependencies. | |
1983 | ||
1984 | * data.c (do_symval_forwarding, store_symval_forwarding) | |
1985 | (find_symbol_value): Use the selected frame's keyboard, not | |
1986 | current_kboard. | |
1987 | ||
1988 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | |
1989 | Vwindow_system. | |
1990 | ||
1991 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | |
1992 | Fmenu_bar_open. | |
1993 | (syms_of_xmenu): Update defsubr. | |
1994 | (mouse_position_for_popup, Fx_popup_menu) | |
1995 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) | |
1996 | (set_frame_menubar, free_frame_menubar) | |
1997 | (create_and_show_popup_menu, xmenu_show, ) | |
1998 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not | |
1999 | an X frame. | |
2000 | ||
2001 | * xselect.c (x_own_selection): Abort if not an X frame. | |
2002 | (some_frame_on_display): Check if it is an X frame. | |
2003 | (x_handle_selection_clear): Deal with MULTI_KBOARD. | |
2004 | ||
2005 | * coding.c: Include frame.h and termhooks.h. | |
03f06e5c | 2006 | (terminal_coding, keyboard_coding): Delete. |
8d9cc0b7 MB |
2007 | (Fset_terminal_coding_system_internal): |
2008 | (Fset_keyboard_coding_system_internal): | |
2009 | (Fkeyboard_coding_system): | |
03f06e5c JB |
2010 | (Fterminal_coding_system): Add a terminal parameter. |
2011 | Get terminal_coding from the terminal. | |
8d9cc0b7 MB |
2012 | (init_coding_once): Don't call setup_coding_system here. |
2013 | ||
2014 | * dispextern.h (set_scroll_region, turn_off_insert) | |
2015 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | |
2016 | (tty_clear_end_of_line, tty_setup_colors) | |
03f06e5c | 2017 | (delete_tty, updating_frame) |
8d9cc0b7 MB |
2018 | (produce_special_glyphs, produce_glyphs, write_glyphs) |
2019 | (insert_glyphs): Remove. | |
2020 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | |
03f06e5c | 2021 | (tty_turn_off_highlight, get_tty_size): Add declaration. |
b8866860 | 2022 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. |
8d9cc0b7 MB |
2023 | |
2024 | * frame.h (enum output_method): Add output_initial. | |
2025 | (struct x_output): Delete. | |
b8866860 SM |
2026 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): |
2027 | Access foreground_pixel and background_pixel directly from the frame. | |
8d9cc0b7 MB |
2028 | (tty_display): Delete. |
2029 | (struct frame): Add buried_buffer_list, foreground_pixel, | |
03f06e5c | 2030 | background_pixel and terminal. Delete kboard |
8d9cc0b7 MB |
2031 | (union output_data): Add tty. |
2032 | (FRAME_KBOARD): Get the kboard from the terminal. | |
2033 | (FRAME_INITIAL_P): New macro. | |
2034 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | |
2035 | (Qterm_environment_variable, Qdisplay_environment_variable) | |
b8866860 SM |
2036 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): |
2037 | New declarations. | |
8d9cc0b7 MB |
2038 | |
2039 | * termchar.h (tty_output, tty_display_info): New structures. | |
2040 | (tty_list): Declare. | |
2041 | (FRAME_TTY, CURTTY): New macros. | |
2042 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | |
2043 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) | |
2044 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) | |
2045 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. | |
2046 | ||
2047 | * callproc.c: Include frame.h and termhooks.h, for terminal | |
2048 | parameters. | |
2049 | (add_env): New function. | |
2050 | (child_setup): Use it. | |
b8866860 | 2051 | (child_setup, getenv_internal): Handle the new Vprocess_environment. |
8d9cc0b7 MB |
2052 | (getenv_internal): Fix get_terminal_param call. |
2053 | (Fgetenv_internal, egetenv): Update doc. | |
2054 | (syms_of_callproc): Initialize Vprocess_environment to nil. | |
03f06e5c | 2055 | Register and initialize them. Remove obsolete defvars. Update doc |
8d9cc0b7 MB |
2056 | strings. |
2057 | (child_setup): Handle Vlocal_environment_variables. | |
b8866860 SM |
2058 | (getenv_internal): Add terminal parameter. |
2059 | Handle Vlocal_environment_variables. | |
8d9cc0b7 MB |
2060 | (Fgetenv_internal): Add terminal parameter. |
2061 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | |
b8866860 | 2062 | environment in a frame (not terminal) parameter. Update doc strings. |
8d9cc0b7 MB |
2063 | (set_initial_environment): Rename from set_global_environment. |
2064 | Store Emacs environment in initial frame parameter. | |
2065 | ||
2066 | * xdisp.c (redisplay_internal): Update references to | |
2067 | `previous_terminal_frame'. | |
2068 | (display_mode_line, Fformat_mode_line): Replace calls to | |
2069 | `push_frame_kboard' with `push_kboard'. | |
2070 | (get_glyph_string_clip_rects): Add extra parentheses and | |
2071 | braces to prevent compiler warnings. | |
2072 | (calc_pixel_width_or_height): Add xassert to check that the | |
2073 | frame is alive. Don't call `lookup_image' on a termcap frame. | |
2074 | (message2_nolog, message3_nolog, redisplay_internal) | |
2075 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | |
2076 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | |
2077 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | |
2078 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
2079 | (Fx_display_planes, Fx_display_color_cells) | |
2080 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | |
2081 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | |
2082 | (Fx_display_backing_store, Fx_display_visual_class) | |
2083 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | |
97ddc760 | 2084 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. |
8d9cc0b7 MB |
2085 | |
2086 | * xfns.c (x_set_foreground_color x_set_background_color) | |
b8866860 SM |
2087 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): |
2088 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
8d9cc0b7 MB |
2089 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) |
2090 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a | |
2091 | terminal that is being deleted. | |
2092 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | |
b8866860 | 2093 | frame parameter, and make sure it overrides any user-supplied setting. |
8d9cc0b7 MB |
2094 | (Fx_close_connection, Fx_synchronize): Unify argument names with |
2095 | the rest of the DEFUNs. | |
2096 | ||
2097 | * dispnew.c (Fsend_string_to_terminal): Update call to | |
2098 | `get_tty_terminal'. | |
2099 | (Fredraw_frame, Fsend_string_to_terminal) | |
2d33f506 | 2100 | (Fsend_string_to_terminal, init_display): Use FRAME_RIF, |
8d9cc0b7 MB |
2101 | FRAME_TERMCAP_P and FRAME_TTY. |
2102 | (window_change_signal): Don't believe width/height values that are | |
2103 | impossibly small. | |
2104 | (Vinitial_window_system): Rename from Vwindow_system. | |
2105 | (termscript, Wcm, rif): Delete. | |
2106 | ||
2107 | * termhooks.h (struct terminal): New struct containing the | |
2108 | previously global text display hooks and new members NAME, | |
2109 | DELETED and PARAM_ALIST. | |
2110 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) | |
2111 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | |
2112 | (FRAME_RIF): New macros. | |
2113 | (get_terminal_param, get_device): New declarations. | |
2114 | (termscript): Delete declaration. | |
2115 | ||
2116 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | |
2117 | (XTflash, x_free_frame_resources, x_scroll_bar_create) | |
2118 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | |
2119 | FRAME_FOREGROUND_PIXEL. | |
2120 | (x_fully_uncatch_errors): Disable definition. | |
2121 | (x_scroll_bar_expose): Fix reference to foreground pixel. | |
2122 | (XTread_socket): Disable loop on all X displays. | |
2123 | (x_delete_terminal): Don't set terminal->deleted and let | |
2124 | delete_terminal delete the frames on the terminal. | |
2125 | (x_delete_display): Doc update to reflect changes in | |
2126 | delete_terminal. | |
2127 | (x_display_info) <terminal>: Move member earlier in the struct. | |
8d9cc0b7 MB |
2128 | (deleting_tty): Remove old variable. |
2129 | (Fsuspend_tty): Call clear_tty_hooks. | |
2130 | (Fresume_tty, init_tty): Call set_tty_hooks. | |
8d9cc0b7 MB |
2131 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw |
2132 | errors on X frames. | |
2133 | (x_catch_errors_unwind): Abort if x_error_message is NULL. | |
2134 | (handle_one_xevent): Initialize `f' to NULL. | |
9cab96b0 | 2135 | (x_delete_terminal, x_create_terminal): New functions. |
8d9cc0b7 MB |
2136 | (XTset_terminal_modes, XTreset_terminal_modes) |
2137 | (XTread_socket, x_connection_closed, x_term_init) | |
2138 | (x_term_init, x_delete_display): Add terminal parameter. | |
2139 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary | |
2140 | X connections. | |
2141 | ||
2142 | * frame.c (Fframep): Deal with output_initial. | |
2143 | (Qbuffer_predicate, Qbuffer_list, Qburied_buffer_list, Qtty) | |
2144 | (Qtty_type, Qwindow_system, Qenvironment) | |
b8866860 | 2145 | (Qterm_environment_variable, Qdisplay_environment_variable): New vars. |
8d9cc0b7 MB |
2146 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. |
2147 | (make_terminal_frame): Don't create frames on a terminal that is | |
2148 | being deleted. | |
2149 | (make_terminal_frame): Use FRAME_BACKGROUND_PIXEL and | |
2150 | FRAME_FOREGROUND_PIXEL. | |
b8866860 | 2151 | (store_frame_param): Check for found_for_frame before calling XFRAME. |
8d9cc0b7 MB |
2152 | (Fmake_terminal_frame): Handle NULL tty names correctly. |
2153 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | |
2154 | (Fdelete_frame): Remove unused variable `count'. | |
2155 | (Qenvironment): New variable. | |
2156 | (Fdelete_frame): Don't allow other frames to refer to a deleted | |
2157 | frame in their 'environment parameter. | |
2158 | (Fframe_with_environment): New function. | |
b8866860 | 2159 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. |
8d9cc0b7 MB |
2160 | (get_future_frame_param): New function. |
2161 | (Fmake_terminal_frame): Use it. | |
2d33f506 | 2162 | (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. |
8d9cc0b7 MB |
2163 | |
2164 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | |
2165 | * sysdep.c (reset_sys_modes): Update for renames. | |
2166 | ||
2167 | * keyboard.c (tty_read_avail_input): New function. | |
03f06e5c | 2168 | (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. |
8d9cc0b7 MB |
2169 | (syms_of_keyboard): Defsubr them. |
2170 | (Fset_input_meta_mode, Fset_quit_char): New functions. | |
2171 | (Fset_input_mode): Split to above functions. | |
2172 | ||
2173 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | |
2174 | parameter. Use it in call to `read_char'. | |
b8866860 SM |
2175 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. |
2176 | Set wrong_kboard_jmpbuf correctly in recursive calls. | |
2177 | Use current_kboard to access Vkeyboard_translate_table. | |
2178 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. | |
2179 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. | |
2180 | Update longjmp invocations. Remember the original current_kboard, | |
2181 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel | |
2182 | changes it. Comment out unnecessary calls to | |
2183 | `record_single_kboard_state' and `any_kboard_state'. | |
2184 | Update recursive calls. | |
8d9cc0b7 MB |
2185 | (wrong_kboard_jmpbuf): Remove global variable. |
2186 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | |
2187 | Handle deleted interrupted_kboards correctly; that is a legal | |
2188 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp | |
b8866860 | 2189 | and read_char calls. Abort if interrupted_kboard died in read_char. |
8d9cc0b7 MB |
2190 | (any_kboard_state, single_kboard_state) |
2191 | (push_frame_kboard): Remove function. | |
2192 | (pop_kboard): Switch out of single_kboard mode if the kboard has | |
03f06e5c JB |
2193 | been deleted. Remove unused variable. Help debugging by not |
2194 | changing current_kboard unnecessarily. Set current_kboard to the | |
8d9cc0b7 MB |
2195 | kboard of the selected frame when the stored kboard object has |
2196 | been deleted before pop_kboard. | |
2197 | (temporarily_switch_to_single_kboard): Change first parameter to a | |
2198 | frame pointer. Throw an error when caller wants to change kboards | |
2199 | while in single_kboard mode. Don't push_kboard if we weren't in | |
2200 | single kboard state. Don't pop_kboard if we popped into any | |
2201 | kboard state. | |
2202 | (restore_kboard_configuration): Abort if pop_kboard changed the | |
03f06e5c | 2203 | kboard in single_kboard mode. Call pop_kboard only after setting |
8d9cc0b7 MB |
2204 | up single_kboard mode. |
2205 | (Frecursive_edit): Switch to single_kboard mode only in nested | |
2206 | command loops. | |
b8866860 SM |
2207 | (cmd_error, command_loop, command_loop_1, timer_check): |
2208 | Comment out unnecessary call to `any_kboard_state' and | |
8d9cc0b7 MB |
2209 | `record_single_kboard_state'. |
2210 | (delete_kboard): Exit single_kboard mode if we have just deleted | |
03f06e5c | 2211 | that kboard. Use FRAME_KBOARD. |
8d9cc0b7 MB |
2212 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not |
2213 | `fatal_error_signal'. | |
2214 | (record_single_kboard_state): Don't push_kboard if we weren't in | |
2215 | single kboard state. Don't pop_kboard if we popped into any | |
2216 | kboard state. | |
2217 | (push_frame_kboard): Rename to push_kboard. | |
2218 | (kbd_buffer_get_event): Use FRAME_TERMINAL. | |
2219 | (read_avail_input): Read input from all terminals. | |
2220 | (mark_kboards): Also mark Vkeyboard_translate_table. | |
2221 | (kbd_buffer_store_event_hold): Simplify condition. | |
2222 | (read_key_sequence): Reinitialize fkey and keytran at each replay. | |
2223 | (Vkeyboard_translate_table): Move to struct kboard. | |
2224 | (init_kboard): Initialize Vkeyboard_translate_table. | |
2225 | (syms_of_keyboard): Use DEFVAR_KBOARD to define | |
2226 | Vkeyboard_translate_table. Update doc strings. Update docs of | |
2227 | local-function-key-map and function-key-map. | |
2228 | ||
2229 | * terminal.c: New file. | |
2230 | ||
2231 | * term.c: Include errno.h. | |
2232 | (Vring_bell_function, device_list, initial_device) | |
2233 | (next_device_id, ring_bell, update_begin, update_end) | |
2234 | (set_terminal_window, cursor_to, raw_cursor_to) | |
2235 | (clear_to_end, clear_frame, clear_end_of_line) | |
2236 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) | |
2237 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | |
2238 | (syms_of_term): Move their initialization to terminal.c. | |
2239 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) | |
2240 | (Ftty_display_color_cells) | |
2241 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) | |
9cab96b0 | 2242 | (clear_tty_hooks, set_tty_hooks) |
8d9cc0b7 MB |
2243 | (init_tty, maybe_fatal): New functions. |
2244 | (Ftty_type): Return nil if terminal is not on a tty instead of | |
2245 | throwing an error. Doc update. | |
2246 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | |
03f06e5c | 2247 | Doc update. Initialize new subrs and variables. |
8d9cc0b7 MB |
2248 | (delete_tty): Use terminal->deleted. |
2249 | (tty_set_terminal_modes): Rename from set_terminal_modes. | |
2250 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. | |
2251 | (set_scroll_region): Rename to `tty_set_scroll_region'. | |
2252 | (turn_on_insert): Rename to `tty_turn_on_insert'. | |
2253 | (turn_off_insert): Rename to `tty_turn_off_insert'. | |
2254 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. | |
2255 | (turn_on_highlight): Rename to `tty_turn_on_highlight'. | |
2256 | (toggle_highligh): Rename to `tty_toggle_highlight'. | |
2257 | (background_highlight): Rename to `tty_background_highlight'. | |
2258 | (highlight_if_desired): Rename to `tty_highlight_if_desired'. | |
2259 | (tty_ring_bell, tty_update_end, tty_set_terminal_window) | |
2260 | (tty_set_scroll_region, tty_background_highlight) | |
2261 | (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) | |
2262 | (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) | |
2263 | (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) | |
2264 | (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): | |
2265 | Add static modifier. | |
2266 | (tty_reset_terminal_modes, tty_set_terminal_window) | |
2267 | (tty_set_scroll_region, tty_background_highlight) | |
2268 | (tty_highlight_if_desired, tty_cursor_to) | |
2269 | (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | |
2270 | (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) | |
2271 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | |
2272 | renames. | |
2273 | ||
cf0590c4 JD |
2274 | 2007-08-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2275 | ||
2276 | * keyboard.c: Qrtl is new. | |
2277 | (parse_tool_bar_item): Handle :rtl keyword. | |
2278 | (syms_of_keyboard): Intern :rtl keyword. | |
2279 | ||
2280 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | |
2281 | ||
2282 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED | |
2283 | so no Lisp code is executed. | |
2284 | (file_for_image, find_rtl_image): New functions. | |
2285 | (xg_get_image_for_pixmap): Use file_for_image | |
2286 | (update_frame_tool_bar): If direction is RTL, use RTL image if | |
2287 | defined. Use Gtk stock images if defined. | |
2288 | ||
83cc8d35 YM |
2289 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2290 | ||
2291 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | |
2292 | for nonexistent or zero-width glyph in composition glyph. | |
2293 | ||
e60c4e15 SM |
2294 | 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca> |
2295 | ||
d7e2a28f SM |
2296 | * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. |
2297 | ||
e60c4e15 SM |
2298 | * xdisp.c (Finvisible_p): New function. |
2299 | (syms_of_xdisp): defsubr it. | |
2300 | ||
ee163e6d JB |
2301 | 2007-08-24 Juanma Barranquero <lekktu@gmail.com> |
2302 | ||
2303 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | |
2304 | Doc fixes. | |
2305 | ||
90fa408d YM |
2306 | 2007-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2307 | ||
35277b03 | 2308 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. |
90fa408d | 2309 | |
cac4219c MR |
2310 | 2007-08-24 Martin Rudalics <rudalics@gmx.at> |
2311 | ||
2312 | * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell | |
2313 | whether decoding has modified buffer contents. | |
2314 | ||
5fc9fdeb JR |
2315 | 2007-08-24 Jason Rumney <jasonr@gnu.org> |
2316 | ||
2317 | * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. | |
2318 | (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. | |
2319 | (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. | |
2320 | (init_svg_functions) [HAVE_NTGUI]: New function. | |
2321 | (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. | |
2322 | (svg_load_image): Use them. | |
2323 | (svg_load_image) [HAVE_NTGUI]: Implement background. | |
2324 | ||
93b23406 YM |
2325 | 2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2326 | ||
2327 | * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. | |
2328 | (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. | |
2329 | (LIBX): Remove @RSVG_LIBS@. | |
2330 | (LIBES): Add $(RSVG_LIBS). | |
2331 | ||
2332 | * image.c (svg_load_image): Blend with specified background if exists. | |
2333 | Use IMAGE_BACKGROUND. Add Mac OS Support. | |
2334 | ||
2335 | * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. | |
2336 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: | |
2337 | Remove macros. | |
2338 | [MAC_OSX] (socket_callback): Do nothing. | |
2339 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of | |
2340 | ReceiveNextEvent. | |
2341 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to | |
2342 | socket_callback. | |
2343 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. | |
2344 | ||
2467875c GM |
2345 | 2007-08-22 Glenn Morris <rgm@gnu.org> |
2346 | ||
ff8da443 | 2347 | * image.c (x_find_image_file): Search in etc/images/ rather than etc/. |
2467875c | 2348 | |
4ab27a43 GM |
2349 | 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net> |
2350 | ||
2351 | * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. | |
ff8da443 | 2352 | |
666e0eda GM |
2353 | * image.c: Add support for SVG images. Some additional comments |
2354 | by Joakim Verona <joakim@verona.se>. When HAVE_RSVG is defined: | |
2355 | (svg_image_p): New function to test for SVG image. | |
2356 | (svg_load): New function to load SVG image. | |
2357 | (svg_load_image): New function, helper for svg_load. | |
2358 | (Qsvg): New Lisp_object. | |
2359 | (svg_keyword_index): New enum. | |
2360 | (svg_format): New static `image_keyword' struct. | |
2361 | (svg_type): New static `image_type' struct. | |
2362 | (librsvg/rsvg.h): Include it. | |
4ab27a43 | 2363 | |
b636b4c1 SM |
2364 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> |
2365 | ||
2366 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. | |
2367 | ||
9ecb827b SM |
2368 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
2369 | ||
1d064697 SM |
2370 | * lread.c (Qold_style_backquotes): New var. |
2371 | (syms_of_lread): Init and staticpro it. | |
2372 | (load_warn_old_style_backquotes): New fun. | |
2373 | (Fload): Use them to warn about old style backquotes. | |
2374 | (end_of_file_error, Fload): Remove unused vars. | |
2375 | ||
5772ed4b SM |
2376 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. |
2377 | ||
9ecb827b | 2378 | * lread.c (Vold_style_backquotes): New var. |
5aa273b0 | 2379 | (syms_of_lread): Init and export it to Elisp. |
9ecb827b SM |
2380 | (read1): Set it when we find an old-style (back)quote. |
2381 | ||
32e1c7b1 JR |
2382 | 2007-08-22 Jason Rumney <jasonr@gnu.org> |
2383 | ||
2384 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. | |
2385 | ||
b8fa755b KY |
2386 | 2007-08-22 Katsumi Yamaoka <yamaoka@jpl.org> |
2387 | ||
2388 | * puresize.h (BASE_PURESIZE): Increase to 1140000. | |
2389 | ||
1283140e RS |
2390 | 2007-08-19 Richard Stallman <rms@gnu.org> |
2391 | ||
2392 | * eval.c (Ffunction, Fquote): Signal error if not 1 argument. | |
2393 | ||
2c4685ee AS |
2394 | 2007-08-19 Andreas Schwab <schwab@suse.de> |
2395 | ||
2396 | * alloc.c (pure): Round PURESIZE up. | |
2397 | ||
e8953ebf JD |
2398 | 2007-08-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2399 | ||
2400 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | |
2401 | active frame. | |
2402 | ||
6e33efc4 RS |
2403 | 2007-08-16 Richard Stallman <rms@gnu.org> |
2404 | ||
2405 | * eval.c (Fcommandp): Add parens to clarify. | |
2406 | ||
2407 | * minibuf.c (Fall_completions): Use enum for type of table. | |
2408 | ||
2409 | * emacs.c (USAGE2): Improve text. | |
2410 | ||
fcf8ff2e GM |
2411 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> |
2412 | ||
5205ee62 GM |
2413 | * term.c (tty_default_color_capabilities): Declare static |
2414 | variables in file scope, to avoid HPUX compiler problem. | |
fcf8ff2e | 2415 | |
81d13a51 JD |
2416 | 2007-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2417 | ||
2418 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | |
2419 | to gtk_toolbar_insert. | |
2420 | ||
4a181359 SM |
2421 | 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca> |
2422 | ||
1bc99c9c SM |
2423 | * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. |
2424 | ||
4a181359 SM |
2425 | * insdel.c (reset_var_on_error): New fun. |
2426 | (signal_before_change, signal_after_change): | |
2427 | Use it to reset (after|before)-change-functions to nil in case of error. | |
2428 | Bind inhibit-modification-hooks to t. | |
2429 | Don't bind (after|before)-change-functions to nil while they run. | |
2430 | ||
6c28435c YM |
2431 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2432 | ||
2433 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | |
2434 | filling pixmap with stippled background. | |
2435 | ||
ad3b3e02 YM |
2436 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2437 | ||
2438 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | |
2439 | Don't use invisible frame as parent window for repositioning. | |
2440 | ||
a22dec27 SM |
2441 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2442 | ||
2443 | * print.c (new_backquote_output): Rename from old_backquote_output. | |
2444 | (print): Inverse its logic (according to its name) so as to match the | |
2445 | behavior of new_backquote_flag in lread.c. | |
2446 | ||
7b7d07bb YM |
2447 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2448 | ||
2449 | * gmalloc.c (posix_memalign): New function. | |
2450 | ||
2451 | * macterm.c (frame_highlight, frame_unhighlight): Don't call | |
2452 | ActivateControl/DeactivateControl here. | |
2453 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when | |
2454 | frame-notice-user-settings is non-nil. | |
2455 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter | |
2456 | for kEventParamFMFontStyle. | |
2457 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check | |
2458 | mac_pass_command_to_system and mac_pass_control_to_system here. | |
2459 | (XTread_socket): Call ActivateControl/DeactivateControl here. | |
2460 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
2461 | Check mac_pass_command_to_system and mac_pass_control_to_system here. | |
f9426479 YM |
2462 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround |
2463 | for window repositioning. | |
7b7d07bb | 2464 | |
22e9fe24 GM |
2465 | 2007-08-08 Glenn Morris <rgm@gnu.org> |
2466 | ||
2467 | * Replace `iff' in doc-strings and comments. | |
2468 | ||
ae494350 CY |
2469 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> |
2470 | ||
2471 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. | |
2472 | ||
6f2528d8 MR |
2473 | 2007-08-07 Martin Rudalics <rudalics@gmx.at> |
2474 | ||
2475 | * fileio.c (Finsert_file_contents): Run format-decode and | |
2476 | after_insert_file_functions on entire buffer when REPLACE is | |
2477 | non-nil and inhibit modification_hooks and point_motion_hooks. | |
2478 | For consistency, run after_insert_file_functions iff something | |
2479 | got inserted. Move signal_after_change and update_compositions | |
2480 | after code running after_insert_file_functions. Make sure that | |
6b8e474c | 2481 | undo_list doesn't record intermediate steps of the decoding process. |
6f2528d8 | 2482 | |
3ceeb306 YM |
2483 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2484 | ||
2485 | * emacs.c (main) | |
2486 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | |
2487 | Call malloc_enable_thread on interactive startup. | |
2488 | ||
2489 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. | |
7b7d07bb YM |
2490 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) |
2491 | [USE_PTHREAD]: Conditionalize with it. | |
3ceeb306 YM |
2492 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) |
2493 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | |
2494 | New functions. | |
2495 | ||
ca5e6fd5 CY |
2496 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> |
2497 | ||
32bfce5d CY |
2498 | * xdisp.c (redisplay_window): When restoring original buffer |
2499 | position, make sure it is still valid. | |
2500 | ||
ca5e6fd5 CY |
2501 | * image.c (png_load): Ignore png-supplied background color. |
2502 | ||
a5b11587 YM |
2503 | 2007-08-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2504 | ||
2505 | * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. | |
2506 | Use kCFAbsoluteTimeIntervalSince1970. | |
2507 | ||
2508 | * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: | |
2509 | New variable. | |
2510 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | |
2511 | event loop should be quit. | |
2512 | [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: | |
2513 | Quit dialog event loop if quit_dialog_event_loop is set. | |
2514 | ||
2515 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. | |
2516 | (Selection): New typedef. Use instead of ScrapRef. | |
2517 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. | |
2518 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. | |
2519 | (mac_clear_selection): Rename from clear_scrap. | |
2520 | (get_flavor_type_from_symbol): New argument SEL and subsume function of | |
ff8da443 | 2521 | scrap_has_target_type. All uses changed. |
a5b11587 YM |
2522 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) |
2523 | (mac_selection_has_target_p): New functions. | |
2524 | (mac_put_selection_value): Rename from put_scrap_string. | |
2525 | (mac_get_selection_value): Rename from get_scrap_string. | |
2526 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. | |
2527 | (put_scrap_private_timestamp, scrap_has_target_type) | |
2528 | (get_scrap_private_timestamp): Remove functions. | |
2529 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. | |
2530 | (x_own_selection, x_get_local_selection): | |
2531 | Use mac_valid_selection_value_p. | |
2532 | (x_own_selection): Don't use put_scrap_private_timestamp. | |
2533 | Record OWNERSHIP-INFO into Vselection_alist instead. | |
2534 | (x_get_local_selection): Don't check type if request is local. | |
2535 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | |
2536 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. | |
2537 | ||
991bde0d JD |
2538 | 2007-08-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2539 | ||
2540 | * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, | |
2541 | add comment explaining why. | |
2542 | ||
73ff9d42 RS |
2543 | 2007-08-03 Richard Stallman <rms@gnu.org> |
2544 | ||
2545 | * fileio.c (Fvisited_file_modtime): Use make_time. | |
2546 | ||
54ed9a2d | 2547 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) |
cdf5c17a VJL |
2548 | |
2549 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | |
2550 | build. | |
2551 | ||
65a9c8e2 SM |
2552 | 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> |
2553 | ||
2554 | * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. | |
2555 | ||
c5925799 KY |
2556 | 2007-07-30 Katsumi Yamaoka <yamaoka@jpl.org> |
2557 | ||
2558 | * puresize.h (BASE_PURESIZE): Increase to 1130000. | |
2559 | ||
adef3de7 RS |
2560 | 2007-07-30 Richard Stallman <rms@gnu.org> |
2561 | ||
2562 | * lread.c (readevalloop, read1): Treat NBSP as whitespace. | |
2563 | ||
784c1472 JD |
2564 | 2007-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2565 | ||
2566 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. | |
2567 | ||
a10421a1 NR |
2568 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> |
2569 | ||
2570 | * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for | |
2571 | remote default-directory. | |
2572 | ||
2573 | * buffer.c (mode-line-format): Update doc string. | |
2574 | ||
0cb1ae20 YM |
2575 | 2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2576 | ||
2577 | * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to | |
2578 | scroll bar gap. | |
2579 | (x_scroll_bar_create): Set bar->fringe_extended_p. | |
2580 | (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars | |
2581 | on frame edge. Check fringe background extension. Don't clear | |
2582 | extended fringe background area. | |
2583 | ||
2584 | * w32term.h (struct scroll_bar): New member fringe_extended_p. | |
2585 | (w32_fill_area): Enclose multiple statements with do ... while (0). | |
2586 | ||
2587 | * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: | |
2588 | Extend fringe background to scroll bar gap. | |
2589 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: | |
2590 | Set bar->fringe_extended_p. | |
2591 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
2592 | Put leftmost/rightmost scroll bars on frame edge. Check fringe | |
2593 | background extension. Don't clear extended fringe background area. | |
2594 | ||
2595 | * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
2596 | New member fringe_extended_p. | |
2597 | ||
cacc7b51 GM |
2598 | 2007-07-25 Glenn Morris <rgm@gnu.org> |
2599 | ||
2600 | * Relicense all FSF files to GPLv3 or later. | |
2601 | ||
2602 | * COPYING: Switch to GPLv3. | |
2603 | ||
89835619 SM |
2604 | 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca> |
2605 | ||
c4f46926 SM |
2606 | * eval.c (Fcommandp): Pay attention to the `interactive-form' property. |
2607 | ||
2608 | * data.c (Finteractive_form): Check for the presence of an | |
2609 | `interactive-form' symbol property more thoroughly. | |
2610 | ||
2611 | * data.c (Finteractive_form): Use an `interactive-form' property if | |
89835619 SM |
2612 | present, analogous to the function-documentation property. |
2613 | ||
ee04257d JR |
2614 | 2007-07-24 Jason Rumney <jasonr@gnu.org> |
2615 | ||
2616 | * w32fns.c (x_real_positions): Get real position from OS instead of | |
2617 | calculating it. | |
2618 | ||
50624218 JR |
2619 | 2007-07-23 Jason Rumney <jasonr@gnu.org> |
2620 | ||
2621 | * filelock.c (current_lock_owner): Allow for @ sign in username. | |
2622 | ||
3650f60e NR |
2623 | 2007-07-22 Nick Roberts <nickrob@snap.net.nz> |
2624 | ||
2625 | * xdisp.c (decode_mode_spec): Add case 'R' for to test for | |
2626 | remote default-directory. | |
2627 | ||
2628 | * buffer.c (mode-line-format): Describe above case in doc string. | |
2629 | ||
1e899515 | 2630 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> |
b395d6e1 | 2631 | |
75be5258 EZ |
2632 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): |
2633 | Define if not defined. | |
2634 | ||
2b6e2f4d JR |
2635 | 2007-07-18 Jason Rumney <jasonr@gnu.org> |
2636 | ||
2637 | * w32proc.c (w32_executable_type): Handle 64 bit executables. | |
2638 | ||
23dacf80 JB |
2639 | 2007-07-18 Richard Stallman <rms@gnu.org> |
2640 | ||
2641 | * data.c (Fsetq_default): Doc fix. | |
2642 | ||
2643 | * eval.c (Fsetq): Doc fix. | |
2644 | ||
2645 | 2007-07-18 Juanma Barranquero <lekktu@gmail.com> | |
2646 | ||
2647 | * coding.c (Ffind_operation_coding_system): | |
2648 | * eval.c (For, Fand): Doc fixes. | |
2649 | Reported by Johan Bockg\e,Ae\e(Brd. | |
2650 | ||
656de71a JD |
2651 | 2007-07-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2652 | ||
23dacf80 | 2653 | * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. |
656de71a | 2654 | |
23dacf80 | 2655 | * xterm.h: Declare x_ewmh_activate_frame. |
656de71a JD |
2656 | |
2657 | * xterm.c (x_ewmh_activate_frame): New function. | |
2658 | (XTframe_raise_lower): Move code to x_ewmh_activate_frame. | |
2659 | ||
71ec17e6 MR |
2660 | 2007-07-17 Martin Rudalics <rudalics@gmx.at> |
2661 | ||
2662 | * window.c (Fdisplay_buffer): If largest or LRU window is the | |
2663 | only window, split it even if it is not eligible for splitting. | |
2664 | This restores the original behavior broken by the 2007-07-15 | |
2665 | change. | |
2666 | ||
e9818042 GM |
2667 | 2007-07-17 Glenn Morris <rgm@gnu.org> |
2668 | ||
2669 | * abbrev.c (abbrev_check_chars): New function. | |
6b8e474c SM |
2670 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): |
2671 | Call abbrev_check_chars to check abbrev characters are word | |
e9818042 GM |
2672 | constituents. Doc fix. |
2673 | ||
e6fca843 SM |
2674 | 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca> |
2675 | ||
2676 | * process.c (Fstart_process, Fmake_network_process) | |
2677 | (read_process_output): Fix up last changes. | |
2678 | ||
b5d2b4ab EZ |
2679 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> |
2680 | ||
2681 | * makefile.w32-in (clean): Don't delete *~. | |
2682 | ||
413a79ad AS |
2683 | 2007-07-16 Andreas Schwab <schwab@suse.de> |
2684 | ||
2685 | * window.c (Fdisplay_buffer): Use NILP. | |
2686 | (Fset_window_scroll_bars): Likewise. | |
2687 | ||
f1de8c77 MR |
2688 | 2007-07-15 Martin Rudalics <rudalics@gmx.at> |
2689 | ||
2690 | * window.c (window_min_size_2): New function. | |
2691 | (window_min_size_1, size_window, Fdisplay_buffer) | |
2692 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid | |
2693 | windows without mode- or header-lines when window-min-height is | |
2694 | too small. | |
2695 | (size_window): Reset nodelete_p after testing it, following an | |
2696 | earlier note by Kim F. Storm. | |
2697 | (display_buffer): Do not set split_height_threshold to twice the | |
2698 | value of window_min_height to avoid changing the value of a | |
2699 | customizable variable. Rather explicitly check whether the | |
2700 | height of the window that shall be splitted is at least as large | |
2701 | as split_height_threshold. | |
1af74d06 MB |
2702 | (Fwindow_full_width_p): New defun. |
2703 | (syms_of_window): Defsubr it. | |
d31053f9 | 2704 | |
1af74d06 | 2705 | * window.h: Add EXFUN for Fwindow_full_width_p. |
f1de8c77 | 2706 | |
5e1ab613 JR |
2707 | 2007-07-14 Jason Rumney <jasonr@gnu.org> |
2708 | ||
2709 | * process.c [WINDOWSNT]: Don't undefine AF_INET6. | |
2710 | ||
f01cbfdd RS |
2711 | 2007-07-14 Richard Stallman <rms@gnu.org> |
2712 | ||
2713 | * eval.c (maybe_call_debugger): New function. | |
2714 | (find_handler_clause): Use maybe_call_debugger. | |
2715 | Call it when the handler says `debug'. | |
2716 | Eliminate DEBUGGER_VALUE_PTR. | |
2717 | (Fsignal): Eliminate debugger_value. | |
2718 | (Qdebug): New variable. | |
2719 | (syms_of_eval): Initialize it. | |
2720 | ||
1bab435a JB |
2721 | 2007-07-14 Juanma Barranquero <lekktu@gmail.com> |
2722 | ||
2723 | * eval.c (Fprogn): | |
2724 | * keyboard.c (Ftrack_mouse): | |
2725 | * print.c (Fwith_output_to_temp_buffer): | |
2726 | * window.c (Fsave_window_excursion): Doc fix. | |
2727 | ||
be436d23 SM |
2728 | 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
2729 | ||
2730 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. | |
2731 | ||
60f0fb11 SM |
2732 | 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca> |
2733 | ||
2734 | * process.h (struct Lisp_Process): Turn slots infd, outfd, | |
2735 | kill_without_query, pty_flag, tick, update_tick, decoding_carryover, | |
2736 | inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, | |
2737 | read_output_delay, and read_output_skip from Lisp_Objects to ints. | |
2738 | Remove unused encoding_carryover. | |
2739 | * process.c: Adjust all functions accordingly. | |
2740 | ||
d8b18043 RS |
2741 | 2007-07-12 Richard Stallman <rms@gnu.org> |
2742 | ||
2743 | * term.c: Include unistd.h only if HAVE_UNISTD_H. | |
2744 | ||
d5781bb6 JR |
2745 | 2007-07-11 Jason Rumney <jasonr@gnu.org> |
2746 | ||
2747 | * makefile.w32-in (LIBS): Include OLE32. | |
2748 | ||
2749 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | |
2750 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. | |
2751 | ||
5bb7dfee SM |
2752 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
2753 | ||
2754 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. | |
2755 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned | |
2756 | from a Lisp_Object into a bare pointer. | |
2757 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | |
2758 | Adjust the code correspondingly. | |
2759 | ||
2760 | * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. | |
2761 | ||
2762 | * term.c: Include unistd.h for ttyname, used in handle_one_term_event. | |
2763 | (term_show_mouse_face): Remove unused var `j'. | |
2764 | (handle_one_term_event): Remove unused vars `i' and `j'. | |
2765 | Don't cast return value of ttyname since it's not necessary. | |
2766 | ||
a1be1ce8 SM |
2767 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2768 | ||
5045e68e SM |
2769 | * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using |
2770 | USE_LSB_TAG. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. | |
2771 | ||
8071c00f SM |
2772 | * fns.c (map_char_table): Use an array of int for `indices' rather than |
2773 | an array of Lisp_Objects (which are only ever integers anyway). | |
2774 | (Fmap_char_table): Update caller. | |
2775 | * lisp.h: Update prototype. | |
2776 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): | |
2777 | * fontset.c (Ffontset_info): | |
2778 | * casetab.c (set_case_table): Update callers. | |
2779 | ||
2780 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. | |
2781 | ||
fab84e3c SM |
2782 | * keymap.c (struct accessible_keymaps_data) |
2783 | (struct where_is_internal_data): New structures. | |
2784 | (accessible_keymaps_1, where_is_internal_1): Use them to change | |
2785 | interface to adhere to the one used by map_keymap. | |
2786 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | |
2787 | (accessible_keymaps_char_table, where_is_internal_2): Remove. | |
2788 | ||
a1be1ce8 SM |
2789 | * keymap.h (map_keymap_function_t): More informative prototype. |
2790 | ||
ef887810 RS |
2791 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> |
2792 | ||
2793 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. | |
2794 | (looking_at_1): Don't change search_regs and last_thing_searched | |
2795 | if `inhibit-changing-match-data' is non-nil. | |
2796 | (string_match_1, search_buffer, set_search_regs): Likewise. | |
2797 | (syms_of_search): Add Lisp level definition for | |
2798 | `inhibit-changing-match-data' and set it to nil. | |
8071c00f SM |
2799 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute |
2800 | start and end of the match, instead of using values in search_regs. | |
ef887810 | 2801 | |
4d02fc25 SM |
2802 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> |
2803 | ||
2804 | * minibuf.c (Fcompleting_read): New value `confirm-only' | |
2805 | for `require-match'. | |
2806 | ||
fe45b81f SM |
2807 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2808 | ||
2809 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | |
2810 | part of the 2007-06-27 change to syms_of_fileio. | |
2811 | ||
a56dd283 YM |
2812 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2813 | ||
2814 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
2815 | Check WINDOWP before using XWINDOW. Consolidate return statements. | |
2816 | ||
0cf9f5b5 RS |
2817 | 2007-06-27 Richard Stallman <rms@gnu.org> |
2818 | ||
2819 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
2820 | ||
a66f285a JB |
2821 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
2822 | ||
2823 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | |
2824 | ||
8d0d84d2 YM |
2825 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2826 | ||
2827 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | |
2828 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | |
2829 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | |
2830 | (_free_internal, memalign): Use them. | |
2831 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | |
2832 | Initialize to PTHREAD_MUTEX_INITIALIZER. | |
2833 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | |
2834 | (morecore_nolock): Rename from morecore. All uses changed. | |
2835 | Use only nolock versions of internal allocation functions. | |
2836 | (_malloc_internal_nolock, _realloc_internal_nolock) | |
2837 | (_free_internal_nolock): New functions created from | |
2838 | _malloc_internal, _realloc_internal, and _free_internal. | |
2839 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | |
2840 | Copy hook value to automatic variable before its use. | |
2841 | (memalign): Copy hook value to automatic variable before its use. | |
2842 | ||
5a0bbd9a KH |
2843 | 2007-06-26 Kenichi Handa <handa@m17n.org> |
2844 | ||
2845 | * coding.c (Ffind_operation_coding_system): Docstring improved. | |
2846 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. | |
2847 | ||
9a51747b DK |
2848 | 2007-06-25 David Kastrup <dak@gnu.org> |
2849 | ||
2850 | * keymap.c (Fcurrent_active_maps): Add `position' argument. | |
2851 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | |
2852 | cater for additional parameter. | |
2853 | ||
2854 | * keymap.h: Adjust number of parameters to `current-active-maps'. | |
2855 | ||
2856 | * doc.c (Fsubstitute_command_keys): Adjust call of | |
2857 | `current-active-maps'. | |
2858 | ||
e4305426 DK |
2859 | 2007-06-25 David Kastrup <dak@gnu.org> |
2860 | ||
2861 | * callint.c (Fcall_interactively): Make the parsing of interactive | |
2862 | specs somewhat more readable. | |
2863 | ||
511a18d9 YM |
2864 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2865 | ||
2866 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background | |
2867 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | |
2868 | if extended background has already been filled. | |
2869 | ||
512eb161 YM |
2870 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2871 | ||
2872 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. | |
2873 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. | |
2874 | ||
2875 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: | |
2876 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p | |
2877 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. | |
2878 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | |
2879 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | |
2880 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | |
2881 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
2882 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | |
2883 | Run timers during dialog popup. | |
2884 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | |
2885 | ||
2386b1f1 JR |
2886 | 2007-06-21 Jason Rumney <jasonr@gnu.org> |
2887 | ||
2888 | * image.c (convert_mono_to_color_image): Swap fore and background. | |
2889 | ||
fab8b787 JR |
2890 | 2007-06-20 Jason Rumney <jasonr@gnu.org> |
2891 | ||
2892 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
2893 | (w32_free_bdf_font): Unmap memory not handle. | |
2894 | ||
15bdd7a0 | 2895 | 2007-06-20 Sam Steingold <sds@gnu.org> |
3cacba85 SS |
2896 | |
2897 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
2898 | definition. | |
2899 | ||
1bb8a291 JB |
2900 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> |
2901 | ||
2902 | * w32term.c (w32_delete_display): Remove leftover declaration. | |
2903 | (w32_define_cursor, w32_initialize): Make static. | |
2904 | ||
2905 | * w32.c (_wsa_errlist): Fix typo in error message. | |
2906 | (init_environment): Ignore any environment variable from the | |
2907 | registry having a null value. | |
2908 | ||
92648dea GM |
2909 | 2007-06-20 Glenn Morris <rgm@gnu.org> |
2910 | ||
2911 | * Makefile.in (LIBGIF): Default to -lgif. | |
2912 | ||
ff25d115 JR |
2913 | 2007-06-17 Jason Rumney <jasonr@gnu.org> |
2914 | ||
2915 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
2916 | unicode strings. | |
2917 | ||
a1a578a5 JB |
2918 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> |
2919 | ||
2920 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
2921 | Fix typo in docstring. | |
2922 | ||
af41f8a8 EZ |
2923 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> |
2924 | ||
2925 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
2926 | and their keybindings. | |
2927 | ||
8b29cab9 CY |
2928 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> |
2929 | ||
2930 | * composite.c (update_compositions): Fix last fix. | |
2931 | ||
c433c134 JR |
2932 | 2007-06-14 Jason Rumney <jasonr@gnu.org> |
2933 | ||
2934 | * w32.c (get_process_times_fn): New function pointer. | |
2935 | (globals_of_w32): Intialize it if present in kernel32.dll. | |
2936 | (w32_get_internal_run_time): New function. | |
2937 | ||
2938 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. | |
2939 | ||
553d3164 KH |
2940 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> |
2941 | ||
2942 | * composite.c (update_compositions): Check the validness of | |
2943 | compositions. | |
2944 | ||
446ba96f YM |
2945 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2946 | ||
2947 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | |
2948 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
2949 | ||
2950 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
2951 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | |
2952 | ||
2953 | * macgui.h (USE_MAC_TOOLBAR): New define. | |
2954 | ||
2955 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
2956 | Return immediately unless popup is activated. | |
2957 | ||
2958 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe | |
2959 | background to scroll bar gap. | |
2960 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | |
2961 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | |
2962 | scroll bars on frame edge. Check fringe background extension. | |
2963 | Don't clear extended fringe background area. | |
2964 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
2965 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
2966 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | |
2967 | [USE_MAC_TOOLBAR]: New macros. | |
2968 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
2969 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | |
2970 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | |
2971 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
2972 | [USE_MAC_TOOLBAR]: New functions. | |
2973 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | |
2974 | manually if previous repositioning has failed. | |
2975 | (mac_handle_keyboard_event): Use precomputed event kind. | |
2976 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | |
2977 | as tool bar item click. Handle mouse movement over tool bar items. | |
2978 | ||
2979 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member | |
2980 | toolbar_win_gravity. | |
2981 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | |
2982 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | |
2983 | Add externs. | |
2984 | ||
2985 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
2986 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | |
2987 | ||
9720173f CY |
2988 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> |
2989 | ||
2990 | * image.c (search_image_cache): Remove unused variable. | |
2991 | ||
1217dd00 CY |
2992 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> |
2993 | ||
2994 | * xfns.c, xmenu.c: Link to xaw3d if available. | |
2995 | ||
c5b8e0ea YM |
2996 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2997 | ||
2998 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members | |
2999 | frame_foreground and frame_background. | |
3000 | ||
3001 | * image.c (lookup_image): Save frame foreground and background colors. | |
3002 | (search_image_cache): Check if saved and current frame colors match. | |
3003 | ||
c69b0314 SM |
3004 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> |
3005 | ||
3006 | * regex.c (regex_compile): Remove the `regnum' counter. | |
3007 | Use bufp->re_nsub instead. Add support for \(?N:RE\). | |
3008 | ||
c9612b8e SM |
3009 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
3010 | ||
3011 | * term.c: Include intervals.h to declare Fget_text_property. | |
3012 | ||
843d2458 JR |
3013 | 2007-06-10 Jason Rumney <jasonr@gnu.org> |
3014 | ||
3015 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | |
3016 | ||
1e0d2d60 | 3017 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> |
977f6cfb JB |
3018 | |
3019 | * callint.c (Fcall_interactively): | |
3020 | * editfns.c (Fdelete_and_extract_region): | |
3021 | * fileio.c (Fread_file_name): | |
3022 | * fns.c (Fmapconcat): | |
3023 | * keyboard.c (cmd_error_internal): | |
3024 | * keymap.c (Fkey_description): | |
3025 | * lread.c (openp): | |
3026 | * minibuf.c (read_minibuf): | |
3027 | * search.c (wordify): | |
3028 | * sunfns.c (sel_read): | |
3029 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | |
3030 | * xfns.c (x_default_scroll_bar_color_parameter): | |
3031 | * xmenu.c (menu_help_callback): | |
3032 | * xselect.c (Fx_get_atom_name): | |
3033 | * xterm.c (x_term_init): Use empty_unibyte_string. | |
3034 | ||
15bdd7a0 | 3035 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) |
977f6cfb JB |
3036 | |
3037 | * alloc.c (init_strings): Initialize canonical empty strings. | |
3038 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate | |
3039 | canonical empty string when the requested size is 0. | |
3040 | ||
3041 | * emacs.c (empty_unibyte_string): Rename from empty_string. | |
3042 | (empty_multibyte_string): New canonical empty string. | |
3043 | (syms_of_emacs): Don't initialize empty_string. | |
3044 | ||
3045 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | |
3046 | string, if appropriate. | |
3047 | (empty_unibyte_string, empty_multibyte_string): New externs. | |
3048 | (empty_string): Remove extern. | |
3049 | ||
3050 | * lread.c (syms_of_lread): Use empty_unibyte_string. | |
3051 | ||
42c4c67a JR |
3052 | 2007-06-07 Jason Rumney <jasonr@gnu.org> |
3053 | ||
3054 | * s/ms-w32.h: Don't define HAVE_TZNAME. | |
3055 | ||
3056 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. | |
3057 | ||
aa8280d3 YM |
3058 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3059 | ||
3060 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
3061 | ||
3062 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | |
3063 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | |
3064 | ||
3065 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
3066 | Don't call next handler. | |
3067 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | |
3068 | Remove argument. Install handler to application. | |
3069 | (set_frame_menubar): Don't change deep_p. | |
1e0d2d60 | 3070 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and |
aa8280d3 YM |
3071 | FRAME_OUTER_TO_INNER_DIFF_Y. |
3072 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
3073 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
3074 | [HAVE_DIALOGS]: New macros. | |
3075 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | |
3076 | Use them. | |
3077 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
3078 | ||
3079 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | |
3080 | init_service_handler. All callers changed. Return OSStatus value. | |
3081 | ||
3082 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | |
3083 | All callers changed so as not to call SetPortWindowPort. | |
3084 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
3085 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | |
3086 | mac_draw_string_common. | |
3087 | (mac_draw_image_string_qd): Likewise. | |
3088 | (mac_draw_string_common): Use them. Add INLINE. | |
3089 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | |
3090 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | |
3091 | GetGlobalMouse. | |
3092 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | |
3093 | and FRAME_OUTER_TO_INNER_DIFF_Y. | |
3094 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | |
3095 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | |
3096 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | |
3097 | repositioning window to mac_handle_window_event. | |
3098 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | |
3099 | saving window location to mac_handle_window_event | |
3100 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | |
3101 | (install_menu_target_item_handler): Remove argument in extern. | |
3102 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | |
3103 | Also accept command events. | |
3104 | (do_keystroke): New function created from XTread_socket. | |
3105 | (init_command_handler): Remove functions. | |
3106 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | |
3107 | and save window location by kEventWindowShowing and kEventWindowHiding | |
3108 | handlers here. Don't call next handler for window state change and | |
3109 | focus events. | |
3110 | (mac_handle_application_event, mac_handle_keyboard_event) | |
3111 | [TARGET_API_MAC_CARBON]: New functions. | |
3112 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | |
3113 | kEventWindowShowing and kEventWindowHiding events. Move installation | |
3114 | of mouse, font, text input and menu target item handlers to | |
3115 | install_application_handler. | |
3116 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | |
3117 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
3118 | New function. | |
3119 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
3120 | Register it. | |
c9612b8e SM |
3121 | (XTread_socket) [TARGET_API_MAC_CARBON]: |
3122 | Consolidate SendEventToEventTarget calls. | |
3123 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | |
3124 | Move application activation handler to mac_handle_application_event. | |
3125 | Move keyboard handler to mac_handle_keyboard_event. | |
aa8280d3 YM |
3126 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. |
3127 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
3128 | init_command_handler. Call install_application_handler. | |
3129 | ||
3130 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | |
3131 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | |
3132 | ||
6926c954 GM |
3133 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
3134 | ||
3135 | * emacs.c (main): Use `emacs-copyright' in --version output. | |
3136 | ||
6fe04c89 CY |
3137 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> |
3138 | ||
c9612b8e | 3139 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. |
6fe04c89 | 3140 | |
7eb0d727 YM |
3141 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3142 | ||
3143 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | |
3144 | ||
3145 | * macgui.h: Replace WindowPtr with WindowRef. | |
3146 | ||
3147 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
3148 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
3149 | Replace ControlHandle with ControlRef. | |
3150 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | |
3151 | ||
3152 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
3153 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
3154 | Replace ControlHandle with ControlRef. | |
3155 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | |
3156 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | |
3157 | ||
3158 | * macterm.h (struct scroll_bar): Rename member control_handle_low | |
3159 | and control_handle_high to control_ref_low and control_ref_high. | |
3160 | All uses changed. | |
3161 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | |
3162 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | |
3163 | respectively. All uses changed. | |
3164 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | |
3165 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
3166 | with WindowRef in externs. | |
3167 | ||
65fddb74 JB |
3168 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> |
3169 | ||
3170 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. | |
3171 | ||
db1213a9 NR |
3172 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> |
3173 | ||
3174 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | |
3175 | ||
65fddb74 | 3176 | * frame.c (Fmouse_position, Fmouse_pixel_position): |
db1213a9 NR |
3177 | Condition on HAVE_GPM too. |
3178 | ||
3179 | * term.c (term_mouse_highlight): Remove unused variables. | |
3180 | (Fterm_open_connection): Set gpm_zerobased to 1. | |
3181 | (term_mouse_movement, term_mouse_click, handle_one_term_event): | |
3182 | Use zero based co-ordinates. | |
3183 | (handle_one_term_event): Report a drag as mouse movement too. | |
3184 | ||
3185 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. | |
3186 | ||
d94df25b CY |
3187 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> |
3188 | ||
3189 | * image.c (search_image_cache): New function. Require background | |
3190 | color match if background color is unspecified in the image spec. | |
3191 | (uncache_image, lookup_image): Use it. | |
3192 | ||
4797b6d9 JB |
3193 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> |
3194 | ||
3195 | * window.c (Fshrink_window): Reflow docstring. | |
3196 | ||
1ffe7343 NR |
3197 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
3198 | ||
3199 | * Version 22.1 released. | |
3200 | ||
3201 | 2007-06-01 Richard Stallman <rms@gnu.org> | |
3202 | ||
3203 | * xfns.c (x_encode_text): Add GCPRO. | |
3204 | ||
3205 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3206 | ||
3207 | * xfns.c (x_set_name_internal): Save encoded name before | |
3208 | x_encode_text in case string data is relocated. | |
3209 | ||
3210 | 2007-05-31 Richard Stallman <rms@gnu.org> | |
3211 | ||
3212 | * buffer.c (syms_of_buffer): Doc fix. | |
3213 | ||
3214 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> | |
3215 | ||
3216 | * sysdep.c (init_sys_modes): Add rather than replace with | |
3217 | O_NONBLOCK. | |
3218 | ||
3219 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | |
3220 | term_mouse_moveto. | |
3221 | ||
3222 | * termhooks.h (term_mouse_moveto): New extern. | |
3223 | ||
3224 | * term.c (mouse_face_window): Rename... | |
3225 | (Qmouse_face_window): ...to this. | |
3226 | (term_show_mouse_face, term_clear_mouse_face) | |
3227 | (term_mouse_highlight): Use Qmouse_face_window. | |
3228 | (term_mouse_moveto): New function. | |
3229 | (term_mouse_position): Make it work. | |
3230 | (syms_of_term): Uncomment assignment to mouse_position_hook. | |
3231 | Staticpro Qmouse_face_window. | |
3232 | ||
3233 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3234 | ||
3235 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
3236 | around current_column call. | |
3237 | ||
3238 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | |
3239 | ||
3240 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | |
3241 | * xdisp.c (next_element_from_buffer): | |
3242 | * window.c (delete_window): | |
3243 | * term.c (term_mouse_highlight): | |
3244 | * msdos.c (getdefdir): | |
3245 | * macterm.c (mac_create_bitmap_from_bitmap_data) | |
3246 | (init_font_name_table): | |
3247 | * fns.c (Fsxhash): | |
3248 | * data.c (Fmake_local_variable): | |
3249 | * ccl.c (ccl_driver): Likewise. | |
3250 | ||
3251 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3252 | ||
3253 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
3254 | Call mac_wakeup_from_rne on window size change. | |
3255 | ||
3256 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> | |
3257 | ||
3258 | * image.c (uncache_image): Fix typo. | |
3259 | ||
3260 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) | |
3261 | ||
3262 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | |
3263 | ||
3264 | 2007-05-22 Richard Stallman <rms@gnu.org> | |
3265 | ||
3266 | * xterm.c (x_connection_closed): Remove NO_RETURN. | |
3267 | ||
3268 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | |
3269 | ||
3270 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | |
3271 | ||
3272 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | |
3273 | ||
3274 | * image.c (uncache_image): New function. | |
3275 | (Fimage_refresh): New function. | |
3276 | ||
3277 | 2007-05-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
3278 | ||
3279 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | |
3280 | ||
3281 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
3282 | ||
3283 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | |
3284 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. | |
3285 | ||
3286 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
3287 | ||
3288 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | |
3289 | conditional on [HAVE_GPM_H]. | |
3290 | ||
3291 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
3292 | ||
3293 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
3294 | the new location is valid. | |
3295 | ||
3296 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3297 | ||
3298 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
3299 | mac_get_window_bounds. | |
3300 | ||
3301 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
3302 | ||
3303 | * Makefile.in (LIBGPM): Allow it to be set from configure. | |
3304 | If set then link Emacs with it. | |
3305 | ||
3306 | * config.in: Regenerate. | |
3307 | ||
3308 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | |
3309 | New externs. | |
3310 | ||
3311 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. | |
3312 | Include gpm.h. | |
3313 | (handle_one_term_event, term_gpm): New externs. | |
3314 | ||
3315 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking | |
3316 | and allow it to be interrupted by SIGIO. | |
3317 | ||
3318 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. | |
3319 | (wait_reading_process_output): Wait on gpm_fd too. | |
3320 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. | |
3321 | (add_gpm_wait_descriptor_called_flag): New variable. | |
3322 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. | |
3323 | ||
3324 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) | |
3325 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) | |
3326 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | |
3327 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. | |
3328 | (make_lispy_event): Add case GPM_CLICK_EVENT. | |
3329 | (read_avail_input): Handle mouse input. | |
3330 | ||
3331 | * term.c (write_glyphs_with_face): New function. | |
3332 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. | |
3333 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) | |
3334 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) | |
3335 | (mouse_face_face_id, term_gpm, pos_x, pos_y) | |
3336 | (last_mouse_x, last_mouse_y): New variables. | |
3337 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) | |
3338 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | |
3339 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) | |
3340 | (Fterm_close_connection): New functions. | |
3341 | (term_init): Initialise mouse_face_window. | |
3342 | ||
3343 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> | |
3344 | ||
3345 | * xdisp.c (redisplay_window): If first window line is a | |
3346 | continuation line, recompute the new window start instead of | |
3347 | recentering. | |
3348 | ||
3349 | 2007-05-18 Glenn Morris <rgm@gnu.org> | |
3350 | ||
3351 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | |
3352 | Suggested by Alfred M. Szmidt <ams@gnu.org>. | |
3353 | ||
3354 | 2007-05-17 Glenn Morris <rgm@gnu.org> | |
3355 | ||
3356 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | |
3357 | ||
3358 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3359 | ||
3360 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
3361 | dead key repeat and up events. | |
3362 | ||
3363 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> | |
3364 | ||
3365 | * image.c (pbm_load): Check image size for monochrome pbm. | |
3366 | ||
3367 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> | |
3368 | ||
3369 | * xterm.c (XTread_socket): Revert last change. | |
3370 | ||
3371 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> | |
3372 | ||
3373 | * image.c (pbm_load): Correctly check image size for greyscale pbm. | |
3374 | ||
3375 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). | |
3376 | ||
3377 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
3378 | ||
3379 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object | |
3380 | mixup (YAILOM). | |
3381 | ||
3382 | 2007-05-07 Andreas Schwab <schwab@suse.de> | |
3383 | ||
3384 | * keymap.c (Flookup_key): Fix typo in last change. | |
3385 | ||
3386 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
3387 | ||
3388 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | |
3389 | mapping for unibyte strings. | |
3390 | ||
3391 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3392 | ||
3393 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
3394 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | |
3395 | ||
3396 | 2007-04-29 Richard Stallman <rms@gnu.org> | |
3397 | ||
3398 | * insdel.c (replace_range): For undo, record insertion first. | |
3399 | ||
3400 | 2007-04-29 Andreas Schwab <schwab@suse.de> | |
3401 | ||
3402 | * lisp.h (VECSIZE): Use OFFSETOF. | |
3403 | ||
3404 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
3405 | ||
3406 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
3407 | disabled lines. | |
3408 | ||
3409 | 2007-04-28 Richard Stallman <rms@gnu.org> | |
3410 | ||
3411 | * lread.c (read_escape): In a string, \s is always space. | |
3412 | ||
3413 | 2007-04-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
3414 | ||
3415 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | |
3416 | ||
3417 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | |
3418 | submenu for menu bar items. | |
3419 | ||
382c648d | 3420 | See ChangeLog.10 for earlier changes. |
6922b018 KH |
3421 | |
3422 | ;; Local Variables: | |
49b3bd82 | 3423 | ;; coding: iso-2022-7bit |
33462dfa | 3424 | ;; add-log-time-zone-rule: t |
6922b018 | 3425 | ;; End: |
2a34a036 | 3426 | |
382c648d | 3427 | Copyright (C) 2007 Free Software Foundation, Inc. |
7f6d64f8 GM |
3428 | |
3429 | This file is part of GNU Emacs. | |
3430 | ||
3431 | GNU Emacs is free software; you can redistribute it and/or modify | |
3432 | it under the terms of the GNU General Public License as published by | |
684d6f5b | 3433 | the Free Software Foundation; either version 3, or (at your option) |
7f6d64f8 GM |
3434 | any later version. |
3435 | ||
3436 | GNU Emacs is distributed in the hope that it will be useful, | |
3437 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
3438 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
3439 | GNU General Public License for more details. | |
3440 | ||
3441 | You should have received a copy of the GNU General Public License | |
3442 | along with GNU Emacs; see the file COPYING. If not, write to the | |
3443 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
3444 | Boston, MA 02110-1301, USA. | |
ab5796a9 | 3445 | |
28f60c3d | 3446 | ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40 |