summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Handle wrapped menu bar lines when resizing frames with Windows API.Martin Rudalics2014-10-213-0/+75
|/ | | | | | | * w32fns.c (Fw32_frame_menu_bar_size): New function. * w32term.c (x_set_window_size): Account for wrapped menu bar lines when setting up frame height (Bug#15174 and Bug#18720). (w32_add_wrapped_menu_bar_lines): New variable.
* * lisp/net/newst-reader.el (newsticker--image-read): Simplify.Stefan Monnier2014-10-202-34/+33
| | | | (newsticker--icon-read): Use dolist and fix free var error.
* * lisp/imenu.el (imenu--menubar-keymap): New var.Stefan Monnier2014-10-202-14/+23
| | | | | (imenu-add-to-menubar): Set it to remember the keymap we used. (imenu-update-menubar): Use it instead of asking lookup-key.
* Merge from emacs-24Stefan Monnier2014-10-2016-140/+167
|\
| * * lisp/obsolete/cc-compat.el: Make obsolete.Stefan Monnier2014-10-202-0/+3
| | | | | | | | Fixes: debbugs:18561
| * * lisp/epg-config.el (epg-gpg-program): Don't use the absolute names by default.Stefan Monnier2014-10-202-3/+5
| |
| * * src/xdisp.c (redisplay_window): Re-run pre-redisplay-function after weStefan Monnier2014-10-202-25/+37
| | | | | | | | move point.
* | Merge from emacs-24; up to 2014-07-28T06:28:15Z!dmantipov@yandex.ruGlenn Morris2014-10-2025-5/+107
|\ \ | |/
| * Restore temporarily reverted bytecomp changeStefan Monnier2014-10-202-5/+11
| | | | | | | | | | | | * lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg case. Fixes: debbugs:18767
| * Add 24.4 release ChangeLog entriesemacs-24.4Glenn Morris2014-10-2024-0/+96
| |
| * Temporarily revert previous bytecomp changeGlenn Morris2014-10-202-11/+5
| |
| * * lisp/emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-argStefan Monnier2014-10-192-5/+11
| | | | | | | | | | | | case. Fixes: debbugs:18767
* | Newsticker: fix broken image download via url-retrieve, again.Ulf Jasper2014-10-202-25/+25
| | | | | | | | | | | | * lisp/net/newst-backend.el (newsticker--image-download-by-url-callback): Make this function actually work: Check status properly, then save image.
* | * objects.texi (Type Predicates): Don't mention display-table-p.Tom Tromey2014-10-202-3/+4
| |
* | Newsticker: fix broken image download via url-retrieve.Ulf Jasper2014-10-202-14/+26
| | | | | | | | | | | | * lisp/net/newst-backend.el (newsticker--image-download-by-url-callback): Make this function actually work: First save image then check status.
* | * lisp/textmodes/css-mode.el (scss-mode): New major-mode.Stefan Monnier2014-10-206-25/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (css-mode-syntax-table): Use d style comment, to ease the scss case. (css-ident-re): Allow things like @-moz-keyframes. (scss--hash-re): New const. (css--font-lock-keywords): New function, extracted from css-font-lock-keywords. (css-font-lock-keywords): Use it. (scss-mode-syntax-table, scss-font-lock-keywords): New vars. (scss-smie--not-interpolation-p): New function. (css-smie--forward-token, css-smie--backward-token): Use it. (css-mode): Remove left-over code. * test/indent/scss-mode.scss: New file. * test/indent/css-mode.css: Add a few uneventful examples.
* | Spelling and grammar fixes in comments.Paul Eggert2014-10-201-3/+3
| |
* | Fix spelling error.Jan Djärv2014-10-191-1/+1
| | | | | | | | * NEWS: Teroffs and detachable tool bar for Gtk+ is gone.
* | src/ChangeLog: Remove stray duplicate entry.Eli Zaretskii2014-10-191-4/+0
| |
* | * gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area onJan Djärv2014-10-192-1/+7
| | | | | | | | | | | | | | | | | | | | | | 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).
* | * src/xterm.c (handle_one_xevent): Check return value fromJan Djärv2014-10-193-10/+9
| | | | | | | | | | | | | | | | | | 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
* | * NEWS: Teroffs and detachable tool bar for Gtk+ is gone.Jan Djärv2014-10-192-0/+7
| |
* | Newsticker: Show feedicons in treeview. Small fix in opml export.Ulf Jasper2014-10-198-67/+378
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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) (newsticker--unxml-node) (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-save) (newsticker--image-remove) (newsticker--image-download-by-url) (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--print-extra-elements) (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.
* | * gtkutil.c (create_dialog): Don't use gtk_dialog_get_action_area onJan Djärv2014-10-192-3/+42
| | | | | | | | | | | | | | | | 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).
* | Merge from gnulib.Paul Eggert2014-10-188-22/+101
| | | | | | | | | | | | | | | | | | 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.
* | * lisp/emacs-lisp/eieio: A bit more cleanup, removing compat code.Stefan Monnier2014-10-184-72/+30
| | | | | | | | | | | | | | | | | | | | * 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.
* | * gtkutil.c: Remove no-longer-used code.Paul Eggert2014-10-182-42/+10
| | | | | | | | | | | | | | | | (xg_update_menubar): Remove unused local and unnecessary call to gtk_menu_item_get_submenu. (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.
* | * cus-start.el (x-gtk-whole-detached-tool-bar): Remove.Jan Djärv2014-10-182-1/+2
| |
* | * xfns.c (syms_of_xfns): Remove x-gtk-whole-detached-tool-bar.Jan Djärv2014-10-182-6/+2
| |
* | Handle deprecated Gtk+ stuff for version <= 3.10Jan Djärv2014-10-187-384/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. Replace TOOLBAR_TOP_WIDGET. (free_frame_tool_bar, xg_change_toolbar_position ): Replace TOOLBAR_TOP_WIDGET. (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 xg_have_tear_offs. * src/xterm.h (handlebox_widget): Remove.
* | A better fix for drawing hollow cursor on X on 1-pixel thin space characters.Eli Zaretskii2014-10-183-10/+14
| | | | | | | | | | | | | | | | 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.
* | Fix bidi reordering of bracket characters in isolates.Eli Zaretskii2014-10-182-108/+176
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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_resolve_neutral_1. (bidi_level_of_next_char): Remove the code that attempted to resolve unresolved neutrals; that is now done by bidi_resolve_neutral.
| * | Add support for canonically equivalent bracket characters.Eli Zaretskii2014-10-181-11/+48
| | |
| * | Move cache retrieval on forwards scans to bidi_resolve_brackets.Eli Zaretskii2014-10-181-89/+61
| | |
| * | Fix processing of brackets in isolates and crash in w32select.c.Eli Zaretskii2014-10-182-12/+18
| | |
| * | Fix a typo in a comment.Eli Zaretskii2014-10-161-1/+1
| | |
| * | Cherry-pick a fix from trunk; fix level handling in bidi_resolve_brackets.Eli Zaretskii2014-10-161-13/+47
| | |
* | | Check that a "macro" found near point-min isn't a ## operator. FixesAlan Mackenzie2014-10-182-1/+27
| | | | | | | | | | | | | | | | | | bug #18749. progmodes/cc-engine.el (c-macro-is-genuine-p): New function. (c-beginning-of-macro): Use the above new function.
* | | Ensure 8-byte stack alignment in w32select's callback.Eli Zaretskii2014-10-182-3/+7
| | | | | | | | | | | | src/w32select.c (owner_callback): Mark with ALIGN_STACK attribute.
* | | net/gnutls.el: pass correct data to `gnutls-boot'.Ted Zlatanov2014-10-172-5/+13
| | | | | | | | | | | | | | | | | | * 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>.
* | | Add a 'big-indent style to `whitespace-mode'.Michal Nazarewicz2014-10-172-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/whitespace.el (whitespace-style, whitespace-big-indent) (whitespace-big-indent-regexp, whitespace-style-value-list) (whitespace-toggle-option-alist, whitespace-interactive-char) (whitespace-toggle-options) (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.
* | | Mention new whitespace-mode option: big-indent.Michal Nazarewicz2014-10-172-0/+8
| | | | | | | | | | | | * etc/NEWS: Mention new whitespace-mode option: big-indent.
* | | * configure.ac: Simplify OS X $canonical tests.Glenn Morris2014-10-173-8/+9
| | | | | | | | | | | | * etc/NEWS: Clarify OS X entries.
* | | Merge from emacs-24; up to 2014-07-28T02:47:29Z!fgallina@gnu.orgGlenn Morris2014-10-172-1/+9
|\ \ \ | | |/ | |/|
| * | Regenerate ldefs-bootemacs-24.4-rc1Glenn Morris2014-10-171-2/+2
| | |
| * | Fix display on X of 1-pixel R2L characters.Eli Zaretskii2014-10-172-1/+9
| | | | | | | | | | | | | | | | | | | | | src/xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on 1-pixel R2L characters. Reported by Dmitry Antipov <dmantipov@yandex.ru>, see http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html.
| * | Bump version to 24.4Glenn Morris2014-10-1611-101/+110
| | | | | | | | | | | | Regenerate ldefs-boot and AUTHORS
* | | Fix lisp/ChangeLog entry added in 2014-10-17T07:20:51Z!mina86@mina86.comMichal Nazarewicz2014-10-171-1/+1
| | |
* | | tildify.el (tildify--pick-alist-entry): rename from tildify-mode-alistMichal Nazarewicz2014-10-172-6/+11
| | | | | | | | | | | | | | | | | | tildify-mode-alist does not really describe what the functino does so rename it to tildify--pick-alist-entry. This also makes it clear that the function is an internal one.
* | | * lisp/emacs-lisp/eieio-base.el: Use lexical-binding and cl-lib.Stefan Monnier2014-10-175-126/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/eieio-core.el: Use lexical-binding and cl-lib. (list-of): New type. (eieio--typep): Remove. (eieio-perform-slot-validation): Use cl-typep instead. * lisp/emacs-lisp/eieio.el: Use lexical-binding drop non-GV fallback. (defclass, defgeneric, defmethod): Add doc-string position. (with-slots): Require cl-lib. * lisp/emacs-lisp/cl-macs.el (cl--make-type-test): Avoid ((lambda ..) ..).