1. 07 Jul, 2010 9 commits
  2. 06 Jul, 2010 6 commits
  3. 05 Jul, 2010 9 commits
    • Chong Yidong's avatar
      Set default-frame-alist, if necessary, in menu/tool-bar-mode. · 4ad11f8c
      Chong Yidong authored
      * menu-bar.el (menu-bar-mode):
      * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
      if it has been set.
      4ad11f8c
    • Chong Yidong's avatar
      Fix multi-click selection behavior (Bug#6565). · 81133808
      Chong Yidong authored
      * lisp/mouse.el (mouse-drag-track): Call mouse-start-end to handle
      word/line selection (Bug#6565).
      81133808
    • Dan Nicolaescu's avatar
      Convert function definitions and declarations to standard C. · d2aa42f8
      Dan Nicolaescu authored
      * src/vm-limit.c (memory_warnings):
      * src/keyboard.c (modify_event_symbol):
      * src/floatfns.c (rounding_driver, ceiling2, floor2, truncate2)
      (round2, emacs_rint):
      * src/process.c (send_process, old_sigpipe): Convert function
      definitions and declarations to standard C.
      d2aa42f8
    • Juanma Barranquero's avatar
      Convert most remaining function definitions to standard C. · d3da34e0
      Juanma Barranquero authored
      * buffer.c, cm.c, eval.c, keyboard.c, process.c, term.c, vm-limit.c,
      * xdisp.c: Convert function definitions to standard C.
      
      * cm.c (cmputc): Arg C is now int, not char.
      * process.c (Fmake_network_process): Cast sockaddr_in* to sockaddr*.
      d3da34e0
    • Jan D's avatar
      Set _NET_WM(_ICON)_NAME as per Extended Window Manager Hints (Bug#6563). · 00be444c
      Jan D authored
      * xterm.h (Xatom_net_wm_name, Xatom_net_wm_icon_name): New.
      
      * xterm.c (x_term_init): Intern the _NET_WM_NAME and
      _NET_WM_ICON_NAME atoms.
      
      * xfns.c (x_set_name_internal): Set the EWMH _NET_WM_NAME
      and _NET_WM_ICON_NAME properties, too, matching what is
      done in the Gtk+ case.
      00be444c
    • Jan D's avatar
    • Jan D's avatar
      Fix some bad prototypes and formatting after conversion from K&R declaration. · e4c8d29a
      Jan D authored
      * lwlib/lwlib-Xaw.c: Include <ctype.h> for isdigit.
      (fill_xft_data, set_text): Remove unused variable screen.
      (draw_text): Cast bp to FcChar8*.
      (find_xft_data): Return 0 if inst or xft_data is not set.
      (wm_delete_window): Correct prototype.  Initialize widget to 0
      and return if widget is still 0 after loop.
      
      * lwlib/xlwmenu.c (XlwMenuSetValues, XlwMenuInitialize): Correct prototype.
      (display_menu_item): Remove unused variable gi.
      (make_windows_if_needed): Remove unused variable screen.
      (XlwMenuRedisplay): Remove unused variable i.
      
      * src/gtkutil.c (xg_get_pixbuf_from_pix_and_mask)
      (xg_get_image_for_pixmap, create_dialog)
      (xg_get_file_with_selection, xg_get_file_name, update_cl_data)
      (menuitem_highlight_callback, make_menu_item)
      (xg_create_one_menuitem, create_menus, xg_update_menu_item)
      (xg_create_scroll_bar, xg_update_scrollbar_pos)
      (xg_set_toolkit_scroll_bar_thumb, xg_tool_bar_button_cb)
      (xg_tool_bar_proxy_help_callback, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, xg_tool_bar_help_callback)
      (xg_tool_bar_item_expose_callback): Reformat prototype.
      (xg_update_menubar): GList *group => GSList *group.
      (xg_modify_menubar_widgets): Initialize witem to 0, check witem != 0
      before use.
      (update_frame_tool_bar): 4:th param to xg_get_image_for_pixmap changed
      to GTK_IMAGE (wimage).
      
      * src/xsettings.c (something_changedCB, parse_settings)
      (apply_xft_settings): Reformat prototype.
      (something_changedCB, init_gconf): Remove unused variable i.
      (read_settings): Remove unused variable long_len.
      
      * src/xsmfns.c (SSDATA): New macro.
      (smc_save_yourself_CB, x_session_initialize): Use SSDATA for strings
      passed to strlen/strcpy/strcat.
      (create_client_leader_window): Surround with #ifndef USE_GTK.  Cast
      7:th arg to XChangeProperty to (unsigned char *)
      e4c8d29a
    • Dan Nicolaescu's avatar
      * src/atimer.c: Use "" instead of <> for local includes for · 898b4c5c
      Dan Nicolaescu authored
      consistency with the rest of the code.
      898b4c5c
    • Dan Nicolaescu's avatar
      Convert declarations or definitions to standard C. · dd4c5104
      Dan Nicolaescu authored
      * src/xsmfns.c (smc_save_yourself_CB, smc_error_handler):
      * src/xrdb.c (get_system_name):
      * src/window.c (shrink_windows):
      * src/syntax.c (forw_comment):
      * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
      (ins_del_costs):
      * src/mem-limits.h (start_of_data):
      * src/lread.c (readevalloop):
      * src/gtkutil.c (xg_dialog_response_cb, xg_get_file_with_chooser)
      (xg_get_file_with_selection, xg_update_menubar, xg_update_submenu):
      * src/frame.c (x_get_focus_frame):
      * src/floatfns.c (fmod_float):
      * src/fileio.c (choose_write_coding_system):
      * src/emacs.c (fatal_error_signal, init_cmdargs, argmatch)
      (malloc_initialize_hook, sort_args, synchronize_locale):
      * src/doprnt.c (doprnt):
      * src/dired.c (compile_pattern):
      * src/data.c (fmod_float):
      * src/chartab.c (map_sub_char_table, map_sub_char_table_for_charset)
      (map_char_table_for_charset):
      * src/charset.c (define_charset_internal):
      * src/alloc.c (Fgarbage_collect): Convert declarations or definitions
      to standard C.
      dd4c5104
  4. 04 Jul, 2010 16 commits