comparison src/ChangeLog @ 76919:da01675cda44

Revert non-significant part of change 1.5629.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 03 Apr 2007 12:34:10 +0000
parents 10049946d984
children 5bc043f16661
comparison
equal deleted inserted replaced
76918:10049946d984 76919:da01675cda44
394 Use it. 394 Use it.
395 395
396 * w32menu.c (Fx_popup_menu): Don't free menu strings here. 396 * w32menu.c (Fx_popup_menu): Don't free menu strings here.
397 (w32_menu_show): Do it here instead. 397 (w32_menu_show): Do it here instead.
398 398
399 * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active 399 * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame
400 frame parameter. 400 parameter.
401 401
402 * w32menu.c (current_popup_menu): Make available globally. 402 * w32menu.c (current_popup_menu): Make available globally.
403 (menubar_selection_callback): Free menu strings before pushing the 403 (menubar_selection_callback): Free menu strings before pushing the
404 menu event into the keyboard buffer. Remove menu_command_in_progress. 404 menu event into the keyboard buffer. Remove menu_command_in_progress.
405 405
429 (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard 429 (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard
430 Layout Services routines to get current Unicode keyboard layout. 430 Layout Services routines to get current Unicode keyboard layout.
431 431
432 2007-02-20 Chong Yidong <cyd@stupidchicken.com> 432 2007-02-20 Chong Yidong <cyd@stupidchicken.com>
433 433
434 * frame.c (x_set_screen_gamma): Apply gamma value to the 434 * frame.c (x_set_screen_gamma): Apply gamma value to the frame's
435 frame's bgcolor. 435 bgcolor.
436 436
437 2007-02-19 Kim F. Storm <storm@cua.dk> 437 2007-02-19 Kim F. Storm <storm@cua.dk>
438 438
439 * minibuf.c (Fassoc_string): Allow symbols as keys. 439 * minibuf.c (Fassoc_string): Allow symbols as keys.
440 440
601 601
602 * Makefile.in: Use XFT_LIBS if defined. 602 * Makefile.in: Use XFT_LIBS if defined.
603 603
604 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 604 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
605 605
606 * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): 606 * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use
607 Use BLOCK_INPUT/UNBLOCK_INPUT. 607 BLOCK_INPUT/UNBLOCK_INPUT.
608 608
609 * blockinput.h (interrupt_input_blocked): Declare volatile. 609 * blockinput.h (interrupt_input_blocked): Declare volatile.
610 610
611 * keyboard.c (interrupt_input_blocked): Declare volatile. 611 * keyboard.c (interrupt_input_blocked): Declare volatile.
612 612
932 * m/amdx86-64.h, m/hp800.h: Add support for NetBSD. 932 * m/amdx86-64.h, m/hp800.h: Add support for NetBSD.
933 * m/sh3el.h: New file. 933 * m/sh3el.h: New file.
934 934
935 2006-12-22 Eli Zaretskii <eliz@gnu.org> 935 2006-12-22 Eli Zaretskii <eliz@gnu.org>
936 936
937 * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead 937 * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of
938 of $(BLD). 938 $(BLD).
939 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. 939 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD.
940 (bootstrap-temacs): Pass $(XMFLAGS) to sub-make. 940 (bootstrap-temacs): Pass $(XMFLAGS) to sub-make.
941 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). 941 ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O).
942 (clean): Delete stamp_BLD. 942 (clean): Delete stamp_BLD.
943 943
952 952
953 * w32.c (_sys_wait_accept): Fix handle leak. 953 * w32.c (_sys_wait_accept): Fix handle leak.
954 954
955 2006-12-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 955 2006-12-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
956 956
957 * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE 957 * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is
958 is defined. 958 defined.
959 959
960 2006-12-20 Kim F. Storm <storm@cua.dk> 960 2006-12-20 Kim F. Storm <storm@cua.dk>
961 961
962 * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it. 962 * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it.
963 963
1513 * gtkutil.c (update_frame_tool_bar): If icon image is invalid and 1513 * gtkutil.c (update_frame_tool_bar): If icon image is invalid and
1514 wicon is null, insert an empty button. 1514 wicon is null, insert an empty button.
1515 1515
1516 2006-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 1516 2006-11-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
1517 1517
1518 * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising 1518 * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the
1519 the window. 1519 window.
1520 1520
1521 2006-11-02 Juanma Barranquero <lekktu@gmail.com> 1521 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
1522 1522
1523 * emacs.c (Fkill_emacs): Fix typo in docstring. 1523 * emacs.c (Fkill_emacs): Fix typo in docstring.
1524 1524
1570 1570
1571 * macmenu.c (install_menu_quit_handler): Make variable `typesList' 1571 * macmenu.c (install_menu_quit_handler): Make variable `typesList'
1572 static const. 1572 static const.
1573 (name_is_separator): Add const qualifier to arguments. 1573 (name_is_separator): Add const qualifier to arguments.
1574 1574
1575 * macselect.c (init_service_handler): Make variable `specs' 1575 * macselect.c (init_service_handler): Make variable `specs' static
1576 static const. 1576 const.
1577 1577
1578 * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable 1578 * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable
1579 `swap_nibbles' static const. 1579 `swap_nibbles' static const.
1580 (atsu_get_text_layout_with_text_ptr): Make variables `lengths', 1580 (atsu_get_text_layout_with_text_ptr): Make variables `lengths',
1581 `tags', `sizes', `values' static const. 1581 `tags', `sizes', `values' static const.
1634 * xfaces.c (best_matching_font): Fix logic to decide whether to 1634 * xfaces.c (best_matching_font): Fix logic to decide whether to
1635 use overstriking to simulate bold-face (it was reversed). 1635 use overstriking to simulate bold-face (it was reversed).
1636 1636
1637 2006-10-23 Kim F. Storm <storm@cua.dk> 1637 2006-10-23 Kim F. Storm <storm@cua.dk>
1638 1638
1639 * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are 1639 * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not
1640 not initialized. 1640 initialized.
1641 1641
1642 * keyboard.c (read_char): Make an element (t . EVENT) in 1642 * keyboard.c (read_char): Make an element (t . EVENT) in
1643 unread-command-events add EVENT to the current command's key sequence. 1643 unread-command-events add EVENT to the current command's key sequence.
1644 (syms_of_keyboard) <unread-command-events>: Update doc. 1644 (syms_of_keyboard) <unread-command-events>: Update doc.
1645 1645
1704 1704
1705 * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place. 1705 * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place.
1706 1706
1707 2006-10-13 Chong Yidong <cyd@stupidchicken.com> 1707 2006-10-13 Chong Yidong <cyd@stupidchicken.com>
1708 1708
1709 * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in 1709 * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame
1710 frame title. 1710 title.
1711 1711
1712 2006-10-12 Chong Yidong <cyd@stupidchicken.com> 1712 2006-10-12 Chong Yidong <cyd@stupidchicken.com>
1713 1713
1714 * keymap.c (Fkey_binding): Check Lisp_Object types before doing 1714 * keymap.c (Fkey_binding): Check Lisp_Object types before doing
1715 XCAR and XINT. 1715 XCAR and XINT.
1932 (Fkey_binding): Only use AREF after checking it's a vector. 1932 (Fkey_binding): Only use AREF after checking it's a vector.
1933 Remove unused var `window'. 1933 Remove unused var `window'.
1934 1934
1935 2006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1935 2006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1936 1936
1937 * emacs.c (shut_down_emacs) [!subprocesses]: 1937 * emacs.c (shut_down_emacs) [!subprocesses]: Don't set
1938 Don't set inhibit_sentinels. 1938 inhibit_sentinels.
1939 1939
1940 * mac.c [!MAC_OSX] (select): Fix argument name. 1940 * mac.c [!MAC_OSX] (select): Fix argument name.
1941 1941
1942 * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and 1942 * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and
1943 menu ID for Apple menu. 1943 menu ID for Apple menu.
2034 `read-key-sequence' and heed POSITION. Also temporarily switch 2034 `read-key-sequence' and heed POSITION. Also temporarily switch
2035 buffers to location of mouse click and back. 2035 buffers to location of mouse click and back.
2036 2036
2037 * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' 2037 * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
2038 for additional argument. 2038 for additional argument.
2039 (parse_menu_item): Adjust call of `Fkey_binding' for 2039 (parse_menu_item): Adjust call of `Fkey_binding' for additional
2040 additional argument. 2040 argument.
2041 (read_key_sequence): If there are both `local-map' and `keymap' 2041 (read_key_sequence): If there are both `local-map' and `keymap'
2042 text properties at some buffer position, heed both. 2042 text properties at some buffer position, heed both.
2043 2043
2044 * keymap.h: Declare additional optional arguments of 2044 * keymap.h: Declare additional optional arguments of
2045 `Fcommand_remapping' and `Fkey_binding'. 2045 `Fcommand_remapping' and `Fkey_binding'.
2104 2104
2105 * editfns.c (Fmessage): Recommend using (message "%s" ...). 2105 * editfns.c (Fmessage): Recommend using (message "%s" ...).
2106 2106
2107 2006-09-10 Chong Yidong <cyd@stupidchicken.com> 2107 2006-09-10 Chong Yidong <cyd@stupidchicken.com>
2108 2108
2109 * keymap.c (Fkey_binding): Check for local keymap for 2109 * keymap.c (Fkey_binding): Check for local keymap for mouse click
2110 mouse click events. 2110 events.
2111 2111
2112 2006-09-10 Kim F. Storm <storm@cua.dk> 2112 2006-09-10 Kim F. Storm <storm@cua.dk>
2113 2113
2114 * keyboard.c (Finput_pending_p): Check Vunread_input_method_events 2114 * keyboard.c (Finput_pending_p): Check Vunread_input_method_events
2115 and Vunread_post_input_method_events. 2115 and Vunread_post_input_method_events.
2228 (x_set_offset, x_set_window_size, x_make_frame_visible) 2228 (x_set_offset, x_set_window_size, x_make_frame_visible)
2229 (do_zoom_window, mac_handle_window_event, XTread_socket): Use them. 2229 (do_zoom_window, mac_handle_window_event, XTread_socket): Use them.
2230 (install_window_handler, mac_handle_window_event) 2230 (install_window_handler, mac_handle_window_event)
2231 [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and 2231 [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and
2232 kEventWindowBoundsChanged. 2232 kEventWindowBoundsChanged.
2233 (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: 2233 (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call
2234 Don't call DragWindow. 2234 DragWindow.
2235 2235
2236 2006-09-07 Andreas Schwab <schwab@suse.de> 2236 2006-09-07 Andreas Schwab <schwab@suse.de>
2237 2237
2238 * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to 2238 * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to
2239 use lib64 instead of lib. 2239 use lib64 instead of lib.
2309 2309
2310 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls 2310 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls
2311 2311
2312 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change) 2312 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change)
2313 2313
2314 * fns.c (concat) [__GNUC__]: Declare with `__attribute__((noinline))'. 2314 * fns.c (concat) [__GNUC__]: Declare with
2315 `__attribute__((noinline))'.
2315 2316
2316 * eval.c (apply1, call2) [__GNUC__]: Declare with 2317 * eval.c (apply1, call2) [__GNUC__]: Declare with
2317 `__attribute__((noinline))'. 2318 `__attribute__((noinline))'.
2318 2319
2319 2006-09-02 Stuart D. Herring <herring@lanl.gov> 2320 2006-09-02 Stuart D. Herring <herring@lanl.gov>
2408 2409
2409 * macterm.c (mac_draw_string_common, mac_query_char_extents) 2410 * macterm.c (mac_draw_string_common, mac_query_char_extents)
2410 (x_iconify_frame, XLoadQueryFont, install_window_handler) 2411 (x_iconify_frame, XLoadQueryFont, install_window_handler)
2411 (mac_handle_command_event, init_command_handler, init_menu_bar): 2412 (mac_handle_command_event, init_command_handler, init_menu_bar):
2412 Use OSStatus instead of OSErr. 2413 Use OSStatus instead of OSErr.
2413 (x_free_frame_resources) [TARGET_API_MAC_CARBON]: 2414 (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use
2414 Don't use FRAME_FILE_NAME. 2415 FRAME_FILE_NAME.
2415 (x_query_font): Apply 2006-08-04 change for xterm.c. 2416 (x_query_font): Apply 2006-08-04 change for xterm.c.
2416 (Qhi_command): Rename from Qhicommand. All uses changed. 2417 (Qhi_command): Rename from Qhicommand. All uses changed.
2417 2418
2418 * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: 2419 * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member
2419 Remove member file_name. 2420 file_name.
2420 (FRAME_FILE_NAME): Remove macro. 2421 (FRAME_FILE_NAME): Remove macro.
2421 (install_window_handler, create_apple_event_from_event_ref): 2422 (install_window_handler, create_apple_event_from_event_ref):
2422 Return OSStatus instead of OSErr. 2423 Return OSStatus instead of OSErr.
2423 2424
2424 2006-08-26 Kim F. Storm <storm@cua.dk> 2425 2006-08-26 Kim F. Storm <storm@cua.dk>
2489 stretch glyph in left marginal areas on header and mode lines. 2490 stretch glyph in left marginal areas on header and mode lines.
2490 2491
2491 2006-08-21 Kenichi Handa <handa@m17n.org> 2492 2006-08-21 Kenichi Handa <handa@m17n.org>
2492 2493
2493 * keyboard.c (syms_of_keyboard): Docstring of 2494 * keyboard.c (syms_of_keyboard): Docstring of
2494 Vunread_post_input_method_events and Vunread_input_method_events fixed. 2495 Vunread_post_input_method_events and Vunread_input_method_events
2496 fixed.
2495 2497
2496 2006-08-20 Chong Yidong <cyd@stupidchicken.com> 2498 2006-08-20 Chong Yidong <cyd@stupidchicken.com>
2497 2499
2498 * keyboard.c (show_help_echo): Preserve mouse movement flag if 2500 * keyboard.c (show_help_echo): Preserve mouse movement flag if
2499 tracking mouse. 2501 tracking mouse.
2532 2534
2533 * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC 2535 * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC
2534 is exhausted, return with RET. 2536 is exhausted, return with RET.
2535 (detect_coding_emacs_mule, detect_coding_iso2022) 2537 (detect_coding_emacs_mule, detect_coding_iso2022)
2536 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) 2538 (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
2537 (detect_coding_utf_16, detect_coding_ccl): 2539 (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above
2538 Adjusted for the above change. 2540 change.
2539 2541
2540 2006-08-14 Chong Yidong <cyd@stupidchicken.com> 2542 2006-08-14 Chong Yidong <cyd@stupidchicken.com>
2541 2543
2542 * keyboard.c (read_char): Don't reset idle timers if a time limit 2544 * keyboard.c (read_char): Don't reset idle timers if a time limit
2543 is supplied. 2545 is supplied.
2705 * keymap.c (Fdefine_key): If the key binding definition looks like an 2707 * keymap.c (Fdefine_key): If the key binding definition looks like an
2706 XEmacs-style key sequence, convert it to Emacs's format. 2708 XEmacs-style key sequence, convert it to Emacs's format.
2707 2709
2708 2006-07-22 Ralf Angeli <angeli@caeruleus.net> 2710 2006-07-22 Ralf Angeli <angeli@caeruleus.net>
2709 2711
2710 * w32fns.c (w32_createwindow): If `left' and/or `top' frame parameters 2712 * w32fns.c (w32_createwindow): If `left' and/or `top' frame
2711 are bound to some values, use that instead of CW_USEDEFAULT. 2713 parameters are bound to some values, use that instead of
2714 CW_USEDEFAULT.
2712 2715
2713 2006-07-21 Eli Zaretskii <eliz@gnu.org> 2716 2006-07-21 Eli Zaretskii <eliz@gnu.org>
2714 2717
2715 * w32.c (convert_time): Use explicit long double constants to 2718 * w32.c (convert_time): Use explicit long double constants to
2716 ensure long double arithmetics is used throughout. 2719 ensure long double arithmetics is used throughout.
3390 (pfnSetScrollInfo, pfnGetScrollInfo): Remove. 3393 (pfnSetScrollInfo, pfnGetScrollInfo): Remove.
3391 (w32_initialize): Don't dynamically load Get/SetScrollInfo. 3394 (w32_initialize): Don't dynamically load Get/SetScrollInfo.
3392 3395
3393 2006-06-04 David Kastrup <dak@gnu.org> 3396 2006-06-04 David Kastrup <dak@gnu.org>
3394 3397
3395 * dispnew.c: Mention `redisplay-dont-pause' in doc string of `sit-for'. 3398 * dispnew.c: Mention `redisplay-dont-pause' in doc string of
3399 `sit-for'.
3396 3400
3397 2006-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 3401 2006-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3398 3402
3399 * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c. 3403 * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c.
3400 3404
3403 * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable. 3407 * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable.
3404 (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event) 3408 (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event)
3405 [USE_MAC_TSM]: Likewise. 3409 [USE_MAC_TSM]: Likewise.
3406 (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them. 3410 (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them.
3407 (Qbefore_string) [USE_MAC_TSM]: Add extern. 3411 (Qbefore_string) [USE_MAC_TSM]: Add extern.
3408 (do_app_resume, do_app_suspend) [USE_MAC_TSM]: 3412 (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call
3409 Call ActivateTSMDocument/DeactivateTSMDocument. 3413 ActivateTSMDocument/DeactivateTSMDocument.
3410 (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event. 3414 (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event.
3411 (mac_handle_window_event) [USE_MAC_TSM]: 3415 (mac_handle_window_event) [USE_MAC_TSM]: Handle
3412 Handle kEventWindowFocusAcquired/kEventWindowFocusRelinquish. 3416 kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
3413 (mac_handle_text_input_event) [USE_MAC_TSM]: New function. 3417 (mac_handle_text_input_event) [USE_MAC_TSM]: New function.
3414 (install_window_handler) [USE_MAC_TSM]: Install it. Register 3418 (install_window_handler) [USE_MAC_TSM]: Install it. Register
3415 kEventWindowFocusAcquired/kEventWindowFocusRelinquish. 3419 kEventWindowFocusAcquired/kEventWindowFocusRelinquish.
3416 (keycode_to_xkeysym_table): Add entry for f16. 3420 (keycode_to_xkeysym_table): Add entry for f16.
3417 (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev 3421 (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev
3433 * w32fns.c (x_set_icon_name): Don't use arg if it's not a string 3437 * w32fns.c (x_set_icon_name): Don't use arg if it's not a string
3434 and not nil. 3438 and not nil.
3435 3439
3436 2006-06-02 Chong Yidong <cyd@stupidchicken.com> 3440 2006-06-02 Chong Yidong <cyd@stupidchicken.com>
3437 3441
3438 * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a string. 3442 * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a
3443 string.
3439 3444
3440 2006-06-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 3445 2006-06-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3441 3446
3442 * xdisp.c (next_element_from_composition): Set it->object to 3447 * xdisp.c (next_element_from_composition): Set it->object to
3443 it->string if composition is coming from string. 3448 it->string if composition is coming from string.
3551 3556
3552 * sound.c (alsa_open, alsa_configure, alsa_write): 3557 * sound.c (alsa_open, alsa_configure, alsa_write):
3553 Move assignment to err out of if-statement. 3558 Move assignment to err out of if-statement.
3554 3559
3555 * gtkutil.c (menu_nav_ended): New function. 3560 * gtkutil.c (menu_nav_ended): New function.
3556 (create_menus): Connect menu_nav_ended to "selection-done" 3561 (create_menus): Connect menu_nav_ended to "selection-done" to fix
3557 to fix grabs. 3562 grabs.
3558 3563
3559 * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. 3564 * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT.
3560 3565
3561 2006-05-28 Dan Nicolaescu <dann@ics.uci.edu> 3566 2006-05-28 Dan Nicolaescu <dann@ics.uci.edu>
3562 3567
3881 * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from 3886 * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from
3882 Vmac_services_selection. All uses changed. 3887 Vmac_services_selection. All uses changed.
3883 (mac_store_service_event): Rename from mac_store_services_event in 3888 (mac_store_service_event): Rename from mac_store_services_event in
3884 extern and calls. 3889 extern and calls.
3885 3890
3886 * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. 3891 * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. All uses
3887 All uses changed. 3892 changed.
3888 [MAC_OSX] (mac_store_service_event): Rename from 3893 [MAC_OSX] (mac_store_service_event): Rename from
3889 mac_store_services_event. All callers changed. 3894 mac_store_services_event. All callers changed.
3890 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args 3895 [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args
3891 FACE_ID and C. All callers changed. 3896 FACE_ID and C. All callers changed.
3892 (x_free_frame_resources) [USE_MAC_FONT_PANEL]: 3897 (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call
3893 Call mac_set_font_info_for_selection when focus frame is destroyed. 3898 mac_set_font_info_for_selection when focus frame is destroyed.
3894 (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow. 3899 (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow.
3895 3900
3896 * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd 3901 * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd
3897 args in extern. 3902 args in extern.
3898 3903
4325 (shrink_encoding_region): If eol_type is not yet decided and 4330 (shrink_encoding_region): If eol_type is not yet decided and
4326 system_eol_type is not LF, don't shrink. 4331 system_eol_type is not LF, don't shrink.
4327 4332
4328 2006-04-13 Nick Roberts <nickrob@snap.net.nz> 4333 2006-04-13 Nick Roberts <nickrob@snap.net.nz>
4329 4334
4330 * xdisp.c (note_mouse_highlight): Add help echo for dragging 4335 * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical
4331 vertical line. 4336 line.
4332 4337
4333 2006-04-12 Richard Stallman <rms@gnu.org> 4338 2006-04-12 Richard Stallman <rms@gnu.org>
4334 4339
4335 * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1]. 4340 * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1].
4336 4341
5045 * buffer.c (modify_overlay): Force redisplay if we modify an 5050 * buffer.c (modify_overlay): Force redisplay if we modify an
5046 overlay at the end of the buffer. 5051 overlay at the end of the buffer.
5047 5052
5048 2006-02-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 5053 2006-02-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
5049 5054
5050 * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns nil 5055 * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns
5051 the image file has been removed, in that case use the (cached) pixmap. 5056 nil the image file has been removed, in that case use the (cached)
5057 pixmap.
5052 5058
5053 2006-02-24 Kenichi Handa <handa@m17n.org> 5059 2006-02-24 Kenichi Handa <handa@m17n.org>
5054 5060
5055 * fileio.c (Finsert_file_contents): When a text is replaced 5061 * fileio.c (Finsert_file_contents): When a text is replaced
5056 partially, be sure to set point before the inserted characters. 5062 partially, be sure to set point before the inserted characters.
5380 * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. 5386 * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup.
5381 5387
5382 * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: 5388 * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]:
5383 Cast bitfield value to EMACS_INT, to suppress gcc warning. 5389 Cast bitfield value to EMACS_INT, to suppress gcc warning.
5384 5390
5385 * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros 5391 * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before
5386 before defining. 5392 defining.
5387 5393
5388 2006-02-03 Kim F. Storm <storm@cua.dk> 5394 2006-02-03 Kim F. Storm <storm@cua.dk>
5389 5395
5390 * xdisp.c: Cache last merged escape glyph face. 5396 * xdisp.c: Cache last merged escape glyph face.
5391 (last_escape_glyph_frame, last_escape_glyph_face_id) 5397 (last_escape_glyph_frame, last_escape_glyph_face_id)
5447 * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. 5453 * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries.
5448 (find_field): Set before_field to after_field when pos is at BEGV. 5454 (find_field): Set before_field to after_field when pos is at BEGV.
5449 (Fline_beginning_position, Fline_end_position): 5455 (Fline_beginning_position, Fline_end_position):
5450 Clarify confusing doc string. 5456 Clarify confusing doc string.
5451 5457
5452 * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing 5458 * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc
5453 doc string. 5459 string.
5454 5460
5455 2006-01-26 Kenichi Handa <handa@m17n.org> 5461 2006-01-26 Kenichi Handa <handa@m17n.org>
5456 5462
5457 * callproc.c (Fcall_process): GCPRO error_file. Encode infile, 5463 * callproc.c (Fcall_process): GCPRO error_file. Encode infile,
5458 current_dir, and error_file. On reporting an error, decode them back. 5464 current_dir, and error_file. On reporting an error, decode them
5465 back.
5459 5466
5460 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca> 5467 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca>
5461 5468
5462 * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. 5469 * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well.
5463 (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>: 5470 (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>:
5854 * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. 5861 * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR.
5855 (Fminibuffer_completion_help): Remove duplicates before display. 5862 (Fminibuffer_completion_help): Remove duplicates before display.
5856 5863
5857 2005-12-21 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu> 5864 2005-12-21 L$,1 q(Brentey K,Aa(Broly <lorentey@elte.hu>
5858 5865
5859 * print.c (print_preprocess): Don't lose print_depth levels 5866 * print.c (print_preprocess): Don't lose print_depth levels while
5860 while iterating. 5867 iterating.
5861 5868
5862 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 5869 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5863 5870
5864 * macmenu.c (Qmac_apple_event): Add extern. 5871 * macmenu.c (Qmac_apple_event): Add extern.
5865 (set_frame_menubar, mac_menu_show keymp_panes) 5872 (set_frame_menubar, mac_menu_show keymp_panes)