Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch tcc4tcl-md5 Excluding Merge-Ins
This is equivalent to a diff from afecf2c9ff to e30cebf96f
2017-05-28
| ||
15:26 | Add several procedures to the math::numtheory package, such factorising a number and estimating the number of primes up to a certain size. Package version now 1.1 check-in: cd42b3ddf8 user: arjenmarkus tags: trunk | |
2017-03-30
| ||
15:33 | Merged tcc4tcl changes check-in: dfe89741cf user: Mark tags: mjanssen-changes | |
15:30 | Simplify md5.c loading Leaf check-in: e30cebf96f user: Mark tags: tcc4tcl-md5 | |
15:16 | Create new branch named "mjanssen-changes" check-in: 6076074d50 user: Mark tags: mjanssen-changes | |
15:16 | Use proper folder for loading md5.h check-in: 8650b9654d user: Mark tags: tcc4tcl-md5 | |
14:33 | Add tcc4tcl support for md5 check-in: e1741398cd user: mjanssen tags: tcc4tcl-md5 | |
2017-02-15
| ||
13:23 | dicttool: Added "isnull" command to the dict ensemble processman: Added a concept of "self" to allow a process to tweak its own priority check-in: afecf2c9ff user: tne tags: trunk | |
2017-02-07
| ||
12:37 | In Soviet Russia, Fossil Commits YOU check-in: 41bd88ff85 user: hypnotoad tags: trunk | |
Added modules/md5/md5tcc.tcl.
|
Changes to modules/md5/md5x.tcl.
︙ | |||
16 17 18 19 20 21 22 | 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | - + | # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # ------------------------------------------------------------------------- package require Tcl 8.2; # tcl minimum version namespace eval ::md5 { variable accel |
︙ | |||
81 82 83 84 85 86 87 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 | + + + + + - - + + + | # # If we have a C-based implementation available, then we will use # it here in preference to the pure-Tcl implementation. # proc ::md5::MD5Update {token data} { variable accel upvar #0 $token state if {$accel(tcc)} { if {[info exists state(md5c)]} { set state(md5tcc) [md5tcc $data $state(md5tcc)] } else { set state(md5tcc) [md5tcc $data] |
︙ | |||
126 127 128 129 130 131 132 | 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 | - + + + + + | # # Note that the output is 128 bits represented as binary data. # proc ::md5::MD5Final {token} { upvar #0 $token state # Check for either of the C-compiled versions. |
︙ | |||
514 515 516 517 518 519 520 521 522 523 524 525 526 527 | 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 | + + + + + + | # this should not be called, but the test package manipulates the # list of enabled accelerators. # proc ::md5::LoadAccelerator {name} { variable accel set r 0 switch -exact -- $name { tcc { if {![catch {package require tcc4tcl}]} { package require md5tcc set r [expr {[info commands ::md5::md5tcc] != {}}] } } critcl { if {![catch {package require tcllibc}] || ![catch {package require md5c}]} { set r [expr {[info commands ::md5::md5c] != {}}] } } cryptkit { |
︙ | |||
694 695 696 697 698 699 700 | 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 | - + | } # ------------------------------------------------------------------------- # Try and load a compiled extension to help. namespace eval ::md5 { variable e |
Changes to modules/md5/pkgIndex.tcl.
1 2 3 | 1 2 3 4 | + | if {![package vsatisfies [package provide Tcl] 8.2]} {return} package ifneeded md5 2.0.7 [list source [file join $dir md5x.tcl]] package ifneeded md5 1.4.4 [list source [file join $dir md5.tcl]] package ifneeded md5tcc 0.0.1 [list source [file join $dir md5tcc.tcl]] |