1. 19 Oct, 2014 7 commits
    • Jan Djärv's avatar
      * gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on · b9bdab7a
      Jan Djärv authored
      Gt+ >= 3.12, or gtk_misc_set_alignment on Gtk+ >= 3.14.
      (make_widget_for_menu_item): Don't use gtk_misc_set_alignment on
      Gtk+ >= 3.14 (Bug#18674).
      (update_frame_tool_bar): Don't use  gtk_misc_set_padding on
      Gtk+ >= 3.14 (Bug#18674).
      * gtkutil.c (xg_update_menubar, xg_update_menu_item): Only call
      g_object_notify for label if Gtk+ >= 2.16 (Bug#16522).
    • Jan Djärv's avatar
      * src/xterm.c (handle_one_xevent): Check return value from · 5e334468
      Jan Djärv authored
      x_handle_net_wm_state, remove net_wm_state_hidden_seen.
      (get_current_wm_state): Remove net_wm_state_hidden_seen setting.
      * src/xterm.h (x_output): Remove net_wm_state_hidden_seen.
      Fixes: debbugs:18722
    • Jan Djärv's avatar
    • Ulf Jasper's avatar
      Newsticker: Show feedicons in treeview. Small fix in opml export. · 8259e90e
      Ulf Jasper authored
      * etc/images/newsticker/README: Add rss-feed.png, rss-feed.svg.
      * etc/images/newsticker/rss-feed.png: New.
      * etc/images/newsticker/rss-feed.svg: New.
      * lisp/net/newst-backend.el: Require url-parse.
      (newsticker--get-news-by-wget): Store feed name as process property.
      (newsticker--sentinel): Read feed name from process property.
      (newsticker--sentinel-work): Rename argument name to feed-name.
      Rename variable imageurl to image-url.  Pick icon url from Atom
      1.0 data.  Launch download of feed icon.
      (newsticker--get-icon-url-atom-1.0): New.
      (newsticker--unxml-attribute): Documentation.
      (newsticker--icons-dir): New.
      (newsticker--image-get): New arguments FILENAME and DIRECTORY.
      Use `url-retrieve' if `newsticker-retrieval-method' is 'intern.
      (newsticker--image-download-by-wget): New.  Use process properties
      for storing informations.
      (newsticker--image-sentinel): Read informations from process properties.
      (newsticker--image-download-by-url-callback): New.
      (newsticker-opml-export): Handle url list entries containing a
      function instead of an url string.
      * lisp/net/newst-reader.el (newsticker-html-renderer): Whitespace.
      (newsticker--do-print-extra-element): Documentation
      (newsticker--image-read): Optionally limit image height.  Use
      imagemagick if possible.
      (newsticker--icon-read): New.
      * lisp/net/newst-treeview.el (newsticker--treeview-item-show): Limit height of feed logo.
      (newsticker--treeview-tree-expand): Use feed icons in treeview.
      (newsticker--tree-widget-icon-create): New.  Set the tree widget icon.
      (newsticker--tree-widget-leaf-icon): Use feed icon.
    • Jan Djärv's avatar
      * gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area on · 58af643d
      Jan Djärv authored
      Gt+ >= 3.12, or gtk_misc_set_alignment on Gtk+ >= 3.14.
      (make_widget_for_menu_item): Don't use gtk_misc_set_alignment on
      Gtk+ >= 3.14 (Bug#18674).
      (update_frame_tool_bar): Don't use  gtk_misc_set_padding on
      Gtk+ >= 3.14 (Bug#18674).
    • Paul Eggert's avatar
      Merge from gnulib. · 821339c9
      Paul Eggert authored
      This incorporates:
      2014-10-18 readlinkat: port to AIX 7.1
      2014-10-07 fcntl: fix error reporting by dupfd
      * lib/fcntl.c, lib/readlinkat.c, lib/unistd.in.h, m4/readlinkat.m4:
      * m4/unistd_h.m4: Update from gnulib.
      * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
    • Stefan Monnier's avatar
      * lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code. · 26533185
      Stefan Monnier authored
      * lisp/emacs-lisp/eieio-core.el (eieio-compiled-function-arglist): Remove.
      (eieio--with-scoped-class): Use `declare'.
      (eieio-defclass): Remove compatibility code.
      (no-method-definition, no-next-method, inconsistent-class-hierarchy)
      (invalid-slot-type, unbound-slot, invalid-slot-name): Use define-error.
      * lisp/emacs-lisp/eieio-opt.el (eieio-lambda-arglist): Remove.
      Use help-function-arglist instead.
  2. 18 Oct, 2014 14 commits
    • Paul Eggert's avatar
      * gtkutil.c: Remove no-longer-used code. · 4e946894
      Paul Eggert authored
      (xg_update_menubar): Remove unused local and unnecessary call to
      (XG_TOOL_BAR_PROXY_BUTTON, xg_tool_bar_proxy_callback)
      (xg_get_tool_bar_widgets, xg_tool_bar_proxy_help_callback)
      (TOOLBAR_TOP_WIDGET): Remove; no longer used.
    • Jan Djärv's avatar
    • Jan Djärv's avatar
    • Jan Djärv's avatar
      Handle deprecated Gtk+ stuff for version <= 3.10 · 3f4c6d52
      Jan Djärv authored
      * lisp/term/x-win.el (x-gtk-stock-map): Add icon names suggested as
      replacements to stock names before stock names in a list.
      Cdr may be a list, each name is tried in turn until one is found.
      * src/gtkutil.c (XG_TEXT_CANCEL, XG_TEXT_OPEN, XG_TEXT_OK): New defines
      to handle Gtk versions.
      (xg_get_file_with_chooser): Use them.
      (xg_have_tear_offs, tearoff_remove, tearoff_activate): Remove
      (create_menus): Remove teroff argument and code.
      Remove call to gtk_menu_set_title.
      (xg_update_menubar, xg_update_submenu): Remove tearoff code.  Adjust
      args to create_menus.
      (xg_tool_bar_menu_proxy, xg_tool_bar_detach_callback)
      (xg_tool_bar_attach_callback, TOOLBAR_TOP_WIDGET): Remove.
      (xg_pack_tool_bar): Replace TOOLBAR_TOP_WIDGET, remove detach code.
      (xg_make_tool_item): Remove detach code.
      (xg_update_tool_bar_sizes): Replace TOOLBAR_TOP_WIDGET.
      (find_icon_from_name): New function.
      (update_frame_tool_bar): Remove GtkStockItem code, move to
      find_icon_from_name.  Let stock be a list of icon names to try.
      Only use gtk_image_new_from_stock on Gtk+ < 3.10.
      (free_frame_tool_bar, xg_change_toolbar_position ): Replace
      (xg_initialize): Remove tearoff code.
      * src/gtkutil.h (xg_have_tear_offs): Remove declaration.
      * src/xmenu.c (set_frame_menubar): Remove GTK block that calls
      * src/xterm.h (handlebox_widget): Remove.
    • Eli Zaretskii's avatar
      A better fix for drawing hollow cursor on X on 1-pixel thin space characters. · a4c80e35
      Eli Zaretskii authored
       src/xterm.c (x_draw_bar_cursor, x_draw_hollow_cursor): Subtract 1
       pixel from the window's cursor glyph width, since X renders hollow
       blocks 1 pixel wider than the 'width' parameter.
       src/xdisp.c (get_phys_cursor_geometry): Don't subtract 1 pixel from
       glyph->pixel_width; this is now done in xterm.c.
    • Eli Zaretskii's avatar
      Fix bidi reordering of bracket characters in isolates. · 6b247d28
      Eli Zaretskii authored
       src/bidi.c (bidi_cache_find): Rename the argument NEUTRALS_OK to
       RESOLVED_ONLY; when non-zero, return from the cache only fully
       resolved states.  All callers changed.
       (CANONICAL_EQU): New macro.
       (PUSH_BPA_STACK): Use it to push onto the BPA stack the canonical
       equivalent of the paired closing bracket character.
       (bidi_find_bracket_pairs): Set the bracket_pairing_pos member to
       the default non-negative value, to be checked later in
       bidi_resolve_brackets.  Use CANONICAL_EQU to test candidate
       characters against those pushed onto the BPA stack.
       (bidi_record_type_for_neutral): New function.
       (bidi_resolve_brackets): Record next_for_neutral and
       prev_for_neutral when embedding level gets pushed.  Force
       resolution of bracket pairs when entering a level run that was not
       yet BPA-resolved.
       (bidi_resolve_neutral): Add assertions before calling
       (bidi_level_of_next_char): Remove the code that attempted to
       resolve unresolved neutrals; that is now done by
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
    • Alan Mackenzie's avatar
      Check that a "macro" found near point-min isn't a ## operator. Fixes · 605cfb8b
      Alan Mackenzie authored
      bug #18749.
      progmodes/cc-engine.el (c-macro-is-genuine-p): New function.
      (c-beginning-of-macro): Use the above new function.
    • Eli Zaretskii's avatar
    • Eli Zaretskii's avatar
      Ensure 8-byte stack alignment in w32select's callback. · 4b6d6e69
      Eli Zaretskii authored
       src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.
    • Ted Zlatanov's avatar
      net/gnutls.el: pass correct data to `gnutls-boot'. · 6c854f07
      Ted Zlatanov authored
      * net/gnutls.el (gnutls-negotiate): Don't use cl-mapcan; pass
      correct data to `gnutls-boot'.
      Reported by Toke Høiland-Jørgensen <toke@toke.dk>.
    • Michal Nazarewicz's avatar
      Add a 'big-indent style to `whitespace-mode'. · 427c3627
      Michal Nazarewicz authored
      * lisp/whitespace.el (whitespace-style, whitespace-big-indent)
      (whitespace-big-indent-regexp, whitespace-style-value-list)
      (whitespace-toggle-option-alist, whitespace-interactive-char)
      (global-whitespace-toggle-options, whitespace-help-text)
      (whitespace-style-face-p, whitespace-color-on): Add a 'big-indent
      style to `whitespace-mode' to indicate that the line indentation
      is too deep.  By default, 32 SPACEs or four TABs are considered
      too many but `whitespace-big-indent-regexp' can be configured.
    • Michal Nazarewicz's avatar
      Mention new whitespace-mode option: big-indent. · 774da90d
      Michal Nazarewicz authored
      * etc/NEWS: Mention new whitespace-mode option: big-indent.
  3. 17 Oct, 2014 8 commits
  4. 16 Oct, 2014 10 commits
  5. 15 Oct, 2014 1 commit