summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_script_qscriptengine.cpp
blob: 15be2165747bd07b91c7e25acd67c60cbdd3b00b (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) 2009 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]
lace_refixlreplace: more tests, doc improvementaspect10 years aspect_shimmer_singleton_listsadd some tests for singleton list optimisation [738900]aspect8 years aspect_string_matchfix advancement of snext: could not cook up a test for this, but the error i...aspect8 years aspect_tip288Taking a stab at TIP#288 implementation.aspect8 years avl_strcat_fixStop trimming on first non empty-string.avl8 years avl_tip_282restrictions on array index confined to lhs.avl8 years backout_memaccounting(just an experiment, don't look ....) Backout the contributed patch memaccoun...jan.nijtmans9 years bch_coveritymerge [e11d223695c5468b1bfb3db35ebf54856501fdf0], specifically for ./generic/...bch11 years better_deprecationmerge trunkjan.nijtmans12 years better_deprecation_85merge core-8-5-branch.jan.nijtmans13 years bg_tip_282merge trunkdgp8 years bsg_0d_radix_prefixMerge core-8-6-branchjan.nijtmans8 years bug3036566Corrected args -> arg arg ... in msgcat docoehhar12 years bug_010f4162efAdd test and improve errorInfo.dgp12 years bug_0520d17284fix chan leak with http keepalive vs close (bug [0520d17284])aspect8 years bug_05489ce335Backout failed attempt to fix [32ae34e63a].dgp10 years bug_0b874c344dmerge trunkdgp12 years bug_0b874c344d_ak_info_frame_coroModified info frame's coro handling to allow for a caller coro without cmdFra...andreask12 years bug_0b8c387cf7Merge trunk. jan.nijtmans9 years bug_0c043a175test and fix (thx dgp)Miguel Sofer11 years bug_0e4d88b650merge 8.5dgp8 years bug_0f42ff7871Added contributed tests from aspectdgp10 years bug_11892931189293 Make '<<' redirects binary safe. Don't use strlen() (or equivalent)dgp13 years bug_1224888Added better way to find executable name on OSX.dkf10 years bug_12b0997ce7[12b0997ce7] Plug memleak in iocmd.tf-32.0 .dgp11 years bug_13d3af3ad5 * Give clearer names to some of the state flags and sync them with Windows...max11 years bug_13d3af3ad5_forkRemove writable shortcut and errorneous workaround to get [connect -async] fa...oehhar11 years bug_1493a43044Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which s...dkf9 years bug_1536227Cygwin network pathname supportjan.nijtmans13 years bug_16828b3744Merge tip of core-8-6-branchdgp9 years bug_1712098rebasejan.nijtmans12 years bug_1758a0b603merge 8.5dgp11 years bug_1a25fdfec6Simple change gets most of the effect. Fails to handle backslash. anyone care?dgp9 years bug_1b0266d8bbSome more cleaning updkf11 years bug_2152292ChangeLog entrydkf12 years bug_219866c1e9proposed fix for [219866c1e9]: platform::identify: regexp doesn't match platformjan.nijtmans10 years bug_2413550Changed position of flag evaluation as proposed by Phil Hoffmanoehhar11 years bug_2502002New internal eval flag value so that all TclNREvalObjv() callers thatdgp12 years bug_25842c161fMight as well number tests more conventionally.dkf8 years bug_272e866f1eremove some dead codedkf11 years bug_2902268Backport 2902268 fix.dgp14 years bug_2911139Now really fix test-case http-4.14jan.nijtmans12 years bug_2992970[2992970] Restore the safety of Tcl_AppendObjToObj(x, x) for bytearrays.dgp11 years bug_2a94652ee1http state 100 continue handling broken [2a94652ee1]oehhar8 years bug_2f7cbd01c3Proposed fix for [2f7cbd01c3].jan.nijtmans11 years bug_2f9df4c4faprevious commit was not quite right, this one should be betterjan.nijtmans11 years bug_3024359Simplify bug fix so that active claims on the FilesystemRecord list of a threaddgp13 years bug_3033307very minor style tweaksdkf13 years bug_3092089new attempt for better fixjan.nijtmans12 years bug_3154ea2759Bug fix. Have to arrange to only close a catch once. After the spacedgp9 years bug_31661d2135[31661d2135] Plug memory leak.dgp12 years bug_3173086Completed patch with mucho comments. Merge 8.5.dgp14 years bug_3185407Merge from 8.5 branch tipdkf14 years bug_3202171 * generic/tclNamesp.c: Tighten the detector of nested [namespace code] dgp14 years bug_3216070bug-3216070jan.nijtmans14 years bug_3288345[bug-3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans13 years bug_3293874Rewind from a refactoring that veered into the weeds.dgp14 years bug_32ae34e63aUpdate tests to account for changed ReflectWatch behavior.dgp10 years bug_3362446remove some unused codejan.nijtmans13 years bug_336441ed59Try not to loose FD_CONNECT by switching monitoring off.oehhar11 years bug_3365156Remove stray refcount bump that caused a memory leak.dkf14 years bug_3389764Proposed fix for 3389764. Have "path" dup routine duplicate the pattern dgp14 years bug_33920703392070 More complete prevention of Tcl_Obj reference cycles dgp14 years bug_3397515Prevent segfaults attempting to use thread maps after they've been deleted.dgp14 years bug_3401704Use better 'isalnum' predicate ; add test case.ferrieux14 years bug_3413857Test harness for Tcl_ParseArgsObjvdkf14 years bug_3414754Purge the old, buggy implementation.dgp14 years bug_3418547merge trunkdgp9 years bug_3466099Added source test with utf-8 (without -encoding param), remove too many same ...sebres13 years bug_3475569yank back debugging codedgp13 years bug_34805993480599 Make [source] and [load] order of multi-file package happen in sorteddgp13 years bug_34844023484402 Correct Off-By-One error appending unicode. Thanks to Poor Yorick.dgp13 years bug_3485833Style guide and tidying up.dgp13 years bug_3493120*nix segfault cleared: we should reset a thread key after freeing of alloc ca...sebres11 years bug_3496014[Bug 3496014]: Unecessary memset() in Tcl_SetByteArrayObj()jan.nijtmans13 years bug_3508771first working version of Cygwin notifierjan.nijtmans13 years bug_3511806now ready for further field testsjan.nijtmans13 years bug_3514475[Bug 3514475]: remove TclpGetTimeZone and TclpGetTZNamejan.nijtmans13 years bug_3519357Do filesystem tests needing /tmp access in a subdir less likely to conflict.dgp13 years bug_3522560Explicitly declare a channel nonblocking before throwing EAGAIN on write.ferrieux13 years bug_3525762explicitely specify encoding in DdeCreateStringHandlejan.nijtmans13 years bug_3525907Use zero-delays instead of finite ones when posting fileevents, because (1) t...ferrieux13 years bug_3530536two more testcases, showing that only the "deflate" and "inflate" streams don...jan.nijtmans13 years bug_3532959Revised so that we avoid hashing twice.dgp13 years bug_3536888translate script parameters for msgcatjan.nijtmans13 years bug_3544685Fix for 3544685: Threaded build failures on OpenBSD-currentjan.nijtmans13 years bug_3545363merge trunkdkf13 years bug_3555001Safer stale config fix for review.dgp13 years bug_3562640merge core-8-4-branchjan.nijtmans12 years bug_3562640_altAlternative fix for bug-3562640jan.nijtmans13 years bug_35647353564735 Protection against namespace var resolvers that unexpectedly returndgp13 years bug_3566106contributed patch for Solaris 9/x86 supportdgp13 years bug_3567063merge 8.4dgp13 years bug_3588687merge trunkdgp13 years bug_3592747Fix [tailcall] and [yieldto] to not panic in dying namespaces: [Bug 3592747]mig13 years bug_3598300Proposed solution for Bug 3598300 on MacOSXjan.nijtmans12 years bug_3598580For Tcl9, do a real Tcl_DecrRefCountjan.nijtmans13 years bug_3599789Bug 3599789: Proposed fix by Serg G. Bresterjan.nijtmans12 years bug_3600057merge markdkf12 years bug_3600057_85*BACKPORT* [3600057]: Filled out missing parts of implementation of [string i...dkf12 years bug_3600058_tdMerge to fix accidental fork in branch bug-3600058-tdtwylite11 years bug_3600328merge trunkdkf12 years bug_3601260merge core-8-5-branchjan.nijtmans12 years bug_3602706Cherrypick again. Add test.dgp12 years bug_3603434Fix for Bug 3603434.dgp12 years bug_3603553Correction to comment in re key buffer size.dkf12 years bug_3603695Apply a fix for the bug. Passes the test suite now.dkf12 years bug_3604074New branch bug-3604074 with improved patch to correct fixempties() failuredgp12 years bug_3604576Finer granulated catchoehhar12 years bug_3605401[Bug 3605401]: Compiler error with latest mingw-w64 headers.jan.nijtmans12 years bug_3605447added testdgp12 years bug_3606121Fixes to namespace-old.testdkf9 years bug_3606683merge trunkdgp12 years bug_3606683_84merge 8.4dgp12 years bug_3606683_85merge 8.5dgp12 years bug_3607246Correct unbalanced effect of TclInvalidateCmdLiteral() on the refcountsdgp12 years bug_36073723607372 Correct literal refcounting.dgp12 years bug_3608360Check for wildcards if we've used FindFirstFile inside NativeAccess.dkf12 years bug_3608714merge trunkdgp10 years bug_3609693[3609693] Must strip the internal representation of procedure-like methods indkf12 years bug_3610026Demand the error message indicating the purpose of the test.dgp12 years bug_3610383First simple-minded attempt at fix. Fixes the demo script.dgp12 years bug_3610404merge trunkdgp12 years bug_3611974minor bug: Don't TclpInitUnlock() here, because the following TclFinalizeLock...jan.nijtmans12 years bug_3613609Fixed the weird edge case.dkf12 years bug_3613671unwrapping some of the complexitydkf12 years bug_3614342Repair TCL_COMPILE_DEBUG guardsdgp12 years bug_39f6304c2emerge trunkjan.nijtmans8 years bug_46f801ea5aTry to make good stack trace. Fallback to making not-so-good stack trace.dgp8 years bug_473946Increase version to 1.2.5jan.nijtmans13 years bug_47d66253c9Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: "lsea...jan.nijtmans11 years bug_4a0c163d24New test for clock scan, test numbering correctedoehhar10 years bug_4b61afd660Improve fix and add test.dgp9 years bug_4dbdd9af14Improve the comments and add a test.dgp9 years bug_50750c735a[50750c735a] Fix for uninit memory handling issue in zlib transforms.dkf8 years bug_510001better solution for bug-510001jan.nijtmans13 years bug_547989[547989] Proposed implementation of the change described in the comments of t...dkf12 years bug_57945b574aFurther cleanup and enhancements.Joe Mistachkin10 years bug_57945b574a_without_stubmerge trunkjan.nijtmans10 years bug_581937ab1eFix bug [581937ab1e]: fire readable event on async socket connect failureoehhar11 years bug_58b96f6744make [info commands] follow the namespace path from :: (bug [58b96f6744])aspect8 years bug_593baa032cmerge trunkdgp9 years bug_5adc350683Also test transfroms that delay.dgp11 years bug_5adc350683_86merge iogt fixes.dgp11 years bug_5d170b5ca5merge trunkjan.nijtmans10 years bug_5f71353740merge trunkgahr@gahr.ch9 years bug_67aa9a2070merge core-8-6-branchjan.nijtmans8 years bug_6ca52aec14fix chan leak with http keepalive vs close (bug [6ca52aec14])aspect8 years bug_716b427f76A few more tweaks to streamline and clarify.dgp8 years bug_734138ded8Backout checkin 84f992ce50. This fixes test socket-14.11.1 and createsdgp11 years bug_75b8433707[75b8433707] Plug a subtle memory leak in TclOO. dkf11 years bug_7a87a9bc5bProposed fix for invalid write, found by valgrind.dkf10 years bug_7f02ff1efaNew test trace-18.5 for the bug. Updated trace-18.1 which was tuned to it.dgp9 years bug_80304238acExtra safety against cyclesdgp9 years bug_85ce4bf928[85ce4bf928] Fix for problems with storing Inf with [binary format R].dkf10 years bug_86ceb4e2b6merge trunkdgp12 years bug_879a0747beProposed fix for bug 879a0747bedgp10 years bug_894da183c8[894da183c8] Fix and test for bug at the point it was introduced.dgp10 years bug_8bd13f07bdPatch for [8bd13f07bde6fb0631f27927e36461fdefe8ca95|8bd13f07bd]: Closing tcl ...jan.nijtmans8 years bug_900cb0284bcTweak to make tests a little clearer.dkf8 years bug_96c3f3b47d1Tcl_GetWideIntFromObj must fail for values between WIDE_MAX+1 and UWIDE_MAX (...aspect8 years bug_97069ea11aRevert the tests for bug#97069ea11a from socket.test, because it is hard to t...max11 years bug_9b47029467631832Add test-case which demonstrates the problem. This test-case fails in trunk (...jan.nijtmans9 years bug_a3309d01dbAdd the missing cleanup bits in INST_UNSET_ARRAY.dgp10 years bug_adb198c256Pull out of the loop a block of code that can only run in first iteration.dgp8 years bug_af08e89777Rework the *FinalizeThread*() routines so that the quick exit preferencedgp11 years bug_b26e38a3e4Fix the bug. Make use of zlib API in this area more like a Tcl API with wrapp...dkf9 years bug_b5ced5865bProposed workaround for [b5ced5865b]: newer MinGW compilers can link director...jan.nijtmans11 years bug_b87ad7e914Fix for [b87ad7e9146832d505f9a430d779c5313c440256|b87ad7e914], rebased to cor...jan.nijtmans8 years bug_b9b2079e6dNew test compile-5.3 for the bug.dgp9 years bug_ba44e415a0Proposed fix for [ba44e415a0]: "Use of mutexLock causes problem with reactive...jan.nijtmans10 years bug_bbc304f61a[bbc304f61a] Proposed fix for reflected watch race condition.dgp9 years bug_bc1a96407atest casesdgp11 years bug_bd7f17bce8Enable TCL_EVAL_INVOKE support in the Tcl*Eval(Ex)* family.dgp9 years bug_bdd91c7e43Suggested fix for [bdd91c7e43]: tclsh crashes in [interp delete]jan.nijtmans12 years bug_c4e230f29brebase against trunkjan.nijtmans12 years bug_c7d0bc9a549714e0Proposed fix for [c7d0bc9a549714e0]. Thanks to mr_calvinjan.nijtmans9 years bug_d2ffcca163Limit isalpha(.) calls in the expr parser to only apply to known ASCIIdgp11 years bug_d3071887dbc7aeac.... oops ....jan.nijtmans9 years bug_d4e464ae48First attempt to fix bug [d4e464ae48]: tcl 8.5.15/8.61 breaks python make che...jan.nijtmans12 years bug_d4e7780ca1Additiona patch/suggestion from Gustaf. This indeed fixes the crash in oo.tes...jan.nijtmans9 years bug_d5ddbc7f49merge trunkdkf11 years bug_db0a5f6417Make a few tests more resilient to differences in the semantics of pipes betw...dkf9 years bug_dcc03414f5Revert bug-fix for [2413550], in order to be able to investigate whether it c...jan.nijtmans11 years bug_dfc08326e3merge trunkjan.nijtmans12 years bug_e0a7b3e5f8merge 8.5dgp10 years bug_e21fc32c2aaProposed fix for [e21fc32c2aa]: auto_execok does not check executability on W...jan.nijtmans9 years bug_e711ffb458New utility routine GetLocalScalarIndex() reduces common caller boilerplatedgp11 years bug_f1253530cdMerged trunkfvogel9 years bug_f1253530cd_altAlternative solution for [f1253530cd]jan.nijtmans9 years bug_f4f44174emove pthread_sigmask() calls to Tcl_WaitForEvent() where they belongaspect9 years bug_f97d4ee020Make the tests pass.dkf9 years bug_f9fe90d0fa[f9fe90d0fa]: more path normalization in TclNewFSPathObjaspect8 years bug_io_32_11merge 8.5dgp11 years bug_itcl_1b2865Slightly more efficient version as this is Hot Path code.dkf9 years bug_unknown_no_errorcodePotential fix for issues relating to lack of errorCode setting with unknown c...dkf12 years bugfix_832a1994c7_for_precompiled_bcFixed bug in parent revision [832a1994c7] unpredictably breaking theandreask12 years cjo_hydramerge tip-445dgp8 years compile_ensemble(experiment): Always compile ensembles. Result: 2 test failures in the "histo...jan.nijtmans8 years contrib_patrick_fradin_code_cleanupmerge trunkdgp12 years core_8_0_2_syntheticCreated branch core-8-0-2-syntheticcvs2fossil27 years core_8_0_3_prPost-release revisions to restore building on later platforms.dgp12 years core_8_0_4_syntheticCreated branch core-8-0-4-syntheticcvs2fossil27 years core_8_0_5_base_syntheticCreated branch core-8-0-5-base-syntheticcvs2fossil26 years core_8_0_5_branchApplied patch to fix sockets when the FD_CONNECT never happens redman26 years core_8_0_5_syntheticCreated branch core-8-0-5-syntheticcvs2fossil26 years core_8_0_6_branchCreating branch core-8-0-6-branchcvs26 years core_8_1_0_syntheticCreated branch core-8-1-0-syntheticcvs2fossil26 years core_8_1_b1_syntheticCreated branch core-8-1-b1-syntheticcvs2fossil27 years core_8_1_b2_syntheticCreated branch core-8-1-b2-syntheticcvs2fossil26 years core_8_1_b3_syntheticCreated branch core-8-1-b3-syntheticcvs2fossil26 years core_8_1_branch_oldFixed problem with LD_SEARCH_FLAGS on Solaris. It's different rjohnson26 years core_8_2_1_branchFix sh quoting error reported in bash-3.1+ [Bug 1377619] nijtmans15 years core_8_2_b1_syntheticCreated branch core-8-2-b1-syntheticcvs2fossil26 years core_8_2_b3_branchRemoved patch to change prototype of Tcl_ListObjGetElements. redman26 years core_8_3_1_branch[Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6: nijtmans15 years core_8_3_1_io_rewrite * generic/tclStubInit.c: hobbs25 years core_8_3_1_syntheticCreated branch core-8-3-1-syntheticcvs2fossil25 years core_8_4_20_rcTag for release.dgp12 years core_8_4_a2_syntheticCreated branch core-8-4-a2-syntheticcvs2fossil25 years core_8_4_branchmerge releasedgp12 years core_8_5_10_rcmerge to RCdgp14 years core_8_5_11_rctag&bag another 8.5.11 RC.dgp14 years core_8_5_12_rcmerge 8.5dgp13 years core_8_5_13_rcChangeLog release markdgp13 years core_8_5_14rcRedate. Retag RC1.dgp12 years core_8_5_15_rcAdded note to ChangeLog pointing to the fossil timeline for better logging.dgp12 years core_8_5_16_rc`make dist` allowed README-* fossil droppings to leak into the distribution.dgp11 years core_8_5_17_rcupdate changesdgp11 years core_8_5_18_rcrepair nroff breakagedgp10 years core_8_5_19_rcupdate release datedgp9 years core_8_5_a5_syntheticCreated branch core-8-5-a5-syntheticcvs2fossil19 years core_8_5_branch[0e4d88b650] Allow command overwrite when deletion callback deletes namespace.dgp8 years core_8_5_branch_fix_1997007code review: restore missing "break" to step out from internal cycle "while (...sebres8 years core_8_6_0_rcmerge trunk, update changes and re-tagdgp13 years core_8_6_1_rcmerge trunkdgp12 years core_8_6_2_rcmerge trunk; update changesdgp11 years core_8_6_3_rcLikely fix for channel mem leaks.dgp11 years core_8_6_4_rcupdate changesdgp10 years core_8_6_5_rcmerge trunkdgp9 years core_8_6_6_rca few test & docs fixesdgp9 years core_8_6_7_rcbump release datedgp8 years core_8_6_b2_rcmerge from trunk to rc all but the AI_ADDRCONFIG experimentdgp14 years core_8_6_b3_rcTag Tcl 8.6b3 for release.dgp13 years core_8_6_branchRFE [566a999189] - better error message for 32/64 bit mismatch on load.apnadkarni8 years core_8_6_branch_forkFixup the ensemble rewrite conversions.dgp9 years core_8_7_a1_rcmerge trunk; rc1dgp8 years core_stabilizer_branchmerge updates from 8.5 branch dgp17 years core_stabilizer_merge_syntheticCreated branch core-stabilizer-merge-syntheticcvs2fossil17 years core_zip_vfsImprovements to Tip#430 based on community input. Added a forward declaration...hypnotoad8 years core_zip_vfs_c_encoderTweaks to buildhypnotoad11 years core_zip_vfs_staticAdd Static library link instructions to tclConfig.shhypnotoad11 years cpuid_on_unixcpuid-on-unixjan.nijtmans13 years cygwin_environment_changescygwin should use SetEnvironmentVariable for windows envjan.nijtmans13 years dah_proc_arg_upvarMore comments, fix bug where numArgs should be argCtdah9 years damkerngt_file_utimeAdd new sub-command: file utime ?ATIME? MTIMEdamkerngt12 years daves_chop_branchCreating branch daves-chop-branchcvs24 years daves_mk_branchworks! I feel like a sculpter. Not done, by far. davygrvy24 years dev_8_1_stubs_branchMerged 8.0 stub changes stanton26 years dev_hobbs_branchrefactored varname pushing code and some of the bytecode instructions hobbs24 years dev_stubs_branch* tools/genStubs.tcl: Reorganized code to support mixed generic stanton26 years dgp_3401704Tidiness, comments, and tests.dgp14 years dgp_async_socketThese edits make all tests outside of socket-14.* pass on OSX Mavericks.dgp11 years dgp_bug_findNow fix the bug.dgp9 years dgp_bye_ctx_eval_flagConsolidate some helper routines.dgp12 years dgp_bye_location_eval_listDrop TCL_LOCATION_EVAL_LIST now that it is unused.dgp12 years dgp_channel_flag_repairSimplify the inputProc of [testchannel transform].dgp11 years dgp_cmd_epochRemove dup line.dgp9 years dgp_compile_list_shimmerUnless I'm missing something, this patch to TclCompileListCmd() shoulddgp12 years dgp_defer_string_repTidier version.dkf10 years dgp_demoFixup restacking tests to expect the right results.dgp11 years dgp_dup_encoding_fixmerge trunkdgp9 years dgp_ecrMissed a cleanup line, which created a memleak.dgp9 years dgp_encoding_flagsSupport TCL_ENCODING_CHAR_LIMIT in TableToUtfProc and EscapeToUtfProc drivers.dgp11 years dgp_ensemble_rewritemerge 8.6dgp9 years dgp_eofCorrect some faulty assumptions in the zlib transformation input driver. dgp11 years dgp_experimentSimplify ReadBytes based on new constraints.dgp11 years dgp_flush_channelUpdate comment to explain assumptions.dgp11 years dgp_hoehrmann_decoderFeature branch to explore making use of the Hoehrmann UTF-8 decoder.dgp13 years dgp_init_bytecodeParameterize TclInitByteCodeObj to callers sense of typePtr.dgp9 years dgp_list_simplifyRemove the old implementation.dgp14 years dgp_literal_reformmerge trunkdgp9 years dgp_may_be_pointlessRevised ReadChars to restore an attempt to make sure we do not short readdgp11 years dgp_move_buffersmerge trunkdgp11 years dgp_no_buffer_recycleRevise the logic for setting TCL_ENCODING_END in the outputEncodingFlagsdgp11 years dgp_optimize_output_stageBe sure to finalize the identity encoding.dgp11 years dgp_pkg_migrationmerge trunkdgp11 years dgp_properbytearraymerge novemdgp8 years dgp_purge_NRRunObjProcTidy the code and add a test.dgp12 years dgp_read_bytesMerge 8.5.dgp11 years dgp_read_bytes_detourmissing declarationdgp11 years dgp_read_charstidy up.dgp11 years dgp_refactorRefactor code common to merge and insert.dgp8 years dgp_refactor_merge_syntheticCreated branch dgp-refactor-merge-syntheticcvs2fossil14 years dgp_remove_string_resultrevert mistaken commitdgp13 years dgp_reviewequivalentjan.nijtmans12 years dgp_revise_parsedvarnametypeThere's a "parsedVarName" Tcl_ObjType that remembers how a variable namedgp9 years dgp_scan_elementmerge trunkjan.nijtmans13 years dgp_slow_readSame results; simpler logic.dgp11 years dgp_sprintfStart branch reducing use of sprintf().dgp12 years dgp_stack_depth_testerReport pc value when VERIFY fails.dgp12 years dgp_stackedstdchanFix for core bug yet to be named/numbered.dgp13 years dgp_stop_regexp_test_crashBackout the contributed patch memaccounting from Postgres since it changesdgp@users.sourceforge.net9 years dgp_string_catReplace indexing with pointer increments.dgp9 years dgp_string_findOptimize case of all single-byte chars.dgp9 years dgp_stringcat_delaystringrepDon't test the impossible.dgp8 years dgp_switch_compileDrop old code.dgp14 years dgp_tailcall_errorinfoSuppress additions to the -errorinfo from a tailcall-invoked command.dgp10 years dgp_tailcall_errorinfo_altDifferent solution to the tailcall impact on -errorinfo.dgp10 years dgp_tcs_rewrite[assemble] compile syntax error into bytecode reporting syntax error message.dgp12 years dgp_thread_leaksUse the Thread package instead of the [testthread] command to do dgp14 years dgp_trunk_flag_repairSame improvements to the zlib transform operations.dgp11 years dgp_trunk_readmerge trunkdgp11 years dgp_win_specific_strictUpon further review, due the order of #include of headers, we do not havedgp10 years dgp_writebytes_optimizeMake simplificiations possible when we know just bytes are getting copieddgp11 years dkf_64bit_support_branchAdded test for meaning of tcl_platform(wordSize) dkf23 years dkf_alias_encodingmerge trunkdkf13 years dkf_asm_crash_20131022merge trunkdgp12 years dkf_bcc_optimizemerge trunkdkf12 years dkf_better_try_compilationFix the problems with code generation; behavior now appears correct.dkf12 years dkf_bytecode_8_6compilation of [string is]dkf11 years dkf_bytecode_8_6_evalmerge main working branchdkf11 years dkf_bytecode_8_6_joinmerge main working branchdkf11 years dkf_bytecode_8_6_nextmerge main working branch; made opcode work by getting callback ordering rightdkf11 years dkf_bytecode_8_6_string_isimprove the disassemblydkf11 years dkf_bytecode_8_6_string_replaceprecondition was wrong, and needed to flush part of the string/internal repdkf12 years dkf_bytecode_8_6_yieldfix INST_YIELD so that it worksmig13 years dkf_bytecode_optimizermerge trunkdkf12 years dkf_command_typemerge trunkdkf12 years dkf_compile_improvementsmerge trunkdkf12 years dkf_dict_with_compiledAdd the other instructions to the assembler's nous.dkf14 years dkf_documentation_figuresmerge trunkdkf13 years dkf_expose_ptrgetvarmerge trunkdkf8 years dkf_expose_ptrgetvar_8_6Expose some of the core variable access APIs. dkf8 years dkf_http_cookiesmerge trunkdkf11 years dkf_improved_disassemblerTidy things up a bit more.dkf11 years dkf_loop_exception_range_workAnd the last bits that need fixing; the code is still less efficient than des...dkf12 years dkf_namespace_as_ensembleAdd ChangeLog entry.dkf14 years dkf_notifier_pollmerge trunkdkf13 years dkf_oo_override_definition_namespacesThink-o fix...dkf8 years dkf_quieter_compilesmore quieting of excessively-noisy messagesdkf11 years dkf_reviewremove uninitialized variable and the code that used it mig12 years dkf_utf16_branchmerge trunkdkf13 years dkf_wait_with_pollExperimental branch on whether to use poll() instead of select().dkf9 years dogeen_assembler_branchmerge trunkKevin B Kenny14 years dogeen_assembler_merge_syntheticCreated branch dogeen-assembler-merge-syntheticcvs2fossil15 years drh_micro_optimizationMerge trunkjan.nijtmans9 years editorconfigEditorconfig support (experimental)jan.nijtmans9 years empty_bodiesmerge trunkMiguel Sofer10 years experimentmerge 8.5dgp11 years experimentalFix typo in previous check-in.Joe Mistachkin10 years ferrieux_naclAdd a local copy of reference JS demo at same fps. Add an interactive tclsh p...ferrieux14 years fix_1997007merge core-8-6-branchjan.nijtmans8 years fix_42202ba1e5ff566ebug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectsebres8 years fix_8_5_578155d5a19b348dstability fix: try to avoid segfault using released object, in error case of ...sebres8 years fix_win_native_accessmerge to bugfix branchdgp13 years fix_windows_zlibFix for the cases where a dynamic build is usedhypnotoad11 years forgiving_pkgconfigoopsjan.nijtmans13 years freq_3010352_implFRQ 3010352 implementationjan.nijtmans14 years frq_3527238merge trunkjan.nijtmans13 years frq_3544967same fore Makefile.injan.nijtmans13 years frq_3579001merge trunkjan.nijtmans13 years frq_3599786Experimental: categories added to man pages; enhance tcltk-man2html to use ca...twylite12 years gahr_split_installCreate new branch named "gahr-split-install"gahr9 years gahr_ticket_dee3d66bc7[dee3d66bc7] Remove 'any' afgahr9 years gahr_ticket_e6f27aa56fmerge trunkjan.nijtmans9 years gahr_tip_447Merge trunkgahr9 years griffin_numlevelsmerge 8.5dgp13 years htmlCopyrightsFixFix the generated copyright sections in the HTML help file.Joe Mistachkin9 years htmlhelpFixSet the default topic, enable full-text search, and put all help output files...Joe Mistachkin9 years http3Checkpoint of work in progress.dkf8 years hypnotoadUpdating hypnotoad branchtne11 years hypnotoad_bug_3598385Merging in changes from trunkseandeelywoods12 years hypnotoad_prefer_native_8_6Bringing patch up to date with the latest trunkhypnotoad12 years hypnotoad_vexprBringing vexpr up to date with the latest trunk.hypnotoad12 years info_linkednameAdd [info linkedname] introspection commandmlafon8 years initsubsystemsmerge trunkjan.nijtmans8 years initsubsystems2revert previous 2 commits: Setting argv0 as well is not a good idea. Needs to...jan.nijtmans12 years initsubsystems2_splitHow would it look like, if the various initializations were split in separate...jan.nijtmans12 years iocmd_leaksConstrain test iocmd.tf-32.1 to be skipped during valgrinding. It contains a dgp14 years iosTesting patches for iOS supportKevin Walzer11 years irontclThe 'clean' target should delete the generated 'nmhlp-out.txt' file as well.Joe Mistachkin8 years jcr_notifier_pollMerge from trunkevilotto11 years je_tty_cleanupCreate new branch named "je-tty-cleanup"joe13 years jenglish_termios_cleanup... which means struct TtyState can be replaced with struct FileState.joe12 years jn_0d_radix_prefixmerge trunkjan.nijtmans8 years jn_Tcl_requirementLet Tcl 8.7 allow Tk 8.7 to be used by defaultjan.nijtmans9 years jn_emptystringMerge trunk. Don't use ListObjLength() in tclStrToD.cjan.nijtmans8 years jn_frq_3257396merge latest trunkjan.nijtmans14 years jn_no_struct_namesunnecessary hook struct definitionsjan.nijtmans13 years jn_unc_vfsintegrate QNX special path handling better with TIP #402jan.nijtmans13 years jn_wide_printfImplement all possible TCL_LL_MODIFIER formats in Tcl_ObjPrintf(), can be "ll...jan.nijtmans9 years kbk_clock_encoding_ensemblesMake 'clock' and 'encoding' into compilable ensembles that play with safe int...Kevin B Kenny8 years kennykb_numerics_branchmerge updates from HEAD dgp20 years kennykb_tip_22_33 * Typo correction. dgp24 years kennykb_tip_22_33_botchedDevelopment branch for TIPs 22 and 33 Kevin B Kenny24 years lanam_array_for_implMerge trunkandy9 years libtommath'const'ify all libtommath functions, will appear in next libtommath version. ...jan.nijtmans8 years libtommath_1_0Restore bn_mp_radix_size.c to exact copy of libtommath-1.0 version: Since the...jan.nijtmans9 years libtommath_1_0_1Merge libtommath 1.0.1 finaljan.nijtmans8 years libtommath_tcl_fixes_75(experiment) See: [https://github.com/libtom/libtommath/pull/75] proposal by ...jan.nijtmans8 years littleMerge 8.6.5dgp9 years macosx_8_4_branchadded macosx-8-4-branch ChangeLog entries das23 years masterMerge latest 'const'ification changes from libtommath (develop branch, will b...jan.nijtmans8 years merge_tzdata_to_trunkMerge Forkvenkat9 years micro_optMerge tip-444gahr9 years mig_alloc_reformmerge trunkmig12 years mig_catch_compilerallow simple optimization of the OK case, at the cost of some code duplicationmig12 years mig_errstill no goodmig12 years mig_no280merge trunkmig12 years mig_nre_modscode reordering, no func changesMiguel Sofer10 years mig_opt2replace indirect with direct jumps where possible; little effect for now, pen...Miguel Sofer9 years mig_opt2_tmp(NON_PORTABLE) insure good cache alignment of NRE_callbackMiguel Sofer9 years mig_opt_foreachchange NULL to INT2PTR(0), for claritymig12 years mig_optimize*** ABANDONED - see branch mig-opt2 *** Miguel Sofer10 years mig_review[010f4162ef] Repair effect of trace errors on -errorinfo and -errorstack.dgp12 years mig_stacklevelsstop looking at the C-stack depthmig12 years mig_strip_brutalmerge no280, emptymig12 years mig_tailcall_cleanupmore commentsMiguel Sofer10 years mig_tmpupdate the range data for code that was moved to the endMiguel Sofer10 years mig_tmp_optimizeMaking the optimizer pluggable by extensions; please review for committing to...mig12 years minimal_fix_for_3598300_problemsAs minimal a fix for the issues with [3598300] as I can make.dkf12 years miniz*** NON WORKING BUILD *** hypnotoad11 years mistachkin_review**TIP #285 untested by the testsuite if the thread extension is not available...mig11 years mistakeCheck in reference implementation of TIP 452.gerald8 years mistake_20110314Revert previous commit: I was not aware that we have a fork of libtommathjan.nijtmans14 years mistake_20110314aRevert previous commit: I was not aware that we have a fork of libtommathjan.nijtmans14 years mistkae[50750c735a] Possible fix for uninit memory handling issue in [zlib].dkf8 years mod_8_3_4_branch * generic/tclProc.c (TclCloneProc): Fixed leaking of 'procNew', andreas_kupries22 years more_macrosmerge trunkjan.nijtmans12 years msgcat_dyn_localeAdded tests for mcforgetpackage, mcpackagelocale and mcpackageconfigoehhar10 years msofer_bcEngineupdated some comments Miguel Sofer24 years msofer_wcodes_branch * generic/tclExecute.c: fixing an error in INST_LNOT and Miguel Sofer20 years msvc_with_64bit_zlib1_dllExperiment: MSVC build now links with 64-bit zlib1.dlljan.nijtmans13 years no_shimmer_string_lengthfix broken lset tests, now all test-cases pass!jan.nijtmans12 years no_smartrefAttempt to get new clock code working without the need for smartref.jan.nijtmans8 years nonmonotonic_obj_allocZap outdated comment.ferrieux11 years notifierIntroduce new function TclInitThreadAlloc(), symmetric with TclFinalizeThread...jan.nijtmans8 years novemMerge trunkjan.nijtmans8 years novem_64bit_sizesmerge novemdkf12 years novem_ak_iframe_directCleaning up some of the internals of TIP #280.andreask13 years novem_ak_preserve_experimentsThis branch explores the performance implications of relacing the andreask13 years novem_bighashMerge novemjan.nijtmans9 years novem_bug_3598300merge novemjan.nijtmans11 years novem_demo_bug_3588687now change magic value, to demonstrate better solutionjan.nijtmans13 years novem_freeifrefcountzeroFix correct cleanup in more situations, using a new macro TclFreeIfRefCountZerojan.nijtmans13 years novem_more_memory_APImerge novemjan.nijtmans8 years novem_no_register_objtypesuse longValue as internal repr in stead of wideValue. jan.nijtmans12 years novem_no_shimmer_string_lengthNew experiment (ended), regarding non-shimmering "string length"jan.nijtmans12 years novem_no_startcmdmerge changes from trunkdkf12 years novem_numbers_eiasWIP getting rid of the ::tcl_precision variabledgp13 years novem_purge_literalsBranch to investigate what happens when we no longer maintain shareddgp12 years novem_reduced_bytecodesmerge main novem branchdkf13 years novem_reduced_symbol_exportimprove compatibility with initsubsystems branchjan.nijtmans12 years novem_remove_string_resultNo string result -> no more need for TCL_RESULT_SIZEdgp13 years novem_remove_vamerge novemjan.nijtmans12 years novem_rename_memory_APIRename the memory routines so that Tcl_Alloc/Tcl_Free/etc become the recommendeddgp13 years novem_reviewProposed rollback of the TCL_STUB_MAGIC change on novem branch.dgp13 years novem_saveresult_as_macroImplement Tcl_SaveResult/Tcl_DiscardResult/Tcl_RestoreResult as macrojan.nijtmans13 years novem_supportdo some Tcl_EvalEx, for test-purposes, demonstrating a crashjan.nijtmans13 years novem_two_layer_listFirst sketches of a two-layer data structure for storing Tcl lists.dgp12 years novem_unversioned_stubmerge novem. Some more fixes.jan.nijtmans12 years off_8_4_branchWrap test-case over multiple lines.jan.nijtmans12 years off_trunkAdded tooltip generation to contents and keywords pages.dkf13 years on_hold_84<i>On-hold at Don Porter's request.</i> jan.nijtmans13 years on_hold_85<i>On hold at Don Porter's request</i> jan.nijtmans13 years on_hold_trunk<i>on-hold at Don Porter's request</i> jan.nijtmans13 years oo_copy_nsImprove docs, add tests, fix a corner case in the implementation.dkf8 years other_64bit_candidatesThis doesn't compile! Just a reminder to myself which other API's/fields/what...jan.nijtmans13 years package_filesFlightAware feedback: "Aside: Any way to find out what the pkgIndex.tcl file ...jan.nijtmans8 years panic_noreturnDecorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further ...jan.nijtmans10 years prevent_inlinePrevent inlining of StackGrowsDown(), in case of cross-compilingjan.nijtmans12 years privatexjan.nijtmans13 years pseudotrunk_2011_03_08More gcc warnings: variable set but not usedjan.nijtmans14 years pyk_emptystringmerge trunkjan.nijtmans8 years pyk_expr_numericHarmonize tests with expr implementation.pooryorick9 years pyk_listdictstringrepAdd back constraint that direct dict->list conversion is only done when no st...pooryorick9 years pyk_pkgrequirenreNRE-enable [package ifneeded] scripts.pooryorick9 years pyk_trunkmerge pyk-listdictstringreppooryorick9 years remove_pathappend_intrepmerge trunkdgp14 years remove_trim_headerRevert Makefile.in changes and remove added tclStringTrim.h header. jan.nijtmans11 years revert_3396731Repaired the lost performance in the copy loop hotspots. Now meets or dgp14 years rfe_1711975Tcl_MainEx() (like Tk_MainEx())jan.nijtmans14 years rfe_3216010Merge to feature branchdkf14 years rfe_3389978More efficient/robust implementation of function TclNativeCreateNativeRep(). jan.nijtmans11 years rfe_3432962Submitted patch on interactive use of the rc file.dgp13 years rfe_3464401merge to feature branchjan.nijtmans13 years rfe_3473670merge trunkjan.nijtmans13 years rfe_6c0d7aec67merge core-8-6-branchjan.nijtmans8 years rfe_854941Minor simplification and correct TCL_NORETURN decorationjan.nijtmans10 years rfe_b42b208ba4Only write back file attributes if any of them really changed.jan.nijtmans11 years rfe_dfc08326e3The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of TclO...jan.nijtmans12 years rfe_notifier_forkFixed test case variable clash with 'folder'oehhar12 years rmax_ipv6_branchcomplete a comment in socket.testmax14 years rmax_ipv6_merge_syntheticCreated branch rmax-ipv6-merge-syntheticcvs2fossil15 years robust_async_connect_testsmerge trunkjan.nijtmans11 years scriptics_sc_1_0_branchCreating branch scriptics-sc-1-0-branchcvs26 years scriptics_sc_1_1_branchCreating branch scriptics-sc-1-1-branchcvs26 years scriptics_sc_2_0_b2_syntheticCreated branch scriptics-sc-2-0-b2-syntheticcvs2fossil25 years scriptics_sc_2_0_b5_syntheticCreated branch scriptics-sc-2-0-b5-syntheticcvs2fossil25 years scriptics_sc_2_0_fixed_syntheticCreated branch scriptics-sc-2-0-fixed-syntheticcvs2fossil25 years scriptics_tclpro_1_2added missing files, changed to handle CRLF translations stanton26 years scriptics_tclpro_1_2_oldUpdated patchlevel for final release. rjohnson26 years scriptics_tclpro_1_2_syntheticCreated branch scriptics-tclpro-1-2-syntheticcvs2fossil26 years scriptics_tclpro_1_3_b2_branchFixed so patchlevel is included in installer strings. stanton26 years scriptics_tclpro_1_3_b3_syntheticCreated branch scriptics-tclpro-1-3-b3-syntheticcvs2fossil26 years sebres_8_5_event_perf_branchmerge (integrate) sebres-event-perf-fix-busy-waitsebres8 years sebres_8_5_timerate[win32] optimized calibration cycle (makes Tcl for windows "RTS" resp. NRT-ca...sebres8 years sebres_8_6_clock_speedupsmall amend with forgetten static keyword by optionsebres8 years sebres_8_6_clock_speedup_cr1fixed overflow of year (resp. julianday), closes ticket [16e4fc3096]; test ca...sebres8 years sebres_8_6_event_perf_branchmerge sebres-event-perf-fix-busy-waitsebres8 years sebres_8_6_timerateman for timerate (doc/timerate.n)sebres8 years sebres_clean_core_8_5generic: reduced diffs to trunk, win: clean code after bug [f00009f7ce] was f...sebres10 years sebres_clock_speedupCreate new branch named "sebres-clock-speedup"sebres8 years sebres_clock_tz_fixclock - FreeScan (resp. Oldscan): repair scanning date/time with TZ using '+'...sebres10 years sebres_event_perf_fix_busy_waitavoid busy wait if new short block-time will be set within service event-cycl...sebres8 years sebres_optimized_8_5merge bugfixdkf13 years sebres_trunk_clock_speedupmerge sebres-8-6-clock-speedupsebres8 years sebres_trunk_timeratereintergrate (merge back) "sebres-8-6-timerate" into "sebres-trunk-timerate"sebres8 years semverRe-base to trunk. Now versioned as 8.7.0-alpha.2jan.nijtmans8 years stwo_dev86Change the return type of Tcl_RegisterChannel from void to Tcl_Channel and ha...stu8 years tclPlatformEngineUpdate comment with TIP number.Joe Mistachkin9 years tcl_nosize(Bad idea)jan.nijtmans13 years tclchan_assertionsbackout backwards-incompatible experiment that was accidentally committedbch10 years tclpro_1_5_0_syntheticCreated branch tclpro-1-5-0-syntheticcvs2fossil25 years tcltest_verbose_descGeneralization: desc is now appended to most events.ferrieux11 years tgl_pg_reAdapted new tests contributed from Tom Lane @postgres.dgp10 years thread_leaksstop segfaultdgp14 years ticket_9b2e636361Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to kee...jan.nijtmans12 years ticket_e770d92d6Patch to add support for higher baud rates under Unix Ticket [e770d92d76]]hypnotoad10 years tip280_test_coverageRevert the revised macros used in developing the new tests.dgp12 years tip404_tcl8_5Correct build version and backported 973091ef75oehhar13 years tip429_only_idRecognize that "id" is the K combinator in disguise. Rename it as "K" and ext...ferrieux11 years tip_106_implfix handling of closing '\0' for -binary datajan.nijtmans13 years tip_162_branchread() errors or EOF shall not prevent write(). This allows for proper grace...davygrvy16 years tip_257_implementation_branchRenamed functions to reduce confusion and added to header file. dkf19 years tip_257_implementation_branch_root_syntheticCreated branch tip-257-implementation-branch-root-syntheticcvs2fossil19 years tip_257_merge1_branch_20061020T1300add tclOO* files das19 years tip_278_branch * tests/namespace-old.test (5.4 6.12,14,15): Miguel Sofer19 years tip_282merge trunkdgp8 years tip_302Added patch for win/configure.in into win/configure.acoehhar9 years tip_312merge trunkjan.nijtmans8 years tip_318_updatemerge trunkjan.nijtmans13 years tip_388_implmerge trunk to feature branchjan.nijtmans14 years tip_389_implmerge trunkjan.nijtmans8 years tip_395_with_alt_namealternative TIP 395 implementation:jan.nijtmans13 years tip_398_implCompat flag, test, and doc update.ferrieux13 years tip_400_implmerge trunkdkf13 years tip_401merge trunkdgp13 years tip_404ChangeLog entry addedoehhar13 years tip_405_impl_tdmerge trunkdkf13 years tip_427Documented "fconfigure $h -connecting" on socket man pageoehhar11 years tip_428Merge trunkoehhar11 years tip_429merge trunkferrieux11 years tip_436Added tests.dkf10 years tip_440_altRedo TIP #440 alternative again, now using "info runtime".jan.nijtmans9 years tip_440_backportBackport of TIP #440.Joe Mistachkin9 years tip_444merge trunkgahr9 years tip_445More TIP 445 conversion of the "path" Tcl_ObjType.dgp8 years tip_445_forkmerge trunkdgp9 years tip_445_rejectConvert the "bytearray" Tcl_ObjType to use the proposed Tcl_ObjIntRepdgp9 years tip_452Tests for ::http::Write done.gerald8 years tip_456Further experimental follow-up: Add internal function TclOpenTcpClientEx(), a...jan.nijtmans8 years tip_456_forkmerge forkjan.nijtmans9 years tip_457TIP#457: Update named group endingmlafon8 years tip_458merge trunkdgp8 years tip_458_experimentExperiment, does this work? Still to be tested: Eliminate variable triggerPip...jan.nijtmans8 years tip_463merge trunkdgp8 years tip_465Deal with backslashes in ${...}, change "char" to "character" in error, fix t...avl8 years tip_468merge (minor style issues from) trunkjan.nijtmans8 years tip_468_bisMerge "tip-468" branch. Add new function Tcl_OpenTcpClientEx() with same chan...jan.nijtmans8 years tip_469Make it work again with new epoll Notifieravl428 years tip_470merge trunkdkf8 years tip_473Documentation correction; issue pointed out by DGP.dkf8 years tip_59_implementation2002-04-05 Daniel Steffen <das@users.sourceforge.net> das23 years tip_improve_execFirst part of upcoming TIP - Improving [exec]'s syntax : the syntax extension...ferrieux12 years tk_bug_9eb55debc5Was handling the flushing at the end of the stream wrongly.dkf9 years tkt3328635_posix_monotonic_clockMerge trunkjan.nijtmans8 years tkt_04e26c02c0Make sure not to miss bignumsgahr8 years tkt_414d10346bAnother attempt to cleanup stale remnants of the notifier subsystem.Joe Mistachkin12 years tkt_4d5ae7d88a[4d5ae7d88a] Restore default-to-error logic in TcpConnectgahr9 years unbreak_tclcompilerPartial revert of [a16752c252] bug fix to stop crashes in buggy tclcompiler.dgp12 years unknown_rewritemerge trunkdgp13 years unprovenwipdgp14 years unsetThreadDataAlso finalize the condition variables for each notifier thread.Joe Mistachkin12 years unwantedmerge trunkdgp8 years updateextended* added some docco for [update] changes.colin9 years vc_reformAdd default-* targetsapnadkarni8 years vs_ide_compilemerge core-8-5-branchjan.nijtmans8 years werner_utf_max_6Patches by Christian Werner, supporting TCL_UTF_MAX=6 on Windows. Doesn't wor...jan.nijtmans10 years win32_armSupport compiling Tcl for Win32 on ARM.Joe Mistachkin12 years winFixesmerge core-8-6-branch. Undo changes to coffbase.txt (they cause overlap with Tk)jan.nijtmans9 years win_console_panicRebase to trunkjan.nijtmans8 years win_sock_async_connect_race_fixsocket -async and gets/puts stall on windows (Ticket [336441ed59]) andreask11 years z_modifierMerge trunkjan.nijtmans8 years zipfsMerge core-8-6-branch, fallback for MAP_FILEjan.nijtmans8 years zippy_fifoReduce the list walking by keeping lastPtr fields.dgp10 years zlib_1_2_6[Frq 3483854] zlib-1.2.6jan.nijtmans13 years