Tcl Library Source Code

Timeline
Login

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

9 check-ins that include changes to files matching 'modules/struct/sets/*'

2024-01-30
23:29
Fixes in md5crypt C code to properly handle non-ASCII strings. General tcl9 work/marking of more locations found by the extended checker (in C companion files). check-in: 00c0fc2344 user: aku tags: trunk
2024-01-10
19:37
general tcl 9 compatibility work - I - accelerators updates all but two C accelerators for work with 8.6 and 9. __BEWARE__: building now requires critcl commit [https://github.com/andreas-kupries/critcl/commit/e7408b59fcbe505379e3feec8f37b8208f72b28a] or later. The accelerators excluded from this commit are `crcc` and `ptc`. While their changes build successfully, they crash in the testsuite, indicating unresolved issues. check-in: e02cf17c2d user: aku tags: trunk
2015-05-28
05:59
Ticket [5613c718c2]. Applied patch for review, and editing. Leaf check-in: 4e2b979bcb user: aku tags: tkt-5613c718c2-cwarnings
2010-03-25
13:58
* graph/arcshimmer.c: Squash a number of warnings in the C * graph/methods.c: implementations of graph, sets, and trees, * graph/nodeshimmer.c: using casts, and including missing * sets/s.c: headers. * tree/m.c: * tree/shimmer.c: * tree/walk.c: check-in: fda131422f user: andreas_kupries tags: trunk
2008-03-09
04:24
* sets/m.c (sm_ADD): Brought the behaviour of method 'add' back * sets.testsuite: into line with the behaviour of 'include', * sets.tcl: i.e. create a missing variable, in both Tcl and critcl * struct_set.man: implementations. Updated the relevant tests as * pkgIndex.tcl: well. See changelog entry 2006-01-30 as well, and [SF Tcllib Bug 1414051]. Bumped version to 2.2.3. * sets/m.c (sm_INCLUDE): Replaced bogus TCL_LEAVE_ERR_MSG when * sets.testsuite: checking for variable existence, as the variable is created if missing. In contrast to exclude/subtract which require the variable to exist. This is likely a copy/paste error. The bogus error message was returned as the result of the command, not an error trace, but could be mistaken for it in interactive use. This fixes [Bug 1908098] reported by Stephane Jeanjean <[email protected]>. Testsuite extended. check-in: b2723e5a6f user: andreas_kupries tags: trunk
2007-08-29
22:10
* tree.testsuite: Simplified constraint definition, we now have a standard syntax (backward compat def for tcltest 1.0 in the devtools/testutilities.tcl). * sets.testsuite: Added a test demonstrating a shimmering problem in the C implementation of struct::set (handling of pure list values is bad). * sets/s.c: Fixed the bug demonstrated by the new test, see * pkgIndex.tcl: above. Version of package bumped to 2.2.1. Version of tcllibc bumped to 0.3.2. * modules/tcllibc.tcl: Version of package bumped to 0.3.2 for the bugfix in the C implementation of struct::set (v 2.2.1). check-in: 6e7ef5ea1b user: andreas_kupries tags: trunk
2007-02-27
23:24
* sets/s.c (from_any): Crashing bug in the Critcl implementation of 'struct::set'. Remembered the old object type X in the from_any conversion function, then converted to type 'list', and at the end tried to release the list using the freeintrep function of type X instead of type 'list'. Fixed by moving the code to remember the type after the conversion to a 'list'. check-in: 615847e351 user: andreas_kupries tags: trunk
2007-01-23
06:10
* sets.bench: Added more benchmarks, add/include, subtract/exclude, equality. * sets/m.c: Rewrote sm_ADD, inlined s_add to enable us to defer set duplication until the set actually changes. This also ensures that the string-rep is invlaidates only in cvase of a true change. Ditto rewrites of sm_INCLUDE, sm_SUBTRACT, and sm_EXCLUDE. check-in: 783c3286e1 user: andreas_kupries tags: trunk
2007-01-21
22:15
* struct_set.man: Updated documentation to mention the critcl implementation, version number, etc. * pkgIndex.tcl: Version of sets bumped to 2.2. * sets.tcl: Changed core sets code to support multiple * sets_tcl.tcl: implementations, and Tcl implementation. * sets_c.tcl: Critcl based implementation of sets. * sets/ds.h: * sets/m.c: * sets/m.h: * sets/s.c: * sets/s.h: * sets.testsuite: Reworked the testsuite to handle both Tcl and * sets.test: critcl implementations. check-in: aadff1e06d user: andreas_kupries tags: trunk