aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Allow the shr test files to have trailing blank space.Lars Magne Ingebrigtsen2016-03-201-0/+3
| | | | | * .gitattributes: Allow the shr test files to have trailing blank space.
* Add tests for empty <ul><li>Lars Magne Ingebrigtsen2016-03-202-0/+7
|
* * src/alloc.c (purecopy): Use AUTO_STRING.Paul Eggert2016-03-201-1/+1
|
* Ignore invalid base64 encoded embedded imagesLars Magne Ingebrigtsen2016-03-201-1/+2
| | | | | * lisp/net/shr.el (shr-image-from-data): Ignore invalid base64 encoded embedded images (bug#22928).
* Render empty <ul><li><ul> correctlyLars Magne Ingebrigtsen2016-03-201-0/+4
| | | | | * lisp/net/shr.el (shr-tag-ul): Render empty <ul><li><ul> correctly (bug#22964).
* Fix <p> and <div> newlines with or without <li> in shrLars Magne Ingebrigtsen2016-03-201-3/+12
| | | | | | | | | * lisp/net/shr.el (shr-ensure-newline): Respect that we're in a <li>, if we are, and don't insert newlines there. (shr-ensure-paragraph): When mixing newlines and paragraph ensurements, don't insert too many blank lines. (shr-tag-div): A <div> shouldn't introduce a paragraph, but a new line.
* Add more shr HTML rendering testsLars Magne Ingebrigtsen2016-03-206-5/+29
|
* Add a test harness for shr HTML rendering and one testLars Magne Ingebrigtsen2016-03-203-0/+50
|
* Remove code left over from when overlays were used for paddingLars Magne Ingebrigtsen2016-03-201-26/+0
| | | | | | * lisp/net/shr.el (shr-previous-newline-padding-width): Remove. (shr-remove-trailing-whitespace): Ditto. (shr-insert-document): Don't call them.
* Remove trailing blank lines in shrLars Magne Ingebrigtsen2016-03-201-0/+14
| | | | | | * lisp/net/shr.el (shr--remove-blank-lines-at-the-end): New function. (shr-insert-document): Use it to remove trailing blank lines at the end of documents, since these never seem to be very useful.
* Don't bug out on nil `patch-buf' argumentsLars Magne Ingebrigtsen2016-03-201-2/+2
| | | | | * lisp/vc/ediff.el (ediff-patch-file): Don't bug out on nil `patch-buf' arguments.
* Add a Catalan language environmentErnest Adrogué2016-03-204-1/+29
| | | | | | | | | | | | * international/mule-cmds.el (locale-language-names): Map locale language name `ca' to language environment `Catalan'. * language/european.el: Add definition of language environment for the Catalan language. * leim/quail/latin-pre.el: Add quail rule to the `catalan-prefix' input method to support input of middle dot characters through composition (bug#18279).
* No need to block input when reading directoriesPaul Eggert2016-03-191-13/+1
| | | | | | | | * src/dired.c: Don’t include blockinput.h. (open_directory, directory_files_internal_unwind) (directory_files_internal, file_attributes): Don’t block input here, as the reasons for blocking input should no longer apply. See blockinput.h FIXME. (Bug#22996).
* * lisp/vc/vc-hooks.el: Fix typoOscar Fuentes2016-03-191-1/+1
|
* Improve w32notify notificationsFabrice Popineau2016-03-196-250/+360
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32notify.c (DIRWATCH_BUFFER_SIZE): New macro. (struct notification): 'terminate' is now a HANDLE. (send_notifications): Argument is now a pointer to a notification. Don't loop waiting for the notification to be acknowledged by the main thread; instead, just add the notification to the linked list of notifications waiting to be acknowledged. (watch_end): Don't close the directory handle. (watch_completion): Allocate a new notification structure to be added to the notifications set. Call ReadDirectoryChangesW immediately after adding the new notification, and before sending a message to the main thread about them. (watch_worker): Don't loop calling ReadDirectoryChangesW; instead, call it just once -- it will be called again in watch_completion. Loop waiting for the main thread's indication to terminate. (start_watching): Create the event to be used to indicate to the worker thread that its should terminate. (remove_watch): Indicate to the worker thread that it should terminate. * src/w32term.c (queue_notifications): Loop over all the notifications in the linked list, processing all of them in one go. * src/w32inevt.c (handle_file_notifications): Loop over all the notifications in the linked list. * src/w32xfns.c (init_crit): Initialize the linked list of file notifications. (delete_crit): Free the linked list of file notifications, including any unprocessed notifications left in it. * src/w32term.h (struct notifications_se): New struct. * test/lisp/filenotify-tests.el (file-notify-test02-events) (file-notify-test05-dir-validity): Add read-event calls to facilitate event recognition by the main thread in batch mode.
* make `vc-log-operation' buffer local to allow multiple simultaneous editingSam Steingold2016-03-171-1/+2
|
* Simplify some rococo Gnus code that loads or tests for other libraries.Glenn Morris2016-03-174-34/+10
| | | | | | | | | | * lisp/gnus/gnus-art.el (gnus-treat-ansi-sequences): Simplify default. * lisp/gnus/mml-smime.el (epg): Simply require it. (mml-smime-use): Simplify the default. Doc fix. * lisp/gnus/mml2015.el (epg-config): Require it. (mml2015-use): Simplify the default. * lisp/gnus/smime.el (password-cache): Simply require it. (password-read-and-add): Remove declaration.
* * test/lisp/dabbrev-tests.el: Merge fix: move here from test/automated.Glenn Morris2016-03-161-0/+0
|
* Sync with soap-client repository, version 3.1.1Thomas Fitzsimmons2016-03-161-56/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/soap-client.el (soap-encode-xs-complex-type): Fix error message. (soap-find-port): Delete trailing whitespace. (soap-find-operation): Fix documentation and rename parameter. (soap-find-port): Likewise. (soap-operation-arity): Likewise. * lisp/net/soap-client.el: Update copyright years. (soap-warning): Fix docstring quoting. (soap-decode-date-time): Likewise. (soap-validate-xs-simple-type): Remove tabs for indentation. * lisp/net/soap-inspect.el: Update copyright years. * lisp/net/soap-client.el (soap-encode-xs-basic-type): Do not assume xsd:base64Binary values are UTF-8 strings. (soap-decode-xs-basic-type): Likewise. (soap-invoke): Document xsd:base64Binary handling. * lisp/net/soap-client.el (soap-find-port, soap-find-operation) (soap-operation-arity): new defuns (soap-invoke-internal): use soap-find-port, soap-find-operation. Co-authored-by: Alex Harsanyi <AlexHarsanyi@gmail.com>
* Merge from gnulibPaul Eggert2016-03-151-7/+13
| | | | | | This incorporates: 2016-03-15 std-gnu11: improve clang support * m4/std-gnu11.m4: Copy from gnulib.
* Disable MOVE more for DovecotLars Magne Ingebrigtsen2016-03-141-2/+4
| | | | | | * lisp/gnus/nnimap.el (nnimap-process-expiry-targets): Also disable MOVE when expirying. (nnimap-split-incoming-mail): And when splitting mail.
* Don't use MOVE on DovecotLars Magne Ingebrigtsen2016-03-141-2/+4
| | | | | | * lisp/gnus/nnimap.el (nnimap-request-move-article): Don't use MOVE on Dovecot, since it's broken in many versions. (nnimap-quirks): Mark MOVE on Dovecot as non-working.
* Improve diff hunk headers when maintaining EmacsPaul Eggert2016-03-132-0/+51
| | | | | | | | * .gitattributes: Improve diff hunk header support for makefiles, shell scripts, Ada, C, C++, Objective C, HTML, SHTML, XML, Java, Perl, PHP, Python, Ruby, and TeX, all of which are used in Emacs somewhere (sometimes just in test cases). * autogen.sh: Add regexes for makefiles and shell scripts.
* Update handling of <bdo> per Unicode 9.0Eli Zaretskii2016-03-121-2/+2
| | | | | * lisp/net/shr.el (shr-tag-bdo): Wrap in FSI..PDI as well, per Unicode 9.0 changes in UAX#9, paragraph 2.7.
* Merge from origin/emacs-25John Wiegley2016-03-11257-1316/+1386
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | facb5e2 Update Emacs manual section related to character folding 4efea8e ; * etc/DEBUG: Fix a typo. (Bug#22984) f8df21b Update admin/notes/unicode 950be68 Add symref-filepattern entries for c?perl-mode 8b8a6ad Don't use XRANDR 1.3 extensions if the server doesn't support them. 985dacf ; NEWS update for the last change in etags 741a6f8 Sync with gnulib 7352c6c Rework C source files to avoid ^( a589e9a By default, etags produces unqualified Perl tag names 72c7438 Indent methods with keyword names correctly 28532a9 Propertize character literals and special global variables differently a7d6f39 ; Fix last change in NEWS 83b2a20 Change how /etc/NEWS presents character folding b417c5a Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default"" 711ca36 Properly handle lambda as read function (bug 22961) 1b9d616 Propertize operator symbol names with symbol syntax class 9b16bc2 Stop recognizing :#{} as symbol in ruby-mode 366ec77 Allow using the left shift operator without spaces on both sides 02bf7cc Properly handle unquoting in wdired (bug 22938) 16cf469 ; Spelling fix and tighten up comment f50bc04 Allow splat operator before percent literal 991c801 Don't apply the return value of goto-char as syntax class 6e63b3e Guard against nested percent literals 066f3bc Recognize iuwu-mod after an escaped newline 6f7a57c Fix symbolic mode string conversion for s and t 50b9826 Update 'ucs-names' database 993b2fb Improve doc string of 'shell-command' b71c717 Make the code in movemail_strftime more general cc057e4 Speed up redisplay of binary files with long series of nulls e51b27e Remove the highlighting support for quoting 'like this' inside Lisp docstrings b1abce1 Restore leading space in movemail pop output 98b8d44 Fix bidi-paragraph-direction in Rmail view buffer dc9d837 Don't misindent computed property generator methods 7923112 Fix mbox files produced by movemail on MS-Windows c45a1ca doc string file descriptor exhaustion fix 265141b Fix Bug#22814
| * Update Emacs manual section related to character foldingJohn Wiegley2016-03-111-11/+10
| | | | | | | | * search.texi: Character folding is not on by default.
| * ; * etc/DEBUG: Fix a typo. (Bug#22984)Eli Zaretskii2016-03-111-1/+1
| |
| * Update admin/notes/unicodeEli Zaretskii2016-03-111-0/+7
| | | | | | | | | | | | * admin/notes/unicode: Update the list of files from the UCD we are using. Mention the possible need to change 'ucs-names' when importing a new version of the Unicode Standard.
| * Add symref-filepattern entries for c?perl-modeDmitry Gutov2016-03-111-0/+2
| | | | | | | | | | | | * lisp/cedet/semantic/symref/grep.el (semantic-symref-filepattern-alist): Add entries for perl-mode and cperl-mode.
| * Don't use XRANDR 1.3 extensions if the server doesn't support them.Ken Raeburn2016-03-103-15/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/xterm.h (struct x_display_info): Add fields to save XRANDR version number. * src/xfns.c (x_get_monitor_attributes): Save the version numbers after querying the X server. (x_get_monitor_attributes_xrandr): Don't use XRRGetOutputPrimary or XRRGetScreenResourcesCurrent if the server doesn't support at least RANDR version 1.3. Conditionalize the code blocks on compiling against library version 1.3 or better, rather than feature tests for each function. * configure.ac: Stop testing for those two functions.
| * ; NEWS update for the last change in etagsEli Zaretskii2016-03-101-3/+3
| |
| * Sync with gnulibPaul Eggert2016-03-104-379/+289
| | | | | | | | | | | | | | | | | | | | This incorporates: 2016-03-08 intprops: make .h file license match module 2016-03-08 acl: fix missing return on Cygwin 2016-03-05 extern-inline: port to PGI CC * doc/misc/texinfo.tex, lib/intprops.h, lib/set-permissions.c: * m4/extern-inline.m4: Copy from gnulib.
| * Rework C source files to avoid ^(Paul Eggert2016-03-10229-627/+618
| | | | | | | | | | | | | | | | Work around Bug#22884 by rewording comments and strings to avoid ‘(’ at the start of a line unless it starts a function. This change is a short-term hack; in the longer run we plan to fix cc-mode’s performance for C files that have ‘(’ at the start of a line in a comment or string.
| * By default, etags produces unqualified Perl tag namesEli Zaretskii2016-03-108-150/+165
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib-src/etags.c (Perl_functions): Produce unqualified names, unless -Q was specified. (print_help): Update the description of -Q. * doc/man/etags.1: Update the documentation of -Q. * test/etags/ETAGS.good_1: * test/etags/ETAGS.good_2: * test/etags/ETAGS.good_3: * test/etags/ETAGS.good_4: * test/etags/ETAGS.good_5: * test/etags/CTAGS.good: Adapt the expected test results to the changed Perl functionality.
| * Indent methods with keyword names correctlyDmitry Gutov2016-03-102-5/+12
| | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--at-dot-call): Rename to ruby-smie--before-method-name. Now also check if we're after a 'def' keyword. Update both callers.
| * Propertize character literals and special global variables differentlyDmitry Gutov2016-03-102-3/+8
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Propertize character literals and global variables with special names with prefix and symbol syntax classes, for SMIE to tokenize them together automatically. (ruby-font-lock-keywords): Fix an old regression in highlighting character literals.
| * ; Fix last change in NEWSEli Zaretskii2016-03-101-16/+17
| |
| * Change how /etc/NEWS presents character foldingJohn Wiegley2016-03-091-16/+15
| | | | | | | | * NEWS: Note that character folding is no longer the default.
| * Revert "Revert "Backport: * lisp/isearch.el: Turn char-folding off by default""John Wiegley2016-03-091-1/+1
| | | | | | | | This reverts commit a91b4b51ddf2575d821adb8b84fdf32cff83886e.
| * Properly handle lambda as read function (bug 22961)Andreas Schwab2016-03-091-2/+2
| | | | | | | | | | | | * src/lread.c (readchar): Be more strict about checking for string in cons for read_vector. (unreadchar): Likewise.
| * Propertize operator symbol names with symbol syntax classDmitry Gutov2016-03-092-22/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Do it here. (ruby-font-lock-keywords): Instead of handling them here. Leave highlighting them to the "normal" matcher, because now we can. (ruby-smie--forward-token, ruby-smie--backward-token): Likewise, don't special-case operator symbols anymore. (ruby-smie--args-separator-p): Simplify the regexp, match operator names with \s_. (ruby-smie--implicit-semi-p): Handle the special cases of ? and = at EOL the same way: check if the character has been assigned the symbol syntax class by syntax-propertize.
| * Stop recognizing :#{} as symbol in ruby-modeDmitry Gutov2016-03-091-2/+2
| | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove the weird part that recognized colon followed by interpolation construct without quotes (e.g. ':#{abc}') as symbol, which is just a syntax error in any modern version of Ruby. Fix nearby bug reference.
| * Allow using the left shift operator without spaces on both sidesDmitry Gutov2016-03-092-10/+25
| | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-singleton-class-p): Rename to ruby-verify-heredoc, reverse the meaning of the return value, and short-circuit if preceded by a symbol not separated by whitespace. * test/automated/ruby-mode-tests.el (ruby-no-heredoc-left-shift) (ruby-no-heredoc-class-self): New tests.
| * Properly handle unquoting in wdired (bug 22938)Andreas Schwab2016-03-081-10/+12
| | | | | | | | | | | | | | | | | | The recorded old names are not quoted, don't unquote them. * lisp/wdired.el (wdired-normalize-filename): Add argument unquotep, only unquote if non-nil. (wdired-get-filename): Don't unquote the old file name. (wdired-get-previous-link): Always unquote.
| * ; Spelling fix and tighten up commentPaul Eggert2016-03-081-2/+2
| |
| * Allow splat operator before percent literalDmitry Gutov2016-03-071-1/+1
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Allow splat operator before percent literal.
| * Don't apply the return value of goto-char as syntax classDmitry Gutov2016-03-071-1/+2
| | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize): Don't apply the return value of goto-char as syntax class.
| * Guard against nested percent literalsDmitry Gutov2016-03-072-30/+39
| | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-percent-literal): Don't check the syntax status. (ruby-syntax-propertize): Check it here. And also guard against being in a larger percent literal. * test/automated/ruby-mode-tests.el (ruby-no-nested-percent-literals): New test.
| * Recognize iuwu-mod after an escaped newlineDmitry Gutov2016-03-072-2/+10
| | | | | | | | | | | | | | * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the newline is escaped. (ruby-smie-rules): Indent iuwu-mod after an escaped newline correctly.
| * Fix symbolic mode string conversion for s and tAndreas Schwab2016-03-071-3/+3
| | | | | | | | | | | | * lisp/files.el (file-modes-char-to-right): Fix values for ?s and ?t. (file-modes-symbolic-to-number): Default to a for ts permissions.