[Gd-chatter] r11207 - in trunk/libraries: id3v2 id3v2/id3v2-test network/koala/sources/koala network/wiki registry/generic sniffer ui/gtk+/gobject-tool utilities/command-line-parser utilities/command-line-parser/tests utilities/getopt xml-parser/xml-test
hannes at gwydiondylan.org
hannes at gwydiondylan.org
Fri Feb 23 02:05:24 CET 2007
Author: hannes
Date: Fri Feb 23 02:05:17 2007
New Revision: 11207
Added:
trunk/libraries/registry/generic/command-line-parser
- copied, changed from r11205, trunk/libraries/registry/generic/getopt
trunk/libraries/registry/generic/command-line-parser-test-suite
- copied, changed from r11205, trunk/libraries/registry/generic/getopt-test-suite
trunk/libraries/registry/generic/command-line-parser-test-suite-app
- copied, changed from r11205, trunk/libraries/registry/generic/getopt-test-suite-app
trunk/libraries/utilities/command-line-parser/
trunk/libraries/utilities/command-line-parser/Makegen
- copied, changed from r11205, trunk/libraries/utilities/getopt/Makegen
trunk/libraries/utilities/command-line-parser/command-line-parser-exports.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/getopt-exports.dylan
trunk/libraries/utilities/command-line-parser/command-line-parser.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/getopt.dylan
trunk/libraries/utilities/command-line-parser/command-line-parser.lid
- copied, changed from r11205, trunk/libraries/utilities/getopt/getopt.lid
trunk/libraries/utilities/command-line-parser/defargparser.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/defargparser.dylan
trunk/libraries/utilities/command-line-parser/parsers.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/parsers.dylan
trunk/libraries/utilities/command-line-parser/tests/
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app-library.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app-library.dylan
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.dylan
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.lid
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.lid
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-library.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-library.dylan
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.dylan
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite.dylan
trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.lid
- copied, changed from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite.lid
Removed:
trunk/libraries/registry/generic/getopt
trunk/libraries/registry/generic/getopt-test-suite
trunk/libraries/registry/generic/getopt-test-suite-app
trunk/libraries/utilities/getopt/
Modified:
trunk/libraries/id3v2/id3v2-test/library.dylan
trunk/libraries/id3v2/library.dylan
trunk/libraries/network/koala/sources/koala/library-unix.dylan
trunk/libraries/network/koala/sources/koala/library.dylan
trunk/libraries/network/wiki/library.dylan
trunk/libraries/sniffer/library.dylan
trunk/libraries/ui/gtk+/gobject-tool/library.dylan
trunk/libraries/ui/gtk+/gobject-tool/module.dylan
trunk/libraries/xml-parser/xml-test/test-library.dylan
Log:
Bug: 7335
rename getopt to command-line-parser
Modified: trunk/libraries/id3v2/id3v2-test/library.dylan
==============================================================================
--- trunk/libraries/id3v2/id3v2-test/library.dylan (original)
+++ trunk/libraries/id3v2/id3v2-test/library.dylan Fri Feb 23 02:05:17 2007
@@ -5,7 +5,7 @@
define library id3v2-test
use common-dylan;
use io;
- use getopt;
+ use command-line-parser;
use flow;
use network-flow;
use system;
@@ -21,7 +21,7 @@
use file-system;
use flow;
use network-flow;
- use getopt;
+ use command-line-parser;
use interfaces;
use id3v2;
end;
Modified: trunk/libraries/id3v2/library.dylan
==============================================================================
--- trunk/libraries/id3v2/library.dylan (original)
+++ trunk/libraries/id3v2/library.dylan Fri Feb 23 02:05:17 2007
@@ -5,7 +5,7 @@
define library id3v2
use common-dylan;
use io;
- use getopt;
+ use command-line-parser;
use flow;
use network-flow;
use system;
@@ -24,7 +24,7 @@
use file-system;
use flow;
use network-flow;
- use getopt;
+ use command-line-parser;
use interfaces;
use packetizer;
Modified: trunk/libraries/network/koala/sources/koala/library-unix.dylan
==============================================================================
--- trunk/libraries/network/koala/sources/koala/library-unix.dylan (original)
+++ trunk/libraries/network/koala/sources/koala/library-unix.dylan Fri Feb 23 02:05:17 2007
@@ -26,7 +26,7 @@
// use win32-kernel;
use base64;
use memory-manager;
- use getopt;
+ use command-line-parser;
export koala;
export koala-extender;
@@ -333,7 +333,7 @@
prefix: "xml$";
use xml-rpc-common;
use base64;
- use getopt;
+ use command-line-parser;
end module httpi;
define module dsp
Modified: trunk/libraries/network/koala/sources/koala/library.dylan
==============================================================================
--- trunk/libraries/network/koala/sources/koala/library.dylan (original)
+++ trunk/libraries/network/koala/sources/koala/library.dylan Fri Feb 23 02:05:17 2007
@@ -26,7 +26,7 @@
use win32-kernel;
use base64;
use memory-manager;
- use getopt;
+ use command-line-parser;
export koala;
export koala-extender;
@@ -334,7 +334,7 @@
use xml-rpc-common;
use win32-kernel, import: { LoadLibrary, FreeLibrary };
use base64;
- use getopt;
+ use command-line-parser;
end module httpi;
define module dsp
Modified: trunk/libraries/network/wiki/library.dylan
==============================================================================
--- trunk/libraries/network/wiki/library.dylan (original)
+++ trunk/libraries/network/wiki/library.dylan Fri Feb 23 02:05:17 2007
@@ -20,7 +20,7 @@
use collection-extensions, import: { sequence-diff };
use string-extensions, import: { substring-search };
use xmpp-bot;
- use getopt;
+ use command-line-parser;
export wiki;
end;
@@ -49,7 +49,7 @@
use simple-xml, import: { escape-xml };
use substring-search;
use xmpp-bot;
- use getopt;
+ use command-line-parser;
end;
Copied: trunk/libraries/registry/generic/command-line-parser (from r11205, trunk/libraries/registry/generic/getopt)
==============================================================================
--- trunk/libraries/registry/generic/getopt (original)
+++ trunk/libraries/registry/generic/command-line-parser Fri Feb 23 02:05:17 2007
@@ -1 +1 @@
-abstract://dylan/utilities/getopt/getopt.lid
+abstract://dylan/utilities/command-line-parser/command-line-parser.lid
Copied: trunk/libraries/registry/generic/command-line-parser-test-suite (from r11205, trunk/libraries/registry/generic/getopt-test-suite)
==============================================================================
--- trunk/libraries/registry/generic/getopt-test-suite (original)
+++ trunk/libraries/registry/generic/command-line-parser-test-suite Fri Feb 23 02:05:17 2007
@@ -1 +1 @@
-abstract://dylan/utilities/getopt/tests/getopt-test-suite.lid
\ No newline at end of file
+abstract://dylan/utilities/command-line-parser/tests/command-line-parser-test-suite.lid
\ No newline at end of file
Copied: trunk/libraries/registry/generic/command-line-parser-test-suite-app (from r11205, trunk/libraries/registry/generic/getopt-test-suite-app)
==============================================================================
--- trunk/libraries/registry/generic/getopt-test-suite-app (original)
+++ trunk/libraries/registry/generic/command-line-parser-test-suite-app Fri Feb 23 02:05:17 2007
@@ -1 +1 @@
-abstract://dylan/utilities/getopt/tests/getopt-test-suite-app.lid
\ No newline at end of file
+abstract://dylan/utilities/command-line-parser/tests/command-line-parser-test-suite-app.lid
\ No newline at end of file
Modified: trunk/libraries/sniffer/library.dylan
==============================================================================
--- trunk/libraries/sniffer/library.dylan (original)
+++ trunk/libraries/sniffer/library.dylan Fri Feb 23 02:05:17 2007
@@ -5,7 +5,7 @@
define library sniffer
use common-dylan;
use io;
- use getopt;
+ use command-line-parser;
use flow;
use network-flow;
use system;
@@ -20,6 +20,6 @@
use file-system;
use flow;
use network-flow;
- use getopt;
+ use command-line-parser;
use interfaces;
end;
Modified: trunk/libraries/ui/gtk+/gobject-tool/library.dylan
==============================================================================
--- trunk/libraries/ui/gtk+/gobject-tool/library.dylan (original)
+++ trunk/libraries/ui/gtk+/gobject-tool/library.dylan Fri Feb 23 02:05:17 2007
@@ -4,7 +4,7 @@
define library gobject-tool
use dylan;
use common-dylan;
- use getopt;
+ use command-line-parser;
use streams;
use standard-io;
use format;
Modified: trunk/libraries/ui/gtk+/gobject-tool/module.dylan
==============================================================================
--- trunk/libraries/ui/gtk+/gobject-tool/module.dylan (original)
+++ trunk/libraries/ui/gtk+/gobject-tool/module.dylan Fri Feb 23 02:05:17 2007
@@ -41,7 +41,7 @@
define module gobject-tool
use common-dylan, exclude: { format-to-string };
use Extensions, import: { *warning-output* };
- use getopt;
+ use command-line-parser;
use streams;
use standard-io;
use format;
Copied: trunk/libraries/utilities/command-line-parser/Makegen (from r11205, trunk/libraries/utilities/getopt/Makegen)
==============================================================================
--- trunk/libraries/utilities/getopt/Makegen (original)
+++ trunk/libraries/utilities/command-line-parser/Makegen Fri Feb 23 02:05:17 2007
@@ -9,7 +9,7 @@
. ' -L../../d2c/runtime/threads';
&emit_library_rule(
- 'getopt', '$(BUILDROOT)/force.timestamp', '', 'compile',
+ 'command-line-parser', '$(BUILDROOT)/force.timestamp', '', 'compile',
'install'
);
Copied: trunk/libraries/utilities/command-line-parser/command-line-parser-exports.dylan (from r11205, trunk/libraries/utilities/getopt/getopt-exports.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/getopt-exports.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/command-line-parser-exports.dylan Fri Feb 23 02:05:17 2007
@@ -24,12 +24,12 @@
//
//======================================================================
-define library getopt
+define library command-line-parser
use common-dylan;
use io;
export
- getopt,
+ command-line-parser,
option-parser-protocol;
end library;
@@ -67,7 +67,7 @@
end module;
// Used by most programs.
-define module getopt
+define module command-line-parser
use common-dylan, exclude: { format-to-string };
use option-parser-protocol;
@@ -103,4 +103,4 @@
defargparser-init,
defargparser-accessors,
defargparser-synopsis;
-end module getopt;
+end module;
Copied: trunk/libraries/utilities/command-line-parser/command-line-parser.dylan (from r11205, trunk/libraries/utilities/getopt/getopt.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/getopt.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/command-line-parser.dylan Fri Feb 23 02:05:17 2007
@@ -1,4 +1,4 @@
-module: getopt
+module: command-line-parser
synopsis: Parse command-line options.
authors: Eric Kidd
copyright: Copyright 1998 Eric Kidd
Copied: trunk/libraries/utilities/command-line-parser/command-line-parser.lid (from r11205, trunk/libraries/utilities/getopt/getopt.lid)
==============================================================================
--- trunk/libraries/utilities/getopt/getopt.lid (original)
+++ trunk/libraries/utilities/command-line-parser/command-line-parser.lid Fri Feb 23 02:05:17 2007
@@ -1,5 +1,5 @@
-library: getopt
-files: getopt-exports
- getopt
+library: command-line-parser
+files: command-line-parser-exports
+ command-line-parser
parsers
defargparser
Copied: trunk/libraries/utilities/command-line-parser/defargparser.dylan (from r11205, trunk/libraries/utilities/getopt/defargparser.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/defargparser.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/defargparser.dylan Fri Feb 23 02:05:17 2007
@@ -1,4 +1,4 @@
-module: getopt
+module: command-line-parser
synopsis: Interface macros for parser definition and option access.
authors: David Lichteblau <lichteblau at fhtw-berlin.de>
copyright: see below
@@ -30,8 +30,8 @@
// ============
//
// defargparser is a set of macros designed to work on top of Eric Kidd's
-// getopt library. The idea is to provide a more readable interface for
-// parser definition and option access.
+// command-line-parser library. The idea is to provide a more readable
+// interface for parser definition and option access.
//
//
// Examples
Copied: trunk/libraries/utilities/command-line-parser/parsers.dylan (from r11205, trunk/libraries/utilities/getopt/parsers.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/parsers.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/parsers.dylan Fri Feb 23 02:05:17 2007
@@ -1,4 +1,4 @@
-module: getopt
+module: command-line-parser
synopsis: Individual option parsers.
authors: Eric Kidd, Jeff Dubrule <igor at pobox.com>
copyright: Copyright 1998 Eric Kidd and Jeff Dubrule
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app-library.dylan (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app-library.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite-app-library.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app-library.dylan Fri Feb 23 02:05:17 2007
@@ -1,11 +1,11 @@
module: dylan-user
-define library getopt-test-suite-app
+define library command-line-parser-test-suite-app
use testworks;
- use getopt-test-suite;
+ use command-line-parser-test-suite;
end library;
-define module getopt-test-suite-app
+define module command-line-parser-test-suite-app
use testworks;
- use getopt-test-suite;
+ use command-line-parser-test-suite;
end module;
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.dylan (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.dylan Fri Feb 23 02:05:17 2007
@@ -1,3 +1,3 @@
-module: getopt-test-suite-app
+module: command-line-parser-test-suite-app
-run-test-application(getopt-test-suite);
+run-test-application(command-line-parser-test-suite);
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.lid (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.lid)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite-app.lid (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-app.lid Fri Feb 23 02:05:17 2007
@@ -1,4 +1,4 @@
-library: getopt-test-suite-app
-executable: getopt-test-suite-app
-files: getopt-test-suite-app-library
- getopt-test-suite-app
+library: command-line-parser-test-suite-app
+executable: command-line-parser-test-suite-app
+files: command-line-parser-test-suite-app-library
+ command-line-parser-test-suite-app
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-library.dylan (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite-library.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite-library.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite-library.dylan Fri Feb 23 02:05:17 2007
@@ -1,19 +1,19 @@
module: dylan-user
-define library getopt-test-suite
+define library command-line-parser-test-suite
use common-dylan;
use io;
- use getopt;
+ use command-line-parser;
use testworks;
- export getopt-test-suite;
+ export command-line-parser-test-suite;
end library;
-define module getopt-test-suite
+define module command-line-parser-test-suite
use common-dylan, exclude: { format-to-string };
use format;
- use getopt;
+ use command-line-parser;
use testworks;
- export getopt-test-suite;
+ export command-line-parser-test-suite;
end module;
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.dylan (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite.dylan)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite.dylan (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.dylan Fri Feb 23 02:05:17 2007
@@ -1,5 +1,5 @@
-module: getopt-test-suite
-synopsis: Test suite for the getopt (command-line parser) library.
+module: command-line-parser-test-suite
+synopsis: Test suite for the command-line-parser library.
//======================================================================
//
@@ -27,8 +27,10 @@
// defargparser. Moved from src/tests to libraries/getopt/tests.
// 2006.11.29
+// Now in libraries/utilities/command-line-parser/tests
+// Hannes Mehnert 2007.02.23
-define suite getopt-test-suite
+define suite command-line-parser-test-suite
(/* setup-function: foo, cleanup-function: bar */)
test argument-list-parser-test;
test defargparser-test;
Copied: trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.lid (from r11205, trunk/libraries/utilities/getopt/tests/getopt-test-suite.lid)
==============================================================================
--- trunk/libraries/utilities/getopt/tests/getopt-test-suite.lid (original)
+++ trunk/libraries/utilities/command-line-parser/tests/command-line-parser-test-suite.lid Fri Feb 23 02:05:17 2007
@@ -1,3 +1,3 @@
-library: getopt-test-suite
-files: getopt-test-suite-library
- getopt-test-suite
+library: command-line-parser-test-suite
+files: command-line-parser-test-suite-library
+ command-line-parser-test-suite
Modified: trunk/libraries/xml-parser/xml-test/test-library.dylan
==============================================================================
--- trunk/libraries/xml-parser/xml-test/test-library.dylan (original)
+++ trunk/libraries/xml-parser/xml-test/test-library.dylan Fri Feb 23 02:05:17 2007
@@ -9,7 +9,7 @@
use io;
use xml-parser;
use system;
- use getopt;
+ use command-line-parser;
use collection-extensions;
end library xml-test;
@@ -42,6 +42,6 @@
use html-xform;
use streams;
// use date;
- use getopt;
+ use command-line-parser;
use sequence-utilities;
end module xml-test;
More information about the chatter
mailing list