1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 02:10:52 -08:00
emacs/lisp/net
Paul Eggert b06917a491 decode-time now returns subsec too
The list that decode-time returns now contains an extra
trailing component that counts the subseconds part of the
original timestamp (Bug#36549).
This builds on a suggestion by Lars Ingebrigtsen in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00734.html
* doc/lispref/os.texi (Time Conversion):
* doc/misc/emacs-mime.texi (time-date):
* etc/NEWS: Document this.
* lisp/calendar/icalendar.el (icalendar--decode-isodatetime):
* lisp/calendar/iso8601.el (iso8601-parse)
(iso8601-parse-time, iso8601-parse-duration)
(iso8601--decoded-time):
* lisp/calendar/parse-time.el (parse-time-string):
* lisp/calendar/time-date.el (make-decoded-time)
(decoded-time-set-defaults):
* lisp/org/org.el (org-fix-decoded-time)
(org-parse-time-string):
* src/timefns.c (Fdecode_time):
Generate subsec member for decoded time.
* lisp/calendar/time-date.el (decoded-time-add)
Add the decoded subsec too.
* lisp/simple.el (decoded-time): New subsec member.
* src/data.c (Frem): Simplify zero-check to match that of new Fmod.
(integer_mod): New function, with most of the guts of the old Fmod.
Remove redundant zero-check.
(Fmod): Use it.
* src/timefns.c (Fencode_time): Handle new subsec member
or (with the obsolescent calling convention) subsec arg.
It defaults to 0.
* test/lisp/calendar/icalendar-tests.el:
(icalendar--decode-isodatetime):
* test/lisp/calendar/iso8601-tests.el (test-iso8601-date-years)
(test-iso8601-date-dates, test-iso8601-date-obsolete)
(test-iso8601-date-weeks, test-iso8601-date-ordinals)
(test-iso8601-time, test-iso8601-combined)
(test-iso8601-duration, test-iso8601-intervals)
(standard-test-dates, standard-test-time-of-day-fractions)
(standard-test-time-of-day-beginning-of-day)
(standard-test-time-of-day-utc)
(standard-test-time-of-day-zone)
(standard-test-date-and-time-of-day, standard-test-interval):
* test/lisp/calendar/parse-time-tests.el (parse-time-tests):
* test/src/timefns-tests.el (format-time-string-with-zone)
(encode-time-dst-numeric-zone):
Adjust to match new behavior.
2019-08-05 18:37:29 -07:00
..
ange-ftp.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
browse-url.el browse-url doc string fixup 2019-08-02 21:45:19 +02:00
dbus.el
dig.el Remove XEmacs support from dig.el 2019-06-12 23:26:56 +02:00
dns.el Remove XEmacs support from dns.el 2019-06-12 23:26:56 +02:00
eudc-bob.el
eudc-export.el
eudc-hotlist.el
eudc-vars.el
eudc.el
eudcb-bbdb.el
eudcb-ldap.el
eudcb-mab.el
eww.el Rename the new `browse-url-external-browser' variable 2019-07-29 00:07:34 +02:00
gnutls.el
goto-addr.el * lisp/net/goto-addr.el: Remove leftover XEmacs compat code. (Bug#36512) 2019-07-06 11:59:41 +03:00
hmac-def.el
hmac-md5.el
imap.el
ldap.el Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo" 2019-06-26 10:24:59 -04:00
mailcap.el
mairix.el Simplify Gnus buffer liveness checking and killing 2019-05-30 02:56:28 +01:00
net-utils.el Update author/maintainer info 2019-05-26 01:00:16 -07:00
netrc.el
network-stream.el
newst-backend.el Fix time zone in previous rewrite of newsticker--decode-iso8601-date 2019-07-31 21:47:29 +02:00
newst-plainview.el Fix usage of remove-text-properties 2019-08-01 17:04:53 +03:00
newst-reader.el
newst-ticker.el
newst-treeview.el
newsticker.el
nsm.el Fix saving certificates in the NSM on high security levels 2019-07-15 20:31:42 +02:00
ntlm.el New function time-convert 2019-08-05 18:37:29 -07:00
pop3.el New function time-convert 2019-08-05 18:37:29 -07:00
puny.el
quickurl.el Remove Maintainer: when it duplicates Author: 2019-05-26 01:00:15 -07:00
rcirc.el Avoid error when killing rcirc buffer 2019-07-29 13:30:55 +02:00
rfc2104.el Fix compilation warnings in rfc2104 2019-06-13 01:53:58 +02:00
rlogin.el Remove Maintainer: when it duplicates Author: 2019-05-26 01:00:15 -07:00
sasl-cram.el Update author/maintainer info 2019-05-26 01:00:16 -07:00
sasl-digest.el
sasl-ntlm.el
sasl-scram-rfc.el
sasl.el Update author/maintainer info 2019-05-26 01:00:16 -07:00
secrets.el
shr-color.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
shr.el Mark shr buttons as button.el buffers 2019-07-30 15:23:22 +02:00
sieve-manage.el Merge from origin/emacs-26 2019-06-15 09:50:33 -07:00
sieve-mode.el
sieve.el Tidy up sieve.el text formatting 2019-07-09 01:47:52 +01:00
snmp-mode.el
soap-client.el decode-time now returns subsec too 2019-08-05 18:37:29 -07:00
soap-inspect.el
socks.el Update author/maintainer info 2019-05-26 01:00:16 -07:00
telnet.el Support opening a new connection when reverting a telnet buffer 2019-06-25 23:40:22 +02:00
tramp-adb.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-archive.el Fix recent change in Tramp 2019-06-29 12:18:59 +02:00
tramp-cache.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-cmds.el * lisp/net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): 2019-07-15 12:49:42 +02:00
tramp-compat.el Tramp requires Emacs 24.4 2019-06-28 16:32:12 +02:00
tramp-ftp.el Tramp requires Emacs 24.4 2019-06-28 16:32:12 +02:00
tramp-gvfs.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-integration.el Fix recent change in Tramp 2019-06-29 12:18:59 +02:00
tramp-rclone.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-sh.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-smb.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-sudoedit.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
tramp-uu.el
tramp.el Improve Tramp's caching 2019-08-05 13:09:26 +02:00
trampver.el Change Tramp version to 2.4.3-pre 2019-07-12 15:04:55 +02:00
webjump.el
zeroconf.el