Tcl Source Code

All files named "generic/tclHash.c"
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for generic/tclHash.c

2024-04-23
16:06
Hmm, something is broken. Leaving this here but this commit is definitely wrong somehow file: [ee6b2a16c1] check-in: [b356268e32] user: dkf branch: tidy-indentation, size: 28045
2024-04-12
23:04
merge 8.7 file: [742a69506f] check-in: [cc297e01ed] user: sebres branch: main, size: 28059
23:03
merge 8.6 file: [a77e2df39a] check-in: [a8087863c3] user: sebres branch: core-8-branch, size: 28912
23:02
explaination comment file: [906e1ee16d] check-in: [76fbc31aa8] user: sebres branch: core-8-6-branch, size: 30632
22:58
merge 8.5 (minor backport from my core) simple speed-up if searching for the key from hash itself (it is safe to compare needle with an address to key.string) file: [54f52a846f] check-in: [3307793b00] user: sebres branch: core-8-6-branch, size: 30603
22:55
minor backport from my core: simple speed-up if searching for the key from hash itself (it is safe to compare needle with an address to key.string); back to mixed identation (removed before) file: [3d6313530c] check-in: [f472941c43] user: sebres branch: core-8-5-branch, size: 30576
21:59
merge 8.7 file: [92850ee8b6] check-in: [c3c498a6a8] user: sebres branch: main, size: 27927
21:51
merge 8.6 file: [bacb29e07f] check-in: [299f7305e2] user: sebres branch: core-8-branch, size: 28780
21:44
merge 8.5, amend to [82f721a5a039596f]: the bug was fixed incompletely, this is full bug fix now - don't allow direct compare if keys contain values rather than pointers; introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs). file: [f6a8bfb377] check-in: [60b20a870f] user: sebres branch: core-8-6-branch, size: 30500
21:13
amend to [295b0570ff660950]: the bug was fixed incompletely, this is full bug fix now - don't allow direct compare if keys contain values rather than pointers. introduced new hash-key type flag TCL_HASH_KEY_DIRECT_COMPARE... I know it is public interface, but the bug is grave, and I don't know how one could fix it without that, by retaining same performance for pointer hashes (e. g. vars, dicts and all of TclObjs). file: [a01ca02cc6] check-in: [969a185ea4] user: sebres branch: core-8-5-branch, size: 30910
2024-03-19
14:56
Fix indentation/brace usage style issues file: [6a9c428759] check-in: [1fbff64078] user: dkf branch: main, size: 27574
2024-01-31
21:18
Merge 8.7 file: [47088e1d63] check-in: [b7998b44ea] user: jan.nijtmans branch: main, size: 27574
21:08
More TCL_SIZE_MODIFIER usage file: [c974dce276] check-in: [1c29c5082b] user: jan.nijtmans branch: core-8-branch, size: 28416
2024-01-30
17:07
Tweaking indentation of code; really unimportant... file: [e3851ffb4a] check-in: [bb72806960] user: dkf branch: dkf-indent-tweak, size: 27552
2023-10-10
19:40
Merge 8.7 file: [f0d1df23e8] check-in: [f1543f19f8] user: jan.nijtmans branch: main, size: 27559
2023-04-01
10:27
Merge 9.0 file: [e793582794] check-in: [4dbed74737] user: jan.nijtmans branch: tip-660, size: 27643
2023-03-30
22:22
Merge 8.7 file: [319c0e3b5d] check-in: [7c9d2dc7a3] user: jan.nijtmans branch: main, size: 27639
22:02
Merge 8.6 file: [6168e9bb89] check-in: [166e8656a7] user: jan.nijtmans branch: core-8-branch, size: 28311
18:01
TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntu file: [a8ba94832f] check-in: [eb81a25271] user: apnadkarni branch: tip-660, size: 27623
15:19
Fix [0cb3554903]: macOS 13 SDK deprecates sprintf(). But better not use it on other platforms either. file: [7306913675] check-in: [ec56f33813] user: jan.nijtmans branch: bug-0cb3554903, size: 30101
2022-08-26
22:47
Use TclOffset() in stead of magic calculations using sizeof(), which might give unexpected results when padding is involved file: [ec7484c856] check-in: [e7264efd8f] user: jan.nijtmans branch: core-8-6-branch, size: 30081
20:25
Merge 8.7 file: [b06df65e76] check-in: [8caf007cbd] user: jan.nijtmans branch: main, size: 27619
20:23
[37108037b9]: Code cleanups to support CHERI: Apply patch 0007 (modified) file: [ba82c769df] check-in: [cee192b957] user: jan.nijtmans branch: core-8-branch, size: 28291
2022-04-29
11:19
Merge 8.7 file: [c131627dc2] check-in: [2a16497781] user: jan.nijtmans branch: main, size: 27963
10:01
Since tclDecls.h uses 'size_t', make sure to include <stddef.h>. Since ISO-C has both 'size_t' and 'ptrdiff_t', use those to define INT2PTR and friends (including UINT2PTR) file: [e7fc1daf5a] check-in: [753c206431] user: jan.nijtmans branch: core-8-branch, size: 28635
2022-03-29
13:40
Don't bother UINT2PTR, since INT2PTR is just as good. file: [0a9dc9dbb9] check-in: [94e9d6ea9b] user: jan.nijtmans branch: core-8-branch, size: 28649
2021-12-16
09:14
Merge 8.6 file: [6808fe574e] check-in: [88f665dbae] user: jan.nijtmans branch: core-8-branch, size: 28650
08:35
Fix [31e302fcf7]: signed integer overflow in generic/tclHash.c file: [84eb4728aa] check-in: [96d30a7f6b] user: jan.nijtmans branch: core-8-6-branch, size: 30107
2020-12-08
15:42
Merge 8.7 file: [132b0753d0] check-in: [71493b571b] user: jan.nijtmans branch: main, size: 27938
15:31
Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet file: [96903b3dfd] check-in: [4254aa305b] user: jan.nijtmans branch: core-8-branch, size: 28649
2020-11-26
14:43
Get rid of "register" keyword, forbidden in c++20. Fix some more warnings, discovered in c20/c++20 mode file: [69600f7249] check-in: [d7c6ee4392] user: jan.nijtmans branch: core-8-6-branch, size: 30106
2020-03-17
01:20
merge 8.7 file: [8c03f592c4] check-in: [4d9717c8ef] user: dgp branch: trunk, size: 27940
01:01
TIP 569 - remove lint comments file: [156b2300da] check-in: [658a498ae4] user: dgp branch: core-8-branch, size: 28651
2020-03-06
21:33
merge 8.7 file: [a718b6679a] check-in: [89fde09430] user: dgp branch: trunk, size: 27972
20:23
more file: [b7056d68bc] check-in: [ad8e174b1a] user: dgp branch: core-8-branch, size: 28683
2020-02-28
12:46
Merge 8.7 file: [68a6b73bde] check-in: [b7af922d61] user: jan.nijtmans branch: trunk, size: 28344
2019-09-05
15:14
Mark more function paramaters as unused. Now Tcl compiles fully (on UNIX and Windows) without -Wunused-parameters warnings file: [357de888b4] check-in: [48b1783ecd] user: jan.nijtmans branch: cplusplus, size: 29055
2019-08-30
15:21
Let's try a real C++ build with Travis on Linux file: [b640773d14] check-in: [5732a73bf5] user: jan.nijtmans branch: cplusplus, size: 29085
2019-08-15
15:20
Merge tip-548 file: [71fc850c17] check-in: [fb24db99f5] user: jan.nijtmans branch: cplusplus, size: 28963
08:10
Merge 8.7 file: [bd471ee7a4] check-in: [f33e2933b5] user: jan.nijtmans branch: trunk, size: 28086
2019-07-17
15:38
Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated in C++ (removed in C++17, even), and essentially does nothing with most modern compilers. file: [5bb8b64d05] check-in: [f074bda87c] user: jan.nijtmans branch: no-register, size: 28844
2019-07-10
05:51
Merge 8.7, and continue implementation. Almost done file: [7703fc989f] check-in: [237cdadf3f] user: jan.nijtmans branch: cplusplus, size: 29125
2019-07-01
19:31
merge 8.7 file: [03d25bc29b] check-in: [1d29ca9dea] user: dgp branch: trunk, size: 28239
19:30
Fix unitialized memory report from valgrind file: [85bcf45b3d] check-in: [2d18ddebd7] user: dgp branch: core-8-branch, size: 29033
19:29
Avoid valgrind issues with uninitialized memory file: [45e28c268d] check-in: [fec29b469f] user: dgp branch: core-8-6-branch, size: 30295
19:21
Avoid valgrind issues with "uninitialized memory" file: [3e441a5338] check-in: [c2e97980b2] user: dgp branch: core-8-5-branch, size: 30096
2019-06-12
15:42
Merge 8.7 file: [a17bc4b9d7] check-in: [c5ff3f41bd] user: jan.nijtmans branch: trunk, size: 28163
15:26
Eliminate (internal) TclOffset() usage, just use offsetof() in stead. file: [7f8dbbbfe4] check-in: [f0c76dd6a8] user: jan.nijtmans branch: core-8-branch, size: 28957
2019-05-21
16:46
merge 8.7 file: [aa83170a59] check-in: [d5cd2d2318] user: dgp branch: trunk, size: 28164
16:43
merge 8.6 file: [3c48df3e96] check-in: [a48d7ab5ca] user: dgp branch: core-8-branch, size: 28958
16:42
Knock VOID back down file: [db9984fca9] check-in: [18545d28ab] user: dgp branch: core-8-6-branch, size: 30219
11:46
merge 8.7 file: [61df9d18ac] check-in: [273d53b2e7] user: sebres branch: trunk, size: 28164
11:40
merge 8.6 (fixed optimization for create/search hash entries with the same keys) file: [c65b94b339] check-in: [145a4e3e51] user: sebres branch: core-8-branch, size: 28958
11:34
fixed mistake in optimization of [3f693cdfe9c875c4] (bypass of compareKeysProc if keys pointers/objects are equal) - it should compare given key with entry key (not with a hash entry) file: [58784977e4] check-in: [82f721a5a0] user: sebres branch: core-8-6-branch, size: 30219
11:29
small amend (no cast needed) file: [962c26f3b2] check-in: [ce78a05d8f] user: sebres branch: core-8-5-branch, size: 30020
11:22
cherry-picing of [3f693cdfe9c875c4] to be more compatible across version, resolve mistake with "key objects/pointers comparison by the hash entry" firstly introduced there. file: [ad990671ce] check-in: [295b0570ff] user: sebres branch: core-8-5-branch, size: 30029
2019-05-17
21:54
code review file: [fc4714477f] check-in: [7f19c9f6b1] user: sebres branch: tip-534-sebres-fast-number-hash, size: 29196
2019-02-26
19:37
More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) and (unsigned) type-casts, which don't make sense any more. file: [ec8ba95fb9] check-in: [2c7db3fa01] user: jan.nijtmans branch: mistake, size: 28893
2018-10-19
16:09
Merge trunk file: [bda81c160d] check-in: [745d651613] user: jan.nijtmans branch: novem, size: 28099
2018-09-01
22:01
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) file: [055c6c16ff] check-in: [f13660b5a5] user: jan.nijtmans branch: memory-API, size: 28118
2018-06-27
19:09
merge trunk file: [43fc9025b5] check-in: [2cc2d71f0a] user: jan.nijtmans branch: memory-API, size: 28100
2018-05-31
20:11
Merge trunk. Also undo various internal changes that moved to memory-API branch but which were partially still here. Still some tests fail, more work to do (low prio) file: [bfd6d923f2] check-in: [f04caa7c67] user: jan.nijtmans branch: novem, size: 28149
2017-12-20
13:38
merge trunk file: [fcdb9c5a76] check-in: [fca1897ccc] user: jan.nijtmans branch: memory-API, size: 28350
12:53
merge trunk file: [33f47da3ef] check-in: [79dc00dd1d] user: jan.nijtmans branch: novem, size: 27844
12:30
Remove the Tcl_FindHashEntry/Tcl_CreateHashEntry stub entries, as those are actually macro's. file: [f1e60cb8cd] check-in: [f64b1fc0e7] user: jan.nijtmans branch: trunk, size: 28152
12:02
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. file: [28535c1171] check-in: [f80dd1d3cf] user: jan.nijtmans branch: trunk, size: 28843
2017-11-16
13:50
Handle Tcl_UtfAtIndex/Tcl_UniCharAtIndex for extended index range. More field fixes. file: [d079e2be3b] check-in: [78e8c0c5f6] user: jan.nijtmans branch: memory-API, size: 28919
11:17
re-base "novem-more-memory-API" to trunk. TIP not submitted yet, but upcoming. file: [0337cb9d21] check-in: [3cb46ea71b] user: jan.nijtmans branch: memory-API, size: 28937
2017-11-08
03:23
merge trunk file: [22ff7921f8] check-in: [4b7c090d46] user: dgp branch: novem, size: 27824
02:57
compiler warning file: [daec766f4b] check-in: [09a80aff1b] user: dgp branch: core-8-branch, size: 28905
02:53
compiler warning file: [471fe3ebb5] check-in: [dd8928d781] user: dgp branch: core-8-6-branch, size: 30154
02:50
compiler warning file: [59e60282f6] check-in: [8bbd02b04f] user: dgp branch: core-8-5-branch, size: 29929
02:26
merge 8.6 file: [7b439562b3] check-in: [38b28e0af8] user: dgp branch: core-8-branch, size: 28898
02:23
[3298012] Stop RebuildTable asking ckalloc for more than it can give. file: [c9d4470c5a] check-in: [42a6035399] user: dgp branch: core-8-6-branch, size: 30147
2017-11-07
21:32
Attempted bug fix. file: [e5fbefac90] check-in: [1752102644] user: dgp branch: bug-3298012, size: 29922
2017-09-14
08:06
merge trunk file: [d4b9c79d8e] check-in: [02f4b68952] user: jan.nijtmans branch: novem, size: 27679
08:05
Remove some unnecessary #if 0 sections. Fix comments and panic messages. No functional changes. file: [59f69f8886] check-in: [f4cdedde64] user: jan.nijtmans branch: trunk, size: 28753
2016-12-01
11:20
More internal use of size_t. Eliminate unused "isBin" argument from TclpSysAlloc() file: [9891d6c53e] check-in: [9d4cd6b1aa] user: jan.nijtmans branch: novem, size: 28100
2016-11-25
12:58
merge trunk file: [344e63b3ed] check-in: [742389b703] user: jan.nijtmans branch: novem, size: 28056
01:39
Remove spurious article in comments file: [0bd64db13f] check-in: [965949e559] user: andy branch: trunk, size: 29174
2016-11-18
12:10
merge novem file: [0bc0c8b318] check-in: [21f9030029] user: jan.nijtmans branch: novem-more-memory-API, size: 28270
2016-07-13
13:06
Merge novem file: [08f41239d1] check-in: [be86aae38f] user: jan.nijtmans branch: novem-bighash, size: 28058
2016-07-12
14:40
Merge trunk file: [5969876e91] check-in: [a170ea70f5] user: jan.nijtmans branch: novem, size: 28062
13:44
Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9. file: [a0810f0af8] check-in: [2f25778e69] user: jan.nijtmans branch: trunk, size: 29180
2016-07-08
09:46
Use TCL_HASH_TYPE #define for compatibility with Tcl8 in stead of TCL_HASH_KEY_TYPE_VERSION_2 file: [79467be547] check-in: [09ffa50505] user: jan.nijtmans branch: novem-bighash, size: 28079
06:56
Adapt hash-function and hash-table to allow hash-tables to grow >1Gb on 64-bit platforms. file: [739d090bff] check-in: [ef7ec3df37] user: jan.nijtmans branch: novem-bighash, size: 28203
2016-06-28
15:22
Unicode rep en Tcl_Obj length: int -> size_t file: [ee485b1793] check-in: [1d1a6cacc4] user: jan.nijtmans branch: novem-more-memory-API, size: 28260
13:44
Merge trunk file: [1e2d916c18] check-in: [ab33fe9082] user: jan.nijtmans branch: novem-more-memory-API, size: 28257
2015-12-16
16:25
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. file: [0fe5b8bca5] check-in: [9df3e71344] user: jan.nijtmans branch: novem, size: 28052
2015-09-29
08:06
rebase with novem file: [8be3b26124] check-in: [2897092cfa] user: jan.nijtmans branch: novem-more-memory-API, size: 29345
2015-09-23
10:42
Merge trunk file: [2d5dfc1d1c] check-in: [36541a24b8] user: jan.nijtmans branch: novem, size: 29140
2015-09-22
20:57
micro-opt of hash lookups found by drh file: [b7ee4d8147] check-in: [3f693cdfe9] user: msofer branch: trunk, size: 30002
2015-06-18
19:58
merge novem file: [73c3df05e7] check-in: [8d9650ab81] user: jan.nijtmans branch: novem-more-memory-API, size: 29319
2015-03-24
18:37
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. file: [7c44eafd8e] check-in: [237cb01cf9] user: dgp branch: novem, size: 29114
2014-05-02
07:39
int -> size_t for hash tables file: [6e16dd27f2] check-in: [9f9abcbc4a] user: jan.nijtmans branch: novem-more-memory-API, size: 30181
2012-11-16
22:44
yet more conversions file: [18ad47035a] check-in: [ef4d60fc2b] user: dkf branch: novem-64bit-sizes, size: 29978
2012-04-05
09:34
Reduce amount of unreachable code. Refactor Win socket and load code to be less baroque in its internals. file: [45cdde42d5] check-in: [92cfbef048] user: dkf branch: trunk, size: 29976
2011-09-06
14:14
Tcl_HashStats does not return a CONST file: [ef69a55471] check-in: [8d692e1f77] user: jan.nijtmans branch: core-8-4-branch, size: 32718
2011-08-16
12:03
[Bug 3388350] mingw64 compiler warnings file: [fdadf9cd07] check-in: [8c851aad1d] user: jan.nijtmans branch: core-8-5-branch, size: 29777
2011-04-20
12:54
Silence unused variable warning file: [f6fc440b68] check-in: [50829dbdf4] user: dgp branch: core-8-4-branch, size: 32724
2011-03-28
07:54
gcc warning: unused variable "key" file: [6f71af1cef] check-in: [3c97b9d272] user: jan.nijtmans branch: core-8-4-branch, size: 32733
2011-03-25
21:16
[Bug 3007895]: Tcl_(Find|Create)HashEntry stub entries can never be called. They still cannot be called (no change in functionality), but at least they now do exactly the same as the Tcl_(Find|Create)HashEntry macro's, so the confusion addressed in this Bug report is gone. Merged --cherrypick from Tcl8.5 (2010-12-31,e75735ef76) file: [88df3c52bb] check-in: [d92ec3651b] user: jan branch: core-8-4-branch, size: 32734
2011-03-12
15:06
Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in rest of Tcl source code. No ABI change. API change *should* be harmless. file: [104a0a8bc1] check-in: [5574bdd262] user: dkf branch: trunk, size: 29856
2011-03-02
20:27
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them (except in zlib files). file: [34b8cedc4e] check-in: [c64f310d38] user: dgp branch: trunk, size: 30007
16:06
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [7ef38ac67f] check-in: [79367df0f0] user: dgp branch: core-8-5-branch, size: 29758
2011-03-01
15:38
Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause more harm than good. Purged them. file: [7cc2e3ae10] check-in: [90b4acd7bd] user: dgp branch: core-8-4-branch, size: 31762
2011-01-25
15:57
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2, backported strcpy->memcpy change but not change in any struct. file: [31ff94603b] check-in: [b9cc8fd4f1] user: nijtmans branch: core-8-4-branch, size: 31839
15:55
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2, backported strcpy->memcpy change but not change in any struct. file: [b8d8196d53] check-in: [d69078d96b] user: nijtmans branch: core-8-5-branch, size: 29835
2011-01-12
15:23
This commit is both no-NRE v2, implemented by subtracting the NRE pieces (*), and update to CVS trunk head of Wednesday Jan 5. (*) no-NRE v1 in the other branch was created in an additive manner from the point where 8.5 was branched from the trunk, by adding all the patches but those for NRE. file: [1accc013a5] check-in: [2d93b1436c] user: andreask branch: activestate-nre-excised-variant-2-subtracted, size: 30075
2010-12-31
17:15
[Bug 3007895]: Tcl_(Find|Create)HashEntry stub entries can never be called. They still cannot be called (no change in functionality), but at least they now do exactly the same as the Tcl_(Find|Create)HashEntry macro's, so the confusion addressed in this Bug report is gone. (Backported from Tcl 8.6) file: [90cd8a86ee] check-in: [e75735ef76] user: nijtmans branch: core-8-5-branch, size: 29804
2010-12-30
14:42
merge file: [fc01cf8c86] check-in: [45d5c91eaf] user: dgp branch: dgp-refactor, size: 30080
2010-12-15
15:58
Continued comparison of no-nre against head, and updating the latest changes, and/or pieces forgotten in the roll-forward. file: [40c6c87a94] check-in: [26fcf437a2] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 30056
2010-12-11
18:39
merge file: [f7ef049d68] check-in: [c291154f2c] user: kennykb branch: dogeen-assembler-branch, size: 30083
2010-12-10
21:59
[Bug 3129448]: Possible over-allocation on 64-bit platforms, part 2 file: [2463e67d76] check-in: [e6ddd08613] user: nijtmans branch: trunk, size: 30080
2010-12-07
14:39
@1576 file: [24d9810002] check-in: [ef82386ec6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 30046
2010-12-06
12:33
@1300 file: [ca90bc0520] check-in: [3f09e6a910] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 29333
2010-12-02
15:49
@1260 file: [7d723220ed] check-in: [e3ce920ce7] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 29269
2010-12-01
16:42
merge file: [0fc9456b60] check-in: [0af397c644] user: kennykb branch: dogeen-assembler-branch, size: 30064
15:27
merge file: [22176d75e9] check-in: [066450d73b] user: dgp branch: dgp-refactor, size: 30061
13:39
@864 + jumps file: [0f30e06f2e] check-in: [0dbcc4b3c6] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 28529
09:58
fix gcc 64-bit warnings: cast from pointer to integer of different size fix gcc(-4.5.2) warning: 'static' is not at beginning of declaration file: [99e15acb2d] check-in: [10b83db14e] user: nijtmans branch: trunk, size: 30061
2010-11-23
15:23
Next @611, and jumping tclGetDate.yyacc grammar. file: [0110916a38] check-in: [b277d95385] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 28931
10:24
Next @411 file: [560192eb10] check-in: [769955448f] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 28937
2010-11-22
16:07
Next @380. OO Stacktraces broken. file: [1ca7143754] check-in: [1713113dd4] user: andreask branch: activestate-nre-excised-variant-1-roll-forward, size: 29084
2010-09-17
12:55
Merge from HEAD to rmax-ipv6-branch file: [0594197284] check-in: [70c6ac9692] user: rmax branch: rmax-ipv6-branch, size: 30051
2010-08-24
18:10
merge file: [0e07079818] check-in: [6f1af7e62e] user: dgp branch: dgp-refactor, size: 30051
06:17
[Bug 3007895] Tcl_(Find|Create)HashEntry stub entries can never be called. file: [d4fe19a3d7] check-in: [616c58cab2] user: nijtmans branch: trunk, size: 30051
2010-02-26
01:21
merge updates from HEAD file: [7ca2fe6787] check-in: [ec93238882] user: dgp branch: dgp-refactor, size: 29338
2010-02-25
22:20
[ tcl-Feature Requests-2958832 ] Further speed-up of ouster-hash function. Eliminate various unnecessary (ClientData) type casts. file: [48a238dfab] check-in: [b28fef8499] user: nijtmans branch: trunk, size: 29338
21:53
merge updates from HEAD file: [dbfea5a5dc] check-in: [1b11388844] user: dgp branch: dgp-refactor, size: 29267
2010-02-24
10:45
More tidying up (whitespace, spelling, useless parentheses, useless casts) file: [697bf0a5cd] check-in: [511d94dd87] user: dkf branch: trunk, size: 29262
2010-02-17
22:33
merge updates from HEAD file: [cfdece163b] check-in: [cc2d5c1d60] user: dgp branch: dgp-refactor, size: 29274
21:58
Return to using the classic hash function. Now with *extensive* notes in the comments about why this function is preferred. file: [59fa99b02b] check-in: [851ca213dc] user: dkf branch: trunk, size: 29269
2010-02-12
03:06
merge updates from HEAD file: [e31a4c3792] check-in: [616130f94d] user: dgp branch: dgp-refactor, size: 28184
2010-02-10
16:29
Forgot the magic bias values. FNV is wildly magical... file: [43f1a5a32a] check-in: [5ba97c097d] user: dkf branch: trunk, size: 28179
02:56
merge updates from HEAD file: [0fbaeaa992] check-in: [a3184b6de4] user: dgp branch: dgp-refactor, size: 28175
2010-02-09
22:39
Minor corrections as recommended by Joe English. file: [4320aaa63a] check-in: [7173a0a307] user: dkf branch: trunk, size: 28170
17:53
merge updates from HEAD file: [13b6ae80b0] check-in: [213eee9b55] user: dgp branch: dgp-refactor, size: 28203
2010-02-07
09:10
Upgrade Tcl's hash function to use the FNV-32 algorithm. This is marginally faster and gives a bit better distribution of keys (especially in large hash tables) but does change hash iteration order. file: [f61ff71afc] check-in: [24fe1de120] user: dkf branch: trunk, size: 28198
2009-07-16
21:45
merge updates from HEAD file: [2b35e56a6e] check-in: [3e7e63ebaf] user: dgp branch: dgp-refactor, size: 28534
21:24
* generic/tclBinary.c: Removed unused variables. * generic/tclCmdIL.c: * generic/tclCompile.c: * generic/tclExecute.c: * generic/tclHash.c: * generic/tclIOUtil.c: * generic/tclVar.c:
* generic/tclBasic.c: Silence compiler warnings about ClientData. * generic/tclProc.c:
* generic/tclScan.c: Typo in ACCEPT_NAN configuration.
* generic/tclStrToD.c: Set floating point control register on MIPS systems so that the gradual underflow expected by Tcl is in effect. [Bug 2819200]
file: [d6b573f098] check-in: [b0e94fe52c] user: dgp branch: trunk, size: 28529
2009-01-09
14:17
merge updates from HEAD file: [e94adfbd0a] check-in: [02f7c5c705] user: dgp branch: dgp-refactor, size: 28936
11:21
Style fixes (unfouling whitespace, sorting comments, removing useless casts, etc.) file: [e7d7a74dba] check-in: [cd3c38f00a] user: dkf branch: trunk, size: 28931
2008-11-18
20:57
merge updates from HEAD file: [217efb60e8] check-in: [a3661d6d8a] user: dgp branch: dgp-refactor, size: 28942
07:02
fix [Bug 2308236] signature of Tcl_HashStats() wrong file: [5f9b2253e2] check-in: [bf29d13c08] user: nijtmans branch: core-8-5-branch, size: 29066
2008-11-17
22:15
Fix signature and implementation of Tcl_HashStats, such that it conforms to the documentation. file: [375aca7ff8] check-in: [2b7fc9b444] user: nijtmans branch: trunk, size: 28942
2008-10-17
20:52
merge updates from HEAD file: [ff68be2f96] check-in: [d93600ad8e] user: dgp branch: dgp-refactor, size: 29089
2008-10-15
06:17
Add "const" to many internal const tables, so those will be put by the C-compiler in the TEXT segment in stead of the DATA segment. This makes those table sharable in shared libraries. file: [b9e687e75d] check-in: [8fcbc25d98] user: nijtmans branch: trunk, size: 29089
2008-10-11
03:37
merge updates from HEAD file: [2e571d96c5] check-in: [707fc4e9cf] user: dgp branch: dgp-refactor, size: 29071
2008-10-04
11:51
* doc/Hash.3: CONSTified the typePtr argument * generic/tcl.decls: of Tcl_InitCustomHashTable. * generic/tcl.h * generic/tclHash.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
file: [31b70536a6] check-in: [fcc2624fe4] user: nijtmans branch: trunk, size: 29071
2008-05-11
04:22
merge updates from HEAD file: [389f2ded99] check-in: [b084fd8e3a] user: dgp branch: dgp-refactor, size: 29059
2008-04-27
22:21
Get rid of pre-C89-isms (esp. CONST vs const). file: [c5ae1c7bf7] check-in: [2d205c22fb] user: dkf branch: trunk, size: 29054
2007-12-13
15:22
merge stable branch onto HEAD file: [568f416f0f] check-in: [d1f7550cd9] user: dgp branch: trunk, size: 29063
2007-09-07
03:15
merge updates from HEAD file: [903f66acbf] check-in: [2c46d786c6] user: dgp branch: dgp-refactor, size: 29068
2007-09-04
17:43
merge updates from HEAD file: [d1837bd920] check-in: [93ee5fafc4] user: dgp branch: core-stabilizer-branch, size: 29067
2007-07-31
17:03
VarReform [Patch 1750051] *** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h) file: [3ade3b041e] check-in: [2fbb344601] user: msofer branch: trunk, size: 29066
2007-07-03
02:54
merge updates from HEAD file: [4f921c67d5] check-in: [099b3f38d7] user: dgp branch: dgp-refactor, size: 29020
02:28
merge updates from HEAD file: [066171c55f] check-in: [ee65fc56de] user: dgp branch: core-stabilizer-branch, size: 29019
2007-07-02
21:10
* generic/tcl.h: Removed TCL_PRESERVE_BINARY_COMPATIBILITY and * generic/tclHash.c: any code enabled when it is set to 0. We will * generic/tclStubInit.c: always want to preserve binary compat of the structs that appear in the interface through the 8.* series of releases, so it's pointless to drag around this never-enabled alternative.
file: [306a16d474] check-in: [2ee96de43c] user: dgp branch: trunk, size: 29015
20:30
Simplify string hashing a little. [FRQ 951168] file: [d4f20762d5] check-in: [bf5e28ec4a] user: dkf branch: trunk, size: 30806
2007-04-19
19:16
merge updates from HEAD file: [43f96b93b9] check-in: [8840f48041] user: dgp branch: dgp-refactor, size: 31026
2007-04-17
14:49
Eliminate use of (VOID*) casts when calling memset or memcpy. file: [4a64ddbc9b] check-in: [45b4948945] user: dkf branch: trunk, size: 31021
2007-04-08
14:58
Merge updates from HEAD; may not build file: [e348ca747d] check-in: [8dc7079178] user: dgp branch: dgp-refactor, size: 31011
2007-02-20
23:24
various "const" additions, in line with TIP #27 file: [199aafad5a] check-in: [81ea4e1335] user: nijtmans branch: trunk, size: 31011
2006-11-13
08:23
* generic/tclCompExpr.c: fix gcc warnings about 'cast to/from * generic/tclEncoding.c: pointer from/to integer of different * generic/tclEvent.c: size' on 64-bit platforms by casting to * generic/tclExecute.c: intermediate types intptr_t/uintptr_t * generic/tclHash.c: via new PTR2INT(), INT2PTR(), * generic/tclIO.c: PTR2UINT() and UINT2PTR() macros. * generic/tclInt.h: [Patch 1592791] * generic/tclProc.c: * generic/tclTest.c: * generic/tclThreadStorage.c: * generic/tclTimer.c: * generic/tclUtil.c: * unix/configure.in: * unix/tclUnixChan.c: * unix/tclUnixPipe.c: * unix/tclUnixPort.h: * unix/tclUnixTest.c: * unix/tclUnixThrd.c:
* unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
file: [8ac0d255ef] check-in: [8562d10e43] user: das branch: trunk, size: 30976
2006-10-23
21:01
merge updates from HEAD file: [c58575a8f2] check-in: [1f911d4cbb] user: dgp branch: dgp-refactor, size: 31009
2006-10-22
00:13
* generic/tcl.h: * generic/tclHash.c: Tcl_FindHashEntry() now calls Tcl_CreateHashEntry() with a newPtr set to NULL: this would have caused a segfault previously and eliminates duplicated code. A macro has been added to tcl.h (only used when TCL_PRESERVE_BINARY_COMPATABALITY is not set - ie, not by default).
file: [a91e8689cf] check-in: [82dae2c070] user: msofer branch: trunk, size: 31007
2006-08-29
16:19
merge updates from HEAD file: [c8e584185e] check-in: [e1feeec3e7] user: dgp branch: dgp-refactor, size: 32587
2006-08-10
12:15
Various minor object file size efficiency fixes. [Bug 1530474] file: [b38c3e4a72] check-in: [a09967381c] user: dkf branch: trunk, size: 32582
2005-11-03
17:52
merge updates from HEAD file: [6c501b261a] check-in: [d827b9cf1e] user: dgp branch: dgp-refactor, size: 32559
2005-10-31
15:59
Convert to using ANSI decls/definitions and using the (ANSI) assumption that NULL can be cast to any pointer type transparently. file: [aa1c2b447a] check-in: [1e0170d2bf] user: dkf branch: trunk, size: 32554
2005-08-02
18:14
merge updates from HEAD file: [faefb04f98] check-in: [10feab7c07] user: dgp branch: kennykb-numerics-branch, size: 33108
2005-07-26
04:11
Merge updates from HEAD file: [86ba6d33ef] check-in: [8351a734a6] user: dgp branch: dgp-refactor, size: 33109
2005-07-21
14:38
Systematizing the formatting file: [6d31d23beb] check-in: [ac613e6b94] user: dkf branch: trunk, size: 33104
2004-12-09
23:00
Merge updates from HEAD file: [f891bff1a4] check-in: [24873008cc] user: dgp branch: dgp-refactor, size: 33052
2004-11-11
01:18
* generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243]
* generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243]
file: [eedac713c9] check-in: [7512e64d88] user: das branch: core-8-4-branch, size: 31828
01:17
* generic/tclListObj.c (Tcl_ListObjReplace): use memmove() instead of manual copy loop to shift list elements. Decreases time spent in Tcl_ListObjReplace() from 5.2% to 1.7% of overall runtime of tclbench on a ppc 7455 (i.e. 200% speed increase). [Patch 1064243]
* generic/tclHash.c: hoisted some constant pointer dereferences out of loops to eliminate redundant loads that the gcc optimizer didn't deal with. Decreases time spend in Tcl_FindHashEntry() by 10% over a full run of the tcl testuite on a ppc 7455. [Patch 1064243]
file: [d5a6121769] check-in: [30ac98366b] user: das branch: trunk, size: 33048
2004-10-28
18:45
merge updates from HEAD file: [588dcda055] check-in: [5fdab1eb47] user: dgp branch: dgp-refactor, size: 32901
2004-10-06
13:43
Style guide fixes file: [382729b76b] check-in: [33bea7837f] user: dkf branch: trunk, size: 32897
2004-09-08
23:02
Merge updates from HEAD file: [3c34aca6bd] check-in: [dff8728918] user: dgp branch: dgp-refactor, size: 32941
2004-06-08
18:52
Fix variable usage warning. [Bug 969068] file: [7498d6e8e3] check-in: [a750bd2f86] user: dkf branch: trunk, size: 32937
2004-05-27
15:02
Merge updates from HEAD file: [e11b35a165] check-in: [c9ab42babb] user: dgp branch: dgp-refactor, size: 32951
14:29
Merge updates from HEAD. Also implemented flags argument to TclCompEvalObj(). file: [68b4f0f4cf] check-in: [8f7452ee0c] user: dgp branch: dgp-refactor, size: 32951
13:18
Made compiling with -Wstrict-prototypes -Wmissing-prototypes much cleaner. Also added support for [FRQ 951168] but left that switched off by default. file: [548e15c6d5] check-in: [3c862df4ab] user: dkf branch: trunk, size: 32947
2004-04-09
20:57
Merge updates from HEAD file: [d0d3c0d507] check-in: [5b5c8133e5] user: dgp branch: dgp-refactor, size: 32836
2004-04-06
22:25
Patch 922727 committed. Implements three changes:
* generic/tclInt.h: Reworked the Tcl header files into a clean * unix/tclUnixPort.h: hierarchy where tcl.h < tclPort.h < tclInt.h * win/tclWinInt.h: and every C source file should #include * win/tclWinPort.h: at most one of those files to satisfy its declaration needs. tclWinInt.h and tclWinPort.h also better organized so that tclWinPort.h includes the Windows implementation of cross-platform declarations, while tclWinInt.h makes declarations that are available on Windows only.
* generic/tclBinary.c (TCL_NO_MATH): Deleted the generic/tclMath.h * generic/tclMath.h (removed): header file. The internal Tcl * macosx/Makefile (PRIVATE_HEADERS): header, tclInt.h, has a * win/tcl.dsp: #include <math.h> directly, and file external to Tcl needing libm should do the same.
* win/Makefile.in (WIN_OBJS): Deleted the win/tclWinMtherr.c file. * win/makefile.bc (TCLOBJS): It's a vestige from matherr() days * win/makefile.vc (TCLOBJS): gone by. * win/tcl.dsp: * win/tclWinMtherr.c (removed):
file: [c28c169831] check-in: [2e5b18c85c] user: dgp branch: trunk, size: 32832
2004-03-31
01:36
Merge updates from HEAD file: [9bda38364b] check-in: [3a26049d35] user: dgp branch: dgp-refactor, size: 32857
2004-03-30
22:27
More hash function cleaning up. file: [a5c3098950] check-in: [f32595c386] user: dkf branch: trunk, size: 32853
2004-02-07
05:47
Merge updates from HEAD

Note that this branch currently does not fully support the new {expand} syntax. Updates to TclEvalScriptTokens and TclCompileScriptTokens are still to come. file: [aef3203fc9] check-in: [beeeb45bbf] user: dgp branch: dgp-refactor, size: 32885

2003-12-24
04:18
All uses of 'panic' (the macro) changed to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264] file: [cb49f0af13] check-in: [524a53e3b3] user: davygrvy branch: trunk, size: 32886
2003-11-15
23:35
Whitespace fixes file: [edba3b6ee5] check-in: [1566f25636] user: dkf branch: trunk, size: 32861
2003-11-14
23:21
TIP#138 implementation plus extra test stuff [Patch 731356] file: [c7b9498b7e] check-in: [eef4eada83] user: dkf branch: trunk, size: 32929
2003-06-27
15:10
Merge updates from HEAD file: [571a836ce5] check-in: [eec28d33df] user: dgp branch: dgp-refactor, size: 31718
2003-06-24
19:56
No more div-by-zero errors. [Bug 759749] file: [015c51218a] check-in: [b4b5c0d088] user: dkf branch: trunk, size: 31714
2002-11-12
02:23
* generic/tclHash.c (HashStringKey): move string++ lower to save an instruction.
file: [da36a0af52] check-in: [f1d00748cb] user: hobbs branch: trunk, size: 31675
2002-11-05
01:46
* generic/tclHash.c (HashString): minor performance tweak.
file: [9eb459c03a] check-in: [534f3c0cc3] user: hobbs branch: mod-8-3-4-branch, size: 24976
2002-06-10
05:33
Merging with TOT as of 06/09/2002. file: [a1b749cb31] check-in: [73b68fb238] user: wolfsuit branch: macosx-8-4-branch, size: 31682
2002-02-26
02:09
* generic/tclHash.c (AllocArrayEntry, AllocStringEntry): Before invoking ckalloc when creating a Tcl_HashEntry, check that the amount of memory being allocated is at least as large as sizeof(Tcl_HashEntry). The previous code was allocating memory regions that were one or two bytes short. [Bug #521950] (dejong)
file: [7265f0450c] check-in: [a1ab505019] user: hobbs branch: trunk, size: 31675
2002-02-05
02:21
Merging with the current TOT. Very few conflicts, mostly in the generated files. file: [e019f3b8b8] check-in: [f469a31a06] user: wolfsuit branch: macosx-8-4-branch, size: 31500
2002-01-25
21:36
* [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27). * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers.
file: [8435beb920] check-in: [375ac8d641] user: dgp branch: trunk, size: 31491
2001-12-03
18:23
NRE1 patch by Miguel Sofer. Several new controlling macros for information on the stack. Parser information on the stack can now be switched to allocation on the heap. file: [e2168002ae] check-in: [fc43051481] user: andreas_kupries branch: mod-8-3-4-branch, size: 24986
2001-01-18
19:09
2000-01-18 Andreas Kupries <[email protected]>
* Everything below belongs together, it fixes bug #123153.
* generic/tcl.h (line 342): A bit more explanation about the default value for TCL_PRESERVE_BINARY_COMPATABILITY.
* generic/tcl.h (line 1208): Removed the macro 'Tcl_InitHashTable' as it kills binary compatibility to 8.3 and earlier versions. This is the main part of the patch/change.
* generic/tcl.decls (line 1469): * generic/tclHash.c (Tcl_InitHashTable): * generic/tclHash.c (Tcl_InitHashTableEx): * generic/tclObj.c (Tcl_InitObjHashTable): Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'. This change is more of an estethical nature, replacing the ubiquitous 'Ex' suffix with a more meaningful name. The introduced binary incompatibility is deemed acceptable as it is between alpha versions. Updated callers.
* doc/Hash.3: * unix/mkLinks: Changed 'Tcl_InitHashTableEx' to 'Tcl_InitCustomHashTable'.
file: [0faab5d18f] check-in: [f44e486cdf] user: andreas_kupries branch: trunk, size: 31496
2000-09-06
16:57
* generic/tclHash.c: fixed pedantic warning of incorrectly placed #endif
file: [edd18160a5] check-in: [619f494f33] user: hobbs branch: trunk, size: 31472
2000-07-22
01:53
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Reapplied patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others. file: [9f57f0b74c] check-in: [9ec468f405] user: ericm branch: trunk, size: 31472
2000-07-20
20:33
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Reverted patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others; it seems to break Tk. file: [4431f6c4ad] check-in: [2abafbeedc] user: ericm branch: trunk, size: 31333
2000-07-19
22:15
* generic/tclStubInit.c: * generic/tclObj.c: * generic/tclInt.h: * generic/tclHash.c: * generic/tclDecls.h: * generic/tcl.h: * generic/tcl.decls: * doc/Hash.3: Applied patch from Paul Duffin to extend hash tables to allow custom key types, such as Tcl_Obj *'s, and others. file: [ff1fdb6566] check-in: [6c43b17f3d] user: ericm branch: trunk, size: 31478
2000-06-24
00:26
* doc/Hash.3: Added documentation patch for Tcl_Obj *'s as keys in Tcl hash tables [RFE: 5934].

* generic/tcl.h: * generic/tclHash.c: Applied patch from [RFE: 5934], which extends Tcl hash tables to allow Tcl_Obj *'s as the key. file: [9bf4ebcdfd] check-in: [7e7bdba8eb] user: ericm branch: trunk, size: 31333

1999-04-21
00:42
Deleted: Added comments for 4/19 and 4/20 check-in: [6c6fc5d7b2] user: redman branch: scriptics-tclpro-1-2-old, size: 0
1999-04-16
00:46
merged tcl 8.1 branch back into the main trunk file: [7991701dd6] check-in: [f3b32fb71c] user: stanton branch: trunk, size: 24957
1999-03-11
19:28
Deleted: Add documentation for Tcl_GetVersion() check-in: [940e47cf48] user: redman branch: scriptics-tclpro-1-2, size: 0
1998-09-24
23:58
merging changes from 8.0.3 into 8.1a2 file: [489ea5f572] check-in: [1c3c1ab19f] user: stanton branch: core-8-1-branch-old, size: 24961
1998-09-21
23:39
Added contents of Tcl 8.1a2 file: [5ff291c38d] check-in: [8c56dc8868] user: stanton branch: core-8-1-branch-old, size: 24936
1998-09-14
18:39
Replaced SCCS strings, fixed binary files file: [3252b2cbda] check-in: [196f92fd17] user: stanton branch: trunk, size: 24816
1998-03-26
14:45
Added: Initial revision file: [5cb9547837] check-in: [cacdd0f329] user: rjohnson branch: trunk, size: 24795