David Scott Cargo

Show:

What's happening?

  • string trim not trimming Unicode spaces

    A string containing a leading Unicode nonbreaking space (\u00A0) did not have that character removed by [string trim ...] (no chars specified for removal). In Unicode there are several "whitespace" characters that [string trim] does not remove by default. (See http://en.wikipedia.org/wiki/Whitespace_%28computer_science%29 for a working definition of white space.) Ironically, [string is...

    2008-03-05 15:04:50 UTC in Tcl

  • Comment: parse gets confused inside script tags

    This problem is now more urgent than it had been before. I'm working with JavaScript that is writing the HTML as it runs, including adding new ... code inside of JavaScript document.write statements. htmlparse is getting seriously confused inside the JavaScript, and the resulting nodes are truly mucking up my parse tree. Some nodes aren't even at the right level any more, which...

    2008-02-15 21:19:52 UTC in tcllib

  • Comment: html - documentation, examples needed

    html::title documentation is wrong. It's used inside the package, but having the user call it makes no sense since it's called by html::head where the title is required anyway. Yes, I think the real behavior of tableFromArray/List should be documented. I can try to infer documentation to the undocumented procedures. I wasn't sure if you fixed all the sorting problems. I've been...

    2007-06-27 14:58:32 UTC in tcllib

  • Comment: html - documentation, examples needed

    The following procedures exist in html.tcl but are not documented: css, doctype, js, tagParam, urlParent. The following procedures are not listed in alphabetical order: init, minorList, paramRow, set. This makes their documentation harder to find.

    2007-06-22 13:22:09 UTC in tcllib

  • Comment: html - documentation, examples needed

    A couple more clarifications. tableFromArray creates a two-column table with a heading that matches the array name, and each row containing a name, value pair. The array names are sorted by lsort before use. tableFromList creates a two-column table from a nonempty, with each row containing a label, value pair.

    2007-06-21 20:33:41 UTC in tcllib

  • Comment: html - documentation, examples needed

    I also noticed this. The explanation for title says: ::html::title title Side effect only. Call this before ::html::head to define the TITLE for a page. This is incorrect. ::html::title is called by ::html::head; calling ::html::title before calling ::html::head would have no effect. Calling ::html::title after callilng ::html::title would change the result of calling ::html::getTitle...

    2007-06-21 19:58:52 UTC in tcllib

  • typographical errors in javascript package

    The documentation for the tcllib javacript package has three instances of "it's" where "its" is meant. ::javascript::makeMasterButton master value slavePattern boolean Create an HTML button that sets it's slave .... ::javascript::makeParentCheckbox parentName childName Create an HTML checkbox and tie its value to that of it's child checkbox.... ::javascript::makeChildCheckbox...

    2007-06-20 20:23:57 UTC in tcllib

  • html - documentation, examples needed

    The documentation for the html package has some errors and typographical errors. The synopsis lists the procedures in not quite alphabetical order. The init procedure appears between refresh and row. The explanation for ::html::cell uses upper case tags whereas lower case tags are really used. The explanation for ::html::openTag lists the arguments as "tags args" when the code uses...

    2007-06-20 20:20:41 UTC in tcllib

  • Comment: U3 support

    I just ran WITS 2.0.1 Beta off of a U3 drive (http://software.u3.com/) by double-clicking on the wits.exe that I copied onto it. (It's Cruzer Micro USB Flash Drive with 4.0 GB.) It's not clear what more the submitter wants, unless it's one that is "U3-aware" and launchable when the U3 is inserted.

    2007-02-27 17:36:36 UTC in Tcl Windows API and Inspection Tools

  • no network routing information

    For debugging network connections, it would be useful to know about routing. The Command Prompt gives access to "route print" (as well as add, change, and delete). It would be nice to reflect at least printing up to WITS.

    2007-02-27 17:31:35 UTC in Tcl Windows API and Inspection Tools

About Me

  • 2000-08-27 (9 years ago)
  • 69099
  • escargo (My Site)
  • David Scott Cargo

Send me a message