1. 05 Aug, 2010 3 commits
  2. 04 Aug, 2010 2 commits
  3. 03 Aug, 2010 3 commits
  4. 02 Aug, 2010 8 commits
  5. 01 Aug, 2010 7 commits
  6. 31 Jul, 2010 6 commits
  7. 30 Jul, 2010 2 commits
  8. 29 Jul, 2010 9 commits
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 59df9fdd
      Juanma Barranquero authored
      59df9fdd
    • Jan D's avatar
      Replace tests for SYSV_SYSTEM_DIR with HAVE_DIRENT_H, set via autoconf · 1c97e857
      Jan D authored
      * configure.in: Check for dirent.h
      
      * dired.c, sysdep.c: test HAVE_DIRENT_H instead of SYSV_SYSTEM_DIR
      
      * s/aix4-2.h, s/bsd-common.h, s/cygwin.h, s/gnu-linux.h,
        s/msdos.h, s/usg5-4.h: don't define SYSV_SYSTEM_DIR
      
      * sed2v2.inp (HAVE_DIRENT_H): Edit to 1
      1c97e857
    • Dan Nicolaescu's avatar
      Rename s/usg5-4.h -> s/usg5-4-common.h. · 1b231651
      Dan Nicolaescu authored
      * s/usg5-4.h: Rename file to ...
      * src/s/usg5-4-common.h: ... this for consistency with what we do for BSD.
      * src/s/unixware.h:
      * src/s/sol2-6.h:
      * src/s/irix6-5.h: Update includes accordingly.
      1b231651
    • Jan D's avatar
      2ebf1083
    • Jan Djärv's avatar
      Add doc and NEWS for tool-bar-position. · 8b2dd508
      Jan Djärv authored
      * doc/emacs/frames.texi (Tool Bars): Add doc for tool-bar-position.
      
      * doc/lispref/frames.texi (Layout Parameters): Add doc for tool-bar-position.
      8b2dd508
    • Jan Djärv's avatar
      Add ability to put Gtk+ tool bar on the left/right/bottom or top. Default top. · bfeabdc3
      Jan Djärv authored
      * lisp/menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
      (menu-bar-showhide-tool-bar-menu-customize-disable)
      (menu-bar-showhide-tool-bar-menu-customize-enable-right)
      (menu-bar-showhide-tool-bar-menu-customize-enable-top)
      (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): New functions
      (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
      make a menu for Options => toolbar that can move it.
      
      * src/frame.c (Qtool_bar_position): New variable.
      (make_frame): Set tool_bar_position to Qtop.
      (frame_parms): Add tool-bar-position.
      (x_report_frame_params): Store tool_bar_position.
      (x_set_fringe_width): Reset wm size hint after fringe changes.
      
      * src/frame.h (struct frame): Add tool_bar_position.
      (Qbottom): Declare.
      
      * src/gtkutil.c (FRAME_TOTAL_PIXEL_WIDTH): New macro.
      (xg_frame_set_char_size): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
      (xg_height_or_width_changed): Use FRAME_TOTAL_PIXEL_WIDTH.
      (xg_create_frame_widgets): Create a hobox for placing widgets
      vertically.  Use gtk_box_pack_start.
      (xg_height_or_width_changed): Renamed from xg_height_changed.
      (x_wm_set_size_hint): Add FRAME_TOOLBAR_WIDTH to base_width.
      (xg_update_frame_menubar, free_frame_menubar): Change to
      xg_height_or_width_changed.
      (xg_tool_bar_detach_callback): Update left/right/top/bottom tool bar
      size correctly.  Remove hardcoded 4, instead use handlebox size -
      toolbar size.
      (xg_tool_bar_attach_callback): Update left/right/top/bottom tool bar
      size correctly.  Use handlebox size + toolbar size as additional
      size.
      (xg_pack_tool_bar): POS is a new parameter.
      Set orientation of tool bar based on pos.
      Only make handlebox_widget if NULL.
      Check if tool bar goes to vbox or hbox depending on pos.
      (xg_update_tool_bar_sizes): New function.
      (update_frame_tool_bar): Remove old_req, new_req. Do not get tool bar
      height, call xg_update_tool_bar_sizes instead.
      (free_frame_tool_bar): Remove from hbox or vbox depending on
      toolbar_in_hbox,  Set all FRAME_TOOLBAR_*_(WIDTH|HEIGHT) to zero.
      (xg_change_toolbar_position): New function.
      
      * src/gtkutil.h (xg_change_toolbar_position): Declare.
      
      * src/window.c (calc_absolute_offset): Check for FRAME_TOOLBAR_TOP_HEIGHT
      and FRAME_TOOLBAR_LEFT_WIDTH.
      
      * src/xfns.c (x_set_tool_bar_position): New function.
      (xic_set_statusarea): Use FRAME_TOOLBAR_TOP_HEIGHT.
      (x_frame_parm_handlers): Add x_set_tool_bar_position.
      (syms_of_xfns): if USE_GTK, provide move-toolbar.
      
      * src/xterm.c (x_set_window_size_1): Add FRAME_TOOLBAR_WIDTH to pixelwidth.
      
      * src/xterm.h (struct x_output): Add toolbar_top_height,
      toolbar_bottom_height, toolbar_left_width, toolbar_right_width.  Remove
      toolbar_height.
      if USE_GTK: Add hbox_widget and toolbar_in_hbox.
      (FRAME_TOOLBAR_TOP_HEIGHT, FRAME_TOOLBAR_BOTTOM_HEIGHT)
      (FRAME_TOOLBAR_LEFT_WIDTH, FRAME_TOOLBAR_RIGHT_WIDTH): New macros.
      (FRAME_TOOLBAR_HEIGHT): Is now TOP_HEIGHT + BOTTOM_HEIGHT.
      bfeabdc3
    • Chong Yidong's avatar
      Update package-x to latest package.el changes. · 063e5294
      Chong Yidong authored
      * emacs-lisp/package-x.el (package--make-rss-entry):
      (package-maint-add-news-item, package--update-news)
      (package-upload-buffer-internal): New arg ARCHIVE-URL.
      
      * emacs-lisp/package.el (package-archive-url): Rename from
      package-archive-id.
      (package-install): Doc fix.
      (package-download-single, package-download-tar, package-install)
      (package-menu-view-commentary): Callers changed.
      063e5294
    • Dan Nicolaescu's avatar
      Make lisp_time_argument work on all systems. · 26469a38
      Dan Nicolaescu authored
      * src/lisp.h (lisp_time_argument): Move declaration ...
      * src/systime.h (lisp_time_argument): ... here
      * src/editfns.c (lisp_time_argument): Remove declaration.  (Bug#6751)
      26469a38
    • Michael Albinus's avatar
      bace45fe