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