1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 05:51:21 -08:00
emacs/admin
Paul Eggert af32fa9562 New optional ZONE arg for format-time-string etc.
This simplifies time conversions in other time zones.
It also prevents display-time-world tampering with TZ (Bug#21020).
* admin/admin.el (add-release-logs):
Use improved add-log-time-format API.
* admin/merge-gnulib (GNULIB_MODULES): Add time_rz, timegm.
(GNULIB_TOOL_FLAGS): Avoid flexmember, setenv, unsetenv.
* configure.ac (tzalloc): Remove test for this, since
Emacs no longer uses HAVE_TZALLOC directly.
* doc/lispref/os.texi (Time of Day, Time Conversion)
(Time Parsing):
* etc/NEWS: Document the new behavior.
Merge from gnulib, incorporating:
2015-07-25 strftime: fix newly-introduced bug on Solaris
2015-07-23 fprintftime, strftime: use timezone_t args
* lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate.
* lib/strftime.c, lib/strftime.h, lib/time.in.h, m4/sys_time_h.m4:
* m4/time_h.m4:
Update from gnulib.
* lib/time_rz.c, lib/timegm.c, m4/time_rz.m4, m4/timegm.m4:
New files from gnulib.
* lisp/time-stamp.el (time-stamp-string):
* lisp/time.el (display-time-world-list)
(display-time-world-display):
Use new API, with time zone arg.
* lisp/time.el (display-time-world-display):
Fix race when current-time advances while we're running.
* lisp/vc/add-log.el (add-log-iso8601-time-zone)
(add-log-iso8601-time-string): Accept optional time zone arg.
* lisp/vc/add-log.el (add-change-log-entry):
* lisp/vc/log-edit.el (log-edit-changelog-ours-p): Use new arg.
* nt/gnulib.mk: Propagate lib/gnulib.mk changes here.
Add rules for the time module, since they're now needed
for tzalloc etc.
* src/conf_post.h (getenv_TZ, setenv_TZ): New macros.
(emacs_getenv_TZ, emacs_setenv_TZ): New decls.
* src/editfns.c: Include errno.h.
(set_time_zone_rule): Omit unnecessary forward decl.
(initial_tz): Remove, replacing with ...
(local_tz, wall_clock_tz, utc_tz): New static vars and constants.
(tzeqlen): New constant; prefer it to (sizeof "TZ=" - 1).
(emacs_localtime_rz, emacs_mktime_z, xtzalloc, xtzfree)
(tzlookup): New static functions.
(init_editfns): New arg DUMPING.  All uses changed.
(init_editfns): Omit most initialization if dumping, not if
!initialized.  Initialize wall_clock_tz and local_tz.
(emacs_nmemftime, format_time_string): Time zone argument can now
be any time zone, not just a boolean for UTC or local time.  All
callers changed.
(Fformat_time_string, Fencode_time, Fcurrent_time_string)
(Fcurrent_time_zone): New optional arg ZONE.
(Fdecode_time, Fset_time_zone_rule): ZONE arg can now also take
the same form as with the other new additions.
(decode_time_zone): Remove; no longer needed.
(tzvalbuf): Now file-scope.
(emacs_getenv_TZ, emacs_setenv_TZ): New functions.
(syms_of_editfns): Define Qwall.
* src/editfns.c (mktime_z) [!HAVE_TZALLOC]:
* src/systime.h (mktime_z, timezone_t, tzalloc, tzfree)
[!HAVE_TZALLOC]:
Remove; now supplied by gnulib.
* src/emacs.c (main):
* src/lisp.h (init_editfns): Adjust to init_editfns API change.
2015-07-26 12:44:54 -07:00
..
charsets No need for cp51932.el, eucjp-ms.el to not be compiled any more. 2015-06-15 23:02:58 -07:00
coccinelle * src/lisp.h (XSAVE_POINTER, XSAVE_INTEGER): Change to allow extraction 2013-01-15 13:22:25 +04:00
grammars Less 'make' chatter for admin/grammars 2015-01-03 18:54:34 -08:00
notes * admin/notes/unicode: New section "binary files". 2015-05-17 17:30:23 -07:00
nt Update copyright year to 2015 2015-01-01 14:26:41 -08:00
unidata Update data files from just-released Unicode 8.0 2015-06-18 11:14:13 +03:00
admin.el New optional ZONE arg for format-time-string etc. 2015-07-26 12:44:54 -07:00
alloc-colors.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
authors.el * admin/authors.el (authors-valid-file-names, authors-renamed-files-alist): Additions. 2015-04-17 13:27:44 -04:00
build-configs Update copyright year to 2015 2015-01-01 14:26:41 -08:00
bzrmerge.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ChangeLog.1 Rename ChangeLogs for gitlog-to-changelog 2015-04-07 00:00:06 -07:00
check-doc-strings Backport changes in preparation for git migration from trunk. 2014-10-31 11:03:23 +02:00
CPP-DEFINES Assume !BROKEN_NON_BLOCKING_CONNECT 2015-03-27 10:37:14 -07:00
cus-test.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
diff-tar-files Update copyright year to 2015 2015-01-01 14:26:41 -08:00
find-gc.el Update copyright year to 2015 2015-01-01 14:26:41 -08:00
FOR-RELEASE Refer to MS-DOS using the same name everywhere. 2014-08-07 10:55:09 +01:00
gitmerge.el Improve generated ChangeLog for gitmerge.el commits. (Bug#20717) 2015-06-10 21:13:51 -04:00
MAINTAINERS Merge from origin/emacs-24 2015-03-03 14:35:41 -08:00
make-emacs Update copyright year to 2015 2015-01-01 14:26:41 -08:00
make-tarball.txt ; * admin/make-tarball.txt: Misc updates. 2015-04-18 14:09:12 -07:00
merge-gnulib New optional ZONE arg for format-time-string etc. 2015-07-26 12:44:54 -07:00
merge-pkg-config Update copyright year to 2015 2015-01-01 14:26:41 -08:00
quick-install-emacs Update copyright year to 2015 2015-01-01 14:26:41 -08:00
README Update copyright year to 2015 2015-01-01 14:26:41 -08:00
update-copyright * update-copyright (emacsver): Change to emacsver.tex.in. 2015-01-01 14:25:30 -08:00
update_autogen * admin/update_autogen (changelog_files): Remove gitlog-to-emacslog. 2015-06-07 16:51:44 -07:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2015 Free Software Foundation, Inc.
See the end of the file for license conditions.


			 The admin directory

This directory contains scripts and other things useful for developing
and maintaining Emacs.  These files are not part of Emacs releases
because they are not deemed generally useful, and you have to know
what you do when using them.


* Instructions and scripts used to prepare an Emacs release.

** FOR-RELEASE

Living list of activities that must be completed before the next release.

** make-tarball.txt

Instructions to create pretest or release tarballs, announcements, etc.

** admin.el

Utilities for setting version numbers and alike.


* Scripts that can be used to build and test Emacs.

** build-configs

Build Emacs in various configurations.

** make-emacs

Build Emacs in various ways.

** quick-install-emacs

Install emacs quickly (`incrementally').

** alloc-colors.c

A utility program that allocates a given number of colors on X.  Can
be used to debug Emacs with dense colormaps (PseudoColor).

** check-doc-strings

Check doc strings against documentation.

** cus-test.el

Tests for custom types and load problems.

** diff-tar-files

Show files added/removed between two tar files.


Brief description of sub-directories:

charsets		scripts for generating charset map files
			in ../etc/charsets
unidata			scripts for generating character property files
			in ../lisp/international


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.

Local variables:
mode: outline
paragraph-separate: "[ 	]*$"
end: