1. 08 Jan, 2011 2 commits
    • Glenn Morris's avatar
      In Makefiles, -batch implies -q. · d0981f82
      Glenn Morris authored
      * leim/makefile.w32-in (RUN_EMACS):
      * leim/Makefile.in (RUN-EMACS): -batch implies --no-init-file.
      * lisp/makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
      * src/makefile.w32-in ($(EMACS)):
      * src/Makefile.in (emacs$(EXEEXT)): -batch implies -q.
    • Glenn Morris's avatar
      Fix bug#7750. · 9dc3366b
      Glenn Morris authored
      * src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
      * src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
  2. 07 Jan, 2011 3 commits
  3. 05 Jan, 2011 1 commit
  4. 04 Jan, 2011 2 commits
  5. 03 Jan, 2011 1 commit
  6. 01 Jan, 2011 1 commit
    • Chong Yidong's avatar
      Reduce GTK tool-bar switching delay by avoiding selective show/hide of widgets. · 3afff00e
      Chong Yidong authored
      * src/gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
      image or label in the container.
      (xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
      (xg_show_toolbar_item): Function deleted.
      (xg_tool_item_stale_p): New function.
      (update_frame_tool_bar): Calculate tool-bar style once per call.
      Instead of hiding text labels, omit them.  Don't use
      xg_show_toolbar_item; create new GtkToolItems from scratch if
      necessary, instead of trying to re-use them.  This avoids an
      annoying animation when changing tool-bars.
  7. 31 Dec, 2010 3 commits
  8. 30 Dec, 2010 1 commit
    • Jan Djärv's avatar
      Encode frame title and icon name before setting. · 5bbb4727
      Jan Djärv authored
      * coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.
      * nsfns.m (ns_set_name_iconic): Remove.
      (ns_set_name_internal): New function.
      (Vicon_title_format): Extern declare.
      (ns_set_name): Call ns_set_name_internal.
      (x_explicitly_set_name): Remove call to ns_set_name_iconic.
      (x_implicitly_set_name): Ditto.
      (x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
      (ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).
  9. 29 Dec, 2010 1 commit
  10. 28 Dec, 2010 1 commit
  11. 27 Dec, 2010 4 commits
    • Andreas Schwab's avatar
      Remove unused declarations · 2f7c71a1
      Andreas Schwab authored
      * src/buffer.c: Remove unused declarations.
      * src/buffer.h: Likewise.
      * src/charset.h: Likewise.
      * src/composite.h: Likewise.
      * src/dispextern.h: Likewise.
      * src/dispnew.c: Likewise.
      * src/font.h: Likewise.
      * src/fontset.c: Likewise.
      * src/fontset.h: Likewise.
      * src/intervals.h: Likewise.
      * src/keymap.h: Likewise.
      * src/lisp.h: Likewise.
      * src/syntax.c: Likewise.
      * src/syntax.h: Likewise.
      * src/termhooks.h: Likewise.
      * src/window.h: Likewise.
      * src/xsettings.h: Likewise.
      * src/xterm.c: Likewise.
      * src/xterm.h: Likewise.
      * src/chartab.c (sub_char_table_ref): Make static.
      * src/dispnew.c (line_hash_code, required_matrix_height)
      (required_matrix_width): Likewise.
      * src/eval.c (interactive_p, apply_lambda): Likewise.
      * src/fns.c (string_make_multibyte, copy_hash_table, hash_clear):
      * src/font.c (QCadstyle, QCregistry, font_make_spec)
      (font_parse_fcname, font_encode_char, font_at): Likewise.
      * src/frame.c (x_frame_get_arg): Likewise.
      * src/keymap.c (get_keyelt): Likewise.
      * src/lread.c (read_filtered_event): Likewise.
      * src/print.c (write_string_1): Likewise.
      * src/window.c (delete_window, window_height, window_width)
      (foreach_window): Likewise.
      * src/xrdb.c (x_get_customization_string, x_get_resource): Likewise.
      * src/xterm.c (x_scroll_bar_clear, xembed_set_info)
      (xembed_send_message): Likewise.
      * src/eval.c (run_hook_list_with_args): Delete.
      * src/font.c (font_unparse_gtkname, font_update_lface): Likewise.
      * src/terminal.c (get_terminal_param): Likewise.
      * src/xterm.c (x_alloc_lighter_color_for_widget): Likewise.
    • Andreas Schwab's avatar
      * scroll.c: Fix comment. · c4b607ed
      Andreas Schwab authored
    • Andreas Schwab's avatar
      Protoize · 59fc5cf9
      Andreas Schwab authored
      * dispnew.c (add_window_display_history)
      (add_frame_display_history, glyph_row_slice_p)
      (find_glyph_row_slice, flush_stdout)
      (check_matrix_pointer_lossage, matrix_row)
      (check_matrix_invariants, check_window_matrix_pointers)
      (check_matrix_pointers, window_to_frame_vpos)
      (window_to_frame_hpos): Prototize.
      * textprop.c (erase_properties): Likewise.
    • Stefan Monnier's avatar
      * src/.gdbinit (xgetptr): Fix the union+lsb case. · cf07311b
      Stefan Monnier authored
      (xbacktrace): Fix the union case.
  12. 26 Dec, 2010 1 commit
  13. 25 Dec, 2010 2 commits
  14. 24 Dec, 2010 1 commit
  15. 23 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Fix up last change. · 17870c01
      Stefan Monnier authored
      * lisp/emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
      * src/print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
      (print_preprocess): Fix handling of uninterned symbols in last change.
  16. 22 Dec, 2010 1 commit
  17. 20 Dec, 2010 2 commits
    • Chong Yidong's avatar
    • Chong Yidong's avatar
      Implement tool-bar separators for non-GTK tool-bars. · 94975270
      Chong Yidong authored
      * lisp/tool-bar.el (tool-bar--image-expression): New function.
      (tool-bar-local-item, tool-bar--image-exp): Use it.
      (tool-bar-setup): Initialize tool-bar-separator-image-expression.
      Use :enable instead of :visible to avoid changing the tool-bar
      configuration unnecessarily.
      * src/keyboard.c (Vtool_bar_separator_image_expression): New variable.
      (parse_tool_bar_item): Use it to obtain image separators for
      displays not using native tool-bar separators.
      * src/xdisp.c (build_desired_tool_bar_string): Don't handle separators
      specially, since this is now done in parse_tool_bar_item.
      * lisp/info.el (info-tool-bar-map): Add separators.
  18. 19 Dec, 2010 1 commit
    • Stefan Monnier's avatar
      Minor clean up to silence some gcc warnings. · ef1b0ba7
      Stefan Monnier authored
      * src/window.c (Fset_window_buffer):
      * src/xterm.c (x_set_frame_alpha): Restructure code to silence
      compiler warning.
      (handle_one_xevent): Remove unused var `p'.
      (do_ewmh_fullscreen): Remove unused var `lval'.
      (xembed_set_info): Remove unused var `atom'.
      * src/textprop.c (Fremove_list_of_text_properties): Add braces to silence
      compiler warning.
      * src/fontset.c (fontset_id_valid_p, dump_fontset):
      * src/ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
      * src/eval.c (Feval, Ffuncall): Avoid unneeded gotos.
      * src/dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
      label only when it's used.
      * src/image.c (x_create_bitmap_from_xpm_data):
      * src/dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
      its callers.
      * src/coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
      (DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
      (decode_coding_emacs_mule): Remove unused label `retry'.
      (detect_eol): Add parens to silence compiler warning.
      * src/alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
      it's used to silence the compiler.
      (make_number): Modernize k&r declaration.
      (mark_char_table): Add parens to silence compiler warning.
  19. 17 Dec, 2010 2 commits
    • Eli Zaretskii's avatar
      Fix change that fixed bug #7587. · 30d621a2
      Eli Zaretskii authored
       xdisp.c (Fformat_mode_line): Fix last change.
    • Chong Yidong's avatar
      Support for menu separators in the GTK tool-bar. · 4039c786
      Chong Yidong authored
      * src/gtkutil.c (XG_BIN_CHILD): New macro.
      (xg_get_menu_item_label, xg_update_menubar)
      (xg_update_menu_item, xg_tool_bar_menu_proxy)
      (xg_show_toolbar_item, update_frame_tool_bar): Use it.
      (separator_names, xg_separator_p): Move to keyboard.c.
      (create_menus, xg_update_submenu, update_frame_tool_bar): Use
      * src/keyboard.c (parse_tool_bar_item): Allow menu separators in
      tool-bar maps.
      (menu_separator_name_p): New function, from gtkutil.c.
      (separator_names): Move from gtkutil.c.
      * src/keyboard.h (menu_separator_name_p): Add prototype.
      * src/nsmenu.m (name_is_separator): Function deleted.
      (addItemWithWidgetValue): Use menu_separator_name_p.
      * src/w32menu.c (name_is_separator): Function deleted.
      (add_menu_item): Use menu_separator_name_p.
  20. 16 Dec, 2010 2 commits
  21. 13 Dec, 2010 1 commit
  22. 12 Dec, 2010 1 commit
  23. 11 Dec, 2010 4 commits
    • Eli Zaretskii's avatar
      Fix bug #7398 with truncated glyphs in w32 tooltips. · 39321b94
      Eli Zaretskii authored
       w32fns.c (Fx_show_tip): Call try_window with last argument
       TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
       solved.  Round up the tip height to an integral multiple of the
       frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.
    • Eli Zaretskii's avatar
      Fix bug #7398 with truncated glyphs in tooltip display on w32. · 76feb864
      Eli Zaretskii authored
       w32fns.c (Fx_show_tip): Call try_window with last argument
       TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
       solved.  Round up the tip height to an integral multiple of the
       frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.
    • Eli Zaretskii's avatar
      Code cleanup in xdisp.c regarding string_char_and_length. · f0559026
      Eli Zaretskii authored
       xdisp.c (string_pos_nchars_ahead, c_string_pos)
       (face_before_or_after_it_pos, next_element_from_string)
       (next_element_from_c_string, produce_stretch_glyph): Remove unused
       calculations of maximum string length before calling
       string_char_and_length and STRING_CHAR_AND_LENGTH.
       (string_char_and_length): Update commentary: MAXLEN is no longer
    • Glenn Morris's avatar
      ChangeLog fix. · d1ddd1d0
      Glenn Morris authored
  24. 10 Dec, 2010 1 commit