gawk-diffs
[Top][All Lists]
Advanced

[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-2571-gd6433e0
Date: Fri, 2 Jun 2017 03:23:00 -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  d6433e032cad3a53acd79a804e6fba5eaa8ee875 (commit)
      from  c5788a173624edc1d3e7396d71c868e30a37e809 (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=d6433e032cad3a53acd79a804e6fba5eaa8ee875

commit d6433e032cad3a53acd79a804e6fba5eaa8ee875
Author: Arnold D. Robbins <address@hidden>
Date:   Fri Jun 2 10:22:37 2017 +0300

    Further namespace doc.

diff --git a/doc/ChangeLog b/doc/ChangeLog
index 9dc07ed..d9ea892 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-02         Arnold D. Robbins     <address@hidden>
+
+       * gawktexi.in (Namespaces): Fixes in passwd.awk example. Document
+       that indirect calls with an unadorned name assume "awk" namespace.
+
 2017-05-30         Arnold D. Robbins     <address@hidden>
 
        * gawktexi.in: Initial doc on namespaces. Serves as a design
diff --git a/doc/gawk.info b/doc/gawk.info
index 537cae6..7c5fb6e 100644
--- a/doc/gawk.info
+++ b/doc/gawk.info
@@ -19888,11 +19888,11 @@ File: gawk.info,  Node: Namespace Example,  Next: 
Namespace Misc,  Prev: Changin
          FS = ":"
          RS = "\n"
 
-         pwcat = _pw_awklib "pwcat"
+         pwcat = Awklib "pwcat"
          while ((pwcat | getline) > 0) {
              Byname[$1] = $0
              Byuid[$3] = $0
-             Bycount[++_pw_total] = $0
+             Bycount[++Total] = $0
          }
          close(pwcat)
          Count = 0
@@ -19998,6 +19998,9 @@ How does this affect indirect calls?
      to another function in another namespace for that function to call
      through it.
 
+     For backwards compatibility, if 'x' contains an unadorned
+     identifier, 'gawk' forces it to be in the 'awk' namespace.
+
 How does this affect '@include'?
      Basically '@include' should push and pop the namespace.  Each
      '@include' saves the current namespace and starts over with
@@ -36378,230 +36381,230 @@ Node: Qualified Names806646
 Node: Default Namespace807327
 Node: Changing The Namespace808105
 Node: Namespace Example809194
-Node: Namespace Misc811265
-Node: Advanced Features813179
-Node: Nondecimal Data815164
-Node: Array Sorting816755
-Node: Controlling Array Traversal817455
-Ref: Controlling Array Traversal-Footnote-1825822
-Node: Array Sorting Functions825940
-Ref: Array Sorting Functions-Footnote-1831031
-Node: Two-way I/O831227
-Ref: Two-way I/O-Footnote-1837778
-Ref: Two-way I/O-Footnote-2837965
-Node: TCP/IP Networking838047
-Node: Profiling841165
-Ref: Profiling-Footnote-1849837
-Node: Advanced Features Summary850160
-Node: Internationalization852004
-Node: I18N and L10N853484
-Node: Explaining gettext854171
-Ref: Explaining gettext-Footnote-1860063
-Ref: Explaining gettext-Footnote-2860248
-Node: Programmer i18n860413
-Ref: Programmer i18n-Footnote-1865362
-Node: Translator i18n865411
-Node: String Extraction866205
-Ref: String Extraction-Footnote-1867337
-Node: Printf Ordering867423
-Ref: Printf Ordering-Footnote-1870209
-Node: I18N Portability870273
-Ref: I18N Portability-Footnote-1872729
-Node: I18N Example872792
-Ref: I18N Example-Footnote-1875598
-Node: Gawk I18N875671
-Node: I18N Summary876316
-Node: Debugger877657
-Node: Debugging878679
-Node: Debugging Concepts879120
-Node: Debugging Terms880929
-Node: Awk Debugging883504
-Node: Sample Debugging Session884410
-Node: Debugger Invocation884944
-Node: Finding The Bug886330
-Node: List of Debugger Commands892808
-Node: Breakpoint Control894141
-Node: Debugger Execution Control897835
-Node: Viewing And Changing Data901197
-Node: Execution Stack904571
-Node: Debugger Info906208
-Node: Miscellaneous Debugger Commands910279
-Node: Readline Support915367
-Node: Limitations916263
-Node: Debugging Summary918372
-Node: Arbitrary Precision Arithmetic919651
-Node: Computer Arithmetic921136
-Ref: table-numeric-ranges924727
-Ref: Computer Arithmetic-Footnote-1925449
-Node: Math Definitions925506
-Ref: table-ieee-formats928820
-Ref: Math Definitions-Footnote-1929423
-Node: MPFR features929528
-Node: FP Math Caution931245
-Ref: FP Math Caution-Footnote-1932317
-Node: Inexactness of computations932686
-Node: Inexact representation933646
-Node: Comparing FP Values935006
-Node: Errors accumulate936088
-Node: Getting Accuracy937521
-Node: Try To Round940231
-Node: Setting precision941130
-Ref: table-predefined-precision-strings941827
-Node: Setting the rounding mode943657
-Ref: table-gawk-rounding-modes944031
-Ref: Setting the rounding mode-Footnote-1947439
-Node: Arbitrary Precision Integers947618
-Ref: Arbitrary Precision Integers-Footnote-1952523
-Node: Checking for MPFR952672
-Node: POSIX Floating Point Problems953969
-Ref: POSIX Floating Point Problems-Footnote-1957840
-Node: Floating point summary957878
-Node: Dynamic Extensions960068
-Node: Extension Intro961621
-Node: Plugin License962887
-Node: Extension Mechanism Outline963684
-Ref: figure-load-extension964123
-Ref: figure-register-new-function965688
-Ref: figure-call-new-function966780
-Node: Extension API Description968842
-Node: Extension API Functions Introduction970484
-Node: General Data Types975818
-Ref: General Data Types-Footnote-1983023
-Node: Memory Allocation Functions983322
-Ref: Memory Allocation Functions-Footnote-1986167
-Node: Constructor Functions986266
-Node: Registration Functions989265
-Node: Extension Functions989950
-Node: Exit Callback Functions995163
-Node: Extension Version String996413
-Node: Input Parsers997076
-Node: Output Wrappers1009783
-Node: Two-way processors1014295
-Node: Printing Messages1016560
-Ref: Printing Messages-Footnote-11017731
-Node: Updating ERRNO1017884
-Node: Requesting Values1018623
-Ref: table-value-types-returned1019360
-Node: Accessing Parameters1020296
-Node: Symbol Table Access1021531
-Node: Symbol table by name1022043
-Node: Symbol table by cookie1023832
-Ref: Symbol table by cookie-Footnote-11028017
-Node: Cached values1028081
-Ref: Cached values-Footnote-11031617
-Node: Array Manipulation1031708
-Ref: Array Manipulation-Footnote-11032799
-Node: Array Data Types1032836
-Ref: Array Data Types-Footnote-11035494
-Node: Array Functions1035586
-Node: Flattening Arrays1039985
-Node: Creating Arrays1046926
-Node: Redirection API1051695
-Node: Extension API Variables1054537
-Node: Extension Versioning1055170
-Ref: gawk-api-version1055607
-Node: Extension API Informational Variables1057335
-Node: Extension API Boilerplate1058399
-Node: Changes from API V11062261
-Node: Finding Extensions1062921
-Node: Extension Example1063480
-Node: Internal File Description1064278
-Node: Internal File Ops1068358
-Ref: Internal File Ops-Footnote-11079758
-Node: Using Internal File Ops1079898
-Ref: Using Internal File Ops-Footnote-11082281
-Node: Extension Samples1082555
-Node: Extension Sample File Functions1084084
-Node: Extension Sample Fnmatch1091733
-Node: Extension Sample Fork1093220
-Node: Extension Sample Inplace1094438
-Node: Extension Sample Ord1097648
-Node: Extension Sample Readdir1098484
-Ref: table-readdir-file-types1099373
-Node: Extension Sample Revout1100178
-Node: Extension Sample Rev2way1100767
-Node: Extension Sample Read write array1101507
-Node: Extension Sample Readfile1103449
-Node: Extension Sample Time1104544
-Node: Extension Sample API Tests1105892
-Node: gawkextlib1106384
-Node: Extension summary1108831
-Node: Extension Exercises1112533
-Node: Language History1114031
-Node: V7/SVR3.11115687
-Node: SVR41117839
-Node: POSIX1119273
-Node: BTL1120652
-Node: POSIX/GNU1121381
-Node: Feature History1127273
-Node: Common Extensions1141697
-Node: Ranges and Locales1142980
-Ref: Ranges and Locales-Footnote-11147596
-Ref: Ranges and Locales-Footnote-21147623
-Ref: Ranges and Locales-Footnote-31147858
-Node: Contributors1148079
-Node: History summary1153639
-Node: Installation1155019
-Node: Gawk Distribution1155963
-Node: Getting1156447
-Node: Extracting1157408
-Node: Distribution contents1159046
-Node: Unix Installation1165388
-Node: Quick Installation1166070
-Node: Shell Startup Files1168484
-Node: Additional Configuration Options1169573
-Node: Configuration Philosophy1171562
-Node: Non-Unix Installation1173931
-Node: PC Installation1174391
-Node: PC Binary Installation1175229
-Node: PC Compiling1175664
-Node: PC Using1176781
-Node: Cygwin1179826
-Node: MSYS1180596
-Node: VMS Installation1181097
-Node: VMS Compilation1181888
-Ref: VMS Compilation-Footnote-11183117
-Node: VMS Dynamic Extensions1183175
-Node: VMS Installation Details1184860
-Node: VMS Running1187113
-Node: VMS GNV1191392
-Node: VMS Old Gawk1192127
-Node: Bugs1192598
-Node: Bug address1193261
-Node: Usenet1195658
-Node: Maintainers1196435
-Node: Other Versions1197811
-Node: Installation summary1204395
-Node: Notes1205430
-Node: Compatibility Mode1206295
-Node: Additions1207077
-Node: Accessing The Source1208002
-Node: Adding Code1209437
-Node: New Ports1215655
-Node: Derived Files1220143
-Ref: Derived Files-Footnote-11225628
-Ref: Derived Files-Footnote-21225663
-Ref: Derived Files-Footnote-31226261
-Node: Future Extensions1226375
-Node: Implementation Limitations1227033
-Node: Extension Design1228216
-Node: Old Extension Problems1229370
-Ref: Old Extension Problems-Footnote-11230888
-Node: Extension New Mechanism Goals1230945
-Ref: Extension New Mechanism Goals-Footnote-11234309
-Node: Extension Other Design Decisions1234498
-Node: Extension Future Growth1236611
-Node: Old Extension Mechanism1237447
-Node: Notes summary1239210
-Node: Basic Concepts1240392
-Node: Basic High Level1241073
-Ref: figure-general-flow1241355
-Ref: figure-process-flow1242040
-Ref: Basic High Level-Footnote-11245341
-Node: Basic Data Typing1245526
-Node: Glossary1248854
-Node: Copying1280801
-Node: GNU Free Documentation License1318340
-Node: Index1343458
+Node: Namespace Misc811257
+Node: Advanced Features813299
+Node: Nondecimal Data815284
+Node: Array Sorting816875
+Node: Controlling Array Traversal817575
+Ref: Controlling Array Traversal-Footnote-1825942
+Node: Array Sorting Functions826060
+Ref: Array Sorting Functions-Footnote-1831151
+Node: Two-way I/O831347
+Ref: Two-way I/O-Footnote-1837898
+Ref: Two-way I/O-Footnote-2838085
+Node: TCP/IP Networking838167
+Node: Profiling841285
+Ref: Profiling-Footnote-1849957
+Node: Advanced Features Summary850280
+Node: Internationalization852124
+Node: I18N and L10N853604
+Node: Explaining gettext854291
+Ref: Explaining gettext-Footnote-1860183
+Ref: Explaining gettext-Footnote-2860368
+Node: Programmer i18n860533
+Ref: Programmer i18n-Footnote-1865482
+Node: Translator i18n865531
+Node: String Extraction866325
+Ref: String Extraction-Footnote-1867457
+Node: Printf Ordering867543
+Ref: Printf Ordering-Footnote-1870329
+Node: I18N Portability870393
+Ref: I18N Portability-Footnote-1872849
+Node: I18N Example872912
+Ref: I18N Example-Footnote-1875718
+Node: Gawk I18N875791
+Node: I18N Summary876436
+Node: Debugger877777
+Node: Debugging878799
+Node: Debugging Concepts879240
+Node: Debugging Terms881049
+Node: Awk Debugging883624
+Node: Sample Debugging Session884530
+Node: Debugger Invocation885064
+Node: Finding The Bug886450
+Node: List of Debugger Commands892928
+Node: Breakpoint Control894261
+Node: Debugger Execution Control897955
+Node: Viewing And Changing Data901317
+Node: Execution Stack904691
+Node: Debugger Info906328
+Node: Miscellaneous Debugger Commands910399
+Node: Readline Support915487
+Node: Limitations916383
+Node: Debugging Summary918492
+Node: Arbitrary Precision Arithmetic919771
+Node: Computer Arithmetic921256
+Ref: table-numeric-ranges924847
+Ref: Computer Arithmetic-Footnote-1925569
+Node: Math Definitions925626
+Ref: table-ieee-formats928940
+Ref: Math Definitions-Footnote-1929543
+Node: MPFR features929648
+Node: FP Math Caution931365
+Ref: FP Math Caution-Footnote-1932437
+Node: Inexactness of computations932806
+Node: Inexact representation933766
+Node: Comparing FP Values935126
+Node: Errors accumulate936208
+Node: Getting Accuracy937641
+Node: Try To Round940351
+Node: Setting precision941250
+Ref: table-predefined-precision-strings941947
+Node: Setting the rounding mode943777
+Ref: table-gawk-rounding-modes944151
+Ref: Setting the rounding mode-Footnote-1947559
+Node: Arbitrary Precision Integers947738
+Ref: Arbitrary Precision Integers-Footnote-1952643
+Node: Checking for MPFR952792
+Node: POSIX Floating Point Problems954089
+Ref: POSIX Floating Point Problems-Footnote-1957960
+Node: Floating point summary957998
+Node: Dynamic Extensions960188
+Node: Extension Intro961741
+Node: Plugin License963007
+Node: Extension Mechanism Outline963804
+Ref: figure-load-extension964243
+Ref: figure-register-new-function965808
+Ref: figure-call-new-function966900
+Node: Extension API Description968962
+Node: Extension API Functions Introduction970604
+Node: General Data Types975938
+Ref: General Data Types-Footnote-1983143
+Node: Memory Allocation Functions983442
+Ref: Memory Allocation Functions-Footnote-1986287
+Node: Constructor Functions986386
+Node: Registration Functions989385
+Node: Extension Functions990070
+Node: Exit Callback Functions995283
+Node: Extension Version String996533
+Node: Input Parsers997196
+Node: Output Wrappers1009903
+Node: Two-way processors1014415
+Node: Printing Messages1016680
+Ref: Printing Messages-Footnote-11017851
+Node: Updating ERRNO1018004
+Node: Requesting Values1018743
+Ref: table-value-types-returned1019480
+Node: Accessing Parameters1020416
+Node: Symbol Table Access1021651
+Node: Symbol table by name1022163
+Node: Symbol table by cookie1023952
+Ref: Symbol table by cookie-Footnote-11028137
+Node: Cached values1028201
+Ref: Cached values-Footnote-11031737
+Node: Array Manipulation1031828
+Ref: Array Manipulation-Footnote-11032919
+Node: Array Data Types1032956
+Ref: Array Data Types-Footnote-11035614
+Node: Array Functions1035706
+Node: Flattening Arrays1040105
+Node: Creating Arrays1047046
+Node: Redirection API1051815
+Node: Extension API Variables1054657
+Node: Extension Versioning1055290
+Ref: gawk-api-version1055727
+Node: Extension API Informational Variables1057455
+Node: Extension API Boilerplate1058519
+Node: Changes from API V11062381
+Node: Finding Extensions1063041
+Node: Extension Example1063600
+Node: Internal File Description1064398
+Node: Internal File Ops1068478
+Ref: Internal File Ops-Footnote-11079878
+Node: Using Internal File Ops1080018
+Ref: Using Internal File Ops-Footnote-11082401
+Node: Extension Samples1082675
+Node: Extension Sample File Functions1084204
+Node: Extension Sample Fnmatch1091853
+Node: Extension Sample Fork1093340
+Node: Extension Sample Inplace1094558
+Node: Extension Sample Ord1097768
+Node: Extension Sample Readdir1098604
+Ref: table-readdir-file-types1099493
+Node: Extension Sample Revout1100298
+Node: Extension Sample Rev2way1100887
+Node: Extension Sample Read write array1101627
+Node: Extension Sample Readfile1103569
+Node: Extension Sample Time1104664
+Node: Extension Sample API Tests1106012
+Node: gawkextlib1106504
+Node: Extension summary1108951
+Node: Extension Exercises1112653
+Node: Language History1114151
+Node: V7/SVR3.11115807
+Node: SVR41117959
+Node: POSIX1119393
+Node: BTL1120772
+Node: POSIX/GNU1121501
+Node: Feature History1127393
+Node: Common Extensions1141817
+Node: Ranges and Locales1143100
+Ref: Ranges and Locales-Footnote-11147716
+Ref: Ranges and Locales-Footnote-21147743
+Ref: Ranges and Locales-Footnote-31147978
+Node: Contributors1148199
+Node: History summary1153759
+Node: Installation1155139
+Node: Gawk Distribution1156083
+Node: Getting1156567
+Node: Extracting1157528
+Node: Distribution contents1159166
+Node: Unix Installation1165508
+Node: Quick Installation1166190
+Node: Shell Startup Files1168604
+Node: Additional Configuration Options1169693
+Node: Configuration Philosophy1171682
+Node: Non-Unix Installation1174051
+Node: PC Installation1174511
+Node: PC Binary Installation1175349
+Node: PC Compiling1175784
+Node: PC Using1176901
+Node: Cygwin1179946
+Node: MSYS1180716
+Node: VMS Installation1181217
+Node: VMS Compilation1182008
+Ref: VMS Compilation-Footnote-11183237
+Node: VMS Dynamic Extensions1183295
+Node: VMS Installation Details1184980
+Node: VMS Running1187233
+Node: VMS GNV1191512
+Node: VMS Old Gawk1192247
+Node: Bugs1192718
+Node: Bug address1193381
+Node: Usenet1195778
+Node: Maintainers1196555
+Node: Other Versions1197931
+Node: Installation summary1204515
+Node: Notes1205550
+Node: Compatibility Mode1206415
+Node: Additions1207197
+Node: Accessing The Source1208122
+Node: Adding Code1209557
+Node: New Ports1215775
+Node: Derived Files1220263
+Ref: Derived Files-Footnote-11225748
+Ref: Derived Files-Footnote-21225783
+Ref: Derived Files-Footnote-31226381
+Node: Future Extensions1226495
+Node: Implementation Limitations1227153
+Node: Extension Design1228336
+Node: Old Extension Problems1229490
+Ref: Old Extension Problems-Footnote-11231008
+Node: Extension New Mechanism Goals1231065
+Ref: Extension New Mechanism Goals-Footnote-11234429
+Node: Extension Other Design Decisions1234618
+Node: Extension Future Growth1236731
+Node: Old Extension Mechanism1237567
+Node: Notes summary1239330
+Node: Basic Concepts1240512
+Node: Basic High Level1241193
+Ref: figure-general-flow1241475
+Ref: figure-process-flow1242160
+Ref: Basic High Level-Footnote-11245461
+Node: Basic Data Typing1245646
+Node: Glossary1248974
+Node: Copying1280921
+Node: GNU Free Documentation License1318460
+Node: Index1343578
 
 End Tag Table
diff --git a/doc/gawk.texi b/doc/gawk.texi
index 17bf2b6..6c75912 100644
--- a/doc/gawk.texi
+++ b/doc/gawk.texi
@@ -27748,11 +27748,11 @@ function Init(    oldfs, oldrs, olddol0, pwcat, 
using_fw, using_fpat)
     FS = ":"
     RS = "\n"
 
-    pwcat = _pw_awklib "pwcat"
+    pwcat = Awklib "pwcat"
     while ((pwcat | getline) > 0) @{
         Byname[$1] = $0
         Byuid[$3] = $0
-        Bycount[++_pw_total] = $0
+        Bycount[++Total] = $0
     @}
     close(pwcat)
     Count = 0
@@ -27861,6 +27861,10 @@ This is particularly true if @code{x} is passed as a 
``function pointer''
 to another function in another namespace for that function to call
 through it.
 
+For backwards compatibility, if @code{x} contains an unadorned
+identifier, @command{gawk} forces it to be in the @samp{awk}
+namespace.
+
 @item How does this affect @code{@@include}?
 Basically @code{@@include} should push and pop the namespace. Each 
@code{@@include}
 saves the current namespace and starts over with namespace @samp{awk} until
diff --git a/doc/gawktexi.in b/doc/gawktexi.in
index ef88264..eba5028 100644
--- a/doc/gawktexi.in
+++ b/doc/gawktexi.in
@@ -26762,11 +26762,11 @@ function Init(    oldfs, oldrs, olddol0, pwcat, 
using_fw, using_fpat)
     FS = ":"
     RS = "\n"
 
-    pwcat = _pw_awklib "pwcat"
+    pwcat = Awklib "pwcat"
     while ((pwcat | getline) > 0) @{
         Byname[$1] = $0
         Byuid[$3] = $0
-        Bycount[++_pw_total] = $0
+        Bycount[++Total] = $0
     @}
     close(pwcat)
     Count = 0
@@ -26875,6 +26875,10 @@ This is particularly true if @code{x} is passed as a 
``function pointer''
 to another function in another namespace for that function to call
 through it.
 
+For backwards compatibility, if @code{x} contains an unadorned
+identifier, @command{gawk} forces it to be in the @samp{awk}
+namespace.
+
 @item How does this affect @code{@@include}?
 Basically @code{@@include} should push and pop the namespace. Each 
@code{@@include}
 saves the current namespace and starts over with namespace @samp{awk} until

-----------------------------------------------------------------------

Summary of changes:
 doc/ChangeLog   |   5 +
 doc/gawk.info   | 457 ++++++++++++++++++++++++++++----------------------------
 doc/gawk.texi   |   8 +-
 doc/gawktexi.in |   8 +-
 4 files changed, 247 insertions(+), 231 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]