jan.nijtmans
99e9ce3656
Use more TCL_AUTO_LENGTH, when appropriate
2018-10-06 19:20:43 +00:00
jan.nijtmans
d84d03b91a
merge trunk
2018-10-06 18:33:42 +00:00
jan.nijtmans
a51d80f377
Merge 8.7
2018-10-06 17:22:38 +00:00
jan.nijtmans
ac711bcf45
protect Tcl_WinUtfToTChar/Tcl_WinTCharToUtf against NULL input values: return empty string in that case.
...
Add TIP #494-compatible definitions of TCL_IO_FAILURE/TCL_AUTO_LENGTH, and use it in some appropriate places.
2018-10-06 17:12:46 +00:00
dkf
b5f75d3392
More regularizing of function names, field names and testing styles
2018-10-06 16:49:40 +00:00
dkf
ffc7a9f0b9
More cleaning up.
2018-10-06 13:07:52 +00:00
dkf
a557024511
Cleanup work on zipfs(n)
2018-10-06 06:41:28 +00:00
dkf
0efc494b97
More tidying up of zipfs
2018-10-06 06:22:57 +00:00
jan.nijtmans
7a674da778
Merge 8.7
2018-10-05 21:22:53 +00:00
jan.nijtmans
70fb513ba3
Merge 8.6
2018-10-05 21:22:13 +00:00
jan.nijtmans
8985ee2114
Better implementations of Tcl_WinTCharToUtf() and Tcl_WinUtfToTChar(). They don't make any assumption on whether encodings are initialized, or specific win32 handling of special characters.
2018-10-05 20:54:59 +00:00
dgp
54f90bae0f
merge 8.7
2018-10-05 19:41:45 +00:00
dgp
33d71c61d9
merge 8.6
2018-10-05 19:41:28 +00:00
jan.nijtmans
85aac3aef7
Fix wrong usage of Tcl_WinTCharToUtf() contract: nativePath should never be NULL, but actually it can be.
2018-10-05 19:37:38 +00:00
dgp
c3c71b5f3c
Post-TIP 505 editing of [lreplace] documentation.
2018-10-05 17:20:40 +00:00
jan.nijtmans
9c4ab4170b
merge trunk
2018-10-04 21:07:27 +00:00
jan.nijtmans
0624d7cbb7
Merge 8.7
2018-10-04 19:27:10 +00:00
jan.nijtmans
d1ec31a73d
Merge 8.6
2018-10-04 19:26:18 +00:00
jan.nijtmans
9feb8b7c29
In registry, protect "keyName" from being NULL: This actually can lead to crashed (I experienced this ...). Update version to 1.3.3, and align implementation in all branches (core-8-6-branch and higher)
2018-10-04 19:22:37 +00:00
dkf
b45b819dfe
Clean up zipfs implementation a bit.
2018-10-04 10:42:11 +00:00
sebres
5919affa3d
merge 8.7
2018-10-04 08:06:40 +00:00
sebres
c365555a69
fixed TclGetWideBitsFromObj - minus applied to unsigned type
2018-10-04 08:04:08 +00:00
dkf
9707adf634
Added Emacs metadata to a bunch of nroff source files.
2018-10-04 07:27:32 +00:00
jan.nijtmans
024406099a
Merge 8.7
2018-10-03 20:19:10 +00:00
jan.nijtmans
05e0ee4c06
Merge 8.6
2018-10-03 20:02:25 +00:00
jan.nijtmans
50a1375461
Tcl_UniCharToUtfDString: Don't allocate too much memory for this function.
...
Tcl_UtfToUniCharDString: Don't allocate too much memory for this function. And make sure that we never access more than 'length' bytes from the string, not even when encountering invalid UTF-8.
2018-10-03 19:24:13 +00:00
hypnotoad
8f20d609b9
Eliminating whitespace changes introduced by the prior checkin
2018-10-01 18:01:13 +00:00
hypnotoad
ef381abdfd
Pulling back in changes to fix testing on cross compiled static builds
2018-10-01 17:05:00 +00:00
hypnotoad
3dc49c128c
Adjust when tcl consults zipfs until AFTER it has checked that env(TCL_LIBRARY)
...
has not been set
2018-10-01 16:41:12 +00:00
hypnotoad
38dcdcb300
Fixed the arguments that zipfs mount was sending in auto.tcl.
...
Standardized on 8 spaces instead of tab characters inside of that file.
(The indent pattern was not consistent and editing the file in a modern
editor was... painful.)
Added logic to check the current path for a zipfile with the name of the
package being loaded. This allows wish to load tcl_library from a zip file in the same
directory as the executable. And in fact, any package which uses the
tcl_findLibrary mechanism with get this behavior for free.
2018-09-30 23:12:13 +00:00
hypnotoad
d0ac3d107b
Adding Zipfile to the list of products produced for builds
2018-09-30 22:21:50 +00:00
hypnotoad
f08ec44049
Adding logic for static builds to load a properly named zipfile
...
in the present working directory if that zipfile was not present in
either the install directory or the source directory.
2018-09-30 10:17:44 +00:00
jan.nijtmans
b9d97ed6af
Merge trunk
2018-09-29 21:56:35 +00:00
jan.nijtmans
51dbd66fe3
Merge 8.7
2018-09-29 20:52:42 +00:00
jan.nijtmans
acbdbb87fb
Add support for wine. So windows test-cases can now be run on Linux/Mac/whatever.
2018-09-29 20:39:10 +00:00
dkf
a9dab78604
More readability improvements to unix makefile
2018-09-29 08:51:42 +00:00
jan.nijtmans
6dbdbb7d1b
Merge trunk
2018-09-28 19:56:49 +00:00
jan.nijtmans
d2edfcf2bd
Merge 8.7
2018-09-28 18:57:25 +00:00
jan.nijtmans
3f2c2080cc
Merge 8.6
2018-09-28 18:49:45 +00:00
jan.nijtmans
3d5f129cb0
Another patch contributed by Gustaf Neumann: shifting negative numbers is undefined behavior in the C standard
...
https://stackoverflow.com/questions/8415895/is-left-and-right-shifting-negative-integers-defined-behavior
2018-09-28 18:45:34 +00:00
jan.nijtmans
6d137e77a5
nmake build fixes for zipfs (ongoing, zip attachments not done yet)
2018-09-28 18:21:10 +00:00
jan.nijtmans
37b9b4dedc
code/doc cleanup
2018-09-28 18:19:04 +00:00
dkf
4ee2aeb33d
Small fixes to unix makefile
2018-09-28 13:59:19 +00:00
dkf
fd03d49b6f
Better phrasing from TIP 509
2018-09-28 09:54:24 +00:00
dkf
29fbee5784
Implement TIP 509: reentrant mutexes on all platforms
2018-09-28 09:50:58 +00:00
dkf
eede8c60a1
Clean up code style and add key phrases to documentation.
2018-09-28 09:49:57 +00:00
dkf
9dabbdf40b
merge core-8-branch
2018-09-28 09:18:49 +00:00
dkf
2f3fc1cfa2
Fix minor typo
2018-09-28 07:24:59 +00:00
jan.nijtmans
45d39f0444
ckalloc -> Tcl_Alloc
2018-09-27 21:45:01 +00:00
jan.nijtmans
a29938f899
Merge trunk
2018-09-27 21:36:45 +00:00
dkf
b4ae859604
Batch of TIP implementations.
2018-09-27 18:48:11 +00:00
dkf
b1e6b58b6a
Implementation of TIP 426: Determining the "Type" of Commands
2018-09-27 11:08:14 +00:00
dkf
6ec7c04557
Restricted the information made available to safe interpreters a bit.
2018-09-27 11:06:59 +00:00
dkf
bfdc5233eb
merge core-8-branch
2018-09-27 08:24:26 +00:00
dkf
1146932b9e
Implementation of TIP 505: Make [lreplace] Accept All Out-of-Range Index Values
2018-09-27 08:22:07 +00:00
dkf
6cdb3193ec
Implementation of TIP 505: Make [lreplace] Accept All Out-of-Range Index Values
2018-09-27 08:19:18 +00:00
dkf
bf46b6a1da
Updated documentation
2018-09-27 07:44:50 +00:00
dkf
00d5f9266b
Implementation of TIP 516: More OO Slot Operations and TIP 515: Level Value Reform
2018-09-27 07:25:04 +00:00
dkf
efa79f01e6
Implementation of TIP 516: More OO Slot Operations
2018-09-27 07:22:42 +00:00
jan.nijtmans
9f745ab1cd
Implementatin of TIP #515 : Level Value Reform
2018-09-26 23:43:00 +00:00
dkf
f0ab769a7c
Implementation of TIP 508: [array default]
2018-09-26 23:17:48 +00:00
jan.nijtmans
de5344f487
Merge trunk
2018-09-26 20:09:49 +00:00
jan.nijtmans
ea1a9cc17e
Merge 8.7
2018-09-26 19:38:44 +00:00
jan.nijtmans
59f808eb7a
Improvements for zipfs. Document that TclZipfs_AppHook only works on Windows in UNICODE mode. Also, remove this from the stub table because it should never be called this way.
...
Prevent a possible crash on win32 startup.
2018-09-26 19:38:08 +00:00
jan.nijtmans
f36f29ad95
Bug-fix (actually a workaround): The "registry" extensions sometimes calls Tcl_DStringSetLength() with length -1 or -2. At least, don't let it crash then.
2018-09-26 19:34:56 +00:00
dkf
9aa47b2cfa
Improved comment.
2018-09-26 13:09:20 +00:00
dkf
761a7867d5
Make defaults work even when [upvar]ed to just a non-existent element.
2018-09-26 13:08:46 +00:00
dkf
46c087f956
merge core-8-branch
2018-09-26 09:47:14 +00:00
dkf
3b77852126
Fix semantics of [lappend] with defaults in a procedure.
2018-09-26 08:12:34 +00:00
jan.nijtmans
f12dda1428
Merge 8.7
2018-09-25 21:18:30 +00:00
jan.nijtmans
f0f3d8a55b
merge 8.6
2018-09-25 21:18:03 +00:00
jan.nijtmans
d5583552c0
Contributed patch from Gustaf Neumann, preventing problems where "localCachePtr" can be NULL
2018-09-25 21:16:32 +00:00
dgp
283e5ff856
merge trunk
2018-09-25 15:05:42 +00:00
dkf
b1f92f4888
Added test cases for errors
2018-09-25 10:18:32 +00:00
dkf
beac2287a9
Corrected the semantics of [append] with defaults
2018-09-25 07:36:09 +00:00
dkf
7b0e9cef60
More correct variable existence checks
2018-09-25 07:27:31 +00:00
dkf
76e2e078e3
Correct variable existence check in [array default exists]
2018-09-25 07:24:44 +00:00
dkf
036cd8c9be
merge core-8-branch
2018-09-25 07:24:04 +00:00
jan.nijtmans
1f6a76bca6
Merge 8.7
2018-09-24 23:33:00 +00:00
jan.nijtmans
ac61d77a41
More fixes in Tcl_WinTChar2Utf: Don't restart loop when output contains null-byte.
2018-09-24 23:24:00 +00:00
dgp
50bedec272
merge 8.7
2018-09-24 16:35:06 +00:00
dgp
d0fab95780
merge 8.6
2018-09-24 16:19:17 +00:00
dgp
338b9ec9d2
Silence debugging message in test suite.
2018-09-24 16:15:25 +00:00
dkf
4719e1f68d
Add tests. Exposes quite a few bugs in the implementation...
2018-09-24 08:21:36 +00:00
dkf
be629669a5
Added docs
2018-09-23 17:29:46 +00:00
dkf
8a6dda8529
merge core-8-branch
2018-09-23 16:42:11 +00:00
jan.nijtmans
9865f6dc47
Merge trunk
2018-09-23 14:57:31 +00:00
jan.nijtmans
14d9c80d61
Merge 8.7
2018-09-23 13:30:53 +00:00
jan.nijtmans
243ea5f7a3
Merge 8.6
2018-09-23 13:29:42 +00:00
jan.nijtmans
6d3aeef45e
Give lambda function a name "ReceiveChunked" for easier testing. New function quoteString and code cleanup
2018-09-23 13:27:14 +00:00
jan.nijtmans
fbdc68b6a2
Handle the (unlikely) case that Tcl_DStringSetLength() results in a re-allocation of the buffer
2018-09-22 16:51:43 +00:00
jan.nijtmans
d6a9a5d664
Merge 8.7
2018-09-22 13:24:33 +00:00
jan.nijtmans
d298eafcf5
Merge 8.7
2018-09-22 13:19:44 +00:00
jan.nijtmans
9f9a9e291d
Change ULLONG_MAX -> UWIDE_MAX, LLONG_MAX -> WIDE_MAX and LLONG_MIN -> WIDE_MIN everywhere, because not all platforms equal Tcl_WideInt type as equal to "long long". This should fix test-cases on platforms where Tcl_WideInt != long long, and have no effect on 'normal' platforms
2018-09-22 13:18:49 +00:00
jan.nijtmans
4ec357c743
merge 8.7
2018-09-22 12:45:29 +00:00
jan.nijtmans
b59b81e172
merge-mark
2018-09-22 12:30:39 +00:00
jan.nijtmans
31b9d1f712
Fix a couple of test-cases, since http1.0 is no longer there
2018-09-22 12:29:46 +00:00
jan.nijtmans
c0b6ad149e
merge 8.7
2018-09-22 12:06:08 +00:00
jan.nijtmans
25ac7e62ba
forgot one location for http version number
2018-09-22 12:05:14 +00:00
jan.nijtmans
d19917714c
merge 8.7
2018-09-22 10:23:56 +00:00
jan.nijtmans
854cf964d2
Merge 8.6
2018-09-22 10:21:36 +00:00
jan.nijtmans
63ef0e3d26
Update http version number, and fix some related test-cases
2018-09-22 10:20:28 +00:00
jan.nijtmans
df89a7f211
Prevent possible build order problem, due to missing dde/registry dll's.
...
Make sure that Tcl_WinTChar2Utf() never produces intermediate null-bytes.
2018-09-22 10:09:23 +00:00
dkf
d025ae5c08
merge core-8-branch
2018-09-21 09:29:24 +00:00
kjnash
39318d91b7
merge bug-46b6edad51-concurrent-http
2018-09-20 13:41:13 +00:00
kjnash
d24a3eb2ba
merge 8.6
2018-09-15 18:41:23 +00:00
jan.nijtmans
69eafefa76
merge trunk
2018-09-13 20:52:48 +00:00
jan.nijtmans
73e0989e22
merge 8.7
2018-09-13 20:52:12 +00:00
jan.nijtmans
bd42171094
missing type-cast
2018-09-13 20:37:44 +00:00
jan.nijtmans
c5943ec574
Eliminate the use of macro's like LLONG_MAX|MIN, since they assume that Tcl_WideInt equals "long long". Also eliminate uses of Tcl_WideAsLong() and friends, as - often - simple type cases make things more clear.
2018-09-13 20:33:58 +00:00
jan.nijtmans
f11320b6b0
Fix various test-cases, which started failing on Windows due to TIP #430
2018-09-13 20:31:45 +00:00
jan.nijtmans
1775284940
Fix test-case registry-6.20, which started failing starting with the TIP #389 commit.
2018-09-13 20:30:20 +00:00
jan.nijtmans
2154b6c5ba
Merge trunk
2018-09-12 20:00:56 +00:00
jan.nijtmans
004ac14973
compensate for the removal of the http1.0 directory
2018-09-12 19:44:15 +00:00
jan.nijtmans
4abfb9ea2c
Merge 8.7 (TIP #430 implementation)
2018-09-12 19:34:16 +00:00
jan.nijtmans
3200ec75ef
Stub fix, safe interpreter fix, and use more size_t wherever possible
2018-09-12 19:32:31 +00:00
jan.nijtmans
9b45aaa5b0
TIP #430 implementation
2018-09-12 19:30:00 +00:00
jan.nijtmans
1a3cef4874
Make ready for TIP #494 compatibility
2018-09-11 22:41:00 +00:00
dkf
90e3bdc291
Simplify the slot resolution protocol
2018-09-11 07:44:04 +00:00
dgp
cdce5491b3
Rebase TIP 505 implementation a patch for 8.6.
2018-09-10 15:28:23 +00:00
dkf
4f17861678
Tests and docs
2018-09-10 08:33:11 +00:00
jan.nijtmans
0babbf966b
slightly better: Use GetFileSizeEx() on win64 and GetFileSize on win32
2018-09-09 17:05:38 +00:00
jan.nijtmans
a35eba4ac2
Merge core-8-branch
2018-09-08 21:18:57 +00:00
dkf
0d73b8a7c0
Implementation of TIP 516
2018-09-08 12:52:06 +00:00
jan.nijtmans
6e39ca4071
Merge 8.7
2018-09-07 22:27:00 +00:00
jan.nijtmans
945b10776d
Merge 8.6
2018-09-07 22:23:00 +00:00
jan.nijtmans
c828e5de43
merge trunk
2018-09-07 22:09:00 +00:00
sebres
9a15a1b586
small code review (duplicate code removed)
2018-09-07 14:24:49 +00:00
dgp
58b8920b8f
merge 8.7
2018-09-07 12:11:45 +00:00
dgp
4b7caf2e4a
merge 8.6
2018-09-07 12:11:01 +00:00
dgp
95db69f27b
Added test for [631b4c45df].
2018-09-07 12:04:32 +00:00
sebres
737e63d3bc
merge 8.7 (segfault fix)
2018-09-07 12:04:07 +00:00
sebres
e94df65350
merge 8.6 (segfault fix)
2018-09-07 12:02:25 +00:00
jan.nijtmans
b8d2426e1b
Use GetFileSizeEx() in stead of GetFileSize(), to get the file size on Windows.
...
Minor improvement: attach empty .zip file to tclsh.exe (both for Windows and UNIX), zo "zip -A" can be used to modify its zip contents.
2018-09-07 11:56:40 +00:00
sebres
e80eaec4d3
amend to [e8ab4d85fa], proc.test: extended with new test-case to cover situation like [631b4c45df]
2018-09-07 11:55:01 +00:00
sebres
b9577c0641
closes [631b4c45df]: segfault by usage of wrong length (no string representation)
2018-09-07 10:45:30 +00:00
jan.nijtmans
833b02bc83
TIP #515 implementation: Level Value Reform
2018-09-07 09:53:17 +00:00
jan.nijtmans
6269e32c3b
Bug-fix: Move TclZipfs_AppHook() from 0 -> 2 in the stub table, otherwise it overrides the entry for Tcl_MacOSXOpenBundleResources (since MacOSX is UNIX as well...).
2018-09-06 11:25:41 +00:00
jan.nijtmans
3e7ffcaf4b
Code review
2018-09-06 09:47:30 +00:00
jan.nijtmans
21113a4394
Merge trunk. Also rename TCL_NO_LENGTH -> TCL_AUTO_LENGTH
2018-09-05 14:54:26 +00:00
jan.nijtmans
1f6ac7f87e
Merge 8.7.
...
Change some internal function signatures, accounting for the 64-bit era.
2018-09-05 13:45:15 +00:00
jan.nijtmans
5c9968a001
Minor code cleanup.
...
win/tclWinPipe.c: Eliminate some compiler warnings on mingw-w64
win/tclWinNotify.c: Eliminate tsdPtr->timeout variable, since it's only being written to.
other files: code cleanup, eliminate unnecessary type casts
2018-09-05 12:11:13 +00:00
dkf
fbef9aa840
merge core-8-branch
2018-09-04 19:47:55 +00:00
jan.nijtmans
2562ea174b
Merge 8.7
2018-09-04 14:37:43 +00:00
jan.nijtmans
fdf1df3b29
Fix [540bed4bde]: binary format can result in "integer value too large to represent".
...
Implemented a new utility function TclGetWideBitsFromObj(), which handles the overflowing of integers using bignums.
This function can be used in a _LOT_ of other places, preventing code duplication. Done that as well.
Those changes have no effect on other commands, only two new "binary format" test-cases for this specific situation: binary-44.5 and binary-44.6
2018-09-04 14:37:01 +00:00
jan.nijtmans
3250944e1f
merge 8.7
2018-09-03 12:54:42 +00:00
jan.nijtmans
2f2b7f6ac7
Eliminate use of wideBiggerThanInt test constraint, since it's the same as {longIs32bit wideIs64bit}. And ... it's name is actually wrong ...
...
Don't use int() any more in any test constraint, since it's semantics might change. We don't want the test constraints to change with it. (See: TIP# 514)
Simplify implementation of wideIs64bit test constraint, just testing for 64-bit sign bit is enough.
2018-09-03 12:53:15 +00:00
dkf
6b9510ca19
Implement TIP 478: Add Expected Class Level Behaviors to oo::class
2018-09-02 13:48:56 +00:00
dkf
5f1bd2f2e3
Implement TIP 478: Add Expected Class Level Behaviors to oo::class
2018-09-02 13:48:22 +00:00
jan.nijtmans
ba417d3ce6
Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
2018-09-01 22:01:35 +00:00
sebres
195f90c951
merge 8.7
2018-08-30 11:16:07 +00:00
sebres
0787b1d152
merge 8.6
2018-08-30 11:14:15 +00:00
sebres
cb9f3f9268
merge 8.5
2018-08-30 11:13:09 +00:00
sebres
6d88b01d1e
test-cases to cover quoting of the newline character, and the documentation extended.
2018-08-30 11:08:51 +00:00
jan.nijtmans
e663097026
Minor code cleanup
2018-08-29 18:33:58 +00:00
jan.nijtmans
2c081dcd0c
merge trunk
2018-08-29 18:07:14 +00:00
sebres
ce1c1edacb
merge 8.7
2018-08-29 17:02:13 +00:00
sebres
6dfe3f5de6
merge 8.6
2018-08-29 17:01:22 +00:00
sebres
77a26f5c95
merge 8.5
2018-08-29 16:59:10 +00:00
sebres
9cec6bac27
tcltest: forgotten built-in constraint "slowTest"
2018-08-29 16:58:06 +00:00
sebres
2f19b0f346
small amend to [cae24931ed] (no _CRT_glob in both cases __GNUC__ || TCL_BROKEN_MAINARGS).
2018-08-29 16:55:36 +00:00
sebres
265c9d416f
partially cherry-picking of [5099a81b50], never reached 8.6, so for example build for MINGW breaks tests winpipe-8.1 etc, because "*" will be expanded.
2018-08-29 15:55:13 +00:00
sebres
db610f91eb
code review after merge with 8.5 (restore usage of some functions, after lost by conflict resolving)
2018-08-29 15:49:19 +00:00
sebres
afb5bf5583
merge 8.5 ([21b0629c81] 0-day vulnerability - insufficient escape by exec of batch-files for windows)
2018-08-29 15:41:55 +00:00
sebres
9b7ce068fe
closes [21b0629c81] 0-day vulnerability - insufficient escape by exec of batch-files for windows
2018-08-29 14:45:57 +00:00
jan.nijtmans
8623f173db
Eliminate static function AddObjErrorInfo, which is only used once
2018-08-28 20:30:42 +00:00
jan.nijtmans
e754f7aad1
merge core-8-branch
2018-08-28 18:59:25 +00:00
dkf
d4d1014e7d
merge core-8-branch
2018-08-26 11:07:37 +00:00
sebres
820a737a2f
code review, skip slow test winpipe-8.2 executed args from injectList particularly (normally winpipe-8.3 covers the same but jointly), to enable use parameter -constraints slowTest, added new test with randomly generated potentially dangerous args
2018-08-23 10:26:03 +00:00
sebres
c2d61d8dbc
code review, restored backwards compatibility of the simplest escape of quote-chars (so reverted several tests winpipe-7.x)
2018-08-23 08:00:32 +00:00
sebres
fb0bf9d1b9
fixes escape for special cases (+ more test-cases):
...
- `%` char to be escaped (quoted) in any case (regardless pairing flag), otherwise `%username%` will be interpolated as username.
- escape of multiple backslashes before quote is different (as without following quote) in unpaired quote syntax (upaired flag set)
2018-08-21 18:52:21 +00:00
sebres
01dd016ad8
because executable (1st argument) always proper escaped now, don't need to replace long path name of batch-executable with short path name (reduced to 16-bit applications only).
2018-08-20 19:58:44 +00:00
sebres
d660b325b5
small amend: avoid reset of unpaired quote flag between arguments (previous affects next) + test cases extended with several injection checks.
2018-08-20 16:15:37 +00:00
sebres
26b477b907
win: fixes [21b0629c81] - exec/open process pipe under windows (0-day vulnerability - insufficient escape)
2018-08-20 14:35:44 +00:00
jan.nijtmans
89ff80fbdd
merge-mark
2018-08-19 09:16:30 +00:00
jan.nijtmans
b3993adcfb
Merge 8.6
2018-08-17 22:21:12 +00:00
jan.nijtmans
90afac281e
Minor fix to entier(): Allow it to convert to "wideInt" as well when range is appropriate
2018-08-17 22:15:49 +00:00
sebres
aed158b518
win: TclpCreateProcess or [exec process ...] - search for application extended with ".cmd" extension:
...
automatically tries appending ".com", ".exe", ".bat" and ".cmd", in that order, to the name, looking for an executable.
(partially cherry-picked from 8.6 branch)
2018-08-17 18:26:10 +00:00
hypnotoad
9b285dde85
Merging changes with 8.7
2018-08-14 08:46:22 +00:00
pooryorick
e5270637c0
Reposition the MODULE_SCOPE definition so that packages like tbcload don't get
...
an error when they include tclPort.h.
2018-08-14 05:43:17 +00:00
jan.nijtmans
b880f036f9
merge trunk
2018-08-11 22:02:14 +00:00
dkf
f5efc84600
Added a note about the genesis of the compiled header.
2018-08-11 12:01:06 +00:00
dkf
245151ad96
Improve script compilation. Prove that compilation works with safe interps.
2018-08-11 11:18:20 +00:00
pooryorick
65f3d0f56b
Repair breakage in recent refactoring of env.test.
2018-08-10 18:57:53 +00:00
pooryorick
18c102aa70
minor changes to documentation
2018-08-10 18:44:41 +00:00
pooryorick
e53f3cf9c6
Tighten up SaveResult.3, make installManPage more robust against newlines.
2018-08-10 15:03:14 +00:00
dgp
6c78bf0adc
Repair breakage in recent refactoring of env.test
2018-08-08 20:48:06 +00:00
jan.nijtmans
62c8a18cdc
Merge 8.7
2018-08-08 06:52:48 +00:00
jan.nijtmans
12647cc4fb
Merge 8.6
2018-08-08 06:46:31 +00:00
jan.nijtmans
8346cad0dd
Fix harmless gcc warning
2018-08-08 06:45:29 +00:00
jan.nijtmans
8ec7000cfd
Merge 8.7
2018-08-07 08:23:27 +00:00
jan.nijtmans
620b4d531d
merge 8.6 (test cases fix in ioTrans)
2018-08-07 08:22:28 +00:00
dkf
ed3e9c60ba
Combine the two bits of scripted code inside TclOO's definition into one.
2018-08-05 20:14:04 +00:00
dkf
d87884d51b
Make it much easier to maintain the TclOO initialisation script.
2018-08-05 15:01:30 +00:00
sebres
de5637f853
ioTrans.test: fixed cleanup - avoids error deleting "tempchanfile": permission denied: file seems to be locked/opened inside interp $idb
2018-08-03 13:46:30 +00:00
jan.nijtmans
1bc2496e01
Merge 8.7
2018-08-02 23:08:00 +00:00
jan.nijtmans
40947c7d3e
Purge end-of-line spacing
2018-08-02 22:37:00 +00:00
jan.nijtmans
c3cec2c712
Merge trunk. Use TCL_8_COMPAT in stead of TCL_USE_INT_RETURN
2018-08-02 07:35:28 +00:00
jan.nijtmans
6042bb0be1
merge 8.7
2018-07-31 20:36:29 +00:00
jan.nijtmans
cff4a9d980
merge 8.6
2018-07-31 20:22:18 +00:00
jan.nijtmans
c1ae69114b
Remove some actually dead code
2018-07-31 19:49:51 +00:00
jan.nijtmans
485410de9b
merge trunk
2018-07-30 19:00:29 +00:00
sebres
e68dfbc8af
merge 8.7
2018-07-26 19:10:41 +00:00
sebres
ad757b50dc
merge 8.6: bug [d051b77fc1] fixed
2018-07-26 18:58:03 +00:00
sebres
5902889825
amend after merge: 8.6th provide additionally an error-code (so missing errCode = "OVERFLOW")
2018-07-26 18:56:41 +00:00
sebres
04c687936c
merge 8.5 - bug [d051b77fc1] fixed
2018-07-26 18:51:03 +00:00
sebres
304b569170
merge test cases from 8.6
2018-07-26 18:15:17 +00:00
sebres
2133e40e58
amend to [d498578df4], still one test for [Bug ba921a8d98] with inplace by subst inside string (compiled as "strcat" instruction)
2018-07-26 18:07:34 +00:00
sebres
c7cdc550c4
test cases added to cover width overflow by format (should cause limit exceeded)
2018-07-26 16:46:47 +00:00
dgp
7633450128
[ba921a8d98] Make sure [string cat] includes all data from all bytearrays.
2018-07-26 16:14:44 +00:00
sebres
7e727bed70
closes [d051b77fc18d7340]: fixed segfault by integer overflow (if width by format like "%4000000000g" overflows to negative values by scan of length)
2018-07-26 15:57:38 +00:00
dgp
164a7f04c0
New test for [Bug ba921a8d98].
2018-07-26 15:51:28 +00:00
Kevin B Kenny
54fbd7dbcb
Resolve inadvertent fork
2018-07-25 01:43:43 +00:00
pooryorick
772d2da10b
Fix for [ba921a8d98e02a96] - concatenating binary array with empty string yields the empty string.
2018-07-22 20:44:16 +00:00
Kevin B Kenny
5c0692322d
Merge 8.7: Add a note in the 'clock' man page about the interpretation of impossible values on [clock scan]
2018-07-21 18:46:08 +00:00
Kevin B Kenny
0ae1df9bfc
Merge 8.6: Add a note in the 'clock' man page about the interpretation of impossible values on [clock scan]
2018-07-21 18:45:41 +00:00
Kevin B Kenny
814c867db4
Add a note in the 'clock' man page about the interpretation of impossible values on [clock scan]
2018-07-21 18:45:09 +00:00
sebres
0704a6f87b
merge 8.7
2018-07-20 16:07:43 +00:00
sebres
6667ddcb54
merge 8.6
2018-07-20 16:05:48 +00:00
sebres
d00a212e82
win: avoids warning by x64-build in function 'TclWinCPUID' - pointer targets in passing argument 1 of '__cpuid' differ in signedness [-Wpointer-sign] (int* vs unsigned int*)
2018-07-20 15:58:56 +00:00
sebres
7fb72851e8
win: fixes x64-build within gcc-compile runtime env for (mingw64, etc): "$do64bit" may be "amd64|x64|yes", so it could find & copy wrong zlib.dll.
2018-07-20 15:54:11 +00:00
andy
45f814fec7
Minor documentation wording change to clean up an awkward construct
2018-07-18 03:34:14 +00:00
sebres
4a3f32b84a
win: fixed test-cases (see [525ccacaef]) running under windows outside of temp-folder
2018-07-16 13:59:29 +00:00
dkf
77aceb5c5f
Added more tests and made [initialize] an alternate spelling for [initialise].
2018-07-15 15:46:33 +00:00
sebres
7547e67f40
merge 8.7
2018-07-12 15:32:34 +00:00
sebres
8a7c004dbc
merge 8.6
2018-07-12 15:31:27 +00:00
sebres
a1790a1683
merge 8.5
2018-07-12 14:25:09 +00:00
sebres
885a163b3c
win: closes [3f7af0e21e13f1f5] - avoid "permissions denied" by file delete, if file stat (TclpObjStat) used internally in other worker, for example by usage of file mkdir etc.
2018-07-12 14:17:57 +00:00
jan.nijtmans
ec3c18e54e
Remove 4 unneeded compatibility macro's, because those functions never return -1 anyway.
...
Change documentation to use void * in stead of ClientData
2018-07-10 19:18:17 +00:00
sebres
40e253fe8a
merge 8.7 (merge point only after cherry-pick, no functional changes)
2018-07-10 08:20:40 +00:00
sebres
87e508c590
amend to [1830f9f520e2abdd], fixed package.test if built without test - avoids test file error: package "Tcltest" isn't loaded statically
2018-07-10 08:19:08 +00:00
sebres
142fa0ec7c
amend to [1830f9f520e2abdd], fixed package.test if built without test - avoids test file error: package "Tcltest" isn't loaded statically
2018-07-09 19:24:07 +00:00
sebres
10c6cd5a2c
merge 8.7
2018-07-09 19:09:17 +00:00
sebres
a76637248c
merge 8.6
2018-07-09 19:03:38 +00:00
sebres
2a46a48670
merge 8.5
2018-07-09 18:15:34 +00:00
jan.nijtmans
9a9c228341
typo in compatibility macro (discovered by compiling Tk)
2018-07-09 18:06:40 +00:00
sebres
51aecf205d
closes [270f78ca95b642fb]: fix the race condition for file mkdir if some worker deletes directory immediately after the succeded create inside 3rd worker.
2018-07-09 17:18:07 +00:00
jan.nijtmans
5f1c7cb11e
Don't mark ckalloc and friends as deprecate yet, Tk is still heavily using it
2018-07-09 16:12:31 +00:00
jan.nijtmans
2b4ed03502
Experimental Tcl-8 compatibility macro's. Still to be tested.
2018-07-07 22:39:55 +00:00
jan.nijtmans
20b21aaa69
Fix build on MacOSX
2018-07-07 20:11:05 +00:00
dkf
d0f8889c8f
And another test
2018-07-07 08:57:49 +00:00
dkf
27110774bd
Added direct tests for [myclass]
2018-07-07 08:45:00 +00:00
dkf
5a06fd4bcf
Document the [myclass] command; someone might find it useful besides me.
2018-07-07 08:22:13 +00:00
jan.nijtmans
d4a30d2344
remaining external API. Looks like complete now. Milestone! Still more testing needed
2018-07-06 21:36:40 +00:00
jan.nijtmans
7f445021a0
more progress
2018-07-06 19:53:03 +00:00
dkf
969f9f571c
Improving the singleton
2018-07-06 13:50:54 +00:00
jan.nijtmans
04e4629c9f
Merge trunk
...
Handle TclCopyAndCollapse, *Trace* et al
2018-07-05 21:25:40 +00:00
jan.nijtmans
f74cbbd446
Merge 8.7. Also remove some more unneeded #undef's.
2018-07-05 19:50:49 +00:00
jan.nijtmans
64cbe6e187
Merge 8.6. Also remove a useless #undef/#define which will be overrided later.
2018-07-05 19:46:24 +00:00
jan.nijtmans
367ce9ad48
tclDictObj.c:366: warning: dereferencing type-punned pointer will break strict-aliasing rules
...
Prevent this warning, which gcc 4.4 (a.o.) gives on this construct. void pointers work well already in whatever assignment.
2018-07-05 19:39:19 +00:00
jan.nijtmans
83fd58165e
merge trunk
2018-07-04 21:11:12 +00:00
jan.nijtmans
b4d2fffb28
Merge 8.7
2018-07-04 20:56:37 +00:00
jan.nijtmans
6982ae0ca7
Make Tcl_GetUnicode() a macro. Mark many other stub-entries which are no longer are in use (because they were converted to macros) as deprecated, since they will be removed in Tcl 9.0
2018-07-04 20:20:28 +00:00
jan.nijtmans
da7eafc83b
Micro-optimization in Tcl_GetString() and Tcl_GetStringFromObj()
2018-07-04 20:18:39 +00:00
jan.nijtmans
572883ec08
More size_t API changes (*.decls files are complete now)
2018-07-03 19:24:45 +00:00
andy
535266afa3
Remove stray verbiage from man page
2018-07-03 04:56:43 +00:00
stu
cf5a680373
Some tools are executable.
2018-07-03 04:02:23 +00:00
stu
4a0e6ae460
Use INSTALL_*/DIST_INSTALL_* macros to make dist.
2018-07-03 00:45:52 +00:00
jan.nijtmans
79f1d89388
Use size_t in more API's, e.g. *RegExp* types
2018-07-02 19:39:34 +00:00
dkf
414bcee273
Documentation for [classmethod]
2018-07-02 07:44:09 +00:00
dkf
d11660acfe
Create a special command, [ :my:class], (in each instance namespace) that allows objects to delegate methods to their class.
2018-07-01 16:39:11 +00:00
jan.nijtmans
b8e604ca08
New macro TclGetByteArrayFromObj() which can handle size_t
2018-07-01 10:31:07 +00:00
jan.nijtmans
77ba009f38
New macro TclGetUnicodeFromObj() which can handle size_t
2018-07-01 09:11:19 +00:00
jan.nijtmans
3dc03bc4ac
Starting to update all callers of TclGetStringFromObj() to use size_t variables
2018-07-01 06:21:55 +00:00
dkf
5c7ba37901
More docs
2018-06-30 21:36:01 +00:00
dkf
1d1e95e779
More docs
2018-06-30 18:30:53 +00:00
dkf
bffb982059
More docs
2018-06-30 13:44:25 +00:00
dkf
0978bd50ce
Started to write documentation
2018-06-30 05:13:39 +00:00
jan.nijtmans
94741577ee
Another round of size_t'isms, this time also for Tcl_DString
2018-06-29 20:28:54 +00:00
jan.nijtmans
709f9278ff
Improve many parsing-related functions to use size_t
2018-06-29 18:13:10 +00:00
dkf
3f8c7d5d40
More test cases. More fixes.
2018-06-29 07:15:06 +00:00
jan.nijtmans
5248fb0651
More API changes using size_t. Internal changes not complete yet (WIP)
2018-06-28 21:42:54 +00:00
jan.nijtmans
9478033661
More using TCL_Z_MODIFIER where possible
2018-06-28 20:30:24 +00:00
dkf
4c24e60418
Split out TIP 478 tests into their own file.
2018-06-28 10:40:37 +00:00
dkf
8219fb2632
Tests for abstract and singleton
2018-06-28 08:12:07 +00:00
jan.nijtmans
66ec3cd3a6
merge trunk
2018-06-27 19:09:01 +00:00
dkf
082e8c6d7a
Add better error handling and make the delegation work with cloning.
2018-06-27 07:39:49 +00:00
jan.nijtmans
7cb7a44074
merge 8.7
2018-06-26 19:46:07 +00:00
jan.nijtmans
7a9d97826e
Since Tcl is always compiled with -DUNICODE -D_UNICODE (on Windows) and we know TCL_UTF_MAX>=4, we can simplify things. No change in functionality.
2018-06-26 19:45:22 +00:00
dgp
41a740e30c
merge 8.7
2018-06-26 17:18:10 +00:00
dgp
9683822257
merge 8.6
2018-06-26 17:07:02 +00:00
dgp
9da2aebeae
Use a thread exit handler, and not a custom exit proc for package cleanup.
2018-06-26 17:00:29 +00:00
dgp
868f84d487
merge 8.7
2018-06-26 14:23:58 +00:00
dgp
bf884c9bc9
merge 8.6
2018-06-26 14:23:22 +00:00
dgp
ed5ed756bc
Restore lost tests.
2018-06-26 14:22:08 +00:00
jan.nijtmans
3c26b9439d
merge 8.7
2018-06-25 20:39:31 +00:00
jan.nijtmans
fdee46ab16
merge 8.6
2018-06-25 20:38:16 +00:00
jan.nijtmans
0839047d8b
Simplify ToUtf(), expecially for TCL_UTF_MAX>3 (with correct surrogate handling).
...
Fix various typo's
2018-06-25 07:22:19 +00:00
jan.nijtmans
6264f49788
Merge 8.7
2018-06-24 20:27:19 +00:00
jan.nijtmans
94f9cf81ed
Fix "string tolower" and friends for handling unpaired surrogates correctly. Also add test-cases for those situations.
...
Various typo's in comments.
2018-06-24 20:26:27 +00:00
pooryorick
e2a79c2604
Fix for [3592747]: Let TclNRTailcallEval handle namespace problems.
2018-06-24 07:17:46 +00:00
dkf
05209c57d3
Make the delegates work by moving their creation into C.
2018-06-23 15:03:26 +00:00
pooryorick
6cbfdcc4a3
Add a test for no generation of a string representation when comparing with the
...
empty string.
2018-06-23 14:18:06 +00:00
pooryorick
94ec3d9431
Add another suppress rule for valgrind, factor test code into
...
tests/tcltests.tcl, and constrained a some tests in the valgrind case.
2018-06-22 15:10:04 +00:00
pooryorick
6c1e9f2b0c
merge pyk-tcltest-exit
2018-06-21 22:44:04 +00:00
pooryorick
563bd6e4dd
Fix function signature of TclThreadTestFinalize.
2018-06-21 22:43:18 +00:00
pooryorick
b418ff1759
merge pyk-tcltest-exit
2018-06-21 22:23:04 +00:00
pooryorick
56ca35e8a9
Add custom exit procedure for tcltests executable.
2018-06-21 22:21:31 +00:00
pooryorick
107fb1eb33
Suppress more valgrind "still reachable" reports and ensure that threads are
...
fully finalized in thread tests.
2018-06-21 22:16:29 +00:00
pooryorick
c911dc937f
Add valgrind suppression for dlopen and ensure that processes are reaped in
...
http11.test.
2018-06-20 19:06:40 +00:00
pooryorick
645241afc1
Remove recent auto_path modification in tests/all.tcl and suppress more
...
valgrind reports.
2018-06-20 08:03:22 +00:00
pooryorick
03a3c09b1f
new file: tools/valgrind_suppress. num-callers bumped from 8 to 24. Valgrind
...
now issues no "still reachable" reports for cmdAH.test.
2018-06-19 11:47:08 +00:00
jan.nijtmans
5c87050dd8
Merge 8.6. And add more documentation and test-cases regarding the behavior of Tcl_UniCharToUtf()
2018-06-18 15:59:19 +00:00
jan.nijtmans
3c57d80efe
Fix [53cad613d8]: TIP 389 implementation makes Tk tests font-4.12 and font-4.15 fail. One more situation in which high surrogate causes problem
2018-06-18 15:54:38 +00:00
jan.nijtmans
04004f3abc
Unbreak build on Windows (and - most likely - some other platforms too)
2018-06-18 15:51:43 +00:00
pooryorick
155e8a1ad5
Avoid valgrind "still reachable" reports stemming from early termination of
...
threads.
2018-06-18 08:09:32 +00:00
pooryorick
625aca976a
Full cleanup of env cache when in a PURIFY build.
2018-06-18 07:06:04 +00:00
pooryorick
e9c0ec1219
Plug leak in TclSetEnv.
2018-06-18 05:59:22 +00:00
dkf
8e696a5e5d
Leaving out the weird delegates stops the test failures.
2018-06-17 17:27:41 +00:00
dkf
9e511d7874
Most of the implementation ported over. [classmethod] is trickier...
2018-06-17 16:47:45 +00:00
jan.nijtmans
9d19f3532c
merge 8.7
2018-06-17 16:13:54 +00:00
jan.nijtmans
5af99f55b2
merge 8.6
2018-06-17 16:11:50 +00:00
jan.nijtmans
8047a470ef
Fix [53cad613d8a4de166e680f09a6c6399ebddbc17c|53cad613d8]: TIP 389 implementation makes Tk tests font-4.12 and font-4.15 fail. (Fix it in 8.6 too, for benefit of androwish)
2018-06-17 16:07:09 +00:00
dkf
1f91c778bb
Split scripted parts of TclOO into their own file.
2018-06-17 15:42:58 +00:00
pooryorick
2b739c838a
Remove dependencies between tests in env.test.
2018-06-17 08:47:29 +00:00
pooryorick
dd713ee96e
Add tests/tcltests.tcl as a place to store common code for tests.
2018-06-16 22:57:36 +00:00
pooryorick
983854ad7b
Add tests/tcltests.tcl as a place to store common code for tests.
2018-06-16 22:56:07 +00:00
dkf
ffd6cad4d9
Add in basic github meta-files to reduce problems with issues being filed where we don't see them.
2018-06-16 18:08:51 +00:00
dkf
7bf68c2335
Add in basic github meta-files to reduce problems with issues being filed where we don't see them.
2018-06-16 18:07:30 +00:00
pooryorick
41a6159754
new package
...
tcltests
exclude some exec.test tests when running under valgrind
2018-06-16 17:55:31 +00:00
jan.nijtmans
c44181ecaf
Change signature of Tcl_GetRange() to use size_t. Merge trunk.
2018-06-16 12:32:49 +00:00
jan.nijtmans
824f621875
merge 8.7
2018-06-15 18:40:46 +00:00
jan.nijtmans
c9802b0230
merge 8.6
2018-06-15 18:37:45 +00:00
jan.nijtmans
df97278634
merge 8.5
2018-06-15 18:35:56 +00:00
jan.nijtmans
06fc5fb636
Align common install locations in SC_PATH_TCLCONFIG and SC_PATH_TKCONFIG. Add FreeBSD (closes [d6d60efd35]) and OpenBSD 8.5 paths
2018-06-15 18:31:24 +00:00
pooryorick
15f804e04e
new package
...
tcltests
exclude some exec.test tests when running under valgrind
2018-06-15 13:17:17 +00:00
stu
ab3286e299
Align common install locations in SC_PATH_TCLCONFIG and SC_PATH_TKCONFIG.
...
Add FreeBSD (closes [d6d60efd35]) and OpenBSD 8.6 paths.
2018-06-15 10:24:06 +00:00
jan.nijtmans
14994d8a85
Merge trunk. Some more size_t additions in parameters/fields
2018-06-14 18:31:24 +00:00
dgp
919ec44584
merge 8.7
2018-06-13 16:58:38 +00:00
stu
eccaf23657
Don't call getsockname(2) in Tcl_MakeFileChannel(3) unless absolutely necessary.
...
Closes RFE [0ac9d06895].
Permits better constraining of Tcl/tclsh via OpenBSD's pledge(2) or similar mechanisms.
2018-06-13 16:15:27 +00:00
dgp
e5de25734f
merge 8.6
2018-06-13 16:12:54 +00:00
dgp
e393000b1d
merge 8.5
2018-06-13 16:06:38 +00:00
dgp
83d92bd747
Stop creating a stray child process.
2018-06-13 15:59:15 +00:00
pooryorick
33b8401436
Avoid valgrind "still reachable" reports stemming from early termination of
...
threads.
2018-06-13 10:49:25 +00:00
hypnotoad
d62033b7e2
Adding typecasts in tclZipfs.c to eliminate a compiler warning
2018-06-12 19:32:03 +00:00
dgp
1b3a0a73ae
Remove AbsolutePath(), no longer used.
2018-06-12 19:16:38 +00:00
dgp
9e3e0498e7
merge 8.7
2018-06-12 19:14:47 +00:00
dgp
0d36d5f3d8
merge 8.7
2018-06-12 18:03:09 +00:00
dgp
a54459bed6
close fork
2018-06-12 18:02:24 +00:00
dgp
d8264cbb73
merge 8.7
2018-06-12 17:54:09 +00:00
dgp
b5e61d9f54
merge 8.6
2018-06-12 17:53:43 +00:00
dgp
5a05e0d782
merge 8.5
2018-06-12 17:53:19 +00:00
dgp
9c8f784329
[860a9f1945] Remove test safe-8.8; Mac OS 9 tests are no longer useful.
2018-06-12 17:10:03 +00:00
fbonnet
7fe9e1b90c
Removed thread-specific mutex lock counter and replaced by shared counter + thread ID for systems without PTHREAD_MUTEX_RECURSIVE
2018-06-09 17:20:15 +00:00
jan.nijtmans
bae4992913
merge-mark (Unicode 11.0 beta was already here, and there were not changed in the final version)
2018-06-09 07:45:45 +00:00
jan.nijtmans
1efbaebb6a
Merge 8.5 (= update Unicode data to Unicode version 11.0)
2018-06-09 07:44:33 +00:00
jan.nijtmans
ac47e6953d
Update all Unicode tables to Unicode version 11.0
2018-06-09 07:42:42 +00:00
jan.nijtmans
400feb302b
Update to latest tzdata (backported from 8.6)
2018-06-09 07:41:47 +00:00
sebres
9c9b3d93f9
merge 8.5 (empty merge point, no functional changes, because does not affect 8.6)
2018-06-08 13:02:59 +00:00
sebres
04d1270786
resolves some warnings by compiling with new gcc-versions (>= 7.x):
...
- '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context]
- passing argument 1 of 'Tcl_CreateExitHandler' from incompatible pointer type [-Wincompatible-pointer-types]
2018-06-08 12:50:43 +00:00
jan.nijtmans
57409ec3f0
merge 8.7
2018-06-08 07:00:39 +00:00
jan.nijtmans
f8b9cb869d
re-generate configure script (where does --runstatedir come from?
2018-06-08 06:56:33 +00:00
pooryorick
4755be8f41
Give tests more time to finish since valgrind slows things down considerably.
2018-06-07 20:59:27 +00:00
pooryorick
30a0e246b6
Give tests more time to finish since valgrind slows things down considerably.
2018-06-07 18:19:15 +00:00
sebres
c2e16d9b1f
amend to [eeefdb44cf]: fixes missing install path (closes [593aa7c421]) for mingw/*nix
2018-06-05 21:59:09 +00:00
sebres
c2634b8813
merge 8.7
2018-06-05 09:12:35 +00:00
sebres
3b14a4b0ed
re-autoconfigure with v.2.69
2018-06-05 09:10:56 +00:00
sebres
a3fdad2b4f
merge 8.6
2018-06-05 09:04:08 +00:00
sebres
b89a3efc56
merge 8.5
2018-06-04 13:52:19 +00:00
sebres
240e6b50d2
fixes [92564326a9] if compiled on some x86 systems (with dirent64 but without DIR64, partially cherry-picked from https://www.androwish.org/index.html/info/6119b8ac2aee8411 ).
2018-06-04 13:49:38 +00:00
dgp
38be8d3de6
merge 8.7
2018-06-04 13:17:58 +00:00
dkf
accd885c10
TIP 500: Private Methods and Variables in TclOO
2018-06-03 13:18:11 +00:00
dkf
ddd37fb237
TIP 500: Private Methods and Variables in TclOO
2018-06-03 11:44:19 +00:00
dkf
63be474164
merge core-8-branch
2018-06-02 14:19:33 +00:00
kjnash
754bb107b4
Bugfix - always cleanup persistent socket.
2018-06-01 18:34:07 +00:00
dgp
fa47c96ac2
merge 8.7
2018-05-31 19:23:15 +00:00
jan.nijtmans
e4c4396db2
merge 8.7
2018-05-31 07:18:06 +00:00
jan.nijtmans
5e3ca11761
Neither use --disable-threads on MacOS builds, and don't mention it any more in the README
2018-05-31 07:17:23 +00:00
dkf
6ab540f5ff
Tweaking the documentation
2018-05-30 09:38:48 +00:00
jan.nijtmans
76ffa2482f
Merge 8.7
2018-05-30 07:15:56 +00:00
jan.nijtmans
63b0fef31a
No longer pass "--enable-threads" to battery-included sub-packages, since it's the default, even when Tcl is built without threads, now. This opens the way (in the future) to remove this option from the sub-packages
2018-05-30 07:15:13 +00:00
jan.nijtmans
ba6f0054c4
merge 8.7
2018-05-29 07:42:40 +00:00
jan.nijtmans
bb503004b6
merge 8.6
2018-05-29 07:23:51 +00:00
jan.nijtmans
267cdaec03
One TCL_NORETURN -> TCL_NORETURN1 minor mistake. Make it build when Tcl_SetPanicProc is a macro (normally it isn't)
2018-05-29 07:23:05 +00:00
sebres
a2ce3dab9b
merge 8.5
2018-05-28 13:17:18 +00:00
sebres
6a4d06759e
win: searching for FQDN in user-name should be utf-8 safe (user-name could contain non-ascii utf-8 chars)
2018-05-28 13:13:39 +00:00
sebres
6966f0a2b1
merge 8.5 (conflicts resolved, rewritten without winapi-stubs)
2018-05-28 12:26:20 +00:00
sebres
89a84af271
merge-integrate sebres-bug-9e6b569963-8-5-branch to 8.5
2018-05-28 12:05:15 +00:00
jan.nijtmans
f2ec60553a
merge 8.7
2018-05-27 16:32:05 +00:00
jan.nijtmans
9ae8deb0b4
merge 8.7
2018-05-27 14:17:51 +00:00
jan.nijtmans
bb5d24622f
don't bother to use constraint "threaded", because that's the way we want to build anyway
2018-05-27 14:17:08 +00:00
jan.nijtmans
5e1789954d
Convert ScanElement/ConvertElement-related functions to use size_t in stead of int
2018-05-27 13:59:29 +00:00
jan.nijtmans
168a0bba16
Merge 8.7. Modify various other functions to use size_t in stead of int arguments
2018-05-27 12:49:05 +00:00
dkf
813979693c
Add sensible behaviour with export and unexport of private methods.
2018-05-27 12:04:39 +00:00
dgp
50f0f668e5
merge 8.7
2018-05-26 13:21:44 +00:00
dgp
c8da3bbfaf
close fork
2018-05-26 13:14:33 +00:00
fbonnet
35f5b82868
Fixed test process-7.3
2018-05-26 11:13:34 +00:00
fbonnet
b91a2765ae
TIP #509 : Implement reentrant mutexes on all platforms
2018-05-25 19:43:23 +00:00
sebres
5e7a1545a6
minor indentation fix (no functional changes)
2018-05-25 15:51:23 +00:00
sebres
f4651a5660
avoid dual init of stubs (possible race condition, 8.5th only)
2018-05-25 15:48:50 +00:00
sebres
a0290b85c5
optimized winapi-stubs loading (8.5th only); if user name specified without domain and equals the current user - try safest and fastest way to get current user-home path (without usage of netapi)
2018-05-25 15:04:27 +00:00
sebres
8145564d30
merge/reintegrate test-cases from bug-9e6b569963
2018-05-25 10:04:01 +00:00
jan.nijtmans
020fea0acd
merge trunk
2018-05-25 06:55:17 +00:00
jan.nijtmans
51ac01d942
merge 8.6
2018-05-25 06:53:47 +00:00
jan.nijtmans
66ef201ad7
merge 8.6
2018-05-25 06:51:55 +00:00
fvogel
6d943ef7b5
Remove test filesystem-1.30.3, this is unstestable
2018-05-24 20:51:45 +00:00
sebres
1c13d543f4
[9e6b569963] win: if user specified without domain (and local user was not found), try to resolve user-home using current domain, so following code's are similar:
...
file normalize ~$::tcl_platform(user)@$::env(USERDOMAIN)
file normalize ~$::tcl_platform(user)
2018-05-24 20:49:12 +00:00
sebres
263de53394
merge 8.5, conflicts resolved (rewritten without winapi-stubs)
2018-05-24 20:36:32 +00:00
sebres
a410c0d8d5
fixed typo in winFCmd-12.6.2: unneeded extra-bracket removed
2018-05-24 20:20:26 +00:00
sebres
ecec1703aa
win: TclpGetUserHome should return normalized path (also in case we find domain and NetUserGetInfo returns path), PoC:
...
file normalize ~$::tcl_platform(user)@$::env(USERDOMAIN)
2018-05-24 20:12:43 +00:00
fbonnet
fae1c11488
Create new branch named "tip-509"
2018-05-24 16:26:16 +00:00
dgp
1ab67324ca
merge 8.7
2018-05-24 13:27:12 +00:00
fvogel
36a1a69178
Add support for ~domain\user style user names, with new test test filesystem-1.30.3. Warning: does not yet work.
2018-05-23 21:08:01 +00:00
jan.nijtmans
ca0f6f2273
merge trunk
2018-05-23 20:09:24 +00:00
jan.nijtmans
a9e7c22c38
merge 8.7
2018-05-23 19:31:59 +00:00
jan.nijtmans
edb38932e8
Unbreak build with other CFLAGS, such as TCL_MEM_DEBUG=1 or TCL_THREADS=0 on Linux
2018-05-23 19:31:15 +00:00
dgp
94314d3409
merge 8.7
2018-05-23 13:43:57 +00:00
dgp
46aab3eb09
unbreak the build
2018-05-23 13:34:53 +00:00
jan.nijtmans
ae73bae096
merge 8.7
2018-05-22 20:57:12 +00:00
jan.nijtmans
ce025f259b
Simplify usage of TCL_THREAD, along the lines of [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]. Suggested by DKF
2018-05-22 20:53:24 +00:00
jan.nijtmans
f6af18a947
More removals of TCL_THREADS usage (configure scripts/win makefiles)
2018-05-22 20:12:03 +00:00
jan.nijtmans
b729965a3c
Fix build with TCL_THREADS=0 on Linux/other without epoll or kqueu support. In that case, fallback to select notifier
2018-05-22 20:10:21 +00:00
dkf
0cab7d260b
More docs
2018-05-22 08:26:55 +00:00
jan.nijtmans
7bc7f4397f
merge 8.7
2018-05-21 08:13:47 +00:00
jan.nijtmans
708eadd19e
Demonstrate how Tcl can build without TCL_THREADS defined at all (assuming TCL_THREADS=1 as default). Activated by -DTCL_NO_DEPRECATED=1. See also [eeddb0693a950be980a66de3811630a00c7bab54|eeddb0693a]
2018-05-21 08:12:51 +00:00
dkf
7bbadfe0e0
merge core-8-branch
2018-05-20 15:09:43 +00:00
dkf
4523d8df2c
Disable many warnings that are pointless in the stub library. Yes, it accesses deprecated fields, we know because we deprecated them.
2018-05-19 11:26:13 +00:00
dkf
791f1c2741
Minor updates to C API to handle private methods.
2018-05-19 11:18:51 +00:00
dkf
d431841a06
Corrections for a number of small things to align with TIP
2018-05-19 08:38:42 +00:00
fvogel
dffe6bc7f1
Add test filesystem-1.30.2 {normalisation of nonexistent user specified as user@domain}
2018-05-19 07:10:43 +00:00
fvogel
423f761169
Fix [9e6b569963]: file normalize ~user fails on Windows
2018-05-18 19:54:56 +00:00
fvogel
ba42e43e97
Add test filesystem-1.30.1 checking file normalize ~$::tcl_platform(user). This test should currently fail when the computer is connected to a Windows domain controller, due to [9e6b569963]: file normalize ~user fails on Windows
2018-05-18 06:18:56 +00:00
jan.nijtmans
37c4a581ad
Merge 8.7, but keep TCL_THREADS undefined in tcl.h (since that's no longer necessary)
2018-05-17 19:05:37 +00:00
jan.nijtmans
4f1ea4779b
TIP #491 implementation: Threading Support: phasing out non-threaded builds
2018-05-17 18:53:29 +00:00
dkf
e6fdfbe93b
Make [info object methods] and [info class methods] work right.
2018-05-15 13:04:10 +00:00
dkf
bd706be303
Make sure that [self call] reports useful info.
2018-05-14 20:55:40 +00:00
jan.nijtmans
cfd3e75337
merge 8.7
2018-05-14 19:20:15 +00:00
jan.nijtmans
4e12ee1bc4
merge 8.6
2018-05-14 19:16:53 +00:00
jan.nijtmans
7672af7212
merge 8.5
2018-05-14 19:16:24 +00:00
jan.nijtmans
eae621b175
Unbreak build when HAVE_FTS is not set.
...
Move definitions of Tcl_DirEntry and TclDIR to tclWinPort.h, where it actually belongs
2018-05-14 19:14:40 +00:00
fbonnet
c2fceada6c
Initial implementation of TIP #508 : [array default]
2018-05-13 22:15:36 +00:00
fbonnet
6ba27f887c
Create new branch named "tip-508"
2018-05-13 21:56:54 +00:00
dkf
5eef06ea24
Correct results from unknown method handler.
2018-05-13 19:20:52 +00:00
dkf
9333525d11
Make [info vars] aware of private variable resolution.
2018-05-13 16:10:44 +00:00
jan.nijtmans
33610dd48f
merge 8.7
2018-05-13 13:55:11 +00:00
jan.nijtmans
1f7ca2ff69
de-duplicate code in win32 panic implementation. Also eliminate gcc compiler warning.
2018-05-13 13:54:46 +00:00
dkf
911c1c6237
Merge core-8-branch
2018-05-13 10:08:32 +00:00
dkf
49a9e59311
General code style cleanup.
2018-05-13 07:17:00 +00:00
dgp
242d4d7095
Missing test file boilerplate.
2018-05-11 17:26:13 +00:00
dgp
c744824995
merge 8.7
2018-05-11 11:51:18 +00:00
jan.nijtmans
c3b1e9053b
Merge 8.7
2018-05-11 10:06:22 +00:00
jan.nijtmans
9cb3b15616
TIP #425 implementation: Correct use of UTF-8 in Panic Callback (Windows only)
2018-05-11 09:42:08 +00:00
jan.nijtmans
6d0cc0c589
Merge 8.5. This adds Emoji 11.0 support, when Tcl is compiled with TCL_UTF_MAX>3. Useful for Androwish, for example.
2018-05-11 09:20:59 +00:00
jan.nijtmans
cfb0d67424
merge 8.7
2018-05-11 09:15:24 +00:00
jan.nijtmans
d9bc6cbae2
Add emoji 11.0 to the set. Only active when compiled with TCL_UTF_MAX>3. Also prepare tooling for Unicode 11.0 (while being on it)
2018-05-11 09:14:42 +00:00
jan.nijtmans
388266030b
merge 8.6
2018-05-11 08:12:04 +00:00
jan.nijtmans
ede72e80ac
merge 8.5
2018-05-11 08:10:17 +00:00
jan.nijtmans
7bf3f83abd
Rename Tcl_Dir to TclDIR, making it clear that this macro is not part of the public API
2018-05-11 07:53:20 +00:00
fbonnet
d3fd405e6b
Added tcl::process test suite
2018-05-10 17:37:10 +00:00
fbonnet
eed54b6281
Fixed makefile.vc: install will create missing dir "tcl8/8.7" for msgcat
2018-05-10 13:47:37 +00:00
fbonnet
6dbdfc31d2
Added man page for tcl::process
2018-05-10 13:44:43 +00:00
dgp
b25aceb078
merge 8.7
2018-05-09 16:01:14 +00:00
dgp
35d6c2453e
merge 8.6
2018-05-09 15:49:27 +00:00
sebres
f7f4cbb151
merge 8.5
2018-05-09 10:34:44 +00:00
sebres
f5e8751307
amend to [85bcf84100]: replaces DIR with Tcl_Dir (DIR/DIR64 regarding HAVE_STRUCT_DIRENT64)
2018-05-09 10:29:33 +00:00
pooryorick
7855612da6
Fix epoll notifier memory leak in initialization/finalization routines,
2018-05-08 20:03:14 +00:00
dgp
56af8c1770
merge 8.7
2018-05-08 15:22:49 +00:00
dgp
7f26fedbcc
merge 8.6
2018-05-08 15:00:40 +00:00
sebres
47e9dbdc37
prevents UB/segfault by unexpected return-code (not -1/0/1) and avoid warnings like:
...
tclCmdMZ.c:2815:15: warning: `s1` may be used uninitialized in this function [-Wmaybe-uninitialized]
s1len = Tcl_NumUtfChars(s1, s1len);
^~~~~~~~~~~~~~~~~~~~~~~~~~
2018-05-08 10:16:26 +00:00
sebres
8fd1568405
merge fix for [92564326a98b5510] from 8.5
2018-05-08 09:56:35 +00:00
sebres
78ee8c697e
fixes [92564326a98b5510]: wrong x64-aligned handle from readdir64 by opendir/rewinddir/closedir, if HAVE_STRUCT_DIRENT64 used.
2018-05-08 09:49:16 +00:00
dkf
08f43a1ff4
More efficient way of getting array element names; why search when direct lookup is possible?
2018-05-07 15:42:08 +00:00
pooryorick
1f71d7079b
merge core-8-6-branch
2018-05-07 14:33:15 +00:00
dkf
5cef8b0f8e
Make the 'varname' method know about private variables.
2018-05-07 12:43:40 +00:00
pooryorick
5f0cf291f5
Deduplicate code in INST_STR_CMP, StringCmpCmd, and StringEqualCmd.
2018-05-07 07:43:00 +00:00
jan.nijtmans
97b08c9a24
merge 8.7
2018-05-07 07:42:03 +00:00
jan.nijtmans
5500074eff
Remove some tip389 restrictions in test-cases, which are no longer necessary.
...
Eliminate gcc compiler warnings when compiling with -DTCL_UTF_MAX=6
Other code clean-up and comment improvements. No change in functionality.
2018-05-07 07:40:58 +00:00
pooryorick
db133f0144
Factor options handling out of StringCmpCmd.
2018-05-06 18:13:54 +00:00
dkf
66525c95ee
Documentation.
2018-05-06 14:20:29 +00:00
pooryorick
86c6a11cdb
Preparation to deduplicate code between byte-compiled and legacy
...
implementations of [string compare].
2018-05-06 13:45:21 +00:00
dkf
13bdb0305c
Corrections to test names.
2018-05-06 07:17:27 +00:00
dkf
2a19591dc7
Fix up instance privates.
2018-05-06 07:13:30 +00:00
dkf
411bfad9f4
merge 8.7
2018-05-05 17:30:52 +00:00
dkf
f58e9ed842
Private methods seem to be working...
2018-05-05 17:23:17 +00:00
pooryorick
e383cd7b26
Avoid generating string representation when comparing the empty string.
2018-05-05 17:04:08 +00:00
pooryorick
3a3fd2954f
Avoid generating string representation when comparing the empty string.
2018-05-05 16:38:27 +00:00
José Ignacio Marín
b97b608974
Update TZ info to tzdata2018e.
2018-05-04 19:07:22 +00:00
José Ignacio Marín
215b091d17
Update TZ info to tzdata2018e.
2018-05-04 19:06:55 +00:00
José Ignacio Marín
096a011c43
Update TZ info to tzdata2018e.
2018-05-04 19:06:09 +00:00
oehhar
7a91dd767e
Syntax error in msgcat documentation fixed. Ticket [af69c6966d]
2018-05-03 16:24:05 +00:00
dgp
ce396e8f68
close fork
2018-05-02 13:53:48 +00:00
oehhar
ccf2e7a979
Syntax error in msgcat documentation fixed. Ticket [af69c6966d]
2018-05-02 12:22:44 +00:00
jan.nijtmans
48a249a15e
merge 8.7
2018-05-01 18:43:55 +00:00
jan.nijtmans
c326a21131
merge 8.6
2018-05-01 18:42:05 +00:00
jan.nijtmans
51208ca53e
Implement special "string totitle" for Extended Georgian characters (new behavior in Unicode 11)
2018-05-01 18:41:27 +00:00
dgp
71938f034c
merge 8.5
2018-04-30 12:14:25 +00:00
dgp
0fc27b893e
Contain platform-specific things in the constraint-controlled parts of the test.
2018-04-30 12:11:14 +00:00
sebres
debcb2bf01
amend after merge 8.5
2018-04-30 11:52:12 +00:00
sebres
6ef77228ca
merge core-8-5-branch (fix-1613456fff)
2018-04-30 11:36:31 +00:00
sebres
ddfce0ed3f
merge fix-1613456fff, closes [1613456fffffffff] and [27b682284974d0cd]
2018-04-30 11:10:14 +00:00
jan.nijtmans
678622482a
Merge 8.7 (= upgrade to Unicode 11 beta)
2018-04-29 21:15:10 +00:00
jan.nijtmans
bfc5a0090f
Upgrade everything to Unicode 11 (still in beta, expected in june 2018)
2018-04-29 21:14:21 +00:00
jan.nijtmans
c23982e3c2
Now really fix [9f3c253df5eec5669673d05fe3a51e4afcf99418|9f3c253df5] : Tcl build broken on Win. (tested on Visual Studio 2017)
2018-04-29 20:02:48 +00:00
dgp
5238a999d5
merge 8.7
2018-04-27 13:21:27 +00:00
hypnotoad
ab49bdfd12
Added an initialization of 0 for the namelen field for new ZipFile data structures. In memory
...
debugging mode, that value will be something random, not zero on alloc.
2018-04-27 03:06:36 +00:00
jan.nijtmans
a85834a18e
Merge 8.7
2018-04-26 08:33:30 +00:00
jan.nijtmans
9e733498f1
Update test-cases, so they are selected or not for -DTCL_UTF_MAX=6. Now all relevant test-cases pass for TCL_UTF_MAX=6 builds on UNIX (but not yet on Windows)!
2018-04-26 08:32:19 +00:00
jan.nijtmans
36aca800d0
Fix MSVC build [9f3c253df5]
2018-04-25 21:57:27 +00:00
dgp
a14cef18c0
merge 8.7
2018-04-25 11:49:20 +00:00
dgp
859bcc9f86
merge 8.6
2018-04-25 11:48:43 +00:00
dgp
c876decde3
Doc typo fix from Andy Goth.
2018-04-25 11:48:14 +00:00
andy
b104b5ce6e
Merge fork
2018-04-24 23:00:56 +00:00
dgp
a794e440ae
Merge 8.7
2018-04-24 13:51:12 +00:00
dgp
fec8aee1a1
Merge 8.6 (bug-fix and test-case for Tcl_UtfAtIndex with TCL_UTF_MAX=4)
...
((Replacement checkin for earlier attempt with botched timestamp))
2018-04-24 13:45:57 +00:00
jan.nijtmans
4519681dcd
Bug-fix in Tcl_UtfAtIndex (for TCL_UTF_MAX=4 only). With test-case (in "string totitle") demonstrating the bug.
2018-04-23 23:23:00 +00:00
jan.nijtmans
1905291fed
merge 8.7
2018-04-23 15:07:29 +00:00
jan.nijtmans
27c2e432b5
Some better surrogate handling in encodings. Not spotted before ...
2018-04-23 15:06:40 +00:00
jan.nijtmans
9acb063268
Add some state to encodings, so we can do better surrogate handling for TCL_UTF_MAX >= 4. Backported from TIP #389 .
2018-04-23 14:56:44 +00:00
dgp
09a6e8adca
merge 8.7
2018-04-23 13:53:04 +00:00
dgp
523d6ea42c
Dup test name.
2018-04-23 13:51:05 +00:00
bll
95f2469359
Rework 'array for' to pass the arrayNameObj to the NRE routines
...
rather than saving it in the ArraySearch structure (which will
not work).
Create ArrayPopulateSearch to consolidate duplicate code.
2018-04-23 12:58:41 +00:00
dgp
d513bef710
merge 8.7
2018-04-22 13:28:42 +00:00
dgp
dc6bc431e9
merge 8.6
2018-04-22 13:27:45 +00:00
dgp
8e06fd796b
[46a2410650] compiled [unset] was bypassing cleanup of active array search.
...
Overdue thanks to Andy Goth for tests and report.
2018-04-22 13:22:20 +00:00
kjnash
227db01958
Restore production test settings: set tests/httpPipeline.test to non-verbose, and comment out most Log calls in library/http/http.tcl
2018-04-21 14:22:35 +00:00
kjnash
41954059c4
merge 8.6
2018-04-21 13:47:09 +00:00
kjnash
b169c964e6
Amend httpPipeline.test tests to use stdout not stderr, and thus avoid the report {Test files exiting with errors} even when all tests pass.
2018-04-21 13:31:16 +00:00
dgp
ae76fbd559
DeleteArray has only one caller. It is called on the "dummy" variable
...
that is created during unset, and which cannot be reached by resolving
any name. It cannot have VAR_SEARCH_ACTIVE set because the sole thing that
sets that flag is an [array startsearch] applied to a named variable.
2018-04-20 20:17:17 +00:00
kjnash
3771e638b0
Document the new proc http::registerError in http.n
2018-04-20 20:06:30 +00:00
dgp
751fe9de93
merge 8.7
2018-04-20 16:55:30 +00:00
dgp
24d501cb0d
TIP 421 Implementation.
2018-04-20 16:02:47 +00:00
jan.nijtmans
0569fc46c8
merge 8.7
2018-04-20 10:18:29 +00:00
jan.nijtmans
ca5638e01f
TIP #389 implementation.
2018-04-20 10:16:31 +00:00
jan.nijtmans
1734eed89f
Slightly improved (more fail-safe) surrogate handling for TCL_UTF_MAX>3. Backported from latest TIP 389 implementation. (to be used for androwish)
2018-04-19 22:29:00 +00:00
dgp
697d8c5398
merge 8.7
2018-04-19 02:51:50 +00:00
jan.nijtmans
f44e7c1795
Merge 8.7
...
Move stuff from SC_ENABLE_THREADS to SC_TCL_LINK_LIBS in tcl.m4, so SC_ENABLE_THREADS is no longer needed in configure.ac
2018-04-17 22:48:00 +00:00
jan.nijtmans
28ac086633
Slightly better unmatched-surrogates handling. Unmatched High surrogates will still be silently removed, but Unmatched Low surrogates will pass through as-is now. Inspired by Kevin Kenny's remarks. Thanks!
2018-04-17 21:49:00 +00:00
dgp
bdc679352c
merge 8.7
2018-04-17 14:39:42 +00:00
jan.nijtmans
b013797f96
Merge trunk. Update (internal) Trim* functions to use size_t
2018-04-16 23:01:00 +00:00
dgp
04604552b2
ran autoconf on the unix directory. This breaks the build.
2018-04-16 14:51:19 +00:00
dgp
b5d6b4f138
merge 8.7
2018-04-16 14:46:58 +00:00
dgp
e42804a0c2
merge 8.7
2018-04-16 13:41:14 +00:00
jan.nijtmans
368acc3d50
Fix [9f3c253df5eec5669673d05fe3a51e4afcf99418|9f3c253df5]: Tcl build broken on Win. Re-introduce TCL_NORETURN1, apparently still needed on MSVC.
2018-04-15 23:06:00 +00:00
jan.nijtmans
5bef70bd07
Merge trunk
2018-04-15 22:01:00 +00:00
dkf
ad02c0b532
Added basic tests of the 'private' definition command.
2018-04-15 15:11:38 +00:00
dkf
28e500cbf9
Testing the private variables.
2018-04-15 14:47:26 +00:00
dkf
637c7dbc7e
Added tests for [info object creationid]
2018-04-15 10:29:48 +00:00
kjnash
4588d7300e
Restore Tcl 8+4 tab convention
2018-04-13 15:48:13 +00:00
kjnash
d690b84738
Improve detection and reporting of TLS errors. New command http::registerError to assist the latter. Ensure that http::cleanup cancels any timeout event if not already done. Add comments on non-blocking read/gets.
2018-04-13 15:41:00 +00:00
dkf
49879791f4
Duplicate the private variable config when cloning objects.
2018-04-13 07:23:37 +00:00
dkf
8262e514d0
Added introspectors mentioned in TIP.
2018-04-12 23:54:58 +00:00
andy
4f69e81ae0
Fix documentation typo
2018-04-12 01:58:52 +00:00
dgp
994ba283c9
merge 8.7
2018-04-11 16:17:44 +00:00
sebres
9856afd590
win: some test-cases missing constraint for testexcept (if compiled without test)
2018-04-11 11:28:41 +00:00
sebres
a9ef86f152
win: fix several test-cases for windows platform
2018-04-09 19:50:12 +00:00
sebres
24a04c0819
amend to [5acb57c7aec45e05]: set code to TCL_ERROR, because primitives from tclIOUtil return -1
2018-04-09 10:04:23 +00:00
sebres
9077b8ce60
[27b682284974d0cd] command "file delete": avoid possible race condition if file/directory deleted after call of lstat, so bypass ENOENT error code.
...
Thanks to Rainer Müller (aka raimue)
2018-04-06 17:28:56 +00:00
dgp
50698aacbf
merge 8.7
2018-04-05 17:59:28 +00:00
dgp
b86f569b11
merge 8.7
2018-04-05 15:38:14 +00:00
dgp
754c5a5fe1
merge 8.7
2018-04-05 13:36:34 +00:00
dkf
5a8d06b076
Start of private method dispatch machinery.
2018-04-05 07:26:27 +00:00
kjnash
6bc8c27b7f
Restore most lines to 80 columns
2018-04-04 13:37:37 +00:00
kjnash
6a58a0cab2
Use coroutines to remove blocking on HTTP connections
2018-04-04 12:00:03 +00:00
kjnash
1357172367
Increase test timeout to 10s. Remove commenting from Log calls that report long delay for [socket].
2018-04-01 01:09:57 +00:00
kjnash
466fd1d930
Chasing timeout bug: reduce client timeout to 4s in tests; more sanity checking in non-keep-alive tests; tidying; more logging in http.tcl.
2018-03-31 15:27:52 +00:00
dgp
d525fa6f68
merge 8.7
2018-03-30 21:10:04 +00:00
dgp
4cc60d34fb
merge 8.7
2018-03-30 20:08:10 +00:00
dgp
008f1c98d0
merge 8.7
2018-03-30 19:53:14 +00:00
dgp
42a2b87f32
merge 8.7
2018-03-30 19:42:35 +00:00
kjnash
441e4f6796
For thorough testing, set test file to verbose, and uncomment Log calls in http.tcl.
2018-03-30 10:13:57 +00:00
kjnash
3117af219f
Bugfixes. Details in ticket 46b6edad51.
2018-03-30 10:02:44 +00:00
kjnash
a0e1b18138
Adapt tests/httpPipeline.test for test without installation. Comment out some Log calls from tests/httpTestScript.tcl
2018-03-29 18:20:56 +00:00
kjnash
70af5c2b82
Implement queuing and pipelining for HTTP requests over a persistent connection.
2018-03-27 14:20:23 +00:00
kjnash
d38ae8f974
Adapt fconfigure -translation for two-way pipelined operation.
2018-03-27 08:56:16 +00:00
kjnash
0d887fa465
Define variable tk used in Log calls for testing.
2018-03-27 08:55:21 +00:00
kjnash
e9bb0992b0
First step for implementing concurrent requests using the same connection. Define namespace variables socket* and http where they will (eventually) be used. Leave them unused except in http::init where they are initialised.
2018-03-27 08:52:40 +00:00
kjnash
f35c0dc2ed
Revise tests/http11.test for use with commits from 78b23edb6b onwards. Adjust proc "handler" to conform to http(n)
2018-03-27 08:49:13 +00:00
kjnash
e80e214673
BUGFIX. Send "Connection: keep-alive" even if HTTP/1.1. Some servers (including Apache 2.2 on RHEL6) use the discretion granted by RFCs and will close the connection unless this header is sent.
2018-03-27 08:37:06 +00:00
kjnash
731f40c6d9
New http::config option -zip to control whether to send an "Accept-Encoding" request-header for a zipped response. Default true for backward compatibility.
2018-03-27 08:32:37 +00:00
kjnash
767cf6314a
Workaround for bug with https and unchunked response. A [read] does not deliver until the server closes the socket. The workaround is to specify the buffer size as the precise length required.
2018-03-27 08:29:43 +00:00
kjnash
b00317d174
Changes to response handling in Finish, Eot and Event. Carefully distinguish expected and premature eof. Stricter handling of errors, minor bugfixes. Details in ticket 46b6edad51.
2018-03-27 08:25:14 +00:00
kjnash
a8408767a4
Add "array unset socketMapping" in http::init. The sockets are closed and therefore do not belong in socketMapping, which should be unset.
2018-03-27 08:20:14 +00:00
kjnash
4f8b177250
Tidying - add empty else clauses, omit :: at start of command name http::CloseSocket in proc definition, use two lines instead of "return [Finish ...]" because there is no return value!
2018-03-27 08:17:38 +00:00
kjnash
25aad1ab18
Update some Log calls, mainly to specify token.
2018-03-27 08:15:26 +00:00
kjnash
3b48db4a90
Update some comments and a Log.
2018-03-27 08:12:47 +00:00
kjnash
58eff8f224
Rename some variables and commands. Details in ticket 46b6edad51.
2018-03-27 08:10:50 +00:00
kjnash
97721e9675
Add parentheses to some "if" tests; transform one test without changing its outcome.
2018-03-27 08:08:19 +00:00
kjnash
d88d33f74d
Give all procs an explicit return, except where commented as "Implicit Return".
2018-03-27 08:07:05 +00:00
kjnash
0a9706f48f
Adjust to 80 columns except one 82-column line which would be less intelligible.
2018-03-27 08:05:42 +00:00
kjnash
45f91441a5
Adjust whitespace to Tcl 8+4 tab convention.
2018-03-27 08:03:58 +00:00
kjnash
38781266d3
Create new branch named "bug-46b6edad51-concurrent-http"
2018-03-27 07:48:33 +00:00
dgp
843d29b448
Rest of TIP 505 implementation -- mostly undoing dumb things.
2018-03-26 18:59:00 +00:00
dgp
1a73baff09
Work in progress implementing TIP 505.
2018-03-26 16:27:40 +00:00
jan.nijtmans
e1e6b685fd
merge 8.7
2018-03-25 19:21:11 +00:00
jan.nijtmans
cc19135f2e
merge 8.7
2018-03-25 17:43:52 +00:00
José Ignacio Marín
2cf7904bd2
Update TZ info to tzdata2018d.
2018-03-24 10:22:06 +00:00
sebres
da169b1600
minor fix on comment (restored getFileSecurityProc back, because getNamedSecurityInfoProc not used)
2018-03-22 17:45:32 +00:00
sebres
570af63547
win: fixes check of file permissions (readable, writable, executable) - more faster and stable solution without direct check of security permissions by optimal terms;
...
additionally corrected executable extensions (missing .ps1/.cmd) in useWide case.
2018-03-22 16:22:04 +00:00
dgp
84fe9556f1
merge 8.7
2018-03-20 19:58:27 +00:00
dkf
383c53f80e
This should be the implementation of private variables.
2018-03-18 18:04:50 +00:00
jan.nijtmans
ba9cf35aa3
In case of redirecting stderr to a file on Windows, append CRLF after Panic output.
2018-03-15 23:01:00 +00:00
jan.nijtmans
db41a49d9c
merge 8.7
2018-03-15 21:53:00 +00:00
jan.nijtmans
cbbab84b71
Merge 8.7 (convert makefile.vc to CRLF line-endings only)
2018-03-15 21:13:00 +00:00
jan.nijtmans
c20405e576
Merge-mark (here makefile.vc still had the correct CRLF line-endings)
2018-03-15 21:02:00 +00:00
dgp
55a65632d0
Merge 8.7; Updated the package manifest by hand; was broken until then.
...
If there's a maintenance knob to turn, that needs to be better known.
2018-03-15 19:09:42 +00:00
dgp
c120622483
merge 8.7
2018-03-15 14:37:55 +00:00
dgp
47152d94c1
merge 8.7
2018-03-15 14:06:52 +00:00
dgp
795355ee43
merge 8.7
2018-03-15 11:11:33 +00:00
dgp
2977f2ab44
merge 8.7
2018-03-15 00:01:37 +00:00
dgp
8ecdd7277d
merege 8.7
2018-03-14 18:09:20 +00:00
dgp
93e9d2457c
merge 8.7
2018-03-14 17:21:29 +00:00
dgp
3f7e1dc18f
merge 8.7
2018-03-14 16:17:48 +00:00
dgp
6111cf68fe
merge 8.7
2018-03-14 05:51:18 +00:00
dgp
f8081ac245
merge 8.7
2018-03-13 17:30:00 +00:00
dgp
a14ab9eecb
merge 8.7
2018-03-12 16:00:11 +00:00
dgp
ccb7c3b60b
merge 8.7
2018-03-12 14:49:44 +00:00
dgp
f52d25e68a
merge 8.7
2018-03-11 23:08:20 +00:00
dgp
c5ae3a0a2d
merge 8.7
2018-03-11 21:42:22 +00:00
dgp
c7e8d507d9
merge 8.7
2018-03-11 12:33:16 +00:00
jan.nijtmans
cb242c0d50
Merge 8.7
2018-03-07 21:41:00 +00:00
dgp
6de6ee8aa9
merge 8.7
2018-03-07 15:13:07 +00:00
dgp
24c4a4cc6e
Remove all the code supporting legacy opcodes.
...
Restructure to pave the way for re-ordering the opcode table, if we can
agree that some other order is better.
2018-03-06 13:37:22 +00:00
dgp
683e97521e
merge 8.7
2018-03-06 13:21:10 +00:00
dgp
e5f3c1495b
Compiler warning in a --enable-symbols=compile build
2018-03-06 12:10:45 +00:00
dgp
057d325d35
Remove disabled code and reformat.
2018-03-06 12:02:11 +00:00
dgp
54654ae7e4
Convert macros to enums - constrained by need for matching table.
2018-03-06 05:27:21 +00:00
dgp
a6dd04e6da
experiment
2018-03-06 04:08:54 +00:00
dgp
14a3439dd8
Remove all code supporting legacy instructions.
2018-03-05 22:16:03 +00:00
dgp
695856b85c
unbreak
2018-03-05 20:58:32 +00:00
dgp
d07756fc70
WIP removing bytecode instructions that are no longer issued.
2018-03-05 20:30:38 +00:00
dgp
79c79df0e1
merge 8.7
2018-03-05 20:05:45 +00:00
dgp
2e1e641d75
merge 8.7
2018-03-05 17:16:50 +00:00
jan.nijtmans
aef69d0b0f
Merge 8.7
2018-03-01 22:37:00 +00:00
jan.nijtmans
bfb19782c9
Merge 8.7
2018-03-01 21:06:20 +00:00
jan.nijtmans
2461121868
Merge trunk
2018-02-27 21:55:00 +00:00
jan.nijtmans
b31a3b3d70
Merge 8.7
2018-02-27 21:12:00 +00:00
dkf
5b5bd699ff
Starting to build the implementation of the private methods and variables. Definition support.
2018-02-25 12:04:55 +00:00
dgp
fa036d2b99
merge 8.7
2018-02-23 18:10:09 +00:00
jan.nijtmans
0744802578
merge trunk
2018-02-22 21:17:14 +00:00
jan.nijtmans
f5bf130f05
merge core-8-branch
2018-02-22 20:09:33 +00:00
jan.nijtmans
701d9dbe89
Use internalRep.wideValue as internal representation for booleans. This simplifies the handling of "int" resp "boolean", sharing its internal representation.
2018-02-15 19:54:00 +00:00
dgp
64ef84994a
merge 8.7
2018-02-15 18:30:34 +00:00
jan.nijtmans
494a47ee6e
Merge core-8-branch
2018-02-14 22:42:00 +00:00
jan.nijtmans
f9a0feeb4b
fix test-cases, account for differences between Tcl 8.7 and 9.0
2018-02-14 20:59:37 +00:00
jan.nijtmans
fcfee868a9
merge core-8-branch
2018-02-14 20:43:51 +00:00
dgp
e4364f45cc
merge 8.7
2018-02-14 14:50:24 +00:00
dgp
967136cc0f
merge 8.7
2018-02-09 18:52:04 +00:00
jan.nijtmans
5335ab79e5
remove unused stub entries (now that those are macros)
...
Moved checkin off trunk onto dev branch jn-unused-stubs
because it causes many test suite segfaults, apparently
releated to Tcl_Channels.
Moved back onto trunk. segfaults came from a prior install
of the Thread package that became imcompatible with this
change in the stubs table. Will followup on TCLCORE.
2018-02-06 22:43:00 +00:00
jan.nijtmans
cb2f9cccfb
Some more complient API changes
2018-02-06 21:20:00 +00:00
jan.nijtmans
346aa04836
merge trunk
2018-02-06 21:08:35 +00:00
jan.nijtmans
6ce7eb980b
merge core-8-branch
2018-02-06 20:54:35 +00:00
José Ignacio Marín
6bd80d67e4
Update TZ info to tzdata2018c.
2018-02-02 09:21:35 +00:00
apnadkarni
e905a75c0f
Fix INCLUDE_INSTALL_DIR def when building against Tcl source. Bump rules.vc to 1.2
2018-02-02 06:18:24 +00:00
jan.nijtmans
66b69b8d36
Change Tcl_Token definition (int -> size_t). Many related code-changes.
2018-01-31 12:18:58 +00:00
jan.nijtmans
8a2f752e51
merge trunk
2018-01-29 15:05:34 +00:00
jan.nijtmans
ee2574ddce
merge core-8-branch
2018-01-29 15:04:33 +00:00
jan.nijtmans
cc74cb8525
merge trunk
2018-01-29 11:36:22 +00:00
jan.nijtmans
d98ee54c8d
merge core-8-branch.
...
Also add range checks to Tcl_GetUniChar() and Tcl_Range(), as suggested by Don Porter.
2018-01-26 16:20:29 +00:00
jan.nijtmans
e543dbc09c
merge core-8-branch
2018-01-26 10:26:06 +00:00
jan.nijtmans
32aa419154
merge core-8-branch
2018-01-24 10:01:29 +00:00
jan.nijtmans
6904b0f77f
merge core-8-branch
2018-01-23 15:51:00 +00:00
jan.nijtmans
010f610a80
Don't register oldBooleanType any more. And rename "booleanString" to "boolean" in tclBooleanType.
2018-01-23 15:02:28 +00:00
dgp
102d58a165
merge mark
2018-01-22 13:43:05 +00:00
jan.nijtmans
3c6933efc0
merge core-8-branch. Declare CONST86 as deprecated in Tcl 9.0
2018-01-20 16:08:21 +00:00
jan.nijtmans
69868ee129
merge core-8-branch. Now tested as well with new nmake system.
2018-01-20 14:36:36 +00:00
hypnotoad
e16df96d28
Fixed a problem where a Windows hack was occuring after it was called in the
...
tclZipfs.c file, preventing it from compiling properly.
2018-01-19 20:27:15 +00:00
jan.nijtmans
a43cab006e
No longer use (the undocumented) CONST86 anywhere, just keep the define in tcl.h.
2018-01-19 16:08:02 +00:00
jan.nijtmans
93fa41f6c7
Now really remove Tcl_EvalTokens/Tcl_Backslash as promised in the TIP.
...
And remove library/tzdata/SystemV/* which contains non-standard timezones. See: [d3c5f2eb2ff63f10] They were originally gone since the tzdata2014f update, but it's unwise to do that in a patch release.
Some documentation updates.
2018-01-19 15:17:45 +00:00
dgp
bed15f1d81
merge 8.7
2018-01-18 14:05:07 +00:00
stu
eb5da6ae82
OpenBSD now has AI_ADDRCONFIG.
2018-01-17 19:01:03 +00:00
jan.nijtmans
4786f9814b
clean-up some more remainings of the Itcl hack. Taken over from "novem".
2018-01-17 16:01:42 +00:00
hypnotoad
608373fcb1
Modifications to allow the mounting of zip file systems from data blocks
...
Added a new stubs entry to mount a data block as a zip file system
2018-01-17 15:56:32 +00:00
jan.nijtmans
d695e02d2f
Remove obsolete documentation (belonging to now-removed functions). Remove obsolete 8.4 bytecodes. And a few other (internal) macro's which are no longer in use.
2018-01-17 14:17:21 +00:00
jan.nijtmans
1c58e29da2
Remove Tcl_CaseObjCmd from tclInt.h as well (was missing in previous commit)
2018-01-17 12:56:22 +00:00
jan.nijtmans
ed6aa022a6
TIP #485 implementation, Tcl 9.0 part: Realy remove code which was declared deprecated in 8.7
2018-01-17 12:45:01 +00:00
hypnotoad
a866c42f19
Modifications to index zip file systems by mountpoint, and separate the process
...
of mounting a zip archive from the process of indexing its contents. This work
is progress towards being able to pass a data block to the zipfs system
as a new file system to be mounted.
2018-01-17 01:09:07 +00:00
hypnotoad
3502aebe10
Tweaks to the tclZipfs.c file to allow the same C source to be used both
...
in the core and as a static package for external shells (Via TEA)
2018-01-16 23:25:50 +00:00
jan.nijtmans
0019582fd2
merge core-8-branch
2018-01-12 11:18:48 +00:00
jan.nijtmans
c8219a9a29
Fix [11ae2be95d]: tip-389 branch: string range errors with code points greater than U+FFFF
2018-01-12 10:03:58 +00:00
hypnotoad
9947048fbd
Tweaks to zipfs.test
2018-01-11 16:45:52 +00:00
jan.nijtmans
27e7f096b2
merge core-8-branch. Remove left-over debugging code. Test-case string-5.21 still fails.
2018-01-11 15:59:17 +00:00
jan.nijtmans
eb3422673f
Add test-cases for bug [11ae2be95dac9417], and make a start fixing it. Almost works.
2018-01-11 14:11:38 +00:00
jan.nijtmans
d34c6b6526
merge core-8-branch
2018-01-10 14:33:54 +00:00
jan.nijtmans
2a8fce94bd
merge core-8-branch
2018-01-10 14:03:26 +00:00
jan.nijtmans
04d3db5592
Don't use TclUtfToUniChar here: it doesn't give any advantage over Tcl_UtfToUniChar
2018-01-10 09:32:51 +00:00
jan.nijtmans
3889f63614
merge core-8-branch
2018-01-10 08:27:03 +00:00
hypnotoad
37b48e808c
Fix tests dependent on other tests in zipfs.test
...
Add a workaround for the fact that dynamic libraries called out from a non-install
location can't be located and mounted in time to be a candidate for tcl_library
when running under the constraints of "make test"
2018-01-09 18:10:06 +00:00
hypnotoad
3fc7771456
Pulling changes from core-8-branch
2018-01-09 16:28:11 +00:00
pooryorick
b40ed15606
Rearrange a few lines TclRenameCommand to reduce operations.
2018-01-08 17:36:00 +00:00
dgp
904582dd30
merge 8.7
2018-01-04 02:40:00 +00:00
dgp
7aa147800f
Minimal fixes to stop the [package files] machinery writing to freed mem.
...
This contribution needs a careful review from someone who actually knows
how Tcl_Preserve, etc. work.
2018-01-04 02:23:37 +00:00
hypnotoad
b533731c50
Modifications to clean up warnings on compile
2017-12-29 21:41:00 +00:00
hypnotoad
983b089edb
Removing the standalone pkgIndex.tcl. There is enough stuff that needs to be
...
manually edited in the init.tcl script for new releases as it is, there is no
sense in having yet another file to edit.
Marking which distributed packages are safe to load in a safe interpreter
2017-12-29 20:40:29 +00:00
hypnotoad
47c7771af1
Pulling changes from core-8-branch
2017-12-29 15:13:23 +00:00
jan.nijtmans
1402f26fc8
New Tcl_GetIndexFromObjStruct signature using size_t
2017-12-28 23:23:22 +00:00
jan.nijtmans
69384ff89c
Fix compilation using -DUSE_TCLALLOC=1
2017-12-28 22:49:15 +00:00
jan.nijtmans
3a84b4db7e
merge trunk
2017-12-28 21:59:35 +00:00
jan.nijtmans
815ebb9a0f
merge core-8-branch
2017-12-28 21:17:22 +00:00
jan.nijtmans
d08f08a24d
merge core-8-branch
2017-12-28 21:16:13 +00:00
jan.nijtmans
7a13be75b6
merge core-8-branch
2017-12-28 20:29:10 +00:00
jan.nijtmans
7172ae9071
merge core-8-branch
2017-12-28 18:53:23 +00:00
jan.nijtmans
69be965a23
change ClientData -> void * in a lot of places (mainly header files)
2017-12-28 11:32:40 +00:00
jan.nijtmans
3408294224
Merge trunk.
...
Rename Tcl_MemAlloc and friends back to Tcl_Alloc, as this renaming turns out not to be necessary.
Make everything compile/run with TCL_MEM_DEBUG=1 (a few signatures were still not correct)
2017-12-27 21:41:31 +00:00
jan.nijtmans
e71f41cf89
merge core-8-branch.
...
Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar using only win32 API.
2017-12-27 20:24:13 +00:00
pooryorick
63224df965
TclOO: Remove unneeded name manipulation from TclOOCopyObjectCmd.
2017-12-26 12:54:00 +00:00
apnadkarni
b067895cc4
Merged core-8-branch: replace ifdef TCLDIR with compare against empty string
2017-12-26 03:33:35 +00:00
jan.nijtmans
1dd89810eb
merge core-8-branch
2017-12-23 20:22:54 +00:00
jan.nijtmans
9977b3e79c
merge core-8-branch
2017-12-23 20:18:01 +00:00
jan.nijtmans
e754f70125
merge core-8-branch
2017-12-23 18:41:29 +00:00
apnadkarni
2a5955ee50
Merge nmake rules 1.1
2017-12-23 08:05:02 +00:00
jan.nijtmans
9694587a1a
merge trunk
2017-12-22 15:52:08 +00:00
jan.nijtmans
264c508ca4
merge core-8-branch
2017-12-22 15:48:07 +00:00
jan.nijtmans
53795bd199
merge core-8-branch
2017-12-21 13:26:56 +00:00
jan.nijtmans
7fdcf0c76d
merge-mark
2017-12-21 07:51:08 +00:00
pooryorick
7835ba29c7
Further fix for issue [ba1419303b4c]: Delete a namespace for an ensemble having a
...
deletion trace deletes its namespace: segmentation fault.
2017-12-20 18:22:59 +00:00
jan.nijtmans
8bafabac98
merge trunk
2017-12-20 13:38:17 +00:00
jan.nijtmans
a15b801bfb
Remove the Tcl_FindHashEntry/Tcl_CreateHashEntry stub entries, as those are actually macro's.
2017-12-20 12:30:23 +00:00
jan.nijtmans
1b40a62611
Change hash/index/mask fields to type "unsigned int", because that's how hash values are generally stored. This eliminates the need for PTR2UINT/UINT2PTR in various places.
2017-12-20 12:02:34 +00:00
pooryorick
2bfe68441a
Fix for issue [ba1419303b4c]: Delete a namespace for an ensemble having a deletion
...
trace deletes its namespace: segmentation fault.
2017-12-20 09:19:59 +00:00
dgp
82512215ff
[586e71dce4] Exeception handling at level #0 by EvalObjv
2017-12-19 21:00:55 +00:00
jan.nijtmans
a430544f4a
merge core-8-branch. Also change some internal refCount's from int to size_t.
2017-12-19 12:23:19 +00:00
jan.nijtmans
0a2389d0ab
merge core-8-branch
2017-12-18 11:48:35 +00:00
hypnotoad
72af38dd32
Pulling changes from core-8-branch
2017-12-16 03:33:44 +00:00
hypnotoad
7f1c241ea2
Update the config.test with new keys needed for zipfs
2017-12-16 03:30:58 +00:00
hypnotoad
45a3c74a04
Removing static package declaration of zipfs.
2017-12-16 03:24:21 +00:00
hypnotoad
71cf0dba40
Re-arranging code and providing forward prototypes to allow the C infrastructure of
...
Zipfs to be activated from withing the first call to TclZipfs_Mount(). This keeps up
from having to expose TclZipfs_Init in the stubs table.
2017-12-16 03:22:04 +00:00
jan.nijtmans
4a98f5042e
merge-mark
2017-12-15 21:28:35 +00:00
jan.nijtmans
1bcaf97bfd
merge trunk
2017-12-15 19:55:16 +00:00
dgp
62545de5ce
merge mark
2017-12-15 17:04:26 +00:00
jan.nijtmans
603e23c2a9
merge core-8-branch
2017-12-15 16:08:14 +00:00
jan.nijtmans
ab6e69444f
Merge TIP #488 implementation.
...
Some clean-up in tommath implementation (remove internal stub entries which are no longer needed)
2017-12-15 15:02:42 +00:00
jan.nijtmans
3f03f8189e
Oops, couldn't build tclWinPanic.o. Fixed now.
2017-12-15 13:04:15 +00:00
jan.nijtmans
c576cbec93
merge core-8-branch. Fully functioning now, including with the new vc-reform implementation.
2017-12-15 12:55:59 +00:00
jan.nijtmans
5c4f8d88b5
fix comment
2017-12-14 14:38:30 +00:00
jan.nijtmans
9c5c1a721f
merge core-8-branch. Fully tested now, works fine.
2017-12-14 13:41:37 +00:00
hypnotoad
2756d01872
Pulling changes from core-8-branch
2017-12-13 15:52:05 +00:00
apnadkarni
8bc8d823bb
core-8-branch merge: Use nmakehlp -L to locate directories
2017-12-13 10:34:58 +00:00
apnadkarni
0ebe3d394d
Add -L option to nmakehlp to locate directories
2017-12-12 17:34:13 +00:00
apnadkarni
5501e78098
Merge from core-8-branch - install stubs and headers where present
2017-12-11 16:42:41 +00:00
jan.nijtmans
bf868c1c56
Initial implementation of TIP #491 . Not tested yet.
2017-12-11 14:19:48 +00:00
jan.nijtmans
5de1c8c6a5
merge core-8-branch
2017-12-10 14:39:00 +00:00
pooryorick
e58661a87e
Ensure that an automatically-named TclOO object has the same name as its
...
namespace.
2017-12-10 00:01:01 +00:00
jan.nijtmans
5b605792cb
merge core-8-branch.
...
Remove stub entry for TclWinGetPlatformId(), as it is no longer needed. Is a macro now.
2017-12-09 16:13:58 +00:00
apnadkarni
5724764152
TIP477 merge: reformed nmake build system
2017-12-08 16:54:18 +00:00
jan.nijtmans
ae26eec096
merge 8.7
2017-12-07 12:36:16 +00:00
dgp
2623503549
merge 8.7
2017-12-06 20:48:49 +00:00
dgp
a7bb7b19d6
merge 8.7
2017-12-06 20:03:07 +00:00
jan.nijtmans
acb6a88df5
doc fixes
2017-12-06 15:40:52 +00:00
dgp
1e64c9f8b2
Adapt the bytearray accommodation of Tcl_CharLength() for 8.7+.
2017-12-06 13:28:48 +00:00
dgp
b68bab17c0
[ce3a211dcb] Failed file normalize when tail is empty string.
2017-12-06 13:07:23 +00:00
jan.nijtmans
a49d61a64c
merge-mark "novem-bighash": just mark that the contents of this branch are already integrated in the memory-API branch.
2017-12-06 13:02:49 +00:00
jan.nijtmans
a69614b432
merge 8.7
2017-12-06 12:24:26 +00:00
dgp
b6b032fc3b
[4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands options of ensemble configuration.
2017-12-05 15:59:09 +00:00
jan.nijtmans
71c032c816
merge trunk
2017-12-01 15:03:46 +00:00
jan.nijtmans
200910b9c1
merge core-8-branch. Various cleanup: unused structure names, unused #defines. Change some "epoch"-related fields from int to size_t. Nothing functional.
2017-12-01 13:53:51 +00:00
jan.nijtmans
0bd09c4106
remove many test-cases related to tcl_precision
2017-12-01 12:24:25 +00:00
jan.nijtmans
ff91f80124
TIP 488: Remove tcl_precision
2017-12-01 11:55:28 +00:00
jan.nijtmans
9b47336cbd
merge core-8-branch
2017-12-01 11:33:27 +00:00
jan.nijtmans
e802927981
Remove stub entries for Tcl_EvalObj()/Tcl_GlobalEvalObj(). Since those functions are actually macro's translating to Tcl_EvalObjEx(), those stub entries don't serve any purpose any more.
2017-12-01 11:03:43 +00:00
dgp
9d4d161834
merge 8.7
2017-11-30 17:29:55 +00:00
jan.nijtmans
111f52def6
merge-mark
2017-11-30 15:27:45 +00:00
jan.nijtmans
9dd792a540
8.[67] -> 9.0 in a few more places
2017-11-30 14:48:03 +00:00
jan.nijtmans
20bbe0a790
merge core-8-branch
2017-11-30 14:38:32 +00:00
jan.nijtmans
94b624f11c
merge core-8-branch
2017-11-30 13:23:10 +00:00
dgp
5a9014a650
Follow header file conventions.
2017-11-29 15:19:04 +00:00
jan.nijtmans
a6a61c4ca6
merge core-8-branch
2017-11-29 12:32:38 +00:00
jan.nijtmans
7ecb945209
Merge core-8-branch. Also, use a different value for TCL_STUB_MAGIC when TCL_UTF_MAX>4.
2017-11-29 11:49:49 +00:00
jan.nijtmans
03c66864aa
Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL chars strangely
2017-11-29 09:49:31 +00:00
jan.nijtmans
3af16acbcb
Treat invalid UTF-8 characters in the range 0x80-0x9F as cp1252: See [ https://en.wikipedia.org/wiki/UTF-8 ]. To be added to TIP #389
2017-11-29 08:59:49 +00:00
jan.nijtmans
eef0b72b5e
merge core-8-branch
2017-11-29 08:41:05 +00:00
hypnotoad
9b22762d4c
Pulling changes from core-8-branch
2017-11-29 01:59:41 +00:00
hypnotoad
0951ca5344
Closing leaf
2017-11-29 01:59:12 +00:00
hypnotoad
bb48fae153
Pulling changes from the last core-8-branch that doesn't cause a segfault in kits
2017-11-28 18:06:22 +00:00
hypnotoad
ae2707f558
Pulling changes from core-8-branch
2017-11-26 18:27:33 +00:00
tne
99dc87a51d
Restoring the Makefile.in for the win/ directory after an unfortunate copy/paste error
2017-11-25 10:54:15 +00:00
hypnotoad
7154cc9c47
Tweak to ensure mount points for zipfs are corralled into the //zipfs:/ prefix space
2017-11-24 11:46:34 +00:00
hypnotoad
b3ff8cc20c
Pulling changes from Androwish
2017-11-24 11:21:55 +00:00
hypnotoad
2fcfa34fcf
Restoring whitespace to tclZipfs.c to improve legibility.
2017-11-24 10:32:10 +00:00
hypnotoad
2d811a0adf
Fixing a goof, Zipfs was looking for the Dll where the installer put the file,
...
which is not necessarily where the file will be found at runtime.
2017-11-23 11:55:03 +00:00
pspjuth
121654ecd8
merge core-8-branch
2017-11-21 22:47:44 +00:00
hypnotoad
09f849cabd
Pulling changes from core-8-branch
2017-11-21 22:34:06 +00:00
hypnotoad
d997aa477d
Added additional functions to the "install" command in tclsh
2017-11-21 18:57:31 +00:00
hypnotoad
8225859a93
Eliminated the need for a preinit script in Tip 430's AppHook.
...
tcl_findLibrary now knows to scan the dll offered up by [info loaded] to see if
an attached zipfile could possibly contain the files the extension is looking for.
2017-11-21 16:49:24 +00:00
hypnotoad
35adf8c728
Removing the pool of literal values within the internals of tclZipfs.c. Replaced with
...
a single pointer to a const string once discovery has sorted out where tcl_library
is to be loaded from.
Fixed a goof in the build system if tcl is compiled outside of the source directory
2017-11-21 14:21:48 +00:00
jan.nijtmans
4bf4b7d35c
merge trunk
2017-11-21 10:16:58 +00:00
tne
334149646f
Fixes to "make clean" to do a better job of cleaning up zip files and vfs directories
...
Fixed a type that was keeping minizip from building
2017-11-21 04:26:37 +00:00
hypnotoad
d8a921174e
Added an implementation of tinydir.h, and spliced it into minizip to allow
...
minizip to recurse directory structures (and get us out of having to feed `find`
via autoconf)
2017-11-21 04:07:45 +00:00
tne
d7b40297d2
Final tweaks to make "./tclsh install" work properly on Windows
...
NOTE: We still seem to be screwing up minizip on MinGW. the `find . -type f` substitution is not working
2017-11-21 01:14:05 +00:00
hypnotoad
9ef614086a
Typo fixes for minizip
2017-11-21 00:41:04 +00:00
hypnotoad
6b40a5dc5a
Added a new function to the Zipfs: TclZipfs_TclLibrary, which returns a previously
...
discovered /library file system from a zip archive, performs the search to see
if the current dll has one (and return that), or NULL if zipfs cannot locate
/library.
Injected a call to [zipfs tcl_library] (which invokes TclZipfs_TclLibrary) inside
if interp.c as the first command to try to locate Tcl_Library (if a preinit
script hasn't already pointed one out to us.)
2017-11-21 00:36:55 +00:00
tne
3cd8b86e50
Change to TclZipfs_AppHook to accomidate Windows
2017-11-20 23:34:21 +00:00
hypnotoad
d2fc7a6ed5
Fixing the quoting for arguments to minizip
2017-11-20 22:45:35 +00:00
hypnotoad
12a14f4954
Updating tcl.m4 in windows to fix a typo
2017-11-20 21:29:57 +00:00
tne
1f34b918b9
Removing debugging printf() statement
2017-11-20 19:35:40 +00:00
tne
4a8bb308e8
Fixes to determing the dll location on Windows using GetModuleFileName()
2017-11-20 19:21:12 +00:00
hypnotoad
3640513caf
Autoconf fixes
2017-11-20 18:08:12 +00:00
hypnotoad
4e97c16367
Modifications to allow the Tcl build system to exploit either a native zip
...
executable in the path or a tclsh that understands the new "install" keyword
from the command line
Added a new file to /library which is run when the user executes "tclsh install ..."
Embedded in installer.tcl is a facility for building zip archives
2017-11-20 17:09:44 +00:00
jan.nijtmans
61536390c5
Fix executable flags
2017-11-20 13:05:36 +00:00
jan.nijtmans
3a7618f91e
merge core-8-branch
2017-11-20 12:58:54 +00:00
jan.nijtmans
d0e9170c39
Remove TclCopyChannelOld() function. Should have been part of [b03c4194f001be0b|this] earlier commit.
2017-11-20 12:13:29 +00:00
jan.nijtmans
75a121d773
merge core-8-branch
2017-11-20 10:23:13 +00:00
jan.nijtmans
adc8a8bbdf
merge core-8-branch
2017-11-20 09:28:02 +00:00
hypnotoad
280b6aa62e
Added handling to allow Tclsh to intercept a zip file fed as the first command line argument, and open it as a kit
2017-11-19 18:16:43 +00:00
hypnotoad
fe346634a7
Pulling changes from core-8-branch
2017-11-18 20:28:20 +00:00
tne
1d444f5610
Now that UNC paths work correctly on Windows, removing the platform specific zipfs mount point for windows
2017-11-18 20:25:25 +00:00
hypnotoad
30938251a2
Adjust the rule to look for libtcl_XXX.zip ONLY in the directory that contains
...
the executable or the install location for tcl. The directory adjacent copy
is only looked for and mounted in an install location version cannot be located.
2017-11-18 20:21:13 +00:00
aspect
157e55c7bc
Reserve paths matching //[^/]*: for VFS mount points, and prevent calling
...
native filesystem ops during normalization for them. This is permitted by UNC
standards (which do not allow : at the end), and should prevent observed slow
[glob] operations (and others) on Windows when using such paths.
2017-11-18 17:07:48 +00:00
aspect
d8a0c08bbc
add some tests for join and normalize
2017-11-18 17:04:03 +00:00
aspect
3730061388
fix zipfs tests
2017-11-18 17:02:08 +00:00
hypnotoad
b171f5cc41
Added documentation for the zipfs root command and working of TclZipfs_AppHook
2017-11-18 12:21:35 +00:00
tne
02a019458f
Updated zipfs tests to recognize the mount points are different on different platforms
2017-11-18 11:59:20 +00:00
hypnotoad
b59255450b
Added a pool of literal strings to zipfs to manage constants that are being belched out by the file system.
...
Created a separate mount point for Unix and Windows, with a new "zipfs root" command to tell the user which
location to use for their platform
2017-11-18 11:48:08 +00:00
hypnotoad
c6d82079ea
Added a package manifest to init to allow core distributed packages to
...
auto-populate [package ifneeded] on startup
2017-11-17 17:23:01 +00:00
jan.nijtmans
2ea8f0fe98
merge core-8-branch. Fix some Tcl_UniChar initialization, in case TCL_UTF_MAX == 4
2017-11-17 16:08:49 +00:00
jan.nijtmans
b832920adb
merge core-8-branch
2017-11-17 15:34:01 +00:00
hypnotoad
52d32b1033
Integrating fixes from aspect that make the //zipfs:/ mount point viable, and
...
also allow one archive to be mounted in multiple locations
2017-11-17 12:54:56 +00:00
hypnotoad
f85da9c9fd
Pulling changes from core-zip-vfs
2017-11-17 12:39:06 +00:00
hypnotoad
f20b58c6a9
Pulling changes from core-8-branch
2017-11-17 12:29:40 +00:00
hypnotoad
9513859f8c
Closing a fork
2017-11-17 12:28:37 +00:00
aspect
f81c2ae724
fix [glob] handling of leading //
2017-11-17 11:53:19 +00:00
jan.nijtmans
466e0f29c3
TIP #422 , Tcl 9.0 part: Don't Use stdarg.h/va_list in Public API
2017-11-17 10:50:02 +00:00
aspect
7c1f63bb60
clean up stray unused dstrings
2017-11-17 10:24:45 +00:00
aspect
4515103846
whitespace consistency
2017-11-17 10:21:41 +00:00
aspect
87d37d3101
Zipfs: Nix AbsolutePath() and most uses of CanonicalPath(). Tcl_FSNormalizePath is to be trusted.
2017-11-17 10:17:47 +00:00
aspect
da76cd286c
Zipfs: Use //zipfs:/ as mount point. Use Tcl_FSNormalizePath() on the way in to most VFS operations. Add some tests.
2017-11-17 08:39:31 +00:00
hypnotoad
3c532f6336
Rebuilt the configure files without the call to the missing SC_ENABLE_ZIPFS macro
2017-11-17 04:47:16 +00:00
tne
ded3368d3c
Final tweaks to get Msys Zipfs build working
2017-11-17 04:45:07 +00:00
hypnotoad
e84763748b
First pass on the Msys style windows build. Moving Zipfs features closer together in the autoconf
2017-11-17 04:13:48 +00:00
hypnotoad
8079a467a7
Pulling changes from core-8-6-branch
2017-11-17 03:10:54 +00:00
hypnotoad
be47788793
Moved Zipfs initialization and path hinting out of tclInterp.c and into
...
a preinit script populated by TclZipfs_AppHook
2017-11-17 03:09:26 +00:00
jan.nijtmans
9672bba339
Change TclOO epoch fields from int to size_t.
2017-11-16 15:34:14 +00:00
jan.nijtmans
fd3fbe8801
Handle Tcl_UtfAtIndex/Tcl_UniCharAtIndex for extended index range. More field fixes.
2017-11-16 13:50:32 +00:00
jan.nijtmans
5534478fa1
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming.
2017-11-16 11:17:54 +00:00
jan.nijtmans
de0ff2272e
merge core-8-branch
2017-11-15 10:01:18 +00:00
jan.nijtmans
b9216a9c1f
merge core-8-branch
2017-11-15 08:56:25 +00:00
dgp
43f411afeb
[5d6de65036] [package require] with [package prefer stable] was not choosing available stable package.
2017-11-14 17:24:00 +00:00
jan.nijtmans
a35ad3e794
Remove extra.unused2 field from struct Interp. It really is unused ...
2017-11-14 10:00:58 +00:00
jan.nijtmans
7dec4a7fc5
merge novem
2017-11-13 15:53:33 +00:00
jan.nijtmans
7590c5df93
Add back Tcl_Backslash(). Will be removed again when TIP #485 is brought in. Also revert some other API changes (unsigned long -> size_t), for which TIP's are still to be written.
2017-11-13 15:34:50 +00:00
jan.nijtmans
7cfe36d9ae
merge novem
2017-11-13 11:47:41 +00:00
jan.nijtmans
1ce0780915
merge trunk
2017-11-13 11:25:35 +00:00
jan.nijtmans
cd80622d5e
merge core-8-branch
2017-11-13 11:17:23 +00:00
jan.nijtmans
c515382280
merge trunk
2017-11-13 09:43:35 +00:00
jan.nijtmans
26c5e61700
merge tcl-9-cleanup (and also a minor bug-fix from core-8-branch).
2017-11-13 08:59:59 +00:00
hypnotoad
62fbfd89d7
Pulling changes from core-8-branch
2017-11-11 13:22:35 +00:00
hypnotoad
932afb0105
Improvements to tip430 to embed the /library file system within a shared library
...
or as a zip archive with a canonical name matching the current patch level
This new version also builds a native executable version of minizip to
allow archive to be built within make, even when cross compiling
Added a new function TclZipfs_AppHook which implements tip430 core
behavior startups to stock tclsh
Embedding the file system as a zip archive can be defeated with --enable-zipfs=no
2017-11-11 09:18:09 +00:00
jan.nijtmans
dfbe0053d1
merge core-8-branch
2017-11-09 16:07:06 +00:00
dgp
de9a7da4ba
merge trunk
2017-11-09 14:40:30 +00:00
jan.nijtmans
d6acf8cfea
merge trunk
2017-11-09 12:52:02 +00:00
jan.nijtmans
c1f627b31e
Fogot to remove the TclWinSetInterfaces() implementation.
2017-11-09 09:02:44 +00:00
dgp
4ed027b7bc
merge trunk
2017-11-08 18:58:31 +00:00
dgp
258b9f4333
Also remove panicVA().
2017-11-08 18:52:33 +00:00
jan.nijtmans
a31c699833
Forgot TclpGetTime()
2017-11-08 16:12:29 +00:00
jan.nijtmans
9c9ce91ef5
Tcl-9 huge cleanup: Remove many unused internal functions which do nothing more than occupy the internal stub table.
2017-11-08 15:50:06 +00:00
hypnotoad
b2722c42b1
Pairing down the tip#430 branch to only include files and utilities
...
called out by the tip. Eliminated the header files tclZipfs.h and
zcrypt.h. The only public calls for tclZipfs.h are now in the stubs
table and the contents of zcrypt.h are already part of the minizip
implementation that Tcl keeps around in the compat/zlib/contrib/minizip
directory. tclBootVFS.h hasn't been used by the implementation in a while.
Alos eliminated the mkzip.tcl facility from tools/. The C based mkzip is
much faster and more reliable
2017-11-08 09:41:00 +00:00
jan.nijtmans
91229781db
merge trunk
2017-11-08 09:40:33 +00:00
dgp
dee7abd87b
merge trunk
2017-11-08 03:23:35 +00:00
hypnotoad
c2dfae0758
Removing kit building facilities. They aren't part of the tip430 spec
2017-11-07 19:51:53 +00:00
hypnotoad
23440fcbd7
Removing patches for Androwish that are not needed for tip430
2017-11-07 19:26:21 +00:00
hypnotoad
399ff79e21
Adding a [file normalize] to zipfs tests that are looking for absolute filenames.
...
On Linux symlinks can cause a discrepency in what the tests think they are looking for.
2017-11-07 19:13:34 +00:00
hypnotoad
338e92cb28
Updated the zipfs portion of the testsuite to tip430 standards
2017-11-07 18:45:24 +00:00
tne
433dff0c14
Pulling changes from core-8-branch
2017-11-07 16:46:38 +00:00
jan.nijtmans
48b529209c
Somewhat simplified implementation of TIP #389 , in which the "string length" if characters > U+FFFF is considered to be 2, not 1.
2017-11-07 12:15:30 +00:00
jan.nijtmans
c38755a732
Re-base TIP #422 implementation to trunk. Remove Tcl_VarEvalVA() as well. TIP #422 is adapted accordingly.
2017-11-07 09:33:56 +00:00
jan.nijtmans
7417e2c917
merge trunk
2017-11-06 14:55:15 +00:00
jan.nijtmans
6222dc31ab
merge-mark
2017-11-05 14:32:27 +00:00
jan.nijtmans
7e1ea05d53
merge trunk
2017-11-05 14:24:46 +00:00
dgp
728286b43f
merge trunk
2017-11-03 19:25:33 +00:00
dgp
ca080daf7f
merge trunk
2017-11-02 12:53:06 +00:00
dgp
9c75e1c5f8
TIP 422 implementation (rebase of branch novem-remove-va to trunk).
2017-11-01 14:46:28 +00:00
dgp
1d920f34c6
TIP 278 into novem.
2017-10-30 12:48:40 +00:00
dgp
2bc2789f8f
TIP 345 into novem.
2017-10-30 12:43:33 +00:00
dgp
c83d36abf0
merge trunk
2017-10-30 03:29:05 +00:00
dgp
eda3104306
merge trunk
2017-10-27 15:20:19 +00:00
jan.nijtmans
ef7ea2c390
merge trunk
2017-10-24 13:59:13 +00:00
jan.nijtmans
3303fbcef8
merge trunk
2017-10-24 13:57:21 +00:00
Kevin B Kenny
5db79312af
Historical change affecting tests: Detroit did not observe Daylight Saving Time in 1967
2017-10-24 13:35:40 +00:00
José Ignacio Marín
4f74d92f32
Update TZ info to tzcode2017c.
2017-10-23 17:12:00 +00:00
jan.nijtmans
5470f13299
tclWinPanic.c is in the \win directory, not in \generic!
2017-10-23 13:47:57 +00:00
jan.nijtmans
c0effc5b46
merge trunk
2017-10-23 13:23:08 +00:00
dgp
d0c85905c4
merge trunk:
2017-10-20 12:34:45 +00:00
hypnotoad
fc947a1ad4
Pulling changes from trunk
2017-10-16 20:35:30 +00:00
dgp
48ebe9c855
merge trunk
2017-10-13 16:39:14 +00:00
jan.nijtmans
1152be81e6
merge novem
2017-10-12 15:23:34 +00:00
jan.nijtmans
b11f15674d
merge trunk
2017-10-12 15:21:25 +00:00
jan.nijtmans
aa484cae05
merge novem
2017-10-11 14:09:34 +00:00
jan.nijtmans
33538b8595
merge trunk
2017-10-09 14:28:07 +00:00
jan.nijtmans
b54c19492b
merge trunk
2017-10-09 12:55:09 +00:00
jan.nijtmans
7b1579d769
Merge trunk
2017-10-03 09:12:09 +00:00
jan.nijtmans
3b96c2260e
Remove coffbase.txt and all references to it: It's not recommended by Microsoft any more.
2017-09-26 09:05:47 +00:00
hypnotoad
54bc992b81
Improvements to Tip#430 based on community input. Added a forward declaration of TclZipfs_Init. Added TclZipfs_Mount() and TclZifs_Unmount to stubs table.
2017-09-25 16:23:56 +00:00
hypnotoad
e55f59bd83
Pull changes from Trunk
2017-09-25 13:36:58 +00:00
jan.nijtmans
99b72814d3
merge trunk
2017-09-22 08:49:19 +00:00
jan.nijtmans
4284797dbb
merge trunk
2017-09-20 09:22:29 +00:00
jan.nijtmans
6a606d16fd
merge trunk
2017-09-20 09:09:42 +00:00
jan.nijtmans
20677d90b8
merge trunk
2017-09-18 14:39:06 +00:00
jan.nijtmans
6f2b60cb33
merge trunk
2017-09-18 12:54:26 +00:00
jan.nijtmans
b608ba3fa4
Merge trunk
2017-09-18 10:07:04 +00:00
jan.nijtmans
c1d1afd473
merge trunk
2017-09-15 13:36:31 +00:00
dgp
c0aed167b8
merge trunk
2017-09-14 14:02:47 +00:00
jan.nijtmans
17d410dd99
merge trunk
2017-09-14 08:06:34 +00:00
jan.nijtmans
ff718174aa
Merge trunk
2017-09-13 10:42:18 +00:00
jan.nijtmans
1d028fa4e9
merge novem
2017-09-11 13:21:44 +00:00
jan.nijtmans
2556e9b109
merge trunk
2017-09-11 11:21:18 +00:00
jan.nijtmans
0d0ab7f829
merge novem
2017-09-10 13:35:18 +00:00
jan.nijtmans
75d248f10f
Merge trunk
2017-09-09 16:26:06 +00:00
jan.nijtmans
15f27ca8f2
Rebase to trunk
2017-09-08 11:04:34 +00:00
hypnotoad
c55b8ed591
Pulling changes from trunk
2017-09-05 16:44:09 +00:00
hypnotoad
522456ba98
Removed the package style loader from tclAppInit. Zipfs now loads as part of the interpreter.
2017-09-05 16:33:37 +00:00
jan.nijtmans
c4a6da31ec
merge trunk
2017-09-04 14:03:39 +00:00
jan.nijtmans
29821af817
merge trunk
2017-08-31 13:57:29 +00:00
oehhar
2b0e7061f5
http state 100 continue handling broken [2a94652ee1]
2017-08-31 09:46:40 +00:00
jan.nijtmans
fc88994cde
merge trunk
2017-08-31 08:41:34 +00:00
jan.nijtmans
a0fe6c0579
merge trunk
2017-08-30 11:49:41 +00:00
jan.nijtmans
f4c2386551
Merge trunk
2017-08-29 09:19:21 +00:00
dgp
83cbe41d4c
merge trunk
2017-08-18 13:23:34 +00:00
andy
8bd48049f9
Merge trunk
2017-08-08 16:39:25 +00:00
dgp
dfd143bc6b
merge trunk
2017-08-04 13:19:31 +00:00
dgp
dcf71727af
merge trunk
2017-07-18 13:34:16 +00:00
dgp
5ebb774188
merge trunk
2017-07-06 16:52:28 +00:00
jan.nijtmans
5f88824dc9
merge trunk
2017-07-03 12:46:21 +00:00
jan.nijtmans
9dc2ed96d1
merge trunk
2017-07-03 08:32:30 +00:00
jan.nijtmans
7cf3a976b9
merge trunk
2017-06-28 13:45:13 +00:00
dgp
e6e15c60ca
merge trunk
2017-06-26 20:13:31 +00:00
jan.nijtmans
de7fffb534
merge trunk
2017-06-23 15:05:44 +00:00
jan.nijtmans
770651efae
Merge trunk (but without %#d format, pending further decision and bug-fixing)
2017-06-23 09:14:38 +00:00
dgp
cbe13543e4
merge trunk
2017-06-22 13:41:03 +00:00
dgp
ba1388e7ae
Silence compiler warning
2017-06-19 18:04:23 +00:00
dgp
0e99e9b2f2
Merge trunk. Improve test http-4.16 in robustness and result utility.
2017-06-19 17:56:54 +00:00
dgp
c280d65fd0
merge trunk
2017-06-16 20:35:32 +00:00
jan.nijtmans
4ac08a5375
merge novem
2017-06-09 11:48:54 +00:00
jan.nijtmans
54043c0ee1
merge trunk
2017-06-09 11:17:31 +00:00
jan.nijtmans
ea967c949e
merge trunk
2017-06-08 12:59:45 +00:00
dgp
4dc66d90aa
merge trunk
2017-06-06 15:51:26 +00:00
jan.nijtmans
0f81412091
merge trunk
2017-06-06 09:25:14 +00:00
jan.nijtmans
43f72f639e
merge trunk
2017-06-02 11:08:57 +00:00
jan.nijtmans
242f56b093
merge trunk
2017-05-29 13:16:01 +00:00
jan.nijtmans
c2e3653931
merge trunk
2017-05-22 09:17:48 +00:00
dgp
9cbaed4d46
merge trunk
2017-05-19 13:00:59 +00:00
jan.nijtmans
57c30acc7f
merge trunk
2017-05-18 12:36:18 +00:00
jan.nijtmans
34944b264b
merge trunk
2017-05-12 15:34:42 +00:00
dgp
3f00b2490d
merge trunk
2017-05-08 16:22:22 +00:00
jan.nijtmans
b5273bc1fa
merge trunk
2017-05-04 14:19:52 +00:00
jan.nijtmans
0aeb0313c3
Merge trunk
2017-05-04 12:39:27 +00:00
jan.nijtmans
f9abf48ecf
merge novem
2017-05-04 11:35:55 +00:00
jan.nijtmans
01c5c4ed35
merge trunk
2017-05-04 10:42:54 +00:00
jan.nijtmans
da02e63f0a
Merge trunk
2017-05-01 08:47:57 +00:00
dgp
76e8da363b
merge trunk
2017-04-27 12:54:33 +00:00
jan.nijtmans
a3445370e1
merge trunk
2017-04-20 14:47:56 +00:00
jan.nijtmans
fd86d4e6c9
merge trunk
2017-04-20 11:47:51 +00:00
dgp
8c56790861
merge trunk
2017-04-17 12:42:59 +00:00
jan.nijtmans
ee6b4f6be2
merge trunk
2017-04-14 09:07:52 +00:00
jan.nijtmans
0e01219533
merge trunk
2017-04-12 14:33:26 +00:00
dgp
18a7f14fd0
merge trunk
2017-04-12 13:28:17 +00:00
jan.nijtmans
6f1a613456
merge trunk
2017-04-12 12:34:24 +00:00
jan.nijtmans
ab6259370e
merge trunk
2017-04-11 15:35:04 +00:00
jan.nijtmans
ede10ae95d
merge trunk
2017-04-11 10:04:00 +00:00
jan.nijtmans
6db7cf0c22
merge-mark. No changes.
2017-04-06 15:27:18 +00:00
jan.nijtmans
72fc97ca20
Merge trunk (no actual modifications). Some 8.6 -> 9.0 version changes which still were forgotten.
2017-04-06 12:47:30 +00:00
jan.nijtmans
8648956074
merge trunk
2017-04-06 07:45:11 +00:00
jan.nijtmans
8a4445438c
merge trunk
2017-03-31 15:18:07 +00:00
jan.nijtmans
bbbd34fc38
merge trunk
2017-03-31 09:20:18 +00:00
jan.nijtmans
f01bb0828e
merge trunk
2017-03-29 14:56:21 +00:00
jan.nijtmans
190dc679f6
Merge trunk
2017-03-29 12:20:08 +00:00
jan.nijtmans
12be86ca29
merge trunk
2017-03-27 13:04:59 +00:00
jan.nijtmans
bd92acfbe8
Merge trunk
2017-03-24 09:52:13 +00:00
José Ignacio Marín
b3090df235
merge trunk
2017-03-23 08:45:36 +00:00
jan.nijtmans
b72bf907ec
Merge trunk.
2017-03-21 09:05:32 +00:00
jan.nijtmans
c8a4b8f057
Merge trunk
2017-03-20 10:31:26 +00:00
jan.nijtmans
3daba65c64
Merge trunk
2017-03-17 12:34:45 +00:00
Kevin B Kenny
6649fab762
Compile [clock clicks], [clock microseconds], [clock milliseconds] and [clock seconds].
2017-03-15 02:41:51 +00:00
Kevin B Kenny
3d5f0518ca
Make 'clock' and 'encoding' into compilable ensembles that play with safe interps
2017-03-14 22:30:01 +00:00
jan.nijtmans
9ab57fce05
merge trunk
2017-03-13 09:16:55 +00:00
dgp
a69a45201b
merge trunk
2017-03-10 17:20:51 +00:00
hypnotoad
627f0a4d6a
Pulling changes from zipfs
2017-03-10 17:03:10 +00:00
jan.nijtmans
65775144bb
merge trunk
2017-03-08 12:08:40 +00:00
jan.nijtmans
b645469c95
merge core-8-6-branch
2017-03-07 12:21:28 +00:00
jan.nijtmans
e295641767
merge core-8-6-branch
2017-03-07 09:09:44 +00:00
jan.nijtmans
99f1cb58e8
merge trunk
2017-03-07 08:58:29 +00:00
dgp
2cc5f1ab51
merge trunk
2017-03-06 17:37:13 +00:00
jan.nijtmans
c3a18ac8f4
merge core-8-6-branch
2017-02-27 16:04:00 +00:00
dgp
04ff99c8e5
merge trunk
2017-02-27 15:09:31 +00:00
jan.nijtmans
f9dda45e97
merge core-8-6-branch
2017-02-25 15:57:39 +00:00
jan.nijtmans
b667a58dab
More internal use of size_t in stead of int (e.g. in many 'epoch's)
2017-02-22 09:07:55 +00:00
jan.nijtmans
a0aef631dd
merge trunk
2017-02-15 14:08:22 +00:00
jan.nijtmans
80893d2ca7
merge trunk
2017-02-14 14:26:23 +00:00
jan.nijtmans
da2aacb75f
merge trunk
2017-02-08 22:02:12 +00:00
jan.nijtmans
773b4febf2
Shortcut in TclParseNumber(): If obj is a dict or list, don't bother to generate the string representation if we know already beforehand that the parsing will fail.
2017-02-08 14:40:36 +00:00
jan.nijtmans
5bb280ce2f
merge trunk
2017-02-07 12:28:17 +00:00
jan.nijtmans
2adba3032c
merge trunk
2017-02-03 14:40:31 +00:00
jan.nijtmans
0a378930a3
merge trunk
2017-02-03 14:03:11 +00:00
jan.nijtmans
c915433671
Fix [d0f7ba56f0e8f93b7efb5b09ebc30a824bdd577a|d0f7ba56f0]: INST_EQ first-argument NaN shortcut is too aggressive
2017-02-01 14:56:03 +00:00
jan.nijtmans
d90ca33b91
merge trunk
2017-01-31 13:46:03 +00:00
dgp
44ec4c77c1
merge trunk
2017-01-27 17:45:21 +00:00
jan.nijtmans
e917f5db4a
Convert Tcl_SetResult() to a macro
2017-01-25 12:50:18 +00:00
jan.nijtmans
d6418172e0
Put back counter in test-case, so we can see if TestsaveresultFree() was actually called or not.
2017-01-24 15:42:32 +00:00
jan.nijtmans
fd5d15f9df
merge trunk
2017-01-20 16:22:45 +00:00
jan.nijtmans
d2724ffe92
merge trunk
2017-01-18 13:12:02 +00:00
jan.nijtmans
ce1ad42e8f
merge trunk
2017-01-17 10:06:34 +00:00
jan.nijtmans
a5c310f993
merge core-8-6-branch
2017-01-17 09:06:45 +00:00
jan.nijtmans
80d9aa777b
Merge core-8-6-branch. Better deal with patterns regarding hidden files in ZIP filesystem (taken over from upstream androwish)
2017-01-16 12:46:42 +00:00
jan.nijtmans
d62bcbc611
merge trunk
2017-01-16 11:59:03 +00:00
venkat
4434540502
Merge IETF tzdata2016j
2017-01-14 08:47:39 +00:00
dgp
1c1f866bac
merge trunk
2017-01-13 16:23:42 +00:00
jan.nijtmans
255a9e3bf7
merge trunk
2017-01-12 10:37:16 +00:00
jan.nijtmans
e8edeca09d
merge trunk
2017-01-11 14:39:41 +00:00
jan.nijtmans
c745f44e3a
Merge core-8-6-branch
2017-01-06 11:47:15 +00:00
jan.nijtmans
eeb500cf5a
Merge trunk
2017-01-06 10:32:55 +00:00
jan.nijtmans
6312f7bf4f
Merge trunk
2017-01-05 15:25:32 +00:00
jan.nijtmans
da2ee554de
merge trunk
2017-01-04 13:01:11 +00:00
jan.nijtmans
bd7f2bebde
merge trunk
2017-01-01 19:50:41 +00:00
jan.nijtmans
29ea02d93b
merge trunk
2016-12-23 15:49:42 +00:00
jan.nijtmans
9c4eb9d121
Deprecate otherValuePtr and ptrAndLongRep. Some more minor tweaks.
2016-12-23 10:07:38 +00:00
jan.nijtmans
9394984c31
merge novem
2016-12-23 09:32:32 +00:00
jan.nijtmans
dedbad2748
merge trunk
2016-12-23 09:11:43 +00:00
jan.nijtmans
a7951ab2ad
Merge trunk
2016-12-21 09:20:00 +00:00
jan.nijtmans
a728d03f7d
merge novem
2016-12-19 10:42:42 +00:00
jan.nijtmans
89f9758279
merge trunk
2016-12-19 09:14:06 +00:00
dgp
d58a6ddbc3
merge trunk
2016-12-06 12:46:11 +00:00
dgp
32b482d3bf
merge trunk
2016-12-02 19:02:41 +00:00
jan.nijtmans
99d0691f57
merge-mark
2016-12-02 14:53:41 +00:00
jan.nijtmans
1f666c7ab2
merge trunk
2016-12-02 14:46:25 +00:00
jan.nijtmans
389ad9987b
Fix installation of platform/shell-1.1.4.tm on Windows (platform directory was still missing)
2016-12-01 12:32:49 +00:00
jan.nijtmans
9bf56063c6
merge trunk
2016-12-01 11:46:47 +00:00
jan.nijtmans
6b83d829a8
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc()
2016-12-01 11:20:52 +00:00
jan.nijtmans
e3c8777128
Merge trunk
2016-11-30 14:27:41 +00:00
jan.nijtmans
bc59d1ce4e
merge trunk
2016-11-29 13:08:40 +00:00
jan.nijtmans
dd1acb8d65
merge trunk
2016-11-29 12:26:28 +00:00
jan.nijtmans
ae7596981b
merge trunk
2016-11-25 12:58:30 +00:00
jan.nijtmans
5f291bc906
merge trunk
2016-11-24 20:31:42 +00:00
jan.nijtmans
82903a4b1f
merge novem
2016-11-24 12:41:30 +00:00
jan.nijtmans
2290210ff1
merge trunk.
...
Make epoch in Tcl_DictSearch "unsigned int". This doubles the epoch range here. Use 0 as special value in stead of -1 (so start counting epoch's with 1).
2016-11-24 11:57:07 +00:00
jan.nijtmans
53f3b03647
Merge trunk. More internal use of size_t in stead of int (or long)
2016-11-21 10:40:46 +00:00
jan.nijtmans
450b6f46c9
merge novem
2016-11-18 12:10:26 +00:00
jan.nijtmans
edcac92c08
Merge trunk
2016-11-18 11:15:27 +00:00
jan.nijtmans
630767b5f7
merge trunk
2016-11-17 16:27:38 +00:00
jan.nijtmans
ad9db3faad
Merge trunk
2016-11-17 09:34:58 +00:00
jan.nijtmans
56d57b9530
merge trunk
2016-11-16 11:17:13 +00:00
jan.nijtmans
21d4596064
Merge core-8-6-branch. Remove (temporarily) write-functions from zipfs. Let first TIP-version handle read-only functions only.
2016-11-14 15:51:03 +00:00
venkat
d80bf0e7a3
Merge tzdata2016i from IETF
2016-11-12 11:20:17 +00:00
jan.nijtmans
e6b26af8f3
merge trunk
2016-11-11 15:18:31 +00:00
jan.nijtmans
de9d0bbd20
merge trunk
2016-11-10 15:13:22 +00:00
jan.nijtmans
5f738db586
Merge core-8-6-branch. Update upstream changes to zipfs.c
2016-11-07 11:16:52 +00:00
jan.nijtmans
20880c7ce9
merge trunk
2016-11-04 11:53:00 +00:00
jan.nijtmans
55c589e2de
merge trunk
2016-11-04 11:41:58 +00:00
jan.nijtmans
e7ef344d8b
Merge trunk (Update http version number to 2.8.10, due to [838e99a76d])
2016-11-02 12:50:26 +00:00
jan.nijtmans
76bb4d1ea4
merge core-8-6-branch
2016-11-02 12:09:04 +00:00
dgp
14c4066381
merge trunk
2016-11-01 16:29:37 +00:00
venkat
06236552b6
Merge timezone data tzdata2016h
2016-10-26 08:07:39 +00:00
dgp
17cafef755
merge trunk
2016-10-21 13:25:15 +00:00
dgp
24109a18e4
merge trunk
2016-10-13 17:03:38 +00:00
dgp
4312e69dfe
merge trunk
2016-10-12 14:01:04 +00:00
jan.nijtmans
9c590fa6a6
merge trunk
2016-10-11 21:53:43 +00:00
dgp
46cdee3dc8
Update new tests in light of octal death.
2016-10-11 18:22:08 +00:00
dgp
97f59556af
merge trunk
2016-10-11 18:19:33 +00:00
dgp
ba2e43e953
merge trunk
2016-10-07 13:11:24 +00:00
dgp
3e12c54039
merge trunk
2016-10-04 18:48:17 +00:00
jan.nijtmans
4db368d595
merge core-8-6-branch
2016-10-03 14:56:00 +00:00
venkat
4a1f444c9f
Merge tzdata2016g from ietf.org
2016-10-02 19:28:22 +00:00
hypnotoad
9dfe53af4a
Re-created the build mods for tip#340. Something I was doing was screwing with building
...
a proper shell
2016-10-02 18:42:56 +00:00
hypnotoad
e58a9dabbe
Typo fix for Makefile.in
2016-10-02 18:30:43 +00:00
hypnotoad
3e0c5c6c90
Pulling change from trunk
2016-10-02 12:00:56 +00:00
jan.nijtmans
e9e40f5f02
merge core-8-6-branch
2016-09-26 15:03:11 +00:00
jan.nijtmans
87e3de423c
merge trunk
2016-09-21 09:29:57 +00:00
jan.nijtmans
56b804fc38
merge trunk
2016-09-16 09:11:09 +00:00
hypnotoad
a4dbdda700
Adding build scripts to implement Tip#453
2016-09-14 15:11:12 +00:00
hypnotoad
5bf83d86b6
Further adaptations and improvements to practcl.
...
And get, tclsh make.tcl basekit even works now
2016-09-14 15:04:41 +00:00
hypnotoad
3c85e6e0ef
Pulling changes from trunk
2016-09-14 13:38:30 +00:00
hypnotoad
58ab27bf86
Fixed the line endings on practcl.tcl
2016-09-14 13:36:27 +00:00
hypnotoad
824b71f959
Beginning work in earnest on Tip#430 and Tip#453
...
Renamed zipfs.c to tclZipfs.c. Eliminated tclZipfs.h.
Removed the bootstrap introduced by Odie/Androwish. With zipfs in the core
one only needs to specify the TclPreInitScript
The project at least builds on OSX. Working on Windows under MSYS/MinGW next
Added a local snapshot of practcl.
2016-09-14 13:33:32 +00:00
dgp
30a4dc04bb
Maintain the changed behavior for unset traces on local vars at proc return.
...
Update the docs to new function.
2016-09-09 12:39:27 +00:00
gahr
bda3724396
merge trunk
2016-09-09 07:31:48 +00:00
dgp
33ceb47046
compiler warning
2016-09-08 20:04:51 +00:00
jan.nijtmans
c3c935369d
merge core-8-6-branch
2016-09-08 07:24:06 +00:00
hypnotoad
e14a1e9e3d
Pulling changes from Trunk
2016-09-08 03:01:05 +00:00
hypnotoad
5c93243c18
Pulling changes from zipfs
2016-09-08 03:00:04 +00:00
dgp
1ac6780aed
merge trunk
2016-09-08 02:48:09 +00:00
jan.nijtmans
373ad7ed6c
merge trunk
2016-09-07 14:03:58 +00:00
jan.nijtmans
b2416bd570
merge trunk
2016-09-05 13:57:49 +00:00
jan.nijtmans
bd1370959e
merge core-8-6-branch
2016-08-30 13:42:21 +00:00
jan.nijtmans
c69560787b
merge trunk
2016-08-30 13:12:09 +00:00
jan.nijtmans
a852495cf6
merge zipfs
2016-08-19 13:42:12 +00:00
jan.nijtmans
9a7f1bd48c
merge core-8-6-branch
2016-08-19 08:58:35 +00:00
dgp
d6656fada6
merge trunk
2016-07-26 19:22:05 +00:00
dgp
7a324dfa87
merge trunk
2016-07-21 17:25:04 +00:00
venkat
aefd27f95c
Merge tzdata 2016f from ietf.org
2016-07-20 03:06:37 +00:00
dgp
2a8bbefa69
merge trunk
2016-07-18 17:15:30 +00:00
jan.nijtmans
6abb3012d4
Merge novem
2016-07-13 13:06:31 +00:00
jan.nijtmans
a5748bcfea
Merge trunk
2016-07-12 14:40:12 +00:00
dgp
f01fb783f1
merge trunk
2016-07-11 22:04:56 +00:00
dgp
32967bf1a1
merge trunk
2016-07-10 19:36:41 +00:00
dgp
71d97d21ac
merge trunk
2016-07-09 19:08:18 +00:00
jan.nijtmans
4783b95fdf
merge trunk
2016-07-08 10:34:55 +00:00
jan.nijtmans
d5259dab01
Use TCL_HASH_TYPE #define for compatibility with Tcl8 in stead of TCL_HASH_KEY_TYPE_VERSION_2
2016-07-08 09:46:01 +00:00
jan.nijtmans
26562de083
Adapt hash-function and hash-table to allow hash-tables to grow >1Gb on 64-bit platforms.
2016-07-08 06:56:17 +00:00
dgp
276fee0021
Fully fix old bug [a16752c252] that has been only partially fixed until now
...
to support legacy tclcompiler binaries. That no longer makes sense for Tcl 9.
2016-07-07 17:00:01 +00:00
jan.nijtmans
9b9795105f
merge trunk
2016-07-07 07:54:23 +00:00
jan.nijtmans
abd0c671e8
Unnecessary #undef and unnecessary type cast.
2016-07-06 15:10:01 +00:00
jan.nijtmans
4d9fc11c2f
Make epoch in ProcessGlobalValue a size_t
2016-07-06 10:09:07 +00:00
jan.nijtmans
b294401d2f
merge novem
2016-07-06 09:23:09 +00:00
jan.nijtmans
841ec05ecc
Merge trunk. Some more internal use of size_t in stead of int.
2016-07-05 09:56:35 +00:00
jan.nijtmans
3864f4ec46
Merge trunk
2016-07-04 08:46:41 +00:00
dgp
46f047fba1
merge trunk
2016-07-02 20:19:07 +00:00
dgp
13269b1224
merge trunk
2016-07-01 20:39:31 +00:00
jan.nijtmans
16762d4246
Merge trunk
2016-07-01 14:14:19 +00:00
dgp
deaaa2ccd1
merge trunk; eliminate legacy hacks for Itcl 3; migration paths in place.
2016-07-01 13:36:23 +00:00
jan.nijtmans
d1f3e49057
Merge trunk
2016-07-01 08:33:56 +00:00
jan.nijtmans
0f90e86f25
Merge trunk
2016-06-30 13:53:17 +00:00
jan.nijtmans
00d621dfe0
Take over tclStringObj.c from trunk (not all changes there landed in novem)
2016-06-30 12:33:23 +00:00
jan.nijtmans
4139aa785c
Make test-cases pass again
2016-06-30 12:18:03 +00:00
jan.nijtmans
b2d284393d
Merge trunk
2016-06-29 15:52:14 +00:00
jan.nijtmans
99a50b95e5
Unicode rep en Tcl_Obj length: int -> size_t
2016-06-28 15:22:36 +00:00
jan.nijtmans
85f253bc82
Merge trunk
2016-06-28 13:44:33 +00:00
dgp
0659ddeafe
merge trunk
2016-06-27 20:38:16 +00:00
dgp
3d4ff3d7da
merge trunk
2016-06-27 19:21:25 +00:00
jan.nijtmans
3615ba88e1
Merge trunk. Make magic stub value different for 64-bit builds, as this can never be stub-compatible with 32-bit builds.
2016-06-27 10:25:52 +00:00
jan.nijtmans
2812be6504
merge trunk
2016-06-26 09:07:51 +00:00
dgp
6f51e05c87
merge trunk
2016-06-23 12:23:03 +00:00
jan.nijtmans
47cb19c83f
merge core-8-6-branch
2016-06-23 11:51:36 +00:00
dgp
1dab75c685
merge trunk
2016-06-22 18:40:23 +00:00
jan.nijtmans
8820f08be6
Merge trunk
2016-06-21 10:02:35 +00:00
dgp
958ee08b1a
merge trunk
2016-06-16 18:28:10 +00:00
jan.nijtmans
e12f438c54
merge trunk
2016-06-14 10:01:09 +00:00
jan.nijtmans
f4cc5617a6
merge core-8-6-branch
2016-06-14 10:00:04 +00:00
jan.nijtmans
e48602d674
Merge core-8-6-branch
2016-06-03 13:22:58 +00:00
jan.nijtmans
e5b61b139f
merge trunk
2016-06-02 14:59:32 +00:00
jan.nijtmans
9c93108a05
Merge trunk
2016-06-02 14:19:48 +00:00
jan.nijtmans
dad8ec6ec5
Merge trunk
2016-06-01 12:20:55 +00:00
dgp
2f61163e6f
merge trunk
2016-05-24 12:02:49 +00:00
jan.nijtmans
e9a8c42972
merge core-8-6-branch
2016-05-19 11:46:43 +00:00
jan.nijtmans
ce6cc21d0d
Merge trunk
2016-05-13 09:21:55 +00:00
dgp
2fa7a2f487
merge trunk
2016-05-03 15:14:53 +00:00
jan.nijtmans
5bcc7fa342
merge core-8-6-branch
2016-04-24 16:14:07 +00:00
jan.nijtmans
db5f9d232c
merge trunk
2016-04-24 16:04:16 +00:00
venkat
b862d349ec
Update to tzdata2016d from IETF
2016-04-22 19:49:54 +00:00
jan.nijtmans
b0c45c3ad0
merge core-8-6-branch
2016-04-18 09:35:33 +00:00
dgp
24acc0b24d
merge trunk
2016-04-12 12:15:43 +00:00
jan.nijtmans
66c5d3e943
merge trunk
2016-04-10 16:01:57 +00:00
jan.nijtmans
e1e49c9dd1
Merge core-8-6-branch, cherry-pick [ http://www.androwish.org/index.html/info/04ea31271c40789d |04ea31271c40789d]
2016-04-08 14:55:57 +00:00
jan.nijtmans
d2dabcff9e
merge trunk
2016-04-08 13:31:28 +00:00
jan.nijtmans
5873cf9d02
merge trunk
2016-04-08 12:29:11 +00:00
dgp
fdc5dd1154
merge trunk
2016-04-07 14:57:43 +00:00
jan.nijtmans
18ba46bf37
merge core-8-6-branch
2016-04-07 09:19:05 +00:00
jan.nijtmans
1f02202956
Update all Unicode tables to version 9.0 beta
2016-04-06 10:38:05 +00:00
dgp
f7e5d7a25e
merge trunk
2016-04-05 12:07:38 +00:00
jan.nijtmans
5b719a2281
merge core-8-6-branch
2016-04-05 08:23:23 +00:00
dgp
eccaf4b672
merge trunk
2016-04-04 16:11:48 +00:00
jan.nijtmans
21ee9bfd9a
Merge trunk. Remove excess spacing.
2016-04-01 13:09:43 +00:00
jan.nijtmans
eba6ef86a9
merge trunk
2016-04-01 12:00:36 +00:00
jan.nijtmans
edbf30e23a
merge core-8-6-branch
2016-03-30 09:20:54 +00:00
jan.nijtmans
395d0889b0
merge core-8-6-branch
2016-03-30 07:52:15 +00:00
dgp
890c05b713
merge trunk
2016-03-29 12:07:16 +00:00
dgp
4baa83bda3
merge trunk
2016-03-28 00:56:17 +00:00
dkf
a749c350a3
Some OSX symbols builds create libtcl*.dylib.dSYM which is a directory.
2016-03-27 15:49:52 +00:00
venkat
69c8bda7a9
Update to tzdata 2016c from ietf.org
2016-03-26 18:13:31 +00:00
jan.nijtmans
ba0d107038
merge core-8-6-branch
2016-03-23 15:12:01 +00:00
dgp
a85aaef490
merge trunk
2016-03-23 13:46:40 +00:00
dgp
98aa34029a
merge trunk
2016-03-23 12:51:04 +00:00
dgp
ccc295d394
merge trunk
2016-03-22 17:54:59 +00:00
jan.nijtmans
de842a4b05
merge trunk
2016-03-21 12:10:23 +00:00
dkf
c2bbf3cc3a
[1af8de570511] Fix crash in [string replace] caused by cut-n-paste.
2016-03-20 20:43:57 +00:00
dgp
e3777c3fae
merge trunk
2016-03-17 13:31:34 +00:00
venkat
fdbbb3e1d1
Update tzdata to 2016b from ietf.org
2016-03-16 09:09:35 +00:00
jan.nijtmans
8907bb1c56
merge trunk
2016-03-11 14:16:13 +00:00
jan.nijtmans
ef37739f61
merge trunk
2016-03-07 10:35:59 +00:00
jan.nijtmans
763f9dff55
minor upstream changes
2016-03-02 15:39:32 +00:00
jan.nijtmans
bbcef5b648
merge trunk
2016-03-02 15:10:48 +00:00
jan.nijtmans
a87d7d11f7
Merge trunk
2016-03-02 09:06:08 +00:00
dgp
ecd0e0dcdd
merge trunk
2016-02-09 18:00:59 +00:00
hypnotoad
b3b6f6ff99
Pulling *more* changes from zipfs
2016-02-08 21:59:46 +00:00
hypnotoad
71b97d16f3
Merging changes from zipfs
2016-02-08 21:58:12 +00:00
jan.nijtmans
25d1f4aa03
Merge trunk
2016-02-08 16:11:13 +00:00
jan.nijtmans
22f5c55560
Upstream zipfs change and unbreak zipfs test-case
2016-01-29 09:17:55 +00:00
jan.nijtmans
3cf33e9e9f
merge trunk
2016-01-24 16:57:57 +00:00
jan.nijtmans
a288c5e54a
Merge trunk.
...
Depend on ensemble now, adapt documentation.
2016-01-23 20:33:38 +00:00
jan.nijtmans
9bd7291d76
merge trunk
2016-01-22 13:12:30 +00:00
jan.nijtmans
c3e9d3205f
Add "zipfs" ensemble.
2016-01-22 08:45:38 +00:00
dgp
f6f5bda1ed
Complete merge trunk
2016-01-19 13:55:46 +00:00
dgp
a6dea06eb0
Merge and resolve conflicts.
2016-01-19 13:55:09 +00:00
dgp
accf365a42
Partial trunk merge - up to the point where conflicts arise.
2016-01-19 13:52:13 +00:00
jan.nijtmans
227fbec0fc
Merge trunk, upstream fixes to zipfs.c for win32
2016-01-19 10:43:40 +00:00
jan.nijtmans
dc21089720
Merge trunk
2016-01-18 14:33:32 +00:00
jan.nijtmans
f6bb864fc7
Minor tweaks in documentation/testcases. Don't use deprecated Tcl methods any more
2016-01-18 09:28:55 +00:00
hypnotoad
bd7d14f293
Reconciled the inner workings of the core_zip_vfs and zipfs branch of Tcl
...
core_zip_vfs now uses the same C implementation. More fixes to come as I
tweak the userspace and Makefile tools. The goal is to fold core_zip_vfs
into the zipfs branch.
2016-01-12 19:03:55 +00:00
jan.nijtmans
982211da16
Merge trunk. Update documentation
2016-01-09 23:02:42 +00:00
jan.nijtmans
14078e6cbe
merge trunk
2016-01-06 11:21:05 +00:00
jan.nijtmans
a1740d9766
Make al zipfs command Tcl_Obj-based
2016-01-01 16:50:52 +00:00
jan.nijtmans
e9795fb407
first shot at documentation
2015-12-22 11:39:28 +00:00
jan.nijtmans
299924e512
Remove TIP #414 fragment, not strictly needed for the zipfs TIP.
...
Add more zipfs test-cases
2015-12-22 09:11:57 +00:00
jan.nijtmans
a03e74efc1
USE_TCL_STUBS is not defined anyway
2015-12-21 21:25:40 +00:00
jan.nijtmans
3c03a492f9
Start with a few simple basic test-cases
2015-12-21 15:21:21 +00:00
jan.nijtmans
56c5833c4a
Eliminate all use of ZIPFS_IN_TCL
2015-12-21 14:01:57 +00:00
jan.nijtmans
63b07461da
Fix android compilation (zipfsFilesystem.loadFileProc is a constant, so it cannot be written)
2015-12-21 12:43:54 +00:00
jan.nijtmans
1c3288f038
Finally, make it compile warning-free using Visual Studio, if ZIPFS_IN_TCL is defined
2015-12-21 11:59:08 +00:00
jan.nijtmans
8ecd6aeb5b
Make it compile warning-free with MSVC compiler (VS2013, at least). Other tweaks.
2015-12-21 11:29:38 +00:00
jan.nijtmans
4d00715902
CONST -> const
2015-12-21 10:49:36 +00:00
jan.nijtmans
95aeb2a3d6
Merge trunk.
...
Remove utf-32 encoding, will not be part of the "zipfs" TIP.
2015-12-21 10:38:12 +00:00
jan.nijtmans
b0a98f480d
Undo more Android-specific changes, which don't form part of Zipfs, as further preparation for Zipfs TIP.
...
Rename zipfs.h to tclZipfs.h, so it can be installed together with tcl.h
2015-12-21 10:03:06 +00:00
jan.nijtmans
cb73551e8d
Start of "zipfs" branch, meant for keeping track of the proposed changes for a new TIP. Remove some android-specific build/configure files.
2015-12-21 09:31:36 +00:00
jan.nijtmans
4d946107e7
Put back the stub entries for TclpGetDate/TclpLocaltime/TclpGmtime. Although those functions are dead (they will be removed in Tcl 9, already done in the "novem" branch), removing those functions is a good idea, this cannot be done in any 8.x release. It hinders the acceptance of a "zipfs" TIP, therefore this change should not be part of the "androwish" change-set.
2015-12-21 09:16:38 +00:00
jan.nijtmans
c795f44ea5
upstream androwish change
2015-12-18 12:39:24 +00:00
jan.nijtmans
ecd9567624
Minor tweaks on ZIPFS_IN_TCL
2015-12-17 15:23:27 +00:00
jan.nijtmans
d6fdfa4624
minor tweaks for MSVC
2015-12-17 12:04:22 +00:00
jan.nijtmans
3826a4d32e
Clean-up: Remove Tcl_FindHashEntry/Tcl_CreateHashEntry symbols/stub entries, as those two functions are actually defined as macros. The function alternatives were only kept for legacy, but are no longer necessary.
2015-12-16 16:25:07 +00:00
jan.nijtmans
58ace2b1dc
remove unnecessary Tclzipfs defines in tclStubInit.c
2015-12-16 15:18:59 +00:00
jan.nijtmans
8f6089f225
No need for more than tcl.h in zipfs.h
2015-12-16 13:37:20 +00:00
jan.nijtmans
19627fed47
Remove zipfs symbols from stub table. Those symbols should be exported as-is, without using the stub mechanism.
2015-12-16 13:26:54 +00:00
jan.nijtmans
83145e2bb1
merge trunk
2015-12-16 13:21:58 +00:00
jan.nijtmans
a41657e1c7
merge trunk
2015-12-15 15:45:26 +00:00
jan.nijtmans
621c76324a
Merge trunk. Upstream zipfs change
2015-12-15 09:31:57 +00:00
jan.nijtmans
e961e1c08a
Merge trunk. Upstream androwish changes
2015-12-11 22:56:07 +00:00
jan.nijtmans
fee8865cb8
merge trunk
2015-12-11 10:19:53 +00:00
jan.nijtmans
e740674cb8
Merge trunk. Upstream zipfs change
2015-12-09 10:20:02 +00:00
dgp
0f07cb10d5
merge trunk
2015-11-30 20:24:27 +00:00
jan.nijtmans
23ced66a6b
merge trunk
2015-11-30 07:37:05 +00:00
jan.nijtmans
7004d026a9
merge trunk
2015-11-26 12:04:37 +00:00
jan.nijtmans
b637222a5d
merge trunk
2015-11-25 21:07:55 +00:00
jan.nijtmans
5c26fc08b4
Merge trunk.
...
Use "tcl9" in stead of "tcl8" in various Makefiles, which (finally) allows to remove the hack in tm.tcl introduced in [387d3899e088f9e4]
2015-11-24 09:19:43 +00:00
jan.nijtmans
9a0f7dd2c8
merge trunk
2015-11-22 16:06:02 +00:00
jan.nijtmans
440e5fc7dc
Merge trunk
2015-11-18 08:53:34 +00:00
jan.nijtmans
74ed7238b0
merge trunk
2015-11-14 21:37:35 +00:00
jan.nijtmans
38d734ddcf
better handle out-of-memory conditions in ZIP filesystem
...
hard-wire initial encoding on Android to UTF-8
2015-11-03 13:13:14 +00:00
jan.nijtmans
d90345e5ba
merge trunk
2015-11-01 22:22:24 +00:00
jan.nijtmans
cbeed9da92
Merge trunk. Added comments in ZIP filesystem (no functional changes)
2015-11-01 22:04:02 +00:00
jan.nijtmans
a369d46795
merge trunk
2015-10-28 09:04:46 +00:00
venkat
c032143a98
Merge tzdata2015g from ietf
2015-10-27 23:17:18 +00:00
dkf
1956f4b66b
merge trunk
2015-10-26 07:23:58 +00:00
hypnotoad
90b38da321
Merged with trunk, fixes to allow builds outside of the tcl/unix|win directory
2015-10-26 04:02:36 +00:00
jan.nijtmans
4594b4f27a
merge trunk
2015-10-25 22:59:16 +00:00
jan.nijtmans
b9013a32c5
merge trunk
2015-10-25 22:49:27 +00:00
jan.nijtmans
ff3f0131bd
Merge trunk
2015-10-25 20:14:13 +00:00
jan.nijtmans
6de875d527
merge trunk
2015-10-24 07:50:19 +00:00
jan.nijtmans
5b793fef99
merge trunk
2015-10-23 08:52:41 +00:00
jan.nijtmans
13aa1642ac
Merge trunk
2015-10-23 08:13:49 +00:00
jan.nijtmans
04c18b117e
merge trunk
2015-10-19 12:53:20 +00:00
jan.nijtmans
d905cc4737
merge trunk
2015-10-18 10:48:54 +00:00
jan.nijtmans
d954f3c4ee
Merge trunk
2015-10-14 19:04:36 +00:00
jan.nijtmans
c770024ce1
merge trunk
2015-10-09 19:11:11 +00:00
jan.nijtmans
c16b45ac7f
merge trunk
2015-10-08 14:50:58 +00:00
dgp
602c01d366
merge trunk
2015-10-08 11:56:34 +00:00
jan.nijtmans
c1f95640c4
merge trunk
2015-10-07 07:23:01 +00:00
jan.nijtmans
48ef2b50eb
merge trunk
2015-10-06 10:50:56 +00:00
jan.nijtmans
2a95ee6ac2
merge trunk
2015-10-06 09:46:11 +00:00
jan.nijtmans
e800634951
merge trunk
2015-10-04 10:27:44 +00:00
jan.nijtmans
071aa09c6e
merge trunk
2015-10-04 09:42:24 +00:00
jan.nijtmans
56ad3a16ab
merge trunk
2015-09-30 14:04:41 +00:00
jan.nijtmans
10cd3c906d
merge trunk
2015-09-30 13:57:25 +00:00
jan.nijtmans
0fca37f803
merge trunk
2015-09-29 21:20:04 +00:00
jan.nijtmans
85cfbf4eb7
rebase with novem
2015-09-29 08:06:00 +00:00
jan.nijtmans
6494c04dee
merge trunk
2015-09-29 07:56:53 +00:00
jan.nijtmans
9dd94f7396
Don't use mutex retry mechanism on Android. (problems ???)
2015-09-28 10:58:30 +00:00
jan.nijtmans
ce65c7b396
merge trunk
2015-09-27 12:59:23 +00:00
jan.nijtmans
9bec80c561
merge trunk
2015-09-25 17:12:27 +00:00
jan.nijtmans
a80a084de9
merge trunk
2015-09-23 11:35:03 +00:00
jan.nijtmans
7fd41e8f9e
Merge trunk
2015-09-23 10:42:40 +00:00
jan.nijtmans
5420a19e5c
merge trunk
2015-09-22 08:20:03 +00:00
jan.nijtmans
ddc625f2fe
merge trunk
2015-09-22 08:06:16 +00:00
jan.nijtmans
842b15b839
fixed bug in zipfs error handling (backported from androwish)
2015-09-17 11:47:04 +00:00
jan.nijtmans
4506b4536b
Merge trunk
2015-09-02 07:16:50 +00:00
jan.nijtmans
dbe627594e
Dependancies from androwish upstream
2015-08-31 17:30:01 +00:00
jan.nijtmans
130fe11f2b
Merge trunk, but remove experimental tip-389-impl merge.
2015-08-31 10:22:29 +00:00
jan.nijtmans
3bce1ab6f2
Merge tip-389-impl (experimental)
2015-08-24 19:39:40 +00:00
jan.nijtmans
fe773c0a46
merge trunk
2015-08-24 19:35:08 +00:00
jan.nijtmans
ecc90e3787
one more....
2015-08-24 08:01:23 +00:00
jan.nijtmans
6e0d4b6761
Remove unused internal stub entries as well.
2015-08-24 07:58:42 +00:00
jan.nijtmans
53ad2ab17d
Merge trunk.
...
Throw away TclpGetDate, TclpLocaltime and TclpGmtime and all related dead code. It makes the androwish binary (somewhat) smaller.
2015-08-21 13:29:06 +00:00
jan.nijtmans
a2a59dfb75
merge trunk
2015-08-19 09:06:22 +00:00
jan.nijtmans
829af34165
merge trunk. Put back some (actually unused) Tclp*UnixTime functions.
2015-08-17 14:48:56 +00:00
venkat
68d8dd01a2
Merge tzdata2015f
2015-08-12 05:08:06 +00:00
jan.nijtmans
45ef27688f
merge trunk
2015-08-06 04:34:48 +00:00
jan.nijtmans
1579eae899
merge trunk
2015-08-06 04:33:49 +00:00
jan.nijtmans
1a0d8884f2
merge trunk
2015-08-04 17:34:47 +00:00
dgp
3842344be7
merge trunk
2015-07-29 14:56:50 +00:00
jan.nijtmans
6fcdce9c74
merge trunk
2015-07-16 05:31:51 +00:00
dgp
bbb66ad482
merge trunk
2015-07-15 15:34:43 +00:00
jan.nijtmans
ac785323be
merge trunk. Undo unnecessary changes in tclEncoding.c, making it equal to trunk again (thanks to Christian Werner for testing this on androidwish).
2015-07-15 14:52:25 +00:00
jan.nijtmans
d68207f7ca
Remove unused local variables. Now unix/tclUnixTime.c is idential in "androwish" compared to "novem". (Yes, those functions are planned to be removed in Tcl 9.0!)
2015-07-15 09:31:11 +00:00
jan.nijtmans
ddc615491d
Merge trunk.
...
Remove TclpLocaltime, TclpGmtime and TclpGetDate completely, in order to prove that those functions are not used anywhere within Tcl any more. They are only retained for the internal stub entries, which might be used by extensions, but androwish doesn't use that.
2015-07-15 09:22:01 +00:00
jan.nijtmans
b1031c0d07
merge trunk
2015-07-15 07:52:41 +00:00
jan.nijtmans
cdba31b9d5
merge trunk
2015-07-13 09:41:02 +00:00
jan.nijtmans
593c09234c
merge trunk
2015-07-13 09:01:44 +00:00
dgp
7e3e434235
merge trunk
2015-07-05 17:45:27 +00:00
jan.nijtmans
83da0d6374
merge trunk
2015-07-02 13:18:19 +00:00
jan.nijtmans
6295fccc15
merge trunk
2015-07-02 13:17:14 +00:00
jan.nijtmans
bb504b06b4
merge trunk
2015-07-02 12:19:15 +00:00
jan.nijtmans
55717aeaea
merge trunk
2015-07-02 12:10:35 +00:00
jan.nijtmans
e886aae69e
merge trunk
2015-07-02 09:18:59 +00:00
jan.nijtmans
59b6753d29
merge trunk
2015-07-02 08:42:03 +00:00
venkat
2e9879b29c
Merge tzdata2015e from ietf.org
2015-06-28 01:55:42 +00:00
jan.nijtmans
6b51c1fca1
merge trunk
2015-06-25 08:08:32 +00:00
jan.nijtmans
2410a9036f
merge trunk
2015-06-24 14:45:45 +00:00
jan.nijtmans
54bb65abf5
merge trunk
2015-06-23 22:22:39 +00:00
jan.nijtmans
573b39572e
merge trunk
2015-06-23 20:42:23 +00:00
jan.nijtmans
adceea62b6
Branch for androwish, as help to keep track on which android-specific changes could be included into the core without harm.
2015-06-21 22:29:11 +00:00
jan.nijtmans
5821708a49
Fix win compile
2015-06-18 20:58:00 +00:00
jan.nijtmans
0ea82c2d43
merge novem
2015-06-18 19:58:45 +00:00
jan.nijtmans
7679c0513c
merge trunk
2015-06-18 19:35:43 +00:00
jan.nijtmans
348f13ad57
Merge trunk. Upgrade to Unicode 8.0
2015-06-18 13:09:52 +00:00
dgp
6ae60815c7
merge trunk
2015-06-04 11:49:18 +00:00
jan.nijtmans
8a16ff2b7f
Merge trunk
2015-05-27 21:11:35 +00:00
jan.nijtmans
6cbae6bbd1
Merge trunk
2015-05-25 13:03:07 +00:00
dgp
9480585347
merge trunk
2015-05-20 13:42:03 +00:00
dgp
c582b68ddf
merge trunk
2015-05-14 11:20:17 +00:00
dgp
61b992f9d6
merge trunk
2015-04-30 15:32:00 +00:00
jan.nijtmans
382eea8b75
merge trunk
2015-04-29 21:51:12 +00:00
dgp
af3600a6ed
merge trunk; purge TCL_HASH_KEY_STORE_HASH customization. That was a
...
migration crutch to help code get to Tcl 8.4. It need not survive into 9.0.
2015-03-24 18:37:17 +00:00
dgp
21e9e3a800
merge trunk
2015-03-24 15:13:17 +00:00
hypnotoad
e448db56ee
Checkpointing the core_zip_vfs branch against the lastest release
2015-03-17 01:07:44 +00:00
dgp
f6572d0c8d
merge trunk
2015-03-12 15:06:29 +00:00
dgp
baa2eb6600
merge trunk
2015-03-11 20:55:33 +00:00
dgp
9071374443
merge trunk
2015-02-26 16:35:48 +00:00
venkat
89a037dc48
Merge trunk and tzdata2015a from ietf.org
2015-02-12 17:08:46 +00:00
jan.nijtmans
030b2d7a5e
merge trunk
2015-01-26 21:00:15 +00:00
jan.nijtmans
dd60d52814
apply contributed patch which fixes a segfault
2015-01-17 18:40:19 +00:00
jan.nijtmans
428c3163c5
merge trunk
2015-01-17 17:42:53 +00:00
dgp
7b544a220f
merge trunk
2014-12-23 18:44:21 +00:00
dgp
84864592a6
merge trunk
2014-12-23 15:19:12 +00:00
jan.nijtmans
3d03d92371
merge trunk (but 86 -> 90)
2014-12-15 10:23:23 +00:00
venkat
2a796662ec
merge tzdata2014j from ietf.org
2014-12-10 00:38:41 +00:00
jan.nijtmans
e8bdd58fb2
merge trunk
2014-12-08 16:23:09 +00:00
hypnotoad
339d4879a0
Bringing core_zip_vfs up to date with trunk
2014-12-05 15:05:08 +00:00
jan.nijtmans
9c58ff6834
merge trunk
2014-11-21 13:10:25 +00:00
hypnotoad
ded95f89d3
Added the zvfstools file to the installer
2014-11-17 15:04:05 +00:00
hypnotoad
5949095693
For the feature branch we now enable Zip file functions for all shells in Unix, and
...
explicitly name a new executable "basekit", which is a statically linked tclsh
with an attached library VFS
2014-11-15 00:12:00 +00:00
jan.nijtmans
410178bb88
Merge trunk.
...
Update to Unicode 8 beta
2014-11-14 12:29:54 +00:00
jan.nijtmans
d61db937ed
merge trunk
2014-11-14 09:47:56 +00:00
hypnotoad
9cbfbd034e
Add a mode for injecting the TkDll into the VFS
2014-11-13 15:50:08 +00:00
hypnotoad
3b50f8bcd6
Removed _ANSI_ARGS_ macros. They were not compiling in Tk for some reason today...
2014-11-13 14:58:01 +00:00
hypnotoad
85442c797c
Tweak to delete the tclzsh.vfs directory before the rm -rf tclvfs* statement
...
in "make clean"
2014-11-13 14:30:26 +00:00
hypnotoad
3e723b7f5e
Merging in changes from trunk
2014-11-13 14:13:08 +00:00
dgp
41f0c5238f
merge trunk
2014-11-12 04:44:56 +00:00
dgp
054f6c2802
merge trunk
2014-11-06 16:56:05 +00:00
hypnotoad
6b423f0d9e
Fixes to allow a standard tclsh build to do the zip file encoding, instead of
...
having to do it all through the zip enabled shell.
2014-10-21 01:20:10 +00:00
hypnotoad
bdc43f8241
Tweaked zvfstools to always allows the zvfs::mkzip command,
...
and defer the check for the rest of the zvfs tools until
the first call to zvfs::unzip
2014-10-21 01:11:22 +00:00
hypnotoad
9171dde346
Replaced calls to zip with calls to the new pure-tcl zipfile encoder embedded
...
in zvfstools.
Fixed a bug in the encoder for zvfstools. It was exporting files, but not directories.
This lack of directories was causing the bootloader to miss that /zvfs/boot/tcl/init.tcl
existed, because it was checking for the existance of /zvfs/boot/tcl. I compared the
archives created by zvfstools::mkzip to the archives created by zip, and the
difference came down to the fact that zip did create TOC entries for directories
and zvfstools::mkzip was failing to do so. (So I'm pretty sure the new behavior
is "standard.")
2014-10-21 01:04:07 +00:00
hypnotoad
6826dbab46
Added the zipfile::encode routine from Tcllib, and a rudimentary zipfile decode as a package "zvfstools"
2014-10-20 20:54:05 +00:00
hypnotoad
b2164040ac
Renamed "tclkit" to "tclzsh"
...
Removed tclzsh from "make binaries". (It the user wants it, they have to ask for it. It requires a working Tclsh and an exernal Zip)
2014-10-20 19:59:19 +00:00
hypnotoad
307bb5f72d
Removed the dual ported canonical path mapping scheme to allow Odie and FreeWrap to coexist. The results of both functions were functionally identical.
2014-10-20 01:23:11 +00:00
hypnotoad
963de5ae2a
Added thread mutex/release calls around the potentially contested regions of the code:
...
Mounting a file system
Unmounting a file system
Reading data from an archive file
The mutexes, as implemented, allow only one thread at a time access to the innards of ZipVfs. It does not try to handle the cases where two archives may be open by two different threads. (One will still have to wait until the other has finished.)
Removed all of the compiler warnings under Unix
(Still have to test the code under Windows.)
2014-10-20 01:20:54 +00:00
hypnotoad
2b022e6979
Added a "_bare" stage to capture the kit executable before the VFS is wrapped to it.
2014-10-19 20:20:09 +00:00
hypnotoad
cfd9edb0fe
Update the zipvfs implementation with additional code from both Odie and
...
Dennis LaBelle's FreeWrap.
Split the boot loader code out of tclZipVfs.c and into its own File.
Altered the structure of tclZipVfs.c to better mirror that which is distributed
in Odie and FreeWrap to make popping and swapping improvements easier.
2014-10-19 20:03:00 +00:00
seandeelywoods
74b45809d1
Bringing in the latest fixes from trunk
2014-10-19 11:06:00 +00:00
dgp
e456c84871
merge trunk:
2014-10-18 22:49:12 +00:00
dgp
6db6c3291b
merge trunk
2014-10-10 20:03:41 +00:00
jan.nijtmans
4145712613
Merge trunk
2014-10-08 07:14:34 +00:00
dgp
84ff8a7d78
merge trunk
2014-10-03 20:26:01 +00:00
dgp
9454354f0e
merge trunk
2014-10-02 14:51:04 +00:00
dgp
cd993feddb
merge trunk
2014-09-28 22:23:45 +00:00
hypnotoad
507bab4b21
Merge with trunk
2014-09-22 18:27:45 +00:00
hypnotoad
f45b6c1066
Merge from trunk
2014-09-19 06:36:34 +00:00
jan.nijtmans
950a2a295d
merge trunk
2014-09-17 13:16:56 +00:00
tne
ebebb29be9
Walked back modifications to tclConfig.sh.in
...
(Builds don't require them anymore)
2014-09-17 08:33:16 +00:00
tne
2e0b2484a9
Removed non-working tclkit-direct makefile technique
2014-09-17 08:31:21 +00:00
hypnotoad
ff7a13136d
Added a "make tclkit" to makefile
...
Removed debugging fprintf
2014-09-16 23:07:44 +00:00
hypnotoad
4b8398a6ed
Removed non-working code from the end of the mkVfs.tcl script
2014-09-15 14:59:20 +00:00
hypnotoad
a684c1a281
Modified the makefile to produce a distinct name for a kit depending on whether
...
it was compiled statically or dynamically.
This allows builders to run and install successive builds of Tcl both
statically and dynamically.
2014-09-15 10:04:50 +00:00
hypnotoad
b25f4f5272
The unix build has been pared down to the minimum hooks required to build a
...
VFS enabled Tclsh with a simple compile flag. Modified the BC and Visual Studio
makefiles for Windows, but these are untested.
The default for Tcl is now to build a static or dynamic shell in the same
way it would build a static or dynamic shell for Tclsh. Controlled by the
--enable-shared flag. Note however that ZLib is compiled in to every
VFS enabled shell. (Rather than rely on a dylib.)
The "direct" build is maintained in the Makefile, mostly as a h(istor|yster)ical
reference. The technique is not portable to Windows, and may not work outside of
OSX.
2014-09-15 09:44:39 +00:00
hypnotoad
c003b95ed4
Backing out code that inserted a debug statement into the http package
2014-09-12 16:13:00 +00:00
hypnotoad
0cbfed0c55
Merging in changes from trunk
2014-09-12 16:06:13 +00:00
hypnotoad
ee30b1c0ab
Developed an improved bootloader built around TclSetPreInitScript. The new bootloader
...
now mounts the VFS before the interpreter is initialized, and gives it enough
hints to point to the VFS for init.tcl and main.tcl (If present)
Also, Tcl_ZVfs_Boot now takes and additional argument: the name of the file to mount.
As the difference between a normal shell and a zvfs enabled shell is one again, several
lines of code, the example shells is folded back into tclAppInit.c and controlled with
macros.
The ZVFS commands are now loaded in as a static package.
Removed the Stubs entry for Tcl_Boot_ZVFS, it's now intended that shells build
their own copy of tclZipVfs.o
2014-09-12 16:03:20 +00:00
hypnotoad
b3362b7dfd
Folding the core_zip_vfs_static work back into main branch. The pure-dynamic line
...
of research was not panning out
2014-09-09 15:23:16 +00:00
hypnotoad
99d72ae892
Added the "run tcl dll from vfs" magic to windows
2014-09-09 15:09:23 +00:00
hypnotoad
39145d45d1
Add tclkit to "make all" and install
2014-09-09 15:02:11 +00:00
hypnotoad
627a5bfa73
Instead of statically link the tclkit executable, pack the tcl dll in
...
the VFS
2014-09-09 14:47:12 +00:00
hypnotoad
ab35383fda
Add Static library link instructions to tclConfig.sh
2014-09-09 13:59:09 +00:00
hypnotoad
9f12483ed2
Instead of statically compiling the Tclkit executable straight from
...
.o files, generate a static library (libtclkit.a), and compile against
that.
2014-09-09 07:55:45 +00:00
hypnotoad
4e331e27f8
Added the tclkit binaries to install
2014-09-09 06:54:36 +00:00
hypnotoad
71e02d5298
Created a designated bootloader for Tclkits under windows
...
On windows, tclkits build a private VFS instead of relying on make install
Added a tool to build the tcl kit's VFS, as well as index the bundled packages
2014-09-06 11:41:26 +00:00
hypnotoad
0008ed9ea4
Preliminary checkin for Windows tclkit builds
2014-09-06 01:21:54 +00:00
hypnotoad
3bd1370dbc
New build process for Tcl kits in Unix (Windows port to follow...)
...
Rather than force a "make install" to build the vfs, the tclkit now
performs it's own "install" to a subdirectory (using destdir) to collect
the files it needs for its vfs.
tclkits no longer link to the tcl library. Instead, all of the obj files that
are used to assemble the lib are instead packed into the executable. Thus,
"make tclkit" produces the tclkit. That's it. No dlls. No tclsh. Makes no
other mark on the file system save the bare essentials it needs. It uses the
same variables in the makefile as the tcl libraries, so as they are updated
so too is tclkit.
Zlib files are *always* build for tclkits. Tclkits can never rely on the
presence of zlib on the systems in which they will be installed.
2014-09-06 00:58:23 +00:00
hypnotoad
a426ba29d5
Updating to the latest trunk
2014-09-05 20:34:55 +00:00
hypnotoad
a813938bef
Removed a typo
2014-09-04 01:27:55 +00:00
hypnotoad
295272b73c
Removed some debugging code of mine...
2014-09-04 01:23:45 +00:00
hypnotoad
703177e26a
Adapted the Unix startup process to ifdef out the KIT specific behaviors.
...
tclkit is now build as a standalone exectuble.
2014-09-04 01:22:20 +00:00
hypnotoad
b992e62207
Re-engineered the windows kitbuilding process to produce a standalone
...
executable (in a similar process as tcltest is made).
The kit specific functions of tclAppInit have been wrapped around define
macros, and are only active if TCL_KIT is defined. (Which is only done
when building the tclkit executable)
2014-09-04 00:30:04 +00:00
tne
4691bea988
Typo Fix
2014-09-03 22:03:08 +00:00
hypnotoad
fce753c3d5
Merging changes from trunk
2014-09-03 21:24:17 +00:00
tne
670a31f84f
Closing the hypnotoad branch
2014-09-03 21:11:30 +00:00
tne
25358e0ba4
Updating hypnotoad branch
2014-09-03 21:10:46 +00:00
hypnotoad
b6f9bc7ca8
More tweaks to makefiles
2014-09-03 20:41:12 +00:00
hypnotoad
79ccab2fd2
Merging in changes from Tcl
...
Reduced the code necessary to bootstrap a shell to a single C call.
Reduced the number of new stub entries to 1
Fixed a Makefile goof that was preventing kits from running properly.
2014-09-03 20:32:08 +00:00
hypnotoad
8d1d673760
Backported dkf's documentation effort to the main core_zip_vfs branch
2014-09-03 10:50:06 +00:00
dkf
6c2512bc35
Clean up of docs, import basic text from comments in code, format.
2014-09-03 10:24:53 +00:00
jan.nijtmans
e5db9c5605
merge trunk
2014-09-03 08:33:46 +00:00
hypnotoad
2c1a55d314
Merging in the "official" windows hang patch
2014-09-02 22:06:21 +00:00
hypnotoad
e88bbb7296
Merging with fix_windows_zip
2014-09-02 21:19:56 +00:00
hypnotoad
06547a29be
Fix for the cases where a dynamic build is used
2014-09-02 21:16:20 +00:00
hypnotoad
8ca1a78b1a
Revised patch (per ferrieux)
2014-09-02 20:26:50 +00:00
hypnotoad
6c59decfba
Merging in changes from core_zip_vfs
2014-09-02 20:17:57 +00:00
hypnotoad
732a963e04
Added a hac^H^H^Hpatch from ferrieux to mask around the exit hang on windows until
...
the issues are fixed at the core level.
2014-09-02 20:16:54 +00:00
hypnotoad
cd9922f497
Pared down tclZipVfs to eliminate #ifdef branches that we don't have to worry
...
about with a modern Tcl.
Replaced dummy calls to VFS with NULL
Where practical, replaced string-based Tcl IO calls with their new obj-based
successors. (Tcl_FSOpenChannel, Tcl_FSStat, etc)
Eliminated compiler warnings under Windows
2014-09-02 18:30:23 +00:00
hypnotoad
9554b52dba
Start of the "hypnotoad" branch, combining the various patches I'm testing
...
against.
2014-09-02 15:23:56 +00:00
hypnotoad
8c90b3ae99
Patch to make the default behavior for Tcl under Windows to embed the Zlib
...
sources rather than add a dependency to a dynamic zlib.dll
2014-09-02 15:21:23 +00:00
hypnotoad
811d367c49
Rather than make a special executable, tclkits are now a copy of tclsh with an attached zip file
2014-09-02 11:04:53 +00:00
hypnotoad
1d9824ec60
Tweaking the Makefile instructions for Tclkits under unix
2014-09-01 23:23:37 +00:00
dkf
5c6730bd0f
Squelch most warnings.
2014-09-01 13:51:59 +00:00
dkf
78b3c04320
Bring the source more into line with Tcl style.
2014-09-01 10:45:41 +00:00
hypnotoad
0ce217e309
Merging in changes from core.
2014-09-01 10:03:54 +00:00
hypnotoad
d1536b7378
Tweaks to the Windows makefile.
2014-09-01 09:41:09 +00:00
hypnotoad
eb664a3d72
Tweak the Windows implementation of Tcl_AppInit() to match Unix
2014-09-01 09:36:58 +00:00
jan.nijtmans
ff7f3e14a6
merge trunk
2014-09-01 08:19:25 +00:00
hypnotoad
96dd5baf98
Adding the ability for the Tcl core to build self-contained Zip-based executables
...
* Integrated a pure-C implementation of ZipVfs
* Modified Tcl_AppInit() to look for a zipvfs mounted on the executable
2014-09-01 07:15:40 +00:00
jan.nijtmans
2d10a3d198
merge trunk
2014-08-27 20:58:30 +00:00
dgp
c44e7fcbe5
merge trunk
2014-08-24 17:50:36 +00:00
dgp
f19aaad970
merge trunk
2014-08-19 14:57:05 +00:00
jan.nijtmans
6872b39b3f
Merge trunk.
...
Remove (old and deprecated) SystemV timezone information.
2014-08-14 06:49:43 +00:00
jan.nijtmans
8872d2406c
merge trunk
2014-07-17 20:37:00 +00:00
jan.nijtmans
18eed1d727
merge trunk
2014-07-10 14:23:25 +00:00
jan.nijtmans
8ebd51d17f
merge trunk
2014-07-04 12:51:17 +00:00
jan.nijtmans
19fb52deac
merge trunk
2014-06-20 20:00:10 +00:00
jan.nijtmans
c4af5fcc1b
merge trunk
2014-06-16 12:40:24 +00:00
jan.nijtmans
7b59202f3a
merge trunk
2014-05-23 15:08:45 +00:00
dgp
dd743368ee
merge trunk
2014-05-16 15:33:05 +00:00
jan.nijtmans
0706ebeb7b
merge trunk
2014-05-09 13:50:41 +00:00
jan.nijtmans
d7b8af55e7
int -> size_t for hash tables
2014-05-02 07:39:44 +00:00
jan.nijtmans
e338d72a45
merge novem
2014-05-02 07:15:49 +00:00
jan.nijtmans
ccc37a9193
Update Unicode tables to Unicode 7.0 beta
2014-05-02 06:58:21 +00:00
jan.nijtmans
fa235831f2
merge trunk
2014-05-01 15:16:37 +00:00
jan.nijtmans
ce72e40607
Merge trunk.
...
Update Unicode tables to Unicode 7.0 beta.
2014-05-01 09:40:52 +00:00
jan.nijtmans
3ae9b2df5c
merge trunk
2014-04-16 18:53:55 +00:00
jan.nijtmans
7c00be9c38
merge trunk
2014-04-16 11:21:58 +00:00
jan.nijtmans
f0f432af92
merge trunk.
...
Remove (internal) functions TclWinGetServByName(), TclWinGetSockOpt() and TclWinSetSockOpt(), which are no longer needed for any purpose.
2014-04-16 11:06:19 +00:00
jan.nijtmans
c4700cbf6d
merge trunk
2014-04-15 10:46:23 +00:00
jan.nijtmans
e8b298cf5d
merge trunk
2014-04-07 14:56:30 +00:00
jan.nijtmans
8a09097741
merge trunk
2014-03-31 18:47:26 +00:00
jan.nijtmans
9d05820f02
merge trunk
2014-03-20 10:14:32 +00:00
jan.nijtmans
001ceafb23
merge trunk
2014-03-09 21:58:51 +00:00
jan.nijtmans
c97a430827
merge-mark
2014-02-26 13:18:07 +00:00
jan.nijtmans
67072c3d47
merge trunk
2014-02-25 15:59:46 +00:00
jan.nijtmans
20deebc218
merge trunk
2014-02-25 08:32:55 +00:00
jan.nijtmans
129cc066e9
merge trunk
2014-02-21 20:08:47 +00:00
jan.nijtmans
92f89ecbb5
merge trunk
2014-02-18 09:56:16 +00:00
jan.nijtmans
6d62578bd3
Merge trunk
2014-02-11 11:13:41 +00:00
jan.nijtmans
6c766bfaa3
merge trunk
2014-02-06 22:10:55 +00:00
jan.nijtmans
4e8387e36a
merge trunk
2014-02-03 15:29:09 +00:00
jan.nijtmans
16ae2d2ae8
merge trunk
2014-02-03 09:53:42 +00:00
jan.nijtmans
88600c03a3
merge trunk
2014-01-31 09:26:33 +00:00
jan.nijtmans
f53221ce41
merge trunk
2014-01-25 21:42:16 +00:00
jan.nijtmans
0b63acf914
merge trunk
2014-01-23 23:12:48 +00:00
jan.nijtmans
5191cbbfe2
merge trunk
2014-01-02 17:05:45 +00:00
jan.nijtmans
ee2dd7eabb
merge trunk
2014-01-01 12:36:14 +00:00
jan.nijtmans
3da68f9953
merge trunk
2013-12-20 08:18:32 +00:00
jan.nijtmans
567da05efa
merge trunk
2013-12-19 12:21:25 +00:00
jan.nijtmans
882735641e
merge trunk
2013-12-15 21:28:13 +00:00
jan.nijtmans
4032f9d4dc
Take over "changes" and "doc/file.n" from trunk, it should have been merged to "novem" already.
2013-11-25 13:02:54 +00:00
jan.nijtmans
a8fdebc1eb
Don't depend on TCLAPI to be defined in <tcl.h>. If this tclOODecls.h is ever installed in an Tcl 8.x environment, it still will be usable normally.
2013-11-25 12:39:27 +00:00
jan.nijtmans
0f29d005d6
merge trunk
2013-11-24 22:12:57 +00:00
jan.nijtmans
c98fcd0e26
merge trunk
2013-11-13 22:18:33 +00:00
jan.nijtmans
8615597984
rebase TIP [ http://tip.tcl.tk/425 |425] implementation
2013-11-08 14:57:44 +00:00
jan.nijtmans
1800d11520
Merge trunk (order of man.macros inclusion).
...
Simplify TCLAPI definition: Since there are extern "C" guards around all TCLAPI usage, the definition itself doesn't need special C++ handling any more.
2013-11-08 14:38:58 +00:00
jan.nijtmans
e0080d92e3
merge trunk
2013-11-04 10:26:36 +00:00
jan.nijtmans
09152d341c
merge trunk
2013-10-29 13:25:18 +00:00
jan.nijtmans
d5553abfbd
merge trunk
2013-10-27 12:55:20 +00:00
jan.nijtmans
9255d52d01
Prevent tclOOIntStubs from being exported from the shared library.
2013-10-17 11:22:47 +00:00
jan.nijtmans
e8ca755d06
merge trunk
2013-10-17 09:48:16 +00:00
jan.nijtmans
4e40c57d05
Eliminate TclOOInitializeStubs() completely. This fixes [dfc08326e3], at least the TclOOInitializeStubs() surprise part of it.
...
Further refactoring is possible, eliminating tclOOStubsPtr and/or tclOOIntStubsPtr. A discussion about that is opened on the Tcl Core List.
This is fully source compatible for TclOO extensions (e.g. Itcl, tdbc) but binary incompatible.
TODO: update documentation, but that can wait until the refactoring is complete.
2013-10-17 09:00:02 +00:00
jan.nijtmans
8598cdcc02
merge trunk
2013-10-16 05:09:58 +00:00
jan.nijtmans
77f21ce1db
merge trunk
2013-10-14 08:36:43 +00:00
jan.nijtmans
9ad2ec38c8
Fix definition of TCLAPI macro, when Tcl header files are used from within C++.
2013-10-13 17:22:28 +00:00
jan.nijtmans
92258c44a5
The Tcl 9.0 way of how [dfc08326e3] should be fixed: Real integration of TclOO in Tcl means that calling the function Tcl_OOInitStubs() should be elminated in full. This branch shows how to do that.
2013-10-13 16:19:44 +00:00
jan.nijtmans
4434155b9f
Add note to ChangeLog, copied from Tcl 8.6 ChangeLog note
2013-10-13 15:32:46 +00:00
jan.nijtmans
fdb028ce1c
merge trunk
2013-10-13 11:02:12 +00:00
jan.nijtmans
23cb83fe47
merge trunk
2013-10-10 14:37:24 +00:00
jan.nijtmans
0c31f565ad
merge-mark (novem already had the Unicode 6.3 tables)
2013-10-09 22:04:38 +00:00
jan.nijtmans
1feb781a45
Merge trunk.
...
Remove obsolete lines in tclOO*Decls.h: TCL_STORAGE_CLASS is not used anywhere in "novem" any more.
2013-10-08 11:58:49 +00:00
Kevin B Kenny
befe4b839e
Merge trunk. Restore buildability by adding 'scspec TCLAPI' in tclOOInt.decls.
2013-10-05 16:44:05 +00:00
jan.nijtmans
d10266cfa8
merge trunk
2013-10-02 08:17:25 +00:00
jan.nijtmans
355c9fe5f3
merge trunk
2013-09-30 14:08:32 +00:00
jan.nijtmans
1b3fcbabc3
merge trunk
2013-09-30 09:44:29 +00:00
jan.nijtmans
0fbbfd7f67
merge trunk
2013-09-30 08:31:37 +00:00
jan.nijtmans
967a775c5a
merge trunk
2013-09-27 17:39:26 +00:00
jan.nijtmans
5cb61b0493
merge trunk
2013-09-26 14:28:50 +00:00
jan.nijtmans
a1fe1358f3
merge trunk
2013-09-23 20:04:54 +00:00
dgp
7b975975f2
merge trunk
2013-09-21 12:49:59 +00:00
jan.nijtmans
a333bbaa12
rebase TIP [ http://tip.tcl.tk/425 |425] implementation
2013-08-19 09:10:36 +00:00
jan.nijtmans
cab7c54e3a
merge trunk
2013-08-14 14:40:40 +00:00
jan.nijtmans
f218f909ad
restore all #ifdef TCL_WIDE_INT_IS_LONG, which were accidently removed in [19ff9b95e1]
2013-08-14 14:15:36 +00:00
dgp
d0e9f9dade
[0aa8f12dcc] Restore minimum code to stop failing tests.
2013-08-13 19:26:35 +00:00
jan.nijtmans
2bc847ac57
rebase
2013-08-11 15:19:42 +00:00
dkf
24197ad684
merge trunk
2013-08-08 20:19:42 +00:00
dgp
92323ee89f
merge trunk
2013-08-05 14:47:27 +00:00
jan.nijtmans
876ca8cbf3
merge trunk
2013-08-02 10:33:28 +00:00
dkf
0f2d93b3a6
merge trunk
2013-08-01 13:40:45 +00:00
dkf
f96b9f2783
And documentation
2013-08-01 13:27:37 +00:00
dkf
f370c68d92
Support type discovery in coroutines.
2013-08-01 13:21:04 +00:00
dkf
f8e147cb73
Improving the test suite for [info cmdtype].
2013-08-01 06:44:24 +00:00
dkf
ceb88b82f1
merge trunk
2013-07-31 20:05:00 +00:00
dkf
a6c0992f47
Added tests
2013-07-31 20:03:43 +00:00
jan.nijtmans
9283692888
rebase
2013-07-29 10:51:05 +00:00
dkf
9acc153698
merge trunk
2013-07-26 13:30:31 +00:00
jan.nijtmans
017b8b10b6
Fix Cygwin build: put Tcl_ConsolePanic in the stub library, not the dll.
2013-07-24 14:14:34 +00:00
jan.nijtmans
4ddfe70ae2
implement for Cygwin as well
2013-07-23 12:42:52 +00:00
jan.nijtmans
53dc25e532
Add documentation
2013-07-23 11:54:49 +00:00
jan.nijtmans
542b57cf21
rebase
2013-07-23 10:57:22 +00:00
jan.nijtmans
827e43bd24
merge trunk
2013-07-23 09:49:01 +00:00
dkf
afd4d17b3c
Changed subcommand name following community feedback.
2013-07-16 14:12:40 +00:00
dkf
82132b6c4c
Some documentation.
2013-07-10 13:45:52 +00:00
jan.nijtmans
68065e88cd
Unbreak MSVC6 debug build (thanks Andreas Kupries!)
2013-07-08 18:56:51 +00:00
jan.nijtmans
783f9f4aad
Merge stwo's fork and trunk back to a single "novem".
2013-07-08 07:20:09 +00:00
dkf
21d8621d11
Added a mechanism for discovering the "type" of a command.
2013-07-07 11:15:08 +00:00
stwo
2f4d9112d2
OpenBSD/m88k is now elf. Remove unneeded elf check.
2013-07-07 01:09:10 +00:00
Kevin B Kenny
109789c175
merge http://www.iana.org/time-zones/repository/releases/tzdata2013d.tar.gz
2013-07-06 22:33:54 +00:00
jan.nijtmans
210e123b07
merge-mark
2013-07-05 14:06:36 +00:00
jan.nijtmans
343300e7ed
merge trunk
2013-07-04 19:33:54 +00:00
jan.nijtmans
c2e6c5ebc3
merge trunk.
...
Remove Tcl_SetPanicProc from stub table; it is meant to be called by embedders, before the stub table is even initialized.
2013-06-27 09:53:04 +00:00
jan.nijtmans
e36fd891e4
rebase
2013-06-27 09:07:04 +00:00
jan.nijtmans
954b241f34
rebase
2013-06-26 08:23:31 +00:00
jan.nijtmans
0a4fd3940a
merge trunk
2013-06-25 12:07:45 +00:00
jan.nijtmans
901190e2cb
Merge trunk.
...
Remove TclpReaddir and TclpInetNtoa from internal stub table: It's not used anywhere any more.
2013-06-21 12:13:52 +00:00
jan.nijtmans
89ec383cdc
Update Unicode tables to latest 6.3 beta version
2013-06-18 13:59:30 +00:00
jan.nijtmans
f038b7fc3d
merge trunk
2013-06-18 13:46:12 +00:00
jan.nijtmans
d2b087ebf8
merge trunk
2013-06-18 11:50:02 +00:00
jan.nijtmans
3f56494834
rebase
2013-06-18 09:52:53 +00:00
jan.nijtmans
6a811b97b9
rebase
2013-06-14 11:21:00 +00:00
jan.nijtmans
a9efa6f602
merge trunk (except for disabled MSVC warnings, see [48b92a6ab6])
2013-06-12 10:35:08 +00:00
jan.nijtmans
33d091ecac
merge trunk
2013-06-10 07:41:52 +00:00
jan.nijtmans
30dbc0a75b
Update Unicode tables to Unicode 6.3 beta.
...
Merge trunk
2013-06-10 07:36:47 +00:00
jan.nijtmans
1900da6d24
rebase
2013-06-07 13:22:20 +00:00
jan.nijtmans
8f38d12eee
TIP #414 implementation
2013-06-04 08:34:32 +00:00
jan.nijtmans
e73451abd4
merge trunk
2013-05-28 07:25:32 +00:00
jan.nijtmans
3db39eda8a
merge trunk
2013-05-19 20:44:36 +00:00
jan.nijtmans
3f5f45f002
fix directory where tclWinPanic.c resides
2013-05-17 14:09:20 +00:00
jan.nijtmans
daa073ebb1
merge trunk
2013-05-17 13:49:39 +00:00
jan.nijtmans
e6528cb48d
rebase
2013-05-17 07:36:01 +00:00
jan.nijtmans
d6392f7a28
merge trunk
2013-05-15 11:03:41 +00:00
jan.nijtmans
ff0eb26d90
merge trunk
2013-05-15 10:42:38 +00:00
jan.nijtmans
5a73cd05de
merge trunk
2013-05-13 19:30:16 +00:00
jan.nijtmans
2914b6fbc0
merge trunk.
...
Add back Tcl_AddErrorInfo to stub table (it's still used by Tk 8.6)
2013-05-13 15:17:36 +00:00
jan.nijtmans
8cd35a3b77
merge trunk.
...
remove some unneeded #undef's
2013-05-07 15:02:20 +00:00
jan.nijtmans
d96b2343b0
Change Tcl_UtfNcmp and friend's signature to use size_t in stead of unsigned long.
...
This is potentially binary incompatible on win64, but not on any other platform.
It eliminates the need for special stub-wrappers on Cygwin64 for those functions.
"novem" doesn't promise binary compatibility anyway.
2013-05-06 09:08:45 +00:00
jan.nijtmans
936ef06e82
merge trunk
2013-05-06 07:35:05 +00:00
jan.nijtmans
710249fe7f
Eliminate use of NO_WIDE_TYPE everywhere: It's exactly the same as TCL_WIDE_INT_IS_LONG
2013-04-23 14:38:52 +00:00
jan.nijtmans
f292911c6d
Revert part of [bb4707eb077f0cd9], which removed Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj from the stub table and replaced those by macros. Add those functions back were they were. Reason: the upcoming cygwin64 will change the definition of 'long', I'm not sure any more this was a good idea. More investigation needed before doing something like this in "novem".
2013-04-21 21:01:26 +00:00
jan.nijtmans
659d602deb
merge-mark
2013-04-19 09:49:33 +00:00
jan.nijtmans
5eabb6fcd1
merge trunk
2013-04-12 11:31:30 +00:00
jan.nijtmans
041184928d
rebase
2013-04-11 15:10:36 +00:00
jan.nijtmans
b108063f75
rebase
2013-04-11 10:18:15 +00:00
jan.nijtmans
978afd0260
merge-mark
2013-04-04 07:10:19 +00:00
jan.nijtmans
9ce336b3d1
rebase
2013-04-03 21:24:39 +00:00
jan.nijtmans
b5da760544
rebase
2013-04-03 21:07:40 +00:00
jan.nijtmans
976650bbd1
merge trunk
2013-04-03 20:55:12 +00:00
jan.nijtmans
7e520e2089
rebase
...
increase limit to 26000 characters
2013-04-03 13:12:14 +00:00
jan.nijtmans
07af7d5337
better comments
2013-04-03 12:38:46 +00:00
jan.nijtmans
696a9ba3f9
Use Tcl_InitSubsystems in Tcl_Main macro
2013-04-01 21:48:51 +00:00
jan.nijtmans
9db6776dbe
initsubsystems
2013-04-01 16:45:36 +00:00
jan.nijtmans
1c6a242b2e
2 lines not used any more
2013-03-31 22:09:40 +00:00
jan.nijtmans
a58db736cf
Fix Tcl_Main macro
2013-03-31 20:27:33 +00:00
jan.nijtmans
449ea43718
Going forward trying to define a better Tcl_InitStubsystems()
2013-03-31 20:17:46 +00:00
jan.nijtmans
260c2634b9
better leave tclPanic.c as it was
2013-03-31 19:32:57 +00:00
jan.nijtmans
6d0db57c02
Better Windows console panic proc, still to be TIPped.
2013-03-30 21:44:39 +00:00
dgp
11593d64b8
merge trunk so review patch/diff is smaller
2013-03-26 18:00:54 +00:00
jan.nijtmans
e4a0b9dbfd
Looks like TCL_INIT_CUSTOM (previously known as TCL_INIT_STUFF) is not a bad idea at all,
...
provided it has a Tcl_Interp* argument as well, so it can initialize the stub table.
A typedef for the function is not necessary, as a variable-argument function doesn't do any type checking. It's for the experienced developer anyway.
2013-03-26 15:57:45 +00:00
jan.nijtmans
bb770e33f8
Add TCL_INIT_STUFF
2013-03-26 13:58:53 +00:00
jan.nijtmans
d048128004
Version having TCL_INIT_PANIC as only Tcl_InitSubsystems() flag
2013-03-26 10:20:03 +00:00
jan.nijtmans
eecece2afe
TCL_INIT_ENCODINGPATH
2013-03-25 15:00:55 +00:00
jan.nijtmans
7e01d5f28f
Eliminate some usage of VOID and its variants.
...
Remove unnecessary #undef's
2013-03-22 14:38:18 +00:00
jan.nijtmans
3eecabfda1
merge trunk
2013-03-22 14:15:06 +00:00
jan.nijtmans
74c7068a25
merge trunk
2013-03-22 11:35:07 +00:00
jan.nijtmans
08553f531f
merge novem
2013-03-06 13:41:23 +00:00
jan.nijtmans
59360240b3
merge trunk
2013-03-06 13:38:05 +00:00
jan.nijtmans
57d33c5027
merge trunk
2013-03-06 13:37:19 +00:00
jan.nijtmans
7e7ec63c2c
merge trunk
2013-03-06 13:16:42 +00:00
jan.nijtmans
e354aa0e3d
merge trunk.
...
Implement Tcl_VarTraceInfo and Tcl_UpVar as macro.
2013-02-27 12:06:40 +00:00
jan.nijtmans
0957b2c850
merge trunk.
...
Unicode 6.3 does not have that many spaces.....
2013-02-25 16:05:27 +00:00
jan.nijtmans
e1c5526cb2
Merge trunk.
...
Unicode 6.3 does not have that many spaces.....
2013-02-25 16:03:26 +00:00
jan.nijtmans
57665b295c
merge trunk.
...
Update all unicode tables to current state of Unicode 6.3 (not released yet)
2013-02-25 13:52:05 +00:00
jan.nijtmans
290c2ef84f
Merge trunk.
...
Upgrade all tables to Unicode 6.3 (not released yet)
2013-02-25 13:38:06 +00:00
jan.nijtmans
91ba235b3c
merge trunk.
...
Comment improvements, styling.
2013-02-23 20:16:30 +00:00
jan.nijtmans
d13fe1e431
merge trunk.
...
Simplify dummy "interp" struct.
2013-02-23 11:19:13 +00:00
jan.nijtmans
dfff588886
merge trunk
2013-02-23 10:54:37 +00:00
jan.nijtmans
ca7c7ce1b7
Merge trunk.
...
Convert Tcl_UntraceVar to macro, calling Tcl_UntraceVar2 in stead. No change of functionality.
2013-02-22 09:41:15 +00:00
jan.nijtmans
4349c08e31
Merge trunk.
...
Convert Tcl_SetVar/Tcl_UnsetVar/Tcl_GetVar/Tcl_TraceVar to macros, calling the *2 variants of the function. No change of functionality.
2013-02-20 14:51:48 +00:00
jan.nijtmans
f361c1805c
merge trunk.
...
doc improvements
2013-02-20 12:47:12 +00:00
jan.nijtmans
bb71951f1a
Merge trunk.
...
Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
2013-02-19 13:21:53 +00:00
jan.nijtmans
52b8ad45d1
Doc improvements.
...
Use freeProc field of pseudo interpreter to store the magic value.
2013-02-17 13:02:40 +00:00
jan.nijtmans
4f37f05a9c
merge trunk
2013-02-15 16:21:49 +00:00
jan.nijtmans
9b6c85d82e
Merge trunk.
...
Move Tcl_InitSubsystems documentation to its own manpage
2013-02-15 10:29:05 +00:00
jan.nijtmans
88b8fc30a2
merge trunk
2013-02-14 10:11:58 +00:00
jan.nijtmans
abc5015131
more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversions
2013-02-11 10:25:04 +00:00
jan.nijtmans
f50166e4fc
Merge trunk.
...
Various Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj modifications
2013-02-11 09:38:07 +00:00
jan.nijtmans
2c163978e7
Merge trunk.
...
Eliminate all usage of internal macros: TclNewIntObj, TclNewBooleanObj, TclSetIntObj, TclSetBooleanObj.
Change various function to macros: Tcl_NewIntObj, Tcl_SetIntObj, Tcl_NewBooleanObj, Tcl_DbNewBooleanObj, Tcl_SetBooleanObj, Tcl_AddErrorInfo, Tcl_AddObjErrorInfo.
2013-02-08 13:28:06 +00:00
jan.nijtmans
4acf174468
put braces around all macro parameters
2013-02-07 14:22:16 +00:00
jan.nijtmans
e8b3de6a75
merge trunk
2013-02-07 13:57:01 +00:00
jan.nijtmans
6fa4858662
merge trunk
2013-02-07 10:15:07 +00:00
jan.nijtmans
1a0463ea04
merge trunk
2013-02-05 13:55:53 +00:00
jan.nijtmans
cab91124b4
merge trunk
2013-02-04 22:58:38 +00:00
jan.nijtmans
dd7709baa2
merge trunk
2013-02-04 22:56:43 +00:00
jan.nijtmans
b9c49065a5
merge novem.
...
Some more API changes int -> size_t
2013-02-04 15:49:53 +00:00
jan.nijtmans
c67bfbf1a4
merge trunk
2013-02-04 14:15:14 +00:00
jan.nijtmans
3c3f3d4561
merge novem
2013-02-03 17:17:47 +00:00
jan.nijtmans
8d9ea7c132
merge trunk
2013-02-03 16:07:32 +00:00
jan.nijtmans
b0bf6914f1
merge trunk
2013-02-03 16:05:31 +00:00
jan.nijtmans
c5558280d7
merge trunk
2013-02-01 09:11:18 +00:00
jan.nijtmans
330e115d11
merge trunk
2013-01-29 08:14:41 +00:00
jan.nijtmans
3913f5f7ae
merge trunk
2013-01-26 17:04:32 +00:00
jan.nijtmans
1d5118fd6c
macros for Tcl_GetString and Tcl_GetStringFromObj
2013-01-26 16:11:33 +00:00
jan.nijtmans
e8c69aa654
merge trunk
...
doc improvements
2013-01-26 00:45:01 +00:00
jan.nijtmans
acb9caa959
merge novem
2013-01-25 23:38:49 +00:00
jan.nijtmans
03c4df2e30
merge trunk
2013-01-25 13:14:48 +00:00
jan.nijtmans
b2b37d97cf
merge trunk
2013-01-25 13:12:01 +00:00
jan.nijtmans
4796adf5cb
Another memory leak, and one Tcl_Free -> ckfree
2013-01-25 13:07:06 +00:00
jan.nijtmans
ff878198ef
merge trunk
...
Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
2013-01-25 12:58:20 +00:00
jan.nijtmans
2c02c2ae5d
Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfo
...
Fix "make test-packages" on cygwin
2013-01-25 11:45:17 +00:00
jan.nijtmans
84707cf702
Merge trunk
...
Rename TclInitStubs back to Tcl_InitStubs, for easier compatibility with Tcl 8.
2013-01-25 09:12:32 +00:00
jan.nijtmans
d8b1866404
Convert Tcl_GetIndexFromObj implementation to macro
2013-01-24 10:37:30 +00:00
jan.nijtmans
45c9d1dc2c
merge trunk
2013-01-23 14:11:12 +00:00
jan.nijtmans
ef824b7395
merge trunk
2013-01-21 13:56:51 +00:00
jan.nijtmans
a3100689bc
merge-mark
2013-01-21 13:52:52 +00:00
jan.nijtmans
014e7b1951
merge trunk
2013-01-19 18:28:03 +00:00
jan.nijtmans
ad5f7e5464
Convert Tcl_Eval and Tcl_GlobalEval to a macro
2013-01-17 22:28:38 +00:00
dgp
3b0f6c1c31
merge trunk
2013-01-17 16:32:50 +00:00
jan.nijtmans
4198cbe8cd
merge trunk
...
Remove various double-defined (both in public and private stub tables) functions from private stub table
2013-01-12 22:23:29 +00:00
jan.nijtmans
3e3a85339f
Remove TclWinNToHS, it is not used anywhere any more.
2013-01-10 11:45:08 +00:00
jan.nijtmans
adf3bedc0c
merge trunk
2013-01-10 10:04:13 +00:00
jan.nijtmans
c260fedf0c
Turn Tcl_PkgPresent/Tcl_PkgRequire into a macro.
...
Make sure that extensions which are compiled using Tcl version 9.0 alpha/beta headers only run with the exact same Tcl version (9.0a0), so they cannot accidently be used in production. Idea 'stolen' from iTcl 4.0, which did that during alpha/beta
Dde/Registry: eliminate usage of some older API, which might be removed/deprecated in the future.
2013-01-10 09:55:55 +00:00
jan.nijtmans
2930daf68c
Implement TCL_INIT_CREATE_UTF8/TCL_INIT_CREATE_UNICODE
2013-01-10 09:23:39 +00:00
jan.nijtmans
1c58938f2c
Restore panic check at and of the loop. Thanks! Don for noticing this.
2013-01-09 15:37:27 +00:00
jan.nijtmans
051f9006ef
Restore API compatibility with public Tcl_*Scan and Tcl_*Convert functions (changes in private functions are OK)
...
Increase LOCAL_SIZE to 64, and remove two Panic's which cannot occur any more as a result of the improvements.
2013-01-09 12:33:45 +00:00
jan.nijtmans
0481e3ca74
New function Tcl_InitSubsystems, still to be TIP'ed
2013-01-09 10:30:00 +00:00
jan.nijtmans
361141a857
remove some unused static functions/variables
2013-01-08 21:42:23 +00:00
dgp
75194c3206
The Tcl*(Scan|Convert)*Element() routines only need chars, not ints, to
...
hold their flags. Reduce waste now that interface freedom permits it.
2013-01-08 17:10:04 +00:00
jan.nijtmans
04a740f5c6
Don't depend on Spencer-specific regexp syntax (/u and /U) any more.
...
Bump http package to 2.8.6.
2013-01-06 21:09:17 +00:00
jan.nijtmans
6aa85ad35f
merge trunk
2013-01-05 00:42:34 +00:00
jan.nijtmans
342be44f4d
don't use iPtr->legacyResult for Tcl >= 8.1, because it doesn't work. Use Tcl_AppendResult in stead.
2013-01-03 10:17:14 +00:00
jan.nijtmans
e42dd00e98
merge novem
2013-01-02 14:59:21 +00:00
jan.nijtmans
6797693d1b
merge trunk
2013-01-02 14:56:58 +00:00
jan.nijtmans
3e69878565
merge trunk.
...
tclStubLib.c: protect loading incompatible Tcl9 extensions in Tcl8
2013-01-02 11:58:18 +00:00
jan.nijtmans
aef36bf11d
two more places where refCount was assumed to be a signed value. In Tcl9 that will probably be not true any more.
2012-12-29 18:12:45 +00:00
jan.nijtmans
0dc45b9fe3
fix tm.tcl to include tcl8 locations, and fix corresponding test-cases
2012-12-29 15:24:24 +00:00
jan.nijtmans
e65b021050
merge trunk
2012-12-29 09:24:59 +00:00
jan.nijtmans
b5100ee98f
merge trunk
2012-12-27 15:05:28 +00:00
jan.nijtmans
2951fec86b
remove unnecessary struct names, which only pollute the "struct" namespace for the compiler.
2012-12-21 10:13:37 +00:00
jan.nijtmans
d07793f49c
merge trunk
2012-12-21 09:42:57 +00:00
jan.nijtmans
2acbdb0493
Remove all VA functions Tcl_AppendResultVA, Tcl_AppendStringsToObjVA, Tcl_SetErrorCodeVA, Tcl_PanicVA, and dependancy of tcl.h on <stdarg.h>. TIP required.
2012-12-18 13:47:08 +00:00
jan.nijtmans
e00ad288cc
remove deprecated functions Tcl_VarEval and Tcl_VarEvalVA
2012-12-17 12:45:19 +00:00
jan.nijtmans
5b8ce14566
Merge trunk.
...
Add more clarity why refCount should be decremented AFTER checking for <2.
Protect 8.x extensions for being loadable in "novem", by changing Tcl_PkgProvide into a macro.
2012-12-14 09:40:56 +00:00
jan.nijtmans
facce70703
merge trunk
2012-12-13 13:01:49 +00:00
jan.nijtmans
88eafacc82
More memory API changes, mainly char* -> void* and unsigned -> size_t
2012-12-12 21:21:10 +00:00
jan.nijtmans
26f4ba76ca
allow novem to use installed Tcl8 .tm packages, such as tcltest and msgcat
...
remove some dead code (already planned to be removed in Tcl9)
2012-12-12 10:21:55 +00:00
dgp
949c30336f
Rename the memory routines so that Tcl_Alloc/Tcl_Free/etc become the recommended
...
things for extensions and embedders to call, instead of ckalloc/ckfree/etc.
Tcl_Alloc, etc. are macros that can be configured for memory debuggin, as ckalloc, etc.
have been and continue to be.
2012-12-12 05:01:04 +00:00
jan.nijtmans
aaf8665696
merge trunk
2012-12-10 20:54:49 +00:00
jan.nijtmans
e4dd07e735
merge trunk
2012-12-07 22:16:45 +00:00
dgp
e98a68549d
merge trunk
2012-12-07 17:05:09 +00:00
jan.nijtmans
1fc4f8eaa3
merge trunk
2012-12-07 16:12:37 +00:00
jan.nijtmans
70bccae334
merge trunk
...
turn pkgb.so into a Tcl8 interoperability test
library: Whatever Tcl9 looks like, loading pkgb.so in Tcl 8 should
either result in an error-message, either succeed, but never crash.
2012-12-07 10:11:47 +00:00
jan.nijtmans
052f5d50c9
merge trunk
2012-12-05 13:41:51 +00:00
jan.nijtmans
5815a325af
merge trunk
2012-12-04 13:40:58 +00:00
jan.nijtmans
3ff398393a
Remove obsolete functions Tcl_GetDefaultEncodingDir and Tcl_SetDefaultEncodingDir
2012-12-03 13:02:08 +00:00
jan.nijtmans
ef0bb68bcb
Initialize legacyFreeProc with invalid value: This will result in
...
a crash immediately, when an extention tries to call it, in stead
of crashing some time later....
Remove some more legacy regarding accessing interp->result
2012-12-03 10:01:20 +00:00
dgp
382a840e23
Remove all maintenance of a string result in the Interp.
2012-11-30 17:00:16 +00:00
dgp
1e6fd4531c
Re-fix failing load-3.2 test. The right way this time.
2012-11-30 16:14:11 +00:00
dgp
21e80b3a25
Stop [glob] complaining about empty list result. Continue support for
...
a no-op -nocomplain option, but don't document it. Old script support only.
2012-11-30 16:10:20 +00:00
jan.nijtmans
8e6efd7026
After a Tcl_SetObjResult, don't do a Tcl_TransferResult to the same interpreter
2012-11-30 15:55:03 +00:00
jan.nijtmans
39365ed3c0
merge (modified) novem-review.
...
unbreak windows build
2012-11-30 15:42:56 +00:00
dgp
f52f05c3b1
No string result -> no more need for TCL_RESULT_SIZE
2012-11-29 21:34:22 +00:00
dgp
388741b7d0
Bug fix. Stop load-3.2 test failure.
2012-11-29 21:28:24 +00:00
dgp
b2ca802381
Purge remnants of support for compilers ignorant of C keyword 'inline'.
2012-11-29 21:25:52 +00:00
dgp
b05600e60a
Stop defining VOID. Demand C compilers that know the void keyword.
2012-11-29 21:03:06 +00:00
dgp
98a8b3604f
Destroy all the TCL_STORAGE_CLASS and associated nonsense.
2012-11-29 20:32:16 +00:00
dgp
905d1e5d03
Remove STRINGIFY and JOIN utility macros. Tcl doesn't use them.
...
And Tcl doesn't need to be in the utility macro supply business.
If an extension needs these, let them define them.
2012-11-29 17:45:20 +00:00
dgp
cb7c84c310
Proposed rollback of the TCL_STUB_MAGIC change on novem branch.
2012-11-29 17:25:59 +00:00
dgp
03bdf41de2
missed bit of merge
2012-11-29 17:03:17 +00:00
dgp
206428d2cf
Get the updated error message
2012-11-29 16:52:45 +00:00
dgp
bc0d613154
Merge bug-3588687
2012-11-29 16:26:14 +00:00
dgp
1d6f003314
merge novem
2012-11-29 16:03:21 +00:00
dgp
e81a4abd60
merge trunk
2012-11-29 15:58:38 +00:00
dgp
06ebe62a5e
Revise TclInitStubs() so that it checks for consistent values of both
...
TCL_MAJOR_VERSION and TCL_STUB_MAGIC between an extension and the stub library.
2012-11-29 15:24:50 +00:00
dgp
0d78d389e1
3588687 Added cross checks so that [load]ed extension, [load]ing interp, and
...
linked stubs library all agree on their versions in the ways that matter.
2012-11-27 21:09:20 +00:00
dgp
eea64f8d90
Merge (selected bits of) novem
2012-11-26 22:37:01 +00:00
dgp
4c5cc88bdf
Stop segfaults in test suite.
2012-11-26 22:23:43 +00:00
dgp
a1cee7cd20
merge (some of) novem
2012-11-26 21:49:46 +00:00
dgp
3327979282
Merge use of [load] to find and nicely report error when incompatible stubs
...
mechanisms between [load]ing interp and [load]ed extension are detected.
2012-11-26 21:43:18 +00:00
dgp
8c19725a30
...and here's the lines left behind in the editor.
2012-11-26 21:30:13 +00:00
dgp
0a224ddfc8
Comments and renamings around the legacy fields for string results.
2012-11-26 21:25:26 +00:00
jan.nijtmans
9a7c011683
merge trunk
2012-11-26 15:37:24 +00:00
jan.nijtmans
44427fccaa
unbreak UNIX build
2012-11-26 15:33:47 +00:00
jan.nijtmans
c4cf77f310
Removed functions marked deprecated or obsolete for a long time: Tcl_Backslash, Tcl_EvalFile, Tcl_GlobalEvalObj, Tcl_GlobalEval, Tcl_EvalTokens.
...
Remove Tcl_FindExecutable from stub table: It is needed by embedders, not extenders.
Remove TclpGetDate, TclpGmtime, TclpLocaltime: it isn't use anywhere since the new clock implementation.
Remove TclWinConvertWSAError, it's the same as TclWinConvertError.
2012-11-26 14:29:58 +00:00
jan.nijtmans
9b00a63b22
merge trunk
2012-11-22 09:18:51 +00:00
jan.nijtmans
91d9bd02c0
merge trunk
2012-11-20 10:01:00 +00:00
jan.nijtmans
56b69c4e9a
It might be that iPtr->result points to an empty string but that iPtr->objResult contains the real error-message. So, handle that too.
2012-11-20 09:01:46 +00:00
jan.nijtmans
d2b1e66352
... make it more portable
2012-11-20 08:42:36 +00:00
jan.nijtmans
d29d888dc6
Add checks for the assumtions made in tclStubLib.c, making sure that those
...
assumtions are maintained for Tcl 9! If not, extensions compiled for Tcl9
but loaded in Tcl8 (with an incompatible stub table) cannot produce
a nice error-message any more.
<p>This is probably not the best place to do the check, maybe it's better
to do this in tclTest.c, as part of the test suite.
<p>Feedback welcome!
2012-11-20 08:40:56 +00:00
jan.nijtmans
f4ed4079b7
make windde and winreg load again
2012-11-19 22:34:32 +00:00
jan.nijtmans
dde5a2565e
Single stub library can now handle Tcl8 and Tcl9 with different MAGIC values
2012-11-19 21:46:51 +00:00
jan.nijtmans
e59a1e0b14
eliminate unused variable
2012-11-19 21:45:34 +00:00
jan.nijtmans
c4b5bfbd50
Remove some undocumented - obsolete - function from the API with 'Old' in the name.
2012-11-19 11:17:58 +00:00
jan.nijtmans
44869c9e35
Better solution for handling errors from Tcl 8.x compiled extensions. Works for existing ones.
2012-11-19 08:30:11 +00:00
jan.nijtmans
e5463e8ec8
change stub library to detect - and generate a nice error-message -
...
when a shared library compiled for Tcl 9.x is attempted to be
loaded in Tcl 8.x. Change MAGIC value in stub tables for 64-bit
builds (those surely will be incomatible!)
2012-11-18 17:24:05 +00:00
jan.nijtmans
bddf737714
<i>on-hold at Don Porter's request</i>
...
change stub library to detect - and generate a nice error-message -
when a shared library compiled for Tcl 8.x is attempted to be
loaded in Tcl 9.x: Tcl 9 will not have the iPtr->result field
so we cannot use that any more.
2012-11-18 17:12:35 +00:00
jan.nijtmans
ef0fd808de
<i>On hold at Don Porter's request</i>
...
hange stub library to detect - and generate a nice error-message -
when a shared library compiled for Tcl 8.x is attempted to be
loaded in Tcl 9.x: Tcl 9 will not have the iPtr->result field
so we cannot use that any more.
2012-11-18 17:04:38 +00:00
jan.nijtmans
f4fb1d1752
<i>On-hold at Don Porter's request.</i>
...
change stub library to detect - and generate a nice error-message -
when a shared library compiled for Tcl 8.x is attempted to be
loaded in Tcl 9.x: Tcl 9 will not have the iPtr->result field
so we cannot use that any more.
2012-11-18 16:54:16 +00:00
dgp
59ea8cb145
WIP removing the maintenance of a string result in the Interp.
...
Still some head-scratching on what to do with tclStubLib.c.
2012-11-17 00:25:23 +00:00
dgp
e9cf99c212
merge trunk
2012-11-16 22:51:18 +00:00
dgp
80630f4ec9
Burn the bridge back to obsolete [puts] syntax. (Tcl 6?!)
2012-11-16 21:17:29 +00:00
dgp
e63dcc2677
Burn the octal bridges. We're not goin' back.
2012-11-16 19:17:21 +00:00
dgp
9bbc90b227
Tcl_Value is now a synonym for Tcl_Obj !
2012-11-16 17:57:38 +00:00
dgp
8e5dbc8a27
Remove pre-8.5 interface for custom expr functions.
2012-11-16 17:52:55 +00:00
dgp
29c6b72a83
merge trunk
2012-11-16 16:37:07 +00:00
jan.nijtmans
fd5b3bb085
eliminate CONST/CONST84/CONST86
2012-11-16 12:02:11 +00:00
jan.nijtmans
2fda7e49a0
Doc fix in TCL_MEM_DEBUG.3
2012-11-16 10:22:58 +00:00
jan.nijtmans
27256fcd71
Merge trunk
...
<p>Fix Windows build
<p>Now usable with Thread's "novem" branch (3.0a1)
<p>Remove some more deprecated stuff
2012-11-16 10:12:05 +00:00
dgp
e702454abe
Abandon support for pre-8.5 bytecode.
2012-11-15 22:17:24 +00:00
dgp
9423df2491
Goodbye to [case].
2012-11-15 21:04:23 +00:00
dgp
05b1764f74
Octal death documentation impacts.
2012-11-15 05:12:38 +00:00
dgp
bff7817ec0
Kill Octal; bump to 9.0a0; make test suite work again.
2012-11-15 04:09:25 +00:00
jan.nijtmans
073618d375
Merge trunk
2012-09-26 12:00:50 +00:00
jan.nijtmans
13bc69a8a4
unnecessary hook struct definitions
2012-08-21 08:07:40 +00:00
jan.nijtmans
9aa711e8e0
remove unnecessary struct names, which only pollute the "struct" namespace for te compiler.
2012-08-20 06:49:25 +00:00
dgp
b339d4bf03
merge trunk
2012-07-19 15:08:23 +00:00
dgp
1e58e8e42d
Implement Tcl_DStringResult with call to TclDStringToObj.
2012-04-25 21:03:58 +00:00
dgp
91af7f6f90
merge trunk
2012-04-25 21:02:42 +00:00
jan.nijtmans
5ddf03d324
merge trunk
2012-04-22 20:51:02 +00:00
dgp
68191ded75
To preserve the ability of [load] to bring in mistmatched stubs-enabled
...
modules and react with an error rather than a crash, HasStubSupport() has
to keep fiddling with the same fields as always.
2012-04-19 12:57:45 +00:00
dkf
ac3d0b69d3
Clean version of changes; ifdef-free
2012-04-19 12:41:06 +00:00
dkf
96f611f896
merge trunk
2012-04-19 12:20:49 +00:00
dgp
ec9c29c80d
Experimental branch where the interp->result field and related are removed
...
and all simplifications that makes possible are done. Seems this can at best
be a Tcl 9 reform.
2012-04-18 18:42:54 +00:00
jan.nijtmans
ac98be85ce
merge trunk
2012-02-03 21:25:41 +00:00
jan.nijtmans
048fae9de6
merge trunk
2012-01-26 21:58:18 +00:00
jan.nijtmans
81735df1fa
merge trunk
2012-01-23 22:19:24 +00:00
jan.nijtmans
9c32ab0d8b
Merge to feature branch
2011-10-05 14:23:40 +00:00
jan.nijtmans
861e75f503
Merge to feature branch
2011-09-21 09:03:42 +00:00
jan.nijtmans
e891120584
merge to feature branch
2011-09-17 07:19:28 +00:00
jan.nijtmans
2045bb3c21
merge to feature branch
2011-09-16 08:14:27 +00:00
jan.nijtmans
a498488c59
Merge to feature branch
2011-08-29 07:44:12 +00:00
jan.nijtmans
dd43ee3dbf
Merge to feature branch
2011-08-25 12:11:24 +00:00
jan.nijtmans
39ad9eb8f3
fix tests utf-2.8 and utf-2.9
2011-08-24 08:32:39 +00:00
jan.nijtmans
b30ba5a92b
Upcoming TIP implementation: Full support for Unicode 6.0
2011-08-24 07:50:13 +00:00