[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-2652-g1309a1f |
Date: |
Fri, 28 Jul 2017 03:38:23 -0400 (EDT) |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, feature/namespaces has been updated
via 1309a1f76cb18baac91d653174005c9b3cacb801 (commit)
via 12385433e64d8c2c497765d9834bf0e20e1a602d (commit)
via 167b3a79dbf9eaa5370efa11cc3d6535a1fe98ae (commit)
from 4a0fb4aa64dd9d07a072ef530bf0b50e2f5a5447 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=1309a1f76cb18baac91d653174005c9b3cacb801
commit 1309a1f76cb18baac91d653174005c9b3cacb801
Merge: 4a0fb4a 1238543
Author: Arnold D. Robbins <address@hidden>
Date: Fri Jul 28 10:38:14 2017 +0300
Merge branch 'master' into feature/namespaces
diff --cc awklib/eg/lib/inplace.awk
index 01ce64c,6771bc4..68dad92
--- a/awklib/eg/lib/inplace.awk
+++ b/awklib/eg/lib/inplace.awk
@@@ -1,4 -1,26 +1,30 @@@
# inplace --- load and invoke the inplace extension.
+ #
+ # Copyright (C) 2013, 2017 the Free Software Foundation, Inc.
+ #
+ # This file is part of GAWK, the GNU implementation of the
+ # AWK Programming Language.
+ #
+ # GAWK 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.
+ #
+ # GAWK 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 this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA
+ #
+ # Andrew J. Schorr, address@hidden
+ # January 2013
++#
++# Revised for namespaces
++# Arnold Robbins, address@hidden
++# July 2017
@load "inplace"
diff --cc doc/ChangeLog
index 65257a4,4cdf837..af0b737
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@@ -1,45 -1,14 +1,51 @@@
+ 2017-07-28 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Extension Sample Inplace): Apply GPL to
+ inplace.awk; should have done that when it was first
+ added. Oops.
+
+2017-07-26 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Namespaces): More edits.
+
2017-07-21 Arnold D. Robbins <address@hidden>
- * gawktexi.in: Fix a spelliing error.
+ * gawktexi.in: Fix a spelling error.
* wordlist: Update with more words.
+ Done also for namespace material.
+
+2017-07-20 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Extension Sample Inplace): Rework to use the
+ "inplace" namespace.
+
+ * gawktexi.in (Namespace And Features): Renamed from
+ `Namespace Misc' and reworked.
+ (Symbol table by name): Add note about namespace and
+ component name rules with xref to section in Namespaces chapter.
+
+2017-07-19 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Namespaces): Cleanup, new section on naming rules
+ added.
+
+2017-07-17 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Namespaces): Revised password suite example.
+ (Symbol table by name): Add entries for namespace versions
+ of lookup and update routines.
+
+2017-07-13 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Namespaces): More updates. Especially that
+ reserved words are not allowed in either half of a fully
+ qualified name or as a namespace.
+
+2017-07-05 Arnold D. Robbins <address@hidden>
+
+ * gawktexi.in (Namespaces): More updates.
+
2017-07-02 Arnold D. Robbins <address@hidden>
* texinfo.tex: Pull in latest from Texinfo SVN.
diff --cc doc/gawk.texi
index 141ca42,b75c2d0..6ea494c
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@@ -36569,6 -36143,34 +36569,38 @@@ all the variables and functions in the
@c file eg/lib/inplace.awk
@group
# inplace --- load and invoke the inplace extension.
+ @c endfile
+ @ignore
+ @c file eg/lib/inplace.awk
+ #
+ # Copyright (C) 2013, 2017 the Free Software Foundation, Inc.
+ #
+ # This file is part of GAWK, the GNU implementation of the
+ # AWK Programming Language.
+ #
+ # GAWK 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.
+ #
+ # GAWK 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 this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA
+ #
+ # Andrew J. Schorr, aschorr@@telemetry-investments.com
+ # January 2013
++#
++# Revised for namespaces
++# Arnold Robbins, arnold@@skeeve.com
++# July 2017
+ @c endfile
+ @end ignore
+ @c file eg/lib/inplace.awk
@@load "inplace"
@@@ -36581,27 -36183,31 +36613,33 @@@
# reenable it later on the commandline by putting inplace=1 before files
# that you wish to be subject to inplace editing.
-# N.B. We call inplace_end() in the BEGINFILE and END rules so that any
+# N.B. We call inplace::end() in the BEGINFILE and END rules so that any
# actions in an ENDFILE rule will be redirected as expected.
+
+@@namespace "inplace"
+ @end group
+ @group
BEGIN @{
- inplace = 1 # enabled by default
+ enable = 1 # enabled by default
@}
+ @end group
+ @group
BEGINFILE @{
- if (_inplace_filename != "")
- inplace_end(_inplace_filename, INPLACE_SUFFIX)
- if (inplace)
- inplace_begin(_inplace_filename = FILENAME, INPLACE_SUFFIX)
+ if (filename != "")
+ end(filename, suffix)
+ if (enable)
+ begin(filename = FILENAME, suffix)
else
- _inplace_filename = ""
+ filename = ""
@}
+ @end group
+ @group
END @{
- if (_inplace_filename != "")
- inplace_end(_inplace_filename, INPLACE_SUFFIX)
+ if (filename != "")
+ end(filename, suffix)
@}
@end group
@c endfile
diff --cc doc/gawktexi.in
index 2e514f9,d13ea96..46d29e8
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@@ -35583,6 -35157,34 +35583,38 @@@ all the variables and functions in the
@c file eg/lib/inplace.awk
@group
# inplace --- load and invoke the inplace extension.
+ @c endfile
+ @ignore
+ @c file eg/lib/inplace.awk
+ #
+ # Copyright (C) 2013, 2017 the Free Software Foundation, Inc.
+ #
+ # This file is part of GAWK, the GNU implementation of the
+ # AWK Programming Language.
+ #
+ # GAWK 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.
+ #
+ # GAWK 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 this program; if not, write to the Free Software
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA
+ #
+ # Andrew J. Schorr, aschorr@@telemetry-investments.com
+ # January 2013
++#
++# Revised for namespaces
++# Arnold Robbins, arnold@@skeeve.com
++# July 2017
+ @c endfile
+ @end ignore
+ @c file eg/lib/inplace.awk
@@load "inplace"
@@@ -35595,27 -35197,31 +35627,33 @@@
# reenable it later on the commandline by putting inplace=1 before files
# that you wish to be subject to inplace editing.
-# N.B. We call inplace_end() in the BEGINFILE and END rules so that any
+# N.B. We call inplace::end() in the BEGINFILE and END rules so that any
# actions in an ENDFILE rule will be redirected as expected.
+
+@@namespace "inplace"
+ @end group
+ @group
BEGIN @{
- inplace = 1 # enabled by default
+ enable = 1 # enabled by default
@}
+ @end group
+ @group
BEGINFILE @{
- if (_inplace_filename != "")
- inplace_end(_inplace_filename, INPLACE_SUFFIX)
- if (inplace)
- inplace_begin(_inplace_filename = FILENAME, INPLACE_SUFFIX)
+ if (filename != "")
+ end(filename, suffix)
+ if (enable)
+ begin(filename = FILENAME, suffix)
else
- _inplace_filename = ""
+ filename = ""
@}
+ @end group
+ @group
END @{
- if (_inplace_filename != "")
- inplace_end(_inplace_filename, INPLACE_SUFFIX)
+ if (filename != "")
+ end(filename, suffix)
@}
@end group
@c endfile
-----------------------------------------------------------------------
Summary of changes:
awklib/eg/lib/inplace.awk | 26 ++++++++++++++++++++++++++
doc/ChangeLog | 6 ++++++
doc/gawk.texi | 38 ++++++++++++++++++++++++++++++++++++++
doc/gawktexi.in | 38 ++++++++++++++++++++++++++++++++++++++
4 files changed, 108 insertions(+)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, feature/namespaces, updated. gawk-4.1.0-2652-g1309a1f,
Arnold Robbins <=