pooryorick
95d7850d9e
merge trunk
2018-05-05 11:39:20 +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
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
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
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
5c2ea0542f
Adapt [array for] to use the refactored routines.
2018-04-19 17:46:37 +00:00
dgp
346eec1892
merge 8.7
2018-04-19 17:40:10 +00:00
oehhar
ddb7bbe66c
correct msgcat test numbering for section util from 15.x (used twice) to 18.x
2018-04-19 11:48:28 +00:00
dgp
697d8c5398
merge 8.7
2018-04-19 02:51:50 +00:00
dgp
567fb6cc27
merge 8.6
2018-04-19 02:45:38 +00:00
dgp
75bd116527
Fold TclArraySet() into its only caller. tclEnv.c no longer calls it
2018-04-19 02:01:29 +00:00
dgp
7ac6487eda
merge 8.5
2018-04-19 01:41:13 +00:00
dgp
df94eecf11
An [array set] from a dict can only take shortcuts when the dict is "pure",
...
that is, has no string rep.
2018-04-19 01:39:38 +00:00
dgp
8d0340e39e
Refactor error reporting when value is not an expected array variable name.
2018-04-18 23:41:48 +00:00
dgp
61f580bd36
Refactor to bring the test for existence of an array variable into
...
LocateArray().
2018-04-18 23:31:07 +00:00
dgp
08c1a8dd34
cleanup of refactor
2018-04-18 21:03:53 +00:00
dgp
fb91d4b68b
Refactor the common operations of looking up and checking traces on an array
...
variable into a single routine LocateArray().
2018-04-18 19:21:33 +00:00
oehhar
327595170b
http::geturl now returns full error stack information if the initial socket command fails Ticket [ff82755e15]
2018-04-18 11:59:57 +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
6b8039a952
Refactor array trace handling into a common routine TclCheckArrayTraces().
2018-04-17 20:29:02 +00:00
dgp
62ea5e49a1
Array trace firing must come before argument checking might raise error.
2018-04-17 19:14:01 +00:00
dgp
5dff80f2fe
Gentler fallback.
2018-04-17 18:54:36 +00:00
dgp
f316d7539c
[array set] must fire array traces. Don't disrupt that by reporting argument
...
errors too early.
2018-04-17 18:34:41 +00:00
dgp
bdc679352c
merge 8.7
2018-04-17 14:39:42 +00:00
dgp
31a291920a
merge 8.6
2018-04-17 14:39:12 +00:00
dgp
05845fbe5f
merge 8.5
2018-04-17 14:38:28 +00:00
dgp
80e5aed49e
Restore build success to the TCL_REMOVE_OBSOLETE_TRACES configuration.
2018-04-17 14:32:30 +00:00
dgp
47fc4afd86
Satisfy test var-23.14
2018-04-17 11:11:35 +00:00
dgp
08d704bbb1
Test of shimmer segfault.
2018-04-17 03:48:47 +00:00
dgp
2d5be38603
Memleak fix from Brad Lanam.
2018-04-16 14:15:22 +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
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
dgp
019016e71a
merge 8.7
2018-04-11 12:45:01 +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
dgp
4647cfb665
merge 8.6
2018-04-07 17:07:09 +00:00
dgp
ff7812fe97
merge 8.5
2018-04-07 16:56:53 +00:00
dgp
689f5653f9
Correct out-of-date documentation for [string is].
2018-04-07 16:55:53 +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
634c443219
Plug memleak in [format] applied to bignums.
2018-04-05 17:22:09 +00:00
dgp
43507f353b
Plug memleak when [scan] raises an error.
2018-04-05 16:37:35 +00:00
dgp
b86f569b11
merge 8.7
2018-04-05 15:38:14 +00:00
dgp
eb8817687f
[string cat] was failing to NUL terminate string reps.
...
Stopped "string" values triggering false valgrind alarms when tests make
use of [tcl::unsupported::representation].
2018-04-05 15:37:40 +00:00
dgp
754c5a5fe1
merge 8.7
2018-04-05 13:36:34 +00:00
dgp
0ad3b13e26
Failed to mutex protect all multi-thread access to the hash tables in the
...
[tcl::process] implementation. This was causing segfaults in thread-8.1.
2018-04-05 13:34:58 +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
a5d6e9657a
Refactor the [lrange] machinery into a single routine TclListObjRange().
...
Apply some optimizations. Contribution from pspjuth.
2018-03-30 19:22:17 +00:00
dgp
a27e0ef2ce
merge 8.7
2018-03-30 19:11:39 +00:00
jan.nijtmans
220d2d7d9c
Remove MINGW32 from the UNIX makefile, since Mingw should always build from the "win" directory. Better to avoid confusion.
2018-03-26 20:21:00 +00:00
jan.nijtmans
e1e6b685fd
merge 8.7
2018-03-25 19:21:11 +00:00
jan.nijtmans
08dc58ce40
No need any more on 64-bit cygwin for special *Long* stub entries.
2018-03-25 19:20:28 +00:00
jan.nijtmans
cc19135f2e
merge 8.7
2018-03-25 17:43:52 +00:00
jan.nijtmans
3abde0eac5
workaround for TclFormatInt on CYGWIN is no longer necessary now.
2018-03-25 17:43:09 +00:00
José Ignacio Marín
2cf7904bd2
Update TZ info to tzdata2018d.
2018-03-24 10:22:06 +00:00
José Ignacio Marín
29f8e6add3
Update TZ info to tzdata2018d.
2018-03-24 10:21:29 +00:00
José Ignacio Marín
05c789647a
Update TZ info to tzdata2018d.
2018-03-24 10:20:43 +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
dgp
919a1c67ab
TIP 503 implementation.
2018-03-20 19:54:32 +00:00
dgp
dc07332444
Merge over testing improvements from the TIP 475 work.
...
Test files string.test and stringComp.test had become out of sync.
Use one file to maintain even coverage.
2018-03-20 19:25:54 +00:00
dgp
bac2aebf10
Test and fix for botch in binary string replace.
2018-03-20 16:10:49 +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
jan.nijtmans
df06afadcf
Bring back makefile.vc to CRLF line-endings, as all other *.vc files
2018-03-15 20:58:00 +00:00
dgp
7435702d63
merge 8.7
2018-03-15 15:34:00 +00:00
dgp
c120622483
merge 8.7
2018-03-15 14:37:55 +00:00
dgp
a8ffcb0b4c
merge 8.7
2018-03-15 14:18:39 +00:00
dgp
795355ee43
merge 8.7
2018-03-15 11:11:33 +00:00
dgp
aa199edba6
merge 8.6
2018-03-15 11:08:08 +00:00
dgp
c5e979695a
Missing test cleanups that break later tests.
2018-03-15 10:58:13 +00:00
dgp
2977f2ab44
merge 8.7
2018-03-15 00:01:37 +00:00
dgp
5d355c0fd9
Memleak and lifetime management fixes for components of the OO system.
2018-03-14 23:54:31 +00:00
dgp
e6e44fb3b8
Merge rest of 8.7 except the botched apply/backout dance.
2018-03-14 23:47:46 +00:00
dgp
6fcbcd9f12
Merge in 8.7 changes not already here.
2018-03-14 23:43:32 +00:00
dgp
4751bcf256
Rebase the memleak work.
2018-03-14 22:39:38 +00:00
dgp
99ab923ed5
Memleak and lifetime management fixes for components of the OO system.
2018-03-14 22:17:51 +00:00
dgp
8ecdd7277d
merege 8.7
2018-03-14 18:09:20 +00:00
dgp
d0bce3e99f
merge 8.6
2018-03-14 18:08:55 +00:00
dgp
93e9d2457c
merge 8.7
2018-03-14 17:21:29 +00:00
dgp
43f670e530
unused variable fix
2018-03-14 17:20:53 +00:00
dgp
3f7e1dc18f
merge 8.7
2018-03-14 16:17:48 +00:00
dgp
2d87ed6d29
New routine TclStringReplace() serves as a common implementation for both
...
compiled and direct eval paths of [string replace].
One routine to debug, optimize, convert to new data structures, etc.
This routine will also make a good core engine for [string insert].
With this refactoring done, the value of the INST_STR_REPLACE instruction
is no longer clear. Until now, the value of compiling to it was that it
routed you through the "better" of the two implementations. An
instruction that does nothing different from what invocation to the
direct eval fallback would do does not have obvious value.
2018-03-14 15:17:27 +00:00
dgp
6111cf68fe
merge 8.7
2018-03-14 05:51:18 +00:00
dgp
3cda2dc805
merge mark
2018-03-14 05:41:55 +00:00
dgp
0a3e263036
cherry pick the desirable part of the merge.
2018-03-14 05:41:19 +00:00
dgp
864d754a8a
backout the latest merge
2018-03-14 04:45:29 +00:00
dgp
17e2ed6919
silence compiler warning
2018-03-14 01:31:10 +00:00
dgp
15bfd5756e
merge 8.6
2018-03-14 01:30:16 +00:00
dgp
f8081ac245
merge 8.7
2018-03-13 17:30:00 +00:00
dgp
62079a5c69
merge 8.6
2018-03-13 17:14:40 +00:00
dgp
41ed3e0e2b
close fork
2018-03-13 16:29:50 +00:00
dgp
9ac074bd09
Fix bugs in msgcat that prevent clean test suite run.
2018-03-13 16:28:43 +00:00
oehhar
bbae63cfa9
tip 499 msgcat custom preferences: documentation added
2018-03-13 16:13:02 +00:00
oehhar
962427e8cd
tip490 oo for msgcat: added documentation
2018-03-13 14:53:16 +00:00
dgp
a14ab9eecb
merge 8.7
2018-03-12 16:00:11 +00:00
dgp
2ae2445072
msgcat 1.7.0 features need foundation of Tcl 8.7.
2018-03-12 15:57:54 +00:00
dgp
ccb7c3b60b
merge 8.7
2018-03-12 14:49:44 +00:00
dgp
8bd4a8cf2c
Revert change that broke usage with Tcl 9
2018-03-12 14:41:20 +00:00
dgp
5ff641a603
merge 8.6
2018-03-12 14:17:52 +00:00
dgp
71618ce230
Implement TIP 499: Custom locale search list for msgcat
2018-03-12 14:14:46 +00:00
dgp
f35817ce5a
Undo setting of execute permissions.
2018-03-12 14:07:26 +00:00
dgp
3af272b07a
Implement TIP 490: msgcat for TclOO
2018-03-12 13:58:21 +00:00
dgp
67a242e003
msgcat 1.7 uses [tailcall], so requires Tcl 8.6.
2018-03-12 13:48:35 +00:00
dgp
4ba8623115
Implement TIP 462: Add New [::tcl::process] Ensemble for Subprocess Management
2018-03-12 13:38:46 +00:00
dgp
410bda416e
merge 8.7
2018-03-12 13:24:15 +00:00
dgp
861217dbe3
Convert DOS -> unix line endings.
2018-03-12 13:07:50 +00:00
dgp
9b9635f82e
merge 8.7
2018-03-11 22:34:51 +00:00
dgp
c5ae3a0a2d
merge 8.7
2018-03-11 21:42:22 +00:00
dgp
45f5143205
merge 8.6
2018-03-11 21:29:10 +00:00
dgp
c7e8d507d9
merge 8.7
2018-03-11 12:33:16 +00:00
dgp
e7be4a19a0
merge 8.6
2018-03-11 12:22:00 +00:00
dgp
d660f467cb
merge 8.7
2018-03-10 16:03:02 +00:00
dgp
6b5d0e5d8d
merge 8.6
2018-03-10 15:45:00 +00:00
dgp
4dc5255a8e
[db36fa5122] Upgrade the index value parsing and encoding machinery. Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases.
2018-03-10 14:55:14 +00:00
jan.nijtmans
cb242c0d50
Merge 8.7
2018-03-07 21:41:00 +00:00
jan.nijtmans
b4d6691add
Merge 8.6
2018-03-07 21:21:00 +00:00
jan.nijtmans
3492c92f3d
Improve -DTCL_NO_DEPRECATED compiles. It now can handle loading stub-enabled extensions with incompatible magic number (backported from trunk)
2018-03-07 20:24:00 +00:00
jan.nijtmans
405b9175e6
Fix handling of "pkgIndex" file in "package files" command. This was broken as well, as result of NRE-enabling the "package" command.
2018-03-07 19:35:00 +00:00
jan.nijtmans
0254080ca0
Fix the "package files" command. Due to the NRE enabling of "package" it always started to return an empty list.
2018-03-06 22:53:00 +00:00
bll
a735b5d3ac
array for:
...
Add missing ObjCmdProc wrapper around the NR proc.
2018-03-06 18:42:25 +00:00
bll
d2d193de11
array for: updated documentation: value variable is not optional, add
...
specifics about when array for terminates.
2018-03-06 18:21:34 +00:00
bll
77d58c5993
tip-421: array for:
...
a) Fix bug starting search (name not set).
b) Fix error message for array change on iteration.
2018-03-06 17:19:40 +00:00
dgp
6bb961ffc6
merge 8.7
2018-03-06 13:46:24 +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
0d33258649
merge 8.6
2018-03-06 12:59:23 +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
f406561f40
Take the next step in TIPs 330 and 336, ending in 8.7 the USE_INTERP_RESULT and
...
USE_INTERP_ERRORLINE directives to escape need to migrate to 8.6 interfaces.
2018-03-05 20:00:06 +00:00
dgp
80c3bfdcaa
Last bit of TIP 503 implementation.
2018-03-05 19:29:12 +00:00
dgp
96e07632d9
merge 8.7
2018-03-05 17:41:24 +00:00
dgp
2e1e641d75
merge 8.7
2018-03-05 17:16:50 +00:00
dgp
4d47b7f97f
TIP 351 Implementation.
2018-03-05 17:07:14 +00:00
dgp
b1e6769ef3
Rebase TIP 421 implementation to core-8-branch (8.7). var-23.1[01] segfaults!
2018-03-05 16:49:07 +00:00
jan.nijtmans
aef69d0b0f
Merge 8.7
2018-03-01 22:37:00 +00:00
jan.nijtmans
0e5d21e88f
Re-generate tclTomMath.h. Fix win32 build (due to the use of uint8_t)
2018-03-01 22:27:00 +00:00
jan.nijtmans
bfb19782c9
Merge 8.7
2018-03-01 21:06:20 +00:00
jan.nijtmans
0c568099ee
Update libtommath to latest "develop"
2018-03-01 20:55:16 +00:00
jan.nijtmans
5753c7a42b
Lots of code cleanup, mainly [ https://github.com/libtom/libtommath/pull/102 |Pull request #102 ]
2018-03-01 20:43:31 +00:00
dgp
914d6e1546
merge 8.6
2018-03-01 20:13:25 +00:00
dgp
e9c0312caf
We have LLONG_MIN and LLONG_MAX to denote range limits of Tcl_WideInt.
...
Use them consistently. Also fix a few TIP 484 bugs.
2018-03-01 04:13:15 +00:00
jan.nijtmans
b31a3b3d70
Merge 8.7
2018-02-27 21:12:00 +00:00
jan.nijtmans
9a809e614a
Use mp_isneg() in stead of mp_cmp_d() when the output of this function is simply compared with MP_LT.
2018-02-27 20:48:00 +00:00
jan.nijtmans
0bceead396
No need to set/restore tcl_precision in this test-case
2018-02-27 20:30:00 +00:00
dgp
fa036d2b99
merge 8.7
2018-02-23 18:10:09 +00:00
dgp
6faf2feff2
Don't let presence of a string rep prevent optimizations on "pure" bytearrays.
2018-02-23 17:49:23 +00:00
dgp
9090aca429
Remove tests of "end-offset" Tcl_ObjType, taken private.
2018-02-23 17:17:47 +00:00
dgp
fe83175465
[8e6a9ac221] Stop false matching with bytearrays. (string-11.55)
2018-02-23 17:02:08 +00:00
dgp
4ad7747c62
Cease registration of the "end-offset" Tcl_ObjType. Give it file scope.
...
Remove the updateStringProc that can never be called.
2018-02-23 15:44:10 +00:00
jan.nijtmans
f5bf130f05
merge core-8-branch
2018-02-22 20:09:33 +00:00
jan.nijtmans
812174d578
Correctly distinguish between internalrep.longValue (in case of boolean) and internalre.wideValue (in case of int). Add comment warning for that
2018-02-22 20:03:56 +00:00
dgp
471d356605
[89dfecb6b7] Make thread IDs in testing commands consistent.
2018-02-22 18:59:59 +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
2d54b68224
Distingish between boolean and int when checking whether a boolean is true or not: The internal representation might be either long or wideInt.
2018-02-15 18:02:00 +00:00
dgp
cce4368ace
Revert recent commit that changed behavior of TclGetIntForIndex() for a
...
small subset of cases of overflow in index arithmetic. This changed the
public behavior of indexes.
I favor what's being done. I only want to do the complete work on a
feature branch (coming soon), and consider what aspects may benefit from
a TIP, and how we should future-proof the work against expanding ranges
for valid index values in Tcl 9. This touches on issues partially raised in
TIP 297.
2018-02-15 17:21:46 +00:00
dgp
7a1cc7e3b3
Guarantee the buffer is large enough it will not be overrun.
2018-02-15 15:58:36 +00:00
dgp
0b90c0b92e
Stop seeking out the libieee.a library and linking to it when found.
2018-02-15 15:14:56 +00:00
dgp
0af226b20a
merge-mark
2018-02-15 13:52:23 +00:00
jan.nijtmans
494a47ee6e
Merge core-8-branch
2018-02-14 22:42:00 +00:00
jan.nijtmans
e62743b6ee
Move TclGetBooleanFromObj to tclInt.h, so multiple source files can use it. Change some internal variables from int to size_t.
2018-02-14 22:22: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
jan.nijtmans
0b96f3fb32
Merge TIP #476
2018-02-14 20:22:45 +00:00
jan.nijtmans
3971514c1b
Better range checking in "string index". Add test-case to prove point.
2018-02-14 20:17:22 +00:00
dgp
c64afc94f1
merge 8.7
2018-02-14 15:33:29 +00:00
dgp
e4364f45cc
merge 8.7
2018-02-14 14:50:24 +00:00
dgp
55898c44b9
Fix regression in [expr {0%$bignum}].
2018-02-14 14:38:15 +00:00
dgp
c329006b1a
More tests for bignum modulus regressions
2018-02-14 12:52:35 +00:00
dgp
dc74da2f56
merge-mark
2018-02-14 12:50:22 +00:00
dgp
01a9d5c7cc
merge mark
2018-02-13 21:00:24 +00:00
dgp
4a6163c6a6
test expr-32.7 for bignum modulus range. FAILING for now. Error in TIP 484.
2018-02-13 20:59:36 +00:00
dgp
967136cc0f
merge 8.7
2018-02-09 18:52:04 +00:00
sebres
0031252bf1
small code review: resolve conversion warnings (possible loss of data, signed/unsigned comparison)
2018-02-09 10:09:42 +00:00
jan.nijtmans
4d73b33b87
Fix [9280abbaf57fca3e|9280abbaf5]: Compiling core-8-branch with msvc6 32 bit results in compile error in tclInt.h. Thanks to sebres for the fix.
2018-02-08 20:43:00 +00:00
sebres
e2877119cd
fixes [9280abbaf57fca3eb40a89403d9d891853209bb6]: compare of LLONG_MAX == LONG_MAX does not possible in preprocessor
...
(because LLONG_MAX could be complex expression), use `defined(TCL_WIDE_INT_IS_LONG)` instead of.
2018-02-08 14:41:06 +00:00
sebres
451c384456
merge core-8-6-branch
2018-02-08 14:03:59 +00:00
oehhar
ffae8c82da
Do not allow prefixed subcommands for mcutil
2018-02-08 12:45:50 +00:00
oehhar
4cff9271ac
Add subcommand mcpreferences to export getpreferences and getsystemlocale functions
2018-02-08 09:49:28 +00:00
oehhar
3f2c5cd5aa
TIP 499: Custom locale search for msgcat
2018-02-07 19:25:30 +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
6ce7eb980b
merge core-8-branch
2018-02-06 20:54:35 +00:00
dgp
185cdc39c6
TIP 484: Merge 'int' and 'wideInt' Obj-type to a single 'int'
2018-02-06 20:07:13 +00:00
dgp
365ee5bb13
TIP 493: Cease Distribution of http 1.0
2018-02-06 19:55:18 +00:00
dgp
f674720166
Merge the NRE-enabling of [package require].
2018-02-06 19:43:12 +00:00
dgp
a37e29cf85
Rework a set of TclString*() routines for consistency.
2018-02-06 19:35:36 +00:00
dgp
fde3c52d29
Rework TclStringReverse to consistent standard form.
2018-02-06 19:10:45 +00:00
dgp
99ca63a80a
TclStringLast fixed.
2018-02-06 18:33:41 +00:00
dgp
25fcbf685d
Rename TclStringFind to TclStringFirst. Repair its operations on bytearrays.
...
Stop trying to operate on utf-8 until we nail that down better.
2018-02-06 17:26:40 +00:00
pooryorick
2567185fd2
Add remaining wrapper to the NR functions, remaining calls to
...
TCL_NRAddCallback, and a test for a package require script that yields.
2018-02-06 11:16:51 +00:00
dgp
ca5e7c5b63
Revise the TclStringCat() interface to follow a common pattern.
2018-02-05 16:34:28 +00:00
dgp
836fa11775
Revise TclStringRepeat() interface so that in place operations are done only
...
by caller request. Establish a re-usable pattern.
2018-02-05 16:10:02 +00:00
dgp
3be49723fc
Improved overflow prevention.
2018-02-05 13:41:26 +00:00
dgp
da7f77f96f
Improved overflow prevention.
2018-02-05 13:33:21 +00:00
pooryorick
98887219c2
Refine documentation for Tcl_NR* functions.
2018-02-03 18:15:06 +00:00
José Ignacio Marín
6bd80d67e4
Update TZ info to tzdata2018c.
2018-02-02 09:21:35 +00:00
José Ignacio Marín
93310b9171
Update TZ info to tzdata2018c.
2018-02-02 09:21:05 +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
apnadkarni
73eb8eb8d1
Fix INCLUDE_INSTALL_DIR def when building against Tcl source. Bump rules.vc to 1.2
2018-02-02 06:17:05 +00:00
pooryorick
77821adfe8
Fix segmentation fault triggered by test package-3.12. Adapt signature of
...
PkgRequireCore to conform to Tcl_ObjCmdProc, and call it in Tcl_PkgRequireProc
on an NRE trampoline via Tcl_NRCallObjProc. Additional callbacks still needed
to fully NRE-enable [package require].
2018-01-31 00:07:22 +00:00
jan.nijtmans
ee2574ddce
merge core-8-branch
2018-01-29 15:04:33 +00:00
dgp
4f918b61b0
merge 8.7
2018-01-29 13:18:39 +00:00
pooryorick
1a98844412
Preparation to provide TclNRPackageObjectCmd: Eliminate the loop in
...
PkgRequireCore so that TclNRAddCallback can be added at the needed spots.
This checkin creates a crash in test package-3.12 .
Pushing the work off the 8.7.* branch and onto a feature branch for now.
2018-01-28 18:21:09 +00:00
pooryorick
876f2d5b63
Change the signature of PkgRequireCore in preparation to provide
...
TclNRPackageObjCmd.
2018-01-28 14:37:53 +00:00
pooryorick
fa7659336c
Remove restriction on defining the class of a TclOO object not explicitly
...
instantiated from ::oo::class.
2018-01-27 18:17:09 +00:00
dgp
175fe8c23f
Fix segfault due to shimmering in [join $l $l]. (Test join-4.1).
2018-01-27 01:45:27 +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
2eba1ce11e
Rename (internal) TclNewWideObj macro to TclNewIntObj. Change Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now)
2018-01-26 13:29:01 +00:00
jan.nijtmans
6cd01fd0f8
Merge core-8-branch. Also some minor performance improvement: Turn Tcl_NewLongObj/Tcl_NewIntObj/Tcl_DBNewLongObj into macro's refering to their WideInt equivalent, since all of those do exactly the same now.
2018-01-26 12:32:12 +00:00
jan.nijtmans
e543dbc09c
merge core-8-branch
2018-01-26 10:26:06 +00:00
dgp
46e8af13b6
Dup test name
2018-01-25 22:11:34 +00:00
dgp
b0fce7a700
merge 8.7
2018-01-25 21:58:51 +00:00
dgp
d20d1e603b
test suite debugging
2018-01-25 21:35:01 +00:00
pspjuth
83df36ac41
Allow -stride 1.
2018-01-25 20:05:54 +00:00
dgp
eb9e2858c1
merge 8.7
2018-01-25 16:51:29 +00:00
jan.nijtmans
68214211b7
Document "L" length modifier and (new) %a/%A specifiers.
2018-01-24 12:02:05 +00:00
jan.nijtmans
32aa419154
merge core-8-branch
2018-01-24 10:01:29 +00:00
jan.nijtmans
92aca935b3
merge core-8-6-branch
2018-01-24 10:00:34 +00:00
jan.nijtmans
8a7371192a
merge core-8-branch. Improve documentation (format.n).
2018-01-24 08:47:24 +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
jan.nijtmans
0abda82b1e
In Tcl 9.0, don't register oldBooleanType any more. And rename "booleanString" to "boolean" in tclBooleanType. Many extensions (e.g. [ http://cyqlite.sourceforge.net/cgi-bin/sqlite/info/451bb2c1f8554eee |sqlite]) still test for "boolean", although that stopped working already for a long time.
...
In Tcl 8.7, do the same when compiled with -DTCL_NO_DEPRECATED.
2018-01-23 14:52:34 +00:00
dgp
102d58a165
merge mark
2018-01-22 13:43:05 +00:00
dgp
92c0d0a011
typo
2018-01-22 13:38:47 +00:00
jan.nijtmans
fb10dc69ee
make the old "int" type "static", since it's just used in a single file.
2018-01-22 09:54:40 +00:00
jan.nijtmans
03a71b0706
Put old "int" type back. Not used by Tcl anymore, but this restores compatibility with Tk < 8.6.9 and some extensions: "nsf", "tdbcload", "tclxml" and "VecTcl"
...
(this workaround was used by "boolean" as well, when its internal implementation changed, there's still an oldBooleanType because of that)
2018-01-22 09:18:19 +00:00
jan.nijtmans
a4953f93f4
merge core-8-branch
2018-01-22 08:41:16 +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
1c35ed873a
Follow-up to previous commit (TIP #485 implementation). Actually remove Tcl_Backslash and Tcl_EvalTokens when compiling with -DTCL_NO_DEPRECATED.
2018-01-20 16:02:31 +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
jan.nijtmans
ac67b57981
merge core-8-branch
2018-01-18 09:46:29 +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
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
jan.nijtmans
7ea11c7f98
TIP #485 implementation, Tcl 8.6 part: If Tcl is compiled with -DTCL_NO_DEPRECATED, all Deprecated API (as in the TIP) will be gone.
2018-01-17 11:47:37 +00:00
jan.nijtmans
e755aba59f
merge core-8-6-branch (typo's)
2018-01-17 10:07:42 +00:00
oehhar
7c60d44ce6
Comment updated
2018-01-16 14:53:41 +00:00
oehhar
e89d1e331e
Solve case where msgcat is called within a class definition script (works only for 8.7)
2018-01-16 14:13:14 +00:00
jan.nijtmans
9a892a33b7
merge core-8-branch
2018-01-16 08:40:47 +00:00
jan.nijtmans
8e6fe27ecc
merge core-8-branch
2018-01-15 11:41:56 +00:00
oehhar
e841295386
Install msgcat 1.7 in library folder 8.6 instead 8.5. It uses tailcall and will not work with 8.5
2018-01-13 17:17:39 +00:00
oehhar
87c12599bf
Test numbering and naming corrected
2018-01-13 17:14:22 +00:00
oehhar
eaacc9bb56
Changed msgcat version from 1.6.2 to 1.7.0 -> this is not a patch release
2018-01-13 16:44:38 +00:00
oehhar
ecaec63f48
Extended command msgcat::mcexists by switch "-namespace ns" to explicitly specify namespace
2018-01-13 15:23:38 +00:00
jan.nijtmans
f0b9b9fbb6
merge core-8-branch
2018-01-12 16:30:03 +00:00
oehhar
e1ffd3f005
Implement the "mcn" command as "mc" with explicit namespace.
2018-01-12 14:52:25 +00:00
oehhar
2cfe8bb561
Use the test "[namespace which self] ne "::oo::Helpers::self"" to check if we are within an object (undocumented test proposed by dkf on clt 2018-01-12
2018-01-12 14:13:03 +00:00
oehhar
e9f2695255
replace "return [uplevel 1 [list [namespace origin ..." by tailcall
2018-01-12 14:03:04 +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
oehhar
1fda13591a
Corrected test cleanups
2018-01-11 16:46:09 +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
244885a03e
merge core-8-6-branch
2018-01-11 15:45:20 +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
oehhar
3b5858bcd2
TIP490: oo for msgcal: new solution enable any command for oo, new command mcpackagenamespacege
2018-01-10 23:17:43 +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
48d6a20861
Re-implement Tcl_WinTCharToUtf/Tcl_WinUtfToTChar in pure win32 api, even for TCL_UTF_MAX=3. We can do that now safely, because of the changed handling of valid 4-byte UTF-8 characters in the previous commit.
2018-01-10 14:02:03 +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
jan.nijtmans
498f069f0e
Fix [ https://core.tcl.tk/tk/info/00a27923ee26437611e1ed83f96e15b6caabcd8b |00a27923ee]: (Tcl part, remaining is in Tk) text/entry dysfunctional when pasting an emoji on MacOSX.
...
This changes the handling of incoming valid 4-byte UTF-8 sequences: Those are no longer split in 4 separate characters (as was done for invalid byte sequences) but replaced by a single ' replacement character' .
2018-01-10 08:25:13 +00:00
jan.nijtmans
48456596ff
(partial) fix for [ https://core.tcl.tk/tk/info/00a27923ee26437611e1ed83f96e15b6caabcd8b |00a27923ee]: text/entry dysfunctional when pasting an emoji on MacOSX.
...
Don't handle incoming valid 4-byte UTF-8 characters as invalid byte sequences (since they aren't), but as being the Unicode replacement character.
2018-01-09 11:15:14 +00:00
dkf
6d9902632c
Some refactoring and tidying up of comments.
2018-01-09 00:10:22 +00:00
pooryorick
fafc11d6e0
Merge pyk-TclOO branch. See [90657479e8]
2018-01-08 18:27:57 +00:00
pooryorick
4a5058fc1b
Udate Tcl_ObjectDeleted to reflect recent changes.
2018-01-08 18:21:40 +00:00
pooryorick
b40ed15606
Rearrange a few lines TclRenameCommand to reduce operations.
2018-01-08 17:36:00 +00:00
pooryorick
7e4261e22c
Rearrange a few lines TclRenameCommand to reduce operations.
2018-01-08 17:03:07 +00:00
jan.nijtmans
eb1212a3c1
merge core-8-6-branch
2018-01-04 13:01:18 +00:00
dgp
904582dd30
merge 8.7
2018-01-04 02:40:00 +00:00
dgp
6c799d891d
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:32:46 +00:00
dgp
32f3dce79d
merge 8.7
2018-01-03 15:11:25 +00:00
pspjuth
fc03549d34
Doc for lsearch -stride
2018-01-02 23:05:25 +00:00
pspjuth
54590627ee
Add -stride to lsearch. TIP#351
2018-01-02 22:03:02 +00:00
pspjuth
651697f7cd
Refactored lrange to common function.
2017-12-29 18:58:01 +00:00
dgp
daa36e9a1b
Use http 2 instead of http 1 for Safe Base testing.
2017-12-29 17:47:50 +00:00
dgp
b0898beca6
Remove http 1.0 tests.
2017-12-29 17:38:10 +00:00
dgp
a922e9fd15
Remove http 1.0 files from fossil management.
2017-12-29 16:54:50 +00:00
dgp
6631e46bd3
Remove handling of http 1.0 package files from Makefiles.
2017-12-29 16:49:47 +00:00
pspjuth
0f6d3fd959
Optimise lrange for unshared object.
2017-12-28 23:54:57 +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
4a038240c4
merge core-8-6-branch
2017-12-28 21:15:20 +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
a27cc004d2
merge core-8-6-branch
2017-12-28 18:51:12 +00:00
jan.nijtmans
ca634be831
merge core-8-branch
2017-12-28 16:53:34 +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
b0e6ac7da9
merge core-8-branch
2017-12-26 17:27:28 +00:00
pooryorick
63224df965
TclOO: Remove unneeded name manipulation from TclOOCopyObjectCmd.
2017-12-26 12:54:00 +00:00
pooryorick
9a9b619c9f
TclOO: Remove unneeded name manipulation from TclOOCopyObjectCmd.
2017-12-26 12:27:14 +00:00
apnadkarni
b067895cc4
Merged core-8-branch: replace ifdef TCLDIR with compare against empty string
2017-12-26 03:33:35 +00:00
apnadkarni
0b3bf9e30d
Merged core-8-6-branch: replace ifdef TCLDIR with compare against empty string
2017-12-26 03:32:05 +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
jan.nijtmans
cae732bd8d
merge core-8-6-branch (changes file only)
2017-12-23 18:40:21 +00:00
apnadkarni
2a5955ee50
Merge nmake rules 1.1
2017-12-23 08:05:02 +00:00
apnadkarni
444ba0a874
Merge nmake rules 1.1
2017-12-23 08:02:20 +00:00
jan.nijtmans
264c508ca4
merge core-8-branch
2017-12-22 15:48:07 +00:00
jan.nijtmans
189c6453b4
Change a few (internal) refCount/mask variables to unsigned type.
2017-12-22 15:45:05 +00:00
jan.nijtmans
5a190dd003
Remove use of compiler option "opt:nowin98". Don't use "t" as suffix any more when building extensions (but still use it for Tcl and Tk).
2017-12-21 13:23:38 +00:00
jan.nijtmans
7fdcf0c76d
merge-mark
2017-12-21 07:51:08 +00:00
jan.nijtmans
5bcb4bc9a0
merge-mark
2017-12-21 07:50:27 +00:00
pooryorick
5e11793221
Further fix for issue [ba1419303b4c]: Delete a namespace for an ensemble having a
...
deletion trace deletes its namespace: segmentation fault.
2017-12-20 18:25: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
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
dc40e6f797
Fix for issue [ba1419303b4c]: Delete a namespace for an ensemble having a deletion
...
trace deletes its namespace: segmentation fault.
2017-12-20 11:28:25 +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
dgp
b6f5c15189
[586e71dce4] Exeception handling at level #0 by EvalObjv
2017-12-19 21:00:17 +00:00
jan.nijtmans
34c238c152
merge core-8-branch
2017-12-19 15:46:25 +00:00
jan.nijtmans
07c71d17a2
Somewhat better backwards compatibility on 64-bit platforms.
2017-12-19 15:20:32 +00:00
jan.nijtmans
051a7ec3ae
merge core-8-branch
2017-12-19 12:26:54 +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
ee66488c36
Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields from type "int" to "unsigned int" for increased range.
2017-12-19 11:23:13 +00:00
jan.nijtmans
f64bba0499
Minor simplification on Cygwin, since we only support Windows NT now
2017-12-19 11:21:33 +00:00
jan.nijtmans
dbe18af9ea
No need any more to check for "Windows NT" here, since the minimum is XP now.
2017-12-18 14:33:11 +00:00
jan.nijtmans
52dc6e55e5
merge core-8-6-branch
2017-12-18 13:58:05 +00:00
jan.nijtmans
0a2389d0ab
merge core-8-branch
2017-12-18 11:48:35 +00:00
jan.nijtmans
03e581e857
merge core-8-6-branch. Remove win/coffbase.txt, which isn't used any more.
2017-12-18 11:47:35 +00:00
jan.nijtmans
4a98f5042e
merge-mark
2017-12-15 21:28:35 +00:00
jan.nijtmans
aecff8b1e7
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this.
...
What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
2017-12-15 21:27:14 +00:00
dgp
62545de5ce
merge mark
2017-12-15 17:04:26 +00:00
dgp
67f6f5cdb1
Revert the (int -> size_t) transition of the "cmdEpoch" field of
...
the struct Command that was part of [ff3f6a12a8d099ef], and related changes.
This change broke the ability of Itcl 3.4 built against Tcl 8.6 headers
to successfully [load] into and operate in a Tcl 8.7 interp.
"Command" is a private struct, and Itcl 3 should have respected that, but
it has not, and changing the size of the cmdEpoch field broke the ability
of Itcl 3 to operate on later fields of the struct, notably the deleteProc,
which it makes extensive use of.
I believe we should keep the change in the Tcl 9 sources.
2017-12-15 16:50:50 +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
4fb66d5d55
Mark TclPrecTraceProc() as deprecated, and remove it when compiling with -DTCL_NO_DEPRECATED. See TIP #488
2017-12-15 14:46:11 +00:00
jan.nijtmans
556dc3036e
Fix (harmless) compiler warning with Visual Studio
2017-12-14 12:02:13 +00:00
pooryorick
3ddcb1cfb5
Fix syntax error in previous commit.
2017-12-13 12:56:02 +00:00
apnadkarni
8bc8d823bb
core-8-branch merge: Use nmakehlp -L to locate directories
2017-12-13 10:34:58 +00:00
apnadkarni
191ea171cb
core-8-6-branch merge: Use nmakehlp -L to locate directories
2017-12-13 10:31:02 +00:00
apnadkarni
0ebe3d394d
Add -L option to nmakehlp to locate directories
2017-12-12 17:34:13 +00:00
apnadkarni
137a89f1e2
Add -L option to nmakehlp to locate directories
2017-12-12 17:33:21 +00:00
pooryorick
0239e7e77f
Add the check for wrong arguments back to TclOO_Object_Destroy, remove
...
inadvertant increment of Namespace->refCount.
2017-12-11 23:50:22 +00:00
apnadkarni
5501e78098
Merge from core-8-branch - install stubs and headers where present
2017-12-11 16:42:41 +00:00
apnadkarni
dddf400b7e
Merge from core-8-6-branch - install stubs and headers where present
2017-12-11 16:40:30 +00:00
pooryorick
2555e0d7e6
Streamline TclOO object cleanup routines.
2017-12-10 21:45:26 +00:00
jan.nijtmans
5de1c8c6a5
merge core-8-branch
2017-12-10 14:39:00 +00:00
jan.nijtmans
dfeacc8edb
Fix [040586323610be22f8617962377324f4ddc9bc02|0405863236]: wrong field checked in struct pollfd in TclUnixWaitForFile
2017-12-10 14:35:02 +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
jan.nijtmans
9ef7f0a940
merge core-8-6-branch
2017-12-09 15:32:46 +00:00
apnadkarni
5724764152
TIP477 merge: reformed nmake build system
2017-12-08 16:54:18 +00:00
apnadkarni
54ae4feac8
TIP477 merge: nmake build reform
2017-12-08 15:27:49 +00:00
jan.nijtmans
ae26eec096
merge 8.7
2017-12-07 12:36:16 +00:00
jan.nijtmans
a3daf1a6d1
TIP #487 : Stop support for Pre-XP Windows
2017-12-07 12:14:23 +00:00
dgp
2623503549
merge 8.7
2017-12-06 20:48:49 +00:00
dgp
7573551ccb
Plug memleak recently put into [package require].
2017-12-06 20:48:12 +00:00
dgp
a7bb7b19d6
merge 8.7
2017-12-06 20:03:07 +00:00
dgp
4644a04ee3
merge 8.6
2017-12-06 20:02:46 +00:00
dgp
1e64c9f8b2
Adapt the bytearray accommodation of Tcl_CharLength() for 8.7+.
2017-12-06 13:28:48 +00:00
dgp
21877b851c
Adapt the bytearray accommodation of Tcl_CharLength() for 8.7+.
2017-12-06 13:28:12 +00:00
dgp
b68bab17c0
[ce3a211dcb] Failed file normalize when tail is empty string.
2017-12-06 13:07:23 +00:00
dgp
d7ed325913
[ce3a211dcb] Failed file normalize when tail is empty string.
2017-12-06 13:06:47 +00:00
jan.nijtmans
3f1dfde45f
Don't do same test twice
2017-12-06 12:17:33 +00:00
jan.nijtmans
c15cc5c510
merge 8.7
2017-12-06 12:10:35 +00:00
jan.nijtmans
99e890b52c
merge core-8-branch
2017-12-06 12:00:24 +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
dgp
72f0f0b346
[4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands options of ensemble configuration.
2017-12-05 15:52:55 +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
f0d821a83c
merge core-8-6-branch
2017-12-01 12:48:26 +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
jan.nijtmans
1a237e67df
Simpler solution for Itcl 3.4 build (compatibilty) problem. Thanks to Don Porter for bringing this to my attention!
2017-12-01 10:38:04 +00:00
dgp
9d4d161834
merge 8.7
2017-11-30 17:29:55 +00:00
dgp
db726dc570
[5808081213] Permit all bytearrays (including impure ones) to report length without shimmering
2017-11-30 17:21:12 +00:00
jan.nijtmans
88233497ab
merge core-8-branch
2017-11-30 16:18:54 +00:00
jan.nijtmans
b96b6a46ba
merge core-8-branch
2017-11-30 16:08:03 +00:00
jan.nijtmans
0efada5548
Eliminate use of certain unnecessary struct names. Also white-spacing. Nothing functional.
2017-11-30 16:03:01 +00:00
jan.nijtmans
111f52def6
merge-mark
2017-11-30 15:27:45 +00:00
jan.nijtmans
99798b2202
Fix build of test-suite, after previous commit
2017-11-30 15:24:39 +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
f327b7e9dc
merge core-8-6-branch.
...
Provide compatibility macro's, compensating for the internal stub table change, so Itcl 3.4 builds again. Thanks to Don Porter for bringing this to my attention!
2017-11-30 14:36:16 +00:00
jan.nijtmans
94b624f11c
merge core-8-branch
2017-11-30 13:23:10 +00:00
jan.nijtmans
72998869a3
Fix [8e1e31eac0fd6b6c4452bc108a98ab08c6b64588|8e1e31eac0]: lsort treats NUL chars strangely. Also fix various initializations, which only make a difference when TCL_UTF_MAX == 4.
...
Add new test-cases which demonstrate the fix. For TCL_UTF_MAX == 4, surrogates will now be handled as expected as well when sorting.
2017-11-30 13:14:43 +00:00
pooryorick
c47ba70f45
Add TCL_CREATE_NS_IF_UNKNOWN back into Tcl_CreateEnsemble().
2017-11-29 18:35:51 +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
4190501ec7
merge core-8-6-branch
2017-11-29 12:28:21 +00:00
pooryorick
c032f5043e
Fix for [6bca38d59b], TclOO segmentation fault cleaning up objects that that
...
have mixed themselves into themselves.
2017-11-29 12:01:21 +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
79b5a0a716
merge core-8-6-branch
2017-11-29 11:05:15 +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
pooryorick
8396e878da
Fix for issue [6cf568a21b]: Tcl_Eval() causes new segfault (TclOO object
...
creation by qualified name).
2017-11-28 23:33:14 +00:00
pooryorick
fe65a79d19
Minor refactoring of TclOO object reference count booking during object
...
creation.
2017-11-28 15:43:41 +00:00
pooryorick
a8a602d3ff
Eliminate some duplicate code in tclOO.c/Tcl_NewObjectInstance().
2017-11-27 23:30:57 +00:00
pooryorick
2930169517
Streamline TclOO object cleanup routines.
2017-11-27 19:45:40 +00:00
jan.nijtmans
d95ab0247a
missed some more failing test-cases
2017-11-27 14:11:16 +00:00
jan.nijtmans
20dedcd841
Fix test-cases in safe.test, failing due to changes in min/max math functions.
2017-11-27 13:52:18 +00:00
pooryorick
811ec68434
Add missing parenthesis to an expression in TclEnsureNamespace.
2017-11-25 18:24:10 +00:00
pooryorick
c2e98a86d4
merge pyk-command-named-colon
2017-11-25 16:53:59 +00:00
pooryorick
48fb6e2c88
Fix for issue [4f6a1ebd64]: ensemble: segmentation fault when -subcommand and
...
-map values are the same object.
2017-11-25 16:36:22 +00:00
jan.nijtmans
ca83d59e10
merge core-8-branch.
...
now really remove the math-related functions when compiling with -DTCL_NO_DEPRECATED. Also no longer supply Tcl_Value, Tcl_ValueType and TCL_RESULT_SPACE.
2017-11-23 13:56:21 +00:00
jan.nijtmans
160a58238a
If compiled with -DTCL_NO_DEPRECATED, remove stub entry for TclWinGetPlatformId()
2017-11-23 12:21:35 +00:00
jan.nijtmans
dd0e9cf6b1
Remove more pre-XP stuff.
2017-11-23 12:04:33 +00:00
jan.nijtmans
3c23d21835
Re-base "stop-ce" branch to core-8-branch. This is what will be proposed for 8.7 in TIP #487 .
2017-11-23 08:30:10 +00:00
pspjuth
121654ecd8
merge core-8-branch
2017-11-21 22:47:44 +00:00
pspjuth
fac696b394
merge pspjuth-cminmax
2017-11-21 22:46:35 +00:00
jan.nijtmans
9215c2610c
Drop Windows CE support, since it doesn't appear to work anyway.
2017-11-21 14:59:04 +00:00
jan.nijtmans
119652bd95
deprecate VOID/CHAR/SHORT/LONG (windows-only) as well.
2017-11-21 09:48:36 +00:00
jan.nijtmans
011dd7b0f6
Revert [d874801c57]: putting back "string bytelength". It turns out to be too complicated to take along with the other deprecations in TIP #485
2017-11-21 09:13:08 +00:00
jan.nijtmans
52b098ca11
Deprecate support for macro's like CONST, CONST84, _ANSI_ARGS_, INLINE, TCL_VARARGS
2017-11-20 16:26:03 +00:00
jan.nijtmans
82877a8aa3
merge core-8-branch. Deprecate support for "string bytelength"
2017-11-20 16:01:05 +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
a1bc5b8a2b
If Tcl is compiled with -DTCL_NO_DEPRECATED, remove a lot of (internal) stub entries which correspond to functions which will be removed in Tcl 9.
...
This commit should have been part of [7849f573c0e7d758|this] earlier commit.
No effect when Tcl is not compiled with -DTCL_NO_DEPRECATED.
2017-11-20 12:07:08 +00:00
jan.nijtmans
c19490026d
Re-base to core-8-branch: This change is fine as-is for Tcl 8.7, I wouldn't recommend it for 8.6 (even though it's only for the changed error-message)
2017-11-20 10:30:02 +00:00
jan.nijtmans
75a121d773
merge core-8-branch
2017-11-20 10:23:13 +00:00
jan.nijtmans
bc3e198cba
Fix error-message for min/math functions: "to" -> "for", for consistancy with the error-messages for other math functions.
2017-11-20 10:15:59 +00:00
jan.nijtmans
adc8a8bbdf
merge core-8-branch
2017-11-20 09:28:02 +00:00
jan.nijtmans
b946ce971f
Fix [e058307eef73cf21cf6805ad7c778e1024f9eb7d|e058307eef]: Use of values.h breaks build of Tk trunk on macOS
2017-11-20 08:58:39 +00:00
pspjuth
c2eeda3f09
Changed math functions min and max to C implementations.
2017-11-19 18:40:13 +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
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
jan.nijtmans
4eed307023
merge core-8-branch. Also fix some test-cases, expecting the existence of "int" objType.
2017-11-15 15:00:25 +00:00
jan.nijtmans
0dd94666f5
Merge dgp's "end-int-registration" branch, but slightly different: In stead of not registering "int", continue to register it as being "wideInt" for Tcl 8.x. This should assure maximum compatibility with Tcl 8.6-based extensions.
...
In addition, revert some boolean-related changes (keep the longValue usage here in stead of wideValue). And stop registering oldBoolean starting with Tcl 9.
2017-11-15 14:13:09 +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
1ed5a135ed
TIP 484 proposes a re-implementation of Tcl's "int" Tcl_ObjType.
...
Since the new implementation is not consistent with the former one, any
callers of Tcl_GetObjType("int") who are expecting the return value to
point them at something playing by the former rules are at risk of having
their code broken. In this branch I remove the registation of Tcl's
"int" type, so such callers will get NULL (which they should already be
able to handle) instead of something misleading them into breakage.
Examine this branch and decide if it should be incorporated into TIP 484.
2017-11-14 18:35:22 +00:00
dgp
f6a35fe784
merge 8.7
2017-11-14 18:19:05 +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
cd80622d5e
merge core-8-branch
2017-11-13 11:17:23 +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
jan.nijtmans
dfbe0053d1
merge core-8-branch
2017-11-09 16:07:06 +00:00
jan.nijtmans
b7e5592df1
Merge core-8-branch. Backout the Tcl_EvalFile changes.
2017-11-09 15:56:04 +00:00
jan.nijtmans
944a3d95ff
Rebase back to 8.7 (core-8-branch), since that's what the TIP is meant for. (I see no reason to wait for 9.0)
2017-11-09 14:59:36 +00:00
dgp
29dda71bad
merge trunk
2017-11-09 14:44:57 +00:00
dgp
de9a7da4ba
merge trunk
2017-11-09 14:40:30 +00:00
jan.nijtmans
0faadee83c
merge core-8-branch
2017-11-09 12:51:26 +00:00
jan.nijtmans
a037934e21
Get rid of Tcl_DStringTrunc et al, as described in the TIP (Thanks, Don!).
2017-11-09 11:49:10 +00:00
jan.nijtmans
56e7df256a
No longer mark Tcl_EvalFile() as obsolete/deprecated. Thanks to all feedback to TIP #485 !
2017-11-09 11:04:49 +00:00
jan.nijtmans
429acda3ee
Put Tcl_EvalFile back, but then as a macro in terms of Tcl_FSEvalFileEx().
2017-11-09 10:34:10 +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
jan.nijtmans
cf4d5a8cfe
TIP #485 implementation: "Remove Deprecated API". Based on Tcl 8.7 (core-8-branch).
2017-11-08 11:50:55 +00:00
jan.nijtmans
ed20823380
merge core-8-branch
2017-11-08 09:38:15 +00:00
dgp
e82d7fb753
compiler warning
2017-11-08 03:02:22 +00:00
dgp
3b989eefe0
merge 8.7
2017-11-08 02:48:47 +00:00
pooryorick
a982dd11fa
Modify TclCreateProc to handle arbitrary argument names, not just ASCII.
2017-11-08 00:39:17 +00:00
pooryorick
2c1224dce7
TclOO object allocation: Set classPtr to NULL if it wasn't otherwise set.
2017-11-07 20:54:02 +00:00
jan.nijtmans
a7ba08158b
merge 8.7
2017-11-07 16:31:17 +00:00
jan.nijtmans
42764c99be
More code simplifications, with still equal functionality.
2017-11-07 16:16:52 +00:00
dgp
2ad54a6f6e
merge 8.7
2017-11-07 15:11:43 +00:00
dgp
f941597e43
merge 8.7
2017-11-07 14:28:03 +00:00
jan.nijtmans
c1e89d73fd
merge core-8-branch
2017-11-07 13:30:08 +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
47b333303e
merge-mark
2017-11-06 15:04:23 +00:00
jan.nijtmans
27e8f4db3d
More tcl8 -> tcl9 renumbering, for example related to the installation of Tcl packages where tcl9 actually can find them.
2017-11-06 14:50:08 +00:00
pooryorick
9b30058284
Rewrite documentation in comments for brevity and clarity.
2017-11-06 01:33:57 +00:00
f.bonnet
6fff25ecbc
Fixed stupid Tcl_DecrRefCount bug in TclCleanupChildren with normally terminated processes.
2017-11-05 16:41:11 +00:00
jan.nijtmans
cf516b0eb8
merge core-8-branch
2017-11-05 14:35:43 +00:00
jan.nijtmans
8c4d8a4f14
Merge core-8-branch. More 8.7 -> 9.0 changes as appropriate
2017-11-05 14:21:21 +00:00
dkf
d52223f024
[0d902eadd6] Ensure that [string first] handles ASCII in Unicode correctly.
2017-11-04 00:45:27 +00:00
dgp
88451d16ba
TIPs 330 & 336 changes to Tcl 9 Implementation
2017-11-03 18:56:33 +00:00
dgp
3691ae66b6
TIP 278 Implementation
2017-11-03 18:44:39 +00:00
dgp
203cbf2ea0
TIP 114 Implementation
2017-11-03 18:39:47 +00:00
dgp
b6c2770a30
Merge package tolerances of Tcl 9.
2017-11-03 17:12:47 +00:00
dgp
1a0c2e24eb
Bump to 9.0a0
2017-11-03 17:11:13 +00:00
jan.nijtmans
735d38cd7c
merge trunk
2017-11-03 12:24:06 +00:00
dgp
9c75e1c5f8
TIP 422 implementation (rebase of branch novem-remove-va to trunk).
2017-11-01 14:46:28 +00:00
jan.nijtmans
9e2ed8b729
Finally, get rid of tclWideIntType completely
2017-11-01 12:35:40 +00:00
jan.nijtmans
adc216698f
Eliminate most usage of TCL_NUMBER_LONG, just use TCL_NUMBER_WIDE in stead (since both have the same internal representation now)
2017-10-31 16:40:57 +00:00
jan.nijtmans
1cbd95eeee
eliminate most use of (long) type, except for increments
2017-10-31 16:16:46 +00:00
jan.nijtmans
db930a501f
Only use 64-bit tables for all platforms
2017-10-31 14:48:28 +00:00
jan.nijtmans
2f2459e120
more progress
2017-10-31 14:40:33 +00:00
jan.nijtmans
8fd76cb873
more simplifications
2017-10-31 12:39:16 +00:00
jan.nijtmans
c8fbbd8f3e
Fix 2 failing test-cases, broken by some earlier commit
2017-10-31 11:37:29 +00:00
jan.nijtmans
b0a9f6c55b
Simplify implementation of Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult by no longer assuming that Tcl_SavedResult is a struct. Backported from "novem" branch.
2017-10-31 09:48:57 +00:00
jan.nijtmans
b8b341fea6
Fix some pointer arthemeric (only visible on big-endian systems)
2017-10-30 16:46:49 +00:00
dgp
9a322ef016
tidy?
2017-10-30 15:35:58 +00:00
dgp
312263821f
tidy
2017-10-30 15:25:36 +00:00
dgp
9e80ee005e
tidying
2017-10-30 15:15:06 +00:00
dgp
3aa68b1a0b
Patch to make changes to Tcl 9 prescribed by TIPs 330 and 336.
...
This makes the Tcl_Interp struct fully opaque.
No interp->result or interp->errorline
2017-10-30 14:56:57 +00:00
jan.nijtmans
ca470c3d4e
more progress in code simplifications
2017-10-30 14:32:52 +00:00
dgp
6642181b9d
Rebase tip-278 branch to workaround CVS conversion woes.
2017-10-30 12:41:21 +00:00
dgp
a67fec7324
merge trunk
2017-10-30 12:02:28 +00:00
jan.nijtmans
aad24c7ffc
Change (internal) TclFormatInt() signature, so it can handle WideInt's directly. Ongoing simplifications ...
2017-10-30 11:01:28 +00:00
jan.nijtmans
fe508fa3b5
Experimental branch meant to eliminate the "wideint" type, just merge it to a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing.
2017-10-30 08:47:33 +00:00
dgp
fcc5b3486f
merge trunk
2017-10-27 13:07:10 +00:00
fvogel
d8cae66217
Fix typo in set-old.test
2017-10-25 17:31:09 +00:00
fvogel
40ce2eccbc
'array for' implementation (TIP #421 ) from Brad Lanam
2017-10-24 21:24:07 +00:00
jan.nijtmans
16976013d1
merge trunk
2017-10-24 13:59:40 +00:00
dgp
172896b15a
Implementation branch for TIP 114 - Eliminate Octal Parsing...
2017-10-23 16:20:18 +00:00
jan.nijtmans
ef82c5073a
merge trunk
2017-10-16 12:05:17 +00:00
jan.nijtmans
237b4d22a2
Add support for 'L' length modifier (either long double or mp_int) and 'a'/'A' modifiers (floating point in hex notation)
2017-10-16 11:55:57 +00:00
jan.nijtmans
a72fed191e
fix unixFCmd test-cases, as result of the octal behavior change
2017-10-14 22:52:26 +00:00
jan.nijtmans
5015dd8a1f
Fix missing line (after manual merge-conflict). Fix compiler warning on linux64.
2017-10-13 14:46:26 +00:00
jan.nijtmans
5abbd5b2da
Merge trunk. And merge jn-0d-radix-prefix branch in too (too small to be considered separately)
2017-10-13 14:07:47 +00:00
jan.nijtmans
943b46881e
Merge trunk
2017-09-18 15:13:40 +00:00
jan.nijtmans
757012c289
Rebase to trunk
2017-09-08 12:48:35 +00:00
f.bonnet
0a8718312d
Comments and formatting
2017-08-27 21:25:14 +00:00
f.bonnet
68b53cfb25
Fixed reference counting issue with objects returned by WaitProcessStatus
2017-08-27 15:25:57 +00:00
f.bonnet
935e991786
On Windows, Tcl_Pids now map to dwProcessId instead of hProcess because the system reuses handles of recently terminated processes.
2017-08-27 15:24:22 +00:00
f.bonnet
43c89a019c
Refactoring to support all processes and not just detached ones.
2017-08-27 11:05:45 +00:00
f.bonnet
57aa77515a
Added switches and pid list support to tcl::process status
2017-08-23 19:51:02 +00:00
f.bonnet
8dd2373a08
Refactoring and preliminary implementation of tcl::process (list|status)
2017-08-23 18:31:56 +00:00
f.bonnet
03470df2ff
Completed [tcl::process autopurge] semantics and added [tcl::process purge] implementation along with the necessary internal functions TclpGetChildPid/TclReapPids
2017-08-18 12:49:08 +00:00
f.bonnet
5aaef06572
Added [tcl::process autopurge] flag management with TclProcessGetAutopurge/TclProcessSetAutopurge companion functions.
2017-08-18 07:51:01 +00:00
f.bonnet
0b8e964f45
Fixed line endings
2017-08-17 13:03:48 +00:00
f.bonnet
c86a23de04
Basic scaffolding for tcl::process
2017-08-17 13:02:27 +00:00
jan.nijtmans
ca0b2a012e
merge trunk
2017-06-29 13:18:33 +00:00
jan.nijtmans
4401a58b2a
Implement %a and %A for floating point numbers
2017-06-28 11:02:19 +00:00
jan.nijtmans
ccabb2af0c
Merge trunk. Don't use expensive ToUpper() for hex 0X???? formatting, just generate uppercase directly.
2017-06-27 12:00:45 +00:00
jan.nijtmans
875f1b248d
Implement "format %o" as prefixing with "0o" in stead of "0" (Kevin Kenny's suggestion). Seems ready to be TIPed (just some more testing)
2017-06-27 10:13:34 +00:00
jan.nijtmans
b1c5e807ca
Rebase branch "jn-0d-radix-prefix" back to trunk. No new changes
2017-06-26 10:20:32 +00:00
jan.nijtmans
cf30ba443c
Little variation on Brian's proposal: Only prefix decimal number with '0d' when that's necessary for correct interpretation of the number when parsed back again.
2017-06-14 10:04:05 +00:00
jan.nijtmans
8c62a9c228
merge trunk
2017-06-12 13:29:40 +00:00
jan.nijtmans
3bde30215b
merge-mark
2017-04-18 06:15:48 +00:00
jan.nijtmans
46db6e4a00
merge trunk
2017-04-14 10:04:33 +00:00
jan.nijtmans
cddb5b612f
merge trunk. New TIP is getting shape.
2017-04-12 13:49:33 +00:00
jan.nijtmans
d56986e037
merge trunk
2017-04-12 10:06:32 +00:00
jan.nijtmans
e9b2f70238
merge trunk
2017-04-07 15:15:42 +00:00
jan.nijtmans
de59a00a30
Use "0o" in stead of "0" as octal prefix in more places.
2017-04-07 14:48:49 +00:00
jan.nijtmans
7eea851880
Merge trunk. Only use hash prefix (0x, 0b, 0 ) if value is not 0, except for %p.
2017-04-07 13:46:19 +00:00
jan.nijtmans
0515becf7a
Fix fall-back test for TCL_WIDE_INT_IS_LONG, making it do the same as "configure": Should be 1 if sizeof(long long) == sizeof(long), 0 otherwise.
2017-03-31 11:05:28 +00:00
jan.nijtmans
6b2a58ffcd
Merge trunk
2017-03-31 09:54:42 +00:00
jan.nijtmans
30cebba4d6
merge trunk
2017-03-29 14:57:15 +00:00
jan.nijtmans
afc0ba5cdc
merge trunk
2017-03-29 13:23:11 +00:00
jan.nijtmans
cf3f133df1
(more experimenting): Make TCL_LL_MODIFIER behave more close to intuitive expectations: If the platform has a "long long" type, use it for Tcl_WideInt, so TCL_LL_MODIFIER is really a replacement for "ll" on most platforms (Win32/Win64 as most notable exception).
...
Will need a new TIP.
2017-03-29 12:05:59 +00:00
jan.nijtmans
eb03584c16
(experimental) new internal macro TCL_Z_MODIFIER, just like TCL_LL_MODIFIER but then for size_t.
2017-03-28 07:14:47 +00:00
f.bonnet
f0aac87b35
Create new branch named "tip-462"
2017-03-27 09:28:55 +00:00
jan.nijtmans
8a090098fe
merge trunk
2017-02-01 15:03:59 +00:00
pooryorick
547a4781df
merge trunk
2016-10-03 16:55:56 +00:00
pooryorick
77140c23d4
Fix improper use of TclCheckEmptySTring.
2016-08-22 07:58:55 +00:00
pooryorick
382ff46e71
Remove unnecessary macro. Use an enum for result values.
2016-07-11 09:16:15 +00:00
pooryorick
0af0a4ef07
Change TclIsEmpty to TclCheckEmptyString. Check length instead of first char of
...
bytes.
2016-07-11 08:09:33 +00:00
pooryorick
ee2b083ea7
Add missing "break".
2016-07-11 00:01:58 +00:00
pooryorick
2c4866bd92
Avoid generating string representation for comparisons against empty string.
2016-07-10 23:07:47 +00:00
jan.nijtmans
08553f531f
merge novem
2013-03-06 13:41:23 +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
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
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
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
4f37f05a9c
merge trunk
2013-02-15 16:21:49 +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
dd7709baa2
merge trunk
2013-02-04 22:56:43 +00:00
jan.nijtmans
c67bfbf1a4
merge trunk
2013-02-04 14:15:14 +00:00
jan.nijtmans
b0bf6914f1
merge trunk
2013-02-03 16:05:31 +00:00
jan.nijtmans
330e115d11
merge trunk
2013-01-29 08:14:41 +00:00
jan.nijtmans
03c4df2e30
merge trunk
2013-01-25 13:14:48 +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
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
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
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
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
6797693d1b
merge trunk
2013-01-02 14:56:58 +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
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
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
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
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