tcl-hacks

Check-in [97b423d7fc]
Login

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

Overview
Comment:Note some teapot deficiencies while they're fresh
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:97b423d7fc56473277523b3417ea220b37c98174
User & Date: aspect 2018-07-24 13:25:06
Context
2018-08-05
09:08
add select object check-in: e570c71b81 user: aspect tags: trunk
2018-07-26
14:59
tclish taking arguments: will require fixing boot.tcl's argv/0 handling check-in: 37c5eb27dc user: aspect tags: tclish-args
2018-07-24
13:25
Note some teapot deficiencies while they're fresh check-in: 97b423d7fc user: aspect tags: trunk
13:14
note some immediate fixme's check-in: da116e30d4 user: aspect tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to hacks/cuppa/tpc.tcl.

24
25
26
27
28
29
30







31
32
33
34
35
36
37
# [ ] assemble & distribute
# [ ] isatty() ?
#
# teaparty synthesises a pkgIndex.tcl for tm's.  I don't wanna do that, so
# install needs to know about libpath + tmpath.
#
# different path for native libs?  hm?  good for xplat starkits.








package require http
package require platform
package require sqlite3

source zip.tcl








>
>
>
>
>
>
>







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# [ ] assemble & distribute
# [ ] isatty() ?
#
# teaparty synthesises a pkgIndex.tcl for tm's.  I don't wanna do that, so
# install needs to know about libpath + tmpath.
#
# different path for native libs?  hm?  good for xplat starkits.
#
# Teapot deficiencies:  by understanding and consuming these, I can define & serve something better
#   * metadata (requires) is only available embedded - in text, zip or vfs-in-exe (!)
#   * text/binary only known from http response
#   * extension must be inferred (particularly windows applications!)
#   * no incremental index updates
# Some of these could be read from HTML data, but not reliably

package require http
package require platform
package require sqlite3

source zip.tcl