12008-12-31  Don Porter  <dgp@users.sourceforge.net>
2
3	* unix/Makefile.in:	Set TCLLIBPATH in SHELL_ENV so that targets
4	like `make shell` have access to builds of bundled packages.
5
62008-12-28  Donal K. Fellows  <dkf@users.sf.net>
7
8	* generic/tclZlib.c (Tcl_ZlibStreamPut): Plug a memory leak.
9
102008-12-27  Donal K. Fellows  <dkf@users.sf.net>
11
12	* generic/tclZlib.c (ZlibStreamCmd): Fix compilation consistency. [Bug
13	* generic/tcl.decls:		     2470237]
14
15	* generic/tclZlib.c (Tcl_ZlibStreamGet): Corrected the semantics of
16	this function to be useful to the PNG implementation. If the argument
17	object is empty, this gives the previous semantics.
18	(Tcl_ZlibStreamChecksum): Corrected name to be less misleading; it
19	only produced Adler-32 checksums when the stream was processing the
20	right type of compressed data format.
21	(Tcl_ZlibAdler32, Tcl_ZlibCRC32): Corrected types so that they work
22	naturally with the results of Tcl_GetByteArrayFromObj().
23	*** POTENTIAL INCOMPATIBILITY *** for all above changes, but very
24	unlikely to be difficult for anyone to deal with.
25
262008-12-26  Donal K. Fellows  <dkf@users.sf.net>
27
28	* generic/tcl.decls: Tidy up the commenting style, adding markers for
29	each of the big release points under TCT stewardship and noting the
30	general purpose of each TIP that added C API. Overall effect is to
31	make this file much more informative to read without having to spend
32	effort correlating with TIPs and ChangeLogs.
33
342008-12-23  Jan Nijtmans  <nijtmans@users.sf.net>
35
36	* win/Makefile.in:	Fix build of zlib objects with msvc
37	* win/tcl.m4:
38	* win/configure:	autoconf-2.59
39
402008-12-23  Donal K. Fellows  <dkf@users.sf.net>
41
42	* win/Makefile.in: Handle file extensions correctly. [Bug 2459725]
43
442008-12-22  Pat Thoyts  <patthoyts@users.sourceforge.net>
45
46	*** 8.6b1 TAGGED FOR RELEASE ***
47
48	* win/makefile.vc: Ensure pkgs directories are suitable and quote the
49			   paths. [Bug 2458395]
50
512008-12-22  Joe Mistachkin  <joe@mistachkin.com>
52
53	* tools/man2help2.tcl: Added support for "\(mi" nroff macro. [Bug
54	2330040]
55
562008-12-22  Pat Thoyts  <patthoyts@users.sourceforge.net>
57
58	* win/makefile.vc: Support the pkgs tree in the NMAKE builds.
59
602008-12-21  Daniel Steffen  <das@users.sourceforge.net>
61
62	* unix/Makefile.in:	Fix broken build of bundled packages when path
63				to build dir contains spaces by switching to
64				relative paths to toplevel build dir.
65
66	* unix/configure.in:	Preserve configure environment variables for
67				sub-configures of bundled packages; reuse
68				configure cache file for sub-configures.
69
70	* unix/configure:	autoconf-2.59
71
722008-12-21  Donal K. Fellows  <dkf@users.sf.net>
73
74	* doc/TclZlib.3: Fix minor typo. [Bug 2455165]
75
762008-12-20  Kevin B. Kenny  <kennykb@acm.org>
77
78	* win/Makefile.in:	Renamed the static library libtcl86s.a to
79	* win/configure.in:	have a name distinct from the import library
80				libtcl86.a. This renaming dodges an ancient
81				bug in the Makefile revealed by the last
82				commit where the $(TCL_LIB_FILE) rule can
83				fire to try to build the static library in a
84				--enable-shared build (and create a static
85				library that subsequently fails to link).
86				Revised the zlib objects so that they are
87				built directly into the build dir, without
88				building an intermediate static library.
89				*** POTENTIAL INCOMPATIBILITY *** for
90				embedders who link to the static library, but
91				I couldn't figure out how to sort this out
92				any other way.
93	* win/configure:	Autoconf 2.59
94
952008-12-20  Donal K. Fellows  <dkf@users.sf.net>
96
97	* win/Makefile.in: Minor updates to make building work better with
98	msys on Windows. (Apparently the gcc used doesn't like a / at the end
99	of a -I argument...)
100
1012008-12-20  Don Porter  <dgp@users.sourceforge.net>
102
103	* changes:	Updates for 8.6b1 release.
104
1052008-12-20  Daniel Steffen  <das@users.sourceforge.net>
106
107	* unix/Makefile.in:	Make package install directory of bundled
108	* unix/configure.in:	packages configurable via PACKAGE_DIR makefile
109				variable (set to platform-specific default).
110
111	* unix/Makefile.in (*-packages): Ensure toplevel targets fail if
112				sub-make/configure fails; fix quoting when
113				builddir path contains spaces.
114
115	* macosx/GNUmakefile:	Add install-packages to install targets.
116
117	* unix/configure:	autoconf-2.59
118
1192008-12-19  Don Porter  <dgp@users.sourceforge.net>
120
121	* doc/NRE.3:		Formatting errors found by `make html`
122	* doc/Tcl_Main.3:
123	* doc/zlib.n:
124
125	* tests/chanio.test:	Add missing [removeFile] cleanups.
126	* tests/io.test:	Add missing [close $f] to io-73.2.
127
128	* unix/Makefile.in:	Update `make dist' target to include the files
129	from the compat/zlib directory as well as all the bundled packages
130	found under the pkgs directory, according to their individual `make
131	dist' targets. Change includes breaking a `configure-packages' target
132	out of the `packages` target.
133
134	* README:		Bump version number to 8.6b1
135	* generic/tcl.h:
136	* library/init.tcl:
137	* tools/tcl.wse.in:
138	* unix/configure.in:
139	* unix/tcl.spec:
140	* win/configure.in:
141
142	* unix/configure:	autoconf-2.59
143	* win/configure:
144
1452008-12-19  Jan Nijtmans  <nijtmans@users.sf.net>
146
147	* generic/tclInt.decls: CONSTify TclGetLoadedPackages second param
148	* generic/tclLoad.c
149	* generic/tclIntDecls.h (regenerated)
150
1512008-12-19  Kevin Kenny  <kennykb@acm.org>
152
153	* generic/tclExecute.c:	Fix compile warnings when --enable-symbols=all
154
155	* win/configure.in:
156	* win/Makefile.in: Added build of packages in the 'pkgs/' directory.
157	* win/configure: Autoconf 2.59
158
1592008-12-19  Pat Thoyts  <patthoyts@users.sourceforge.net>
160
161	* win/makefile.vc: Added build of compat/zlib
162
1632008-12-18  Andreas Kupries  <andreask@activestate.com>
164
165	* generic/tclIO.c (Tcl_CloseEx, CloseWrite, CloseChannelPart)
166	(ChanCloseHalf): Rewrite the half-close to properly flush the channel,
167	like is done for a full close, going through FlushChannel, and using
168	the flag BG_FLUSH_SCHEDULED (async flush during close). New functions
169	CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE.
170
171	* tests/chanio.test (chanio-28.[67]): Reactivated these tests.
172	Replaced tclsh -> [interpreter] to get correct executable for the pipe
173	process, and added after cancel to kill the fail timers when we are
174	done. Removed the explicits calls to [flush], now that [close] handles
175	this correctly.
176
1772008-12-18  Don Porter  <dgp@users.sourceforge.net>
178
179	* tests/chanio.test:	Replaced [chan event] handlers that returned
180	TCL_RETURN return code, with more conventional ones that return TCL_OK
181	to suppress otherwise strange writes of outdated $::errorInfo values
182	to stderr. [Bug 2444274]
183
184	* generic/tclExecute.c:	Disabled apparently faulty assertion. [Bug
185	2415422]
186
1872008-12-18  Donal K. Fellows  <dkf@users.sf.net>
188
189	* unix/configure.in, unix/Makefile.in: Autoconf wizardry.
190	* compat/zlib/*: Import of zlib 1.2.3. The license is directly
191	compatible with Tcl's. This import omits the obsolete and contributed
192	parts (i.e. selected directories) and the supplied examples.
193
194	* generic/tclZlib.c:	First implementation of the compressing and
195	* doc/zlib.n:		decompressing channel transformations.
196	* tests/zlib.test (zlib-8.*):
197
1982008-12-18  Jan Nijtmans  <nijtmans@users.sf.net>
199
200	* generic/tcl.decls:	VOID -> void
201	* generic/tclInt.decls:
202	* compat/dlfcn.h:
203	* generic/tclDecls.h:	(regenerated)
204	* generic/tclIntDecls.h:
205
2062008-12-18  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
207
208	TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channels
209
210	* doc/close.n, generic/tclIO.c, generic/tclIOCmd.c:
211	* unix/tclUnixChan.c, unix/tclUnixPipe.c, win/tclWinSock.c:
212	* generic/tcl.decls, generic/tclDecls.h, generic/tclStubInit.c:
213	* tests/chan.test, tests/chanio.test, tests/ioCmd.test:
214
2152008-12-17  Donal K. Fellows  <dkf@users.sf.net>
216
217	* doc/SetChanErr.3: General improvements in nroff rendering and some
218	corrections to language issues.
219
2202008-12-17  Jan Nijtmans  <nijtmans@users.sf.net>
221
222	* generic/tclResult.c:	   Move variable "length" inside if()
223	* generic/tclStringObj.c:  Don't use ckfree((void *)...) but
224	* generic/tclVar.c:	   ckfree((char *)...)
225	* generic/tclZlib.c
226	* generic/tclBasic.c
227
2282008-12-17  Donal K. Fellows  <dkf@users.sf.net>
229
230	* tests/namespace.test (namespace-28.1):	Make tests not
231	* tests/namespace-old.test (namespace-old-9.5): dependent on the
232	global namespace's particular imports. [Bug 2433936]
233
2342008-12-17  Don Porter  <dgp@users.sourceforge.net>
235
236	* unix/Makefile.in:	Modify the distclean-packages target so that
237	empty build directories are deleted.
238
239	* unix/Makefile.in:	Add build support for collections of TEA
240	* unix/configure.in:	packages found under the pkgs directory.
241	[Patch 1163406]. Still needs porting to Windows.
242
243	* unix/configure:	autoconf-2.59
244
2452008-12-17  Donal K. Fellows  <dkf@users.sf.net>
246
247	* generic/tcl.h, generic/tclZlib.c: Removed undocumented flag.
248
2492008-12-16  Jan Nijtmans  <nijtmans@users.sf.net>
250
251	* generic/tclThreadTest.c: Eliminate -Wwrite-strings warnings in
252				   --enable-threads build.
253	* generic/tclExecute.c:	   Use TclNewLiteralStringObj()
254	* unix/tclUnixFCmd.c:	   Use TclNewLiteralStringObj()
255	* win/tclWinFCmd.c:	   Use TclNewLiteralStringObj()
256
2572008-12-16  Donal K. Fellows  <dkf@users.sf.net>
258
259	TIP #329 IMPLEMENTATION
260
261	* tests/error.test: Tests for the new commands.
262	* doc/throw.n, doc/try.n: Documentation of the new commands.
263	* library/init.tcl (throw, try): Implementation of commands documented
264	in TIP. This implementation is in Tcl and is a stop-gap until
265	higher-performance ones can be written.
266
2672008-12-16  Don Porter  <dgp@users.sourceforge.net>
268
269	* generic/tcl.h:	Add TIP 338 routines to stub table.
270	* generic/tcl.decls:	[Bug 2431338]
271
272	* generic/tclDecls.h:	make genstubs
273	* generic/tclStubInit.c:
274
2752008-12-15  Donal K. Fellows  <dkf@users.sf.net>
276
277	* generic/tclExecute.c (TEBC:INST_DICT_GET): Make sure that the result
278	is empty when generating an error message. [Bug 2431847]
279
2802008-12-15  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
281
282	* generic/tclBinary.c:	Redefine non-strict decoding to ignore only
283	* doc/binary.n:		whitespace. [Bug 2380293]
284	* tests/binary.test:
285
2862008-12-15  Don Porter  <dgp@users.sourceforge.net>
287
288	* doc/AddErrInfo.3:	Documented Tcl_(Set|Get)ErrorLine (TIP 336).
289	* doc/CrtCommand.3:	Various other documentation updates to
290	* doc/CrtInterp.3:	reflect the lack of access to Tcl_Interp
291	* doc/Interp.3:		fields by default.
292	* doc/SetResult.3:
293	* doc/tcl.decls:
294
295	TIP #338 IMPLEMENTATION
296
297	* doc/AppInit.c:	Made routines Tcl_SetStartupScript and
298	* doc/Tcl_Main.3:	Tcl_GetStartupScript public. Removed all
299	* generic/tcl.h:	internal stub access to Tcl*Startup* routines,
300	* generic/tclInt.decls:	and removed their implementations. Their
301	* generic/tclMain.c:	function can now be completely performed with
302				the new public interface.
303	*** POTENTIAL INCOMPATIBILITY for callers of the internal
304	    Tcl*Startup* routines. ***
305
306	* generic/tclIntDecls.h:	make genstubs
307	* generic/tclStubInit.c:
308	* generic/tclDecls.h:
309
3102008-12-14  Donal K. Fellows  <dkf@users.sf.net>
311
312	* tests/zlib.test: Added constraint so that tests don't fail where
313	they cannot work due to zlib support being missing.
314
315	* unix/configure.in, win/configure.in: Improve the autodetection code.
316	* win/tcl.m4 (SC_CONFIG_CFLAGS): Remove the assumption of the presence
317	of zlib library on Windows.
318	* win/makefile.vc, win/makefile.bc: Add support for building tclZlib.o
319	but only in stubbed-out mode for now.
320
3212008-12-13  Donal K. Fellows  <dkf@users.sf.net>
322
323	* doc/TclZlib.3: Basic documentation of the C-level API.
324	* doc/zlib.n: Substantially improve documentation of Tcl-level API.
325	* generic/tclZlib.c (ZlibCmd): Flesh out the argument parsing for the
326	command to integrate with channels.
327
3282008-12-12  Jan Nijtmans  <nijtmans@users.sf.net>
329
330	* generic/tclZlib.c (Tcl_ZlibInflate): Change PATH_MAX to MAXPATHLEN,
331	since MSVC doesn't have PATH_MAX.
332
333	* doc/clock.n:	Document new DST fallback rules.
334	* library/clock.tcl (ProcessPosixTimeZone): Fix time change in Eastern
335	Europe (not 3:00 but 4:00 local time). [Bug 2207436]
336
3372008-12-12  Donal K. Fellows  <dkf@users.sf.net>
338
339	* generic/tclZlib.c, unix/configure.in: Added stubs to use when the
340	version of zlib is not capable enough, and automagic to detect when
341	that is the case. [Bug 2421265]
342
3432008-12-12  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
344
345	* unix/tclUnixNotfy.c: Fix missing CLOEXEC on internal pipes [2417695]
346	* unix/tclUnixPipe.c:  Fix missing CLOEXEC on [chan pipe] fds.
347
3482008-12-12  Donal K. Fellows  <dkf@users.sf.net>
349
350	* generic/tclZlib.c (Tcl_ZlibDeflate): Add a bit of extra space for
351	the gzip header. [Bug 2419061]
352	(Tcl_ZlibInflate): Ensure that gzip header extraction is done
353	correctly.
354
3552008-12-12  Kevin Kenny  <kennykb@acm.org>
356
357	TIP #322 IMPLEMENTATION
358
359	* doc/NRE.3 (new file): Added documentation of the published API for
360	Non-Recursive Evaluation (NRE).
361
3622008-12-11  Jan Nijtmans  <nijtmans@users.sf.net>
363
364	* generic/tclZlib.c: Eliminate warning: different 'const' qualifiers
365	with msvc compiler. A few more 'const' optimizations.
366	* win/tcl.m4: Fix Windows build (msvc) for TIP #234 implementation
367	* win/Makefile.in:
368	* win/configure:
369
3702008-12-11  Andreas Kupries  <andreask@activestate.com>
371
372	* generic/tclIO.c (SetChannelFromAny and related): Modified the
373	* tests/io.test: internal representation of the tclChannelType to
374	contain not only the ChannelState pointer, but also a reference to
375	the interpreter it was made in. Invalidate and recompute the
376	internal representation when it is used in a different interpreter,
377	like cmdName intrep's. Added testcase. [Bug 2407783]
378
3792008-12-11  Donal K. Fellows  <dkf@users.sf.net>
380
381	* generic/tclZlib.c (ConvertError): Factor out code to turn zlib
382	errors into Tcl errors.
383
384	* doc/zlib.n: Added a start at the documentation. Still very rough.
385
3862008-12-11  Jan Nijtmans  <nijtmans@users.sf.net>
387
388	* win/Makefile.in: Fix Windows build (mingw) for TIP #234
389	implementation (additionally, first make sure that zlib is available,
390	and rename the standard zdll.lib to libz.a, but at least this works so
391	far).
392
3932008-12-11  Donal K. Fellows  <dkf@users.sf.net>
394
395	* tests/zlib.test: Start of test suite for zlib command.
396
3972008-12-11  Jan Nijtmans  <nijtmans@users.sf.net>
398
399	* library/clock.tcl (ProcessPosixTimeZone): Fallback to European time
400	zone DST rules, when the timezone is between 0 and -12. [Bug 2207436]
401	* tests/clock.test (clock-52.[23]): Test cases for [Bug 2207436]
402
4032008-12-11  Donal K. Fellows  <dkf@users.sf.net>
404
405	TIP #234 IMPLEMENTATION
406
407	* generic/tclZlib.c: A very preliminary hack at an interface to the
408	zlib library, based on code from Pascal Scheffers.
409	WARNING! The C API may be subect to change without much warning! USE
410	AT YOUR OWN RISK!
411
4122008-12-10  Kevin B. Kenny  <kennykb@acm.org>
413
414	* library/tzdata/*: Update from Olson's tzdata2008i.
415
4162008-12-10  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
417
418	TIP #343 IMPLEMENTATION - A Binary Specifier for [format/scan]
419
420	* doc/format.n
421	* doc/scan.n
422	* generic/tclInt.h
423	* generic/tclScan.c
424	* generic/tclStrToD.c
425	* generic/tclStringObj.c
426	* tests/format.test
427	* tests/scan.test
428
4292008-12-10  Donal K. Fellows  <dkf@users.sf.net>
430
431	TIP #341 IMPLEMENTATION
432
433	* generic/tclDictObj.c (DictFilterCmd): Made key and value filtering
434	* tests/dict.test, doc/dict.n:		accept arbitrary numbers of
435						glob arguments.
436
4372008-12-09  Jan Nijtmans  <nijtmans@users.sf.net>
438
439	* generic/tclInt.decls: Restore source and binary compatibility for
440				TIP #337 implementation. (When it is _that_
441				simple, there is no excuse not to do it! :-))
442	* generic/tclIntDecls.h:	make genstubs
443	* generic/tclStubInit.c:
444
4452008-12-09  Don Porter  <dgp@users.sourceforge.net>
446
447	TIP #337 IMPLEMENTATION
448
449	* doc/BackgdErr.3:	Converted internal routine
450	* doc/interp.n:		TclBackgroundException() into public routine
451	* generic/tcl.decls:	Tcl_BackgroundException().
452	* generic/tclEvent.c:
453	* generic/tclInt.decls:
454
455	* generic/tclDecls.h:	make genstubs
456	* generic/tclIntDecls.h:
457	* generic/tclStubInit.c:
458
459	* generic/tclIO.c:	Update callers.
460	* generic/tclIOCmd.c:
461	* generic/tclInterp.c:
462	* generic/tclTimer.c:
463	*** POTENTIAL INCOMPATIBILITY only for extensions using the converted
464	    internal routine ***
465
4662008-12-09  Donal K. Fellows  <dkf@users.sf.net>
467
468	* generic/tclIO.c (ChanClose,ChanRead,...): Factored out some of the
469	code to connect to channel drivers that was common in multiple
470	locations so as to make code more readable.
471
4722008-12-06  Donal K. Fellows  <dkf@users.sf.net>
473
474	* generic/tclCmdAH.c (FileTempfileCmd): Force temporary files to be
475	created in the native filesystem. Attempting to provide a template
476	that puts it elsewhere will result in the directory part of the
477	template being ignored. Partial address of [Bug 2388866] concerns.
478
4792008-12-05  Donal K. Fellows  <dkf@users.sf.net>
480
481	TIP #335 IMPLEMENTATION
482
483	* generic/tclBasic.c (Tcl_InterpActive): Added function for working
484	* doc/CrtInterp.3:			 out if an interp is in use.
485
486	TIP #307 IMPLEMENTATION
487
488	* generic/tclResult.c (Tcl_TransferResult): Renamed function from
489	* generic/tcl.decls:			    TclTransferResult. Added
490	* doc/SetResult.3:			    to public stubs table.
491
4922008-12-04  Don Porter  <dgp@users.sourceforge.net>
493
494	* generic/tclPathObj.c (Tcl_FSGetNormalizedPath):	Added another
495	flag value TCLPATH_NEEDNORM to mark those intreps which need more
496	complete normalization attention for correct results. [Bug 2385549]
497
4982008-12-03  Donal K. Fellows  <dkf@users.sf.net>
499
500	* win/tclWinPipe.c (TclpOpenTemporaryFile): Avoid an infinite loop due
501	to GetTempFileName/CreateFile interaction. [Bug 2380318]
502
5032008-12-03  Don Porter  <dgp@users.sourceforge.net>
504
505	* generic/tclFileName.c (DoGlob):    One of the Tcl_FSMatchInDirectory
506	calls did not have its return code checked. This caused error messages
507	returned by some Tcl_Filesystem drivers to be swallowed.
508
5092008-12-02  Don Porter  <dgp@users.sourceforge.net>
510
511	TIP #336 IMPLEMENTATION
512
513	* generic/tcl.decls:	New routines Tcl_(Get|Set)ErrorLine.
514	* generic/tcl.h:	Dropped default access to interp->errorLine.
515	* generic/tclCmdAH.c:	Restore it with -DUSE_INTERP_ERRORLINE.
516	* generic/tclCmdMZ.c:	Updated callers.
517	* generic/tclDictObj.c:
518	* generic/tclIOUtil.c:
519	* generic/tclNamesp.c:
520	* generic/tclOOBasic.c:
521	* generic/tclOODefinedCmds.c:
522	* generic/tclOOMethod.c:
523	* generic/tclProc.c:
524	* generic/tclResult.c:
525	*** POTENTIAL INCOMPATIBILITY for C code directly using the
526	    interp->errorLine field ***
527
528	* generic/tclDecls.h:	make genstubs
529	* generic/tclStubInit.c:
530
5312008-12-02  Andreas Kupries  <andreask@activestate.com>
532
533	* generic/tclIO.c (TclFinalizeIOSubsystem): Replaced Alexandre
534	Ferrieux's first patch for [Bug 2270477] with a gentler version, also
535	supplied by him.
536
5372008-12-01  Don Porter  <dgp@users.sourceforge.net>
538
539	* generic/tclParse.c:  Coding standards fixups.
540
5412008-12-01  Donal K. Fellows  <dkf@users.sf.net>
542
543	* tests/cmdAH.test (cmdAH-32.6): Test was not portable; depended on a
544	C API function not universally available. [Bug 2371623]
545
5462008-11-30  Kevin B. Kenny  <kennykb@acm.org>
547
548	* library/clock.tcl (format, ParseClockScanFormat): Added a [string
549	map] to get rid of namespace delimiters before caching a scan or
550	format procedure. [Bug 2362156]
551	* tests/clock.test (clock-64.[12]): Added test cases for the bug that
552	was tickled by a namespace delimiter inside a format string.
553
5542008-11-29  Donal K. Fellows  <dkf@users.sf.net>
555
556	TIP #210 IMPLEMENTATION
557
558	* generic/tclCmdAH.c (FileTempfileCmd):
559	* unix/tclUnixFCmd.c (TclpOpenTemporaryFile, DefaultTempDir):
560	* win/tclWinPipe.c (TclpOpenTemporaryFile):
561	* doc/file.n, tests/cmdAH.test: Implementation of [file tempfile]. I
562	do not claim that this is a brilliant implementation, especially on
563	Windows, but it covers the main points.
564
565	* generic/tclThreadStorage.c: General revisions to make code clearer
566	and more like the style used in the rest of the core. Includes adding
567	more comments and explanation of what is going on. Reduce the amount
568	of locking required.
569
5702008-11-27  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
571
572	* generic/tcl.h:	Alternate fix for [Bug 2251175]: missing
573	* generic/tclCompile.c:	backslash substitution on expanded literals.
574	* generic/tclParse.c:
575	* generic/tclTest.c:
576	* tests/parse.test:
577
5782008-11-26  Jan Nijtmans  <nijtmans@users.sf.net>
579
580	* generic/tclIndexObj.c:   Eliminate warning: unused variable
581	* generic/tclTest.c:	   A few more (harmless) Tcl_SetResult
582				   eliminations.
583
5842008-11-26  Kevin B. Kenny  <kennykb@acm.org>
585
586	* library/tclIndex: Removed reference to no-longer-extant procedure
587			    'tclLdAout'.
588	* doc/library.n: Corrected mention of 'auto_exec' to 'auto_execok'.
589	[Patch 2114900] thanks to Stuart Cassoff <stwo@users.sf.net>
590
5912008-11-25  Jan Nijtmans  <nijtmans@users.sf.net>
592
593	* generic/tclIndexObj.c: Eliminate 3 calls to Tcl_SetResult, as
594	* generic/tclIO.c:	 examples how it should have been done.
595	* generic/tclTestObj.c:	 purpose: contribute in the TIP #340
596				 discussion.
597
5982008-11-25  Andreas Kupries  <andreask@activestate.com>
599
600	* generic/tclIO.c (TclFinalizeIOSubsystem): Applied Alexandre
601	Ferrieux's patch for [Bug 2270477] to prevent infinite looping during
602	finalization of channels not bound to interpreters.
603
6042008-11-25  Jan Nijtmans  <nijtmans@users.sf.net>
605
606	* generic/tclTest.c: Don't assume that Tcl_SetResult sets
607	interp->result, especially not in a DString test, in preparation for
608	TIP #340
609
6102008-11-24  Donal K. Fellows  <dkf@users.sf.net>
611
612	* tools/tcltk-man2html.tcl: Improvements to tackle tricky aspects of
613	cross references and new entities to map. [Bug 2330040]
614
6152008-11-19  Jan Nijtmans  <nijtmans@users.sf.net>
616
617	* generic/tclThreadTest.c: Convert Tcl_SetResult(......, TCL_DYNAMIC)
618	to Tcl_SetResult(......, TCL_VOLATILE), in preparation for TIP #340
619
6202008-11-17  Jan Nijtmans  <nijtmans@users.sf.net>
621
622	* generic/tcl.decls:	Fix signature and implementation of
623	* generic/tclDecls.h:	Tcl_HashStats, such that it conforms to the
624	* generic/tclHash.c:	documentation. [Bug 2308236]
625	* generic/tclVar.c:
626	* doc/Hash.3:
627	* generic/tclDictObj.c: Convert Tcl_SetResult call to
628	Tcl_SetObjResult.
629
6302008-11-17  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
631
632	* tests/for.test: Check for uncompiled-for-continue [Bug 2186888]
633	fixed earlier.
634
635	* generic/tcl.h:	 Fix [Bug 2251175]: missing backslash
636	* generic/tclCompCmds.c: substitution on expanded literals.
637	* generic/tclCompile.c
638	* generic/tclParse.c
639	* generic/tclTest.c
640	* tests/compile.test
641	* tests/parse.test
642
6432008-11-16  Jan Nijtmans  <nijtmans@users.sf.net>
644
645	* generic/tclTest.c: Replace two times Tcl_SetResult with
646	Tcl_SetObjResult, a little simplification in preparation for the TIP
647	#340 patch.
648
6492008-11-13  Jan Nijtmans  <nijtmans@users.sf.net>
650
651	* generic/tclInt.h:	Rename static function FSUnloadTempFile to
652	* generic/tclIOUtil.c:	TclFSUnloadTempFile, needed in tclLoad.c
653
654	* generic/tclLoad.c:	Fixed [Bug 2269431]: Load of shared
655				objects leaves temporary files on windows.
656
6572008-11-12  Pat Thoyts  <patthoyts@users.sourceforge.net>
658
659	* tests/registry.test: Use HKCU to avoid requiring admin access for
660	registry testing on Vista/Server2008
661
6622008-11-11  Jan Nijtmans  <nijtmans@users.sf.net>
663
664	* generic/tclNamesp.c:	Eliminate warning: passing arg 4 of
665				Tcl_SplitList from incompatible pointer type.
666	* win/tcl.m4:	Reverted change from 2008-11-06 (was under the
667			impression that "-Wno-implicit-int" added an extra
668			warning)
669	* win/configure: (regenerated)
670	* unix/tcl.m4:	Use -O2 as gcc optimization compiler flag, and get rid
671			of -Wno-implicit-int for UNIX.
672	* unix/configure: (regenerated)
673
6742008-11-10  Andreas Kupries  <andreask@activestate.com>
675
676	* doc/platform_shell.n: Fixed [Bug 2255235], reported by Ulrich
677	* library/platform/pkgIndex.tcl: Ring <uring@users.sourceforge.net>.
678	* library/platform/shell.tcl: Updated the LOCATE command in the
679	* library/tm.tcl:   package 'platform::shell' to handle the new form
680	* unix/Makefile.in: of 'provide' commands generated by tm.tcl. Bumped
681	* win/Makefile.in:  package to version 1.1.4. Added cross-references
682	to the relevant parts of the code to avoid future desynchronization.
683
6842008-11-07  Pat Thoyts  <patthoyts@users.sourceforge.net>
685
686	* generic/tclInt.h:    Applied [Patch 2215022] from Duoas to clean up
687	* generic/tclBinary.c: the binary ensemble initiailization code.
688	* generic/tclNamesp.c: Extends the TclMakeEnsemble to do
689	* doc/ByteArrObj.3:    sub-ensembles from tables.
690
6912008-11-06  Jan Nijtmans  <nijtmans@users.sf.net>
692
693	* win/tcl.m4:	    Add "-Wno-implicit-int" flag for gcc, as on UNIX
694	* win/configure:    (regenerated)
695	* generic/tclIO.c:  Eliminate an 'array index out of bounds' warning
696			    on HP-UX.
697
6982008-11-04  Jeff Hobbs  <jeffh@ActiveState.com>
699
700	* generic/tclPort.h: Remove the ../win/ header dir as the build system
701	already has it, and it confuses builds when used with private headers
702	installed.
703
7042008-11-01  Donal K. Fellows  <dkf@users.sf.net>
705
706	* generic/tclOO.h (TCLOO_VERSION): Bump version of TclOO.
707
7082008-10-31  Donal K. Fellows  <dkf@users.sf.net>
709
710	* generic/tclOOBasic.c (TclOONRUpcatch): Reworked the code that does
711	* generic/tclOO.c (InitFoundation):	 class constructor handling so
712	that it is more robust and runs the constructor call in the context of
713	the caller of the class's constructor method. Needed because the
714	previously used code did not work at all after applying the fix below;
715	no Tcl existing command could reliably do what was needed any more.
716
717	* generic/tclOODefineCmds.c (GetClassInOuterContext): Rework and
718	factor out the code to resolve class names in definitions so that
719	classes are resolved from the perspective of the caller of the
720	[oo::define] command, rather than from the oo::define namespace! This
721	makes much code simpler by reducing how often fully-qualified names
722	are required (previously always in practice, so no back-compat issues
723	exist). [Bug 2200824]
724
7252008-10-28  Jan Nijtmans  <nijtmans@users.sf.net>
726
727	* generic/tclCompile.h: CONSTify TclDTraceInfo
728	* generic/tclBasic.c:
729	* generic/tclProc.c:
730	* generic/tclEnv.c:	Eliminate some -Wwrite-strings warnings
731	* generic/tclLink.c:
732
7332008-10-27  Don Porter  <dgp@users.sourceforge.net>
734
735	* generic/tclEncoding.c:	Use "iso8859-1" and not "identity" as
736	the default and original [encoding system] value. Since "iso8859-1" is
737	built in to the C source code for Tcl now, there's no availability
738	issue, and it has the good feature of "identity" that we must have
739	("bytes in" == "bytes out") without the bad feature of "identity"
740	("broken as designed") that makes us want to abandon it. [RFE 2008609]
741	*** POTENTIAL INCOMPATIBILITY for older releases of Tclkit and any
742	other code expecting a particular value for Tcl's default system
743	encoding ***
744
7452008-10-24  Pat Thoyts  <patthoyts@users.sourceforge.net>
746
747	* library/http/http.tcl: Fixed a failure to read SHOUTcast streams
748	with the new 2.7 package. Introduced a new intial state as the first
749	response may not be HTTP*.
750
7512008-10-23  Miguel Sofer  <msofer@users.sf.net>
752
753	* generic/tclCmdAH.c (ForNextCallback): handle TCL_CONTINUE in the for
754	body. [Bug 2186888]
755
7562008-10-22  Jan Nijtmans  <nijtmans@users.sf.net>
757
758	* generic/tcl.h:	      CONST -> const and white-spacing
759	* generic/tclCompile.h:
760	* generic/tclEncoding.c:
761	* generic/tclStubInit.c:
762	* generic/tclStubLib.c:
763	* generic/tcl.decls
764	* generic/tclInt.decls
765	* generic/tclTomMath.decls
766	* generic/tclDecls.h:	      (regenerated)
767	* generic/tclIntDecls.h:      (regenerated)
768	* generic/tclIntPlatDecls.h:  (regenerated)
769	* generic/tclOODecls.h:	      (regenerated)
770	* generic/tclOOIntDecls.h:    (regenerated)
771	* generic/tclPlatDecls.h:     (regenerated)
772	* generic/tclTomMathDecls.h:  (regenerated)
773	* generic/tclIntDecls.h:      (regenerated)
774	* tools/genStubs.tcl:	      CONST -> const and white-spacing
775
7762008-10-19  Don Porter  <dgp@users.sourceforge.net>
777
778	* generic/tclProc.c:	Reset -level and -code values to defaults
779	after they are used. [Bug 2152286]
780
7812008-10-19  Donal K. Fellows  <dkf@users.sf.net>
782
783	* generic/tclBasic.c (TclInfoCoroutineCmd): Added code to make this
784	check for being invoked in a syntactically correct way.
785
786	* doc/info.n: Added documentation of [info coroutine].
787
788	* doc/prefix.n: Improved the documentation by fixing formatting,
789	adding good-practice recommendations and cross-references, etc.
790
7912008-10-17  Jan Nijtmans  <nijtmans@users.sf.net>
792
793	* generic/tclOO.decls:		CONST -> const.
794	* generic/tclOODecls.h:		(regenerated)
795	* generic/tclOOIntDecls.h:	(regenerated)
796
7972008-10-17  Andreas Kupries  <andreask@activestate.com>
798
799	* generic/tclIORTrans.c (DeleteReflectedTransformMap): Removed debug
800	output in C++ comment.
801
8022008-10-17  Don Porter  <dgp@users.sourceforge.net>
803
804	* generic/tclCompile.h:	Declare the internal tclInstructionTable to
805	* generic/tclExecute.c:	simply be "const", not CONST86.
806
807	* generic/tclCmdAH.c:	whitespace.
808	* generic/tclCmdIL.c:	Uninitialized variable warning.
809	* generic/tclTest.c:	const correctness warning.
810
8112008-10-17  Donal K. Fellows  <dkf@users.sf.net>
812
813	* doc/*: Many very small formatting fixes.
814	* doc/{glob,http,if}.n: More substantial reformatting for clarity.
815	* doc/split.n: Remove mention of defunct c.l.t.announce
816
8172008-10-16  Jan Nijtmans  <nijtmans@users.sf.net>
818
819	* generic/regc_locale.c: Add "const" to many internal const tables.
820	* generic/tclClock.c:	 No functional or API change.
821	* generic/tclCmdIL.c
822	* generic/tclConfig.c
823	* generic/tclDate.c
824	* generic/tclEncoding.c
825	* generic/tclEvent.c
826	* generic/tclExecute.c
827	* generic/tclFileName.c
828	* generic/tclGetDate.y
829	* generic/tclInterp.c
830	* generic/tclIO.c
831	* generic/tclIOCmd.c
832	* generic/tclIORChan.c
833	* generic/tclIORTrans.c
834	* generic/tclLoad.c
835	* generic/tclObj.c
836	* generic/tclOOBasic.c
837	* generic/tclOOCall.c
838	* generic/tclOOInfo.c
839	* generic/tclPathObj.c
840	* generic/tclPkg.c
841	* generic/tclResult.c
842	* generic/tclStringObj.c
843	* generic/tclTest.c
844	* generic/tclTestObj.c
845	* generic/tclThreadTest.c
846	* generic/tclTimer.c
847	* generic/tclTrace.c
848	* macosx/tclMacOSXFCmd.c
849	* win/cat.c
850	* win/tclWinInit.c
851	* win/tclWinTest.c
852
8532008-10-16  Don Porter  <dgp@users.sourceforge.net>
854
855	* library/init.tcl:	Revised [unknown] so that it carefully
856	preserves the state of the ::errorInfo and ::errorCode variables at
857	the start of auto-loading and restores that state before the
858	autoloaded command is evaluated. [Bug 2140628]
859
8602008-10-15  Jan Nijtmans  <nijtmans@users.sf.net>
861
862	* generic/tclInt.h:	Add "const" to many internal const tables, so
863	* generic/tclBinary.c:	those will be put by the C-compiler in the
864	* generic/tclCompile.c:	TEXT segment in stead of the DATA segment.
865	* generic/tclDictObj.c: This makes those tables sharable in shared
866	* generic/tclHash.c:	libraries.
867	* generic/tclListObj.c:
868	* generic/tclNamesp.c:
869	* generic/tclObj.c:
870	* generic/tclProc.c:
871	* generic/tclRegexp.c:
872	* generic/tclStringObj.c:
873	* generic/tclUtil.c:
874	* generic/tclVar.c:
875
8762008-10-14  Jan Nijtmans  <nijtmans@users.sf.net>
877
878	* generic/tclCmdAH.c:	Fix minor compiler warnings when compiling
879	* generic/tclCmdMZ.c:	with -Wwrite-strings.
880	* generic/tclIndexObj.c:
881	* generic/tclProc.c:
882	* generic/tclStubLib.c:
883	* generic/tclUtil.c:
884	* win/tclWinChan.c:
885	* win/tclWinDde.c:
886	* win/tclWinInit.c:
887	* win/tclWinReg.c:
888	* win/tclWinSerial.c:
889
8902008-10-14  Donal K. Fellows  <dkf@users.sf.net>
891
892	* doc/binary.n: Formatting fix.
893
8942008-10-14  Don Porter  <dgp@users.sourceforge.net>
895
896	* README:		Bump version number to 8.6a4
897	* generic/tcl.h:
898	* library/init.tcl:
899	* tools/tcl.wse.in:
900	* unix/configure.in:
901	* unix/tcl.spec:
902	* win/configure.in:
903
904	* unix/configure:	autoconf-2.59
905	* win/configure:
906
907	* generic/tclExecute.c:	Fix compile warnings when --enable-symbols=all
908
909	* generic/tclCmdIL.c:	Fix write to unallocated memory whenever
910	[lrepeat] returns an empty list.
911
9122008-10-14  Donal K. Fellows  <dkf@users.sf.net>
913
914	* doc/chan.n, doc/fconfigure.n: Added even more emphatic text to
915	direct people to the correct manual pages for specific channel types,
916	suitable for the hard-of-reading. Following discussion on tcl-core.
917
9182008-10-13  Pat Thoyts  <patthoyts@users.sourceforge.net>
919
920	* win/tclWinThrd.c (TclpThreadCreate): We need to initialize the
921	thread id variable to 0 as on 64 bit windows this is a pointer sized
922	field while windows only fills it with a 32 bit value. The result is
923	an inability to join the threads as the ids cannot be matched.
924
925	* generic/tclTest.c (TestNRELevels): Set array to the right size.
926
9272008-10-13  Donal K. Fellows  <dkf@users.sf.net>
928
929	* generic/tclOOInfo.c (InfoClassDestrCmd): Handle error case.
930
931	* generic/tclOOInt.h: Added macro magic to make things work with
932	Objective C. [Bug 2163447]
933
9342008-10-12  Miguel Sofer  <msofer@users.sf.net>
935
936	* generic/tclCompile.c: Fix bug in srcDelta encoding within ByteCodes.
937	The bug can only be triggered under conditions that cannot happen in
938	Tcl, but were met during development of L. Thanks go to Robert Netzer
939	for diagnosis and fix.
940
9412008-10-10  Don Porter  <dgp@users.sourceforge.net>
942
943	*** 8.6a3 TAGGED FOR RELEASE ***
944
945	* changes:	Updates for 8.6a3 release.
946
9472008-10-10  Donal K. Fellows  <dkf@users.sf.net>
948
949	* generic/tclOODefineCmds.c (TclOODefineUnexportObjCmd)
950	(TclOODefineExportObjCmd): Corrected export/unexport record synthesis.
951	[Bug 2155658]
952
9532008-10-08  Jan Nijtmans  <nijtmans@users.sf.net>
954
955	* unix/tclUnixChan.c:	Fix minor compiler warning.
956	* unix/tcl.m4:		Fix for [Bug 2073255]
957	* unix/configure:	Regenerated
958
9592008-10-08  Miguel Sofer  <msofer@users.sf.net>
960
961	* generic/tclBasic (TclInfoCoroutineCmd):
962	* tests/unsupported.test: Arrange for [info coroutine] to return {}
963	when a coroutine is running but the resume command has been deleted.
964	[Bug 2153080]
965
9662008-10-08  Don Porter  <dgp@users.sourceforge.net>
967
968	* generic/tclTrace.c:	Corrected handling of errors returned by
969	variable traces so that the errorInfo value contains the original
970	error message. [Bug 2151707]
971
972	* generic/tclVar.c:	Revised implementation of TclObjVarErrMsg so
973	that error message construction does not disturb an existing
974	iPtr->errorInfo that may be in progress.
975
9762008-10-07  Donal K. Fellows  <dkf@users.sf.net>
977
978	* doc/binary.n: Added better documentation of the [binary encode] and
979	[binary decode] subcommands.
980
9812008-10-07  Miguel Sofer  <msofer@users.sf.net>
982
983	TIP #327,#328 IMPLEMENTATIONS
984
985	* generic/tclBasic.c:	   Move [tailcall], [coroutine] and
986	* generic/tclCmdIL.c:	   [yield] out of ::tcl::unsupported
987	* tclInt.h:
988	* tests/info.test:	   and into global scope: TIPs #327
989	* tests/unsupported.test:  and #328
990
9912008-10-07  Donal K. Fellows  <dkf@users.sf.net>
992
993	* doc/chan.n, doc/transchan.n: Documented the channel transformation
994	API of TIP #230.
995
9962008-10-06  Pat Thoyts  <patthoyts@users.sourceforge.net>
997
998	* tests/winFCmd.test: Fixed some erroneous tests on Vista+.
999	* generic/tclFCmd.c: Fix constness for msvc of last commit
1000
10012008-10-06  Joe Mistachkin  <joe@mistachkin.com>
1002
1003	* tools/man2tcl.c: Added missing line from patch by Harald Oehlmann.
1004	[Bug 1934200]
1005
10062008-10-05  Jan Nijtmans  <nijtmans@users.sf.net>
1007
1008	* doc/FileSystem.3:	CONSTified Tcl_FSFileAttrStringsProc
1009	* generic/tclFCmd.c:	and tclpFileAttrStrings. This allows
1010	* generic/tclIOUtil.c:	FileSystems to report their attributes
1011	* generic/tclTest.c:	as const strings, without worrying that
1012	* unix/tclUnixFCmd.c:	Tcl modifies them (which Tcl should not
1013	* win/tclWinFCmd.c:	do anyway, but the API didn't indicate that)
1014	* generic/tcl.decls
1015	* generic/tclDecls.h:	regenerated
1016	* generic/tcl.h:	Make sure that if CONST84 is defined as empty,
1017				CONST86 should be defined as empty as well
1018				(unless overridden). This change complies with
1019				TIP #27
1020	*** POTENTIAL INCOMPATIBILITY ***
1021
10222008-10-05  Kevin B, Kenny  <kennykb@acm.org>
1023
1024	* libtommath/bn_mp_sqrt.c (bn_mp_sqrt): Handle the case where a
1025	* tests/expr.test (expr-47.13):		number's square root is
1026	between n<<DIGIT_BIT and n<<DIGIT_BIT+1. [Bug 2143288]
1027	Thanks to Malcolm Boffey (malcolm.boffey@virgin.net) for the patch.
1028
1029	TIP #331 IMPLEMENTATION
1030
1031	* doc/lset.n:
1032	* generic/tclListObj.c (TclLsetFlat):
1033	* tests/lset.test: Modified the [lset] command so that it allows for
1034	an index of 'end+1', which has the effect of appending an element to
1035	the list.
1036
10372008-10-05  Jan Nijtmans  <nijtmans@users.sf.net>
1038
1039	* generic/tclInt.decls:	 CONSTified the AuxDataType argument
1040	* generic/tclCompCmds.c: of TclCreateAuxData and
1041	* generic/tclCompile.c:	 TclRegisterAuxDataType and the return
1042	* generic/tclCompile.h:	 values of TclGetAuxDataType and
1043	* generic/tclExecute.c:	 TclGetInstructionTable
1044	* generic/tclIntDecls.h:		regenerated
1045	This change complies with TIP #27 (even though it only involves
1046	internal function, so this is not even necessary).
1047
10482008-10-05  Donal K. Fellows  <dkf@users.sf.net>
1049
1050	* generic/tclIndexObj.c (TclInitPrefixCmd): Make the [tcl::prefix]
1051	into an exported command. [Bug 2144595]
1052
10532008-10-04  Donal K. Fellows  <dkf@users.sf.net>
1054
1055	* generic/tclCmdIL.c (InfoFrameCmd):	Improved hygiene of result
1056	* generic/tclRegexp.c (TclRegAbout):	handling.
1057
10582008-10-04  Jan Nijtmans  <nijtmans@users.sf.net>
1059
1060	* generic/tclLoad.c: Make sure that any library which doesn't have an
1061	unloadproc is only really unloaded when no library code is executed
1062	yet. [Bug 2059262]
1063
10642008-10-04  Donal K. Fellows  <dkf@users.sf.net>
1065
1066	* generic/tclOOInfo.c (GetClassFromObj): Factor out the code to parse
1067	a Tcl_Obj and get a class. Also make result handling hygienic.
1068	* generic/tclOOBasic.c (TclOOSelfObjCmd): Better hygiene of results,
1069	and stop allocating quite so much memory by sharing special "method"
1070	names.
1071
10722008-10-04  Jan Nijtmans  <nijtmans@users.sf.net>
1073
1074	* doc/ChnlStack.3:	CONSTified the typePtr argument
1075	* doc/CrtChannel.3:	of Tcl_CreateChannel and Tcl_StackChannel
1076	* generic/tcl.decls:	and the return value of Tcl_GetChannelType
1077	* generic/tcl.h
1078	* generic/tclIO.h
1079	* generic/tclIO.c
1080	* generic/tclDecls.h:	regenerated
1081	This change complies with TIP #27.
1082
1083	* doc/Hash.3:		CONSTified the typePtr argument
1084	* generic/tcl.decls:	of Tcl_InitCustomHashTable.
1085	* generic/tcl.h
1086	* generic/tclHash.c
1087	* generic/tclDecls.h:	regenerated
1088	This change complies with TIP #27.
1089
1090	* doc/RegConfig.3:	CONSTified the configuration argument
1091	* generic/tcl.decls:	of Tcl_RegisterConfig.
1092	* generic/tcl.h
1093	* generic/tclConfig.c
1094	* generic/tclPkgConfig.c
1095	* generic/tclDecls.h:	regenerated
1096	This change complies with TIP #27.
1097
1098	* doc/GetIndex.3:	CONSTified the tablePtr argument
1099	* generic/tcl.decls:	of Tcl_GetIndexFromObj.
1100	* generic/tclIndexObj.c
1101	* generic/tclDecls.h:	regenerated
1102	This change complies with TIP #27.
1103
11042008-10-03  Miguel Sofer  <msofer@users.sf.net>
1105
1106	* tests/stack.test:
1107	* unix/tclUnixTest.c: Removed test command teststacklimit and the
1108	corresponding constraint: it is not needed with NRE
1109
11102008-10-03  Donal K. Fellows  <dkf@users.sf.net>
1111
1112	TIP #195 IMPLEMENTATION
1113
1114	* generic/tclIndexObj.c (TclGetIndexFromObjList, PrefixMatchObjCmd)
1115	* doc/prefix.n, tests/string.test: Added [tcl::prefix] command for
1116	working with prefixes of strings at the Tcl level. [Patch 1040206]
1117
1118	TIP #265 IMPLEMENTATION
1119
1120	* generic/tclIndexObj.c (Tcl_ParseArgsObjv, PrintUsage):
1121	* generic/tcl.h (Tcl_ArgvInfo):	Added function for simple parsing of
1122	* doc/ParseArgs.3 (new file):	optional arguments to commands. Still
1123	needs tests and the like. [FRQ 1446696] Note that some of the type
1124	signatures are changed a bit from the proposed implementation so that
1125	they better reflect codified good practice for argument order.
1126
11272008-10-02  Andreas Kupries  <andreask@activestate.com>
1128
1129	* tests/info.test (info-23.3): Updated output of the test to handle
1130	the NRE-enabled eval and the proper propagation of location
1131	information through it. [Bug 2017632]
1132
1133	* doc/info.n: Rephrased the documentation of 'info frame' for positive
1134	numbers as level argument. [Bug 2134049]
1135
1136	* tests/info.test (info-22.8): Made pattern for file containing
1137	tcltest less specific to accept both .tcl and .tm variants of the file
1138	during matching. [Bug 2129828]
1139
11402008-10-02  Don Porter  <dgp@users.sourceforge.net>
1141
1142	TIP #330 IMPLEMENTATION
1143
1144	* generic/tcl.h:	Remove the "result" and "freeProc" fields
1145	* generic/tclBasic.c:	from the default public declaration of the
1146	* generic/tclResult.c:	Tcl_Interp struct. Code should no longer
1147	* generic/tclStubLib.c:	be accessing these fields. Access can be
1148	* generic/tclTest.c:	restored by defining USE_INTERP_RESULT, but
1149	* generic/tclUtil.c:	that should only be a temporary migration aid.
1150	*** POTENTIAL INCOMPATIBILITY ***
1151
11522008-10-02  Joe Mistachkin  <joe@mistachkin.com>
1153
1154	* doc/info.n: Fix unmatched font change.
1155	* doc/tclvars.n: Fix unmatched font change.
1156	* doc/variable.n: Fix unmatched font change.
1157	* tools/man2help2.tcl: Integrated patch from Harald Oehlmann.
1158	[Bug 1934272]
1159	* tools/man2tcl.c: Increase MAX_LINE_SIZE to fix "Too long line" error.
1160	* win/buildall.vc.bat: Prefer the HtmlHelp target over the WinHelp
1161	target. [Bug 2072891]
1162	* win/makefile.vc: Fix the HtmlHelp and WinHelp targets to not be
1163	mutually exclusive.
1164
11652008-09-29  Don Porter  <dgp@users.sourceforge.net>
1166
1167	TIP #323 IMPLEMENTATION (partial)
1168
1169	* doc/glob.n:		Revise [glob] to accept zero patterns.
1170	* generic/tclFileName.c:
1171	* tests fileName.test:
1172
1173	* doc/linsert.n:	Revise [linsert] to accept zero elements.
1174	* generic/tclCmdIL.c:
1175	* tests/linsert.test:
1176
11772008-09-29  Donal K. Fellows  <dkf@users.sf.net>
1178
1179	TIP #326 IMPLEMENTATION
1180
1181	* generic/tclCmdIL.c (Tcl_LsortObjCmd): Added -stride option to carry
1182	* doc/lsort.n, tests/cmdIL.test:	out sorting of lists where the
1183	elements are grouped. Adapted from [Patch 2082681]
1184
1185	TIP #313 IMPLEMENTATION
1186
1187	* generic/tclCmdIL.c (Tcl_LsearchObjCmd): Added -bisect option to
1188	* doc/lsearch.n, tests/lsearch.test:	  allow the finding of the
1189	place to insert an element in a sorted list when that element is
1190	not already there. [Patch 1894241]
1191
1192	TIP #318 IMPLEMENTATION
1193
1194	* generic/tclCmdMZ.c (StringTrimCmd,StringTrimLCmd,StringTrimRCmd):
1195	Update the default set of trimmed characters to include some from the
1196	larger UNICODE space. Factor out the default trim set into a macro so
1197	that it is easier to keep them in synch.
1198
11992008-09-28  Donal K. Fellows  <dkf@users.sf.net>
1200
1201	TIP #314 IMPLEMENTATION
1202
1203	* generic/tclCompCmds.c (TclCompileEnsemble)
1204	* generic/tclNamesp.c (NamespaceEnsembleCmd)
1205	(Tcl_SetEnsembleParameterList, Tcl_GetEnsembleParameterList)
1206	(NsEnsembleImplementationCmdNR):
1207	* generic/tcl.decls, doc/Ensemble.3, doc/namespace.n
1208	* tests/namespace.test: Allow the handling of a (fixed) number of
1209	formal parameters between an ensemble's command and subcommand at
1210	invokation time. [Patch 1901783]
1211
12122008-09-28  Miguel Sofer  <msofer@users.sf.net>
1213
1214	* generic/tclBasic.c:	   Fix the numLevels computations on
1215	* generic/tclInt.h:	   coroutine yield/resume
1216	* tests/unsupported.test:
1217
12182008-09-27  Donal K. Fellows  <dkf@users.sf.net>
1219
1220	* generic/tclFileName.c (Tcl_GetBlock*FromStat): Made this work
1221	acceptably when working with OSes that don't support reporting the
1222	block size from the stat() call. [Bug 2130726]
1223
1224	* generic/tclCmdIL.c (Tcl_LrepeatObjCmd): Improve the handling of the
1225	case where the combination of number of elements and repeat count
1226	causes the resulting list to be too large. [Bug 2130992]
1227
12282008-09-26  Don Porter  <dgp@users.sourceforge.net>
1229
1230	TIP #323 IMPLEMENTATION (partial)
1231
1232	* doc/lrepeat.n:	Revise [lrepeat] to accept both zero
1233	* generic/tclCmdIL.c:	repetitions and zero elements to be repeated.
1234	* tests/lrepeat.test:
1235
1236	* doc/object.n:		Revise standard oo method [my variable] to
1237	* generic/tclOOBasic.c:	accept zero variable names.
1238	* tests/oo.test:
1239
1240	* doc/tm.n:		Revise [tcl::tm::path add] and
1241	* library/tm.tcl:	[tcl::tm::path remove] to accept zero paths.
1242	* tests/tm.test:
1243
1244	* doc/namespace.n:	Revise [namespace upvar] to accept zero
1245	* generic/tclNamesp.c:	variable names.
1246	* tests/upvar.test:
1247
1248	* doc/lassign.n:	Revise [lassign] to accept zero variable names.
1249	* generic/tclCmdIL.c:
1250	* tests/cmdIL.test:
1251
12522008-09-26  Donal K. Fellows  <dkf@users.sf.net>
1253
1254	* generic/tclOO.h (TCLOO_VERSION): Bump the version.
1255
12562008-09-25  Don Porter  <dgp@users.sourceforge.net>
1257
1258	TIP #323 IMPLEMENTATION (partial)
1259
1260	* doc/global.n:		Revise [global] to accept zero variable names.
1261	* doc/variable.n:	Revise [variable] likewise.
1262	* generic/tclVar.c:
1263	* tests/proc-old.test:
1264	* tests/var.test:
1265
1266	* doc/global.n: Correct false claim about [info locals].
1267
12682008-09-25  Donal K. Fellows  <dkf@users.sf.net>
1269
1270	TIP #315 IMPLEMENTATION
1271
1272	* tests/platform.test:	Update tests to expect revised results
1273	* tests/safe.test:	corresponding to the TIP 315 change.
1274
1275	* unix/tclUnixInit.c, win/tclWinInit.c (TclpSetVariables):
1276	* doc/tclvars.n (tcl_platform): Define what character is used for
1277	separating PATH-like lists. Forms part of the tcl_platform array.
1278
1279	* generic/tclOOCall.c (InitCallChain, IsStillValid):
1280	* tests/oo.test (oo-25.2): Revise call chain cache management so that
1281	it takes into account class-wide caching correctly. [Bug 2120903]
1282
12832008-09-24  Don Porter  <dgp@users.sourceforge.net>
1284
1285	TIP #323 IMPLEMENTATION (partial)
1286
1287	* doc/file.n:		Revise [file delete] and [file mkdir] to
1288	* generic/tclCmdAH.c:	accept zero "pathname" arguments (the
1289	* generic/tclFCmd.c:	no-op case).
1290	* tests/cmdAH.test:
1291	* tests/fCmd.test:
1292
12932008-09-24  Donal K. Fellows  <dkf@users.sf.net>
1294
1295	* generic/tclOOMethod.c (DBPRINT): Remove obsolete debugging macro.
1296	[Bug 2124814]
1297
1298	TIP #316 IMPLEMENTATION
1299
1300	* generic/tcl.decls, generic/tclFileName.c (Tcl_GetSizeFromStat, etc):
1301	* doc/FileSystem.3: Added reader functions for Tcl_StatBuf.
1302
13032008-09-23  Donal K. Fellows  <dkf@users.sf.net>
1304
1305	* doc/Method.3: Corrected documentation. [Patch 2082450]
1306
1307	* doc/lreverse.n, mathop.n, regexp.n, regsub.n: Make sure that the
1308	initial line of the manpage includes nothing that chokes old versions
1309	of man. [Bug 2118123]
1310
13112008-09-22  Donal K. Fellows  <dkf@users.sf.net>
1312
1313	TIP #320 IMPLEMENTATION
1314
1315	* generic/tclOODefineCmds.c (TclOODefineVariablesObjCmd):
1316	* generic/tclOOInfo.c (InfoObjectVariablesCmd, InfoClassVariablesCmd):
1317	* generic/tclOOMethod.c (TclOOSetupVariableResolver, etc):
1318	* doc/define.n, doc/ooInfo.n, benchmarks/cps.tcl:
1319	* tests/oo.test (oo-26.*): Allow the declaration of the common
1320	variables used in methods of a class or object. These are then mapped
1321	in using a variable resolver. This makes many class declarations much
1322	simpler overall, encourages good usage of variable names, and also
1323	boosts speed a bit.
1324
1325	* generic/tclOOMethod.c (TclOOGetMethodBody): Factor out the code to
1326	get the body of a procedure-like method. Reduces the amount of "poking
1327	inside the abstraction" that is done by the introspection code.
1328
13292008-09-22  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
1330
1331	* doc/chan.n: Clean up paragraph order.
1332
13332008-09-18  Miguel Sofer  <msofer@users.sf.net>
1334
1335	* generic/tclExecute.c (NEXT_INST_F):
1336	* generic/tclInt.h (TCL_CT_ASSERT): New compile-time assertions,
1337	adapted from www.pixelbeat.org/programming/gcc/static_assert.html
1338
13392008-09-17  Don Porter  <dgp@users.sourceforge.net>
1340
1341	* generic/tclInt.h: Correct the TclGetLongFromObj, TclGetIntFromObj,
1342	and TclGetIntForIndexM macros so that they retrieve the longValue
1343	field from the internalRep instead of casting the otherValuePtr field
1344	to type long.
1345
13462008-09-17  Miguel Sofer  <msofer@users.sf.net>
1347
1348	* library/init.tcl: Export min and max commands from the mathfunc
1349	namespace. [Bug 2116053]
1350
13512008-09-16  Joe Mistachkin  <joe@mistachkin.com>
1352
1353	* generic/tclParse.c: Move TclResetCancellation to be called on
1354	returning to level 0, as opposed to it being called on starting a
1355	substitution at level 0.
1356
13572008-09-16  Miguel Sofer  <msofer@users.sf.net>
1358
1359	* generic/tclBasic.c: Move TclResetCancellation to be called on
1360	returning to level 0, as opposed to it being called on starting a
1361	command at level 0. Add a call on returning via Tcl_EvalObjEx to fix
1362	[Bug 2114165].
1363
13642008-09-10  Donal K. Fellows  <dkf@users.sf.net>
1365
1366	* doc/binary.n: Added partial documentation of [binary encode] and
1367	[binary decode].
1368
1369	* tests/binary.test,cmdAH.test,cmdIL.test,cmdMZ.test,fileSystem.test:
1370	More use of tcltest2 to simplify the tests as exposed to people.
1371	* tests/compile.test (compile-18.*): Added *some* tests of the
1372	disassmbler, though not of its output format.
1373
13742008-09-10  Miguel Sofer  <msofer@users.sf.net>
1375
1376	* tests/nre.test: Add missing constraints; enable test of foreach
1377	recursion.
1378
1379	* generic/tclBasic.c:
1380	* generic/tclCompile.h:
1381	* generic/tclExecute.c (INST_EVAL_STK): Wrong numLevels when evaling a
1382	canonical list. [Bug 2102930]
1383
13842008-09-10  Donal K. Fellows  <dkf@users.sf.net>
1385
1386	* generic/tclListObj.c (Tcl_ListObjGetElements): Make this list->dict
1387	transformation - encountered when using [foreach] with dicts - not as
1388	expensive as it was before. Spotted by Kieran Elby and reported on
1389	tcl-core.
1390
13912008-09-08  Donal K. Fellows  <dkf@users.sf.net>
1392
1393	* tests/append.test, appendComp.test, cmdAH.test: Use the powers of
1394	tcltest2 to make these files simpler.
1395
13962008-09-07  Miguel Sofer  <msofer@users.sf.net>
1397
1398	* generic/tclCompile.c (TclCompileTokens):
1399	* generic/tclExecute.c (CompileExprObj): Fix a perf bug (found by Alex
1400	Ferrieux) where some variables in the LVT where not being accessed by
1401	index. Fix missing localCache management in compiled expressions found
1402	while analyzing the bug.
1403
14042008-09-07  Miguel Sofer  <msofer@users.sf.net>
1405
1406	* doc/namespace.n: Fix [Bug 2098441]
1407
14082008-09-04  Miguel Sofer  <msofer@users.sf.net>
1409
1410	* generic/tclTrace.test (TraceVarProc):
1411	* generic/unsupported.test: Insure that unset traces are run even when
1412	the coroutine is unwinding. [Bug 2093947]
1413
1414	* generic/tclExecute.c (CACHE_STACK_INFO):
1415	* tests/unsupported.test: Restore execEnv's bottomPtr. [Bug 2093188]
1416
14172008-09-02  Don Porter  <dgp@users.sourceforge.net>
1418
1419	* generic/tcl.h:	Stripped "callers" of the _ANSI_ARGS_ macro
1420	* compat/dirent2.h:	to support a TCL_NO_DEPRECATED build.
1421	* compat/dlfcn.h:
1422	* unix/tclUnixPort.h:
1423
1424	* generic/tcl.h:	Removed the conditional #define of
1425	_ANSI_ARGS_ that would support pre-prototype C compilers. Since
1426	_ANSI_ARGS_ is no longer used in tclDecls.h, it's clear no one
1427	compiling against Tcl 8.5 headers is making use of a -DNO_PROTOTYPES
1428	configuration.
1429
14302008-09-02  Donal K. Fellows  <dkf@users.sf.net>
1431
1432	* tests/socket.test: Rewrote so as to use tcltest2 better.
1433
14342008-09-01  Miguel Sofer  <msofer@users.sf.net>
1435
1436	* generic/tclCmdAH.c:	   NRE-enabling [eval]; eval scripts are now
1437	* generic/tclOOBasic.c:	   bytecompiled. Adapted recursion limit tests
1438	* tests/interp.test:	   that were relying on eval not being
1439	* tests/nre.test:	   compiled. Part of the [Bug 2017632] project.
1440	* tests/unsupported.test:
1441
14422008-09-01  Donal K. Fellows  <dkf@users.sf.net>
1443
1444	* generic/tclOOMethod.c (InvokeProcedureMethod):
1445	* generic/tclOO.c (ObjectRenamedTrace): Arrange for only methods that
1446	involve callbacks into the Tcl interpreter to be skipped when the
1447	interpreter is being torn down. Allows the semantics of destructors in
1448	a dying interpreter to be more useful when they're implemented in C.
1449
14502008-08-29  Donal K. Fellows  <dkf@users.sf.net>
1451
1452	* unix/Makefile.in: Ensure that all TclOO headers get installed.
1453	* win/Makefile.in:  [Bug 2082299]
1454	* win/makefile.bc:
1455	* win/makefile.vc:
1456
14572008-08-28  Don Porter  <dgp@users.sourceforge.net>
1458
1459	* README:		Bump version number to 8.6a3
1460	* generic/tcl.h:
1461	* library/init.tcl:
1462	* tools/tcl.wse.in:
1463	* unix/configure.in:
1464	* unix/tcl.spec:
1465	* win/configure.in:
1466
1467	* unix/configure:	autoconf-2.59
1468	* win/configure:
1469
14702008-08-27  Donal K. Fellows  <dkf@users.sf.net>
1471
1472	* doc/tclvars.n, doc/library.n: Ensured that these two manual pages
1473	properly cross-reference each other. Issue reported on Tcler's Chat.
1474
14752008-08-26  Miguel Sofer  <msofer@users.sf.net>
1476
1477	* generic/tclBasic.c (InfoCoroutine):
1478	* tests/unsupported.test: New command that returns the FQN of the
1479	currently executing coroutine. Lives as infoCoroutine under
1480	unsupported, but is designed to become a subcommand of [info]
1481
14822008-08-23  Miguel Sofer  <msofer@users.sf.net>
1483
1484	* generic/tclBasic.c (NRInterpCoroutine): Store the caller's eePtr,
1485	stop assuming the coroutine is invoked from the same execEnv where it
1486	was created.
1487
14882008-08-24  Donal K. Fellows  <dkf@users.sf.net>
1489
1490	* generic/tclCmdAH.c (TclNRForeachCmd): Converted the [foreach]
1491	command to have an NRE-aware non-compiled implementation. Part of the
1492	[Bug 2017632] project. Also restructured the code so as to manage its
1493	temporary memory more efficiently.
1494
14952008-08-23  Miguel Sofer  <msofer@users.sf.net>
1496
1497	* generic/tclBasic.c:	  Removed unused var; fixed function pointer
1498	* generic/tclOOInt.h:	  declarations (why did gcc start complaining
1499	* generic/tclOOMethod.c:  all of a sudden?)
1500	* generic/tclProc.c:
1501
15022008-08-23  Donal K. Fellows  <dkf@users.sf.net>
1503
1504	* generic/tclInt.h (EnsembleImplMap): Added extra field to make it
1505	* generic/tclNamesp.c (TclMakeEnsemble): easier to build non-recursive
1506	ensembles in the core.
1507
1508	* generic/tclDictObj.c (DictForNRCmd): Converted the [dict for]
1509	command to have an NRE-aware non-compiled implementation. Part of the
1510	[Bug 2017632] project.
1511
15122008-08-22  Miguel Sofer  <msofer@users.sf.net>
1513
1514	* generic/tclBasic.c:
1515	* generic/tclExecute.c: Set special errocodes: COROUTINE_BUSY,
1516	COROUTINE_CANT_YIELD, COROUTINE_ILLEGAL_YIELD.
1517
15182008-08-22  Don Porter  <dgp@users.sourceforge.net>
1519
1520	*** 8.6a2 TAGGED FOR RELEASE ***
1521
1522	* changes:	Updates for 8.6a2 release.
1523
1524	* generic/tcl.h:	Drop use of USE_COMPAT85_CONST. That added
1525	indirection without value. Use -DCONST86="" to engage source compat
1526	support for code written for 8.5 headers.
1527
1528	* generic/tclUtil.c (TclReToGlob):	Added missing set of the
1529	*exactPtr value to really fix [Bug 2065115]. Also avoid possible
1530	DString overflow.
1531	* tests/regexpComp.test:	Correct duplicate test names.
1532
15332008-08-21  Miguel Sofer  <msofer@users.sf.net>
1534
1535	* generic/tclBasic.c:	  Previous fix, now done right.
1536	* generic/tclCmdIL.c:
1537	* generic/tclInt.h:
1538	* tests/unsupported.test:
1539
15402008-08-21  Jeff Hobbs  <jeffh@ActiveState.com>
1541
1542	* tests/regexp.test, tests/regexpComp.test: Correct re2glob ***=
1543	* generic/tclUtil.c (TclReToGlob):	    translation from exact
1544	to anywhere-in-string match. [Bug 2065115]
1545
15462008-08-21  Don Porter  <dgp@users.sourceforge.net>
1547
1548	* generic/tcl.h:	Reduced the use of CONST86 and eliminated
1549	* generic/tcl.decls:	the use of CONST86_RETURN to support source
1550	code compatibility with Tcl 8.5 on those public routines passing
1551	(Tcl_Filesystem *), (Tcl_Timer *), and (Tcl_Objtype *) values which
1552	have been const-ified. What remains is the minimum configurability
1553	needed to support code written for pre-8.6 headers via the new
1554	-DUSE_COMPAT85_CONST compiler directive.
1555	*** POTENTIAL INCOMPATIBILITY ***
1556
1557	* generic/tclDecls.h:	make genstubs
1558
15592008-08-21  Miguel Sofer  <msofer@users.sf.net>
1560
1561	* generic/tclBasic.c:	Fix the cmdFrame level count in
1562	* generic/tclCmdIL.c:	coroutines. Fix small bug on coroutine
1563	* generic/tclInt.h:	rewind.
1564
15652008-08-21  Donal K. Fellows  <dkf@users.sf.net>
1566
1567	* generic/tclProc.c (Tcl_DisassembleObjCmd): Added ability to
1568	disassemble TclOO methods. The code to do this is very ugly.
1569
15702008-08-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
1571
1572	* generic/tclOOMethod.c: Added casts to make MSVC happy
1573	* generic/tclBasic.c:
1574
15752008-08-20  Donal K. Fellows  <dkf@users.sf.net>
1576
1577	* generic/tclOO.c (AllocObject): Suppress compilation of commands in
1578	the namespace allocated for each object.
1579	* generic/tclOOMethod.c (PushMethodCallFrame): Restore some of the
1580	hackery that makes calling methods of classes fast. Fixes performance
1581	problem introduced by the fix of [Bug 2037727].
1582
1583	* generic/tclCompile.c (TclCompileScript):    Allow the suppression of
1584	* generic/tclInt.h (NS_SUPPRESS_COMPILATION): compilation of commands
1585	* generic/tclNamesp.c (Tcl_CreateNamespace):  from a namespace or its
1586	children.
1587
15882008-08-20  Daniel Steffen  <das@users.sourceforge.net>
1589
1590	* generic/tclTest.c (TestconcatobjCmd):	Fix use of internal-only
1591	TclInvalidateStringRep macro. [Bug 2057479]
1592
15932008-08-17  Miguel Sofer  <msofer@users.sf.net>
1594
1595	* generic/tclBasic.c:	   Implementation of [coroutine] and [yield]
1596	* generic/tclCmdAH.c:	   commands (in tcl::unsupported).
1597	* generic/tclCompile.h:
1598	* generic/tclExecute.c:
1599	* generic/tclInt.h:
1600	* tests/unsupported.test:
1601
1602	* generic/tclTest.c (TestconcatobjCmd):
1603	* generic/tclUtil.c (Tcl_ConcatObj):
1604	* tests/util.test (util-4.7):
1605	Fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a
1606	hairy monster. This was exposed by [Bug 2055782]. Additionally,
1607	Tcl_ConcatObj could corrupt its input under certain conditions!
1608
1609	*** NASTY BUG FIXED ***
1610
16112008-08-16  Miguel Sofer  <msofer@users.sf.net>
1612
1613	* generic/tclExecute.c: Better cmdFrame management
1614
16152008-08-14  Don Porter  <dgp@users.sourceforge.net>
1616
1617	* tests/fileName.test:	Revise new tests for portability to case
1618	insensitive filesystems.
1619
16202008-08-14  Daniel Steffen  <das@users.sourceforge.net>
1621
1622	* generic/tclBasic.c (TclNREvalObjv, Tcl_NRCallObjProc):
1623	* generic/tclProc.c (TclNRInterpProcCore, InterpProcNR2):
1624	DTrace probes for NRE. [Bug 2017160]
1625
1626	* generic/tclBasic.c (TclDTraceInfo):	Add two extra arguments to
1627	* generic/tclCompile.h:			DTrace 'info' probes for tclOO
1628	* generic/tclDTrace.d:			method & class/object info.
1629
1630	* generic/tclCompile.h:	Add support for debug logging of DTrace
1631	* generic/tclBasic.c:	'proc', 'cmd' and 'inst' probes (does _not_
1632				require a platform with DTrace).
1633
1634	* generic/tclCmdIL.c (TclInfoFrame):	Check fPtr->line before
1635						dereferencing as line info may
1636						not exists when TclInfoFrame()
1637						is called from a DTrace probe.
1638
1639	* tests/fCmd.test (fCmd-6.23):	Made result matching robust when test
1640					workdir and /tmp are not on same FS.
1641
1642	* unix/tclUnixThrd.c:		Remove unused TclpThreadGetStackSize()
1643	* generic/tclInt.h:		and related ifdefs and autoconf tests.
1644	* unix/tclUnixPort.h:		[Bug 2017264] (jenglish)
1645	* unix/tcl.m4:
1646
1647	* unix/Makefile.in:		Ensure Makefile shell is /bin/bash for
1648	* unix/configure.in (SunOS):	DTrace-enabled build on Solaris.
1649					(followup to 2008-06-12) [Bug 2016584]
1650
1651	* unix/tcl.m4 (SC_PATH_X):	Check for libX11.dylib in addition to
1652					libX11.so et al.
1653
1654	* unix/configure:		autoconf-2.59
1655	* unix/tclConfig.h.in:		autoheader-2.59
1656
16572008-08-13  Miguel Sofer  <msofer@users.sf.net>
1658
1659	* tests/nre.test: Added test for large {*}-expansion effects
1660
16612008-08-13  Don Porter  <dgp@users.sourceforge.net>
1662
1663	* generic/tclFileName.c:	Fix for errors handling -types {}
1664	* tests/fileName.test:		option to [glob]. [Bug 1750300]
1665	Thanks to Matthias Kraft and George Peter Staplin.
1666
16672008-08-12  Jeff Hobbs  <jeffh@ActiveState.com>
1668
1669	* generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd):
1670	Fix # args displayed. [Bug 2048676]
1671
16722008-08-08  Don Porter  <dgp@users.sourceforge.net>
1673
1674	* generic/tclOOMethod.c (PushMethodCallFrame):	Added missing check
1675	for bytecode validity. [Bug 2037727]
1676
1677	* generic/tclProc.c (TclProcCompileProc):	On recompile of a
1678	proc, clear away any entries on the CompiledLocal list from the
1679	previous compile. This will prevent compile of temporary variables in
1680	the proc body from growing the localCache arbitrarily large.
1681
1682	* README:		Bump version number to 8.6a2
1683	* generic/tcl.h:
1684	* library/init.tcl:
1685	* tools/tcl.wse.in:
1686	* unix/configure.in:
1687	* unix/tcl.spec:
1688	* win/configure.in:
1689
1690	* unix/configure:	autoconf-2.59
1691	* win/configure:
1692
1693	* changes:	Updates for 8.6a2 release.
1694
16952008-08-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
1696
1697	* library/http/http.tcl: Remove 8.5 requirement.
1698	* library/http/pkgIndex.tcl:
1699	* unix/Makefile.in:
1700	* win/Makefile.in:
1701	* win/makefile.vc:
1702
17032008-08-11  Andreas Kupries  <andreask@activestate.com>
1704
1705	* library/tm.tcl: Added a 'package provide' command to the generated
1706	ifneeded scripts of Tcl Modules, for early detection of conflicts
1707	between the version specified through the file name and a 'provide'
1708	command in the module implementation, if any. Note that this change
1709	also now allows Tcl Modules to not provide a 'provide' command at all,
1710	and declaring their version only through their filename.
1711
1712	* generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggered by
1713	* tests/proc.test: procbody::test::proc. See [Bug 2043636]. Added a
1714	test case demonstrating the leak before the fix. Fixed a few spelling
1715	errors in test descriptions as well.
1716
17172008-08-11  Don Porter  <dgp@users.sourceforge.net>
1718
1719	* library/http/http.tcl:	Bump http version to 2.7.1 to account
1720	* library/http/pkgIndex.tcl:	for [Bug 2046486] bug fix. This
1721	* unix/Makefile.in:		release of http now requires a
1722	* win/Makefile.in:		dependency on Tcl 8.5 to be able to
1723	* win/makefile.bc:		use the unsigned formats in the
1724	* win/makefile.vc:		[binary scan] command.
1725
17262008-08-11  Pat Thoyts  <patthoyts@users.sourceforge.net>
1727
1728	* library/http/http.tcl: CRC field from zlib data should be treated as
1729	unsigned for 64bit support. [Bug 2046846]
1730
17312008-08-10  Miguel Sofer  <msofer@users.sf.net>
1732
1733	* generic/tclProc.c: Completely removed ProcCompileProc, which was a
1734	fix for [Bug 1482718]. This is not needed at least since varReform,
1735	where the local variable data at runtime is read from the CallFrame
1736	and/or the LocalCache.
1737
17382008-08-09  Miguel Sofer  <msofer@users.sf.net>
1739
1740	* generic/tclBasic.c:	Slight cleanup
1741	* generic/tclCompile.h:
1742	* generic/tclExecute.c:
1743
17442008-08-09  Daniel Steffen  <das@users.sourceforge.net>
1745
1746	* generic/tclExecute.c:	Fix warnings.
1747
1748	* generic/tclOOMethod.c (PushMethodCallFrame):	Fix uninitialized efi
1749							name field.
1750
1751	* tests/lrange.test (lrange-1.17):	Add test cleanup; whitespace.
1752
17532008-08-08  Don Porter  <dgp@users.sourceforge.net>
1754
1755	* changes:	Updates for 8.6a2 release.
1756
17572008-08-08  Kevin Kenny  <kennykb@acm.org>
1758
1759	* library/tzdata/CET:
1760	* library/tzdata/MET:
1761	* library/tzdata/Africa/Casablanca:
1762	* library/tzdata/America/Eirunepe:
1763	* library/tzdata/America/Rio_Branco:
1764	* library/tzdata/America/Santarem:
1765	* library/tzdata/America/Argentina/San_Luis:
1766	* library/tzdata/Asia/Karachi:
1767	* library/tzdata/Europe/Belgrade:
1768	* library/tzdata/Europe/Berlin:
1769	* library/tzdata/Europe/Budapest:
1770	* library/tzdata/Europe/Sofia:
1771	* library/tzdata/Indian/Mauritius:  Olson's tzdata2008e.
1772
17732008-08-07  Miguel Sofer  <msofer@users.sf.net>
1774
1775	* generic/tclBasic.c:	Fix tailcalls falling out of tebc into
1776	* generic/tclExecute.c: Tcl_EvalEx. [Bug 2017946]
1777	* generic/tclInt.h:
1778
17792008-08-06  Don Porter  <dgp@users.sourceforge.net>
1780
1781	* generic/tclOO.c:	Revised TclOO's check for an interp being
1782	deleted during handling of object command deletion. The old code was
1783	relying on documented features of command delete traces that do not in
1784	fact work. [Bug 2039178]
1785
1786	* tests/oo.test (oo-26.*):	Added tests that demonstrate failure
1787	of TclOO to check for various kinds of invalid bytecode during method
1788	dispatch. [Bug 2037727]
1789
17902008-08-06  Miguel Sofer  <msofer@users.sf.net>
1791
1792	* generic/tclVar.c (TclLookupSimpleVar): Fix bug that the core could
1793	not trigger before TclOO: the number of locals was being read from the
1794	Proc, which can under some circumstance be out of sync with the
1795	localCache's. Found by dgp while investigating [Bug 2037727].
1796
1797	* library/init.tcl (::unknown): Removed the [namespace inscope]
1798	hack that was maintained for Itcl
1799
1800	*** POTENTIAL INCOMPATIBILITY *** for Itcl
1801	Itcl users will need a new release with Itcl's [Patch 2040295], or
1802	else load the tiny script in that patch by themselves (rewrite
1803	::unknown). Note that it is a script-only patch.
1804
18052008-08-05  Joe English  <jenglish@users.sourceforge.net>
1806
1807	* unix/tclUnixChan.c: Streamline async connect logic [Patch 1994512]
1808
18092008-08-05  Miguel Sofer  <msofer@users.sf.net>
1810
1811	* generic/tclExecute.c: Fix for [Bug 2038069] by dgp.
1812	* tests/execute.test:
1813
18142008-08-04  Miguel Sofer  <msofer@users.sf.net>
1815
1816	* tests/nre.test: Added tests for [if], [while] and [for]. A test
1817	for [foreach] has been added and marked as knownbug, awaiting for it
1818	to be NR-enabled.
1819
1820	* generic/tclBasic.c:	   Made atProcExit commands run
1821	* generic/tclCompile.h:	   unconditionally, streamlined
1822	* generic/tclExecute.c:	   atProcExit/tailcall processing in TEBC.
1823	* generic/tclProc.c:
1824	* tests/unsupported.test:
1825
18262008-08-04  Don Porter  <dgp@users.sourceforge.net>
1827
1828	* generic/tclExecute.c: Stopped faulty double-logging of errors to
1829	* tests/execute.test:	stack trace when a compile epoch bump triggers
1830	fallback to direct evaluation of commands in a compiled script.
1831	[Bug 2037338]
1832
18332008-08-03  Miguel Sofer  <msofer@users.sf.net>
1834
1835	* generic/tclBasic.c:	   New unsupported command atProcExit that
1836	* generic/tclCompile.h:	   shares the implementation with tailcall.
1837	* generic/tclExecute.c:	   Fixed a segfault in tailcalls. Tests added.
1838	* generic/tclInt.h:
1839	* generic/tclInterp.c:
1840	* generic/tclNamesp.c:
1841	* tests/unsupported.test:
1842
18432008-08-02  Miguel Sofer  <msofer@users.sf.net>
1844
1845	* tests/NRE.test (removed):	Migrated tests to standard locations,
1846	* tests/nre.test (new):		separating core functionality from the
1847	* tests/unsupported.test (new):	experimental commands.
1848
18492008-08-01  Jeff Hobbs  <jeffh@ActiveState.com>
1850
1851	* doc/Exit.3:			Do not call Tcl_Finalize implicitly
1852	* generic/tclEvent.c:		on DLL_PROCESS_DETACH as it may lead
1853	* win/tclWin32Dll.c (DllMain):	to issues and the user should be
1854	explicitly calling Tcl_Finalize before unloading regardless. Clarify
1855	the docs to note the explicit need in embedded use.
1856
18572008-08-01  Don Porter  <dgp@users.sourceforge.net>
1858
1859	* generic/tclBasic.c:	Revised timing of the CmdFrame stack
1860	* tests/info.test:	management in TclEvalEx so that the CmdFrame
1861	will still be on the stack at the time Tcl_LogCommandInfo is called to
1862	append another level of -errorinfo information. Sets the stage to add
1863	file and line data to the stack trace. Added test to check that [info
1864	frame] functioning remains unchanged by the revision.
1865
18662008-07-31  Miguel Sofer  <msofer@users.sf.net>
1867
1868	* tests/NRE.test:  Replaced all deep-recursing tests by shallower
1869	tests that actually measure the C-stack depth. This makes them
1870	bearable again (even under memdebug) and avoid crashing on failure.
1871
1872	* generic/tclBasic.c:	NR-enabling [catch], [if] and [for] and
1873	* generic/tclCmdAH.c:	[while] (the script, not the tests)
1874	* generic/tclCmdIL.c:
1875	* generic/tclCmdMZ.c:
1876	* generic/tclInt.h:
1877	* tests/NRE.test:
1878
1879	* generic/tclBasic.c:	Moved the few remaining defs from tclNRE.h to
1880	* generic/tclDictObj.c: tclInt.h, eliminated inclusion of tclNRE.h
1881	* generic/tclExecute.c: everywhere.
1882	* generic/tclInt.h:
1883	* generic/tclInterp.c:
1884	* generic/tclNRE.h (removed):
1885	* generic/tclNamesp.c:
1886	* generic/tclOOBasic.c:
1887	* generic/tclOOInt.h:
1888	* generic/tclProc.c:
1889	* generic/tclTest.c:
1890	* unix/Makefile.in:
1891
18922008-07-30  Miguel Sofer  <msofer@users.sf.net>
1893
1894	* generic/tclBasic.c:	 Improved tailcalls.
1895	* generic/tclCompile.h:
1896	* generic/tclExecute.c:
1897	* generic/tclTest.c:
1898	* tests/NRE.test:
1899
1900	* generic/tclBasic.c (TclNREvalObjEx): New comments and code reorg
1901	to clarify what is happening.
1902
1903	* generic/tclBasic.c: Guard against the value of iPtr->evalFlags
1904	changing between the times where TEOV and TEOV_exception run. Thanks
1905	dgp for catching this.
1906
19072008-07-29  Miguel Sofer  <msofer@users.sf.net>
1908
1909	* tests/NRE.test: New tests that went MIA in the NRE revamping
1910
1911	* generic/tclBasic.c:	Clean up
1912	* generic/tclNRE.h:
1913	* generic/tclExecute.c:
1914
1915	* generic/tclBasic.c:	Made use of the thread's alloc cache stored in
1916	* generic/tclInt.h:	the ekeko at interp creation to avoid hitting
1917	* generic/tclNRE.h:	the TSD each time an NRE callback is pushed or
1918	* generic/tclThreadAlloc.c: pulled; the approach is suitably general
1919	to extend to every other obj allocation where an interp is know; this
1920	is left for some other time, requires a lot of grunt work.
1921
1922	* generic/tclExecute.c:	 Fix [Bug 2030670] that cause TclStackRealloc
1923	to panic on rare corner cases. Thx ajpasadyn for diagnose and patch.
1924
1925	* generic/tcl.decls:	 Completely revamped NRE implementation, with
1926	* generic/tclBasic.c:	 (almost) unchanged API.
1927	* generic/tclCompile.h:
1928	* generic/tclExecute.c:	 TEBC will require a bit of a facelift, but
1929	* generic/tclInt.decls:	 TEOV at least looks great now. There are new
1930	* generic/tclInt.h:	 tests (incomplete!) to verify that execution
1931	* generic/tclInterp.c:	 is indeed in the same TEBC instance, at the
1932	* generic/tclNRE.h:	 same level in all stacks involved. Tailcalls
1933	* generic/tclNamesp.c:	 are still a bit leaky, still deserving to be
1934	* generic/tclOOBasic.c:	 in tcl::unsupported.
1935	* generic/tclOOMethod.c:
1936	* generic/tclProc.c:	 Uninit'd var warnings in TEBC with -O2, no
1937	* generic/tclTest.c:	 warnings otherwise.
1938
19392008-07-28  Jan Nijtmans  <nijtmans@users.sf.net>
1940
1941	* doc/FileSystem.3:		CONSTified many functions using
1942	* generic/tcl.decls:		Tcl_FileSystem which all are supposed
1943	* generic/tclDecls.h:		to be a constant, but this was not
1944	* generic/tclFileSystem.h:	reflected in the API: Tcl_FSData,
1945	* generic/tclIOUtil.c:		Tcl_FSGetInternalRep, Tcl_FSRegister,
1946	* generic/tclPathObj.c:		Tcl_FSNewNativePath, Tcl_FSUnregister,
1947	* generic/tclTest.c:		Tcl_FSGetFileSystemForPath ...
1948	This change complies with TIP #27.
1949	***POTENTIAL INCOMPATIBILITY***
1950
19512008-07-28  Andreas Kupries  <andreask@activestate.com>
1952
1953	* generic/tclBasic.c: Added missing ref count when creating an empty
1954	string as path (TclEvalEx). In 8.4 the missing code caused panics in
1955	the testsuite. It doesn't in 8.5. I am guessing that the code path
1956	with the missing the incr-refcount is not invoked any longer. Because
1957	the bug in itself is certainly the same.
1958
19592008-07-27  Donal K. Fellows  <dkf@users.sf.net>
1960
1961	* generic/tclOOMethod.c (PushMethodCallFrame): Remove hack that should
1962	have gone when this code was merged into Tcl.
1963
19642008-07-27  Jan Nijtmans  <nijtmans@users.sf.net>
1965
1966	* doc/Object.3:		CONSTified 3 functions using Tcl_ObjType
1967	* doc/ObjectType.3:	which all are supposed to be a constant, but
1968	* generic/tcl.decls:	this was not reflected in the API:
1969	* generic/tcl.h:	Tcl_RegisterObjType, Tcl_ConvertToType,
1970	* generic/tclDecls.h:	Tcl_GetObjType
1971	* generic/tclObj.c:	Introduced a CONST86_RETURN, so extensions
1972	* generic/tclCompCmds.c: which use Tcl_ObjType directly can be
1973	* generic/tclOOMethod.c: modified to compile against both Tcl 8.5 and
1974	* generic/tclTestobj.c:	Tcl 8.6. tclDecls.h regenerated
1975	This change complies with TIP #27.
1976	***POTENTIAL INCOMPATIBILITY***
1977
19782008-07-25  Andreas Kupries  <andreask@activestate.com>
1979
1980	* test/info.test: More work on singleTestInterp usability. [1605269]
1981
1982	* tests/info.test: Tests 38.* added, exactly testing the tracking of
1983	location for uplevel scripts. Resolved merge conflict on info-37.0,
1984	switched !singleTestInterp constraint to glob matching instead. Ditto
1985	info-22.8, removed constraint, more glob matching, and reduced the
1986	depth of the stack we check. More is coming, right now I want to
1987	commit the bug fixes.
1988
1989	* tests/oo.test: Updated oo-22.1 for expanded location tracking.
1990
1991	* generic/tclCompile.c (TclInitCompileEnv): Reorganized the
1992	initialization of the #280 location information to match the flow in
1993	TclEvalObjEx to get more absolute contexts.
1994
1995	* generic/tclBasic.c (TclEvalObjEx): Added missing cleanup of extended
1996	location information.
1997
19982008-07-25  Daniel Steffen  <das@users.sourceforge.net>
1999
2000	* tests/info.test (info-37.0): Add !singleTestInterp constraint;
2001	(info-22.8, info-23.0): switch to glob matching to avoid sensitivity
2002	to tcltest.tcl line number changes, remove knownBug constraint, fix
2003	expected result. [Bug 1605269]
2004
20052008-07-24  Jan Nijtmans  <nijtmans@users.sf.net>
2006
2007	* doc/Notifier.3:      CONSTified 4 functions in the Notifier which
2008	* doc/Thread.3:	       all have a Tcl_Time* in it which is supposed
2009	* generic/tcl.decls:   to be a constant, but this was not reflected
2010	* generic/tcl.h:       reflected in the API:
2011	* generic/tclDecls.h:	    Tcl_SetTimer, Tcl_WaitForEvent,
2012	* generic/tclNotify.c:	    Tcl_ConditionWait, Tcl_SetMaxBlockTime
2013	* macosx/tclMacOSXNotify.c:
2014	* generic/tclThread.c: Introduced a CONST86, so extensions which have
2015	* unix/tclUnixNotfy.c: have their own Notifier (are there any?) can
2016	* unix/tclUnixThrd.c:  can be modified to compile against both Tcl
2017	* win/tclWinNotify.c:  Tcl 8.5 and Tcl 8.6
2018	* win/tclWinThrd.c:    Regenerated tclDecls.h with "make stubs".
2019	This change complies with TIP #27
2020	***POTENTIAL INCOMPATIBILITY***
2021
20222008-07-23  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
2023
2024	* tests/lrange.test: Added relative speed test to check for lrange
2025	in-place optimization committed 2008-06-30.
2026	* tests/binary.test: Added relative speed test to check for pure byte
2027	array CONCAT1 optimization committed 2008-06-30.
2028
20292008-07-23  Andreas Kupries  <andreask@activestate.com>
2030
2031	* tests/info.test: Reordered the tests to have monotonously increasing
2032	numbers.
2033
2034	* generic/tclBasic.c: Modified TclArgumentGet to reject pure lists
2035	* generic/tclCmdIL.c: immediately, without search. Reworked setup of
2036	* generic/tclCompile.c: eoFramePtr, doesn't need the line information,
2037	* tests/info.test: more sensible to have everything on line 1 when
2038	eval'ing a pure list. Updated the users of the line information to
2039	special case this based on the frame type (i.e.
2040	TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new
2041	behaviour.
2042
20432008-07-23  Miguel Sofer  <msofer@users.sf.net>
2044
2045	* generic/tclBasic.c (GetCommandSource): Added comment with
2046	explanation and warning for waintainers.
2047
20482008-07-22  Andreas Kupries  <andreask@activestate.com>
2049
2050	* generic/tclCompile.c: Made the new TclEnterCmdWordIndex static, and
2051	* generic/tclCompile.h: ansified.
2052
2053	* generic/tclBasic.c: Ansified the new functions. Added missing
2054	function comments.
2055
2056	* generic/tclBasic.c: Reworked the handling of bytecode literals for
2057	* generic/tclCompile.c: #280 to fix the abysmal performance for deep
2058	* generic/tclCompile.h: recursion, replaced the linear search through
2059	* generic/tclExecute.c: the whole stack with another hashtable and
2060	* generic/tclInt.h: simplified the data structure used by the compiler
2061	by using an array instead of a hashtable. Incidentially this also
2062	fixes the memory leak reported via [Bug 2024937].
2063
20642008-07-22  Miguel Sofer  <msofer@users.sf.net>
2065
2066	* generic/tclBasic.c:	 Added numLevels field to CommandFrame, let
2067	* generic/tclExecute.c:	 GetCommandSource use it. This solves [Bug
2068	* generic/tclInt.h:	 2017146]. Thx dgp for the analysis.
2069
20702008-07-21  Andreas Kupries  <andreask@activestate.com>
2071
2072	* generic/tclBasic.c: Extended the existing TIP #280 system (info
2073	* generic/tclCmdAH.c: frame), added the ability to track the absolute
2074	* generic/tclCompCmds.c: location of literal procedure arguments, and
2075	* generic/tclCompile.c: making this information available to uplevel
2076	* generic/tclCompile.h: eval, and siblings. This allows proper
2077	* generic/tclInterp.c: tracking of absolute location through custom
2078	* generic/tclInt.h: (Tcl-coded) control structures based on uplevel,
2079	* generic/tclNamesp.c: etc.
2080	* generic/tclProc.c:
2081	* tests/info.test:
2082
20832008-07-21  Jan Nijtmans  <nijtmans@users.sf.net>
2084
2085	* generic/*.c: Fix [2021443] inconsistant "wrong # args" messages
2086	* win/tclWinReg.c
2087	* win/tclWinTest.c
2088	* tests/*.test
2089
20902008-07-21  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
2091
2092	TIP #304 IMPLEMENTATION
2093
2094	* generic/tcl.decls:	Public API
2095	* generic/tclIOCmds.c:	Generic part
2096	* unix/tclUnixPipe.c:	OS part
2097	* win/tclWinPipe.c:	OS part
2098	* tests/chan.test:	[chan pipe] tests
2099	* tests/ioCmd.test:	Modernized checks
2100	* tests/ioTrans.test:
2101
21022008-07-21  Pat Thoyts  <patthoyts@users.sourceforge.net>
2103
2104	* generic/tclFCmd.c:  Inodes on windows are unreliable. [Bug 2015723]
2105	* tests/winFCmd.test: test rename with inode collision
2106
21072008-07-21  Miguel Sofer  <msofer@users.sf.net>
2108
2109	* generic/tcl.decls:	  Changed the implementation of
2110	* generic/tclBasic.c:	  [namespace import]; removed
2111	* generic/tclDecls.h:	  Tcl_NRObjProc, replaced with
2112	* generic/tclExecute.c:	  Tcl_NRCmdSwap (proposed public
2113	* generic/tclInt.h:	  NRE API). This should fix
2114	* generic/tclNRE.h:	  [Bug 582506].
2115	* generic/tclNamesp.c:
2116	* generic/tclStubInit.c:
2117
2118	* generic/tclBasic.c:	 NRE: enabled calling NR commands
2119	* generic/tclExecute.c:	 from the callbacks. Completely
2120	* generic/tclInt.h:	 redone tailcall implementation
2121	* generic/tclNRE.h:	 using the new feature. [Bug 2021489]
2122	* generic/tclProc.c:
2123	* tests/NRE.test:
2124
21252008-07-20  Kevin B. Kenny  <kenykb@acm.org>
2126
2127	* tests/fileName.test: Repaired the failing test fileName-15.7 from
2128	dkf's commit earlier today.
2129
21302008-07-20  Donal K. Fellows  <dkf@users.sf.net>
2131
2132	* generic/tclDictObj.c (SetDictFromAny): Make the list->dict
2133	transformation a bit more efficient; modern dicts are ordered and so
2134	we can round-trip through lists without needing the string rep at all.
2135	* generic/tclListObj.c (SetListFromAny): Make the dict->list
2136	transformation not lossy of internal representations and hence more
2137	efficient. [Bug 2008248] (ajpasadyn) but using a more efficient patch.
2138
2139	* tests/fileName.test: Revise to reduce the obscurity of tests. In
2140	particular, all tests should now produce informative messages on
2141	failure and the quantity of [catch]-based obscurity is now greatly
2142	reduced; non-erroring is now checked for directly.
2143
21442008-07-19  Donal K. Fellows  <dkf@users.sf.net>
2145
2146	* tests/env.test: Add LANG to the list of variables that are not
2147	touched by the environment variable tests, so that subprocesses can
2148	get their system encoding correct.
2149
2150	* tests/exec.test, tests/env.test: Rewrite so that non-ASCII
2151	characters are not used in the final comparison. Part of fixing [Bug
2152	1513659].
2153
21542008-07-18  Miguel Sofer  <msofer@users.sf.net>
2155
2156	* generic/tclBasic.c:	 Optimization: replace calls to
2157	* generic/tclDictObj.c:	 Tcl_NRAddCallback with the macro
2158	* generic/tclExecute.c:	 TclNRAddCallback.
2159	* generic/tclInterp.c:
2160	* generic/tclNRE.h:
2161	* generic/tclNamesp.c:
2162	* generic/tclOO.c:
2163	* generic/tclOOBasic.c:
2164	* generic/tclOOCall.c:
2165	* generic/tclOOInt.h:
2166	* generic/tclOOMethod.c:
2167	* generic/tclProc.c:
2168
21692008-07-18  Donal K. Fellows  <dkf@users.sf.net>
2170
2171	* generic/tclOO.c (TclNRNewObjectInstance, FinalizeAlloc):
2172	* generic/tclOOBasic.c (TclOO_Class_Create, TclOO_Class_CreateNs)
2173	(TclOO_Class_New, FinalizeConstruction, AddConstructionFinalizer):
2174	NRE-enablement of the class construction methods.
2175
21762008-07-18  Miguel Sofer  <msofer@users.sf.net>
2177
2178	* tests/NRE.test:  Added basic tests for deep TclOO calls
2179
2180	* generic/tcl.decls:	   Change the public api prefix from
2181	* generic/tcl.h:	   TclNR_foo to Tcl_NRfoo
2182	* generic/tclBasic.c:
2183	* generic/tclDecls.h:
2184	* generic/tclDictObj.c:
2185	* generic/tclExecute.c:
2186	* generic/tclInterp.c:
2187	* generic/tclNRE.h:
2188	* generic/tclNamesp.c:
2189	* generic/tclOO.c:
2190	* generic/tclOOBasic.c:
2191	* generic/tclOOCall.c:
2192	* generic/tclOOMethod.c:
2193	* generic/tclProc.c:
2194	* generic/tclStubInit.c:
2195
21962008-07-18  Donal K. Fellows  <dkf@users.sf.net>
2197
2198	* generic/tclOOBasic.c (TclOO_Object_Eval, FinalizeEval): NRE-enable
2199	the oo::object.eval method.
2200
22012008-07-18  Miguel Sofer  <msofer@users.sf.net>
2202
2203	* generic/tclDictObj.c (DictWithCmd, DictUpdateCmd): Fix refcounting
2204	bugs that caused crashes [Bug 2017857].
2205
2206	* generic/tclBasic.c (TclNREvalObjEx): Streamline the management of
2207	the command frame (opt).
2208
22092008-07-17  Donal K. Fellows  <dkf@users.sf.net>
2210
2211	* generic/tclDictObj.c (DictWithCmd, FinalizeDictWith): Split the
2212	implementation of [dict with] so that it works with NRE.
2213	(DictUpdateCmd, FinalizeDictUpdate): Similarly for the non-compiled
2214	version of [dict update].
2215
22162008-07-16  George Peter Staplin  <georgeps@users.sf.net>
2217
2218	* win/tclWinThrd.c: Test for TLS_OUT_OF_INDEXES to make certain that
2219	thread key creation is successful.
2220
22212008-07-16  Donal K. Fellows  <dkf@users.sf.net>
2222
2223	* generic/tclOO.c, generic/tclOOInt.h, generic/tclOOBasic.c:
2224	* generic/tclOOCall.c, generic/tclOOMethod.c: NRE-enable the TclOO
2225	implementation in Tcl. No change to public APIs, except that method
2226	implementations can now be NRE-aware if they choose (which normal
2227	methods and forwards are). On the other hand, callers of
2228	TclOOInvokeObject (which is only in the internal stub table) will need
2229	to deal with the fact that it's only safe to call inside an NRE-aware
2230	context.
2231	***POTENTIAL INCOMPATIBILITY***
2232
22332008-07-15  Miguel Sofer  <msofer@users.sf.net>
2234
2235	* tests/NRE.test:	Better constraint for testing the existence of
2236	* tests/stack.test:	teststacklimit, to insure that the test suite
2237				runs under tclsh.
2238
2239	* generic/tclParse.c: Fixing incomplete reversion of "fix" for [Bug
2240	2017583], missing TclResetCancellation call.
2241
22422008-07-15  Donal K. Fellows  <dkf@users.sf.net>
2243
2244	* generic/tclBasic.c (Tcl_CancelEval): Fix blunder. [Bug 2018603]
2245
2246	* doc/DictObj.3: Fix error in example. [Bug 2016740]
2247
2248	* generic/tclNamesp.c (EnsembleUnknownCallback): Factor out some of
2249	the more complex parts of the ensemble code to make it easier to
2250	understand and hence to permit tighter compilation of code on the
2251	critical path.
2252
22532008-07-14  Miguel Sofer  <msofer@users.sf.net>
2254
2255	* generic/tclParse.c: Reverting the "fix" for [Bug 2017583], numLevel
2256	* tests/parse.test:   management and TclInterpReady check seems to be
2257			      necessary after all.
2258
22592008-07-14  Donal K. Fellows  <dkf@users.sf.net>
2260
2261	* generic/tclProc.c (TclNRApplyObjCmd, TclObjInterpProcCore):
2262	* generic/tclBasic.c (TclNR_AddCallback, TclEvalObjv_NR2):
2263	* generic/tclNRE.h (TEOV_callback): Change the callback storage type
2264	to use an array, so guaranteeing correct inter-member spacing and
2265	memory layout.
2266
22672008-07-14  Miguel Sofer  <msofer@users.sf.net>
2268
2269	* generic/tclExecute.c:	 Remove unneeded TclInterpReady calls
2270	* generic/tclParse.c:
2271
2272	* generic/tclBasic.c.:	 Embedded Tcl_Canceled() calls into
2273	* generic/tclExecute.c:	 TclInterpReady().
2274	* generic/tclParse.c:
2275
2276	* generic/tclVar.c: Fix error message
2277
2278	* generic/tclParse.c: Remove unnecessary numLevel management
2279	* tests/parse.test:   [Bug 2017583]
2280
2281	* generic/tclBasic.c.:	 NRE left too many calls to
2282	* generic/tclExecute.c:	 TclResetCancellation lying around: it
2283	* generic/tclProc.c:	 only needs to be called prior to any
2284				 iPtr->numLevels++. Thanks mistachkin.
2285
2286	* generic/tclBasic.c: TclResetCancellation() calls were misplaced
2287	(merge mishap); stray //. Thanks patthoyts.
2288
2289	* generic/tclInt.h: The new macros TclSmallAlloc and TclSmallFree
2290	were badly defined under mem debugging [Bug 2017240] (thx das)
2291
22922008-07-13  Miguel Sofer  <msofer@users.sf.net>
2293
2294	NRE implementation [Patch 2017110]
2295
2296	* generic/tcl.decls:	 The NRE infrastructure
2297	* generic/tcl.h:
2298	* generic/tclBasic.c:
2299	* generic/tclCmdAH.c:
2300	* generic/tclCompile.h:
2301	* generic/tclDecls.h:
2302	* generic/tclExecute.c:
2303	* generic/tclHistory.c:
2304	* generic/tclInt.decls:
2305	* generic/tclInt.h:
2306	* generic/tclIntDecls.h:
2307	* generic/tclNRE.h:
2308	* generic/tclStubInit.c:
2309	* unix/Makefile.in:
2310
2311	* generic/tclInterp.c:	 NRE-enabling: procs, lambdas, uplevel,
2312	* generic/tclNamesp.c:	 same-interp aliases, ensembles, imports
2313	* generic/tclProc.c:	 and namespace_eval.
2314
2315	* generic/tclTestProcBodyObj.c: New NRE specific tests (few, but
2316	* tests/NRE.test:		note that the thing is actually
2317					tested by the whole testsuite.
2318
2319	* tests/interp.test:	 Fixed numLevel counting.
2320	* tests/parse.test:
2321	* tests/stack.test:
2322
2323	* unix/configure:	 Removing support for the hacky nonportable
2324	* unix/configure.in:	 stack check: it is not needed anymore, Tcl
2325	* unix/tclConfig.h.in:	 is very thrifty on the C stack.
2326	* unix/tclUnixInit.c:
2327	* unix/tclUnixTest.c:
2328	* win/tclWin32Dll.c:
2329
23302008-07-08  Don Porter  <dgp@users.sourceforge.net>
2331
2332	* generic/tclGet.c:	Corrected out of date comments and removed
2333	* generic/tclInt.decls:	internal routine TclGetLong() that's no
2334	longer used. If an extension is using this from the internal stubs
2335	table, it can shift to the public routine Tcl_GetLongFromObj() or
2336	can request addition of a public Tcl_GetLong().
2337	***POTENTIAL INCOMPATIBILITY***
2338
2339	* generic/tclIntDecls.h:	make genstubs
2340	* generic/tclStubInit.c:
2341
23422008-07-08  Donal K. Fellows  <dkf@users.sf.net>
2343
2344	* doc/CrtInterp.3: Tighten up the descriptions of behaviour to make
2345	this page easier to read for a "Tcl 8.6" audience.
2346
23472008-07-07  Andreas Kupries  <andreask@activestate.com>
2348
2349	* generic/tclCmdIL.c (InfoFrameCmd): Fixed unsafe idiom of setting
2350	the interp result found by Don Porter.
2351
23522008-07-07  Donal K. Fellows  <dkf@users.sf.net>
2353
2354	* doc/regexp.n, doc/regsub.n: Correct examples. [Bug 1982642]
2355
23562008-07-06  Donal K. Fellows  <dkf@users.sf.net>
2357
2358	* doc/lindex.n: Improve examples.
2359
23602008-07-03  Andreas Kupries  <andreask@activestate.com>
2361
2362	* generic/tclIORChan.c (InvokeTclMethod): Fixed the memory leak
2363	reported in [Bug 1987821]. Thanks to Miguel for the report and Don
2364	Porter for tracking the cause down.
2365
23662008-07-03  Don Porter  <dgp@users.sourceforge.net>
2367
2368	* library/package.tcl:	Removed [file readable] testing from
2369	[tclPkgUnknown] and friends. We find out soon enough whether a file is
2370	readable when we try to [source] it, and not testing before allows us
2371	to workaround the bugs on some common filesystems where [file
2372	readable] lies to us. [Patch 1969717]
2373
23742008-07-01  Donal K. Fellows  <dkf@users.sf.net>
2375
2376	* generic/regc_nfa.c (duptraverse): Impose a maximum stack depth on
2377	the single most recursive part of the RE engine. The actual maximum
2378	may need tuning, but that needs a system with a small stack to carry
2379	out. [Bug 1905562]
2380
2381	* tests/string.test: Eliminate non-ASCII characters from the actual
2382	test script. [Bug 2006884]
2383
23842008-06-30  Donal K. Fellows  <dkf@users.sf.net>
2385
2386	* doc/ObjectType.3: Clean up typedef formatting.
2387
23882008-06-30  Don Porter  <dgp@users.sourceforge.net>
2389
2390	* doc/ObjectType.3:	Updated documentation of the Tcl_ObjType
2391	struct to match expectations of Tcl 8.5. [Bug 1917650]
2392
23932008-06-30  Alexandre Ferrieux  <ferrieux@users.sourceforge.net>
2394
2395	* generic/tclCmdIL.c: Lrange cleanup and in-place optimization. [Patch
2396	1890831]
2397
2398	* generic/tclExecute.c: Avoid useless String conversion for CONCAT1 of
2399	pure byte arrays. [Patch 1953758]
2400
24012008-06-29  Donal K. Fellows  <dkf@users.sf.net>
2402
2403	* doc/*.1, doc/*.3, doc/*.n: Many small updates, purging out of date
2404	change bars and cleaning up the formatting of typedefs. Added a few
2405	missing bits of documentation in the process.
2406
24072008-06-29  Don Porter  <dgp@users.sourceforge.net>
2408
2409	* generic/tclPathObj.c:	 Plug memory leak in [Bug 1999176] fix. Thanks
2410	to Rolf Ade for detecting.
2411
24122008-06-29  Donal K. Fellows  <dkf@users.sf.net>
2413
2414	* doc/interp.n: Corrected order of subcommands. [Bug 2004256]
2415	Removed obsolete (i.e. 8.5) .VS/.VE pairs.
2416
2417	* doc/object.n (EXAMPLES): Fix incorrect usage of oo::define to be
2418	done with oo::objdefine instead. [Bug 2004480]
2419
24202008-06-28  Don Porter  <dgp@users.sourceforge.net>
2421
2422	* generic/tclPathObj.c:	 Plug memory leak in [Bug 1972879] fix. Thanks
2423	to Rolf Ade for detecting and Dan Steffen for the fix. [Bug 2004654]
2424
24252008-06-26  Andreas Kupries  <andreask@activestate.com>
2426
2427	* unix/Makefile.in: Followup to my change of 2008-06-25, make code
2428	generated by the Makefile and put into the installed tm.tcl
2429	conditional on interpreter safeness as well. Thanks to Daniel Steffen
2430	for reminding me of that code.
2431
24322008-06-25  Don Porter  <dgp@users.sourceforge.net>
2433
2434	*** 8.6a1 TAGGED FOR RELEASE ***
2435
2436	* changes:	Updates for 8.6a1 release.
2437
2438	* generic/tclOO.h:	Bump to TclOO 0.5.
2439
24402008-06-25  Andreas Kupries  <andreask@activestate.com>
2441
2442	* library/tm.tcl:   Modified the handling of Tcl Modules and of the
2443	* library/safe.tcl: Safe Base to interact nicely with each other,
2444	* library/init.tcl: enabling requiring Tcl Modules in safe
2445	* tests/safe.test:  interpreters. [Bug 1999119]
2446
24472008-06-25  Pat Thoyts  <patthoyts@users.sourceforge.net>
2448
2449	* win/rules.vc: Fix versions of dde and registry dlls
2450	* win/makefile.vc: Fix problem building with staticpkg option
2451
24522008-06-24  Don Porter  <dgp@users.sourceforge.net>
2453
2454	* generic/tclPathObj.c: Fixed some internals management in the "path"
2455	Tcl_ObjType for the empty string value. Problem led to a crash in the
2456	command [glob -dir {} a]. [Bug 1999176]
2457
24582008-06-24  Pat Thoyts  <patthoyts@users.sourceforge.net>
2459
2460	* doc/fileevent.n: Fix examples and comment on eof use. [Bug 1995063]
2461
24622008-06-23  Don Porter  <dgp@users.sourceforge.net>
2463
2464	* generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() when
2465	operating on the "Special path" variant of the "path" Tcl_ObjType
2466	intrep. A full normalization was getting done, in particular, coercing
2467	relative paths to absolute, contrary to what the function of producing
2468	the "translated path" is supposed to do. [Bug 1972879]
2469
24702008-06-20  Don Porter  <dgp@users.sourceforge.net>
2471
2472	* changes:	Updates for 8.6a1 release.
2473
2474	* generic/tclInterp.c:	Fixed completely boneheaded mistake that
2475	* tests/interp.test:	[interp bgerror $slave] and [$slave bgerror]
2476	would always act like [interp bgerror {}]. [Bug 1999035]
2477
2478	* tests/chanio.test:	Corrected flawed tests revealed by a -debug 1
2479	* tests/cmdAH.test:	-singleproc 1 test suite run.
2480	* tests/event.test:
2481	* tests/interp.test:
2482	* tests/io.test:
2483	* tests/ioTrans.test:
2484	* tests/namespace.test:
2485
2486	* tests/encoding.test:	Make failing tests pass again. [Bug 1972867]
2487
24882008-06-19  Donal K. Fellows  <dkf@users.sf.net>
2489
2490	* generic/tclOO.c (Tcl_ObjectContextInvokeNext): Corrected 'next' (at
2491	* tests/oo.test (oo-7.8):	end of a call chain) to make it
2492	* doc/next.n:			consistent with the TIP. [Bug 1998244]
2493
2494	* generic/tclOOCall.c (AddSimpleClassChainToCallContext): Make sure
2495	* tests/oo.test (oo-14.8): that class mixins are processed in the
2496	documented order. [Bug 1998221]
2497
24982008-06-19  Don Porter  <dgp@users.sourceforge.net>
2499
2500	* changes:	Updates for 8.6a1 release.
2501
2502	* README:		Bump version number to 8.6a1
2503	* generic/tcl.h:
2504	* library/init.tcl:
2505	* tools/tcl.wse.in:
2506	* unix/configure.in:
2507	* unix/tcl.spec:
2508	* win/configure.in:
2509
2510	* unix/configure:	autoconf-2.59
2511	* win/configure:
2512
25132008-06-17  Andreas Kupries  <andreask@activestate.com>
2514
2515	* generic/tclClock.c (ClockConvertlocaltoutcObjCmd): Removed left
2516	over debug output.
2517
25182008-06-17  Andreas Kupries  <andreask@activestate.com>
2519
2520	* doc/tm.n: Followup to changelog entry 2008-03-18 regarding
2521	::tcl::tm::Defaults. Updated the documentation to not only mention the
2522	new (underscored) form of environment variable names, but make it the
2523	encouraged form as well. [Bug 1914604]
2524
25252008-06-17  Kevin Kenny  <kennykb@acm.org>
2526
2527	* generic/tclClock.c (ConvertLocalToUTC):
2528	* tests/clock.test (clock-63.1): Fixed a bug where the internal
2529	ConvertLocalToUTC command segfaulted if passed a dictionary without
2530	the 'localSeconds' key. To the best of my knowledge, the bug was not
2531	observable in the [clock] command itself.
2532
25332008-06-16  Andreas Kupries  <andreask@activestate.com>
2534
2535	* generic/tclCmdIL.c (TclInfoFrame): Moved the code looking up the
2536	* tests/info.test: information for key 'proc' out of the
2537	TCL_LOCATION_BC branch to after the switch, this is common to all
2538	frame types. Updated the testsuite to match. This was exposed by the
2539	2008-06-08 commit (Miguel), switching uplevel from direct eval to
2540	compilation. [Bug 1987851]
2541
25422008-06-16  Andreas Kupries  <andreask@activestate.com>
2543
2544	* tests/ioTrans.test (iortrans-11.*): Fixed same issue as for
2545	iortrans.tf-11.*, cleanup of temp file, making this a followup to the
2546	entry on 2008-06-10 by myself.
2547
25482008-06-13  David Gravereaux  <davygrvy@pobox.com>
2549
2550	* win/rules.vc: SYMBOLS macro is now being set to zero when $(OPTS) is
2551	not available.
2552	* win/makefile.vc: The Stubs source files (tclStubLib.c and
2553	tclOOStubLib.c) should not be compiled with the -GL flag.
2554
25552008-06-13  Joe Mistachkin  <joe@mistachkin.com>
2556
2557	TIP #285 IMPLEMENTATION
2558
2559	* doc/Eval.3: Added documentation for the Tcl_CancelEval and
2560	Tcl_Canceled functions and the TCL_CANCEL_UNWIND flag bit.
2561	* doc/after.n: Corrected the spelling of 'canceled' in the
2562	documentation.
2563	* doc/interp.n: Added documentation for [interp cancel].
2564	* generic/tcl.decls: Added the Tcl_CancelEval and Tcl_Canceled
2565	functions to the stubs table.
2566	* generic/tcl.h: Added the TCL_CANCEL_UNWIND flag bit.
2567	* generic/tclBasic.c: The bulk of the script cancellation
2568	functionality is defined here. Added code to initialize and manage the
2569	script cancellation hash table in a thread-safe manner. Reset script
2570	cancellation flags prior to increasing the nesting level (if the
2571	nesting level is currently zero) and always cooperatively check for
2572	script cancellation near the start of TclEvalObjvInternal and after
2573	invoking async handlers.
2574	* generic/tclDecls.h: Regenerated.
2575	* generic/tclEvent.c: Call TclFinalizeEvaluation during finalization
2576	to cleanup the script cancellation hash table. During [vwait], always
2577	cooperatively check for script cancellation. Corrected the spelling of
2578	'canceled' in comments to be consistent with the documentation.
2579	* generic/tclExecute.c: Reset script cancellation flags prior to
2580	increasing the nesting level (if the nesting level is currently zero)
2581	and always cooperatively check for script cancellation after invoking
2582	async handlers. Prevent [catch] from catching script cancellation when
2583	the TCL_CANCEL_UNWIND flag is set (similar to the manner used by TIP
2584	143 when a limit has been exceeded).
2585	* generic/tclInt.decls: Added TclResetCancellation to the internal
2586	stubs table.
2587	* generic/tclInt.h: Added asyncCancel and asyncCancelMsg fields to the
2588	private Interp structure. Added private interp flag value CANCELED to
2589	help control script cancellation.
2590	* generic/tclIntDecls.h: Regenerated.
2591	* generic/tclInterp.c (Tcl_InterpObjCmd): Added [interp cancel]
2592	subcommand.
2593	* generic/tclNotify.c (Tcl_DeleteEventSource): Corrected the spelling
2594	of 'canceled' in comments to be consistent with the documentation.
2595	* generic/tclParse.c: Reset script cancellation flags prior to
2596	* generic/tclProc.c: increasing the nesting level (if the nesting
2597	level is currently zero) and cooperatively check for script
2598	cancellation prior to evaluating commands.
2599	* generic/tclStubInit.c: Regenerated.
2600	* generic/tclThreadTest.c (Tcl_ThreadObjCmd): Added script
2601	cancellation support ([testthread cancel]).
2602	Modified [testthread id] to allow querying of the 'main' thread ID.
2603	Corrected comments to reflect the actual command syntax. Made
2604	[testthread wait] cooperatively check for script cancellation. Added
2605	[testthread event] to allow for processing one pending event without
2606	blocking.
2607	* generic/tclTimer.c: Delay for a maximum of 500 milliseconds prior to
2608	checking for async handlers and script cancellation.
2609	* tests/cmdAH.test: Changed [interp c] to [interp create].
2610	* tests/interp.test: Added and fixed tests for [interp cancel].
2611	* tests/thread.test: Added tests for script cancellation via
2612	[testthread cancel].
2613	* tools/man2help2.tcl: Fixed problems with WinHelp target (see
2614	* tools/man2tcl.c: [Bug 1934200], [Bug 1934265], and [Bug 1934272]).
2615	* win/makefile.vc: Added 'pdbs' option for Windows build rules to
2616	* win/rules.vc:	   allow for non-debug builds with full symbols.
2617	* win/tcl.hpj.in: Corrected version for WinHelp target.
2618	* win/tclWinNotify.c: Used SleepEx and WaitForSingleObjectEx on
2619	* win/tclWinThrd.c: Windows because they are alertable.
2620
26212008-06-12  Daniel Steffen  <das@users.sourceforge.net>
2622
2623	* unix/Makefile.in:		Add complete deps on tclDTrace.h.
2624
2625	* generic/tclOO.c:		Use TclOOStubs hooks field to retrieve
2626	* generic/tclOODecls.h:		TclOOIntStubs pointer. [Bug 1980953]
2627	* generic/tclOOIntDecls.h:
2628	* generic/tclOOStubInit.c:
2629	* generic/tclOOStubLib.c:
2630
2631	* generic/tclIORTrans.c:	Fix signed <-> unsigned cast warnings.
2632
2633	* unix/Makefile.in:		Clean generated tclDTrace.h file.
2634	* unix/configure.in (SunOS):	Fix static DTrace-enabled build.
2635
2636	* unix/tcl.m4 (SunOS-5.11): Fix 64bit amd64 support with gcc & Sun cc.
2637	* unix/configure: autoconf-2.59
2638
2639	* macosx/Tcl.xcodeproj/project.pbxproj:	Add tclIORTrans.c; updates and
2640						cleanup for Xcode 3.1/Leopard.
2641	* macosx/Tcl.xcode/project.pbxproj:	Sync Tcl.xcodeproj changes.
2642	* macosx/README:			Document new build configs.
2643
26442008-06-10  Joe English  <jenglish@users.sourceforge.net>
2645
2646	* generic/tclEncoding.c(UtfToUtfProc): Avoid unwanted sign extension
2647	when converting incomplete UTF-8 sequences. See [Bug 1908443] for
2648	details.
2649
26502008-06-10  Andreas Kupries  <andreask@activestate.com>
2651
2652	* tests/ioTrans.test (iortrans.tf-6.1): Fixed the [Bug 1988552],
2653	reported by Kevin. Have to close the channel before removal of the
2654	file. Fixed same bug in test 'iortrans.tf-11.0', after fixing missing
2655	cleanup of the file in 'iortrans.tf-11.*'. Lastly fixed the names of
2656	the threaded tests 'iortrans-8.*' to the correct 'iortrans.tf-8.*'.
2657
26582008-06-09  Andreas Kupries  <andreas_kupries@users.sourceforge.net>
2659
2660	* generic/tclIORTrans.c (ReflectInput): Fixed a bug triggered by Pat
2661	Thoyts <patthoyts@users.sourceforge.net>. Reset the EOF flag after
2662	draining the Tcl level into the result buffer, to make sure that the
2663	result buffer will be drained as well by repeated calls to
2664	ReflectInput should it contain more than one buffer-full of data.
2665	Without that reset the higher I/O system will not call on ReflectInput
2666	anymore due to the assumed EOF, thus losing the data which did not fit
2667	in the buffer of the call which caused the eof and drain.
2668
26692008-06-09  Donal K. Fellows  <dkf@users.sf.net>
2670
2671	* generic/tclOOCall.c (TclOOGetSortedMethodList): Plug memory leak
2672	that occurred when all methods were hidden. [Bug 1987817]
2673
26742008-06-08  Miguel Sofer  <msofer@users.sf.net>
2675
2676	* generic/tclBasic.c:	   Compilation of uplevel scripts, allow
2677	* generic/tclCompCmds.c:   non-body compiled scripts to access the
2678	* generic/tclCompile.c:	   LVT (but not to extend it) and enable the
2679	* generic/tclCompile.h:	   canonical list opt to sidestep the
2680	* generic/tclExecute.c:	   compiler. [Patch 1973096]
2681	* generic/tclProc.c:
2682	* tests/uplevel.test:
2683
26842008-06-06  Andreas Kupries  <andreask@activestate.com>
2685
2686	TIP #230 IMPLEMENTATION
2687
2688	* generic/tclIOCmd.c: Integration of transform commands into 'chan'
2689			      ensemble.
2690	* generic/tclInt.h: Definitions of the transform commands.
2691	* generic/tclIORTrans.c: Implementation of the reflection transforms.
2692	* tests/chan.test:  Tests updated for new sub-commands of 'chan'.
2693	* tests/ioCmd.test: Tests updated for new sub-commands of 'chan'.
2694	* tests/ioTrans.test: Whole new set of tests for the reflection
2695			      transform.
2696	* unix/Makefile.in: Integration of new files into build rules.
2697	* win/Makefile.in:  Integration of new files into build rules.
2698	* win/makefile.vc:  Integration of new files into build rules.
2699
2700	NOTE: The file 'tclIORTrans.c' has a lot of code in common with the
2701	      file 'tclIORChan.c', as that made it much easier to develop the
2702	      reference implementation as a separate module. Now that the
2703	      transforms have been committed the one thing left to do is to go
2704	      over both modules and see which of the common parts we can
2705	      factor out and share.
2706
27072008-06-04  Pat Thoyts  <patthoyts@users.sourceforge.net>
2708
2709	* generic/tclBinary.c: TIP #317 implementation
2710	* tests/binary.test:
2711
27122008-06-02  Kevin B. Kenny  <kennykb@acm.org>
2713
2714	* generic/tclOO.c (ReleaseClassContents): Fix the one remaining
2715	valgrind complaint about oo.test, caused by failing to protect the
2716	Object as well as the Class corresponding to a subclass being deleted
2717	and hence getting a freed-memory read when attempting to delete the
2718	class command. [Bug 1981001]
2719
27202008-06-01  Donal K. Fellows  <dkf@users.sf.net>
2721
2722	* generic/tclOOMethod.c (Tcl_NewMethod): Complete the fix of [Bug
2723	1981001], previous fix was incomplete though helpful in telling me
2724	where to look.
2725
27262008-06-01  Joe Mistachkin  <joe@mistachkin.com>
2727
2728	* win/Makefile.in: Add tclOO genstubs to Windows makefiles and remove
2729	* win/makefile.vc: -DBUILD_tcloo because it is no longer required.
2730
27312008-06-01  Kevin B. Kenny  <kennykb@acm.org>
2732
2733	* generic/tclOODecls.h:	   Added the swizzling of DLLEXPORT and
2734	* generic/tclOOIntDecls.h: DLLIMPORT needed to make EXTERN work.
2735
2736	* generic/tclDictObj.c:	 Added missing initializers to the ensemble
2737				 map to silence a compiler warning. Thanks to
2738				 George Peter Staplin for the report.
2739
2740	* generic/tclOOMethod.c: Fix a bug where the refcount of a method was
2741				 reset if the method was redefined while there
2742				 was an active invocation. [Bug 1981001]
2743
27442008-06-01  Donal K. Fellows  <dkf@users.sf.net>
2745
2746	* generic/tclOO.decls, unix/Makefile.in (genstubs): Make generation of
2747	stub tables correct.
2748	* generic/tclOO{Decls.h,IntDecls.h,StubInit.c,StubLib.c}: Fixes to
2749	make the generation work correctly, removing subtle differences
2750	between output of different versions of stub generator.
2751
27522008-06-01  Daniel Steffen  <das@users.sourceforge.net>
2753
2754	* generic/tclOOStubLib.c:	Ensure use of tcl stubs; include in
2755	* unix/Makefile.in:		stub lib; disable broken tclOO
2756					genstubs
2757
2758	* generic/tclOO.c:		Make tclOO stubs tables 'static const'
2759	* generic/tclOODecls.h:		and stub table pointers MODULE_SCOPE
2760	* generic/tclOOIntDecls.h:	(change generated files manually
2761	* generic/tclOOStubInit.c:	pending genstubs support for tclOO).
2762	* generic/tclOOStubLib.c:
2763
2764	* generic/tclOO.c:		Fix warnings for 'int<->ptr
2765	* generic/tclOOCall.c:		conversion' and 'signed vs unsigned
2766	* generic/tclOOMethod.c:	comparison'.
2767
2768	* tests/msgcat.test:	Fix for ::tcl::mac::locale with @modifier.
2769
2770	* tools/tsdPerf.tcl:	Use [info sharedlibextension]
2771
2772	* unix/tclConfig.h.in:	autoheader-2.59
2773
2774	* macosx/Tcl.xcodeproj/project.pbxproj:	Add new tclOO files; add debug
2775	* macosx/README:			configs with corefoundation
2776						disabled and with gcov; update
2777						to Xcode 3.1.
2778
27792008-05-31  Donal K. Fellows  <dkf@users.sf.net>
2780
2781	* generic/tclOO.c (InitFoundation): Correct reference counting for
2782	strings used when creating the constructor for classes.
2783	* generic/tclOOMethod.c (TclOODelMethodRef): Correct fencepost error
2784	in reference counting of method implementation structures.
2785	* tests/oo.test (oo-0.5): Added a test to detect a memory leak problem
2786	relating to disposal of the core object system.
2787
2788	TIP#257 IMPLEMENTATION
2789
2790	* generic/tclBasic.c, generic/tclOOInt.h: Correct declarations.
2791	* win/Makefile.in, win/makefile.bc, win/makefile.vc: Build support for
2792	Win32, from Joe Mistachkin. [Patch 1980861]
2793
2794	* generic/tclOO*, doc/*, tests/oo.test: Port of implementation of
2795	TclOO to sit directly inside Tcl. Note that this is incomplete (e.g.
2796	no build support yet for Windows).
2797
27982008-05-26  Jeff Hobbs  <jeffh@ActiveState.com>
2799
2800	* tests/io.test (io-53.9): Need to close chan before removing file.
2801
28022008-05-26  Donal K. Fellows  <dkf@users.sf.net>
2803
2804	* win/makefile.bc:		    Remove deprecated winhelp target.
2805	* win/Makefile.in, win/makefile.vc: It didn't work correctly anyway.
2806
28072008-05-23  Andreas Kupries  <andreask@activestate.com>
2808
2809	* win/tclWinChan.c (FileWideSeekProc): Accepted a patch by Alexandre
2810	Ferrieux <ferrieux@users.sourceforge.net> to fix the [Bug 1965787].
2811	'tell' now works for locations > 2 GB as well instead of going
2812	negative.
2813
2814	* generic/tclIO.c (Tcl_SetChannelBufferSize): Accepted a patch by
2815	* tests/io.test: Alexandre Ferrieux <ferrieux@users.sourceforge.net>
2816	* tests/chanio.test: to fix the [Bug 1969953]. Buffersize outside of
2817	the supported range are now clipped to nearest boundary instead of
2818	ignored.
2819
28202008-05-22  Don Porter  <dgp@users.sourceforge.net>
2821
2822	* generic/tclNamesp.c (Tcl_LogCommandInfo):	Restored ability to
2823	handle the argument value length = -1. Thanks to Chris Darroch for
2824	discovering the bug and providing the fix. [Bug 1968245]
2825
28262008-05-21  Don Porter  <dgp@users.sourceforge.net>
2827
2828	* generic/tclParse.c (ParseComment):	The new TclParseAllWhiteSpace
2829	* tests/parse.test (parse-15.60):	routine has no mechanism to
2830	return the "incomplete" status of "\\\n" so calling this routine
2831	anywhere that can be reached within a Tcl_ParseCommand() call is a
2832	mistake. In particular, ParseComment() must not use it. [Bug 1968882]
2833
28342008-05-20  Donal K. Fellows  <dkf@users.sf.net>
2835
2836	* generic/tclNamesp.c (Tcl_SetNamespaceUnknownHandler): Corrected odd
2837	logic for handling installation of namespace unknown handlers which
2838	could lead too very strange things happening in the error case.
2839
28402008-05-16  Miguel Sofer  <msofer@users.sf.net>
2841
2842	* generic/tclCompile.c: Fix crash with tcl_traceExec. Found and fixed
2843	by Alexander Pasadyn. [Bug 1964803]
2844
28452008-05-15  Pat Thoyts  <patthoyts@users.sourceforge.net>
2846
2847	* win/makefile.vc: We should use the thread allocator for threaded
2848	* win/rules.vc:	   builds. Added 'tclalloc' option to disable.
2849
28502008-05-09  George Peter Staplin  <georgeps@xmission.com>
2851
2852	* tools/tsdPerf.c:	A loadable Tcl extension for testing TSD
2853	performance.
2854	* tools/tsdPerf.tcl:	A simplistic tool that uses the thread
2855	extension and tsdPerf.so to get some performance metrics by,
2856	simulating, simple TSD contention.
2857
28582008-05-09  George Peter Staplin  <georgeps@xmission.com>
2859
2860	* generic/tcl.h:	Make Tcl_ThreadDataKey a void *.
2861	* generic/tclInt.h:	Change around some function names and add some
2862	new per-platform declarations for thread-specific data functions.
2863	* generic/tclThread.c:	Make use of of the new function names that no
2864	longer have a Tclp prefix.
2865	* generic/tclThreadStorage.c: Replace the core thread-specific data
2866	(TSD) mechanism with an array offset solution that eliminates the hash
2867	tables, and only uses one slot of native TSD. Many thanks to Kevin B.
2868	Kenny for his help with this.
2869
2870	* unix/tclUnixThrd.c:	Add platform-specific TSD functions for use by
2871	* win/tclWinThrd.c:	tclThreadStorage.c.
2872
28732008-05-09  Kevin B. Kenny  <kennykb@acm.org>
2874
2875	* tests/dict.test (dict-19.2): Corrected a bug where the test was
2876	changed to use [apply] instead of a temporary proc, but the cleanup
2877	script still attempted to delete the temporary proc.
2878
28792008-05-07  Donal K. Fellows  <dkf@cspool38.cs.man.ac.uk>
2880
2881	* generic/tclCompCmds.c (TclCompileDictAppendCmd): Fix silly off-by
2882	one error that caused a crash every time a compiled 'dict append' with
2883	more than one argument was used. Found by Colin McCormack.
2884
28852008-05-02  Pat Thoyts  <patthoyts@users.sourceforge.net>
2886
2887	* generic/tclBasic.c:	 Converted the [binary] command into an
2888	* generic/tclBinary.c:	 ensemble.
2889	* generic/tclInt.h:
2890	* test/binary.test:	 Updated the error tests for ensemble errors.
2891
2892	* generic/tclFileName.c: Reverted accidental commit of TIP 316 APIs.
2893
28942008-04-27  Donal K. Fellows  <dkf@users.sf.net>
2895
2896	* */*.c: A large tranche of getting rid of pre-C89-isms; if your
2897	compiler doesn't support things like proper function declarations,
2898	'void' and 'const', borrow a proper one when building Tcl. (The header
2899	files allow building things that link against Tcl with really ancient
2900	compilers still; the requirement is just when building Tcl itself.)
2901
29022008-04-26  Zoran Vasiljevic  <vasiljevic@users.sourceforge.net>
2903
2904	* generic/tclAsync.c: Tcl_AsyncDelete(): panic if attempt to locate
2905	handler token fails. Happens when some other thread attempts to delete
2906	somebody else's token.
2907
2908	Also, panic early if we find out the wrong thread attempting to delete
2909	the async handler (common trap). As, only the one that created the
2910	handler is allowed to delete it.
2911
29122008-04-24  Andreas Kupries  <andreask@activestate.com>
2913
2914	* tests/ioCmd.test: Extended testsuite for reflected channel
2915	implementation. Added test cases about how it handles if the rug is
2916	pulled out from under a channel (= killing threads, interpreters
2917	containing the tcl command for a channel, and channel sitting in a
2918	different interpreter/thread.)
2919
2920	* generic/tclIORChan.c: Fixed the bugs exposed by the new testcases,
2921	redone most of the cleanup and exit handling.
2922
29232008-04-21  Don Porter  <dgp@users.sourceforge.net>
2924
2925	* generic/tclIOUtil.c:		Removed all code delimited by
2926	* generic/tclTest.c:		USE_OBSOLETE_FS_HOOKS, completing
2927	* tests/ioCmd.test:		the deprecation path for these
2928	* tests/ioUtil.test (removed):	obsolete interfaces. (Code was active
2929	in Tcl 8.4, present but enabled only by customized compile switch in
2930	Tcl 8.5, and now completely gone for Tcl 8.6). Also removed all tests
2931	relevant only to the removed interfaces.
2932
29332008-04-19  George Peter Staplin  <georgeps@xmission.com>
2934
2935	* doc/Ensemble.3: Fix a typo: s/defiend/defined/
2936	Thanks to hat0 for spotting this.
2937
29382008-04-16  Daniel Steffen  <das@users.sourceforge.net>
2939
2940	* generic/tclInt.h:		Make stubs tables 'static const' and
2941	* generic/tclStubInit.c:	export only module-scope pointers to
2942	* generic/tclStubLib.c:		the main stubs tables (for package
2943	* tools/genStubs.tcl:		initialization). [Patch 1938497]
2944	* generic/tclBasic.c (Tcl_CreateInterp):
2945	* generic/tclTomMathInterface.c (TclTommath_Init):
2946
2947	* generic/tclInt.h:		Revise Tcl_SetNotifier() to use a
2948	* generic/tclNotify.c:		module-scope hooks table instead of
2949	* generic/tclStubInit.c:	runtime stubs-table modification;
2950	* macosx/tclMacOSXNotify.c:	ensure all hookable notifier functions
2951	* win/tclWinNotify.c:		check for hooks; remove hook checks in
2952	* unix/tclUnixNotfy.c:		notifier API callers. [Patch 1938497]
2953
29542008-04-15  Andreas Kupries  <andreask@activestate.com>
2955
2956	* generic/tclIO.c (CopyData):	Applied another patch by Alexandre
2957	* io.test (io-53.8a):		Ferrieux <ferrieux@users.sf.net>,
2958	* chanio.test (chan-io-53.8a):	to shift EOF handling to the async
2959	part of the command if a callback is specified, should the channel be
2960	at EOF already when fcopy is called. Testcase by myself.
2961
29622008-04-15  Daniel Steffen  <das@users.sourceforge.net>
2963
2964	* unix/Makefile.in:	Adjust tclDTrace.h dependencies for removal
2965				of tclStubLib.o from TCL_OBJS. [Bug 1942795]
2966
29672008-04-14  Kevin B. Kenny  <kennykb@acm.org>
2968
2969	* unix/tclUnixTime.c (NativeGetTime): Removed obsolete use of
2970	'struct timezone' in the call to 'gettimeofday'. [Bug 1942197]
2971
2972	* tests/clock.test (clock-33.5, clock-33.5a, clock-33.8, clock-33.8a):
2973	Added comments to the test that it can fail on a heavily loaded
2974	system.
2975
29762008-04-10  Andreas Kupries  <andreask@activestate.com>
2977
2978	* generic/tclIOCmd.c (Tcl_FcopyObjCmd): Keeping check for negative
2979	values, changed to not be an error, but behave like the special value
2980	-1 (copy all, default).
2981
2982	* tests/iocmd.test (iocmd-15.{12,13}): Removed.
2983
2984	* tests/io.test (io-52.5{,a,b}): Reverted last change, added
2985	* tests/chanio.test (chan-io-52.5{,a,b}): comment regarding the
2986	meaning of -1, added two more testcases for other negative values,
2987	and input wrapped to negative.
2988
29892008-04-09  Donal K. Fellows  <dkf@users.sf.net>
2990
2991	* tests/{fCmd,unixFCmd,winFCmd,winFile}.test: Tidying up of the test
2992	suite to make better use of tcltest2 and be clearer about what is
2993	being tested.
2994
2995	* win/Makefile.in (html): Added target for doing convenient
2996	documentation builds, mirroring the one from unix/Makefile.
2997
29982008-04-09  Andreas Kupries  <andreask@activestate.com>
2999
3000	* tests/chanio.test (chan-io-52.5): Removed '-size -1' from test,
3001	* tests/io.test (io-52.5): does not seem to have any bearing, and was
3002	an illegal value. Test case is not affected by the value of -size,
3003	test flag restoration and that evrything was properly copied.
3004
3005	* generic/tclIOCmd.c (Tcl_FcopyObjCmd): Added checking of -size value
3006	* tests/ioCmd.test (iocmd-15.{13,14}): to reject negative values, and
3007	values overflowing 32-bit signed. Basic patch by Alexandre Ferrieux
3008	<ferrieux@users.sourceforge.net>, with modifications from me to
3009	separate overflow from true negative value. Extended testsuite. [Bug
3010	1557855]
3011
30122008-04-09  Daniel Steffen  <das@users.sourceforge.net>
3013
3014	* tests/chanio.test (chan-io-53.8,53.9,53.10): Fix typo & quoting for
3015	* tests/io.test (io-53.8,53.9,53.10):	       spaces in builddir path
3016
30172008-04-08  Miguel Sofer  <msofer@users.sf.net>
3018
3019	* generic/tclExecute.c: Added comments to the alignment macros used in
3020	GrowEvaluationStack() and friends.
3021
30222008-04-08  Daniel Steffen  <das@users.sourceforge.net>
3023
3024	* tools/genStubs.tcl:	Revert erroneous 2008-04-02 change marking
3025				*StubsPtr as EXTERN instead of extern.
3026
3027	* generic/tclDecls.h:	make genstubs
3028	* generic/tclIntDecls.h:
3029	* generic/tclIntPlatDecls.h:
3030	* generic/tclPlatDecls.h:
3031	* generic/tclTomMathDecls.h:
3032
30332008-04-07  Andreas Kupries  <andreask@activestate.com>
3034
3035	* tests/io.test (io-53.10): Testcase for bi-directional fcopy.
3036	* tests/chanio.test:
3037	* generic/tclIO.c: Additional changes to data structures for fcopy and
3038	* generic/tclIO.h: channels to perform proper cleanup in case of a
3039	channel having two background copy operations running as is now
3040	possible.
3041
3042	* generic/tclIO.c (BUSY_STATE, CheckChannelErrors, TclCopyChannel):
3043	New macro, and the places using it. This change allows for
3044	bi-directional fcopy on channels. Thanks to Alexandre Ferrieux
3045	<ferrieux@users.sourceforge.net> for the patch. [Bug 1350564]
3046
30472008-04-07  Reinhard Max  <max@suse.de>
3048
3049	* generic/tclStringObj.c (Tcl_AppendFormatToObj): Fix [format {% d}]
3050	so that it behaves the same way as in 8.4 and as C's printf().
3051	* tests/format.test: Add a test for '% d' and '%+d'.
3052
30532008-04-05  Kevin B. Kenny  <kennykb@acm.org>
3054
3055	* win/tclWinFile.c: (WinSymLinkDirectory): Fixed a problem that Tcl
3056	was creating an NTFS junction point (IO_REPARSE_TAG_MOUNT_POINT) but
3057	filling in the union member for a Vista symbolic link. We had gotten
3058	away with this error because the union member
3059	(SymbolicLinkReparseBuffer) was misdefined in this file and in the
3060	'winnt.h' in early versions of MinGW. MinGW 3.4.2 has the correct
3061	definition of SymbolicLinkReparseBuffer, exposing the mismatch, and
3062	making tests cmdAH-19.4.1, fCmd-28.*, and filename-11.* fail.
3063	* tests/chanio.test (chan-io-53.9):
3064	* tests/io.test (io-53.9): Made test cleanup robust against the
3065	possibility of slow process shutdown on Windows.
3066
3067	* win/tcl.m4: Added -D_CRT_SECURE_NO_DEPRECATE and
3068	-DCRT_NONSTDC_NO_DEPRECATE to the MSVC compilation flags so that the
3069	compilation doesn't barf on perfectly reasonable Posix system calls.
3070	* win/configure: Manually patched (don't have the right autoconf to
3071	hand).
3072
30732008-04-04  Andreas Kupries  <andreask@activestate.com>
3074
3075	* tests/io.test (io-53.9): Added testcase for [Bug 780533], based
3076	* tests/chanio.test: on Alexandre's test script. Also fixed problem
3077	with timer in preceding test, was not canceled properly in the ok case
3078
30792008-04-04  Andreas Kupries  <andreask@activestate.com>
3080
3081	* generic/tclIORChan.c (ReflectOutput): Allow zero return from write
3082	when input was zero-length anyway. Otherwise keept it an error, and
3083	separate the message from 'written too much'.
3084
3085	* tests/ioCmd.test (iocmd-24.6): Testcase updated for changed message.
3086
3087	* generic/tclIORChan.c (ReflectClose): Added missing removal of the
3088	now closed channel from the reflection map. Before we could crash the
3089	system by invoking 'chan postevent' on a closed reflected channel,
3090	dereferencing the dangling pointer in the map.
3091
3092	* tests/ioCmd.test (iocmd-31.8): Testcase for the above.
3093
30942008-04-03  Andreas Kupries  <andreask@activestate.com>
3095
3096	* generic/tclIO.c (CopyData): Applied patch [Bug 1932639] to
3097	* tests/io.test: prevent fcopy from calling -command synchronously
3098	* tests/chanio.test: the first time. Thanks to Alexandre Ferrieux
3099	<ferrieux@users.sourceforge.net> for report and patch.
3100
31012008-04-02  Daniel Steffen  <das@users.sourceforge.net>
3102
3103	* generic/tcl.decls:	Remove 'export' declarations of symbols now
3104				only in libtclstub and no longer in libtcl.
3105
3106	* generic/tclStubLib.c:	Make symbols in libtclstub.a MODULE_SCOPE to
3107	* tools/genStubs.tcl:	avoid exporting them from libraries that link
3108				with -ltclstub; constify tcl*StubsPtr and stub
3109				table hook pointers. [Bug 1819422]
3110
3111	* generic/tclDecls.h:	make genstubs
3112	* generic/tclIntDecls.h:
3113	* generic/tclIntPlatDecls.h:
3114	* generic/tclPlatDecls.h:
3115	* generic/tclStubInit.c:
3116	* generic/tclTomMathDecls.h:
3117
31182008-04-02  Andreas Kupries  <andreask@activestate.com>
3119
3120	* generic/tclIO.c (CopyData): Applied patch for fcopy problem [Bug
3121	780533], with many thanks to Alexandre Ferrieux
3122	<ferrieux@users.sourceforge.net> for tracking it down and providing a
3123	solution. Still have to convert his test script into a proper test
3124	case.
3125
31262008-04-01  Andreas Kupries  <andreask@activestate.com>
3127
3128	* generic/tclStrToD.c: Applied patch for [Bug 1839067] (fp rounding
3129	* unix/tcl.m4:	       setup on solaris x86, native cc), provided by
3130			       Michael Schlenker.
3131
31322008-04-01  Don Porter  <dgp@users.sourceforge.net>
3133
3134	* generic/tclStubLib.c:	Removed needless #ifdef complexity.
3135
3136	* generic/tclStubLib.c (Tcl_InitStubs):	Added missing error message.
3137	* generic/tclPkg.c (Tcl_PkgInitStubsCheck):
3138
3139	* README:		Bump version number to 8.6a0
3140	* generic/tcl.h:
3141	* library/init.tcl:
3142	* macosx/Tcl-Common.xcconfig:
3143	* macosx/Tcl.pbproj/default.pbxuser:
3144	* macosx/Tcl.pbproj/project.pbxproj:
3145	* tools/tcl.wse.in:
3146	* unix/configure.in:
3147	* unix/tcl.spec:
3148	* win/README:
3149	* win/configure.in:
3150	* win/makefile.bc:
3151	* win/tcl.m4:
3152
3153	* unix/configure:	autoconf-2.59
3154	* win/configure:
3155
3156	* generic/tclBasic.c:	Revised stubs-generation tool and interp
3157	* tools/genStubs.tcl:	creation so that "tclStubsPtr" is not present
3158	* unix/Makefile.in:	in libtcl.so, but is present only in
3159	* win/Makefile.in:	libtclstub.a. This tightens up the rules for
3160	* win/makefile.bc:	users of the stubs interfaces. [Bug 1819422]
3161	* win/makefile.vc:
3162
3163	* generic/tclDecls.h:	make genstubs
3164	* generic/tclIntDecls.h:
3165	* generic/tclIntPlatDecls.h:
3166	* generic/tclPlatDecls.h:
3167	* generic/tclTomMathDecls.h:
3168
31692008-03-30  Kevin Kenny  <kennykb@acm.org>
3170
3171	* generic/tclInt.h (TclIsNaN):
3172	* unix/configure.in: Added code to the configurator to check for a
3173			     standard isnan() macro and use it if one is
3174			     found. This change avoids bugs where the test of
3175			     ((d) != (d)) is optimized away by an
3176			     overaggressive compiler. [Bug 1783544]
3177	* generic/tclObj.c: Added missing #include <math.h> needed to locate
3178			    isnan() after the above change.
3179
3180	* unix/configure: autoconf-2.61
3181
3182	* tests/mathop.test (mathop-25.9, mathop-25.14): Modified tests to
3183	deal with (slightly buggy) math libraries in which pow() returns an
3184	incorrectly rounded result. [Bug 1808174]
3185
31862008-03-26  Don Porter  <dgp@users.sourceforge.net>
3187
3188	*** 8.5.2 TAGGED FOR RELEASE ***
3189
3190	* generic/tcl.h:	Bump to 8.5.2 for release.
3191	* library/init.tcl:
3192	* tools/tcl.wse.in:
3193	* unix/configure.in:
3194	* unix/tcl.spec:
3195	* win/configure.in:
3196
3197	* unix/configure:	autoconf-2.59
3198	* win/configure:
3199
3200	* changes:		Updated for 8.5.2 release.
3201
32022008-03-28  Donal K. Fellows  <dkf@users.sf.net>
3203
3204	* tests/fCmd.test: Substantial rewrite to use many more tcltest
3205	features. Great reduction in quantity of [catch] gymnastics. Several
3206	buggy tests fixed, including one where the result of the previous test
3207	was being checked!
3208
32092008-03-27  Kevin B. Kenny  <kennykb@acm.org>
3210
3211	* library/tzdata/America/Marigot:
3212	* library/tztata/America/St_Barthelemy:
3213	* library/tzdata/America/Argentina/San_Luis:
3214	* library/tzdata/Asia/Ho_Chi_Minh:
3215	* library/tzdata/Asia/Kolkata:	(new files)
3216	* library/tzdata/America/Caracas:
3217	* library/tzdata/America/Havana:
3218	* library/tzdata/America/Santiago:
3219	* library/tzdata/America/Argentina/Buenos_Aires:
3220	* library/tzdata/America/Argentina/Catamarca:
3221	* library/tzdata/America/Argentina/Cordoba:
3222	* library/tzdata/America/Argentina/Jujuy:
3223	* library/tzdata/America/Argentina/La_Rioja:
3224	* library/tzdata/America/Argentina/Mendoza:
3225	* library/tzdata/America/Argentina/Rio_Gallegos:
3226	* library/tzdata/America/Argentina/San_Juan:
3227	* library/tzdata/America/Argentina/Tucuman:
3228	* library/tzdata/America/Argentina/Ushuaia:
3229	* library/tzdata/Asia/Baghdad:
3230	* library/tzdata/Asia/Calcutta:
3231	* library/tzdata/Asia/Damascus:
3232	* library/tzdata/Asia/Saigon:
3233	* library/tzdata/Pacific/Easter:
3234		Changes up to and including Olson's tzdata2008b.
3235
32362008-03-27  Daniel Steffen  <das@users.sourceforge.net>
3237
3238	* unix/tcl.m4 (SunOS-5.1x): Fix 64bit support for Sun cc. [Bug
3239	1921166]
3240
3241	* unix/configure: autoconf-2.59
3242
32432008-03-26  Don Porter  <dgp@users.sourceforge.net>
3244
3245	* changes:		Updated for 8.5.2 release.
3246
32472008-03-24  Pat Thoyts  <patthoyts@users.sourceforge.net>
3248
3249	* generic/tclBinary.c: [Bug 1923966] - crash in binary format
3250	* tests/binary.test:   Added tests for the above crash condition.
3251
32522008-03-21  Donal K. Fellows  <dkf@users.sf.net>
3253
3254	* doc/switch.n: Clarified documentation in respect of two-argument
3255	invokation. [Bug 1899962]
3256
3257	* tests/switch.test: Added more tests of regexp-mode compilation of
3258	the [switch] command. [Bug 1854435]
3259
32602008-03-20  Donal K. Fellows  <dkf@users.sf.net>
3261
3262	* generic/tcl.h, generic/tclThreadAlloc.c: Tidied up the declarations
3263	of Tcl_GetMemoryInfo so that it is always defined. Will panic when
3264	called against a Tcl that was previously built without it at all,
3265	which is OK because that also indicates a serious mismatch between
3266	memory configuration options.
3267
32682008-03-19  Donal K. Fellows  <dkf@users.sf.net>
3269
3270	* generic/tcl.h, generic/tclThreadAlloc.c (Tcl_GetMemoryInfo): Make
3271	sure this function is available when direct linking. [Bug 1868171]
3272
3273	* tests/reg.test (reg-33.14): Marked nonPortable because some
3274	environments have small default stack sizes. [Bug 1905562]
3275
32762008-03-18  Andreas Kupries  <andreask@activestate.com>
3277
3278	* library/tm.tcl (::tcl::tm::UnknownHandler): Changed 'source' to
3279	'source -encoding utf-8'. This fixes a portability problem of Tcl
3280	Modules pointed out by Don Porter. By using plain 'source' we were at
3281	the mercy of 'encoding system', making modules less portable than they
3282	could be. The exact scenario: A writes a TM in some weird encoding
3283	which is A's system encoding, distributes it, and somewhere else it
3284	cannot be read/used because the system encoding is different. Forcing
3285	the use of utf-8 makes the module portable.
3286
3287	***INCOMPATIBILITY*** for all Tcl Modules already written in non-utf-8
3288	compatible encodings.
3289
32902008-03-18  Don Porter  <dgp@users.sourceforge.net>
3291
3292	* generic/tclExecute.c:	Patch from Miguel Sofer to correct the
3293	alignment of memory allocated by GrowEvaluationStack(). [Bug 1914503]
3294
32952008-03-18  Andreas Kupries  <andreask@activestate.com>
3296
3297	* library/tm.tcl (::tcl::tm::Defaults): Modified handling of
3298	environment variables. Solution slightly different than proposed in
3299	the report. Using the underscored form TCLX_y_TM_PATH even if
3300	TCLX.y_TM_PATH exists. Also using a loop to cut prevent code
3301	replication. [Bug 1914604]
3302
33032008-03-16  Donal K. Fellows  <dkf@users.sf.net>
3304
3305	* generic/tclCompCmds.c (TclCompileDictForCmd): Correct the handling
3306	of stack space calculation (the jump pattern used was confusing the
3307	simple-minded code doing the calculations). [Bug 1903325]
3308
3309	* doc/lreplace.n: Clarified documentation of what happens with
3310	negative indices. [Bug 1905809] Added example, tidied up formatting.
3311
33122008-03-14  Don Porter  <dgp@users.sourceforge.net>
3313
3314	* generic/tclBasic.c (OldMathFuncProc):	Same workaround protection
3315	from bad TclStackAlloc() alignment. Thanks George Peter Staplin.
3316
3317	* generic/tclCmdIL.c (Tcl_LsortObjCmd):	Use ckalloc() to allocate
3318	SortElement arrays instead of TclStackAlloc() which isn't getting
3319	alignment right. Workaround for [Bug 1914503].
3320
33212008-03-14  Reinhard Max  <max@suse.de>
3322
3323	* generic/tclTest.c:  Ignore the return value of write() when we are
3324	* unix/tclUnixPipe.c: about to exit anyways.
3325
33262008-03-13  Daniel Steffen  <das@users.sourceforge.net>
3327
3328	* unix/configure.in: Use backslash-quoting instead of double-quoting
3329	* unix/tcl.m4:	     for lib paths in tclConfig.sh. [Bug 1913622]
3330	* unix/configure:    autoconf-2.59
3331
33322008-03-13  Don Porter  <dgp@users.sourceforge.net>
3333
3334	* changes:		Updated for 8.5.2 release.
3335
3336	* generic/tclStrToD.c:	Resolve identifier conflict over "pow10" with
3337	libm in Cygwin and DJGPP. Thanks to Gordon Schumacher and Philip
3338	Moore. [Patch 1800636]
3339
33402008-03-12  Daniel Steffen  <das@users.sourceforge.net>
3341
3342	* macosx/Tcl.xcodeproj/project.pbxproj:	Add support for Xcode 3.1
3343	* macosx/Tcl.xcodeproj/default.pbxuser:	CODE_SIGN_IDENTITY and
3344	* macosx/Tcl-Common.xcconfig:		'xcodebuild install'.
3345
33462008-03-12  Andreas Kupries  <andreask@activestate.com>
3347
3348	* doc/info.n: Replaced {expand} with {*}.
3349
33502008-03-12  Jeff Hobbs  <jeffh@ActiveState.com>
3351
3352	* unix/Makefile.in (install-libraries):	Bump http to 2.7
3353	* win/Makefile.in (install-libraries):	Added -myaddr option to allow
3354	* library/http/http.tcl (http::geturl):	control of selected socket
3355	* library/http/pkgIndex.tcl:		interface. [Bug 559898]
3356	* doc/http.n, tests/http.test:		Added -keepalive and
3357	-protocol 1.1 with chunked transfer encoding support. [Bug 1063703,
3358	1470377, 219225] (default keepalive is 0)
3359	Added ability to override Host in -headers. [Bug 928154]
3360	Added -strict option to control URL validation on per-call basis.
3361	[Bug 1560506]
3362
33632008-03-11  Jeff Hobbs  <jeffh@ActiveState.com>
3364
3365	* library/http/http.tcl (http::geturl): Add -method option to support
3366	* tests/http.test (http-3.1):		http PUT and DELETE requests.
3367	* doc/http.n:				[Bug 1599901, 862554]
3368
3369	* library/http/http.tcl: Whitespace changes, code cleanup. Allow http
3370	to be re-sourced without overwriting http state.
3371
33722008-03-11  Daniel Steffen  <das@users.sourceforge.net>
3373
3374	* generic/tclEncoding.c (LoadEscapeEncoding): Avoid leaking escape
3375	sub-encodings, fixes encoding-11.1 failing after iso2022-jp loaded.
3376	[Bug 1893053]
3377
3378	* macosx/tclMacOSXNotify.c: Avoid using CoreFoundation after fork() on
3379	Darwin 9 even when TclpCreateProcess() uses vfork().
3380
3381	* macosx/Tcl.xcodeproj/project.pbxproj:	Add support for Xcode 3.1 and
3382	* macosx/Tcl.xcodeproj/default.pbxuser:	configs for building with
3383	* macosx/Tcl-Common.xcconfig:		gcc-4.2 and llvm-gcc-4.2.
3384
3385	* unix/tclUnixPort.h:			Workaround vfork() problems in
3386						llvm-gcc-4.2.1 -O4 build.
3387
3388	* unix/tclUnixPort.h:			Move MODULE_SCOPE compat
3389						define to top. [Bug 1911102]
3390
3391	* macosx/GNUmakefile:			Fix quoting to allow paths
3392	* macosx/Tcl-Common.xcconfig:		to ${builddir} and
3393	* unix/Makefile.in:			${INSTALL_ROOT} to contain
3394	* unix/configure.in:			spaces.
3395	* unix/install-sh:
3396	* unix/tcl.m4:
3397	* tests/ioCmd.test:
3398
3399	* unix/configure:			autoconf-2.59
3400
3401	* unix/Makefile.in (install-strip):	Strip non-global symbols from
3402						dynamic library.
3403
3404	* unix/tclUnixNotfy.c:			Fix warning.
3405
3406	* tests/exec.test (exec-9.7):		Reduce timing sensitivity
3407	* tests/socket.test (socket-2.11):	(esp. on multi-proc machines).
3408
3409	* tests/fCmd.test (fCmd-9.4):		Skip on Darwin 9 (xfail).
3410
34112008-03-11  Miguel Sofer  <msofer@users.sf.net>
3412
3413	* generic/tclVar.c (TclDeleteNamespaceVars):
3414	* tests/var.test (var-8.2): Unset traces on vars should be called with
3415	a FQ named during namespace deletion. This was causing infinite loops
3416	when unset traces recreated the var, as reported by Julian Noble. [Bug
3417	1911919]
3418
34192008-03-10  Don Porter  <dgp@users.sourceforge.net>
3420
3421	* changes:		Updated for 8.5.2 release.
3422
3423	* doc/http.n:	Revised to indicate that [package require http 2.5.5]
3424	is needed to get all the documented commands ([http::meta]).
3425
3426	* generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd):	Added error
3427	* tests/event.test (event-5.*):	checking to protect against callers
3428	passing invalid return options dictionaries. [Bug 1901113]
3429
3430	* generic/tclBasic.c (ExprAbsFunc):	Revised so that the abs()
3431	* tests/expr.test:	function and the [::tcl::mathfunc::abs]
3432	command do not return the value of -0, or equivalent values with more
3433	alarming string reps like -1e-350. [Bug 1893815]
3434
34352008-03-07  Andreas Kupries  <andreask@activestate.com>
3436
3437	* generic/tclResult.c (ReleaseKeys): Workaround for [Bug 1904907].
3438	Reset the return option keys to NULL to allow full re-initialization
3439	by GetKeys(). This introduces a memory leak for the key objects, but
3440	gets us around a crash in the finalization of reflected channels when
3441	handling returns, either at compile- or runtime. In both cases we
3442	access the keys after they have been released by their thread exit
3443	handler. A proper fix is entangled with the untangling of the
3444	finalization ordering and attendant issues. For now we choose the
3445	lesser evil.
3446
34472008-03-07  Don Porter  <dgp@users.sourceforge.net>
3448
3449	* generic/tclExecute.c (Tcl_ExprObj):	Revised expression bytecode
3450	compiling so that bytecodes invalid due to changing context or due to
3451	the difference between expressions and scripts are not reused. [Bug
3452	1899164]
3453
3454	* generic/tclCmdAH.c:	Revised direct evaluation implementation of
3455	[expr] so that [expr $e] caches compiled bytecodes for the expression
3456	as the intrep of $e.
3457
3458	* tests/execute.test (execute-6.*):	More tests checking that
3459	script bytecode is invalidated in the right situations.
3460
34612008-03-07  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3462
3463	* win/configure.in: Add AC_HEADER_STDC to support msys/win64.
3464
34652008-03-06  Donal K. Fellows  <dkf@users.sf.net>
3466
3467	* doc/namespace.n: Minor tidying up. [Bug 1909019]
3468
34692008-03-04  Don Porter  <dgp@users.sourceforge.net>
3470
3471	* tests/execute.test (6.3,4):	Added tests for [Bug 1899164].
3472
34732008-03-03  Reinhard Max  <max@suse.de>
3474
3475	* unix/tclUnixChan.c: Fix mark and space parity on Linux, which uses
3476	CMSPAR instead of PAREXT.
3477
34782008-03-02  Miguel Sofer  <msofer@users.sf.net>
3479
3480	* generic/tclNamesp.c (GetNamespaceFromObj):
3481	* tests/interp.test (interp-28.2): Spoil the intrep of an nsNameType
3482	obj when the reference crosses interpreter boundaries.
3483
34842008-02-29  Don Porter  <dgp@users.sourceforge.net>
3485
3486	* generic/tclResult.c (Tcl_SetReturnOptions):	Revised the refcount
3487	management of Tcl_SetReturnOptions to become that of a conventional
3488	Consumer routine. Thanks to Peter Spjuth for pointing out the
3489	difficulties calling Tcl_SetReturnOptions with non-0-count value for
3490	options.
3491	* generic/tclExecute.c (INST_RETURN_STK): Revised the one caller
3492	within Tcl itself which passes a non-0-count value to
3493	Tcl_SetReturnOptions().
3494
3495	* generic/tclBasic.c (Tcl_AppendObjToErrorInfo):	Revised the
3496	refcount management of Tcl_AppendObjToErrorInfo to become that of a
3497	conventional Consumer routine. This preserves the ease of use for the
3498	overwhelming common callers who pass in a 0-count value, but makes the
3499	proper call with a non-0-count value less surprising.
3500	* generic/tclEvent.c (TclDefaultBgErrorHandlerObjCmd):	Revised the
3501	one caller within Tcl itself which passes a non-0-count value to
3502	Tcl_AppendObjToErrorInfo().
3503
35042008-02-28  Joe English  <jenglish@users.sourceforge.net>
3505
3506	* unix/tclPort.h, unix/tclCompat.h, unix/tclUnixChan.h: Reduce scope
3507	of <sys/filio.h> and <sys/ioctl.h> #includes. [Patch 1903339]
3508
35092008-02-28  Joe English  <jenglish@users.sourceforge.net>
3510
3511	* unix/tclUnixChan.c, unix/tclUnixNotfy.c, unix/tclUnixPipe.c:
3512	Consolidate all code conditionalized on -DUSE_FIONBIO into one place.
3513	* unix/tclUnixPort.h, unix/tclUnixCompat.c: New routine
3514	TclUnixSetBlockingMode(). [Patch 1903339]
3515
35162008-02-28  Don Porter  <dgp@users.sourceforge.net>
3517
3518	* generic/tclBasic.c (TclEvalObjvInternal):	Plug memory leak when
3519	an enter trace deletes or changes the command, prompting a reparsing.
3520	Don't let the second pass lose commandPtr value allocated during the
3521	first pass.
3522
3523	* generic/tclCompExpr.c (ParseExpr):	Plug memory leak in error
3524	message generation.
3525
3526	* generic/tclStringObj.c (Tcl_AppendFormatToObj): [format %llx $big]
3527	leaked an mp_int.
3528
3529	* generic/tclCompCmds.c (TclCompileReturnCmd):	The 2007-10-18 commit
3530	to optimize compiled [return -level 0 $x] [RFE 1794073] introduced a
3531	memory leak of the return options dictionary. Fixing that.
3532
35332008-02-27  Pat Thoyts  <patthoyts@users.sourceforge.net>
3534
3535	* library/http/http.tcl: [Bug 705956] - fix inverted logic when
3536	cleaning up socket error in geturl.
3537
35382008-02-27  Kevin B. Kenny  <kennykb@acm.org>
3539
3540	* doc/clock.n: Corrected minor indentation gaffe in the penultimate
3541	paragraph. [Bug 1898025]
3542	* generic/tclClock.c (ParseClockFormatArgs): Changed to check that the
3543	clock value is in the range of a 64-bit integer. [Bug 1862555]
3544	* library/clock.tcl (::tcl::clock::format, ::tcl::clock::scan,
3545	(::tcl::clock::add, ::tcl::clock::LocalizeFormat): Fixed bugs in
3546	caching of localized strings that caused weird results when localized
3547	date/time formats were used. [Bug 1902423]
3548	* tests/clock.test (clock-61.*, clock-62.1): Regression tests for [Bug
3549	1862555] and [Bug 1902423].
3550
35512008-02-26  Joe English  <jenglish@users.sourceforge.net>
3552
3553	* generic/tclIOUtil.c, unix/tclUnixPort.h, unix/tclUnixChan.c:
3554	Remove dead/unused portability-related #defines and unused conditional
3555	code. See [Patch 1901828] for discussion.
3556
35572008-02-26  Joe English  <jenglish@users.sourceforge.net>
3558
3559	* generic/tclIORChan.c (enum MethodName),
3560	* generic/tclCompExpr.c (enum Marks): More stray trailing ","s
3561
35622008-02-26  Joe English  <jenglish@users.sourceforge.net>
3563
3564	* unix/configure.in(socklen_t test): Define socklen_t as "int" if
3565	missing, not "unsigned". Use AC_TRY_COMPILE instead of
3566	AC_EGREP_HEADER.
3567	* unix/configure: regenerated.
3568
35692008-02-26  Joe English  <jenglish@users.sourceforge.net>
3570
3571	* generic/tclCompile.h: Remove stray trailing "," from enum
3572	InstOperandType definition (C99ism).
3573
35742008-02-26  Jeff Hobbs  <jeffh@ActiveState.com>
3575
3576	* generic/tclUtil.c (TclReToGlob): Fix the handling of the last star
3577	* tests/regexpComp.test:	   possibly being escaped in
3578	determining right anchor. [Bug 1902436]
3579
35802008-02-26  Pat Thoyts  <patthoyts@users.sourceforge.net>
3581
3582	* library/http/pkgIndex.tcl: Set version 2.5.5
3583	* library/http/http.tcl:     It is better to do the [eof] check after
3584	trying to read from the socket. No clashes found in testing. Added
3585	http::meta command to access the http headers. [Bug 1868845]
3586
35872008-02-22  Pat Thoyts  <patthoyts@users.sourceforge.net>
3588
3589	* library/http/pkgIndex.tcl: Set version 2.5.4
3590	* library/http/http.tcl:     Always check that the state array exists
3591	in the http::status command. [Bug 1818565]
3592
35932008-02-13  Don Porter  <dgp@users.sourceforge.net>
3594
3595	* generic/tcl.h:	Bump version number to 8.5.2b1 to distinguish
3596	* library/init.tcl:	CVS development snapshots from the 8.5.1 and
3597	* unix/configure.in:	8.5.2 releases.
3598	* unix/tcl.spec:
3599	* win/configure.in:
3600	* README
3601
3602	* unix/configure:	autoconf (2.59)
3603	* win/configure:
3604
36052008-02-12  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3606
3607	* generic/tclCompCmds.c (TclCompileSwitchCmd): Corrected logic for
3608	* tests/switch.test (switch-10.15): handling -nocase compilation; the
3609	-exact -nocase option cannot be compiled currently. [Bug 1891827]
3610
3611	* unix/README: Documented missing configure flags. [Bug 1799011]
3612
36132008-02-06  Kevin B. Kenny  <kennykb@acm.org>
3614
3615	* doc/clock.n (%N): Corrected an error in the explanation of the %N
3616	format group.
3617	* generic/tclClock.c (ClockParseformatargsObjCmd):
3618	* library/clock.tcl (::tcl::clock::format):
3619	* tests/clock.test (clock-1.0, clock-1.4):
3620	Performance enhancements in [clock format] (moving the analysis of
3621	$args into C code, holding on to Tcl_Objs with resolved command names,
3622	[lassign] in place of [foreach], avoiding [namespace which] for
3623	command resolution).
3624
36252008-02-04  Don Porter  <dgp@users.sourceforge.net>
3626
3627	*** 8.5.1 TAGGED FOR RELEASE ***
3628
3629	* changes:		Updated for 8.5.1 release.
3630
3631	* generic/tcl.h:	Bump to 8.5.1 for release.
3632	* library/init.tcl:
3633	* tools/tcl.wse.in:
3634	* unix/configure.in:
3635	* unix/tcl.spec:
3636	* win/configure.in:
3637
3638	* unix/configure:	autoconf-2.59
3639	* win/configure:
3640
36412008-02-04  Miguel Sofer  <msofer@users.sf.net>
3642
3643	* generic/tclExecute.c (INST_CONCAT1): Fix optimisation for in-place
3644	concatenation (was going over String type)
3645
36462008-02-02  Daniel Steffen  <das@users.sourceforge.net>
3647
3648	* unix/configure.in (Darwin):	Correct Info.plist year substitution
3649					in non-framework builds.
3650
3651	* unix/configure:		autoconf-2.59
3652
36532008-01-30  Miguel Sofer  <msofer@users.sf.net>
3654
3655	* generic/tclInterp.c (Tcl_GetAlias): Fix for [Bug 1882373], thanks go
3656	to an00na.
3657
36582008-01-30  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3659
3660	* tools/tcltk-man2html.tcl: Reworked manual page scraper to do a
3661	proper job of handling references to Ttk options. [Tk Bug 1876493]
3662
36632008-01-29  Donal K. Fellows  <donal.k.fellows@man.ac.uk>
3664
3665	* doc/man.macros (SO, SE): Adjusted macros so that it is possible for
3666	Ttk to have its "standard options" on a manual page that is not called
3667	"options". [Tk Bug 1876493]
3668
36692008-01-25  Don Porter  <dgp@users.sourceforge.net>
3670
3671	* changes:		Updated for 8.5.1 release.
3672
36732008-01-23  Don Porter  <dgp@users.sourceforge.net>
3674
3675	* generic/tclInt.h:		New macro TclGrowParseTokenArray() to
3676	* generic/tclCompCmds.c:	simplify code that might need to grow
3677	* generic/tclCompExpr.c:	an array of Tcl_Tokens in the parsePtr
3678	* generic/tclParse.c:		field of a Tcl_Parse. Replaces the
3679	TclExpandTokenArray() routine via replacing:
3680		int needed = parsePtr->numTokens + growth;
3681		while (needed > parsePtr->tokensAvailable) {
3682		    TclExpandTokenArray(parsePtr);
3683		}
3684	with:
3685		TclGrowParseTokenArray(parsePtr, growth);
3686	This revision merged over from dgp-refactor branch.
3687
3688	* generic/tclCompile.h:	Demote TclCompEvalObj() from internal stubs to
3689	* generic/tclInt.decls:	a MODULE_SCOPE routine declared in
3690	tclCompile.h.
3691
3692	* generic/tclIntDecls.h:	make genstubs
3693	* generic/tclStubInit.c:
3694
36952008-01-22  Don Porter  <dgp@users.sourceforge.net>
3696
3697	* generic/tclTimer.c (AfterProc):	Replace Tcl_EvalEx() with
3698	Tcl_EvalObjEx() to evaluate [after] callbacks. Part of trend to favor
3699	compiled execution over direct evaluation.
3700
37012008-01-22  Miguel Sofer  <msofer@users.sf.net>
3702
3703	* generic/tclCmdIl.c (Tcl_LreverseObjCmd):
3704	* tests/cmdIL.test (cmdIL-7.7): Fix crash on reversing an empty list.
3705	[Bug 1876793]
3706
37072008-01-20  Jeff Hobbs  <jeffh@ActiveState.com>
3708
3709	* unix/README: Minor typo fixes [Bug 1853072]
3710
3711	* generic/tclIO.c (TclGetsObjBinary): Operate on topmost channel.
3712	[Bug 1869405] (Ficicchia)
3713
37142008-01-17  Don Porter  <dgp@users.sourceforge.net>
3715
3716	* generic/tclCompExpr.c:	Revision to preserve parsed intreps of
3717	numeric and boolean literals when compiling expressions with (optimize
3718	== 1).
3719
37202008-01-15  Miguel Sofer  <msofer@users.sf.net>
3721
3722	* generic/tclCompExpr.c: Add an 'optimize' argument to
3723	* generic/tclCompile.c:	 TclCompileExpr() to profit from better
3724	* generic/tclCompile.h:	 literal management according to usage.
3725	* generic/tclExecute.c:
3726
3727	* generic/tclCompExpr.c: Fix literal leak in exprs [Bug 1869989] (dgp)
3728	* generic/tclExecute.c:
3729	* tests/compExpr.test:
3730
3731	* doc/proc.n: Changed wording for access to non-local variables; added
3732	mention to [namespace upvar]. Lame attempt at dealing with
3733	documentation. [Bug 1872708]
3734
37352008-01-15  Miguel Sofer  <msofer@users.sf.net>
3736
3737	* generic/tclBasic.c:	 Replacing 'operator' by 'op' in the def of
3738	* generic/tclCompExpr.c: struct TclOpCmdClientData to accommodate C++
3739	* generic/tclCompile.h:	 compilers. [Bug 1855644]
3740
37412008-01-13  Jeff Hobbs  <jeffh@ActiveState.com>
3742
3743	* win/tclWinSerial.c (SerialCloseProc, TclWinOpenSerialChannel): Use
3744	critical section for read & write side. [Bug 1353846] (newman)
3745
37462008-01-11  Miguel Sofer  <msofer@users.sf.net>
3747
3748	* unix/tclUnixThrd.c (TclpThreadGetStackSize): Restore stack checking
3749	functionality in freebsd. [Bug 1850424]
3750
3751	* unix/tclUnixThrd.c (TclpThreadGetStackSize): Fix for crash in
3752	freebsd. [Bug 1860425]
3753
37542008-01-10  Don Porter  <dgp@users.sourceforge.net>
3755
3756	* generic/tclStringObj.c (Tcl_AppendFormatToObj):  Correct failure to
3757	* tests/format.test:	account for big.used == 0 corner case in the
3758	%ll(idox) format directives. [Bug 1867855]
3759
37602008-01-09  George Peter Staplin  <georgeps@xmission.com>
3761
3762	* doc/vwait.n: Add a missing be to fix a typo.
3763
37642008-01-04  Jeff Hobbs  <jeffh@ActiveState.com>
3765
3766	* tools/tcltk-man2html.tcl (make-man-pages): Make man page title use
3767	more specific info on lhs to improve tabbed browser view titles.
3768
37692008-01-02  Donal K. Fellows  <dkf@users.sf.net>
3770
3771	* doc/binary.n: Fixed documentation bug reported on tcl-core, and
3772	reordered documentation to discourage people from using the hex
3773	formatter that is hardly ever useful.
3774
37752008-01-02  Don Porter  <dgp@users.sourceforge.net>
3776
3777	* generic/tcl.h:	Bump version number to 8.5.1b1 to distinguish
3778	* library/init.tcl:	CVS development snapshots from the 8.5.0 and
3779	* unix/configure.in:	8.5.1 releases.
3780	* unix/tcl.spec:
3781	* win/configure.in:
3782	* README
3783
3784	* unix/configure:	autoconf (2.59)
3785	* win/configure:
3786
3787	******************************************************************
3788	*** CHANGELOG ENTRIES FOR 2006-2007 IN "ChangeLog.2007"	       ***
3789	*** CHANGELOG ENTRIES FOR 2005 IN "ChangeLog.2005"	       ***
3790	*** CHANGELOG ENTRIES FOR 2004 IN "ChangeLog.2004"	       ***
3791	*** CHANGELOG ENTRIES FOR 2003 IN "ChangeLog.2003"	       ***
3792	*** CHANGELOG ENTRIES FOR 2002 IN "ChangeLog.2002"	       ***
3793	*** CHANGELOG ENTRIES FOR 2001 IN "ChangeLog.2001"	       ***
3794	*** CHANGELOG ENTRIES FOR 2000 IN "ChangeLog.2000"	       ***
3795	*** CHANGELOG ENTRIES FOR 1999 AND EARLIER IN "ChangeLog.1999" ***
3796	******************************************************************
3797