]> code.delx.au - gnu-emacs/blobdiff - src/ChangeLog
Fix up "missing braces" warning.
[gnu-emacs] / src / ChangeLog
index 04e74667bc3a39415b61a46e4352bce106800c8e..81b4560e06d511dceb991a0f539719e041903aad 100644 (file)
@@ -1,3 +1,47 @@
+2010-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eval.c (Feval, Ffuncall): Use the new names.
+
+       * lisp.h (struct Lisp_Subr): Rename `am' to aMANY and add aUNEVALLED.
+       (DEFUN): Add braces around the union initialisation and use ## to
+       specify the right union alternative and avoid a cast.
+
+2010-07-18  Juanma Barranquero  <lekktu@gmail.com>
+
+       * makefile.w32-in ($(BLD)/keyboard.$(O)): Update dependencies.
+
+2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
+
+       * frame.c (make_initial_frame): Use set_menu_bar_lines (Bug#6660).
+
+2010-07-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * gtkutil.c (xg_event_is_for_menubar): Also check that event window
+       is related to the menu bar (Bug#6499).
+       (xg_frame_resized): GTK_IS_MAPPED => gtk_widget_get_mapped, for Gtk 3.0.
+
+2010-07-16  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.h (x_menubar_window_to_frame): Second parameter is XEvent*.
+
+       * xterm.c (handle_one_xevent): Pass event to x_menubar_window_to_frame.
+
+       * xmenu.c (x_activate_menubar): Revert previous fix for Bug#6499,
+       i.e. don't put back ButtonRelease (Bug#6608).
+
+       * xfns.c (x_menubar_window_to_frame): Take XEvent as second parameter
+       instead of Window.  Call xg_event_is_for_menubar when
+       USE_GTK (Bug#6499).
+
+       * gtkutil.h (xg_event_is_for_menubar): Declare.
+
+       * gtkutil.c (xg_event_is_for_menubar): New function (Bug#6499).
+
+2010-07-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * w32fns.c (x_set_foreground_color): Fix setting the cursor color
+       when it's the same as the old foreground.  (Bug#6609)
+
 2010-07-16  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xmenu.c (free_frame_menubar): Only call x_set_window_size if
@@ -33,8 +77,8 @@
        (prepare_menu_bars): Remove setting of pending_menu_activation.
 
        * xmenu.c (pending_menu_activation): Remove.
-       (x_activate_menubar): Set popup_activated_flag for Xt also. Remove
-       setting of pending_menu_activation.
+       (x_activate_menubar): Set popup_activated_flag for Xt also.
+       Remove setting of pending_menu_activation.
        (set_frame_menubar): Remove check of pending_menu_activation.
        Declare menubar_size before code.  Correct spelling in comment.
 
        * process.c (add_keyboard_wait_descriptor)
        (delete_keyboard_wait_descriptor): Move to common section, do
        nothing when subprocesses is not defined.
-       * term.c (Fsuspend_tty, Fresume_tty, init_tty): Remove subprocesses #ifdefs.
+       * term.c (Fsuspend_tty, Fresume_tty, init_tty):
+       Remove subprocesses #ifdefs.
 
        Convert maybe_fatal to standard C.
        * lisp.h (verror): Declare.
 
 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * dbusbind.c (xd_initialize): Don't compare boolean with a
-       constant.
+       * dbusbind.c (xd_initialize): Don't compare boolean with a constant.
 
 2010-07-12  Eli Zaretskii  <eliz@gnu.org>
 
        * xsettings.c:
        * xsmfns.c: Likewise.
 
-
 2010-07-08  Eli Zaretskii  <eliz@gnu.org>
 
        * process.c (kbd_is_on_hold, hold_keyboard_input)
 
 2010-07-08  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * xdisp.c (store_mode_line_noprop_char): Remove K&R alternative declaration.
+       * xdisp.c (store_mode_line_noprop_char): Remove K&R alternative
+       declaration.
 
        Clean up include guards.
        * tparam.c: Remove include guards for config.h, string.h and code
 2010-07-07  Jan Djärv  <jan.h.d@swipnet.se>
 
        * process.c (kbd_is_on_hold): New variable.
-       (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p): New
-       functions.
+       (hold_keyboard_input, unhold_keyboard_input, kbd_on_hold_p):
+       New functions.
        (wait_reading_process_output): If kbd_on_hold_p returns non-zero,
        select on empty input mask.
        (init_process): Initialize kbd_is_on_hold to 0.
        * dosfns.c:
        * w16select.c: Convert function definitions to ANSI C.
 
-       * msdos.h (ctrl_break_func, install_ctrl_break_check): Remove
-       unused prototypes.
+       * msdos.h (ctrl_break_func, install_ctrl_break_check):
+       Remove unused prototypes.
 
 2010-07-07  Juanma Barranquero  <lekktu@gmail.com>
 
        * nsfns.m (compute_tip_xy): Do not convert coordinates from frame
        parameters, they are already absolute.
 
-       * nsterm.m (x_set_window_size, initFrameFromEmacs): Renamed
-       FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT.
+       * nsterm.m (x_set_window_size, initFrameFromEmacs):
+       Rename FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT.
 
-       * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGH
+       * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.
 
-       * nsmenu.m (update_frame_tool_bar, free_frame_tool_bar): Update
-       FRAME_TOOLBAR_HEIGHT.
+       * nsmenu.m (update_frame_tool_bar, free_frame_tool_bar):
+       Update FRAME_TOOLBAR_HEIGHT.
 
-       * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Add
-       BLOCK/UNBLOCK_INPUT so asserts don't trigger.
+       * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar):
+       Add BLOCK/UNBLOCK_INPUT so asserts don't trigger.
 
 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
 
        * nsterm.m (ns_draw_fringe_bitmap): Likewise.
 
        * fringe.c (draw_fringe_bitmap_1): Don't clip bitmap here.
-       Take account of bitmap offset.
+       Take account of bitmap offset.
        (draw_window_fringes): Take account of window vscroll.
        (update_window_fringes): Likewise.  Extend top-aligned top indicator
        or bottom-aligned bottom indicator to adjacent rows if it doesn't fit
        * xfns.c (x_default_font_parameter): Try to open font from system
        before using it (bug#6478).  Rename got_from_gconf to got_from_system.
 
-2010-06-22  Keith Packard <keithp@keithp.com> (tiny change)
+2010-06-22  Keith Packard  <keithp@keithp.com>  (tiny change)
 
        * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437).
 
 
 2010-06-03  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4
-       address.  (Bug#6346)
+       * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4 address.
+       (Bug#6346)
 
 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>