comparison src/ChangeLog @ 58250:6bd8923b07df

Cleanups.
author Kim F. Storm <storm@cua.dk>
date Tue, 16 Nov 2004 00:31:32 +0000
parents 615ae13a4f78
children a88bf92c239d
comparison
equal deleted inserted replaced
58249:615ae13a4f78 58250:6bd8923b07df
50 * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. 50 * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT.
51 51
52 * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. 52 * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use.
53 Record unwind with clean_up_file_dialog. 53 Record unwind with clean_up_file_dialog.
54 54
55 * xterm.h: Declare x_menu_in_use, x_menu_set_in_use, 55 * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event):
56 x_menu_wait_for_event. 56 Declare.
57 57
58 * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. 58 * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions.
59 59
60 2004-11-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 60 2004-11-13 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
61 61
244 244
245 * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. 245 * emacs.c (Fdump_emacs): Only output warning on GNU/Linux.
246 246
247 2004-11-07 Andreas Schwab <schwab@suse.de> 247 2004-11-07 Andreas Schwab <schwab@suse.de>
248 248
249 * lisp.h: Declare Fmsdos_downcase_filename. 249 * lisp.h (Fmsdos_downcase_filename): Declare.
250 * dired.c: Don't declare Fmsdos_downcase_filename. 250 * dired.c (Fmsdos_downcase_filename): Don't declare here.
251 * fileio.c: Likewise. 251 * fileio.c: Likewise.
252 252
253 2004-11-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 253 2004-11-07 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
254 254
255 * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in 255 * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
256 comparisons with integers instead of Lisp_Object address. 256 comparisons with integers instead of Lisp_Object address.
257 (Fmsdos_set_keyboard): Declare argument allkeys. 257 (Fmsdos_set_keyboard): Declare argument allkeys.
258 258
259 * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. 259 * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.
260 260
261 * dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid 261 * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid
262 int/Lisp_Object mixup. 262 int/Lisp_Object mixup.
263 263
264 * fileio.c: Ditto. 264 * fileio.c: Ditto.
265 265
266 2004-11-06 Steven Tamm <steventamm@mac.com> 266 2004-11-06 Steven Tamm <steventamm@mac.com>
365 365
366 2004-11-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 366 2004-11-04 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
367 367
368 * fileio.c (Fnext_read_file_uses_dialog_p): New function. 368 * fileio.c (Fnext_read_file_uses_dialog_p): New function.
369 369
370 * gtkutil.h: Declare use_old_gtk_file_dialog. 370 * gtkutil.h (use_old_gtk_file_dialog): Declare.
371 371
372 * gtkutil.c: Make use_old_gtk_file_dialog non-static. 372 * gtkutil.c: Make use_old_gtk_file_dialog non-static.
373 (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... 373 (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ...
374 * xfns.c (syms_of_xfns): ... to here. 374 * xfns.c (syms_of_xfns): ... to here.
375 375
841 (XTread_socket): Don't use argument `expected'. Don't use 841 (XTread_socket): Don't use argument `expected'. Don't use
842 FrontWindow to determine the clicked window. Exclude unprocessed 842 FrontWindow to determine the clicked window. Exclude unprocessed
843 mouseUp cases in the early stage. Add parentheses to fix operator 843 mouseUp cases in the early stage. Add parentheses to fix operator
844 precedence. 844 precedence.
845 (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. 845 (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area.
846
847 846
848 2004-10-05 Jan Dj,Ad(Brv. <jan.h.d@swipnet.se> 847 2004-10-05 Jan Dj,Ad(Brv. <jan.h.d@swipnet.se>
849 848
850 * config.in: Regenerate. 849 * config.in: Regenerate.
851 850
1419 * frame.c (Fselect_frame, Fset_frame_selected_window) 1418 * frame.c (Fselect_frame, Fset_frame_selected_window)
1420 (Fframe_visible_p, Fraise_frame): Doc fixes. 1419 (Fframe_visible_p, Fraise_frame): Doc fixes.
1421 1420
1422 2004-07-24 Richard M. Stallman <rms@gnu.org> 1421 2004-07-24 Richard M. Stallman <rms@gnu.org>
1423 1422
1424 * keyboard.h (not_single_kboard_state): Declared. 1423 * keyboard.h (not_single_kboard_state): Declare.
1425 1424
1426 * fileio.c (Fwrite_region): Doc fix. 1425 * fileio.c (Fwrite_region): Doc fix.
1427 1426
1428 * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. 1427 * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH.
1429 1428
1627 (Finit_image_library): Pass LIBRARIES through to 1626 (Finit_image_library): Pass LIBRARIES through to
1628 CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. 1627 CHECK_LIB_AVAILABLE. Declare parameters. Doc fix.
1629 (lookup_image_type): Pass Qnil as second argument to 1628 (lookup_image_type): Pass Qnil as second argument to
1630 Finit_image_library. 1629 Finit_image_library.
1631 1630
1632 * lisp.h: Declare Finit_image_library. 1631 * lisp.h (Finit_image_library): Declare.
1633 1632
1634 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 1633 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1635 1634
1636 * macterm.c (do_window_activate, do_window_deactivate): Remove. 1635 * macterm.c (do_window_activate, do_window_deactivate): Remove.
1637 (XTread_socket): Send mouse button events to the toolbox 1636 (XTread_socket): Send mouse button events to the toolbox
2472 * print.c (print_preprocess): Use being_printed, loop_count and 2471 * print.c (print_preprocess): Use being_printed, loop_count and
2473 halftail to detect overdeep nesting and cyclic cdr chains. 2472 halftail to detect overdeep nesting and cyclic cdr chains.
2474 2473
2475 2004-05-10 Andreas Schwab <schwab@suse.de> 2474 2004-05-10 Andreas Schwab <schwab@suse.de>
2476 2475
2477 * lisp.h: Declare Fmake_symbolic_link. 2476 * lisp.h (Fmake_symbolic_link): Declare.
2478 2477
2479 * fileio.c (Frename_file): Remove extra argument in call to 2478 * fileio.c (Frename_file): Remove extra argument in call to
2480 Fmake_symbolic_link. 2479 Fmake_symbolic_link.
2481 2480
2482 2004-05-10 Kim F. Storm <storm@cua.dk> 2481 2004-05-10 Kim F. Storm <storm@cua.dk>
4963 in FRAME_X_DISPLAY_INFO. 4962 in FRAME_X_DISPLAY_INFO.
4964 (xg_get_scroll_id_for_window): Take Display* argument. 4963 (xg_get_scroll_id_for_window): Take Display* argument.
4965 (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. 4964 (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask.
4966 (xg_initialize): Remove xg_left_ptr_cursor. 4965 (xg_initialize): Remove xg_left_ptr_cursor.
4967 4966
4968 * gtkutil.h: xg_get_scroll_id_for_window, xg_win_to_widget takes 4967 * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add
4969 Display* argument also. Declare xg_display_open, 4968 Display* argument.
4970 xg_display_close, xg_create_default_cursor. 4969 (xg_display_open, xg_display_close, xg_create_default_cursor): Declare.
4971 4970
4972 2003-11-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 4971 2003-11-14 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
4973 4972
4974 * xterm.c (x_detect_focus_change): Do not change focus frame for 4973 * xterm.c (x_detect_focus_change): Do not change focus frame for
4975 Enter/LeaveNotify if the current focus frame has explicit focus. 4974 Enter/LeaveNotify if the current focus frame has explicit focus.
5031 5030
5032 * xterm.c (x_term_init): Fix formatting. 5031 * xterm.c (x_term_init): Fix formatting.
5033 5032
5034 2003-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 5033 2003-11-02 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
5035 5034
5036 * gtkutil.h: Declare xg_have_tear_offs, remove xg_keep_popup 5035 * gtkutil.h (xg_have_tear_offs): Declare.
5037 and xg_did_tearoff. 5036 (xg_keep_popup, xg_did_tearoff): Remove.
5038 5037
5039 * gtkutil.c: Remove variable xg_did_tearoff. 5038 * gtkutil.c: Remove variable xg_did_tearoff.
5040 (xg_have_tear_offs): New function. 5039 (xg_have_tear_offs): New function.
5041 (tearoff_remove): Just decrease xg_detached_menus. 5040 (tearoff_remove): Just decrease xg_detached_menus.
5042 (tearoff_activate): Increase xg_detached_menus and call 5041 (tearoff_activate): Increase xg_detached_menus and call
5530 (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on 5529 (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on
5531 atimer.h, blockinput.h. 5530 atimer.h, blockinput.h.
5532 5531
5533 * alloc.c (lisp_align_malloc): Change type of `aligned'. 5532 * alloc.c (lisp_align_malloc): Change type of `aligned'.
5534 5533
5535 * alloca.s: Removed. 5534 * alloca.s: Remove.
5536 5535
5537 2003-08-19 Gerd Moellmann <gerd@gnu.org> 5536 2003-08-19 Gerd Moellmann <gerd@gnu.org>
5538 5537
5539 * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, 5538 * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO,
5540 use -lncurses. 5539 use -lncurses.
8152 (x_scroll_bar_handle_click): Use this function for toolkit scrollbars 8151 (x_scroll_bar_handle_click): Use this function for toolkit scrollbars
8153 also. 8152 also.
8154 (handle_one_xevent): ButtonPress/Release: If event is for a toolkit 8153 (handle_one_xevent): ButtonPress/Release: If event is for a toolkit
8155 scrollbar and control is pressed, call x_scroll_bar_handle_click. 8154 scrollbar and control is pressed, call x_scroll_bar_handle_click.
8156 8155
8157 * gtkutil.h: Declare xg_get_scroll_id_for_window. 8156 * gtkutil.h (xg_get_scroll_id_for_window): Declare.
8158 8157
8159 * gtkutil.c (xg_get_scroll_id_for_window): New function. 8158 * gtkutil.c (xg_get_scroll_id_for_window): New function.
8160 (xg_tool_bar_item_expose_callback): New function. 8159 (xg_tool_bar_item_expose_callback): New function.
8161 (xg_tool_bar_expose_callback): Call update_frame_tool_bar. 8160 (xg_tool_bar_expose_callback): Call update_frame_tool_bar.
8162 (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose 8161 (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose
8854 (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) 8853 (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET)
8855 (FRAME_OUTER_WINDOW): New macros for USE_GTK. 8854 (FRAME_OUTER_WINDOW): New macros for USE_GTK.
8856 (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. 8855 (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation.
8857 8856
8858 * xterm.c: Include gtkutil.h for USE_GTK. 8857 * xterm.c: Include gtkutil.h for USE_GTK.
8859 Declare extern void free_frame_menubar for USE_GTK. 8858 (free_frame_menubar): Declare extern void for USE_GTK.
8860 (note_mouse_highlight): Check popup_activated for USE_GTK. 8859 (note_mouse_highlight): Check popup_activated for USE_GTK.
8861 (xt_action_hook): Don't compile if USE_GTK. 8860 (xt_action_hook): Don't compile if USE_GTK.
8862 (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. 8861 (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK.
8863 (xg_scroll_callback): New function. 8862 (xg_scroll_callback): New function.
8864 (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. 8863 (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK.
8924 (redisplay_internal): Add check for USE_GTK and popup_activated. 8923 (redisplay_internal): Add check for USE_GTK and popup_activated.
8925 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. 8924 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR.
8926 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. 8925 (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR.
8927 (display_menu_bar): Add check for USE_GTK 8926 (display_menu_bar): Add check for USE_GTK
8928 8927
8929 * lisp.h: Declare Vx_resource_name extern. 8928 * lisp.h (Vx_resource_name): Declare extern.
8930 8929
8931 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT 8930 * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT
8932 for USE_GTK. 8931 for USE_GTK.
8933 (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. 8932 (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK.
8934 8933
9141 * lisp.h: New misc type Lisp_Save_Value. 9140 * lisp.h: New misc type Lisp_Save_Value.
9142 (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. 9141 (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value.
9143 (XSAVE_VALUE): New macro. 9142 (XSAVE_VALUE): New macro.
9144 (struct Lisp_Save_Value): New data type. 9143 (struct Lisp_Save_Value): New data type.
9145 (union Lisp_Misc): Add u_save_value alternative. 9144 (union Lisp_Misc): Add u_save_value alternative.
9146 (make_save_value): Declared. 9145 (make_save_value): Declare.
9147 9146
9148 * alloc.c (make_save_value): New function. 9147 * alloc.c (make_save_value): New function.
9149 9148
9150 * xterm.c (x_catch_errors): Save dpy using make_save_value. 9149 * xterm.c (x_catch_errors): Save dpy using make_save_value.
9151 (x_catch_errors_unwind): Call XSync. 9150 (x_catch_errors_unwind): Call XSync.
12211 * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. 12210 * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init.
12212 12211
12213 * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of 12212 * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of
12214 Apple Monaco. 12213 Apple Monaco.
12215 12214
12216 * process.c: Declare QCfamily and QCfilter as extern. 12215 * process.c (QCfamily, QCfilte): Declare extern.
12217 (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before 12216 (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before
12218 calling select. 12217 calling select.
12219 12218
12220 * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. 12219 * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent.
12221 12220
13039 * lread.c (Fload): Don't assume that message_with_string uses the 13038 * lread.c (Fload): Don't assume that message_with_string uses the
13040 string it is given like a C string. 13039 string it is given like a C string.
13041 13040
13042 2002-03-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 13041 2002-03-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
13043 13042
13044 * xterm.h (x_session_check_input, x_session_initialize): Declared. 13043 * xterm.h (x_session_check_input, x_session_initialize): Declare.
13045 13044
13046 * xterm.c: (XTread_socket): Add call to x_session_check_input and 13045 * xterm.c: (XTread_socket): Add call to x_session_check_input and
13047 x_session_have_connection. 13046 x_session_have_connection.
13048 (x_initialize): Add call to x_session_initialize. 13047 (x_initialize): Add call to x_session_initialize.
13049 13048
13051 13050
13052 * keyboard.c: Add Emacs event save_session_event. 13051 * keyboard.c: Add Emacs event save_session_event.
13053 13052
13054 * emacs.c (main): Add call to syms_of_xsmfns. 13053 * emacs.c (main): Add call to syms_of_xsmfns.
13055 13054
13056 * lisp.h: Declare syms_of_xsmfns as extern. 13055 * lisp.h (syms_of_xsmfns): Declare extern.
13057 13056
13058 * config.in: Add HAVE_X_SM. 13057 * config.in: Add HAVE_X_SM.
13059 13058
13060 * Makefile.in (LIBXT): Add -lSM -lICE 13059 * Makefile.in (LIBXT): Add -lSM -lICE
13061 if HAVE_X_SM and not USE_X_TOOLKIT. 13060 if HAVE_X_SM and not USE_X_TOOLKIT.
14396 * s/hpux10.h (srand48): Don't undefine. 14395 * s/hpux10.h (srand48): Don't undefine.
14397 14396
14398 2001-12-09 Jason Rumney <jasonr@gnu.org> 14397 2001-12-09 Jason Rumney <jasonr@gnu.org>
14399 14398
14400 * w32menu.c (_widget_value): Make `help' field a Lisp_Object. 14399 * w32menu.c (_widget_value): Make `help' field a Lisp_Object.
14401 Add comment to explain where the struct came from. 14400 Add comment to explain where the struct came from.
14402 (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. 14401 (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
14403 (add_menu_item): Process pop-up menus first to avoid memory leak. 14402 (add_menu_item): Process pop-up menus first to avoid memory leak.
14404 (add_menu_item, w32_menu_display_help): Use `help' field as 14403 (add_menu_item, w32_menu_display_help): Use `help' field as
14405 Lisp_Object. 14404 Lisp_Object.
14406 (w32_free_submenu_strings): Only free owner-drawn strings. 14405 (w32_free_submenu_strings): Only free owner-drawn strings.
15182 * lread.c (read_escape): Use end_of_file_error for reporting eof. 15181 * lread.c (read_escape): Use end_of_file_error for reporting eof.
15183 15182
15184 * insdel.c (replace_range): Use adjust_markers_for_replace 15183 * insdel.c (replace_range): Use adjust_markers_for_replace
15185 instead of adjust_markers_for_delete and adjust_markers_for_insert. 15184 instead of adjust_markers_for_delete and adjust_markers_for_insert.
15186 15185
15187 * intervals.h: Declare set_text_properties and set_text_properties_1. 15186 * intervals.h (set_text_properties, set_text_properties_1): Declare.
15188 15187
15189 * textprop.c (set_text_properties_1): New subroutine 15188 * textprop.c (set_text_properties_1): New subroutine
15190 broken out of set_text_properties. 15189 broken out of set_text_properties.
15191 (set_text_properties): Use set_text_properties_1. 15190 (set_text_properties): Use set_text_properties_1.
15192 15191