aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog781
1 files changed, 734 insertions, 47 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c7a065c091e..f86c4c6a21c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,672 @@
12006-10-13 Chong Yidong <cyd@stupidchicken.com>
2
3 * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame
4 title.
5
62006-10-12 Chong Yidong <cyd@stupidchicken.com>
7
8 * keymap.c (Fkey_binding): Check Lisp_Object types before doing
9 XCAR and XINT.
10
112006-10-12 Romain Francoise <romain@orebokech.com>
12
13 * image.c (xbm_read_bitmap_data): Delete extra semicolon.
14
152006-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * eval.c: Include xterm.h for x_fully_uncatch_errors and friends.
18
19 * dispextern.h: Declare x_create_bitmap_from_xpm_data.
20
21 * xterm.c (x_check_expected_move): Remove unused var `count'.
22
23 * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since
24 Fdefalias is not declared in any *.h file.
25
262006-10-09 Chong Yidong <cyd@stupidchicken.com>
27
28 * dispnew.c (sit_for): Sit forever if TIMEOUT is t.
29
30 * keyboard.c (command_loop_1): Handle non-number values of
31 `minibuffer-message-timeout'.
32 (Fexecute_extended_command): Fix typo.
33
34 * minibuf.c (temp_echo_area_glyphs): Sit for
35 `minibuffer-message-timeout' seconds.
36
372006-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
38
39 * macterm.c (mac_draw_image_string, mac_draw_image_string_16):
40 Add argument OVERSTRIKE_P.
41 (mac_draw_string_common, mac_draw_image_string_cg): Likewise.
42 Support overstrike.
43 (mac_draw_string, mac_draw_string_16): Remove functions.
44 (x_draw_glyph_string_foreground): Use overstrike when needed.
45 (x_draw_composite_glyph_string_foreground): Likewise.
46 Use mac_draw_image_string_16 instead of mac_draw_string_16.
47 (mac_load_query_font): Rename from XLoadQueryFont. Take argument F
48 instead of DPY. All uses changed. Don't save/restore font.
49
502006-10-07 Ralf Angeli <angeli@caeruleus.net>
51
52 * w32fns.c (w32_createwindow): Honour left and top positions if
53 supplied explicitly.
54
552006-10-06 Kim F. Storm <storm@cua.dk>
56
57 * xdisp.c (pos_visible_p): Fix value when EOB is visible.
58
592006-10-05 Chong Yidong <cyd@stupidchicken.com>
60
61 * frame.c (Qinhibit_face_set_after_frame_default): New var.
62 (syms_of_frame): Initialize it.
63 (x_set_frame_parameters): Avoid resetting :font attributes to the
64 new-frame defaults.
65
662006-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * lisp.h (clear_regexp_cache): Declare.
69
70 * search.c (compile_pattern): Only check `cp->syntax_table' if needed.
71 (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'.
72 (clear_regexp_cache): Only flush those regexps which depend on
73 a syntax-table.
74
75 * regex.c (regex_compile): Set the new `used_syntax' bit.
76
77 * regex.h: Remove file local variables.
78 (struct re_pattern_buffer): New field `used_syntax'.
79
802006-10-03 Kim F. Storm <storm@cua.dk>
81
82 * process.c (list_processes_1): Run sentinels before removing dead
83 processes. Also remove `closed' network connections.
84
852006-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
86
87 * xdisp.c (handle_fontified_prop): Don't fontify at EOB.
88
892006-09-30 Eli Zaretskii <eliz@gnu.org>
90
91 * config.in Regenerated.
92
932006-09-29 Juri Linkov <juri@jurta.org>
94
95 * buffer.c (syms_of_buffer): Reorder coding systems in the
96 docstring of %z to the real order displayed in the modeline.
97
982006-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
99
100 * keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM).
101
1022006-09-26 Chong Yidong <cyd@stupidchicken.com>
103
104 * indent.c (Fvertical_motion): Do move back if the Lisp string
105 being displayed contains newlines.
106
1072006-09-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
108
109 * macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont)
110 [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds.
111
1122006-09-26 Kenichi Handa <handa@m17n.org>
113
114 * keymap.c (Fsingle_key_description): For an invalid char, return
115 "Invalid char code NNNNN".
116
1172006-09-25 Chong Yidong <cyd@stupidchicken.com>
118
119 * callint.c (Fcall_interactively): Doc fix.
120
1212006-09-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
122
123 * macterm.c (x_underline_at_descent_line): New variable.
124 (syms_of_macterm): DEFVAR_BOOL it.
125 (x_draw_glyph_string): Use it.
126 (XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent.
127
1282006-09-25 Kenichi Handa <handa@m17n.org>
129
130 * keymap.c (Fsingle_key_description): Return unique names for
131 generic characters.
132
1332006-09-24 Richard Stallman <rms@gnu.org>
134
135 * search.c (compile_pattern_1): Don't BLOCK_INPUT.
136
1372006-09-24 Eli Zaretskii <eliz@gnu.org>
138
139 * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)):
140 Depend on nt/inc/langinfo.h and nt/inc/nl_types.h.
141
142 * w32proc.c (nl_langinfo): New function.
143
144 * w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta)
145 (w32-pass-lwindow-to-system, w32-enable-num-lock)
146 (w32-enable-caps-lock, w32-scroll-lock-modifier)
147 (w32-lwindow-modifier, w32-rwindow-modifier)
148 (w32-apps-modifier, w32-mouse-button-tolerance): Doc fix.
149
1502006-09-23 Juanma Barranquero <lekktu@gmail.com>
151
152 * minibuf.c (Finternal_complete_buffer, Fread_minibuffer)
153 (Fdisplay_completion_list): Fix typos in docstrings.
154
1552006-09-23 Romain Francoise <romain@orebokech.com>
156
157 * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too.
158
1592006-09-23 Kenichi Handa <handa@m17n.org>
160
161 * keymap.c (Fmap_keymap): Docstring mentions about generic character.
162
1632006-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * regex.c (analyse_first): For eight-bit-control chars, mark both the
166 char's value and its leading byte in the fastmap.
167 (re_search_2): When fast-scanning without translation, be careful to
168 check that we only match the leading byte of a multibyte char.
169
170 * charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's
171 byte sequence.
172 (AT_CHAR_BOUNDARY): New macro.
173
1742006-09-22 Kenichi Handa <handa@m17n.org>
175
176 * fns.c (optimize_sub_char_table): Don't optimize a sub-char-table
177 whose default value is non-nil.
178
1792006-09-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
180
181 * gtkutil.c (xg_get_file_with_chooser): Only show C-l help for
182 Gtk+ versions < 2.10.
183
184 * xfns.c (syms_of_xfns): Fix typo in help text for
185 x-gtk-file-dialog-help-text.
186
1872006-09-21 Kim F. Storm <storm@cua.dk>
188
189 * fns.c (Fmemq): Refill doc string.
190 (Fmemql): New defun, like memq but using eql.
191 (syms_of_fns): Defsubr it.
192
1932006-09-20 Kim F. Storm <storm@cua.dk>
194
195 * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for
196 last visible glyph in window.
197
198 * window.c (Fset_window_hscroll, Fwindow_line_height):
199 Doc fix. Use "off-window" instead of "off-screen".
200 (Fpos_visible_in_window_p): Likewise.
201 If POS is t, return info for last visible glyph in window.
202
2032006-09-19 Chong Yidong <cyd@stupidchicken.com>
204
205 * search.c (struct regexp_cache): New entry syntax_table.
206 (compile_pattern_1): Set it.
207 (syms_of_search): Initialize it.
208 (compile_pattern): Require the syntax_table entry of the cache
209 element to match the current syntax table entry.
210
2112006-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
212
213 * window.c (Fwindow_end): Fix recent change.
214
2152006-09-19 Kim F. Storm <storm@cua.dk>
216
217 * window.c (Fset_window_hscroll, Fpos_visible_in_window_p):
218 Doc fix. Use "off-screen" instead of "invisible".
219 (Fwindow_line_height): Make line numbers 0-based. Make line arg
220 optional; if nil, use current cursor row. Handle text terminals
221 properly. Return nil if non-interactive or pseudo-window.
222
2232006-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * keymap.c: Include alloca.h if available.
226 (Fkey_binding): Only use AREF after checking it's a vector.
227 Remove unused var `window'.
228
2292006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
230
231 * emacs.c (shut_down_emacs) [!subprocesses]: Don't set
232 inhibit_sentinels.
233
234 * mac.c [!MAC_OSX] (select): Fix argument name.
235
236 * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and
237 menu ID for Apple menu.
238 (menubar_selection_callback): Remove function.
239 (find_and_call_menu_selection): New function from xmenu.c.
240 (x_activate_menubar): Use it.
241 (set_frame_menubar): Don't use f->output_data.mac->menubar_active.
242
243 * macterm.c (menubar_selection_callback): Remove extern.
244 (M_APPLE): Change to 234.
245 (do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static.
246 (do_menu_choice): Remove function.
247
248 * macterm.h (struct mac_output): Remove member menubar_active.
249 (do_menu_choice): Remove extern.
250 (do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern.
251
2522006-09-18 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
253
254 * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to
255 x_gtk_file_dialog_help_text.
256
257 * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog
258 to x-gtk-use-old-file-dialog.
259 (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to
260 x_gtk_file_dialog_help_text.
261
262 * xfns.c (syms_of_xfns): Ditto.
263
2642006-09-18 Kim F. Storm <storm@cua.dk>
265
266 * window.c (Fwindow_line_visibility): Remove.
267 (Fwindow_line_height): New defun replacing it.
268 (syms_of_window): Defsubr it.
269
2702006-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
271
272 * mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1.
273 [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type.
274
2752006-09-17 Jay Belanger <belanger@truman.edu>
276
277 * gmalloc.c:
278 * md5.c:
279 * md5.h:
280 * strftime.c: Replace "GNU Library General Public License" by "GNU
281 General Public License" throughout.
282
2832006-09-17 Kim F. Storm <storm@cua.dk>
284
285 * dispnew.c (update_text_area): Undo 2000-07-18 change.
286 Always redrawing whole row if line has mouse-face in it causes
287 excessive flickering of the mode line.
288
2892006-09-17 Chong Yidong <cyd@stupidchicken.com>
290
291 * search.c (clear_regexp_cache): New function.
292
293 * syntax.c (Fmodify_syntax_entry): Clear regexp cache.
294
2952006-09-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
296
297 * gtkutil.c (xg_get_file_with_chooser):
298 Check x-gtk-show-chooser-help-text before adding the help text.
299
300 * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.
301
302 * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+
303 will simply crash if we fail.
304
3052006-09-16 Richard Stallman <rms@gnu.org>
306
307 * regex.c (re_compile_pattern): Set gl_state.current_syntax_table.
308
3092006-09-15 Kim F. Storm <storm@cua.dk>
310
311 * window.c (Fwindow_line_visibility): New defun for line-move-partial.
312 (syms_of_window): Defsubr it.
313 (Fwindow_end): Use window's buffer rather than current buffer.
314
3152006-09-15 Jay Belanger <belanger@truman.edu>
316
317 * COPYING: Replace "Library Public License" by "Lesser Public
318 License" throughout.
319
3202006-09-15 David Kastrup <dak@gnu.org>
321
322 * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies.
323
324 * keymap.c: include "window.h".
325 (Fcommand_remapping): New optional POSITION argument.
326 (Fkey_binding): New optional POSITION argument. Completely rework
327 handling of mouse clicks to get the same order of keymaps as
328 `read-key-sequence' and heed POSITION. Also temporarily switch
329 buffers to location of mouse click and back.
330
331 * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
332 for additional argument.
333 (parse_menu_item): Adjust call of `Fkey_binding' for additional
334 argument.
335 (read_key_sequence): If there are both `local-map' and `keymap'
336 text properties at some buffer position, heed both.
337
338 * keymap.h: Declare additional optional arguments of
339 `Fcommand_remapping' and `Fkey_binding'.
340
3412006-09-15 Juanma Barranquero <lekktu@gmail.com>
342
343 * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring.
344
3452006-09-14 Andreas Schwab <schwab@suse.de>
346
347 * print.c: Whitespace fixup.
348
3492006-09-14 Kim F. Storm <storm@cua.dk>
350
351 * xdisp.c (produce_image_glyph): Automatically crop wide images at
352 right window edge so we can draw the cursor on the same row to
353 avoid confusing redisplay by placing the cursor outside the visible
354 window area.
355
3562006-09-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
357
358 * xterm.c (x_initialize): Don't install Xt event timer here.
359 (x_timeout_atimer_activated_flag): New var.
360 (x_activate_timeout_atimer): New function to install Xt timer.
361 (x_send_scroll_bar_event, x_process_timeouts): Use it.
362
363 * xmenu.c (x_menu_set_in_use, popup_activate_callback)
364 (create_and_show_popup_menu, create_and_show_dialog): Use it.
365
366 * xterm.h (x_activate_timeout_atimer): Add prototype.
367
3682006-09-13 Richard Stallman <rms@gnu.org>
369
370 * print.c (print_string): When printcharfun is t,
371 copy string contents and call strout on the copy.
372
373 * keyboard.c (read_char): If end_time specified, don't put the
374 event into this_command_keys.
375 (read_key_sequence): If Voverriding_terminal_local_map is specified,
376 don't check Voverriding_local_map at all.
377
3782006-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
379
380 * textprop.c (Fnext_property_change, Fnext_single_property_change)
381 (Fprevious_property_change, Fprevious_single_property_change):
382 Avoid changing limit, so we can correctly catch the case where the
383 property is constant up to limit.
384
3852006-09-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
386
387 * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
388 * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
389 Undo 2006-09-08 change.
390
3912006-09-11 Chong Yidong <cyd@stupidchicken.com>
392
393 * keymap.c (Fkey_binding): Use string position for string objects.
394
3952006-09-11 Kim F. Storm <storm@cua.dk>
396
397 * keymap.c (Fkey_binding): Fix last change.
398
399 * editfns.c (Fmessage): Recommend using (message "%s" ...).
400
4012006-09-10 Chong Yidong <cyd@stupidchicken.com>
402
403 * keymap.c (Fkey_binding): Check for local keymap for mouse click
404 events.
405
4062006-09-10 Kim F. Storm <storm@cua.dk>
407
408 * keyboard.c (Finput_pending_p): Check Vunread_input_method_events
409 and Vunread_post_input_method_events.
410
411 * dispnew.c (Fredisplay): Document return value.
412
4132006-09-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
414
415 * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.
416
417 * gtkutil.c (xg_display_close): Always change default display if needed,
418 check for < Gtk+ version 2.10 before calling gdk_display_close.
419
4202006-09-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
421
422 * mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly.
423 Make variable `ofds' static. Remove variable `maxfd'.
424
425 * macfns.c (Fx_file_dialog): Remove unused variable `f'.
426 Call check_mac.
427
428 * macmenu.c (Vmenu_updating_frame, syms_of_macmenu):
429 * w32menu.c (Vmenu_updating_frame, syms_of_w32menu):
430 Apply 2006-09-08 change for xmenu.c.
431
432 * xfns.c (Fx_file_dialog): Call check_x.
433
4342006-09-10 Kim F. Storm <storm@cua.dk>
435
436 * xdisp.c (get_window_cursor_type): Use hollow cursor on
437 non-transparent images.
438
4392006-09-09 Eli Zaretskii <eliz@gnu.org>
440
441 * editfns.c (Fsystem_name): Mention "host" in the doc string.
442 (syms_of_editfns) <system-name>: Likewise.
443
4442006-08-27 Martin Rudalics <rudalics@gmx.at>
445
446 * xdisp.c (mouse_autoselect_window): Remove.
447 (Vmouse_autoselect_window): New variable. DEFVAR_LISP it.
448
449 * dispextern.h (mouse_autoselect_window): Remove extern.
450 (Vmouse_autoselect_window): Add extern.
451
452 * macterm.c (XTread_socket): Test Vmouse_autoselect_window
453 instead of mouse_autoselect_window.
454
455 * msdos.c (dos_rawgetc): Likewise.
456
457 * w32term.c (w32_read_socket): Likewise.
458
459 * xterm.c (handle_one_xevent): Likewise.
460
4612006-09-08 Richard Stallman <rms@gnu.org>
462
463 * xdisp.c (Vmenu_updating_frame): Define here.
464 (syms_of_xdisp): DEFVAR it here.
465 (update_menu_bar): Always return hooks_run.
466 Set Vmenu_updating_frame.
467
468 * xdisp.c (redisplay_internal): Test Vinhibit_redisplay
469 before calculating SELECTED_FRAME.
470
471 * xmenu.c (Vmenu_updating_frame): Don't define here.
472 (syms_of_xmenu): Don't DEFVAR it here.
473
474 * xterm.c (x_error_quitter): For BadName error, just return.
475
476 * eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P.
477
478 * casetab.c (init_casetab_once): Call set_case_table.
479
480 * emacs.c (shut_down_emacs): Set inhibit_sentinels.
481
482 * process.c (inhibit_sentinels): New variable.
483 (exec_sentinel): Test inhibit_sentinels.
484 (init_process): Initialize it.
485
486 * process.h (inhibit_sentinels): Add decl.
487
488 * search.c (looking_at_1, string_match_1, search_command):
489 Make syntax table's canon table point to eqv table.
490
4912006-09-08 Andreas Schwab <schwab@suse.de>
492
493 * print.c (strout): Fix whitespace.
494
4952006-09-08 Kim F. Storm <storm@cua.dk>
496
497 * xterm.c (x_draw_glyph_string): Fix 2006-08-24 change.
498
4992006-09-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
500
501 * mac.c [!MAC_OSX]: Don't include keyboard.h.
502 [!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent
503 in the same BLOCK_INPUT block, in case that some input has already
504 been read asynchronously. Pretend to be interrupted by a signal
505 if some input is available.
506 [MAC_OSX] (select_and_poll_event, sys_select): Likewise.
507 (SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000.
508 Now used for ReceiveNextEvent timeout instead of select timeout.
509 (EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro.
510 [SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect
511 support. Quit event loop.
512 [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking
513 connect support. Reuse previously allocated CFRunLoopSource.
514 (Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function.
515 (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
516
517 * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
518 Specify kWindowAsyncDragAttribute.
519
520 * macterm.c (mac_handle_origin_change, mac_handle_size_change)
521 (mac_get_ideal_size): New functions.
522 (x_set_offset, x_set_window_size, x_make_frame_visible)
523 (do_zoom_window, mac_handle_window_event, XTread_socket): Use them.
524 (install_window_handler, mac_handle_window_event)
525 [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and
526 kEventWindowBoundsChanged.
527 (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call
528 DragWindow.
529
5302006-09-07 Andreas Schwab <schwab@suse.de>
531
532 * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to
533 use lib64 instead of lib.
534
5352006-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * Makefile.in: Avoid double quotes when possible.
538
5392006-09-06 Kenichi Handa <handa@m17n.org>
540
541 * editfns.c (Fformat_time_string): Use make_unibyte_string to make
542 a Lisp string from the result of emacs_memftimeu call.
543
5442006-09-06 Kim F. Storm <storm@cua.dk>
545
546 * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg;
547 so calculate heights even when pos-visible-in-window-p is called
548 with partially = t. Don't overshoot last_visible_y in move_it_to.
549 Return row height and row number in new rowh and vpos args.
550 (cursor_row_fully_visible_p): First line is always "fully visible".
551 (try_window): Don't clear matrix if vscrolled.
552
553 * lisp.h (pos_visible_p): Update prototype.
554
555 * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p.
556 Return row height and row number for partially visible rows.
557 Modify return value to a 2 element list for fully visible rows and
558 6 for partially visible row.
559 (window_scroll_pixel_based): Use pos_visible_p directly instead of
560 Fpos_visible_in_window_p. Fix auto vscrolling for partially
561 visible lines. Only vscroll backwards if already vscrolled
562 forwards. Unconditionally vscroll forwards if PT is first (and
563 only) line. Set new window start instead of scrolling at
564 start/end of tall line.
565
5662006-09-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
567
568 * macterm.c (install_window_handler, mac_handle_window_event)
569 [USE_CARBON_EVENTS]: Handle kEventWindowClose.
570 [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for
571 ASCII keystroke event.
572
5732006-09-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
574
575 * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in
576 the file chooser message. Only call gtk_file_chooser_set_current_name
577 when action is SAVE.
578
5792006-09-04 Andreas Schwab <schwab@suse.de>
580
581 * Makefile.in: Double all single and back quotes in C-style
582 comments to help fontifier.
583
5842006-09-03 Jason Rumney <jasonr@gnu.org>
585
586 * w32.c (shutdown_handler): New function to exit cleanly on shutdown.
587 (globals_of_w32): Register it as a signal handler.
588
5892006-09-02 Juri Linkov <juri@jurta.org>
590
591 * marker.c (Fmarker_position): Doc fix.
592
5932006-09-03 Eli Zaretskii <eliz@gnu.org>
594
595 * window.c (syms_of_window) <split-height-threshold>:
596 <window-min-height, window-min-width>: Doc fix.
597
5982006-09-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
599
600 * gtkutil.c (xg_get_file_with_chooser): Change file chooser message
601 for writing files. Call gtk_file_chooser_set_current_name to keep
602 default filename.
603
604 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls
605
6062006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change)
607
608 * fns.c (concat) [__GNUC__]: Declare with
609 `__attribute__((noinline))'.
610
611 * eval.c (apply1, call2) [__GNUC__]: Declare with
612 `__attribute__((noinline))'.
613
6142006-09-02 Stuart D. Herring <herring@lanl.gov>
615
616 * minibuf.c (Finternal_complete_buffer): New function.
617 (syms_of_minibuf): Defsubr it.
618 (Fread_buffer): Use it, instead of Vbuffer_alist.
619
6202006-09-01 Martin Rudalics <rudalics@gmx.at>
621
622 * buffer.h (struct buffer_text): New field chars_modiff.
623 (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
624 * buffer.c (Fbuffer_chars_modified_tick): New function returning
625 value of BUF_CHARS_MODIFF.
626 (syms_of_buffer): Defsubr it.
627 (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
628 * insdel.c (modify_region): New argument preserve_chars_modiff.
629 Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
630 (insert_1_both, insert_from_string_1, insert_from_buffer_1)
631 (adjust_after_replace, adjust_after_replace_noundo)
632 (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
633 * lisp.h (modify_region): Add fourth argument in extern.
634 * casefiddle.c (casify_region): Call modify_region with fourth
635 argument zero to assert that CHARS_MODIFF is updated.
636 * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
637 (Ftranspose_regions): Likewise.
638 * textprop.c (Fadd_text_properties, Fset_text_properties)
639 (Fremove_text_properties, Fremove_list_of_text_properties):
640 Call modify_region with fourth argument 1 to avoid that
641 CHARS_MODIFF is updated.
642
6432006-08-31 Richard Stallman <rms@gnu.org>
644
645 * editfns.c (Fformat): Don't sign-extend for %o or %x.
646
6472006-08-29 Chong Yidong <cyd@stupidchicken.com>
648
649 * indent.c (Fvertical_motion): Don't move back if we were
650 displaying a Lisp string, either.
651
6522006-08-28 Kim F. Storm <storm@cua.dk>
653
654 * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]:
655 Don't attempt to replace cursor on image glyphs.
656
6572006-08-28 Kenichi Handa <handa@m17n.org>
658
659 * coding.c (Fdetect_coding_region, Fdetect_coding_string): Fix
660 docstring about ISO-2022 control characters.
661
6622006-08-28 Kim F. Storm <storm@cua.dk>
663
664 * xdisp.c (get_window_cursor_type): Replace BOX cursor on images
665 with a hollow box cursor if image is larger than 32x32 (or the default
666 frame font if that is bigger). Replace any other cursor on images
667 with hollow box cursor, as redisplay doesn't support bar and hbar
668 cursors on images.
669
12006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 6702006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 671
3 * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous 672 * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous
@@ -18,11 +687,11 @@
18 * mac.c (create_apple_event_from_event_ref, select) 687 * mac.c (create_apple_event_from_event_ref, select)
19 (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) 688 (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator)
20 (Fmac_set_file_type, cfstring_create_normalized) 689 (Fmac_set_file_type, cfstring_create_normalized)
21 (mac_get_system_locale, select_and_poll_event, sys_select): Use 690 (mac_get_system_locale, select_and_poll_event, sys_select):
22 OSStatus instead of OSErr. 691 Use OSStatus instead of OSErr.
23 692
24 * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't 693 * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon):
25 use FRAME_FILE_NAME. Use (FS)UpdateAlias. 694 Don't use FRAME_FILE_NAME. Use (FS)UpdateAlias.
26 (Fx_create_frame): Apply 2006-07-03 for xfns.c. 695 (Fx_create_frame): Apply 2006-07-03 for xfns.c.
27 696
28 * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string) 697 * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string)
@@ -60,6 +729,10 @@
60 (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): 729 (Frename_file, Fadd_name_to_file, Fmake_symbolic_link):
61 Simplify; remove NO_ARG_ARRAY stuff, use list2. 730 Simplify; remove NO_ARG_ARRAY stuff, use list2.
62 731
7322006-08-25 Richard Stallman <rms@gnu.org>
733
734 * buffer.c (Fswitch_to_buffer): Fix previous change.
735
632006-08-25 Kim F. Storm <storm@cua.dk> 7362006-08-25 Kim F. Storm <storm@cua.dk>
64 737
65 * keyboard.c (Fcurrent_idle_time): Simplify. 738 * keyboard.c (Fcurrent_idle_time): Simplify.
@@ -187,7 +860,6 @@
187 860
188 * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* 861 * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
189 862
190
1912006-08-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 8632006-08-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
192 864
193 * keyboard.c: Define in_sighandler. 865 * keyboard.c: Define in_sighandler.
@@ -381,7 +1053,7 @@
381 (FletX, Flet, grow_specpdl): Use signal_error. 1053 (FletX, Flet, grow_specpdl): Use signal_error.
382 (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2. 1054 (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2.
383 1055
384 * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop. 1056 * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop.
385 (list1): New function. 1057 (list1): New function.
386 1058
387 * lisp.h (list1): Add EXFUN. 1059 * lisp.h (list1): Add EXFUN.
@@ -888,7 +1560,7 @@
888 (x_set_offset, x_check_fullscreen): Extensive changes to make 1560 (x_set_offset, x_check_fullscreen): Extensive changes to make
889 frame positioning deterministic under X. 1561 frame positioning deterministic under X.
890 1562
891 * xterm.h (x_output): Added members left_before_move and 1563 * xterm.h (x_output): Add members left_before_move and
892 top_before_move. Removed members expected_left and expected_top. 1564 top_before_move. Removed members expected_left and expected_top.
893 1565
8942006-06-16 Kim F. Storm <storm@cua.dk> 15662006-06-16 Kim F. Storm <storm@cua.dk>
@@ -1423,13 +2095,13 @@
1423 2095
14242006-05-18 Kim F. Storm <storm@cua.dk> 20962006-05-18 Kim F. Storm <storm@cua.dk>
1425 2097
1426 * xdisp.c (display_tool_bar_line): Restore entire tool-bar geometry when 2098 * xdisp.c (display_tool_bar_line): Restore entire tool-bar
1427 backtracking in case last image doesn't fit on line. 2099 geometry when backtracking in case last image doesn't fit on line.
1428 2100
14292006-05-18 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change) 21012006-05-18 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change)
1430 2102
1431 * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by more than 2103 * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by
1432 height of one frame default line. 2104 more than height of one frame default line.
1433 2105
14342006-05-17 Richard Stallman <rms@gnu.org> 21062006-05-17 Richard Stallman <rms@gnu.org>
1435 2107
@@ -2229,10 +2901,11 @@
2229 * term.c: Define aliases for append_glyph and produce_stretch_glyph 2901 * term.c: Define aliases for append_glyph and produce_stretch_glyph
2230 when `static' is defined to avoid name clash with those in xdisp.c. 2902 when `static' is defined to avoid name clash with those in xdisp.c.
2231 2903
2232 * process.c (Faccept_process_output): Fix to comply with lisp reference. 2904 * process.c (Faccept_process_output): Fix to comply with lisp
2233 Change arg "timeout" to "seconds" and allow both integer and float value. 2905 reference. Change arg "timeout" to "seconds" and allow both
2234 Change arg "timeout-msec" to "millisec" and interpret" as milliseconds 2906 integer and float value. Change arg "timeout-msec" to "millisec"
2235 rather than microseconds. Fix doc string accordingly. 2907 and interpret" as milliseconds rather than microseconds. Fix doc
2908 string accordingly.
2236 2909
22372006-03-21 Ken Raeburn <raeburn@raeburn.org> 29102006-03-21 Ken Raeburn <raeburn@raeburn.org>
2238 2911
@@ -4442,7 +5115,8 @@
4442 * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. 5115 * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use.
4443 (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. 5116 (remember_mouse_glyph): Clear RECT if mouse is over an image glyph.
4444 5117
4445 * keyboard.c (make_lispy_position): Adjust wx for left margin if ON_TEXT. 5118 * keyboard.c (make_lispy_position): Adjust wx for left margin if
5119 ON_TEXT.
4446 (Fposn_at_x_y): Fix calculation of x coordinate. 5120 (Fposn_at_x_y): Fix calculation of x coordinate.
4447 (Fposn_at_point): Return nil if point is hscrolled out of view. 5121 (Fposn_at_point): Return nil if point is hscrolled out of view.
4448 5122
@@ -9936,7 +10610,6 @@
9936 10610
9937 * xterm.c (xim_destroy_callback): Ditto. 10611 * xterm.c (xim_destroy_callback): Ditto.
9938 10612
9939
99402004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) 106132004-10-20 B. Anyos <banyos@freemail.hu> (tiny change)
9941 10614
9942 * w32term.c (x_draw_glyph_string): Use overline_color for overlines. 10615 * w32term.c (x_draw_glyph_string): Use overline_color for overlines.
@@ -10940,7 +11613,8 @@
10940 11613
10941 * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. 11614 * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM.
10942 11615
10943 * fontset.c (Fset_fontset_font): Remove unused vars `family' and `registry'. 11616 * fontset.c (Fset_fontset_font): Remove unused vars `family' and
11617 `registry'.
10944 11618
10945 * Makefile.in (${etc}DOC): Fix file name of make-docfile. 11619 * Makefile.in (${etc}DOC): Fix file name of make-docfile.
10946 11620
@@ -13914,11 +14588,11 @@
13914 pointer types. 14588 pointer types.
13915 (Qrelative_width, Qalign_to): Remove unused variables. 14589 (Qrelative_width, Qalign_to): Remove unused variables.
13916 (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. 14590 (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void.
13917 (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for 14591 (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for image
13918 image maps. 14592 maps.
13919 (x_y_to_hpos_vpos): Return glyph relative coordinates through 14593 (x_y_to_hpos_vpos): Return glyph relative coordinates through new
13920 new dx and dy args. 14594 dx and dy args. Remove buffer_only_p arg (always 0). Simplify
13921 Remove buffer_only_p arg (always 0). Simplify code accordingly. 14595 code accordingly.
13922 (get_glyph_string_clip_rect): Draw cursor using glyph's rather 14596 (get_glyph_string_clip_rect): Draw cursor using glyph's rather
13923 than row's ascent and height, to get sensible height on tall rows. 14597 than row's ascent and height, to get sensible height on tall rows.
13924 (build_desired_tool_bar_string): Remove Qimage extern. 14598 (build_desired_tool_bar_string): Remove Qimage extern.
@@ -13931,14 +14605,16 @@
13931 rectangular, circular, or polygon-shaped image hot-spot, 14605 rectangular, circular, or polygon-shaped image hot-spot,
13932 (find_hot_spot): New function to search for image hot-spot. 14606 (find_hot_spot): New function to search for image hot-spot.
13933 (Flookup_image_map): New defun to search for image hot-spot. 14607 (Flookup_image_map): New defun to search for image hot-spot.
13934 (define_frame_cursor1): New aux function to determine frame pointer. 14608 (define_frame_cursor1): New aux function to determine frame
13935 (note_mode_line_or_margin_highlight, note_mouse_highlight): 14609 pointer.
13936 Handle `pointer' text property and :pointer image property to 14610 (note_mode_line_or_margin_highlight, note_mouse_highlight): Handle
13937 control frame pointer shape. Detect image hot-spots for pointer 14611 `pointer' text property and :pointer image property to control
13938 and help_echo properties. Use define_frame_cursor1. 14612 frame pointer shape. Detect image hot-spots for pointer and
13939 (note_mouse_highlight): Use Vvoid_text_area_pointer. 14613 help_echo properties. Use define_frame_cursor1.
13940 (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables. 14614 (note_mouse_highlight): Use Vvoid_text_area_pointer.
13941 DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void. 14615 (syms_of_xdisp): Defsubr new defun. Intern and staticpro new
14616 variables. DEFVAR_LISP Vvoid_text_area_pointer instead of
14617 Vshow_text_cursor_in_void.
13942 14618
13943 * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. 14619 * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID.
13944 14620
@@ -14422,8 +15098,8 @@
14422 * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. 15098 * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full.
14423 15099
14424 * window.c (Fset_window_margins): Allow only integers as args. 15100 * window.c (Fset_window_margins): Allow only integers as args.
14425 (syms_of_window) <special-display-buffer-names, special-display-regexps>: 15101 (syms_of_window) <special-display-buffer-names,
14426 Doc fixes. 15102 special-display-regexps>: Doc fixes.
14427 15103
144282003-10-13 Lute Kamstra <lute@gnu.org> 151042003-10-13 Lute Kamstra <lute@gnu.org>
14429 15105
@@ -18423,6 +19099,14 @@
18423 19099
18424 * Makefile.in (fns.o): Depend on coding.h. 19100 * Makefile.in (fns.o): Depend on coding.h.
18425 19101
191022003-01-06 Dave Love <fx@gnu.org>
19103
19104 * fns.c: Include coding.h. Use POINTER_TYPE*, not void*.
19105 (Vlocale_coding_system): Declare.
19106 (Qcodeset, Qdays, Qmonths, Qpaper): New.
19107 (Flanginfo): New.
19108 (syms_of_fns): Initialize new stuff.
19109
184262003-01-07 Markus Rost <rost@math.ohio-state.edu> 191102003-01-07 Markus Rost <rost@math.ohio-state.edu>
18427 19111
18428 * minibuf.c (Fread_variable): Doc fix. 19112 * minibuf.c (Fread_variable): Doc fix.
@@ -22226,15 +22910,15 @@
22226 22910
22227 * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) 22911 * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily)
22228 (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) 22912 (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop)
22229 (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): 22913 (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New
22230 New variables. 22914 variables.
22231 (NETCONN1_P): New macro. 22915 (NETCONN1_P): New macro.
22232 (DATAGRAM_SOCKETS): New conditional symbol. 22916 (DATAGRAM_SOCKETS): New conditional symbol.
22233 (datagram_address): New array. 22917 (datagram_address): New array.
22234 (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. 22918 (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros.
22235 (status_message): Use concat3. 22919 (status_message): Use concat3.
22236 (Fprocess_status): Add `listen' status to doc string. Return `stop' 22920 (Fprocess_status): Add `listen' status to doc string. Return
22237 for a stopped network process. 22921 `stop' for a stopped network process.
22238 (Fset_process_buffer): Update contact plist for network process. 22922 (Fset_process_buffer): Update contact plist for network process.
22239 (Fset_process_filter): Ditto. Don't enable input for stopped 22923 (Fset_process_filter): Ditto. Don't enable input for stopped
22240 network processes. Server must listen, even if filter is t. 22924 network processes. Server must listen, even if filter is t.
@@ -22244,26 +22928,29 @@
22244 (Fprocess_contact): Added KEY argument. Handle datagrams. 22928 (Fprocess_contact): Added KEY argument. Handle datagrams.
22245 (list_processes_1): Optionally show only processes with the query 22929 (list_processes_1): Optionally show only processes with the query
22246 on exit flag set. Dynamically adjust column widths. Omit tty 22930 on exit flag set. Dynamically adjust column widths. Omit tty
22247 column if not needed. Report stopped network processes. 22931 column if not needed. Report stopped network processes. Identify
22248 Identify server and datagram network processes. 22932 server and datagram network processes.
22249 (Flist_processes): New optional arg `query-only'. 22933 (Flist_processes): New optional arg `query-only'.
22250 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) 22934 (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
22251 (conv_lisp_to_sockaddr, set_socket_options) 22935 (conv_lisp_to_sockaddr, set_socket_options)
22252 (network_process_featurep, unwind_request_sigio): New helper functions. 22936 (network_process_featurep, unwind_request_sigio): New helper
22937 functions.
22253 (Fprocess_datagram_address, Fset_process_datagram_address): 22938 (Fprocess_datagram_address, Fset_process_datagram_address):
22254 (Fset_network_process_options): New lisp functions. 22939 (Fset_network_process_options): New lisp functions.
22255 (Fopen_network_stream): Removed. Now defined in simple.el. 22940 (Fopen_network_stream): Removed. Now defined in simple.el.
22256 (Fmake_network_process): New lisp function. Code is based on previous 22941 (Fmake_network_process): New lisp function. Code is based on
22257 Fopen_network_stream, but heavily reworked with new property list based 22942 previous Fopen_network_stream, but heavily reworked with new
22258 argument list, support for datagrams, server processes, and local 22943 property list based argument list, support for datagrams, server
22259 sockets in addition to old client-only functionality. 22944 processes, and local sockets in addition to old client-only
22945 functionality.
22260 (server_accept_connection): New function. 22946 (server_accept_connection): New function.
22261 (wait_reading_process_input): Use it to handle incoming connects. 22947 (wait_reading_process_input): Use it to handle incoming connects.
22262 Do not enable input on a new connection if process is stopped. 22948 Do not enable input on a new connection if process is stopped.
22263 (read_process_output): Handle datagram sockets. Use 2k buffer for them. 22949 (read_process_output): Handle datagram sockets. Use 2k buffer for
22950 them.
22264 (send_process): Handle datagram sockets. 22951 (send_process): Handle datagram sockets.
22265 (Fstop_process, Fcontinue_process): Apply to network processes. A stopped 22952 (Fstop_process, Fcontinue_process): Apply to network processes. A
22266 network process is indicated by setting command field to t . 22953 stopped network process is indicated by setting command field to t.
22267 (Fprocess_send_eof): No-op if datagram connection. 22954 (Fprocess_send_eof): No-op if datagram connection.
22268 (Fstatus_notify): Don't read input for a stream server socket or a 22955 (Fstatus_notify): Don't read input for a stream server socket or a
22269 stopped network process. 22956 stopped network process.