1. 01 Aug, 2010 4 commits
    • Jan D's avatar
      Use Gtk+ tooltips by default for Gtk+ Emacs. · aa1859f5
      Jan D authored
      * lisp/cus-start.el (x-gtk-use-system-tooltips): New variable.
      * src/gtkutil.c (hierarchy_ch_cb, qttip_cb, xg_prepare_tooltip)
      (xg_show_tooltip, xg_hide_tooltip, xg_free_frame_widgets): New
      (xg_create_frame_widgets): Set ttip_* to 0.  Set a dummy tooltip
      text so qttip_cb is called.  Connect query-tooltip to qttip_cb.
      Remove code that is commented out.
      * src/gtkutil.h (xg_free_frame_widgets, xg_prepare_tooltip)
      (xg_show_tooltip, xg_hide_tooltip): Declare.
      * src/xfns.c (x_gtk_use_system_tooltips): New variable.
      (Fx_show_tip): If USE_GTK and x_gtk_use_system_tooltips, call
      new gtkutil tooltip functions to show the tooltip.
      (Fx_hide_tip): Call xg_hide_tooltip.
      (syms_of_xfns): Defvar x-gtk-use-system-tooltips.
      * src/xterm.c (x_clear_frame): Check FRAME_GTK_WIDGET (f) before
      calling gtk_widget_queue_draw.
      (x_free_frame_resources): Call xg_free_frame_widgets.
      * src/xterm.h (struct x_output): Add ttip_widget, ttip_window and
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 6e051c0a
      Juanma Barranquero authored
    • Chong Yidong's avatar
      Package listing tweaks. · 376c2b6b
      Chong Yidong authored
      * emacs-lisp/package.el (package--list-packages): Fix column
      (package--builtins): Tweak descriptions.
      (package-print-package): Upcase descriptions if necessary.  Show
      all built-in packages in font-lock-builtin-face.
      (package-list-packages-internal): Omit "emacs" package.  Show
      status of built-in packages as "built-in".
    • Stefan Monnier's avatar
  2. 31 Jul, 2010 6 commits
  3. 30 Jul, 2010 2 commits
  4. 29 Jul, 2010 19 commits
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 59df9fdd
      Juanma Barranquero authored
    • 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
    • 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.
    • Jan D's avatar
    • 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.
    • 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-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_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
      (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
      * 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
      if USE_GTK: Add hbox_widget and toolbar_in_hbox.
    • 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-install): Doc fix.
      (package-download-single, package-download-tar, package-install)
      (package-menu-view-commentary): Callers changed.
    • 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)
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      * net/tramp.el (tramp-handle-start-file-process): Check only for · 683cc385
      Michael Albinus authored
      `remote-tty' process property.
      (tramp-open-shell): Don't check for tty.
      (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
      process property.
      * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
    • Jan Djärv's avatar
      Fix some stuff that didn't compile. · 8848b728
      Jan Djärv authored
      * frame.h (Qtty_color_mode): Move declaration out of HAVE_WINDOW_SYSTEM.
      * vm-limit.c (POINTER): Add typedef for it.
      (start_of_data): Change return type from POINTER to char *.
    • Dan Nicolaescu's avatar
      * src/vm-limit.c: Do not include sys/resource.h, mem-limits.h does it. · 0441987e
      Dan Nicolaescu authored
      Remove reference to __osf__, unused.
    • Dan Nicolaescu's avatar
      * src/mem-limits.h: Remove duplicated includes. · 56a000c7
      Dan Nicolaescu authored
      (NULL): Remove definition, unused.
      (POINTER): Remove definition.
      (start_of_data): Use char* in prototype, as the function
      definition does.
    • Dan Nicolaescu's avatar
      Remove extern declarations from .c files, and them to .h files. · e6cba650
      Dan Nicolaescu authored
      * src/xsmfns.c (Vuser_login_name):
      * src/xrdb.c (Vdouble_click_time):
      * src/xfaces.c (xic_create_fontsetname):
      * src/w32select.c (waiting_for_input):
      * src/print.c (minibuffer_auto_raise):
      * src/msdos.c (Qhelp_echo):
      * src/macros.c (real_this_command):
      * src/keymap.c (Voverriding_local_map):
      * src/xterm.c (poll_for_input_1, gray_bitmap_width)
      (gray_bitmap_height, gray_bitmap_bits;
      * src/xmenu.c ( Voverriding_local_map)
      (Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
      (use_file_dialog, Xt_app_con):
      * src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
      (Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
      (Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
      (Qtool_bar_lines, ignore_mouse_drag_p):
      * src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
      (Qrear_nonsticky, nconc2):
      * src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
      (Vhistory_length, Vtranslation_table_for_input, Qcomposition)
      (Qdisplay, Qafter_string, Qbefore_string, Qundefined):
      * src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
      (minibuf_level, minibuffer_auto_raise, lisp_time_argument):
      * src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
      * src/doc.c (Voverriding_local_map, Qremap):
      * src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
      * src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
      * src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
      (Vhistory_length, Vthis_original_command, real_this_command)
      (Qface, Qminibuffer_prompt, history_delete_duplicates):
      * src/image.c (Qrisky_local_variable):
      * src/fontset.c (QCname):
      * src/fns.c (minibuffer_auto_raise, QCname):
      * src/dispnew.c (char_ins_del_cost):
      * src/composite.c (font_fill_lglyph_metrics):
      * src/cmds.c (Qface, Vtranslation_table_for_input):
      * src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
      * src/ccl.c (charset_unicode):
      * src/callproc.c (Vtemporary_file_directory):
      * src/buffer.c (emacs_strerror): Remove extern declarations.
      Remove extern declarations from .c files, and them to .h files.
      * src/keyboard.h (Qhelp_echo, waiting_for_input)
      (input_available_clear_time, ignore_mouse_drag_p)
      (Vdouble_click_time, real_this_command, Vthis_original_command):
      * src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
      * src/lisp.h (Qinteractive_form, use_file_dialog)
      (Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
      (Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
      (QCindex, QCmatrix, QCcolor_adjustment, QCmask)
      (Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
      (Qfunction, debug_on_next_call, Qfield)
      (Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
      (Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
      (Qfile_directory_p, Qinsert_file_contents)
      (Qcompletion_ignore_case, Qcompletion_ignore_case)
      (Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
      (history_delete_duplicates, minibuffer_auto_raise, Qonly)
      (Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
      (Vtemporary_file_directory,char_ins_del_vector, Qface):
      * src/xterm.h (gray_bitmap_width, gray_bitmap_height)
      (gray_bitmap_bits, xic_create_fontsetname):
      * src/coding.h (Vtranslation_table_for_input): Add extern declarations.
      * src/data.c (Qwindow): Make non-static, used from other files too.
      * src/frame.c (validate_x_resource_name): Remove shadow definition for i.
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
    • Dan Nicolaescu's avatar
      Clean up unexec.c, remove references to unused code. · 76fd1ee9
      Dan Nicolaescu authored
      * nt/config.nt: Remove code referring to NO_REMAP, unused.
      * src/unexec.c (make_hdr): Remove references to NO_REMAP, COFF,
      * src/s/usg5-4.h (COFF):
      * src/s/template.h:
      * src/s/msdos.h (COFF, NO_REMAP):
      * src/s/ms-w32.h (NO_REMAP):
      * src/s/hpux10-20.h (NO_REMAP):
      * src/m/sparc.h (SEGMENT_MASK):
      * src/m/m68k.h (NO_REMAP):
      * src/m/intel386.h (SEGMENT_MASK):
      * src/m/arm.h (NO_REMAP):
      * src/m/alpha.h (COFF):
      * src/m/template.h: Remove references to unused defines.
    • Juanma Barranquero's avatar
      Fix typos in ChangeLogs. · 087b38a0
      Juanma Barranquero authored
    • Juanma Barranquero's avatar
  5. 28 Jul, 2010 5 commits
    • Phil Hagelberg's avatar
      Add support for non-default package repositories. · bc44bef7
      Phil Hagelberg authored
      * lisp/emacs-lisp/package.el (package-archive-base): Var deleted.
      (package-archives): New variable.
      (package-archive-contents): Doc fix.
      (package-load-descriptor): Do nothing if descriptor file is
      (package--write-file-no-coding): New function.
      (package-unpack-single): Use it.
      (package-archive-id): New function.
      (package-download-single, package-download-tar)
      (package-menu-view-commentary): Use it.
      (package-installed-p): Make second argument optional.
      (package-read-all-archive-contents): New function.
      (package-initialize): Use it.
      (package-read-archive-contents): Add ARCHIVE argument.
      (package--add-to-archive-contents): New function.
      (package-install): Don't call package-read-archive-contents.
      (package--download-one-archive): Store archive file in a
      subdirectory of package-user-dir.
      (package-menu-execute): Remove spurious line movement.
      * lisp/emacs-lisp/package.el (package-load-list, package-archives)
      (package-archive-contents, package-user-dir)
      (package-directory-list, package--builtins, package-alist)
      (package-activated-list, package-obsolete-alist): Mark as risky.
    • Jan Djärv's avatar
      Add tool bar style text-image-horiz (text to the left of the image). · 8a52f00a
      Jan Djärv authored
      * lisp/cus-start.el (tool-bar-style): Add text-image-horiz.
      * src/gtkutil.c (xg_make_tool_item, xg_show_toolbar_item): Handle tool bar
      style text_image_horiz.
      * src/lisp.h (Qtext_image_horiz): Declare.
      * src/xdisp.c (Qtext_image_horiz): Define.
      (syms_of_xdisp): Initialize Qtext_image_horiz.  Add text-image-horiz
      to ducumentation of tool-bar-style.
      * src/xsettings.c (Ftool_bar_get_system_style): Also check for
    • Michael Albinus's avatar
    • Michael Albinus's avatar
      * progmodes/gud.el (gud-common-init): Check for remoteness of · b21d3ceb
      Michael Albinus authored
      `file', and not of `default-directory'.
    • Michael Albinus's avatar
      * net/tramp.el (tramp-methods): Move hostname to the end in all · 8fbcce2d
      Michael Albinus authored
      ssh `tramp-login-args'.
      (tramp-verbose): Describe verbose level 9.
      (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
      (tramp-open-connection-setup-interactive-shell): Trace stty
      settings if `tramp-verbose' >= 9.
      (tramp-handle-start-file-process): Implement tty setting.
      (Bug#4604, Bug#6360)
      * net/tramp-cmds.el (tramp-bug): Recommend setting of
      `tramp-verbose' to 9.
  6. 27 Jul, 2010 4 commits