pp.tcl

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove currently unsupported and untested .xotcl files, also c-extensions of the old binary interface. Some of these package might come back later with tests for nx or xotcl.

  1. … 129 more files in changeset.
- improve keyword detection (it is now slower, since it uses two separate regexps, but it returns much less false positives)

- library/lib/pp.tcl: improved handling of placeholders

- extended list of highlighted words

- nx.tcl * renamed "attribute" to "property" * renamed "defaultAttributeCallProtection" to "defaultPropertyCallProtection" * renamed "nx::Attribute" to ""nx::VariableSlot" * renamed "BootStrapAttributeSlot" to "BootStrapVariableSlot" * renamed "createBootstrapAttributeSlots" to "createBootstrapVariableSlots" * removed method attributes * implemented old attributes definition in xotcl2 as method "parameter"

  1. … 32 more files in changeset.
- migration guide * included change in "info heritage" * included "info slots" * included "info parameter" * included "delete method" * included "delete attribute"

  1. … 3 more files in changeset.
* Hopefully the last big naming change: Instead of writing "C class-object method foo {} {...}" one can write now "C class method foo {} {...}" to define a class method named "foo" for class "C". This naming change became possible by defining XOTcl's "class" (and "superclass") as object parameter only. To change a class of an object o, one has to use "o configure -class NEWCLASS". The term "object-class" looks alien to language beginners, the term "class" is much more straightforward. Changing classes or superclasses is seldomly used by typicall application programs.

For already existing nx scripts, changing "object-class" into

class should be straightforward.

* various documentation updates (migration guide, nx tutorial)

  1. … 22 more files in changeset.
- updated migration guide

  1. … 3 more files in changeset.
- updated documentation

  1. … 5 more files in changeset.
- add "filter" to the list of highlited words

- nx::pp: added flag "-linenumbers on|off" to render method

- remove unneeded newline

- add type attribute to style tag

- update of the migration guide

  1. … 4 more files in changeset.
- nx::pp: don't prepend newline after <pre>

- added -noCSSClasses to nx::pp render method

- better separation of state management and css concerns

- initial checkin of the nx pretty printer

  1. … 1 more file in changeset.