summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengine.cpp
blob: f0165fd713f88b68ffcad97949fad8da66319a0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
/****************************************************************************
**
** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
** This file is part of the documentation of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL$
** No Commercial Usage
** This file contains pre-release code and may not be distributed.
** You may use this file in accordance with the terms and conditions
** contained in the Technology Preview License Agreement accompanying
** this package.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 2.1 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPL included in the
** packaging of this file.  Please review the following information to
** ensure the GNU Lesser General Public License version 2.1 requirements
** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
**
** In addition, as a special exception, Nokia gives you certain additional
** rights.  These rights are described in the Nokia Qt LGPL Exception
** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
**
** If you have questions regarding the use of this file, please contact
** Nokia at qt-info@nokia.com.
**
**
**
**
**
**
**
**
** $QT_END_LICENSE$
**
****************************************************************************/

//! [0]
QScriptEngine myEngine;
QScriptValue three = myEngine.evaluate("1 + 2");
//! [0]


//! [1]
QScriptValue fun = myEngine.evaluate("(function(a, b) { return a + b; })");
QScriptValueList args;
args << 1 << 2;
QScriptValue threeAgain = fun.call(QScriptValue(), args);
//! [1]


//! [2]
QString fileName = "helloworld.qs";
QFile scriptFile(fileName);
if (!scriptFile.open(QIODevice::ReadOnly))
    // handle error
QTextStream stream(&scriptFile);
QString contents = stream.readAll();
scriptFile.close();
myEngine.evaluate(contents, fileName);
//! [2]


//! [3]
myEngine.globalObject().setProperty("myNumber", 123);
...
QScriptValue myNumberPlusOne = myEngine.evaluate("myNumber + 1");
//! [3]


//! [4]
QScriptValue result = myEngine.evaluate(...);
if (myEngine.hasUncaughtException()) {
    int line = myEngine.uncaughtExceptionLineNumber();
    qDebug() << "uncaught exception at line" << line << ":" << result.toString();
}
//! [4]


//! [5]
QPushButton button;
QScriptValue scriptButton = myEngine.newQObject(&button);
myEngine.globalObject().setProperty("button", scriptButton);

myEngine.evaluate("button.checkable = true");

qDebug() << scriptButton.property("checkable").toBoolean();
scriptButton.property("show").call(); // call the show() slot
//! [5]


//! [6]
QScriptValue myAdd(QScriptContext *context, QScriptEngine *engine)
{
   QScriptValue a = context->argument(0);
   QScriptValue b = context->argument(1);
   return a.toNumber() + b.toNumber();
}
//! [6]


//! [7]
QScriptValue fun = myEngine.newFunction(myAdd);
myEngine.globalObject().setProperty("myAdd", fun);
//! [7]


//! [8]
QScriptValue result = myEngine.evaluate("myAdd(myNumber, 1)");
//! [8]


//! [9]
QScriptValue Foo(QScriptContext *context, QScriptEngine *engine)
{
    if (context->calledAsConstructor()) {
        // initialize the new object
        context->thisObject().setProperty("bar", ...);
        // ...
        // return a non-object value to indicate that the
        // thisObject() should be the result of the "new Foo()" expression
        return engine->undefinedValue();
    } else {
        // not called as "new Foo()", just "Foo()"
        // create our own object and return that one
        QScriptValue object = engine->newObject();
        object.setPrototype(context->callee().property("prototype"));
        object.setProperty("baz", ...);
        return object;
    }
}

...

QScriptValue fooProto = engine->newObject();
fooProto.setProperty("whatever", ...);
engine->globalObject().setProperty("Foo", engine->newFunction(Foo, fooProto));
//! [9]


//! [10]
class Bar { ... };

Q_DECLARE_METATYPE(Bar)

QScriptValue constructBar(QScriptContext *context, QScriptEngine *engine)
{
    Bar bar;
    // initialize from arguments in context, if desired
    ...
    return engine->toScriptValue(bar);
}

class BarPrototype : public QObject, public QScriptable
{
// provide the scriptable interface of this type using slots and properties
...
};

...

// create and register the Bar prototype and constructor in the engine
BarPrototype *barPrototypeObject = new BarPrototype(...);
QScriptValue barProto = engine->newQObject(barPrototypeObject);
engine->setDefaultPrototype(qMetaTypeId<Bar>, barProto);
QScriptValue barCtor = engine->newFunction(constructBar, barProto);
engine->globalObject().setProperty("Bar", barCtor);
//! [10]


//! [11]
static QScriptValue getSetFoo(QScriptContext *context, QScriptEngine *engine)
{
    QScriptValue callee = context->callee();
    if (context->argumentCount() == 1) // writing?
        callee.setProperty("value", context->argument(0));
    return callee.property("value");
}

....

QScriptValue object = engine.newObject();
object.setProperty("foo", engine.newFunction(getSetFoo),
    QScriptValue::PropertyGetter | QScriptValue::PropertySetter);
//! [11]


//! [12]
QScriptValue object = engine.newObject();
object.setProperty("foo", engine.newFunction(getFoo), QScriptValue::PropertyGetter);
object.setProperty("foo", engine.newFunction(setFoo), QScriptValue::PropertySetter);
//! [12]


//! [13]
Q_SCRIPT_DECLARE_QMETAOBJECT(QLineEdit, QWidget*)

...

QScriptValue lineEditClass = engine.scriptValueFromQMetaObject<QLineEdit>();
engine.globalObject().setProperty("QLineEdit", lineEditClass);
//! [13]


//! [14]
if (hello && world)
    print("hello world");
//! [14]


//! [15]
if (hello &&
//! [15]


//! [16]
0 = 0
//! [16]


//! [17]
./test.js
//! [17]


//! [18]
foo["bar"]
//! [18]


//! [19]
QScriptEngine engine;
QScriptContext *context = engine.pushContext();
context->activationObject().setProperty("myArg", 123);
engine.evaluate("var tmp = myArg + 42");
...
engine.popContext();
//! [19]


//! [20]
struct MyStruct {
    int x;
    int y;
};
//! [20]


//! [21]
Q_DECLARE_METATYPE(MyStruct)
//! [21]


//! [22]
QScriptValue toScriptValue(QScriptEngine *engine, const MyStruct &s)
{
  QScriptValue obj = engine->newObject();
  obj.setProperty("x", s.x);
  obj.setProperty("y", s.y);
  return obj;
}

void fromScriptValue(const QScriptValue &obj, MyStruct &s)
{
  s.x = obj.property("x").toInt32();
  s.y = obj.property("y").toInt32();
}
//! [22]


//! [23]
qScriptRegisterMetaType(engine, toScriptValue, fromScriptValue);
//! [23]


//! [24]
MyStruct s = qscriptvalue_cast<MyStruct>(context->argument(0));
...
MyStruct s2;
s2.x = s.x + 10;
s2.y = s.y + 20;
QScriptValue v = engine->toScriptValue(s2);
//! [24]


//! [25]
QScriptValue createMyStruct(QScriptContext *, QScriptEngine *engine)
{
    MyStruct s;
    s.x = 123;
    s.y = 456;
    return engine->toScriptValue(s);
}
...
QScriptValue ctor = engine.newFunction(createMyStruct);
engine.globalObject().setProperty("MyStruct", ctor);
//! [25]


//! [26]
Q_DECLARE_METATYPE(QVector<int>)

...

qScriptRegisterSequenceMetaType<QVector<int> >(engine);
...
QVector<int> v = qscriptvalue_cast<QVector<int> >(engine->evaluate("[5, 1, 3, 2]"));
qSort(v.begin(), v.end());
QScriptValue a = engine->toScriptValue(v);
qDebug() << a.toString(); // outputs "[1, 2, 3, 5]"
//! [26]

//! [27]
QScriptValue mySpecialQObjectConstructor(QScriptContext *context,
                                         QScriptEngine *engine)
{
    QObject *parent = context->argument(0).toQObject();
    QObject *object = new QObject(parent);
    return engine->newQObject(object, QScriptEngine::ScriptOwnership);
}

...

QScriptValue ctor = engine.newFunction(mySpecialQObjectConstructor);
QScriptValue metaObject = engine.newQMetaObject(&QObject::staticMetaObject, ctor);
engine.globalObject().setProperty("QObject", metaObject);

QScriptValue result = engine.evaluate("new QObject()");
//! [27]
.git/diff/compat/dirent.h?h=rfe_3389978&id2=a4a1ae8979a30624c2e3594cdf689a22146caca1'>compat/dirent.h2
-rw-r--r--compat/dirent2.h6
-rw-r--r--compat/dlfcn.h7
-rw-r--r--compat/fake-rfc2553.c266
-rw-r--r--compat/fake-rfc2553.h170
-rw-r--r--compat/fixstrtod.c2
-rw-r--r--compat/float.h2
-rw-r--r--compat/gettod.c2
-rw-r--r--compat/limits.h2
-rw-r--r--compat/memcmp.c2
-rw-r--r--compat/mkstemp.c6
-rw-r--r--compat/opendir.c8
-rw-r--r--compat/stdlib.h5
-rw-r--r--compat/string.h6
-rw-r--r--compat/strncasecmp.c4
-rw-r--r--compat/strstr.c2
-rw-r--r--compat/strtod.c12
-rw-r--r--compat/strtol.c3
-rw-r--r--compat/strtoul.c4
-rw-r--r--compat/unistd.h5
-rw-r--r--compat/waitpid.c2
-rw-r--r--compat/zlib/CMakeLists.txt249
-rw-r--r--compat/zlib/ChangeLog622
-rw-r--r--compat/zlib/FAQ267
-rw-r--r--compat/zlib/INDEX41
-rw-r--r--compat/zlib/Makefile157
-rw-r--r--compat/zlib/Makefile.in264
-rw-r--r--compat/zlib/README94
-rw-r--r--compat/zlib/adler32.c104
-rw-r--r--compat/zlib/amiga/Makefile.pup9
-rw-r--r--compat/zlib/amiga/Makefile.sas9
-rw-r--r--compat/zlib/as400/bndsrc83
-rw-r--r--compat/zlib/as400/compile.clp95
-rw-r--r--compat/zlib/as400/readme.txt14
-rw-r--r--compat/zlib/as400/zlib.inc160
-rw-r--r--compat/zlib/compress.c9
-rwxr-xr-xcompat/zlib/configure740
-rw-r--r--compat/zlib/contrib/README.contrib23
-rw-r--r--compat/zlib/contrib/ada/buffer_demo.adb2
-rw-r--r--compat/zlib/contrib/ada/mtest.adb2
-rw-r--r--compat/zlib/contrib/ada/read.adb2
-rw-r--r--compat/zlib/contrib/ada/test.adb2
-rw-r--r--compat/zlib/contrib/ada/zlib-streams.adb2
-rw-r--r--compat/zlib/contrib/ada/zlib-streams.ads2
-rw-r--r--compat/zlib/contrib/ada/zlib-thin.adb2
-rw-r--r--compat/zlib/contrib/ada/zlib-thin.ads2
-rw-r--r--compat/zlib/contrib/ada/zlib.adb2
-rw-r--r--compat/zlib/contrib/ada/zlib.ads2
-rw-r--r--compat/zlib/contrib/amd64/amd64-match.S452
-rw-r--r--compat/zlib/contrib/asm586/README.58643
-rw-r--r--compat/zlib/contrib/asm586/match.S364
-rw-r--r--compat/zlib/contrib/asm686/README.68617
-rw-r--r--compat/zlib/contrib/asm686/match.S40
-rw-r--r--compat/zlib/contrib/blast/blast.c8
-rw-r--r--compat/zlib/contrib/blast/blast.h8
-rw-r--r--compat/zlib/contrib/delphi/ZLib.pas2
-rw-r--r--compat/zlib/contrib/delphi/zlibd32.mak20
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib.build4
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib.chmbin72728 -> 72726 bytes-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/AssemblyInfo.cs20
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/ChecksumImpl.cs10
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/CircularBuffer.cs4
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/CodecBase.cs8
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/Deflater.cs6
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/DotZLib.cs20
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/GZipStream.cs18
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/Inflater.cs6
-rw-r--r--compat/zlib/contrib/dotzlib/DotZLib/UnitTests.cs10
-rw-r--r--compat/zlib/contrib/dotzlib/readme.txt18
-rw-r--r--compat/zlib/contrib/gcc_gvmat64/gvmat64.S574
-rw-r--r--compat/zlib/contrib/infback9/infback9.c95
-rw-r--r--compat/zlib/contrib/infback9/inftree9.c21
-rw-r--r--compat/zlib/contrib/infback9/inftree9.h24
-rw-r--r--compat/zlib/contrib/inflate86/inffas86.c2
-rw-r--r--compat/zlib/contrib/iostream2/zstream.h2
-rw-r--r--compat/zlib/contrib/masm686/match.asm413
-rw-r--r--compat/zlib/contrib/masmx64/gvmat64.asm52
-rw-r--r--compat/zlib/contrib/masmx64/gvmat64.objbin4119 -> 0 bytes-rw-r--r--compat/zlib/contrib/masmx64/inffas8664.c6
-rw-r--r--compat/zlib/contrib/masmx64/inffasx64.asm12
-rw-r--r--compat/zlib/contrib/masmx64/inffasx64.objbin5913 -> 0 bytes-rw-r--r--compat/zlib/contrib/masmx64/readme.txt7
-rw-r--r--compat/zlib/contrib/masmx86/bld_ml32.bat4
-rw-r--r--compat/zlib/contrib/masmx86/gvmat32.asm972
-rw-r--r--compat/zlib/contrib/masmx86/gvmat32.objbin10241 -> 0 bytes-rw-r--r--compat/zlib/contrib/masmx86/gvmat32c.c62
-rw-r--r--compat/zlib/contrib/masmx86/inffas32.asm21
-rw-r--r--compat/zlib/contrib/masmx86/inffas32.objbin14893 -> 0 bytes-rw-r--r--compat/zlib/contrib/masmx86/match686.asm479
-rwxr-xr-xcompat/zlib/contrib/masmx86/mkasm.bat3
-rw-r--r--compat/zlib/contrib/masmx86/readme.txt48
-rw-r--r--compat/zlib/contrib/minizip/ChangeLogUnzip67
-rw-r--r--compat/zlib/contrib/minizip/Makefile.am45
-rw-r--r--compat/zlib/contrib/minizip/MiniZip64_Changes.txt6
-rw-r--r--compat/zlib/contrib/minizip/MiniZip64_info.txt74
-rw-r--r--compat/zlib/contrib/minizip/configure.ac32
-rw-r--r--compat/zlib/contrib/minizip/crypt.h23
-rw-r--r--compat/zlib/contrib/minizip/ioapi.c228
-rw-r--r--compat/zlib/contrib/minizip/ioapi.h189
-rw-r--r--compat/zlib/contrib/minizip/iowin32.c391
-rw-r--r--compat/zlib/contrib/minizip/iowin32.h15
-rw-r--r--compat/zlib/contrib/minizip/make_vms.com25
-rw-r--r--compat/zlib/contrib/minizip/miniunz.c171
-rw-r--r--compat/zlib/contrib/minizip/miniunzip.163
-rw-r--r--compat/zlib/contrib/minizip/minizip.146
-rw-r--r--compat/zlib/contrib/minizip/minizip.c154
-rw-r--r--compat/zlib/contrib/minizip/minizip.pc.in12
-rw-r--r--compat/zlib/contrib/minizip/mztools.c54
-rw-r--r--compat/zlib/contrib/minizip/mztools.h14
-rw-r--r--compat/zlib/contrib/minizip/unzip.c1297
-rw-r--r--compat/zlib/contrib/minizip/unzip.h131
-rw-r--r--compat/zlib/contrib/minizip/zip.c1838
-rw-r--r--compat/zlib/contrib/minizip/zip.h175
-rw-r--r--compat/zlib/contrib/pascal/zlibd32.mak20
-rw-r--r--compat/zlib/contrib/pascal/zlibpas.pas42
-rw-r--r--compat/zlib/contrib/puff/Makefile40
-rw-r--r--compat/zlib/contrib/puff/puff.c207
-rw-r--r--compat/zlib/contrib/puff/puff.h10
-rw-r--r--compat/zlib/contrib/puff/pufftest.c165
-rw-r--r--compat/zlib/contrib/puff/zeros.rawbin1213 -> 2517 bytes-rw-r--r--compat/zlib/contrib/testzlib/testzlib.c10
-rw-r--r--compat/zlib/contrib/vstudio/readme.txt42
-rw-r--r--compat/zlib/contrib/vstudio/vc10/miniunz.vcxproj310
-rw-r--r--compat/zlib/contrib/vstudio/vc10/miniunz.vcxproj.filters22
-rw-r--r--compat/zlib/contrib/vstudio/vc10/minizip.vcxproj307
-rw-r--r--compat/zlib/contrib/vstudio/vc10/minizip.vcxproj.filters22
-rw-r--r--compat/zlib/contrib/vstudio/vc10/testzlib.vcxproj420
-rw-r--r--compat/zlib/contrib/vstudio/vc10/testzlib.vcxproj.filters58
-rw-r--r--compat/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj310
-rw-r--r--compat/zlib/contrib/vstudio/vc10/testzlibdll.vcxproj.filters22
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlib.rc (renamed from compat/zlib/contrib/vstudio/vc7/zlib.rc)12
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibstat.vcxproj473
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibstat.vcxproj.filters77
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibvc.def (renamed from compat/zlib/contrib/vstudio/vc7/zlibvc.def)57
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibvc.sln135
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibvc.vcxproj657
-rw-r--r--compat/zlib/contrib/vstudio/vc10/zlibvc.vcxproj.filters118
-rw-r--r--compat/zlib/contrib/vstudio/vc11/miniunz.vcxproj314
-rw-r--r--compat/zlib/contrib/vstudio/vc11/minizip.vcxproj311
-rw-r--r--compat/zlib/contrib/vstudio/vc11/testzlib.vcxproj426
-rw-r--r--compat/zlib/contrib/vstudio/vc11/testzlibdll.vcxproj314
-rw-r--r--compat/zlib/contrib/vstudio/vc11/zlib.rc (renamed from compat/zlib/contrib/vstudio/vc8/zlib.rc)12
-rw-r--r--compat/zlib/contrib/vstudio/vc11/zlibstat.vcxproj464
-rw-r--r--compat/zlib/contrib/vstudio/vc11/zlibvc.def (renamed from compat/zlib/contrib/vstudio/vc8/zlibvc.def)57
-rw-r--r--compat/zlib/contrib/vstudio/vc11/zlibvc.sln117
-rw-r--r--compat/zlib/contrib/vstudio/vc11/zlibvc.vcxproj688
-rw-r--r--compat/zlib/contrib/vstudio/vc7/miniunz.vcproj126
-rw-r--r--compat/zlib/contrib/vstudio/vc7/minizip.vcproj126
-rw-r--r--compat/zlib/contrib/vstudio/vc7/testzlib.vcproj126
-rw-r--r--compat/zlib/contrib/vstudio/vc7/zlibstat.vcproj246
-rw-r--r--compat/zlib/contrib/vstudio/vc7/zlibvc.sln78
-rw-r--r--compat/zlib/contrib/vstudio/vc7/zlibvc.vcproj445
-rw-r--r--compat/zlib/contrib/vstudio/vc9/miniunz.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/miniunz.vcproj)81
-rw-r--r--compat/zlib/contrib/vstudio/vc9/minizip.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/minizip.vcproj)83
-rw-r--r--compat/zlib/contrib/vstudio/vc9/testzlib.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/testzlib.vcproj)136
-rw-r--r--compat/zlib/contrib/vstudio/vc9/testzlibdll.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/testzlibdll.vcproj)82
-rw-r--r--compat/zlib/contrib/vstudio/vc9/zlib.rc32
-rw-r--r--compat/zlib/contrib/vstudio/vc9/zlibstat.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/zlibstat.vcproj)87
-rw-r--r--compat/zlib/contrib/vstudio/vc9/zlibvc.def143
-rw-r--r--compat/zlib/contrib/vstudio/vc9/zlibvc.sln (renamed from compat/zlib/contrib/vstudio/vc8/zlibvc.sln)20
-rw-r--r--compat/zlib/contrib/vstudio/vc9/zlibvc.vcproj (renamed from compat/zlib/contrib/vstudio/vc8/zlibvc.vcproj)133
-rw-r--r--compat/zlib/crc32.c114
-rw-r--r--compat/zlib/crc32.h2
-rw-r--r--compat/zlib/deflate.c521
-rw-r--r--compat/zlib/deflate.h47
-rw-r--r--compat/zlib/doc/algorithm.txt (renamed from compat/zlib/algorithm.txt)4
-rw-r--r--compat/zlib/doc/rfc1950.txt619
-rw-r--r--compat/zlib/doc/rfc1951.txt955
-rw-r--r--compat/zlib/doc/rfc1952.txt675
-rw-r--r--compat/zlib/doc/txtvsbin.txt107
-rw-r--r--compat/zlib/examples/README.examples15
-rw-r--r--compat/zlib/examples/enough.c572
-rw-r--r--compat/zlib/examples/gun.c49
-rw-r--r--compat/zlib/examples/gzappend.c22
-rw-r--r--compat/zlib/examples/gzjoin.c13
-rw-r--r--compat/zlib/examples/gzlog.c1304
-rw-r--r--compat/zlib/examples/gzlog.h95
-rw-r--r--compat/zlib/examples/zlib_how.html36
-rw-r--r--compat/zlib/examples/zpipe.c24
-rw-r--r--compat/zlib/examples/zran.c13
-rw-r--r--compat/zlib/gzclose.c25
-rw-r--r--compat/zlib/gzguts.h209
-rw-r--r--compat/zlib/gzio.c1026
-rw-r--r--compat/zlib/gzlib.c634
-rw-r--r--compat/zlib/gzread.c594
-rw-r--r--compat/zlib/gzwrite.c577
-rw-r--r--compat/zlib/infback.c105
-rw-r--r--compat/zlib/inffast.c84
-rw-r--r--compat/zlib/inffast.h4
-rw-r--r--compat/zlib/inffixed.h6
-rw-r--r--compat/zlib/inflate.c410
-rw-r--r--compat/zlib/inflate.h31
-rw-r--r--compat/zlib/inftrees.c93
-rw-r--r--compat/zlib/inftrees.h27
-rw-r--r--compat/zlib/make_vms.com748
-rw-r--r--compat/zlib/minigzip.c322
-rw-r--r--compat/zlib/msdos/Makefile.bor20
-rw-r--r--compat/zlib/msdos/Makefile.dj24
-rw-r--r--compat/zlib/msdos/Makefile.emx4
-rw-r--r--compat/zlib/msdos/Makefile.msc16
-rw-r--r--compat/zlib/msdos/Makefile.tc20
-rw-r--r--compat/zlib/nintendods/Makefile126
-rw-r--r--compat/zlib/nintendods/README5
-rw-r--r--compat/zlib/old/Makefile.emx (renamed from compat/zlib/win32/Makefile.emx)4
-rw-r--r--compat/zlib/old/zlib.html971
-rw-r--r--compat/zlib/projects/README.projects41
-rw-r--r--compat/zlib/projects/visualc6/README.txt73
-rw-r--r--compat/zlib/projects/visualc6/example.dsp278
-rw-r--r--compat/zlib/projects/visualc6/minigzip.dsp278
-rw-r--r--compat/zlib/projects/visualc6/zlib.dsp609
-rw-r--r--compat/zlib/projects/visualc6/zlib.dsw59
-rw-r--r--compat/zlib/qnx/package.qpg10
-rw-r--r--compat/zlib/test/example.c (renamed from compat/zlib/example.c)94
-rw-r--r--compat/zlib/test/infcover.c671
-rw-r--r--compat/zlib/test/minigzip.c651
-rw-r--r--compat/zlib/treebuild.xml116
-rw-r--r--compat/zlib/trees.c147
-rw-r--r--compat/zlib/trees.h4
-rw-r--r--compat/zlib/uncompr.c8
-rw-r--r--compat/zlib/watcom/watcom_f.mak43
-rw-r--r--compat/zlib/watcom/watcom_l.mak43
-rw-r--r--compat/zlib/win32/DLL_FAQ.txt8
-rw-r--r--compat/zlib/win32/Makefile.bor25
-rw-r--r--compat/zlib/win32/Makefile.gcc121
-rw-r--r--compat/zlib/win32/Makefile.msc123
-rw-r--r--compat/zlib/win32/README-WIN32.txt103
-rw-r--r--compat/zlib/win32/README.txt60
-rw-r--r--compat/zlib/win32/USAGE.txt89
-rw-r--r--compat/zlib/win32/zdll.libbin0 -> 15658 bytes-rw-r--r--compat/zlib/win32/zlib.def33
-rwxr-xr-xcompat/zlib/win32/zlib1.dllbin0 -> 107520 bytes-rw-r--r--compat/zlib/win32/zlib1.rc6
-rw-r--r--compat/zlib/win64/libz.dll.abin0 -> 46874 bytes-rw-r--r--compat/zlib/win64/zdll.libbin0 -> 15288 bytes-rwxr-xr-xcompat/zlib/win64/zlib1.dllbin0 -> 112640 bytes-rw-r--r--compat/zlib/zconf.h291
-rw-r--r--compat/zlib/zconf.h.cmakein513
-rw-r--r--compat/zlib/zconf.h.in (renamed from compat/zlib/zconf.in.h)291
-rw-r--r--compat/zlib/zlib.370
-rw-r--r--compat/zlib/zlib.3.pdfbin0 -> 8734 bytes-rw-r--r--compat/zlib/zlib.h1381
-rw-r--r--compat/zlib/zlib.map83
-rw-r--r--compat/zlib/zlib.pc.cmakein13
-rw-r--r--compat/zlib/zlib.pc.in13
-rw-r--r--compat/zlib/zlib2ansi152
-rw-r--r--compat/zlib/zutil.c58
-rw-r--r--compat/zlib/zutil.h144
-rw-r--r--doc/Access.34
-rw-r--r--doc/AddErrInfo.330
-rw-r--r--doc/Alloc.36
-rw-r--r--doc/AllowExc.34
-rw-r--r--doc/AppInit.34
-rw-r--r--doc/AssocData.34
-rw-r--r--doc/Async.34
-rw-r--r--doc/BackgdErr.34
-rw-r--r--doc/Backslash.34
-rw-r--r--doc/BoolObj.310
-rw-r--r--doc/ByteArrObj.350
-rw-r--r--doc/CallDel.34
-rw-r--r--doc/Cancel.366
-rw-r--r--doc/ChnlStack.34
-rw-r--r--doc/Class.347
-rw-r--r--doc/CmdCmplt.34
-rw-r--r--doc/Concat.34
-rw-r--r--doc/CrtChannel.326
-rw-r--r--doc/CrtChnlHdlr.33
-rw-r--r--doc/CrtCloseHdlr.33
-rw-r--r--doc/CrtCommand.316
-rw-r--r--doc/CrtFileHdlr.34
-rw-r--r--doc/CrtInterp.311
-rw-r--r--doc/CrtMathFnc.315
-rw-r--r--doc/CrtObjCmd.324
-rw-r--r--doc/CrtSlave.326
-rw-r--r--doc/CrtTimerHdlr.34
-rw-r--r--doc/CrtTrace.36
-rw-r--r--doc/DString.34
-rw-r--r--doc/DetachPids.34
-rw-r--r--doc/DictObj.340
-rw-r--r--doc/DoOneEvent.34
-rw-r--r--doc/DoWhenIdle.34
-rw-r--r--doc/DoubleObj.332
-rw-r--r--doc/DumpActiveMemory.34
-rw-r--r--doc/Encoding.34
-rw-r--r--doc/Ensemble.347
-rw-r--r--doc/Environment.317
-rw-r--r--doc/Eval.375
-rw-r--r--doc/Exit.36
-rw-r--r--doc/ExprLong.312
-rw-r--r--doc/ExprLongObj.316
-rw-r--r--doc/FileSystem.3224
-rw-r--r--doc/FindExec.311
-rw-r--r--[-rwxr-xr-x]doc/GetCwd.34
-rw-r--r--doc/GetHostName.34
-rw-r--r--doc/GetIndex.322
-rw-r--r--doc/GetInt.34
-rw-r--r--doc/GetOpnFl.33
-rw-r--r--doc/GetStdChan.36
-rw-r--r--doc/GetTime.328
-rw-r--r--[-rwxr-xr-x]doc/GetVersion.34
-rw-r--r--doc/Hash.324
-rw-r--r--doc/Init.34
-rw-r--r--doc/InitStubs.310
-rw-r--r--doc/IntObj.337
-rw-r--r--doc/Interp.34
-rw-r--r--doc/Limit.36
-rw-r--r--doc/LinkVar.317
-rw-r--r--doc/ListObj.3121
-rw-r--r--doc/Load.370
-rw-r--r--doc/Method.321
-rw-r--r--doc/NRE.3147
-rw-r--r--doc/Namespace.38
-rw-r--r--doc/Notifier.38
-rw-r--r--doc/OOInitStubs.354
-rw-r--r--doc/Object.3182
-rw-r--r--doc/ObjectType.369
-rw-r--r--doc/OpenFileChnl.343
-rw-r--r--doc/OpenTcp.39
-rw-r--r--doc/Panic.324
-rw-r--r--doc/ParseArgs.312
-rw-r--r--doc/ParseCmd.38
-rw-r--r--doc/PkgRequire.315
-rw-r--r--doc/Preserve.34
-rw-r--r--doc/PrintDbl.34
-rw-r--r--doc/RecEvalObj.310
-rw-r--r--doc/RecordEval.310
-rw-r--r--doc/RegConfig.35
-rw-r--r--doc/RegExp.324
-rw-r--r--doc/SaveResult.38
-rw-r--r--doc/SetChanErr.321
-rw-r--r--doc/SetErrno.33
-rw-r--r--doc/SetRecLmt.34
-rw-r--r--doc/SetResult.348
-rw-r--r--doc/SetVar.312
-rw-r--r--doc/Signal.33
-rw-r--r--doc/Sleep.34
-rw-r--r--doc/SourceRCFile.35
-rw-r--r--doc/SplitList.38
-rw-r--r--doc/SplitPath.36
-rw-r--r--doc/StaticPkg.34
-rw-r--r--doc/StdChannels.34
-rw-r--r--doc/StrMatch.34
-rw-r--r--doc/StringObj.3119
-rw-r--r--doc/SubstObj.310
-rw-r--r--doc/TCL_MEM_DEBUG.36
-rw-r--r--doc/Tcl.n93
-rw-r--r--doc/TclZlib.3161
-rw-r--r--doc/Tcl_Main.37
-rw-r--r--doc/Thread.371
-rw-r--r--doc/ToUpper.34
-rw-r--r--doc/TraceCmd.34
-rw-r--r--doc/TraceVar.36
-rw-r--r--doc/Translate.315
-rw-r--r--doc/UniCharIsAlpha.34
-rw-r--r--doc/UpVar.34
-rw-r--r--doc/Utf.34
-rw-r--r--doc/WrongNumArgs.318
-rw-r--r--doc/after.n16
-rw-r--r--doc/append.n6
-rw-r--r--doc/apply.n45
-rw-r--r--doc/array.n18
-rw-r--r--doc/bgerror.n9
-rw-r--r--doc/binary.n38
-rw-r--r--doc/break.n20
-rw-r--r--doc/case.n4
-rw-r--r--doc/catch.n74
-rw-r--r--doc/cd.n4
-rw-r--r--doc/chan.n157
-rw-r--r--doc/class.n27
-rw-r--r--doc/clock.n19
-rw-r--r--doc/close.n43
-rw-r--r--doc/concat.n42
-rw-r--r--doc/continue.n19
-rw-r--r--doc/copy.n29
-rw-r--r--doc/coroutine.n205
-rw-r--r--doc/dde.n37
-rw-r--r--doc/define.n225
-rw-r--r--doc/dict.n158
-rw-r--r--doc/encoding.n40
-rw-r--r--doc/eof.n4
-rw-r--r--doc/error.n17
-rw-r--r--doc/eval.n20
-rw-r--r--doc/exec.n101
-rw-r--r--doc/exit.n6
-rw-r--r--doc/expr.n77
-rw-r--r--doc/fblocked.n4
-rw-r--r--doc/fconfigure.n38
-rw-r--r--doc/fcopy.n31
-rw-r--r--doc/file.n74
-rw-r--r--doc/fileevent.n25
-rw-r--r--doc/filename.n6
-rw-r--r--doc/flush.n4
-rw-r--r--doc/for.n23
-rw-r--r--doc/foreach.n6
-rw-r--r--doc/format.n26
-rw-r--r--doc/gets.n14
-rw-r--r--doc/glob.n14
-rw-r--r--doc/global.n4
-rw-r--r--doc/history.n4
-rw-r--r--doc/http.n63
-rw-r--r--doc/if.n25
-rw-r--r--doc/incr.n4
-rw-r--r--doc/info.n187
-rw-r--r--doc/interp.n93
-rw-r--r--doc/join.n4
-rw-r--r--doc/lappend.n4
-rw-r--r--doc/lassign.n14
-rw-r--r--doc/library.n49
-rw-r--r--doc/lindex.n14
-rw-r--r--doc/linsert.n22
-rw-r--r--doc/list.n6
-rw-r--r--doc/llength.n4
-rw-r--r--doc/lmap.n85
-rw-r--r--doc/load.n44
-rw-r--r--doc/lrange.n4
-rw-r--r--doc/lrepeat.n4
-rw-r--r--doc/lreplace.n4
-rw-r--r--doc/lreverse.n4
-rw-r--r--doc/lsearch.n6
-rw-r--r--[-rwxr-xr-x]doc/lset.n14
-rw-r--r--doc/lsort.n84
-rw-r--r--doc/man.macros2
-rw-r--r--doc/mathfunc.n19
-rw-r--r--doc/mathop.n22
-rw-r--r--doc/memory.n15
-rw-r--r--doc/msgcat.n77
-rw-r--r--doc/my.n8
-rw-r--r--doc/namespace.n176
-rw-r--r--doc/next.n33
-rw-r--r--doc/object.n49
-rw-r--r--doc/open.n47
-rw-r--r--doc/package.n21
-rw-r--r--doc/packagens.n14
-rw-r--r--doc/pid.n4
-rw-r--r--doc/pkgMkIndex.n15
-rw-r--r--doc/platform.n28
-rw-r--r--doc/platform_shell.n4
-rw-r--r--doc/prefix.n6
-rw-r--r--doc/proc.n25
-rw-r--r--doc/puts.n4
-rw-r--r--doc/pwd.n4
-rw-r--r--doc/re_syntax.n44
-rw-r--r--doc/read.n11
-rw-r--r--doc/refchan.n215
-rw-r--r--doc/regexp.n4
-rw-r--r--doc/registry.n23
-rw-r--r--doc/regsub.n33
-rw-r--r--doc/rename.n4
-rw-r--r--doc/return.n118
-rw-r--r--doc/safe.n31
-rw-r--r--doc/scan.n60
-rw-r--r--doc/seek.n10
-rw-r--r--doc/self.n55
-rw-r--r--doc/set.n4
-rw-r--r--doc/socket.n156
-rw-r--r--doc/source.n6
-rw-r--r--doc/split.n19
-rw-r--r--doc/string.n218
-rw-r--r--doc/subst.n6
-rw-r--r--doc/switch.n48
-rw-r--r--doc/tailcall.n69
-rw-r--r--doc/tclsh.118
-rw-r--r--doc/tcltest.n506
-rw-r--r--doc/tclvars.n137
-rw-r--r--doc/tell.n4
-rw-r--r--doc/throw.n6
-rw-r--r--doc/time.n4
-rw-r--r--doc/tm.n32
-rw-r--r--doc/trace.n6
-rw-r--r--doc/transchan.n7
-rw-r--r--doc/try.n11
-rw-r--r--doc/unknown.n6
-rw-r--r--doc/unload.n4
-rw-r--r--doc/unset.n17
-rw-r--r--doc/update.n6
-rw-r--r--doc/uplevel.n6
-rw-r--r--doc/upvar.n23
-rw-r--r--doc/variable.n4
-rw-r--r--doc/vwait.n205
-rw-r--r--doc/while.n6
-rw-r--r--doc/zlib.n163
-rw-r--r--generic/README2
-rw-r--r--generic/regc_color.c7
-rw-r--r--generic/regc_lex.c41
-rw-r--r--generic/regc_locale.c935
-rw-r--r--generic/regc_nfa.c339
-rw-r--r--generic/regcomp.c30
-rw-r--r--generic/regcustom.h16
-rw-r--r--generic/rege_dfa.c234
-rw-r--r--generic/regerror.c2
-rw-r--r--generic/regerrs.h1
-rw-r--r--generic/regex.h12
-rw-r--r--generic/regexec.c567
-rw-r--r--generic/regguts.h28
-rw-r--r--generic/tcl.decls1309
-rw-r--r--generic/tcl.h665
-rw-r--r--generic/tclAlloc.c45
-rw-r--r--generic/tclAssembly.c4325
-rw-r--r--generic/tclAsync.c10
-rw-r--r--generic/tclBasic.c3256
-rw-r--r--generic/tclBinary.c630
-rw-r--r--generic/tclCkalloc.c225
-rw-r--r--generic/tclClock.c92
-rw-r--r--generic/tclCmdAH.c2223
-rw-r--r--generic/tclCmdIL.c1038
-rw-r--r--generic/tclCmdMZ.c1654
-rw-r--r--generic/tclCompCmds.c6502
-rw-r--r--generic/tclCompCmdsGR.c3171
-rw-r--r--generic/tclCompCmdsSZ.c4383
-rw-r--r--generic/tclCompExpr.c1431
-rw-r--r--generic/tclCompile.c2886
-rw-r--r--generic/tclCompile.h799
-rw-r--r--generic/tclConfig.c147
-rw-r--r--generic/tclDTrace.d18
-rw-r--r--generic/tclDate.c569
-rw-r--r--generic/tclDecls.h6598
-rw-r--r--generic/tclDictObj.c990
-rw-r--r--generic/tclEncoding.c465
-rw-r--r--generic/tclEnsemble.c3486
-rw-r--r--generic/tclEnv.c158
-rw-r--r--generic/tclEvent.c430
-rw-r--r--generic/tclExecute.c9727
-rw-r--r--generic/tclFCmd.c619
-rw-r--r--generic/tclFileName.c429
-rw-r--r--generic/tclFileSystem.h57
-rw-r--r--generic/tclGet.c6
-rw-r--r--generic/tclGetDate.y250
-rw-r--r--generic/tclHash.c144
-rw-r--r--generic/tclHistory.c86
-rw-r--r--generic/tclIO.c1948
-rw-r--r--generic/tclIO.h135
-rw-r--r--generic/tclIOCmd.c434
-rw-r--r--generic/tclIOGT.c145
-rw-r--r--generic/tclIORChan.c1071
-rw-r--r--generic/tclIORTrans.c547
-rw-r--r--generic/tclIOSock.c182
-rw-r--r--generic/tclIOUtil.c868
-rw-r--r--generic/tclIndexObj.c400
-rw-r--r--generic/tclInt.decls683
-rw-r--r--generic/tclInt.h1403
-rw-r--r--generic/tclIntDecls.h2057
-rw-r--r--generic/tclIntPlatDecls.h730
-rw-r--r--generic/tclInterp.c715
-rw-r--r--generic/tclLink.c37
-rw-r--r--generic/tclListObj.c820
-rw-r--r--generic/tclLiteral.c373
-rw-r--r--generic/tclLoad.c397
-rw-r--r--generic/tclLoadNone.c85
-rw-r--r--generic/tclMain.c593
-rw-r--r--generic/tclNamesp.c3709
-rw-r--r--generic/tclNotify.c30
-rw-r--r--generic/tclOO.c1143
-rw-r--r--generic/tclOO.decls137
-rw-r--r--generic/tclOO.h64
-rw-r--r--generic/tclOOBasic.c560
-rw-r--r--generic/tclOOCall.c300
-rw-r--r--generic/tclOODecls.h320
-rw-r--r--generic/tclOODefineCmds.c1340
-rw-r--r--generic/tclOOInfo.c442
-rw-r--r--generic/tclOOInt.h92
-rw-r--r--generic/tclOOIntDecls.h266
-rw-r--r--generic/tclOOMethod.c272
-rw-r--r--generic/tclOOStubInit.c18
-rw-r--r--generic/tclOOStubLib.c76
-rw-r--r--generic/tclObj.c1206
-rw-r--r--generic/tclOptimize.c444
-rw-r--r--generic/tclPanic.c46
-rw-r--r--generic/tclParse.c501
-rw-r--r--generic/tclParse.h17
-rw-r--r--generic/tclPathObj.c816
-rw-r--r--generic/tclPipe.c239
-rw-r--r--generic/tclPkg.c264
-rw-r--r--generic/tclPkgConfig.c8
-rw-r--r--generic/tclPlatDecls.h101
-rw-r--r--generic/tclPort.h7
-rw-r--r--generic/tclPosixStr.c72
-rw-r--r--generic/tclPreserve.c51
-rw-r--r--generic/tclProc.c608
-rw-r--r--generic/tclRegexp.c54
-rw-r--r--generic/tclRegexp.h2
-rw-r--r--generic/tclResolve.c29
-rw-r--r--generic/tclResult.c283
-rw-r--r--generic/tclScan.c133
-rw-r--r--[-rwxr-xr-x]generic/tclStrToD.c3193
-rw-r--r--generic/tclStringObj.c1732
-rw-r--r--generic/tclStringTrim.h43
-rw-r--r--generic/tclStubInit.c627
-rw-r--r--generic/tclStubLib.c105
-rw-r--r--generic/tclStubLibTbl.c58
-rw-r--r--generic/tclTest.c1232
-rw-r--r--generic/tclTestObj.c598
-rw-r--r--generic/tclTestProcBodyObj.c93
-rw-r--r--generic/tclThread.c52
-rw-r--r--[-rwxr-xr-x]generic/tclThreadAlloc.c156
-rw-r--r--generic/tclThreadJoin.c12
-rw-r--r--generic/tclThreadStorage.c17
-rw-r--r--generic/tclThreadTest.c259
-rw-r--r--generic/tclTimer.c166
-rw-r--r--generic/tclTomMath.decls252
-rw-r--r--generic/tclTomMath.h89
-rw-r--r--generic/tclTomMathDecls.h594
-rw-r--r--generic/tclTomMathInt.h3
-rw-r--r--generic/tclTomMathInterface.c19
-rw-r--r--generic/tclTomMathStubLib.c79
-rw-r--r--generic/tclTrace.c224
-rw-r--r--generic/tclUniData.c2138
-rw-r--r--generic/tclUtf.c124
-rw-r--r--generic/tclUtil.c2490
-rw-r--r--generic/tclVar.c2658
-rw-r--r--generic/tclZlib.c2682
-rw-r--r--generic/tommath.h2
-rw-r--r--library/auto.tcl381
-rw-r--r--library/clock.tcl1222
-rw-r--r--library/dde/pkgIndex.tcl10
-rw-r--r--[-rwxr-xr-x]library/encoding/tis-620.enc0
-rw-r--r--library/history.tcl304
-rw-r--r--library/http/http.tcl633
-rw-r--r--library/http/pkgIndex.tcl6
-rw-r--r--library/http1.0/http.tcl8
-rw-r--r--library/init.tcl310
-rw-r--r--library/msgcat/msgcat.tcl191
-rw-r--r--library/msgcat/pkgIndex.tcl2
-rw-r--r--[-rwxr-xr-x]library/msgs/af.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/af_za.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ar.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ar_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ar_jo.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ar_lb.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ar_sy.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/be.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/bg.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/bn.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/bn_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ca.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/cs.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/da.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/de.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/de_at.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/de_be.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/el.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_au.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_be.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_bw.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_ca.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_gb.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_hk.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_ie.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_nz.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_ph.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_sg.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_za.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/en_zw.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/eo.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_ar.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_bo.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_cl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_co.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_cr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_do.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_ec.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_gt.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_hn.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_mx.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_ni.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_pa.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_pe.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_pr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_py.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_sv.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_uy.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/es_ve.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/et.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/eu.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/eu_es.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fa.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fa_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fa_ir.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fi.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fo.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fo_fo.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fr_be.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fr_ca.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/fr_ch.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ga.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ga_ie.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/gl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/gl_es.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/gv.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/gv_gb.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/he.msg4
-rw-r--r--[-rwxr-xr-x]library/msgs/hi.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/hi_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/hr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/hu.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/id.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/id_id.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/is.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/it.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/it_ch.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ja.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kl_gl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ko.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ko_kr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kok.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kok_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kw.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/kw_gb.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/lt.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/lv.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/mk.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/mr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/mr_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ms.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ms_my.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/mt.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/nb.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/nl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/nl_be.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/nn.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/pl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/pt.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/pt_br.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ro.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ru.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ru_ua.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sh.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sk.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sl.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sq.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sv.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/sw.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ta.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/ta_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/te.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/te_in.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/th.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/tr.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/uk.msg2
-rw-r--r--[-rwxr-xr-x]library/msgs/vi.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/zh.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/zh_cn.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/zh_hk.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/zh_sg.msg0
-rw-r--r--[-rwxr-xr-x]library/msgs/zh_tw.msg0
-rw-r--r--library/opt/optparse.tcl476
-rw-r--r--library/opt/pkgIndex.tcl2
-rw-r--r--library/package.tcl338
-rw-r--r--library/parray.tcl4
-rw-r--r--library/platform/pkgIndex.tcl2
-rw-r--r--library/platform/platform.tcl177
-rw-r--r--library/platform/shell.tcl9
-rwxr-xr-xlibrary/reg/pkgIndex.tcl14
-rw-r--r--library/safe.tcl1794
-rw-r--r--library/tclIndex20
-rw-r--r--library/tcltest/pkgIndex.tcl2
-rw-r--r--library/tcltest/tcltest.tcl271
-rw-r--r--library/tm.tcl243
-rw-r--r--[-rwxr-xr-x]library/tzdata/Africa/Asmara0
-rw-r--r--library/tzdata/Africa/Cairo188
-rw-r--r--library/tzdata/Africa/Casablanca142
-rw-r--r--library/tzdata/Africa/Dar_es_Salaam4
-rw-r--r--library/tzdata/Africa/Gaborone3
-rw-r--r--library/tzdata/Africa/Juba5
-rw-r--r--library/tzdata/Africa/Kampala4
-rw-r--r--library/tzdata/Africa/Nairobi4
-rw-r--r--library/tzdata/Africa/Tripoli177
-rw-r--r--library/tzdata/Africa/Tunis182
-rw-r--r--library/tzdata/America/Anguilla7
-rw-r--r--library/tzdata/America/Araguaina3
-rw-r--r--library/tzdata/America/Argentina/Buenos_Aires181
-rw-r--r--library/tzdata/America/Argentina/Cordoba181
-rw-r--r--library/tzdata/America/Argentina/San_Luis6
-rw-r--r--library/tzdata/America/Argentina/Tucuman181
-rw-r--r--library/tzdata/America/Aruba8
-rw-r--r--library/tzdata/America/Asuncion360
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Atikokan2
-rw-r--r--library/tzdata/America/Bahia3
-rw-r--r--library/tzdata/America/Bahia_Banderas222
-rw-r--r--library/tzdata/America/Barbados6
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Blanc-Sablon2
-rw-r--r--library/tzdata/America/Bogota6
-rw-r--r--library/tzdata/America/Cayman4
-rw-r--r--library/tzdata/America/Costa_Rica6
-rw-r--r--library/tzdata/America/Creston8
-rw-r--r--library/tzdata/America/Curacao4
-rw-r--r--library/tzdata/America/Dawson_Creek2
-rw-r--r--library/tzdata/America/Dominica7
-rw-r--r--library/tzdata/America/Edmonton2
-rw-r--r--library/tzdata/America/Glace_Bay2
-rw-r--r--library/tzdata/America/Goose_Bay357
-rw-r--r--library/tzdata/America/Grand_Turk4
-rw-r--r--library/tzdata/America/Grenada7
-rw-r--r--library/tzdata/America/Guadeloupe7
-rw-r--r--library/tzdata/America/Halifax2
-rw-r--r--library/tzdata/America/Havana360
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Indiana/Petersburg0
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Indiana/Tell_City0
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Indiana/Vincennes0
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Indiana/Winamac0
-rw-r--r--library/tzdata/America/Jamaica6
-rw-r--r--library/tzdata/America/Juneau5
-rw-r--r--library/tzdata/America/Kralendijk5
-rw-r--r--library/tzdata/America/Lower_Princes5
-rw-r--r--library/tzdata/America/Marigot6
-rw-r--r--library/tzdata/America/Matamoros219
-rw-r--r--library/tzdata/America/Metlakatla43
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Moncton2
-rw-r--r--library/tzdata/America/Montreal2
-rw-r--r--library/tzdata/America/Montserrat7
-rw-r--r--library/tzdata/America/Nassau4
-rw-r--r--library/tzdata/America/Nipigon2
-rw-r--r--library/tzdata/America/North_Dakota/Beulah279
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/North_Dakota/New_Salem0
-rw-r--r--library/tzdata/America/Ojinaga222
-rw-r--r--library/tzdata/America/Port-au-Prince176
-rw-r--r--library/tzdata/America/Rainy_River2
-rw-r--r--library/tzdata/America/Regina2
-rw-r--r--[-rwxr-xr-x]library/tzdata/America/Resolute186
-rw-r--r--library/tzdata/America/Santa_Isabel284
-rw-r--r--library/tzdata/America/Santiago358
-rw-r--r--library/tzdata/America/Sitka275
-rw-r--r--library/tzdata/America/St_Barthelemy6
-rw-r--r--library/tzdata/America/St_Johns357
-rw-r--r--library/tzdata/America/St_Kitts7
-rw-r--r--library/tzdata/America/St_Lucia8
-rw-r--r--library/tzdata/America/St_Thomas7
-rw-r--r--library/tzdata/America/St_Vincent8
-rw-r--r--library/tzdata/America/Swift_Current2
-rw-r--r--library/tzdata/America/Tijuana361
-rw-r--r--library/tzdata/America/Toronto2
-rw-r--r--library/tzdata/America/Tortola7
-rw-r--r--library/tzdata/America/Vancouver2
-rw-r--r--library/tzdata/America/Virgin6
-rw-r--r--library/tzdata/America/Winnipeg2
-rw-r--r--library/tzdata/Antarctica/Casey4
-rw-r--r--library/tzdata/Antarctica/Davis4
-rw-r--r--library/tzdata/Antarctica/Macquarie97
-rw-r--r--library/tzdata/Antarctica/Mawson1
-rw-r--r--library/tzdata/Antarctica/McMurdo258
-rw-r--r--library/tzdata/Antarctica/Palmer360
-rw-r--r--library/tzdata/Antarctica/South_Pole6
-rw-r--r--library/tzdata/Asia/Aden4
-rw-r--r--library/tzdata/Asia/Amman206
-rw-r--r--library/tzdata/Asia/Anadyr184
-rw-r--r--library/tzdata/Asia/Damascus360
-rw-r--r--library/tzdata/Asia/Dhaka3
-rw-r--r--library/tzdata/Asia/Dili2
-rw-r--r--library/tzdata/Asia/Gaza347
-rw-r--r--library/tzdata/Asia/Hebron277
-rw-r--r--library/tzdata/Asia/Hong_Kong17
-rw-r--r--library/tzdata/Asia/Irkutsk179
-rw-r--r--library/tzdata/Asia/Jakarta12
-rw-r--r--