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